/* Storefront theme. Every color/font/radius comes from /theme.css (admin → Design), so one stylesheet fits every client. */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font: 15px/1.6 var(--font); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.display, h1, h2 { font-family: var(--font-heading); font-weight: 500; text-transform: var(--heading-case); letter-spacing: .01em; line-height: 1.02; }
h3 { font-weight: 700; line-height: 1.25; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 28px); }
.narrow { max-width: 860px; }
.sub { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; z-index: 100; background: var(--fg); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { inset-inline-start: 8px; }
.placeholder { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--font-heading); font-size: 42px; color: var(--muted); opacity: .4; }

/* buttons & fields */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 99px; border: 1px solid var(--accent);
  background: var(--accent); color: var(--accentFg); font-weight: 800; font-size: 13.5px; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: transform .15s, opacity .15s; white-space: nowrap; }
.btn:hover { opacity: .9; }
.btn:active { transform: scale(.98); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--border); }
.btn.ghost:hover { border-color: var(--fg); }
.btn.block { width: 100%; }
.btn.sm { min-height: 38px; padding: 0 16px; font-size: 12px; }
.btn.wa { background: #25d366; border-color: #25d366; color: #fff; margin-top: 10px; }
.link { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.link:hover { color: var(--fg); }
.link-btn { border: 0; background: none; color: var(--accent); cursor: pointer; text-decoration: underline; padding: 0; font-size: inherit; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; cursor: pointer; color: inherit; }
.icon-btn:hover { background: color-mix(in srgb, var(--fg) 8%, transparent); }
.input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--border); border-radius: calc(var(--radius) * .7); background: var(--surface); font-size: 16px; transition: border-color .15s; }
textarea.input { min-height: 90px; padding: 12px 14px; resize: vertical; }
.input:focus { outline: none; border-color: var(--accent); }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.field .opt { color: var(--muted); font-weight: 500; }
.notice { font-size: 13px; padding: 10px 12px; border-radius: calc(var(--radius) * .6); background: color-mix(in srgb, var(--sale) 14%, transparent); color: var(--fg); border: 1px solid color-mix(in srgb, var(--sale) 40%, transparent); }
.notice.ok { background: var(--surface); border-color: var(--border); color: var(--muted); }

/* header */
.nav { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.nav-in { display: flex; align-items: center; height: 64px; gap: 30px; }
.logo { font-family: var(--font-heading); font-size: 21px; text-transform: var(--heading-case); letter-spacing: .03em; display: flex; align-items: center; white-space: nowrap; font-weight: 500; }
.logo i { font-style: normal; color: var(--accent); margin-inline-start: .28em; }
.logo img { height: 52px; width: auto; }
.nav-links { display: flex; gap: 26px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.nav-links a { padding: 6px 0; transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--fg); }
.nav-right { margin-inline-start: auto; display: flex; gap: 10px; align-items: center; }
.search { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 99px; padding-inline-start: 14px; height: 40px; }
.search input { border: 0; background: none; outline: none; width: 150px; font-size: 14px; }
.search .icon-btn { width: 38px; height: 38px; color: var(--muted); }
.search:focus-within { border-color: var(--accent); }
.cart { background: var(--fg); color: var(--bg); border: none; border-radius: 99px; min-height: 40px; padding: 0 18px; font-weight: 800; font-size: 13px; cursor: pointer; white-space: nowrap; }
.menu-btn { display: none; }
.lang-btn { border: 1px solid var(--border); background: none; border-radius: 99px; min-height: 40px; padding: 0 14px; font-weight: 800; font-size: 13px; cursor: pointer; white-space: nowrap; }
.lang-btn:hover { border-color: var(--fg); }
@media (max-width: 920px) { .logo img { height: 44px; } .lang-btn { padding: 0 10px; } }
.nav .logo { flex-shrink: 0; } /* never squeeze the logo; the buttons tighten instead */
@media (max-width: 380px) {
  .nav-right { gap: 2px; }
  .nav-right .icon-btn { width: 34px; }
  .lang-btn { padding: 0 8px; }
  .cart { padding: 0 11px; }
  .logo img { height: 40px; }
}
@media (max-width: 920px) {
  .menu-btn { display: inline-grid; margin-inline-start: -10px; }
  .nav-in { gap: 6px; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 6px 20px 18px; max-height: calc(100vh - 64px); overflow-y: auto; }
  .nav-links a { padding: 14px 0; font-size: 17px; color: var(--fg); border-bottom: 1px solid var(--border); }
  .nav.open .nav-links { display: flex; }
  .search { border: 0; padding: 0; }
  .search input { width: 0; padding: 0; transition: width .2s; }
  .search:focus-within { border: 1px solid var(--accent); padding-inline-start: 12px; }
  .search:focus-within input { width: min(42vw, 180px); }
}

/* split hero (signature) */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: min(78vh, 760px); position: relative; }
.half { --tone: var(--accent); position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 64px clamp(24px, 4vw, 56px); overflow: hidden; isolation: isolate; }
.half::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 20% 10%, color-mix(in srgb, var(--tone) 18%, var(--bg)) 0%, color-mix(in srgb, var(--tone) 5%, var(--bg)) 55%, var(--bg) 100%); }
.half.right::before { background: radial-gradient(120% 90% at 80% 10%, color-mix(in srgb, var(--tone) 18%, var(--bg)) 0%, color-mix(in srgb, var(--tone) 5%, var(--bg)) 55%, var(--bg) 100%); }
.half .ghost { position: absolute; top: 6%; font-family: var(--font-heading); font-size: clamp(80px, 13vw, 190px); line-height: 1; text-transform: uppercase; opacity: .07; user-select: none; white-space: nowrap; color: var(--tone); transition: opacity .3s; inset-inline-start: -8px; }
.half.right .ghost { inset-inline-start: auto; inset-inline-end: -8px; }
.half:hover .ghost { opacity: .13; }
.kick { font-size: 11.5px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 14px; color: var(--tone); }
.half h1, .half h2 { font-size: clamp(36px, 4.6vw, 68px); line-height: .98; }
.half p { color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 380px; margin: 16px 0 24px; }
.hbtn { display: inline-flex; align-items: center; gap: 10px; border-radius: 99px; padding: 14px 26px; font-weight: 800; font-size: 13.5px; letter-spacing: .04em; text-transform: uppercase; width: max-content; transition: transform .2s; background: var(--tone); color: color-mix(in srgb, var(--tone) 12%, #000); }
.half.right .hbtn { color: #fff; }
.half:hover .hbtn { transform: translateX(4px); }
[dir="rtl"] .half:hover .hbtn { transform: translateX(-4px); }
.hero-img { width: min(46%, 340px); align-self: center; margin-bottom: 26px; filter: drop-shadow(0 26px 34px rgb(0 0 0 / .45)); transition: transform .3s; border-radius: 14px; }
.half:hover .hero-img { transform: translateY(-6px); }
.divider { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--border); z-index: 2; }
.badge-center { position: absolute; left: 50%; top: 52px; transform: translateX(-50%); z-index: 3; background: var(--bg); border: 1px solid var(--border); border-radius: 99px; padding: 10px 20px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .divider, .badge-center { display: none; }
  /* phones: text left, product shot right — both audiences fit in about one screen */
  .half { display: grid; grid-template-columns: 1fr 36%; column-gap: 14px; align-content: end; padding: 30px 18px 32px; min-height: 0; }
  .half > * { grid-column: 1; }
  .hero-img { grid-column: 2; grid-row: 1 / span 4; width: 100%; align-self: center; margin: 0; }
  .half h1, .half h2 { font-size: clamp(28px, 8.4vw, 44px); }
  .half p { font-size: 13.5px; margin: 10px 0 16px; }
  .kick { font-size: 10.5px; letter-spacing: .16em; margin-bottom: 8px; }
  .hbtn { padding: 12px 18px; font-size: 12px; }
}

/* classic hero */
.hero-classic { padding: clamp(24px, 4vw, 48px) 0 0; }
.hero-classic-in { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; background: var(--surface); border-radius: calc(var(--radius) * 1.6); padding: clamp(32px, 6vw, 80px); min-height: 420px; }
.hero-classic.has-img .hero-classic-in { grid-template-columns: 1.1fr 1fr; }
.hero-text { display: grid; gap: 20px; justify-items: start; }
.hero-text h1 { font-size: clamp(38px, 6vw, 72px); }
.hero-text p { color: var(--muted); font-size: 17px; max-width: 46ch; }
.hero-photo { border-radius: var(--radius); width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 760px) { .hero-classic.has-img .hero-classic-in { grid-template-columns: 1fr; } }

/* marquee */
.marquee { border-block: 1px solid var(--border); overflow: hidden; padding: 14px 0; background: var(--surface); margin-top: clamp(18px, 2.4vw, 32px); }
.mq { display: flex; width: max-content; white-space: nowrap; font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); animation: mq 70s linear infinite; }
.mq-g { display: flex; flex: none; align-items: center; gap: 28px; padding-inline-end: 28px; }
.mq span { display: inline-flex; gap: 10px; }
.mq b { color: var(--accent); }
.marquee:hover .mq { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
[dir="rtl"] .mq { animation-name: mq-rtl; }
@keyframes mq-rtl { to { transform: translateX(50%); } }

/* sections */
.section { padding: clamp(48px, 7vw, 84px) 0 0; }
.view-home main > :last-child { margin-bottom: clamp(48px, 7vw, 84px); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 50px); }
.sec-head p { color: var(--muted); font-size: 14.5px; max-width: 340px; }
@media (max-width: 640px) { .sec-head { gap: 10px; margin-bottom: 22px; } .sec-head p { order: 3; flex-basis: 100%; } }

/* product cards */
.wrap.wide { max-width: none; padding: 0 clamp(12px, 1.6vw, 32px); }
.rail, .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.2vw, 20px); }
.grid { grid-template-columns: repeat(auto-fill, minmax(min(310px, 100%), 1fr)); }
@media (max-width: 1000px) { .rail { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 calc(-1 * clamp(16px, 3vw, 28px)); padding: 0 clamp(16px, 3vw, 28px) 8px; scroll-padding-inline: clamp(16px, 3vw, 28px); scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .rail .card { flex: 0 0 min(70vw, 260px); scroll-snap-align: start; }
}
.card { --brand: var(--accent); background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) * 1.5); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; display: flex; flex-direction: column; position: relative; }
.card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--fg) 22%, var(--border)); box-shadow: 0 20px 44px rgb(0 0 0 / .25); }
.ph { aspect-ratio: 1 / 1; display: grid; place-items: center; position: relative; background: radial-gradient(90% 80% at 50% 20%, color-mix(in srgb, var(--fg) 9%, var(--surface)), var(--surface)); }
.ph::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--brand); }
.pimg { max-height: 84%; max-width: 82%; width: auto; object-fit: contain; filter: drop-shadow(0 16px 20px rgb(0 0 0 / .35)); transition: transform .25s; }
.card:hover .pimg { transform: scale(1.05); }
.tag { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 1; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; border-radius: 99px; padding: 4px 10px; background: var(--accent); color: var(--accentFg); }
.tag.new { background: var(--accent2); color: var(--accent2Fg); }
.tag.out { background: var(--fg); color: var(--bg); }
.info { padding: 18px 22px 22px; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.brand { font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--brand, var(--accent)); }
.nm { font-weight: 700; font-size: clamp(15px, 1.25vw, 19px); line-height: 1.3; font-family: var(--font); text-transform: none; letter-spacing: 0; }
.nm a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.meta { font-size: 12.5px; color: var(--muted); }
.row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; }
.price { font-weight: 800; font-size: 16.5px; display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; font-variant-numeric: tabular-nums; }
.price s { color: var(--muted); font-weight: 500; font-size: .8em; }
.add { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--fg) 25%, var(--border)); background: none; color: var(--fg); font-size: 18px; cursor: pointer; transition: .15s; }
.add:hover { background: var(--fg); color: var(--bg); }
@media (max-width: 560px) { .info { padding: 12px; } .nm { font-size: 14px; } .meta { display: none; } }

