:root{--bg:#0c090f;--surface:#17121b;--line:#342838;--text:#fff8fb;--muted:#a69aa9;--red:#ff365f;--gradient:linear-gradient(125deg,#ff345f 0%,#e63882 47%,#9f45ed 100%);background:var(--bg);color:var(--text)}
body{background:radial-gradient(circle at 90% 0,#41162d55 0,transparent 27rem),var(--bg);min-height:100dvh}main{width:100%;max-width:980px;padding:18px 22px 126px}
.age-pending>main,.age-pending>nav{visibility:hidden}.age-pending{overflow:hidden}#age-gate[hidden]{display:none}#age-gate{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at 75% 10%,#8f285a55,transparent 35%),#0c090f}.age-card{width:min(100%,480px);padding:36px 30px;border:1px solid #513547;border-radius:28px;background:linear-gradient(145deg,#241721,#151117);box-shadow:0 28px 80px #0009;text-align:center}.age-mark{display:grid;place-items:center;width:92px;height:92px;margin:0 auto 24px;border:2px solid #ff507d;border-radius:50%;background:#ff3c6814;color:#ff6f95;font-size:31px;font-weight:900;box-shadow:0 0 35px #ef386638}.age-card h1{margin:9px 0 13px;font-size:clamp(27px,7vw,38px);line-height:1.1}.age-card>p:not(.eyebrow){margin:0 auto;color:var(--muted);line-height:1.55;max-width:360px}.age-actions{display:grid;gap:11px;margin-top:28px}.age-actions button{min-height:52px;border-radius:16px}.age-actions .primary{font-weight:800}
header{position:relative;z-index:2;margin:0 0 24px;padding:4px 0;min-height:48px}header a{display:flex;align-items:center;gap:9px;font-size:24px;font-weight:900;letter-spacing:-.8px}header a>span:last-child{color:white;font-size:inherit}.brand-mark{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:var(--gradient);color:white;font-size:18px;box-shadow:0 6px 22px #ef38664a}.location-pill{display:flex;align-items:center;gap:7px;border-color:#3b303e;background:#19151d;padding:10px 14px;border-radius:99px;font-size:13px;color:#eee7ef}.location-pill span{font-size:inherit}.location-chevron{color:#9f94a3}
.hero{position:relative;isolation:isolate;overflow:hidden;min-height:250px;padding:34px;border:1px solid #44283c;border-radius:28px;background:radial-gradient(circle at 82% 45%,#ef3c7788 0 9%,transparent 31%),radial-gradient(circle at 92% 15%,#aa4cf270 0,transparent 38%),linear-gradient(135deg,#21131e,#120e16 65%);display:flex;align-items:center;margin-bottom:18px}.hero:after{content:"";position:absolute;inset:-25%;z-index:-1;background:repeating-linear-gradient(115deg,transparent 0 30px,#ff4a7720 31px 32px);transform:rotate(-4deg)}.hero h1{font-size:clamp(35px,7vw,58px);line-height:.98;letter-spacing:-2.5px;margin:10px 0 15px;max-width:650px}.hero h1 em{font-style:normal;background:var(--gradient);background-clip:text;color:transparent}.hero p{color:#c5b9c5;margin:0;max-width:400px;line-height:1.5}.eyebrow,.section-kicker{font-size:11px;font-weight:800;letter-spacing:2px;color:#ff6188}.hero-star{position:absolute;right:9%;top:50%;transform:translateY(-50%) rotate(10deg);font-size:104px;color:#fff;filter:drop-shadow(0 0 14px #ff4b83) drop-shadow(0 0 48px #a847ee);opacity:.9}
.search-row{display:flex;gap:10px}.search-shell{display:flex;align-items:center;gap:10px;flex:1;margin:0;background:#121016;border:1px solid #3d3241;border-radius:17px;padding:0 15px}.search-shell:focus-within{border-color:#cf478b;box-shadow:0 0 0 3px #cf478b22}.search-shell>span{font-size:24px;color:#a79ca9;transform:rotate(-15deg)}.search-shell input{border:0;background:transparent;padding:14px 0;outline:0}.filter-trigger{width:50px;padding:0;border-radius:17px;background:#19141c;font-size:24px}.categories{padding:14px 0 22px;scrollbar-width:none}.categories::-webkit-scrollbar{display:none}.categories button{padding:9px 16px;background:#151219;border-color:#3a303d;font-size:13px}.categories button.active{background:var(--gradient);color:white;box-shadow:0 7px 22px #ef386638}
.catalog-heading{display:flex;align-items:end;justify-content:space-between;margin:4px 0 15px}.catalog-heading h2,.page-title h1{font-size:27px;letter-spacing:-.8px;margin:4px 0 0}.catalog-heading>span{color:var(--muted);font-size:13px}.page-title{margin:34px 0 22px}.filter-bar{display:none;grid-template-columns:2fr 1.4fr 1fr 1fr;background:#17121b;border:1px solid #342838;border-radius:18px;padding:12px;margin-bottom:15px}.filter-bar.is-open{display:grid}
.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.card{border:1px solid #2f2632;background:#171419;border-radius:22px;box-shadow:0 10px 30px #0003}.card:hover{border-color:#5e3a57;transform:translateY(-3px)}.card-media{position:relative;width:100%;aspect-ratio:1;overflow:hidden}.card-media .open{display:block;width:100%;height:100%;overflow:hidden}.card-media .art{width:100%;height:100%;aspect-ratio:auto;overflow:hidden;background:linear-gradient(145deg,#fff,#eee9ef);font-size:58px}.art img{transition:transform .4s cubic-bezier(.22,1,.36,1)}.card:hover .art img{transform:scale(1.035)}.favorite-float{position:absolute;right:10px;top:10px;display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid #ffffff4a;border-radius:50%;background:#19121fbf;backdrop-filter:blur(10px);font-size:21px;line-height:1;color:white}.favorite-float[aria-pressed="true"]{color:#ff4773}.stock-dot{position:absolute;left:10px;bottom:10px;padding:5px 9px;background:#151118c9;border:1px solid #ffffff30;border-radius:99px;font-size:10px;backdrop-filter:blur(8px)}.stock-dot:before{content:"";display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:#59df8a;box-shadow:0 0 7px #59df8a}.body{padding:14px}.card-category{color:#a99fac;text-transform:uppercase;letter-spacing:1px;font-size:10px;margin:0 0 7px}.body h2{font-size:16px;line-height:1.3;min-height:2.6em;margin:0}.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:15px}.card-bottom .price{margin:0;color:#fff;font-size:19px}.add-round{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;padding:0;border:0;border-radius:12px;background:var(--gradient);font-size:24px;line-height:1}.add-round:disabled{background:#403842}
nav{bottom:max(12px,env(safe-area-inset-bottom));width:calc(100% - 28px);max-width:620px;padding:8px 9px;background:#211b24e8;border:1px solid #4d3e50;border-radius:24px;box-shadow:0 18px 50px #0009;backdrop-filter:blur(22px)}nav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-height:51px;background:transparent!important;color:#827985;border:0;border-radius:16px;font-size:10px}nav button.active{color:#ff507d}.nav-icon{position:relative;display:block;width:23px;height:23px}.nav-icon svg{width:100%;height:100%}.nav-icon b{position:absolute;right:-8px;top:-6px;display:grid;place-items:center;min-width:16px;height:16px;padding:0 4px;border:2px solid #211b24;background:#ff3c68;border-radius:99px;color:white;font-size:9px}dialog{background:#1c1620;border-color:#4e3b52}#toast{background:#fff3f7;color:#30111f;font-weight:700}
@media(max-width:650px){main{padding:14px 13px 118px}header{margin-bottom:15px}header a{font-size:21px}.location-pill{padding:9px 11px;font-size:11px}.hero{min-height:205px;padding:25px 20px;border-radius:23px}.hero h1{font-size:38px;letter-spacing:-1.8px}.hero p{font-size:13px;max-width:245px}.hero-star{right:2%;font-size:72px;opacity:.68}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.body{padding:12px}.body h2{font-size:14px}.card-bottom .price{font-size:16px}.art{font-size:43px}.stock-dot{font-size:9px}.filter-bar{grid-template-columns:1fr 1fr}.catalog-heading h2{font-size:24px}}
@media(max-width:370px){.location-pill span:nth-child(2){max-width:94px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hero-star{display:none}.hero h1{font-size:35px}.card-bottom .price{font-size:14px}.add-round{width:34px;height:34px;flex-basis:34px}}

.option-badge{position:absolute;left:10px;top:10px;padding:5px 10px;border-radius:99px;background:var(--gradient);color:#fff;font-size:10px;font-weight:800;letter-spacing:.4px;box-shadow:0 6px 18px #ef386640}
.sale-badge{position:absolute;left:10px;top:10px;padding:5px 10px;border-radius:99px;background:#ff315b;color:#fff;font-size:11px;font-weight:900;box-shadow:0 7px 22px #ff315b66}.option-badge~.sale-badge{top:40px}.card.on-sale{border-color:#653046;box-shadow:0 12px 35px #e62e6040}.price{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.price .current-price{color:#ff7fa2;font-weight:850}.price del,.cart-price del,.recent-price del{color:#8f8492;font-size:.7em;font-weight:500;text-decoration-thickness:1px}.product-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:26px}.product-meta .category-badge{margin:0}.product-discount{padding:7px 11px;border:1px solid #ff4e7955;border-radius:99px;background:#ff315b17;color:#ff86a4;font-size:12px;font-weight:800}.variant-sale{position:absolute;right:-7px;bottom:-4px;z-index:2;padding:4px 7px;border-radius:99px;background:#ff315b;color:white!important;font-size:10px!important;font-weight:900;box-shadow:0 5px 14px #ff315b66}.cart-price,.recent-price{display:flex;align-items:flex-end;flex-direction:column;gap:3px}.cart-savings{display:flex;justify-content:space-between;gap:12px;padding:12px 0;color:#56d99b;border-top:1px dashed #3a303e;border-bottom:1px dashed #3a303e}.cart-savings strong{color:#56d99b}
.field-hint{display:block;margin-top:8px;color:#a99fac;font-size:12px;line-height:1.4}
.stock-dot.out{color:#c9bcc9}.stock-dot.out:before{background:#8b7f8d;box-shadow:none}
.filter-trigger{display:grid;place-items:center;height:100%;min-height:50px;border:1px solid #3d3241;color:#cbbfcd}.filter-trigger svg{width:22px;height:22px}
.search-shell input{width:100%;border-radius:0}
.page-title h1{margin:0}
.card{display:flex;flex-direction:column}.card .body{display:flex;flex-direction:column;flex:1}.card-bottom{margin-top:auto}
.add-round:disabled{opacity:1;color:#8d8391}
.currency{display:inline-flex;align-items:center;vertical-align:-.12em;margin-left:-.08em;line-height:1;overflow:visible}.currency-symbol{display:block;width:.88em;height:.94em;margin:0;object-fit:contain;filter:invert(1) contrast(1.25)}

#screen{touch-action:pan-y}
@media(max-width:650px){.option-badge{font-size:9px;padding:4px 8px}}

/* --- Liquid glass bottom bar --- */
/* Keep the fixed bar inside the visual viewport (including Telegram's mobile webview). */
#nav{bottom:max(10px,env(safe-area-inset-bottom));width:min(calc(100dvw - 40px),400px);max-width:calc(100dvw - 40px);padding:5px;gap:2px;border-radius:22px;border:1px solid #ffffff1f;background:linear-gradient(180deg,#2a2230b3,#171320c9);box-shadow:0 14px 38px #000a,inset 0 1px 0 #ffffff33,inset 0 -1px 0 #00000040;backdrop-filter:blur(26px) saturate(190%);-webkit-backdrop-filter:blur(26px) saturate(190%);overflow:hidden;isolation:isolate}
nav:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,#ffffff1c 0,#ffffff05 42%,transparent 70%)}
nav button{position:relative;z-index:1;gap:3px;min-height:44px;padding:5px 2px 4px;border-radius:17px;font-size:9.5px;font-weight:600;letter-spacing:.1px;color:#8d8393;transition:color .3s ease,transform .3s cubic-bezier(.22,1,.36,1)}
#nav .slide-pill{position:absolute;top:5px;bottom:5px;left:0;width:0;z-index:0;pointer-events:none;border-radius:17px;background:linear-gradient(180deg,#ffffff26,#ffffff08 58%,#ffffff03);box-shadow:inset 0 1px 0 #ffffff40,0 4px 14px #ff3c6826}
.slide-pill.ready{transition:transform .45s cubic-bezier(.22,1,.36,1),width .45s cubic-bezier(.22,1,.36,1)}
nav button.active{color:#ff6f95}
nav button>*{position:relative;z-index:1}
.nav-icon{width:20px;height:20px;transition:transform .3s cubic-bezier(.22,1,.36,1)}
nav button.active .nav-icon{transform:translateY(-1px) scale(1.06);filter:drop-shadow(0 3px 9px #ff3c6866)}
.nav-icon b{right:-7px;top:-5px;min-width:14px;height:14px;font-size:8px;border-width:1.5px;border-color:#241d2b}
.nav-icon b[hidden]{display:none}
nav button:active{transform:scale(.9)}
@media(max-width:370px){nav button{font-size:9px}.nav-icon{width:19px;height:19px}}

/* --- Visible, slim scrollbar for the category strip --- */
.categories{padding-bottom:10px;scrollbar-width:thin;scrollbar-color:#6b586f transparent}
.categories::-webkit-scrollbar{display:block;height:5px}
.categories::-webkit-scrollbar-track{background:#ffffff0d;border-radius:99px}
.categories::-webkit-scrollbar-thumb{background:#6b586f;border-radius:99px}
.categories::-webkit-scrollbar-thumb:hover{background:#8a7290}
/* --- Cards stay put on hover; only the outline responds --- */
.card:hover,.card:hover .art img{transform:none}
.card:hover{border-color:#6b4363;box-shadow:0 12px 34px #0004}

/* --- Orders screen --- */
.orders-head{display:flex;align-items:center;gap:12px;margin:6px 0 18px}
.orders-head h1{font-size:27px;letter-spacing:-.8px;margin:0}
.segmented{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:2px;padding:5px;margin-bottom:18px;border:1px solid #ffffff1a;border-radius:19px;background:linear-gradient(180deg,#26202cb3,#171320c4);box-shadow:inset 0 1px 0 #ffffff26;backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%)}
.segmented button{position:relative;z-index:1;min-height:40px;padding:0;border:0;border-radius:15px;background:transparent!important;color:#8d8393;font-size:14px;font-weight:600;transition:color .3s ease}
.segmented button.active{color:#fff8fb}
.segmented .slide-pill{position:absolute;top:5px;bottom:5px;left:0;width:0;z-index:0;pointer-events:none;border-radius:15px;background:var(--gradient);box-shadow:0 6px 18px #ef386640,inset 0 1px 0 #ffffff3d}
.orders-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:52px 24px;border:1px solid #2f2632;border-radius:26px;background:#171419}
.orders-empty-icon{display:block;width:74px;height:74px;margin-bottom:8px;color:#5d5263}
.orders-empty-icon svg{width:100%;height:100%;stroke-width:1.2}
.orders-empty h2{font-size:19px;margin:0}
.orders-empty p{margin:0;max-width:250px;line-height:1.5}
.orders-empty button{margin-top:14px;padding:13px 22px;border-radius:15px}
.order-card{padding:18px;margin-bottom:12px;border:1px solid #2f2632;border-radius:22px;background:#171419}
.order-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.order-top b{font-size:17px}
.status-pill{padding:6px 12px;border-radius:99px;font-size:11px;font-weight:700;white-space:nowrap;border:1px solid transparent}
.status-pill.wait{background:#f5a52318;border-color:#f5a52347;color:#f2b44e}
.status-pill.ok{background:#8b5cf61c;border-color:#8b5cf64d;color:#b596fb}
.status-pill.done{background:#22c55e18;border-color:#22c55e47;color:#5fdc93}
.status-pill.off{background:#ffffff0d;border-color:#ffffff26;color:#a99fac}
.order-items{list-style:none;margin:0;padding:0;display:grid;gap:7px}
.order-items li{display:flex;justify-content:space-between;gap:12px;font-size:14px;color:#c9bfcb}
.order-items li span:last-child{color:#8d8393;flex-shrink:0}
.order-foot{display:flex;align-items:center;justify-content:space-between;margin-top:15px;padding-top:14px;border-top:1px solid #2f2632}
.order-foot strong{font-size:19px}
@media(max-width:650px){.orders-empty{padding:44px 18px}.orders-head h1{font-size:24px}.order-card{padding:16px}}

/* --- Profile: tighter blocks, aligned with the catalog surfaces --- */
.profile-page{max-width:720px}
.profile-hero,.profile-orders,.profile-actions button,.recent-card{background:#171419;border-color:#2f2632}
.profile-hero{min-height:0;gap:14px;padding:18px;border-radius:22px;margin-bottom:14px}
.avatar{width:56px;height:56px;font-size:21px}
.person-text h1{font-size:19px;margin:0 0 4px}
.copy-id{font-size:12.5px;gap:5px}.copy-id svg{width:14px;height:14px}
.loyalty{min-width:116px;gap:5px;padding:13px 10px;border-radius:18px;border-color:#3a2c42}
.loyalty-star{width:34px;height:34px;font-size:20px}
.loyalty b{font-size:11.5px}.loyalty strong{font-size:16px}
.loyalty .muted{font-size:11px}
.loyalty-foot{padding-top:9px;margin-top:3px;font-size:10.5px}
.profile-orders{gap:13px;padding:15px;border-radius:20px;margin-bottom:14px}
.profile-orders b{font-size:16px}.profile-orders small{font-size:12.5px;margin-top:3px}
.profile-icon{width:42px;height:42px;border-radius:14px}.profile-icon svg{width:22px;height:22px}
.chevron{font-size:23px}
.profile-actions{gap:10px}
.profile-actions button{gap:9px;min-height:92px;border-radius:20px;font-size:13.5px}
.profile-actions svg{width:25px;height:25px}
.recent-section{margin-top:24px}
.recent-section h2{font-size:15px;margin-bottom:12px}
.recent-track{gap:10px;padding-bottom:12px}
.recent-card{flex-basis:146px;gap:9px;padding:9px;border:1px solid #2f2632;border-radius:18px}
.recent-card .art{height:108px;border-radius:13px;font-size:34px;aspect-ratio:auto}
.recent-card>span{font-size:13px;min-height:34px;line-height:1.3}
.recent-card strong{font-size:15px}
.recent-empty{padding:18px;border-radius:18px;font-size:13.5px;line-height:1.5}
.recent-empty button{margin-top:12px;padding:10px 16px;border-radius:14px;font-size:13.5px}
@media(max-width:480px){.profile-hero{padding:15px 12px;gap:10px}.avatar{width:50px;height:50px;font-size:19px}.person-text h1{font-size:17px}.loyalty{min-width:104px;padding:11px 8px}.loyalty-foot{max-width:96px}.profile-orders{padding:14px}.profile-actions button{min-height:86px}.recent-card{flex-basis:136px}}

.loyalty{gap:2px;padding:11px 9px;line-height:1.2}
.loyalty-star{width:30px;height:30px;font-size:18px;margin-bottom:2px}
.loyalty-foot{padding-top:7px;margin-top:2px}
.recent-card{display:grid;grid-template-rows:92px minmax(32px,auto) auto;align-content:start;gap:7px}
.recent-card .art{width:100%;height:92px;min-height:92px;overflow:hidden}
.recent-card .art img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
.recent-card>span{min-height:32px}

/* Search controls and card footers share fixed geometry on narrow Telegram views. */
.search-row{align-items:stretch}.search-row .search-shell{min-width:0;height:56px!important;margin:0!important}.search-row .search-shell input{min-height:0;margin:0!important}.search-row .filter-trigger{flex:0 0 56px;width:56px;height:56px!important;min-height:56px!important}.card-bottom{min-height:54px}.card-bottom .price{display:flex;align-items:center;line-height:1}.add-round{align-self:center}
/* Product details and searchable variant selection. */
.card-bottom .card-label{max-width:55%;min-height:40px;border-radius:14px;padding:8px 12px;font-size:13px;line-height:1.3;overflow-wrap:anywhere;background:#29212e;border:1px solid #49334b;color:#f7e8f4}
.product-title{display:flex;align-items:flex-start;gap:16px;justify-content:space-between}.product-title h1{margin:0;overflow-wrap:anywhere}.product-title>button{flex:0 0 44px;padding:0;min-height:44px;background:transparent;border:0;font-size:32px}.product-title>button[aria-pressed=true]{color:#ff587d}
.product-page .product-photo{background:#fff;border-radius:24px;overflow:hidden;aspect-ratio:1;display:grid;place-items:center}.product-page .product-photo img{width:100%;height:100%;object-fit:contain}.product-page .product-photo>span{color:#746b78}.product-page>.price{font-size:34px;margin:20px 0 28px}.product-page .category-badge{display:table;margin-top:26px}.product-section{margin:28px 0}.product-section h2{font-size:20px;margin:0 0 16px}.attribute-track{display:flex;gap:12px;overflow-x:auto;padding:6px 4px 12px;scrollbar-width:none}.attribute-choice{display:flex;flex:0 0 108px;min-height:76px;align-items:center;justify-content:center;flex-direction:column;gap:6px;padding:12px 9px;border:1px solid #323139;border-radius:18px;background:#17171b;color:#f8f8f8;text-align:center}.attribute-choice.selected{border:2px solid #ee527d;padding:11px 8px;background:#2b192a;box-shadow:0 6px 18px #ef386633}.attribute-choice strong{font-size:14px;overflow-wrap:anywhere}.attribute-choice small{color:#aaa4ad;font-size:9px;font-weight:700}.attribute-choice:focus-visible{outline:3px solid #ff94bc;outline-offset:2px}
.variant-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.variant-heading h2{margin:0}.variant-heading>button{position:relative;display:grid;place-items:center;min-width:120px;border:0;background:var(--gradient);color:#fff;border-radius:24px;height:46px;padding:0 38px;font-weight:700;line-height:1}.variant-heading .all-label{display:block;margin:0;font-size:inherit;line-height:1}.variant-heading .all-chevron{position:absolute;right:18px;top:50%;margin:0;font-size:22px;line-height:1;transform:translateY(-53%)}
.variant-track{display:flex;gap:12px;overflow-x:auto;padding:4px 4px 12px;scrollbar-width:none;scroll-snap-type:x proximity}.variant-tile{display:flex;flex-direction:column;align-items:center;gap:14px;justify-content:flex-start;min-width:0;padding:16px 10px;background:#19161d;border:1px solid #3a303e;border-radius:22px;color:#ece5ee;text-align:center;scroll-snap-align:start}.variant-track .variant-tile{flex:0 0 140px;min-height:190px}.variant-tile.selected{border:2px solid #ee527d;background:#2b192a;padding:15px 9px}.variant-tile strong{font-size:14px;line-height:1.4;overflow-wrap:anywhere}.variant-tile small{color:#b8aaba;font-size:12px}.variant-photo{width:92px;height:92px;flex-shrink:0;position:relative;display:block;background:transparent;border-radius:50%;font-size:38px}.variant-image-frame{position:absolute;inset:0;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#fff}.variant-image-frame img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}.variant-check{position:absolute;right:-2px;top:-2px;z-index:1;display:grid;place-items:center;width:28px;height:28px;border:2px solid #19161d;border-radius:50%;background:var(--gradient);color:white;font-size:14px;font-weight:800}
.product-buy{padding:10px;border:1px solid #3a303e;border-radius:26px;margin:22px 0}.product-buy button{display:flex;align-items:center;justify-content:center;gap:12px;min-height:54px;border-radius:20px;font-size:18px}.product-buy [data-selected]{position:relative;display:grid;place-items:center}.product-buy [data-selected]>span{grid-area:1/1;text-align:center}.product-buy [data-selected]>svg{position:absolute;left:clamp(22px,12%,52px)}.product-buy svg{width:24px;height:24px}.product-availability{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #3a303e;padding:18px;border-radius:22px}.product-availability p{margin:8px 0 0;font-size:14px}.product-availability .available{color:#49d4a2;flex-shrink:0;font-size:13px}.product-description{white-space:pre-wrap}
.product-buy:has(.product-quantity){padding:0;border:0}.product-quantity{display:grid;grid-template-columns:88px minmax(0,1fr) 88px;min-height:72px;overflow:hidden;border:2px solid #2d3034;border-radius:999px;background:#050506;color:#f5f5f6}.product-quantity button{min-height:72px;padding:0;border:0;border-radius:0;background:transparent;color:#f5f5f6;font-size:36px;font-weight:300;line-height:1}.product-quantity button:first-child{border-right:1px solid #34373b}.product-quantity button:last-child{border-left:1px solid #34373b}.product-quantity button:disabled{color:#666a70;opacity:1}.product-quantity output{display:flex;align-items:center;justify-content:center;gap:8px;font-size:18px}.product-quantity output strong{font-size:28px;font-weight:750}.product-quantity output span{color:#8b8d93;font-size:16px}
@media(max-width:430px){.product-quantity{grid-template-columns:72px minmax(0,1fr) 72px;min-height:64px}.product-quantity button{min-height:64px;font-size:32px}.product-quantity output strong{font-size:25px}}
body.variants-open{overflow:hidden}dialog.variant-dialog{box-sizing:border-box;width:min(720px,100%);max-width:100%;height:90dvh;max-height:94dvh;margin:auto auto 0;padding:0;border:1px solid #3a303e;border-radius:28px 28px 0 0;background:#100e13;color:#fff;overflow-y:auto}dialog.variant-dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}.variant-dialog-head{position:sticky;top:0;z-index:2;background:#100e13;padding:20px;border-bottom:1px solid #3a303e}.variant-dialog-head>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.variant-dialog-head h2{margin:0;font-size:23px}.variant-dialog-head button{width:42px;height:42px;padding:0;border-radius:50%;font-size:28px}.variant-dialog-head input{margin:0;width:100%;border-radius:24px;min-height:48px}.variant-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:20px 20px max(24px,env(safe-area-inset-bottom))}.variant-grid .variant-tile{min-height:182px;padding:20px 10px}.variant-grid .variant-tile.selected{background:var(--gradient);border-color:#ff799d}.variant-grid .empty{grid-column:1/-1}.variant-tile:focus-visible,.card-label:focus-visible{outline:3px solid #ff94bc;outline-offset:2px}
@media(max-width:380px){.variant-grid{gap:10px;padding:14px}.variant-photo{width:80px;height:80px}.product-availability{align-items:flex-start;flex-direction:column}.card-bottom{flex-wrap:wrap}}
/* Keep modal geometry above the legacy #detail mobile rule. */
#detail.variant-dialog{width:min(720px,100%);padding:0;max-height:94dvh}
.location-pill[hidden],.slide-pill[hidden]{display:none!important}
header a{min-width:0}header a>span:last-child{max-width:none;overflow-wrap:anywhere;text-align:left}.brand-mark{flex-shrink:0}.location-pill{max-width:50%;overflow-wrap:anywhere}
.variant-heading h2,.variant-dialog-head h2{min-width:0;overflow-wrap:anywhere}.variant-heading>button,.variant-dialog-head button{flex-shrink:0}.product-section h2,.product-description,.product-availability p,.card h2,.card-category{overflow-wrap:anywhere}
.option-badge{max-width:calc(100% - 66px);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.card-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;flex-wrap:nowrap;padding-top:12px;gap:8px}.card-bottom .price{min-width:0;white-space:nowrap;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:2px;font-size:clamp(14px,4vw,19px);line-height:1.08}.card-bottom .price del{font-size:10px}.card-bottom .card-label{width:auto;max-width:none;min-width:0;padding:10px 13px;white-space:nowrap}
@media(max-width:350px){.card-bottom{gap:5px}.card-bottom .card-label{padding:9px 10px;font-size:12px}}

/* Screenshot-inspired cart, isolated from catalog and admin styling. */
body.cart-view{background:radial-gradient(circle at 90% 0,#41162d55 0,transparent 27rem),var(--bg);color:var(--text)}
.cart-view main{max-width:744px;padding:14px 16px 110px}
.cart-view header{border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:5px}
.cart-view .location-pill{background:#19151d;border-color:#19151d}
.cart-page{padding-top:0}.cart-items{display:grid;gap:16px}
.cart-item{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;padding:16px;border:1px solid #2f2632;border-radius:22px;background:#171419;min-width:0}
.cart-photo{width:96px;height:96px;padding:0;background:#fff;border:1px solid #49334b;border-radius:22px;overflow:hidden;align-self:center;display:grid;place-items:center;font-size:36px}
.cart-photo img{width:100%;height:100%;object-fit:contain}
.cart-info{min-width:0;position:relative}.cart-info h2{font-size:15px;font-weight:500;line-height:1.4;margin:0 22px 5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cart-remove{position:absolute;right:-5px;top:-5px;width:28px;height:28px;border:0;background:transparent;padding:0;font-size:25px;line-height:1;color:var(--text)}
.cart-properties{min-height:36px}.cart-properties p{font-size:12px;line-height:1.4;margin:2px 0;overflow-wrap:anywhere}.cart-properties p span{color:var(--muted);margin-right:5px}
.cart-item-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:5px}.cart-quantity{display:flex;align-items:center;gap:12px}.cart-quantity button{display:grid;place-items:center;width:33px;height:33px;padding:0;border:1px solid #49334b;border-radius:50%;background:#21172a;color:#f7e8f4;font-size:24px;line-height:1}.cart-quantity button:disabled{opacity:.35}.cart-quantity output{min-width:12px;text-align:center;font-size:18px}.cart-price{font-size:17px;white-space:nowrap}
.cart-summary{margin-top:16px;padding:16px;border:1px solid #2f2632;border-radius:22px;background:#171419}.cart-subtotal,.cart-total{display:flex;align-items:center;justify-content:space-between;gap:12px}.cart-subtotal{padding-bottom:10px;border-bottom:1px solid var(--line);font-size:15px}.cart-subtotal>span:first-child{color:var(--muted)}.cart-total{margin:12px 0 20px;font-size:20px}
.cart-checkout-button{display:block;width:100%;min-height:46px;border:0;border-radius:20px;background:var(--gradient);color:white;font-size:16px}.cart-checkout[hidden]{display:none}.cart-checkout{background:#171419;border-color:#2f2632;scroll-margin-top:16px}.cart-checkout .primary{background:var(--gradient)}
.cart-view nav{max-width:712px;background:#211b24;border-color:#4d3e50;box-shadow:none;backdrop-filter:none}.cart-view nav button{color:#827985}.cart-view nav button.active{color:#ff507d}.cart-view .nav-icon b{background:var(--gradient);border-color:#211b24}.nav-icon b[hidden]{display:none}
@media(min-width:600px){.cart-item{grid-template-columns:150px minmax(0,1fr);padding:24px;gap:24px;border-radius:28px}.cart-photo{width:150px;height:150px;border-radius:28px}.cart-info h2{font-size:22px}.cart-properties p{font-size:17px}.cart-item-bottom{margin-top:12px}.cart-quantity{gap:20px}.cart-quantity button{width:44px;height:44px}.cart-price{font-size:24px}.cart-summary{padding:24px}.cart-subtotal{font-size:20px}.cart-total{font-size:26px}.cart-checkout-button{min-height:58px;font-size:20px}}
@media(max-width:360px){.cart-item{grid-template-columns:76px minmax(0,1fr);padding:12px;gap:10px}.cart-photo{width:76px;height:86px;border-radius:18px}.cart-quantity{gap:7px}.cart-quantity button{width:30px;height:30px}.cart-price{font-size:15px}.cart-info h2{font-size:14px}}
.attribute-track::-webkit-scrollbar,.variant-track::-webkit-scrollbar{display:none}
.attribute-choice,.variant-tile,.categories button,.card-label,.product-buy button,.cart-quantity button,.product-quantity button{transition:background-color .25s ease,border-color .25s ease,box-shadow .3s ease,color .25s ease,transform .25s cubic-bezier(.22,1,.36,1)}
.attribute-choice:active,.variant-tile:active,.card-label:active{transform:scale(.97)}
.checkout-contact{margin:4px 0 14px;padding:12px 14px;border:1px solid #3a303e;border-radius:14px;background:#19161d;color:#d9cfdb;font-size:14px}.checkout-contact b{color:#ff6f95;overflow-wrap:anywhere}
@media(prefers-reduced-motion:reduce){.attribute-choice,.variant-tile,.categories button,.card-label,.product-buy button,.cart-quantity button,.product-quantity button{transition:none}}
