/* Reviewed mobile storefront; palette-aware presentation, no photo manipulation. */
html.selected-storefront.approved-storefront.lab-design{--selected-surface:var(--theme-surface,#fffaf3);--selected-raised:var(--theme-raised,#f2ebe2);--selected-hero:#efdfca;--selected-hero-ink:#3b3028;--selected-hero-muted:#685649;--selected-hero-shape:#dfb78c;--selected-hero-accent:#ad432a}
html.selected-storefront.approved-storefront.lab-design[data-store-theme=sage]{--selected-hero:#e2eadc;--selected-hero-ink:#294236;--selected-hero-muted:#526556;--selected-hero-shape:#c0d1b6;--selected-hero-accent:#3e6655}
html.selected-storefront.approved-storefront.lab-design[data-store-theme=graphite]{--selected-hero:#303134;--selected-hero-ink:#fff3eb;--selected-hero-muted:#d8c7bc;--selected-hero-shape:#57463f;--selected-hero-accent:#f2a280}
html.selected-storefront.approved-storefront.lab-design[data-store-theme=olive]{--selected-hero:#244633;--selected-hero-ink:#f5f4e8;--selected-hero-muted:#d1decd;--selected-hero-shape:#486443;--selected-hero-accent:#dce8b9}
html.selected-storefront.approved-storefront.lab-design .studio-hero{display:grid!important;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)!important;min-height:278px!important;height:auto!important;padding:24px 22px!important;border-radius:28px!important;background:var(--selected-hero)!important;color:var(--selected-hero-ink)!important;overflow:hidden!important;isolation:isolate;position:relative}
html.selected-storefront.approved-storefront.lab-design .studio-hero::after{content:'';position:absolute;width:220px;height:220px;border-radius:50%;background:var(--selected-hero-shape);right:-75px;top:-70px;z-index:-1;opacity:.7}
html.selected-storefront.approved-storefront.lab-design .studio-hero .studio-hero-copy{position:relative!important;z-index:2;min-width:0;padding:0!important;grid-column:1}
html.selected-storefront.approved-storefront.lab-design .studio-hero h1{font-size:clamp(26px,6.9vw,36px)!important;line-height:1.04!important;letter-spacing:-1.2px!important;max-width:340px!important;margin:16px 0 10px!important;color:var(--selected-hero-ink)!important}
html.selected-storefront.approved-storefront.lab-design .studio-hero p{font-size:13px!important;line-height:1.5!important;color:var(--selected-hero-muted)!important;margin:0 0 14px!important;max-width:260px}
html.selected-storefront.approved-storefront.lab-design .studio-hero .studio-eyebrow{font-size:10px!important;color:var(--selected-hero-ink)!important;white-space:normal!important}
html.selected-storefront.approved-storefront.lab-design .studio-hero .lab-hero-cta{font-size:13px!important;line-height:1.3!important;padding:0!important;background:none!important;border:none!important;color:var(--selected-hero-accent)!important;min-height:40px;text-align:left;white-space:normal!important}
html.selected-storefront.approved-storefront.lab-design .studio-hero .audit-pickup-benefit{font-size:12px!important;margin:12px 0 0!important;color:var(--selected-hero-ink)!important}
html.selected-storefront.approved-storefront.lab-design .studio-hero .approved-bag-button,.selected-storefront .studio-hero>.studio-illustration,.selected-storefront .studio-delivery{display:none!important}
#selectedHeroPhotos{position:relative;grid-column:2;grid-row:1;min-width:0;min-height:230px;align-self:stretch;pointer-events:none}
#selectedHeroPhotos[hidden]{display:none}
.selected-hero-pair{position:absolute;inset:0;display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:20px;padding:10px 6px;opacity:1;animation:selected-pair-in 550ms ease both}
.selected-hero-pair.is-leaving{animation:selected-pair-out 550ms ease both}
.selected-hero-slot{min-width:0;min-height:0;display:flex;align-items:center;justify-content:center}
.selected-hero-slot img{display:block;width:84%;max-width:100px;max-height:100%;aspect-ratio:1;object-fit:contain;border-radius:17px;transform:rotate(5deg);box-shadow:0 7px 18px #00000014}
.selected-hero-slot:nth-child(2) img{transform:rotate(-5deg)}
@keyframes selected-pair-in{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}
@keyframes selected-pair-out{from{opacity:1}to{opacity:0}}
#selectedEssentials{margin:24px 0 26px;color:var(--lab-ink)}
.selected-section-heading{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:14px}
.selected-section-heading h2{font:800 22px/1.15 var(--font-body,system-ui);letter-spacing:-.7px;margin:0!important;color:var(--lab-ink)!important}
.selected-section-heading>button{display:flex;align-items:center;gap:4px;background:none;border:0;padding:8px 0;color:var(--lab-ink);font:650 11px/1.3 var(--font-body,system-ui);white-space:nowrap}
.selected-section-heading svg{width:15px;height:15px}

.selected-hero-slot img,.selected-hero-slot:nth-child(2) img{transform:none;border-radius:14px;box-shadow:none;width:100%;max-width:112px;object-fit:contain;overflow:hidden}
.selected-hero-pair{gap:14px;padding:8px 0;animation:selected-pair-in 550ms ease both}
@keyframes selected-pair-in{from{opacity:0}to{opacity:1}}
#selectedEssentialsTiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 12px;overflow:visible}
.selected-category-tile{display:flex;flex-direction:column;gap:8px;align-items:stretch;min-width:0;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:var(--lab-ink)!important;text-align:left}
.selected-category-media{display:grid;place-items:center;aspect-ratio:1;width:100%;overflow:hidden;border-radius:18px;background:var(--selected-raised)}
.selected-category-media img{display:block;width:100%;height:100%;object-fit:contain;border-radius:inherit}
.selected-category-media svg{width:45%;height:45%;color:var(--lab-muted)}
.selected-category-tile strong{font:650 12px/1.3 var(--font-body,system-ui);overflow-wrap:anywhere}
#selectedCatalogButton{flex:0 0 43px;width:43px;height:43px;border-radius:50%;border:0;background:var(--selected-raised);color:var(--lab-ink);display:grid;place-items:center;margin-right:4px}
#selectedCatalogButton svg{width:22px;height:22px}
@media(max-width:359px){#selectedEssentialsTiles{grid-template-columns:repeat(3,minmax(0,1fr))}.selected-section-heading h2{font-size:20px}}
@media(min-width:700px){#selectedEssentialsTiles{grid-template-columns:repeat(4,minmax(0,1fr))}.selected-category-tile strong{font-size:16px}.selected-category-media{max-height:190px}.studio-hero-copy{max-width:480px}}
@media(prefers-reduced-motion:reduce){.selected-hero-pair{animation:none!important}}
.selected-storefront #selectedHeroPhotos img{border-radius:14px!important;transform:none!important;clip-path:inset(0 round 14px);backface-visibility:hidden}

html.selected-storefront.approved-storefront.lab-design #cartModal #cartItems .cart-item{background:transparent!important;box-shadow:none!important;border:0!important;border-bottom:1px solid var(--lab-line)!important;border-radius:0!important;margin:0!important}
html.selected-storefront.approved-storefront.lab-design #cartModal #cartItems .cart-item-swipe{background:var(--selected-surface)!important;display:grid!important;grid-template-columns:66px minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;column-gap:12px!important;row-gap:6px!important;padding:14px 0!important;border-radius:0!important;min-height:100px!important}
html.selected-storefront.approved-storefront.lab-design #cartModal #cartItems .cart-item-thumb{grid-column:1!important;grid-row:1/3!important;width:66px!important;height:76px!important;border-radius:13px!important;align-self:center!important;background:#f3efec!important;overflow:hidden}
html.selected-storefront.approved-storefront.lab-design #cartModal #cartItems .cart-item-thumb img{width:100%!important;height:100%!important;object-fit:contain!important}
html.selected-storefront.approved-storefront.lab-design #cartModal #cartItems .cart-item-main{grid-column:2/4!important;grid-row:1!important;min-width:0;padding:0!important}
html.selected-storefront.approved-storefront.lab-design #cartModal #cartItems .cart-item-name{font-size:13px!important;line-height:1.35!important;color:var(--lab-ink)!important;padding:0!important}
html.selected-storefront.approved-storefront.lab-design #cartModal #cartItems .cart-item-price{font-size:11px!important;color:var(--lab-muted)!important}
html.selected-storefront.approved-storefront.lab-design #cartModal #cartItems .cart-item-controls{grid-column:2!important;grid-row:2!important;justify-self:start!important;align-self:center!important;border:1px solid var(--lab-line)!important;border-radius:11px!important;background:var(--selected-raised)!important;display:grid!important;grid-template-columns:30px 48px 30px!important;padding:0!important;margin:0!important}
html.selected-storefront.approved-storefront.lab-design #cartModal #cartItems .qty-btn{width:30px!important;height:30px!important;padding:0!important;font-size:18px!important;background:transparent!important;border:0!important;color:var(--lab-ink)!important}
html.selected-storefront.approved-storefront.lab-design #cartModal #cartItems .qty-value{min-width:0!important;width:48px!important;font-size:12px!important;display:grid;place-items:center}
html.selected-storefront.approved-storefront.lab-design #cartModal #cartItems .cart-item-line-total{grid-column:3!important;grid-row:2!important;position:static!important;font-size:15px!important;align-self:center!important;text-align:right!important;margin:0!important}
html.selected-storefront.approved-storefront.lab-design #cartModal #cartItems .cart-item-swipe{grid-template-areas:none!important}
html.selected-storefront.approved-storefront.lab-design #cartModal #cartItems .cart-item-thumb{grid-area:1 / 1 / 3 / 2!important;display:block!important}
html.selected-storefront.approved-storefront.lab-design #cartModal #cartItems .cart-item-main{grid-area:1 / 2 / 2 / 4!important}
html.selected-storefront.approved-storefront.lab-design #cartModal #cartItems .cart-item-controls{grid-area:2 / 2 / 3 / 3!important}
html.selected-storefront.approved-storefront.lab-design #cartModal #cartItems .cart-item-line-total{grid-area:2 / 3 / 3 / 4!important}
html.selected-storefront.approved-storefront.lab-design #cartModal #cartItems .cart-item{padding:0!important;background:transparent!important}
html.selected-storefront.approved-storefront.lab-design #cartModal #cartItems .cart-item-controls{width:108px!important;min-width:108px!important;max-width:none!important;box-sizing:border-box!important}
html.selected-storefront.approved-storefront.lab-design #cartModal #cartItems .cart-item-thumb{box-shadow:none!important;border:0!important}
html.selected-storefront.approved-storefront.lab-design #cartModal #cartItems .cart-item-thumb img{box-shadow:none!important;filter:none!important}
html.selected-storefront #cartItems{background:transparent!important;padding:0!important}
html.selected-storefront #labCategoryPicker .studio-category{display:flex!important;flex-direction:column!important;gap:8px!important;min-width:0!important;padding:0!important;background:transparent!important;border:0!important;height:auto!important;white-space:normal!important}
html.selected-storefront #labCategoryPicker .studio-category>span:not(.selected-picker-media){display:none!important}
html.selected-storefront #labCategoryPicker .selected-picker-media{display:grid!important;width:100%!important;height:auto!important;aspect-ratio:1!important;padding:0!important;border:0!important;overflow:hidden!important;border-radius:18px!important}
html.selected-storefront #labCategoryPicker .selected-picker-media img{width:100%!important;height:100%!important;object-fit:contain!important}
html.selected-storefront #labCategoryPicker .studio-category strong{font-size:12px!important;line-height:1.3!important;text-align:left;align-self:start;overflow-wrap:normal!important}
html.selected-storefront #labCategoryPicker .studio-categories{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px 12px!important}
html.selected-storefront #selectedEssentialsTiles{grid-template-columns:repeat(4,minmax(0,1fr))!important}
html.selected-storefront .selected-category-tile strong{overflow-wrap:normal;word-break:normal}

html.selected-storefront #cartModal.cart-profile-window{inset:0!important;width:100%!important;height:100dvh!important;padding:0!important;align-items:stretch!important}
html.selected-storefront #cartModal #cartSheet{width:100%!important;max-width:none!important;height:100%!important;max-height:100%!important;border-radius:0!important;padding-top:env(safe-area-inset-top)}
#retainedReceiving{margin:18px 0;padding:16px;border:1px solid var(--lab-line);border-radius:18px}#retainedReceiving h3{margin:0 0 12px}#retainedStore{width:100%;text-align:left;padding:12px;margin-bottom:12px;border:1px solid var(--lab-line);border-radius:12px;background:var(--selected-raised);color:var(--lab-ink)}
#retainedStoreDialog{width:min(90vw,460px);padding:24px;border:0;border-radius:24px;background:var(--selected-surface);color:var(--lab-ink)}.retained-choices{display:flex;gap:10px;margin:14px 0}.retained-choices button,[data-done]{flex:1;padding:14px;border:1px solid var(--lab-line);border-radius:12px;background:var(--selected-raised);color:var(--lab-ink)}.retained-choices [aria-pressed=true]{background:var(--theme-accent);color:var(--theme-on-accent)}
html.selected-storefront button.retained-close{border:0!important;border-radius:50%!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;padding:0!important;background:var(--selected-raised)!important;color:var(--lab-ink)!important;box-shadow:none!important;outline:none!important;display:grid!important;place-items:center!important}
html.selected-storefront button.retained-close:focus-visible{outline:2px solid var(--lab-muted)!important;outline-offset:2px!important}
#labCategoryPicker h2:focus{outline:0!important}#labCategoryPicker{overscroll-behavior:contain}#labCategoryPicker h2{touch-action:none}.selected-age-tile{font-size:32px;font-weight:800;color:var(--lab-ink)}
html.selected-storefront .card-shrink-pulse,html.selected-storefront .card-grow-pulse{animation:none!important}

/* Banner only: ready local masks; no original-photo fallback. */
.selected-storefront #selectedHeroPhotos img{background:none!important;box-shadow:none!important;filter:none!important;border-radius:0!important;clip-path:none!important;transform:scale(1.18)!important}
.selected-storefront #selectedHeroPhotos button.selected-hero-slot{padding:0;border:0;background:transparent;pointer-events:auto;cursor:pointer;min-height:44px;color:inherit;touch-action:manipulation}.selected-storefront #selectedHeroPhotos button.selected-hero-slot:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:10px}.selected-storefront #selectedHeroPhotos .is-leaving{pointer-events:none!important}

/* Selected home tiles and themed stories; existing controls retain their actions. */
html.selected-home-navigation body>header .lab-header-center{display:none!important}
html.selected-home-navigation body>header .header-content{display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px 44px!important;gap:8px!important}
html.selected-home-navigation body>header #studioSearch{justify-self:end;pointer-events:auto;width:44px!important;height:44px!important;margin:0!important}
#selectedHomeNavigation{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:8px;margin:0 0 14px}
#selectedHomeNavigation .approved-shop-switch{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:72px 72px;justify-content:stretch;gap:8px;width:100%;max-width:none;min-width:0}
#selectedHomeNavigation .selected-store-tile,#selectedHomeNavigation .taxi-entry{box-sizing:border-box;position:relative;display:flex!important;flex-direction:column;justify-content:center;align-items:flex-start;min-width:0;min-height:72px;width:100%;margin:0!important;padding:12px 16px!important;border:1px solid var(--theme-line,#ded4c8)!important;border-radius:20px!important;background:var(--theme-surface,#f2ebe2)!important;color:var(--lab-ink)!important;opacity:1!important;gap:5px;text-decoration:none;box-shadow:none!important}
#selectedHomeNavigation .selected-store-tile[aria-pressed=true]{border-color:var(--theme-accent,#b24d35)!important;background:var(--theme-tonal,#f0e4d7)!important}
#selectedHomeNavigation .approved-alex{font:900 29px/1 Manrope,Arial,sans-serif!important;letter-spacing:-1px!important}
#selectedHomeNavigation .approved-perekrestok{font:900 clamp(17px,4.5vw,22px)/1 var(--font-display,Arial,sans-serif)!important;letter-spacing:-1px!important}
#selectedHomeNavigation .selected-store-tile>span:first-child{color:var(--theme-muted,#776d64)!important;white-space:nowrap}
#selectedHomeNavigation .selected-store-tile[aria-pressed=true]>span:first-child{color:var(--theme-ink,#292c28)!important}
#selectedHomeNavigation .approved-alex>span{color:#c34e30!important}
#selectedHomeNavigation .approved-perekrestok>span{display:inline-block;width:5px;height:5px;background:#c34e30!important;color:transparent!important;font-size:0!important;margin-left:2px}
#selectedHomeNavigation small{font:500 11px/1.25 var(--font-body,Arial,sans-serif);color:var(--lab-muted);text-transform:none;letter-spacing:0}
#selectedHomeNavigation .selected-store-check{position:absolute;top:7px;right:7px;width:28px;height:28px;display:none;place-items:center;background:var(--theme-accent,#b24d35);color:var(--theme-on-accent,#fffaf3);border-radius:50%;font:700 21px/1 Arial}
#selectedHomeNavigation [aria-pressed=true] .selected-store-check{display:grid}
#selectedHomeNavigation .taxi-entry{align-items:center;justify-content:center;text-align:center;gap:4px;padding:14px 9px!important;min-height:152px;pointer-events:auto}
#selectedHomeNavigation .taxi-entry svg{width:80px!important;height:60px!important;flex:none;color:var(--lab-ink);display:block}
#selectedHomeNavigation .taxi-entry>span{font:800 18px/1.1 var(--font-body,Arial,sans-serif);white-space:nowrap}
html[data-store-theme=olive] #selectedHomeNavigation .selected-store-tile{background:#253026!important;border-color:#3f4c3b!important}
html[data-store-theme=olive] #selectedHomeNavigation .selected-store-tile[aria-pressed=true]{background:#2c392c!important;border-color:#c5d38c!important}
html[data-store-theme=olive] #selectedHomeNavigation [data-shop=perekrestok]{background:#1b3c32!important}
html[data-store-theme=olive] #selectedHomeNavigation [data-shop=perekrestok][aria-pressed=true]{background:#254b3c!important}
html[data-store-theme=olive] #selectedHomeNavigation .taxi-entry{background:#21343c!important;border-color:#53616a!important;color:#edc4a1!important}
html[data-store-theme=olive] #selectedHomeNavigation .taxi-entry svg{color:#fff3e5}
html[data-store-theme=olive] #selectedHomeNavigation .selected-store-tile>span:first-child{color:#afb6a8!important}
html[data-store-theme=olive] #selectedHomeNavigation .selected-store-tile[aria-pressed=true]>span:first-child{color:#f1efde!important}
#selectedHomeStories{display:flex;justify-content:flex-start;gap:12px;margin:0 0 18px}
#selectedHomeStories[hidden]{display:none}
#selectedHomeStories .selected-story-circle{width:76px;height:76px;flex:0 0 76px;border:0;padding:3px;border-radius:50%;background:linear-gradient(145deg,#f1d48c,#db8c4e 40%,#b54738)}
#selectedHomeStories .selected-story-circle img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%;border:3px solid var(--theme-bg,#fffaf3);box-sizing:border-box}
#selectedHomeStories .selected-story-circle.is-seen{background:var(--theme-muted,#8a8579);padding:2px}
#selectedHomeStories .selected-story-circle.is-seen img{border-width:4px}
#selectedStoryViewer{position:fixed;inset:0;max-width:none;max-height:none;width:100%;height:100%;height:100dvh;padding:0;margin:0;border:0;background:#151a16;color:#fff7e8;overflow:hidden;overscroll-behavior:contain;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
#selectedStoryViewer::backdrop{background:#151a16}
#selectedStoryViewer .selected-story-stage{position:relative;width:100%;height:100%;max-width:480px;margin:auto;isolation:isolate;display:flex;flex-direction:column;overflow:hidden;background:#22281f}
#selectedStoryViewer .selected-story-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
#selectedStoryViewer .selected-story-stage::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#16180fe8,transparent 35%,transparent 55%,#16180ff5);z-index:-1;pointer-events:none}
#selectedStoryViewer .selected-story-top{padding:calc(14px + env(safe-area-inset-top)) 14px 12px;z-index:2}
#selectedStoryViewer .selected-story-progress{display:flex;gap:4px;margin-bottom:8px}
#selectedStoryViewer .selected-story-progress span{flex:1;height:3px;border-radius:2px;background:#ffffff4d;overflow:hidden}
#selectedStoryViewer .selected-story-progress b{display:block;width:100%;height:100%;background:#fff9eb;transform-origin:left center}
#selectedStoryViewer .selected-story-heading{display:flex;gap:10px;align-items:center;font:700 16px/1.3 var(--font-body,Arial,sans-serif)}
#selectedStoryViewer .selected-story-counter{font-size:12px;font-weight:500;opacity:.85}
#selectedStoryViewer .selected-story-close{margin-left:auto;border:0;border-radius:50%;width:44px;height:44px;min-height:44px;background:#00000040;color:#fff9eb;font:400 30px/1 Arial;padding:0}
#selectedStoryViewer .selected-story-hit{position:absolute;top:105px;bottom:120px;width:50%;border:0;border-radius:0;background:transparent;padding:0}
#selectedStoryViewer .selected-story-prev{left:0}
#selectedStoryViewer .selected-story-next{right:0}
#selectedStoryViewer .selected-story-bottom{margin-top:auto;padding:24px 22px calc(28px + env(safe-area-inset-bottom));pointer-events:none;font:800 25px/1.15 var(--font-body,Arial,sans-serif);letter-spacing:-.5px}
@media(min-width:700px){#selectedHomeNavigation{max-width:650px}#selectedHomeNavigation .approved-perekrestok{font-size:25px!important}}
@media(max-width:359px){#selectedHomeNavigation .selected-store-tile{padding-left:12px!important}#selectedHomeNavigation .selected-store-check{width:24px;height:24px;font-size:18px;right:5px;top:5px}#selectedHomeNavigation .approved-perekrestok{font-size:17px!important}#selectedHomeNavigation .taxi-entry>span{font-size:16px}}


/* Fixed category artwork already includes its visual title; retain the accessible DOM label. */
.selected-category-tile.selected-has-fixed>strong,html.selected-storefront #labCategoryPicker .studio-category.selected-has-fixed>strong{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