/* categories */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.cat { --brand: var(--accent); position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat:hover img { transform: scale(1.04); }
.cat span { position: absolute; inset-inline-start: 14px; bottom: 14px; background: var(--brand); color: var(--accentFg); padding: 9px 16px; border-radius: 99px; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }

/* stats: big counting numbers */
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stats .n { font-family: var(--font-heading); font-weight: 500; font-size: clamp(56px, 8vw, 128px); line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.stats .l { margin: 16px auto 0; max-width: 15ch; font-family: var(--font-heading); font-weight: 500; letter-spacing: 1px; font-size: clamp(16px, 1.7vw, 26px); line-height: 1.12; text-transform: uppercase; }
@media (max-width: 760px) { .stats-in { grid-template-columns: 1fr 1fr; gap: 36px 16px; } }

/* promo */
.promo { border: 1px solid var(--border); border-radius: calc(var(--radius) * 1.4); padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 56px); position: relative; overflow: hidden;
  background: radial-gradient(70% 120% at 85% 20%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%), radial-gradient(70% 120% at 10% 90%, color-mix(in srgb, var(--accent2) 12%, transparent), transparent 60%), var(--surface); }
.promo h2 { font-size: clamp(32px, 4.4vw, 62px); max-width: 640px; }
.promo p { color: var(--muted); max-width: 480px; margin: 18px 0 28px; font-size: 15px; line-height: 1.65; }
.pbtn { display: inline-flex; align-items: center; background: var(--fg); color: var(--bg); border: none; border-radius: 99px; min-height: 50px; padding: 0 30px; font-weight: 800; font-size: 13.5px; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.pbtn:hover { opacity: .9; }

/* bundles (deal cards) */
.bundles { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
@media (max-width: 420px) { .bundles { grid-template-columns: 1fr; } }
.bundle { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: grid; gap: 14px; justify-items: start; }
.bundle-imgs { display: flex; align-items: center; gap: 8px; }
.bundle-imgs .thumb { width: 76px; height: 76px; border-radius: calc(var(--radius) * .6); overflow: hidden; background: var(--bg); }
.bundle-imgs img { width: 100%; height: 100%; object-fit: contain; }
.plus { color: var(--muted); }
.bundle h3 { font-size: 18px; }
.bundle-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; flex-wrap: wrap; }
.save { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent2Fg); background: var(--accent2); padding: 3px 10px; border-radius: 99px; }

/* listing pages */
.page-wrap { padding-top: 22px; padding-bottom: clamp(48px, 7vw, 84px); }
.crumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a:hover { color: var(--fg); }
.page-head { padding: 24px 0 8px; }
.page-head h1 { font-size: clamp(34px, 5vw, 60px); }
.page-head h1 { color: var(--fg); }
.page-head p { color: var(--muted); max-width: 640px; margin-top: 12px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 22px 0 12px; }
.pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.pills::-webkit-scrollbar { display: none; }
.pill { flex: none; padding: 8px 16px; border-radius: 99px; border: 1px solid var(--border); font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.pill:hover { color: var(--fg); border-color: var(--fg); }
.sort select { min-height: 40px; padding: 0 14px; border: 1px solid var(--border); border-radius: 99px; background: var(--surface); font-size: 14px; }
.count { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.empty { text-align: center; padding: 72px 20px; color: var(--muted); display: grid; gap: 18px; justify-items: center; }
.empty h1, .empty h3 { color: var(--fg); }

/* product page */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); padding-top: 22px; align-items: start; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } }
.gallery { display: grid; gap: 12px; position: sticky; top: 84px; }
@media (max-width: 860px) { .gallery { position: static; } }
.gallery-main { aspect-ratio: 1; border-radius: calc(var(--radius) * 1.2); position: relative; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(90% 80% at 50% 20%, color-mix(in srgb, var(--fg) 10%, var(--surface)), var(--surface)); border: 1px solid var(--border); }
.gallery-main::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--brand, var(--accent)); }
.gallery-main img { max-width: 80%; max-height: 82%; width: auto; object-fit: contain; filter: drop-shadow(0 24px 30px rgb(0 0 0 / .4)); }
.thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.thumbs button { width: 72px; height: 72px; flex: none; padding: 6px; border: 2px solid var(--border); border-radius: calc(var(--radius) * .6); background: var(--surface); cursor: pointer; }
.thumbs button.on { border-color: var(--brand, var(--accent)); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.info-col { display: grid; gap: 18px; align-content: start; }
.info-col .brand { font-size: 12px; }
.info-col h1 { font-size: clamp(32px, 4vw, 52px); }
.big-price .price { font-size: 26px; }
.opt { border: 0; display: grid; }
.opt legend { font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; color: var(--muted); }
.opt legend small { font-weight: 500; letter-spacing: 0; text-transform: none; margin-inline-start: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--border); border-radius: 99px; cursor: pointer; font-size: 14px; font-weight: 600; transition: .15s; background: var(--surface); }
.chip span em { font-style: normal; color: var(--muted); font-weight: 500; }
.chip:hover span { border-color: var(--muted); }
.chip input:checked + span { border-color: var(--brand, var(--accent)); box-shadow: inset 0 0 0 1px var(--brand, var(--accent)); background: color-mix(in srgb, var(--brand, var(--accent)) 10%, var(--surface)); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.buy { display: flex; gap: 10px; }
.buy .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 99px; height: 48px; flex: none; }
.qty button { width: 42px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 18px; color: var(--muted); }
.qty button:hover { color: var(--fg); }
.qty output, .qty span { min-width: 26px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.qty.sm { height: 34px; }
.qty.sm button { width: 30px; font-size: 15px; }
.stock-note { color: var(--accent2); font-weight: 700; font-size: 14px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); }
.trust li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-inline-end: 6px; }
.acc { border-top: 1px solid var(--border); }
.acc details { border-bottom: 1px solid var(--border); }
.acc summary, .faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 800; display: flex; justify-content: space-between; gap: 12px; }
.acc summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.acc summary::after, .faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--accent); transition: transform .2s; }
details[open] > summary::after { transform: rotate(45deg); }
.acc .prose { padding-bottom: 20px; }
.prose { color: var(--muted); font-size: 15px; line-height: 1.7; }
.prose > * + * { margin-top: 12px; }
.prose strong, .prose h3, .prose h4 { color: var(--fg); }
.prose h2 { font-size: 24px; margin-top: 28px; color: var(--fg); }
.prose h3 { font-size: 16px; margin-top: 20px; }
.prose ul, .prose ol { padding-inline-start: 20px; list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--accent); text-decoration: underline; }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--border);
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .25s; }
.buybar.show { transform: none; }
.buybar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.buybar-in > div { display: grid; min-width: 0; }
.buybar-in strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.buybar-in span { font-weight: 800; color: var(--accent); }
@media (min-width: 861px) { .buybar { display: none; } }

/* FAQ */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { font-size: 16px; }
.answer { color: var(--muted); padding-bottom: 20px; line-height: 1.7; }
.answer a { color: var(--accent); text-decoration: underline; }

/* drawer */
.scrim { position: fixed; inset: 0; background: rgb(0 0 0 / .5); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 70; }
.drawer { position: fixed; top: 0; inset-inline-end: 0; bottom: 0; width: min(440px, 100%); background: var(--bg); border-inline-start: 1px solid var(--border); z-index: 80; transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.7,.2,1); display: flex; flex-direction: column; }
body.cart-open .scrim { opacity: 1; pointer-events: auto; }
[dir="rtl"] .drawer { transform: translateX(-100%); }
body.cart-open .drawer { transform: none; }
body.cart-open { overflow: hidden; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.drawer-head h2 { font-size: 24px; }
.drawer-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
.lines { padding: 4px 20px; flex: 1; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.line:last-child { border-bottom: 0; }
.line-img { width: 64px; height: 64px; border-radius: calc(var(--radius) * .6); overflow: hidden; background: var(--surface); padding: 4px; }
.line-img img { width: 100%; height: 100%; object-fit: contain; }
.line-name { font-weight: 700; font-size: 14.5px; }
.line-meta { font-size: 12.5px; color: var(--muted); }
.line-actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.line-actions .link-btn { color: var(--muted); font-size: 12.5px; }
.line-total { font-weight: 800; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.summary { padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: var(--surface); display: grid; gap: 10px; }
.summary > .row { margin: 0; padding: 0; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.row.disc { color: var(--accent2); }
.row.total { font-size: 18px; font-weight: 800; padding-top: 10px; border-top: 1px solid var(--border); }
.row.tax { font-size: 12.5px; color: var(--muted); margin-top: -6px; }

/* checkout & order */
.checkout { display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: start; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; gap: 28px; } }
.checkout form { display: grid; gap: 16px; }
.checkout h1 { font-size: clamp(34px, 5vw, 52px); }
.checkout h2 { font-size: 22px; margin-top: 10px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.box { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.box.sticky { position: sticky; top: 84px; }
@media (max-width: 900px) { .box.sticky { position: static; order: -1; } }
.code-row { display: flex; gap: 8px; }
.code-row .input { min-height: 40px; text-transform: uppercase; background: var(--bg); }
.done { max-width: 620px; margin: 24px auto 0; text-align: center; display: grid; gap: 18px; justify-items: center; }
.done h1 { font-size: clamp(34px, 5vw, 52px); }
.done .box { width: 100%; text-align: start; }
.check { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--accentFg); display: grid; place-items: center; }
.loading { min-height: 160px; display: grid; place-items: center; }
.loading::after { content: ''; width: 28px; height: 28px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* chat */
.chat-fab { position: fixed; inset-inline-end: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 65; width: 56px; height: 56px; border-radius: 50%; border: 0;
  background: var(--accent); color: var(--accentFg); display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 30px rgb(0 0 0 / .35); transition: transform .2s; }
.chat-fab:hover { transform: scale(1.06); }
.view-product .chat-fab { bottom: calc(84px + env(safe-area-inset-bottom)); }
@media (min-width: 861px) { .view-product .chat-fab { bottom: 24px; } .chat-fab { inset-inline-end: 24px; bottom: 24px; } }
.chat-panel { position: fixed; inset-inline-end: 24px; bottom: 92px; z-index: 75; width: min(390px, calc(100vw - 32px)); height: min(600px, calc(100vh - 130px)); background: var(--bg); border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.2); box-shadow: 0 30px 70px rgb(0 0 0 / .45); display: flex; flex-direction: column; overflow: hidden; }
.chat-panel[hidden] { display: none; }
@media (max-width: 560px) { .chat-panel { inset: 0; width: auto; height: auto; border-radius: 0; border: 0; } body.chat-open { overflow: hidden; } }
.chat-panel header { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: var(--surface); border-bottom: 1px solid var(--border); }
.chat-panel header div { display: grid; }
.chat-panel header span { font-size: 12px; color: var(--muted); }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
.msg.bot { background: var(--surface); border: 1px solid var(--border); border-end-start-radius: 4px; align-self: flex-start; }
.msg.me { background: var(--accent); color: var(--accentFg); border-end-end-radius: 4px; align-self: flex-end; font-weight: 600; }
.msg a { color: var(--accent); text-decoration: underline; }
.msg p + p { margin-top: 8px; }
.msg.typing { display: flex; gap: 4px; }
.msg.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.msg.typing span:nth-child(2) { animation-delay: .15s; } .msg.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .2; } }
.choices { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.choices button, .chat-sugg button { border: 1px solid var(--border); background: var(--bg); border-radius: 99px; padding: 8px 14px; font-size: 13px; font-weight: 600; cursor: pointer; min-height: 36px; }
.choices button:hover, .chat-sugg button:hover { border-color: var(--accent); }
.chat-sugg { display: flex; gap: 6px; padding: 0 16px 10px; overflow-x: auto; scrollbar-width: none; }
.chat-sugg button { flex: none; white-space: nowrap; }
.chat-sugg button[data-quiz] { border-color: var(--accent); color: var(--accent); }
.chat-form { display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); }
.chat-form input { flex: 1; min-height: 44px; border: 1px solid var(--border); border-radius: 99px; background: var(--surface); padding: 0 16px; font-size: 16px; outline: none; }
.chat-form input:focus { border-color: var(--accent); }
.chat-form .btn { min-height: 44px; width: 44px; padding: 0; font-size: 18px; }
.mini { display: grid; gap: 8px; margin: 10px 0 4px; }
.mini-card { display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 6px; padding-inline-end: 8px; }
.mini-card > a:first-child { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; text-decoration: none; color: var(--fg); }
.mini-card img { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; background: var(--surface); flex: none; }
.mini-card span { display: grid; font-size: 13px; font-weight: 600; line-height: 1.3; }
.mini-card b { color: var(--accent); }
.mini-card .add { width: 34px; height: 34px; font-size: 16px; text-decoration: none; }
.msg [data-addall] { margin-top: 8px; }

/* footer */
.footer { background: #050506; padding: 64px 0 calc(28px + env(safe-area-inset-bottom)); color: #a1a1a8; font-size: 14px; margin-top: auto; }
main { position: relative; z-index: 1; background: var(--bg); display: flow-root; } /* flow-root: child margins stay inside, so the footer never shows through */
body:not(:has(.features)) main { border-radius: 0 0 calc(var(--radius) * 2.4) calc(var(--radius) * 2.4); padding-bottom: 1px; }
/* reveal: the page scrolls up off the footer (CSS only); off on small screens where the footer is taller than the viewport */
@media (min-width: 761px) and (min-height: 640px) { .footer { position: sticky; bottom: 0; z-index: 0; } }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.footer h4 { color: #f4f4f5; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.footer nav, .footer-grid > div { display: grid; gap: 8px; align-content: start; }
.footer a:hover { color: #fff; }
.footer .logo { color: #fff; margin-bottom: 4px; }
.footer .logo img { height: 96px; }
.footer address { font-style: normal; font-size: 13px; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .1); font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer .df { color: #fff; font-weight: 800; }
.footer .df:hover { color: var(--accent); }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--fg); color: var(--bg); padding: 12px 20px; border-radius: 99px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: .25s; z-index: 90; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
:lang(ar) * { letter-spacing: 0 !important; }
:lang(ar) :is(.display, h1, h2) { line-height: 1.3 !important; }

/* ---------- marks, scribbles, motion ---------- */
:root {
  --scribble: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 8C50 3 140 2 197 6M25 15c40-4 100-5 150-2' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E");
  --circle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 60' preserveAspectRatio='none'%3E%3Cpath d='M40 9C90 1 182 5 195 25c9 17-58 31-118 31S3 47 7 29C11 13 55 5 112 5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
}
/* *word* in admin text: a marker highlight that sweeps in when it scrolls into view */
mark { color: inherit; background: linear-gradient(100deg, var(--accent) 0 70%, color-mix(in srgb, var(--accent) 30%, transparent)) no-repeat 0 60% / 0% 82%;
  padding: 0 .14em; margin: 0 -.04em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size .9s cubic-bezier(.6, 0, .2, 1) calc(var(--d, 0s) + .15s), color .4s calc(var(--d, 0s) + .45s); }
mark.in { background-size: 100% 82%; color: var(--accentFg); }
/* reveal on scroll (store.js adds .rv only to things below the fold) */
.rv:not(mark) { transition: opacity .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), transform .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s); }
.rv:not(.in):not(mark) { opacity: 0; transform: translateY(34px); }
.kicker { display: block; color: var(--accent); font-weight: 800; letter-spacing: .3em; text-transform: uppercase; font-size: clamp(12px, 1.1vw, 17px); margin-bottom: 14px; }
.btn.ghost { transition: background .2s, color .2s, border-color .2s, transform .15s; }
.btn.ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); opacity: 1; }

/* ---------- announcement: big gradient ticker; the header's rounded top sits on it ---------- */
.announce { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--announce), var(--announce2)); color: #fff; padding: 9px 0 31px; margin-bottom: -22px; }
.announce .mq { color: #fff; font-family: var(--font); font-size: clamp(13px, 1.05vw, 15.5px); font-weight: 700; letter-spacing: .06em; animation-duration: 80s; text-shadow: 0 1px 0 rgb(0 0 0 / .12); }
.announce .mq-g { gap: 22px; padding-inline-end: 22px; }
.announce .ring { flex: none; width: 13px; height: 13px; border: 1.5px solid currentColor; border-radius: 50%; opacity: .85; }
.announce mark { background: linear-gradient(100deg, #ffe45c, #ffc21a 75%, transparent) no-repeat 0 0 / 100% 100%; color: #2b0d00; text-shadow: none; }
.announce a { text-decoration: underline; }
.announce:hover .mq { animation-play-state: paused; }
.nav.under-announce { border-radius: 22px 22px 0 0; background: var(--bg); transition: border-radius .25s; }
.scrolled .nav.under-announce { border-radius: 0; }

/* ---------- cover carousel ---------- */
.cover { --peek: clamp(16px, 13vw, 300px); --gap: clamp(8px, 1.6vw, 30px); --pad: clamp(22px, 6vw, 110px); position: relative; padding-top: 14px; }
.cover-track { position: relative; direction: ltr; display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--peek); scrollbar-width: none; overscroll-behavior-x: contain; }
.cover-track::-webkit-scrollbar { display: none; }
@media (pointer: fine) { .cover-track { cursor: grab; } .cover-track.dragging { cursor: grabbing; scroll-snap-type: none; } .cover-track.dragging * { pointer-events: none; } }
.cover-track img { -webkit-user-drag: none; user-select: none; }
.slide { --tone: var(--accent); position: relative; flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; height: min(76vh, 720px); min-height: 460px;
  border-radius: calc(var(--radius) * 2.2); overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: var(--pad) var(--pad) clamp(96px, 10vw, 140px); color: #fff; transition: opacity .6s, transform .6s cubic-bezier(.2, .7, .2, 1);
  background: radial-gradient(80% 110% at 78% 35%, color-mix(in srgb, var(--tone) 62%, #000) 0%, color-mix(in srgb, var(--tone) 16%, #0b0b0d) 58%, #08080a 100%); }
[dir="rtl"] .slide { direction: rtl; }
.slide:not(.on) { opacity: .5; transform: scale(.965); }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.slide:has(.slide-bg)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(10deg, rgb(0 0 0 / .7), transparent 62%); }
.slide-prod { position: absolute; inset-inline-end: 5%; top: 50%; translate: 0 -50%; width: min(46%, 600px); height: auto; max-height: 88%; object-fit: contain; z-index: -1; filter: drop-shadow(0 34px 44px rgb(0 0 0 / .55)); }
.slide.on .slide-prod { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-1deg); } }
.slide-txt { position: relative; max-width: min(720px, 58%); }
.slide-txt :is(h1, h2) { font-size: clamp(36px, 5.6vw, 96px); line-height: .94; text-transform: uppercase; }
.slide .kick { display: block; font-size: 12px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 16px; color: var(--tone); }
.slide-txt p { color: rgb(255 255 255 / .82); max-width: 44ch; margin-top: 18px; font-size: clamp(14px, 1.15vw, 17px); }
.slide-cta { position: absolute; inset-inline-end: var(--pad); bottom: clamp(96px, 10vw, 140px); background: #fff; color: #08080a; border-radius: 99px; padding: 18px 32px; font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; transition: transform .2s, background .2s, color .2s; box-shadow: 0 14px 34px rgb(0 0 0 / .3); }
.slide-cta:hover { background: var(--tone); transform: translateY(-3px); }
.slide-txt > *, .slide-cta { transition: opacity .7s, transform .8s cubic-bezier(.2, .7, .2, 1), background .2s; }
.slide:not(.on) :is(.slide-txt > *, .slide-cta) { opacity: 0; transform: translateY(26px); }
.slide.on .slide-txt > :nth-child(2) { transition-delay: .08s; }
.slide.on .slide-txt > :nth-child(3) { transition-delay: .16s; }
.slide.on .slide-cta { transition-delay: .24s, .24s, 0s; }
.cover-ui { position: absolute; left: calc(var(--peek) + var(--pad)); right: calc(var(--peek) + var(--pad)); bottom: clamp(26px, 3vw, 46px); direction: ltr;
  display: flex; align-items: center; justify-content: space-between; color: #fff; border-top: 1px solid rgb(255 255 255 / .3); padding-top: 14px; }
.cv-btn { background: none; border: 0; color: inherit; cursor: pointer; padding: 6px; transition: transform .2s; }
.cv-btn[data-cv="-1"]:hover { transform: translateX(-4px); }
.cv-btn[data-cv="1"]:hover { transform: translateX(4px); }
.cv-dots { display: flex; gap: 10px; }
.cv-dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; padding: 0; background: rgb(255 255 255 / .55); cursor: pointer; transition: width .35s, background .35s; }
.cv-dots button[aria-current] { width: 28px; background: #fff; }
@media (max-width: 760px) {
  .cover { --peek: 18px; --gap: 8px; --pad: 22px; }
  .slide { height: 74vh; min-height: 500px; max-height: 640px; padding-bottom: 96px; }
  .slide-prod { inset-inline-end: 50%; translate: 50% 0; top: 8%; width: 72%; max-height: 44%; }
  [dir="rtl"] .slide-prod { translate: -50% 0; }
  .slide-txt { max-width: 100%; }
  .slide-cta { position: static; margin-top: 18px; padding: 14px 24px; font-size: 12.5px; }
  .cover-ui { bottom: 22px; }
  .cv-btn { display: none; }
  .cover-ui { justify-content: center; }
}

/* ---------- angled straps ---------- */
.straps { --from: #6a00f4; --to: #0a84ff; position: relative; height: clamp(230px, 30vw, 440px); overflow: hidden; margin-top: clamp(40px, 6vw, 84px); }
.strap { position: absolute; left: -10%; width: 120%; overflow: hidden; padding: clamp(10px, 1.3vw, 20px) 0; }
.strap.front { top: 14%; z-index: 1; rotate: 3deg; background: linear-gradient(90deg, var(--from), #000 50%, var(--to)); box-shadow: 0 24px 60px rgb(0 0 0 / .35); }
.strap.back { top: 47%; rotate: -2.5deg; background: color-mix(in srgb, var(--fg) 16%, var(--bg)); }
.strap-in { display: flex; width: max-content; direction: ltr; will-change: transform; }
.strap-g { flex: none; display: flex; align-items: center; gap: clamp(22px, 3vw, 56px); padding-inline-end: clamp(22px, 3vw, 56px); }
.sw { position: relative; font-family: var(--font-heading); font-weight: 500; text-transform: uppercase; font-size: clamp(40px, 6.2vw, 104px); line-height: 1.05; white-space: nowrap; }
.sw.s0 { color: var(--accent); }
.sw.s1 { color: transparent; -webkit-text-stroke: 2px #fff; }
.sw.s2 { color: #fff; }
.sw.s2::after { content: ""; position: absolute; left: 3%; right: 3%; bottom: -.2em; height: .26em; background: var(--accent); -webkit-mask: var(--scribble) center / 100% 100% no-repeat; mask: var(--scribble) center / 100% 100% no-repeat; }
.strap.back .sw { color: rgb(255 255 255 / .6); }
.strap.back .sw.s1 { color: transparent; -webkit-text-stroke-color: rgb(255 255 255 / .65); }
.strap.back .sw::after { background: rgb(255 255 255 / .6); }
.simg { width: clamp(54px, 6vw, 100px); height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 8px 12px rgb(0 0 0 / .45)); }
.strap.back .simg { opacity: .55; filter: grayscale(1); }
.sdot { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }

/* ---------- story ---------- */
.story-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.story-in.solo { grid-template-columns: 1fr; max-width: 980px; }
.story-media { border-radius: calc(var(--radius) * 2); overflow: hidden; aspect-ratio: 3 / 2; background: radial-gradient(90% 90% at 50% 30%, color-mix(in srgb, var(--accent) 20%, var(--surface)), var(--surface)); }
.story-media :is(img, video) { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.story-media:hover :is(img, video) { transform: scale(1.04); }
.story-txt h2 { font-size: clamp(38px, 4.8vw, 76px); }
.story mark, .story mark.in { background: none; color: var(--accent); padding: 0; margin: 0; }
.story .prose { margin: 26px 0 32px; font-size: clamp(15px, 1.15vw, 18px); }
@media (max-width: 860px) { .story-in { grid-template-columns: 1fr; } }

/* ---------- vertical videos: community + product page ---------- */
.ig { display: flex; align-items: center; gap: 18px; }
.ig-av { flex: none; width: 86px; height: 86px; border-radius: 50%; padding: 3px; background: conic-gradient(#feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); transition: rotate .6s; }
.ig:hover .ig-av { rotate: 20deg; }
.ig-av > * { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--bg); border: 3px solid var(--bg); }
.ig-txt { display: grid; gap: 10px; justify-items: start; }
.ig-txt b { font-size: 19px; letter-spacing: .02em; text-transform: uppercase; }
.ig-btn { display: inline-flex; align-items: center; gap: 10px; border: 2px solid var(--fg); border-radius: 99px; padding: 11px 24px; font-weight: 800; font-size: 13.5px; text-transform: uppercase; letter-spacing: .03em; transition: background .2s, color .2s; }
.ig:hover .ig-btn { background: var(--fg); color: var(--bg); }
.vrail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4.12); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.vrail::-webkit-scrollbar { display: none; }
.view-product .vrail { grid-auto-columns: minmax(190px, 250px); }
.vcard { position: relative; aspect-ratio: 9 / 16; border-radius: calc(var(--radius) * 1.6); overflow: hidden; background: var(--surface); scroll-snap-align: start; cursor: pointer; isolation: isolate; }
.community .vcard { aspect-ratio: 4 / 5; }
.vcard video { width: 100%; height: 100%; object-fit: cover; }
.vcard video:fullscreen, .view-product .vcard video { object-fit: contain; background: #000; } /* product clips keep their own shape */
.vcard::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgb(0 0 0 / .5)); pointer-events: none; }
.vctl { position: absolute; z-index: 1; top: 14px; inset-inline-start: 14px; display: flex; gap: 8px; }
.vctl button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgb(0 0 0 / .45); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); }
.vctl button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.vig { position: absolute; z-index: 1; top: 14px; inset-inline-end: 14px; color: #fff; filter: drop-shadow(0 1px 3px rgb(0 0 0 / .6)); }
.vprods { position: absolute; z-index: 2; inset-inline: 14px; bottom: 14px; display: flex; gap: 10px; }
.vprods a { width: clamp(52px, 4.4vw, 68px); aspect-ratio: 1; background: #fff; border-radius: 10px; padding: 4px; box-shadow: 0 8px 18px rgb(0 0 0 / .35); transition: transform .2s; }
.vprods a:hover { transform: translateY(-4px); }
.vprods img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 1000px) { .vrail { grid-auto-columns: 42%; } }
@media (max-width: 560px) { .vrail { grid-auto-columns: 74%; gap: 12px; } .ig-av { width: 64px; height: 64px; } }

/* ---------- reviews (text + voice) ---------- */
.review-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 390px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.review-rail::-webkit-scrollbar { display: none; }
.review { background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) * 1.4); padding: 24px; display: flex; flex-direction: column; gap: 16px; scroll-snap-align: start; }
.stars { color: var(--accent); letter-spacing: 2px; font-size: 16px; white-space: nowrap; }
.stars i { font-style: normal; color: var(--border); }
.review blockquote { font-size: 15.5px; line-height: 1.65; flex: 1; }
.review figcaption { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.review small { display: block; color: var(--muted); font-size: 12.5px; }
.av { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accentFg); font-weight: 800; object-fit: cover; }
.voice { display: flex; align-items: center; gap: 12px; width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 99px; padding: 7px 16px 7px 7px; cursor: pointer; color: inherit; }
.voice:hover { border-color: var(--accent); }
.vplay { flex: none; position: relative; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); }
.vplay::after { content: ""; position: absolute; left: 15px; top: 11px; border-left: 12px solid var(--accentFg); border-block: 8px solid transparent; }
.voice.playing .vplay::after { left: 12px; top: 12px; width: 14px; height: 14px; border: 0; border-inline: 4.5px solid var(--accentFg); }
.vbars { flex: 1; display: flex; align-items: center; gap: 3px; height: 24px; overflow: hidden; }
.vbars i { flex: none; width: 3px; border-radius: 2px; background: color-mix(in srgb, var(--fg) 28%, transparent); transition: background .2s; }
.vbars i.on { background: var(--accent); }
.voice.playing .vbars i { animation: wave .9s ease-in-out infinite alternate; }
.voice.playing .vbars i:nth-child(3n) { animation-delay: -.3s; }
.voice.playing .vbars i:nth-child(3n+1) { animation-delay: -.6s; }
@keyframes wave { to { transform: scaleY(.45); } }
.vtime { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 34px; text-align: end; }
.rating-sum { display: flex; align-items: center; gap: 10px; }
.rating-sum b { font-family: var(--font-heading); font-size: 38px; line-height: 1; }
.rating-sum span:last-child { color: var(--muted); font-size: 13.5px; }
.rating-link { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-top: -8px; }
.rating-link:hover { color: var(--fg); }

/* ---------- product page: best with ---------- */
.pairs { background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) * 1.2); padding: 14px; display: grid; gap: 10px; }
.pairs-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14.5px; padding-inline-start: 6px; }
.pairs-head .icon-btn { width: 34px; height: 34px; flex: none; }
.pair { display: grid; grid-template-columns: auto 60px 1fr auto; gap: 14px; align-items: center; background: var(--bg); border: 1.5px solid transparent; border-radius: var(--radius); padding: 12px 16px; transition: border-color .2s; }
.pair:has(input:checked) { border-color: var(--accent); }
.pair input { width: 20px; height: 20px; accent-color: var(--accent); cursor: pointer; }
.pair-img { width: 60px; height: 60px; border-radius: 10px; background: var(--surface); padding: 4px; cursor: pointer; }
.pair-img img { width: 100%; height: 100%; object-fit: contain; }
.pair-info { display: grid; gap: 6px; min-width: 0; justify-items: start; }
.pair-info a { font-weight: 700; font-size: 15px; line-height: 1.3; }
.pair-info a:hover { color: var(--accent); }
.pair-info select { width: 100%; max-width: 280px; min-width: 0; border: 1px solid var(--border); background: var(--surface); border-radius: 8px; padding: 5px 8px; font-size: 13px; }
.pair-price { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 480px) { .pair { grid-template-columns: auto 48px 1fr; padding: 10px 12px; } .pair-img { width: 48px; height: 48px; } .pair-price { grid-column: 3; } }
.add-total::before { content: "·"; margin-inline: 8px; opacity: .6; }
.add-total { font-variant-numeric: tabular-nums; }

/* ---------- strip above the footer ---------- */
.features { position: relative; z-index: 1; background: var(--bg); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border);
  border-radius: 0 0 calc(var(--radius) * 2.4) calc(var(--radius) * 2.4); padding: clamp(30px, 3.2vw, 48px) clamp(12px, 1.6vw, 32px); }
.feat { display: flex; gap: 14px; padding: 4px clamp(14px, 2.2vw, 40px); border-inline-start: 1px solid var(--border); }
.feat:first-child { border: 0; }
.feat-ic { flex: none; color: var(--fg); margin-top: 1px; }
.feat h3 { font-family: var(--font-heading); font-size: clamp(17px, 1.45vw, 23px); text-transform: uppercase; line-height: 1.2; }
.feat p { color: var(--muted); font-size: 14.5px; margin-top: 8px; line-height: 1.55; }
.feat p a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
/* each column decorates its *word* differently: circled, scribble-underlined, highlighted, colored */
.features mark, .features mark.in { background: none; color: inherit; padding: 0; margin: 0; position: relative; }
.feat mark::after { content: ""; position: absolute; background: var(--accent); clip-path: inset(0 100% 0 0); transition: clip-path 1s cubic-bezier(.6, 0, .2, 1) calc(var(--d, 0s) + .2s); }
.feat mark.in::after { clip-path: inset(0); }
.feat:nth-child(4n+1) mark::after { inset: -.42em -.5em; -webkit-mask: var(--circle) center / 100% 100% no-repeat; mask: var(--circle) center / 100% 100% no-repeat; }
.feat:nth-child(4n+2) mark::after { left: 0; right: 0; bottom: -.32em; height: .3em; -webkit-mask: var(--scribble) center / 100% 100% no-repeat; mask: var(--scribble) center / 100% 100% no-repeat; }
.feat:nth-child(4n+3) mark::after { inset: .05em -.12em; z-index: -1; background: linear-gradient(100deg, var(--accent) 70%, color-mix(in srgb, var(--accent) 30%, transparent)); }
.feat:nth-child(4n+3) mark { z-index: 0; transition: color .4s .6s; }
.feat:nth-child(4n+3) mark.in { color: var(--accentFg); }
.feat:nth-child(4n) mark.in { color: var(--accent); transition: color .6s .3s; }
.feat:nth-child(4n) mark::after { display: none; }
@media (max-width: 1000px) { .features { grid-template-columns: 1fr 1fr; row-gap: 28px; } .feat:nth-child(odd) { border: 0; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } .feat { border: 0; padding-inline: 8px; } }

/* ---------- AI chat button ---------- */
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.chat-fab.ai { width: auto; height: 54px; border-radius: 99px; padding: 0 22px 0 8px; gap: 10px; display: inline-flex; align-items: center; font-weight: 800; font-size: 14px; color: #fff; border: 2px solid transparent;
  background: linear-gradient(#0b0b0d, #0b0b0d) padding-box, conic-gradient(from var(--spin), var(--accent), var(--accent2), #4f5bd5, var(--accent)) border-box; animation: spin-border 4s linear infinite; }
@keyframes spin-border { to { --spin: 360deg; } }
.ai-spark { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: #0b0b0d; display: grid; place-items: center; }
@media (max-width: 560px) { .chat-fab.ai { height: 50px; font-size: 13px; padding-inline-end: 18px; } }


/* ---------- brand tones (Maxine's pink, Max's gold…): sections and product pages theme themselves ---------- */
.section.toned { background: radial-gradient(70% 90% at 15% 0%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%), radial-gradient(60% 80% at 100% 100%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 70%);
  padding-bottom: clamp(40px, 6vw, 72px); }
.section.toned .card { border-color: color-mix(in srgb, var(--brand) 25%, var(--border)); }
.sec-head h2 .kicker { font-family: var(--font); margin-bottom: 10px; }
.ph { background: radial-gradient(90% 80% at 50% 20%, color-mix(in srgb, var(--brand) 14%, var(--surface)), var(--surface)); }
.card:hover { border-color: color-mix(in srgb, var(--brand) 55%, var(--border)); box-shadow: 0 20px 44px color-mix(in srgb, var(--brand) 18%, rgb(0 0 0 / .3)); }
.story-in.flip .story-media { order: 2; }
@media (max-width: 860px) { .story-in.flip .story-media { order: 0; } }
/* Arabic letters join, so a per-glyph outline breaks them: Arabic straps use filled text. */
:lang(ar) .sw.s1 { color: #fff; -webkit-text-stroke: 0; }
:lang(ar) .strap.back .sw.s1 { color: rgb(255 255 255 / .6); }
/* Straps lay out left-to-right in both languages (in RTL the row anchored right and slid away, leaving the start empty); Arabic words stay solid, no underline through the letters. */
.strap { direction: ltr; }
:lang(ar) .sw { unicode-bidi: isolate; direction: rtl; }
:lang(ar) .sw::after { display: none; }
.prose .nut-wrap { margin: 16px 0; }
.prose .nut { color: var(--fg); }
.nut .sub-row { padding-inline-start: 26px; font-weight: 500; color: var(--muted); }

/* ---------- wishlist ---------- */
.wish { position: absolute; z-index: 2; top: 12px; inset-inline-end: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: color-mix(in srgb, var(--bg) 70%, transparent); color: var(--fg); backdrop-filter: blur(6px); transition: transform .2s, color .2s, background .2s; }
.wish:hover { transform: scale(1.08); }
.wish[aria-pressed="true"] { color: #fff; background: var(--accent2); }
.wish[aria-pressed="true"] svg { fill: currentColor; }
.wish[aria-pressed="true"] { animation: pop .35s; }
@keyframes pop { 50% { transform: scale(1.25); } }
.head-ic { position: relative; color: var(--fg); }
.dot-count[hidden] { display: none; }
.dot-count { position: absolute; top: 4px; inset-inline-end: 2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: var(--accent2); color: #fff; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; }
@media (max-width: 560px) { .head-ic { width: 38px; } .nav-right { gap: 2px; } }

/* ---------- product page: zoom, videos, option pictures, nutrition, downloads ---------- */
.zoom-btn { all: unset; display: grid; place-items: center; width: 100%; height: 100%; cursor: zoom-in; }
.product > *, .gallery, .zoom-btn, .info-col > * { min-width: 0; min-height: 0; }
.opt { min-inline-size: 0; } /* fieldsets default to their widest content */
.buy .btn { min-width: 0; }
@media (max-width: 440px) { .buy .btn { white-space: normal; line-height: 1.25; padding: 0 16px; } .add-total { display: block; } .add-total::before { display: none; } } /* a big photo must not widen the column */
.zoom-btn:not([data-zoom]) { cursor: default; }
.zoom-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.zoom-btn video { width: 100%; height: 100%; object-fit: contain; } /* the clip at its own shape, never cropped */
.gallery-main .wish { top: 16px; inset-inline-end: 16px; }
.vthumb { position: relative; padding: 0 !important; overflow: hidden; }
.vthumb video { width: 100%; height: 100%; object-fit: contain; }
.vthumb i { position: absolute; inset: 0; display: grid; place-items: center; background: rgb(0 0 0 / .35); }
.vthumb i::after { content: ""; border-left: 14px solid #fff; border-block: 9px solid transparent; margin-left: 4px; }
.opt legend .sel { color: var(--fg); font-weight: 700; letter-spacing: 0; text-transform: none; }
.chips.pics { display: grid; gap: 8px; }
.chips.pics .chip span { display: flex; justify-content: flex-start; gap: 14px; border-radius: var(--radius); padding: 6px 16px 6px 6px; min-height: 64px; width: 100%; font-size: 15px; }
.chip-img { width: 52px; height: 52px; border-radius: calc(var(--radius) * .6); object-fit: contain; background: var(--bg); flex: none; display: block; }
.chips.pics .chip input:checked + span { font-weight: 800; }
.nutrition { padding-bottom: 20px; }
.nut-note { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.nut-wrap { overflow-x: auto; }
.nut { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.nut thead th { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: end; padding: 8px 10px; border-bottom: 2px solid var(--fg); white-space: nowrap; }
.nut thead th:first-child, .nut tbody th { text-align: start; }
.nut td, .nut tbody th { padding: 10px; text-align: end; border-bottom: 1px solid var(--border); font-weight: 500; }
.nut tbody th { font-weight: 600; text-align: start; }
.nut tbody tr:nth-child(odd) { background: color-mix(in srgb, var(--fg) 4%, transparent); }
.dl-list { display: grid; gap: 8px; padding-bottom: 20px; }
.dl { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius); font-weight: 700; transition: border-color .2s; }
.dl:hover { border-color: var(--accent); color: var(--accent); }

/* full-screen photo viewer */
dialog.zoom { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(0 0 0 / .94); color: #fff; overflow: hidden; }
dialog.zoom::backdrop { background: transparent; }
.zstage { position: absolute; inset: 56px 56px 48px; display: grid; place-items: center; overflow: hidden; cursor: zoom-in; touch-action: pan-x pan-y pinch-zoom; }
.zstage img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .35s cubic-bezier(.2, .7, .2, 1); user-select: none; -webkit-user-drag: none; }
.zstage.in { cursor: zoom-out; }
.zstage.in img { transform: scale(2.4); }
.zx, .zp { position: absolute; z-index: 1; border: 0; background: rgb(255 255 255 / .12); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; cursor: pointer; }
.zx { top: 12px; inset-inline-end: 12px; font-size: 18px; }
.zp { top: 50%; translate: 0 -50%; }
.zp[data-z="-1"] { left: 10px; } .zp[data-z="1"] { right: 10px; }
.zx:hover, .zp:hover { background: rgb(255 255 255 / .25); }
.zcount { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: 13px; opacity: .7; }
@media (max-width: 560px) { .zstage { inset: 56px 0 44px; } .zp { display: none; } }

/* ---------- checkout payment choice, order payment state ---------- */
.pay-choice { display: grid; gap: 10px; }
.pay-opt { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; background: var(--surface); transition: border-color .2s; }
.pay-opt:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.pay-opt input { accent-color: var(--accent); width: 18px; height: 18px; }
.pay-opt > span:not(.pay-logos) { display: grid; flex: 1; min-width: 160px; }
.pay-opt small { color: var(--muted); font-size: 12.5px; }
.pay-logos { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pay { display: inline-grid; place-items: center; height: 30px; min-width: 48px; padding: 0 8px; border-radius: 6px; background: #fff; font-size: 12px; font-weight: 800; }
.pay.visa { color: #1a1f71; font-style: italic; font-size: 15px; letter-spacing: .02em; font-family: Arial, sans-serif; }
.pay.cod { color: #111; font-size: 11px; letter-spacing: .03em; text-transform: uppercase; }
.pay-state { padding: 14px 18px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.pay-state.paid { border-color: #22c55e; color: #22c55e; font-weight: 800; }
.pay-state.failed { border-color: var(--sale); }
.loading-inline { display: inline-block; width: 16px; height: 16px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -3px; }

/* ---------- footer: newsletter, socials, payment logos ---------- */
.news { display: grid; grid-template-columns: 1fr minmax(280px, 460px); gap: 20px 40px; align-items: center; padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid rgb(255 255 255 / .1); }
.news h4 { font-family: var(--font-heading); font-size: clamp(22px, 2.2vw, 32px); letter-spacing: .01em; color: #fff; margin: 0 0 6px; }
.news p { color: #a1a1a8; }
.news-row { display: flex; gap: 8px; }
.news .input { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .14); color: #fff; }
@media (max-width: 760px) { .news { grid-template-columns: 1fr; } .news-row { flex-direction: column; } }
.socials { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .16); display: grid; place-items: center; color: #e4e4e7; transition: background .2s, color .2s, border-color .2s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--accentFg); }
.footer-pay { margin-top: 28px; display: flex; justify-content: flex-start; }

/* ---------- strip above the footer: scrolls sideways past 4 ---------- */
.features.scroll { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 25%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.features.scroll::-webkit-scrollbar { display: none; }
.features.scroll .feat { scroll-snap-align: start; }
@media (max-width: 1000px) { .features.scroll { grid-auto-columns: 46%; } .features.scroll .feat:nth-child(odd) { border-inline-start: 1px solid var(--border); } .features.scroll .feat:first-child { border: 0; } }
@media (max-width: 560px) { .features.scroll { grid-template-columns: none; grid-auto-columns: 82%; } }
.feat[style] .feat-ic { color: var(--accent); }

/* ---------- my account ---------- */
.account { max-width: 1100px; margin: 0 auto; }
.signin { max-width: 440px; margin: 24px auto 0; display: grid; gap: 16px; }
.signin h1 { font-size: clamp(34px, 5vw, 52px); }
.signin .small { font-size: 13px; }
.code-in { font-size: 24px; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }
.acc-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; padding: 24px 0 18px; }
.acc-head h1 { font-size: clamp(32px, 5vw, 56px); }
.acc-tabs { margin-bottom: 22px; }
.acc-tabs .pill { background: none; cursor: pointer; }
.acc-tabs .pill.on { border-color: var(--accent); color: var(--fg); box-shadow: inset 0 0 0 1px var(--accent); }
.acc-orders { display: grid; gap: 10px; }
.acc-order { display: grid; grid-template-columns: 56px 1fr auto auto; gap: 14px; align-items: center; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: border-color .2s; }
.acc-order:hover { border-color: var(--accent); }
.acc-order .line-img { width: 56px; height: 56px; }
.acc-order small { display: block; color: var(--muted); font-size: 12.5px; }
.acc-order .tag { position: static; }
@media (max-width: 560px) { .acc-order { grid-template-columns: 48px 1fr auto; } .acc-order .tag { display: none; } }
.acc-form { display: grid; gap: 16px; max-width: 480px; }
.ref-cards { display: grid; gap: 16px; }
.ref { border: 1px solid var(--border); border-radius: calc(var(--radius) * 1.3); padding: 22px; background: radial-gradient(80% 120% at 100% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%), var(--surface); display: grid; gap: 14px; }
.ref-code { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ref-code span { color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.ref-code b { font-family: var(--font-heading); font-size: 34px; letter-spacing: .06em; }
.ref-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ref-stats > div { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; display: grid; gap: 2px; }
.ref-stats b { font-size: 20px; font-variant-numeric: tabular-nums; }
.ref-stats span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.ref-stats .earned { border-color: var(--accent); }
.ref-stats .earned b { color: var(--accent); }
@media (max-width: 640px) { .ref-stats { grid-template-columns: 1fr 1fr; } }

/* ---------- downloads page ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 22px; }
.dl-card { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--border); border-radius: calc(var(--radius) * 1.3); background: var(--surface); transition: transform .2s, border-color .2s; }
.dl-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.dl-cover { aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--bg); display: grid; place-items: center; color: var(--muted); }
.dl-cover img { width: 100%; height: 100%; object-fit: cover; }
.dl-name { font-weight: 800; }
.dl-go { display: flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 700; font-size: 13.5px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- product PDF (print / Save as PDF) ---------- */
.pdf-btn { width: 100%; margin-top: 16px; background: none; color: inherit; font: inherit; font-weight: 700; cursor: pointer; }
@media print {
  @page { margin: 14mm; }
  body > :not(#header, #app), .announce, .nav-in > :not(.logo), .crumbs, .thumbs, .gallery-main > :not(.zoom-btn),
  .opt, .pairs, .buy, .trust, .stock-note, .pdf-btn, .rating-link, .page-wrap > :not(.product), .buybar { display: none !important; }
  .nav { position: static; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; }
  :root, .page-wrap { --bg: #fff !important; --surface: #f4f4f2 !important; --fg: #111 !important; --muted: #555 !important; --border: #ddd !important; }
  body, .nav { background: #fff !important; color: #111; }
  .product { grid-template-columns: 34% 1fr; gap: 24px; }
  .gallery { position: static !important; }
  .acc summary::after { content: none; }
  tr { break-inside: avoid; } h3, h4, summary { break-after: avoid; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- product videos from Instagram / YouTube / Facebook links ---------- */
.vembed { cursor: auto; background: #000; }
.vembed::after { content: none; }
.vembed iframe { width: 100%; height: 100%; border: 0; display: block; }
.vembed.instagram { aspect-ratio: 9 / 20; background: #fff; } /* Instagram's player adds a header and caption */
.vembed .vctl-end { top: auto; bottom: 14px; } /* below YouTube's own title bar */

/* ---------- product "How to use": when to take it ---------- */
.usage-times { list-style: none; margin: 4px 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 10px; text-align: center; }
.usage-times li { display: grid; justify-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); opacity: .55; }
.usage-times .ut-ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--border); }
.usage-times li.on { color: var(--fg); opacity: 1; }
.usage-times li.on .ut-ic { background: var(--brand, var(--accent)); border-color: transparent; color: var(--accentFg); }

/* Heading font: never heavier than 500 — one-weight fonts like Anton get a blurry fake bold above that */
.feat h3, .news h4, .rating-sum b, .ref-code b, .placeholder, .half .ghost, .display :is(b, strong, mark) { font-weight: 500; }
