/* AinShopping storefront — brand rose on an Apple-inspired, content-first system. */
/* Fallback sized like Inter, so text does not jump when the web font finishes loading */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); ascent-override: 90.49%; descent-override: 22.56%; line-gap-override: 0%; size-adjust: 107.06%; }
:root {
  color-scheme: light;
  --btn: #be3358;
  --btn-hover: #a82b4d;
  --on-btn: #ffffff;
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --bg-3: #fbf1f4;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --line: rgba(0, 0, 0, .08);
  --line-2: rgba(0, 0, 0, .16);
  --brand: #e04f70;
  --accent: #be3358;
  --accent-hover: #a82b4d;
  --on-accent: #ffffff;
  --accent-soft: #fbe8ee;
  --success: #1d7a46;
  --danger: #c0262d;
  --glass: rgba(255, 255, 255, .78);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .04), 0 6px 20px rgba(0, 0, 0, .06);
  --shadow-2: 0 24px 60px rgba(0, 0, 0, .16);
  --r-s: 12px;
  --r: 18px;
  --r-l: 28px;
  --font: "Inter", "Inter Fallback", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1560px;
  --gutter: clamp(16px, 3.6vw, 56px);
  --header-h: 64px;
}
/* Dark appearance: chosen with the header switch (data-theme="dark") or by the device when no choice is saved. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --btn: #c93a60; --btn-hover: #d64a70; --on-btn: #ffffff;
  --bg: #000000; --bg-2: #161617; --bg-3: #1f1418; --surface: #1c1c1e;
  --ink: #f5f5f7; --ink-2: #a1a1a6; --line: rgba(255, 255, 255, .1); --line-2: rgba(255, 255, 255, .2);
  --accent: #ff8fab; --accent-hover: #ffa6bd; --on-accent: #1d1d1f; --accent-soft: #3a1b24;
  --success: #4cc283; --danger: #ff6b6b; --glass: rgba(22, 22, 23, .74);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 20px rgba(0, 0, 0, .3);
  --logo-bg: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --btn: #c93a60; --btn-hover: #d64a70; --on-btn: #ffffff;
    --bg: #000000; --bg-2: #161617; --bg-3: #1f1418; --surface: #1c1c1e;
    --ink: #f5f5f7; --ink-2: #a1a1a6; --line: rgba(255, 255, 255, .1); --line-2: rgba(255, 255, 255, .2);
    --accent: #ff8fab; --accent-hover: #ffa6bd; --on-accent: #1d1d1f; --accent-soft: #3a1b24;
    --success: #4cc283; --danger: #ff6b6b; --glass: rgba(22, 22, 23, .74);
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 20px rgba(0, 0, 0, .3);
    --logo-bg: #ffffff;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
main:focus { outline: none; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.022em; line-height: 1.1; }
p { margin: 0; }
em, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
h1 em, h2 em, .display em { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-2); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow.rose { color: var(--accent); }
.noscript { padding: 40px; text-align: center; }

/* Announcement + header */
.announce { background: var(--bg-3); color: var(--ink); text-align: center; font-size: 13px; font-weight: 500; padding: 9px var(--gutter); }
.site-header { position: sticky; top: 0; z-index: 40; background: var(--glass); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; transition: border-color .2s var(--ease); }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-bar { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; }
.brand img { height: 48px; width: auto; }
[data-theme="dark"] .brand img, [data-theme="dark"] .footer-brand img, [data-theme="dark"] .sheet-head img { background: #fff; border-radius: 12px; padding: 3px; }
.main-nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; font-size: 14px; font-weight: 500; padding: 0 14px; border-radius: 999px; color: var(--ink); transition: background .2s var(--ease), color .2s var(--ease); white-space: nowrap; }
.nav-link .i { width: 14px; height: 14px; stroke-width: 2; transition: transform .25s var(--ease); }
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--bg-2); }
.nav-link[aria-expanded="true"] .i { transform: rotate(180deg); }
.nav-link[aria-current="page"] { background: var(--ink); color: var(--bg); }
.nav-sale { color: var(--accent); }

/* Mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 40px 60px -32px rgba(0, 0, 0, .2); max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; animation: mega-in .32s var(--ease-out); }
@keyframes mega-in { from { opacity: 0; transform: translateY(-8px); } }
.mega-inner { display: grid; grid-template-columns: minmax(0, 1fr) clamp(250px, 22vw, 340px); gap: clamp(28px, 4vw, 64px); padding-block: 36px 44px; }
.mega-cols { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 28px clamp(20px, 2.6vw, 44px); align-content: start; }
.mega-col h3 { font-size: 12px; font-weight: 500; color: var(--ink-2); letter-spacing: .01em; margin-bottom: 14px; }
.mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.mega-col a { display: inline-block; font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.3; transition: color .15s; }
.mega-col a:hover { color: var(--accent); }
.mega-col.big ul { gap: 9px; }
.mega-col.big a { font-size: clamp(19px, 1.55vw, 24px); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.mega-feature { position: relative; display: block; align-self: start; width: 100%; aspect-ratio: 4 / 5; max-height: 400px; border-radius: var(--r-l); overflow: hidden; background: var(--bg-2); color: #fff; isolation: isolate; }
.mega-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; transition: transform 1s var(--ease-out); }
.mega-feature:hover img { transform: scale(1.04); }
.mega-feature::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, .64)); }
.mega-feature-copy { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; display: grid; gap: 6px; }
.mega-feature-copy small { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.mega-feature-copy strong { font-size: clamp(20px, 1.7vw, 26px); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.mega-feature-copy em { color: #ffc2d1; }
.mega-cta { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 600; margin-top: 4px; }
.mega-cta .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.mega-feature:hover .mega-cta .i { transform: translateX(3px); }
.mega-scrim { position: fixed; left: 0; right: 0; bottom: 0; top: 0; z-index: 38; background: rgba(0, 0, 0, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s linear .3s; }
.mega-scrim.show { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
@media (max-width: 1360px) { .mega-cols { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.header-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.main-nav + .header-actions { margin-left: 0; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; transition: background .2s var(--ease), transform .15s var(--ease); }
.icon-btn:hover { background: var(--bg-2); }
.icon-btn:active { transform: scale(.94); }
.icon-btn .count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--btn); color: var(--on-btn); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.icon-btn .dot { position: absolute; top: 10px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.icon-btn .count.bump { animation: bump .4s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-btn { display: none; }
@media (max-width: 1023px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-grid; margin-left: -8px; }
  .header-bar { gap: 8px; }
  .brand { margin-inline: auto; }
  .brand img { height: 42px; }
  .header-actions { margin-left: 0; }
}
@media (max-width: 760px) { .hide-sm { display: none; } :root { --header-h: 58px; } }

/* Bottom tab bar (phones) */
.tabbar { display: none; }
@media (max-width: 760px) {
  .tabbar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 4px env(safe-area-inset-bottom); background: var(--glass); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-top: 1px solid var(--line); }
  .tabbar a, .tabbar button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; font-size: 11px; font-weight: 500; color: var(--ink-2); border-radius: 12px; transition: color .2s; }
  .tabbar .i { width: 24px; height: 24px; }
  .tabbar [aria-current="page"] { color: var(--accent); }
  .tabbar [aria-current="page"] .i { stroke-width: 2.1; }
  .tabbar .count { position: absolute; top: 2px; left: calc(50% + 4px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--btn); color: var(--on-btn); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
  .tabbar .count.bump { animation: bump .4s var(--ease-out); }
  .tabbar .dot { position: absolute; top: 8px; left: calc(50% + 8px); width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .mobile-buy { bottom: calc(72px + env(safe-area-inset-bottom)) !important; }
  html body.has-mobile-buy { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
  body.has-mobile-buy .wa-float { bottom: calc(152px + env(safe-area-inset-bottom)) !important; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--btn); color: var(--on-btn); font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; transition: background .2s var(--ease), transform .15s var(--ease), opacity .2s; }
.btn:hover { background: var(--btn-hover); }
.btn:active { transform: scale(.97); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn .i { width: 18px; height: 18px; }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--ink); opacity: .86; }
.btn-ghost { background: var(--bg-2); color: var(--ink); }
.btn-ghost:hover { background: var(--line-2); }
.btn-light { background: rgba(255, 255, 255, .92); color: #1d1d1f; }
.btn-light:hover { background: #fff; }
.btn-wa { background: #1f9d55; color: #fff; }
.btn-wa:hover { background: #198347; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.text-btn { color: var(--accent); font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; }
.text-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-btn .i { width: 16px; height: 16px; }
.link-more { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-weight: 500; font-size: 15px; white-space: nowrap; }
.link-more .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-more:hover .i { transform: translateX(3px); }

/* Loading */
.page-loading { min-height: 60vh; display: grid; place-items: center; }
.spinner { width: 28px; height: 28px; border: 2.5px solid var(--line-2); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, var(--bg-2) 0%, var(--line) 50%, var(--bg-2) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--r); }
@keyframes shimmer { to { background-position: -200% 0; } }
.ssr-product { padding-block: 40px; display: grid; gap: 16px; }
.ssr-product img { max-width: 360px; border-radius: var(--r); }

/* Sections */
.section { padding-block: clamp(48px, 7vw, 96px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); }
.section-head p { color: var(--ink-2); margin-top: 8px; font-size: 17px; }

/* Hero */
.hero { position: relative; margin-top: 12px; border-radius: var(--r-l); overflow: hidden; background: var(--bg-2); aspect-ratio: 16 / 7.2; min-height: 460px; max-height: 680px; width: 100%; isolation: isolate; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s linear .9s; }
.slide.active { opacity: 1; visibility: visible; transition: opacity .9s var(--ease); }
.slide picture, .slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.slide.active img { animation: kenburns 9s var(--ease) both; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 250, 247, .9) 0%, rgba(255, 250, 247, .55) 34%, rgba(255, 250, 247, 0) 60%); }
.slide.tone-dark::after { background: linear-gradient(90deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .25) 40%, rgba(0, 0, 0, 0) 65%); }
.slide-copy { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; padding: clamp(28px, 6vw, 88px); max-width: 640px; color: #1d1d1f; }
.slide.tone-dark .slide-copy { color: #fff; }
.slide-copy .eyebrow { color: #8e2a46; }
.slide.tone-dark .slide-copy .eyebrow { color: #ffd0dc; }
.slide-copy h1, .slide-copy h2 { font-size: clamp(40px, 6.2vw, 84px); line-height: 1; letter-spacing: -.035em; }
.slide-copy h1 em, .slide-copy h2 em { color: #b8304f; display: block; }
.slide.tone-dark .slide-copy h1 em, .slide.tone-dark .slide-copy h2 em { color: #ffb3c6; }
.slide-copy p { font-size: clamp(16px, 1.5vw, 19px); max-width: 420px; color: #3a3a3c; }
.slide.tone-dark .slide-copy p { color: rgba(255, 255, 255, .86); }
.slide-copy .btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.slide-copy .btn { background: #be3358; color: #fff; }
.slide-copy .btn:hover { background: #a82b4d; }
.slide.active .slide-copy > * { animation: rise .8s var(--ease-out) both; }
.slide.active .slide-copy > :nth-child(2) { animation-delay: .08s; }
.slide.active .slide-copy > :nth-child(3) { animation-delay: .16s; }
.slide.active .slide-copy > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.hero-controls { position: absolute; z-index: 3; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 999px; background: rgba(255, 255, 255, .7); -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%); }
.hero-dot { position: relative; width: 8px; height: 8px; border-radius: 999px; background: rgba(0, 0, 0, .25); overflow: hidden; transition: width .4s var(--ease-out); }
.hero-dot::before { content: ""; position: absolute; inset: -18px -4px; }
.hero-dot[aria-current="true"] { width: 36px; }
.hero-dot[aria-current="true"] span { position: absolute; inset: 0; background: #1d1d1f; transform-origin: left; animation: progress 7s linear both; }
.hero.paused .hero-dot span { animation-play-state: paused; }
@keyframes progress { from { transform: scaleX(0); } }
.hero-pause { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #1d1d1f; margin-left: 4px; }
.hero-pause svg { width: 12px; height: 12px; fill: currentColor; }
.hero-arrow { position: absolute; z-index: 3; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .72); color: #1d1d1f; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; transition: opacity .25s var(--ease); }
.hero:hover .hero-arrow, .hero-arrow:focus-visible { opacity: 1; }
.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }
.hero-note { position: absolute; z-index: 3; right: 20px; bottom: 26px; font-size: 11px; color: rgba(0, 0, 0, .5); }
.slide.tone-dark ~ .hero-note { color: rgba(255, 255, 255, .6); }
@media (max-width: 700px) {
  .hero { aspect-ratio: 4 / 5.4; min-height: 0; margin-inline: calc(var(--gutter) * -1 + 8px); border-radius: 22px; }
  .slide img { object-position: 72% center; }
  .slide::after { background: linear-gradient(0deg, rgba(255, 250, 247, .96) 0%, rgba(255, 250, 247, .8) 34%, rgba(255, 250, 247, 0) 62%); }
  .slide.tone-dark::after { background: linear-gradient(0deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .35) 40%, rgba(0, 0, 0, 0) 65%); }
  .slide-copy { justify-content: flex-end; padding: 24px 22px 76px; gap: 12px; }
  .slide-copy h1, .slide-copy h2 { font-size: clamp(36px, 10vw, 48px); }
  .hero-arrow, .hero-note { display: none; }
}

/* Category rail */
.cat-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(112px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 28px 2px 4px; scrollbar-width: none; }
.cat-rail::-webkit-scrollbar { display: none; }
.cat-rail a { scroll-snap-align: start; display: grid; justify-items: center; gap: 10px; text-align: center; font-size: 14px; font-weight: 500; }
.cat-rail .thumb { width: 100%; aspect-ratio: 1; max-width: 132px; border-radius: 50%; overflow: hidden; background: var(--bg-2); transition: transform .35s var(--ease-out); }
.cat-rail .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cat-rail a:hover .thumb { transform: scale(1.04); }

/* Segmented control */
.segmented { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: var(--bg-2); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.segmented::-webkit-scrollbar { display: none; }
.segmented button { min-height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.segmented button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 0 0 .5px rgba(0, 0, 0, .04); }
.segmented button:not([aria-pressed="true"]):hover { color: var(--ink); }

/* Product grid & card */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
@media (max-width: 1080px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; } }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 1080px) { .rail { grid-auto-columns: calc((100% - 40px) / 3); } }
@media (max-width: 760px) { .rail { grid-auto-columns: 46%; gap: 12px; } }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card-media { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; background: var(--bg-2); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .45s var(--ease), transform .7s var(--ease-out); }
.card-media .alt { opacity: 0; }
@media (hover: hover) {
  .card:hover .card-media .alt { opacity: 1; }
  .card:hover .card-media img { transform: scale(1.03); }
}
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--btn); color: var(--on-btn); }
.badge.soldout { background: rgba(29, 29, 31, .82); color: #fff; }
.badge.new { background: rgba(255, 255, 255, .9); color: #1d1d1f; }
.fav { position: absolute; top: 8px; right: 8px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .78); color: #1d1d1f; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: transform .2s var(--ease); }
.fav .i { width: 19px; height: 19px; }
.fav:active { transform: scale(.88); }
.fav[aria-pressed="true"] { color: #be3358; }
.fav[aria-pressed="true"] .i { fill: currentColor; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.card-foot .price { min-width: 0; }
.add-btn { position: relative; z-index: 3; flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 0 14px 0 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 600; transition: background .2s var(--ease), color .2s var(--ease), transform .15s var(--ease); }
.add-btn .i { width: 17px; height: 17px; }
.add-btn:hover { background: var(--btn); color: var(--on-btn); }
.add-btn:active { transform: scale(.94); }
.add-btn.done { background: var(--success); color: #fff; }
.add-btn:disabled:not(.done) { opacity: .6; }
.sold-note { font-size: 13px; font-weight: 500; color: var(--ink-2); flex: none; }
@media (max-width: 600px) { .add-btn { width: 38px; padding: 0; } .add-btn span { display: none; } .card-foot { align-items: flex-end; } }
.card-body { display: grid; gap: 4px; }
.card-cat { font-size: 12px; color: var(--ink-2); }
.card-name { font-size: 15px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card .fav { z-index: 3; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; font-weight: 600; font-size: 15px; }
.price .now.sale { color: var(--accent); }
.price del { color: var(--ink-2); font-weight: 400; font-size: 13px; }
.price .from { font-weight: 400; color: var(--ink-2); font-size: 13px; }
.rating { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--ink-2); }
.rating .i { width: 14px; height: 14px; color: #f5a623; }

/* Feature tiles */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }
.tile { position: relative; display: block; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 5 / 4; background: var(--bg-2); color: #fff; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .58) 100%); z-index: 1; }
.tile-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(22px, 3vw, 36px); display: grid; gap: 10px; }
.tile-copy .eyebrow { color: rgba(255, 255, 255, .85); }
.tile-copy h3 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -.03em; }
.tile-copy h3 em { color: #ffc2d1; }
.tile-copy .link-more { color: #fff; }
.editorial { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; border-radius: var(--r-l); overflow: hidden; background: var(--bg-3); }
.editorial .media { aspect-ratio: 4 / 3.4; height: 100%; }
.editorial .media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.editorial .copy { padding: clamp(28px, 5vw, 72px); display: grid; gap: 18px; justify-items: start; }
.editorial h2 { font-size: clamp(32px, 4.4vw, 60px); letter-spacing: -.035em; }
.editorial p { color: var(--ink-2); font-size: 17px; max-width: 420px; }
@media (max-width: 860px) { .editorial { grid-template-columns: 1fr; } .editorial .media { aspect-ratio: 16 / 10; } }

/* Shop */
.page-head { padding-block: clamp(28px, 4vw, 48px) 8px; display: grid; gap: 8px; }
.page-head h1 { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.035em; }
.page-head p { color: var(--ink-2); font-size: 17px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--ink-2); padding-top: 20px; }
.crumbs a:hover { color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0 6px; }
@media (max-width: 760px) { .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-snap-type: x proximity; } .chips .chip { scroll-snap-align: start; } }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-current="true"], .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip small { color: inherit; opacity: .6; font-weight: 400; }
.chip .i { width: 14px; height: 14px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 16px 24px; border-bottom: 1px solid var(--line); margin-bottom: 28px; position: sticky; top: var(--header-h); z-index: 20; background: var(--glass); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.toolbar .count { font-size: 14px; color: var(--ink-2); }
.toolbar-actions { display: flex; gap: 8px; align-items: center; }
.select { position: relative; display: inline-flex; align-items: center; }
.select select { appearance: none; min-height: 38px; padding: 0 36px 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; font-weight: 500; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 15px; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); pointer-events: none; }
.more-row { display: grid; justify-items: center; gap: 12px; padding-top: 48px; color: var(--ink-2); font-size: 14px; }
.progress-line { width: 180px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.progress-line span { display: block; height: 100%; background: var(--ink); }
.filter-panel { display: grid; gap: 24px; padding: 4px 24px 32px; }
.filter-panel h3 { font-size: 15px; margin-bottom: 10px; }
.filter-panel .chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
.range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Forms */
.field { display: grid; gap: 6px; }
.field label, .label { font-size: 14px; font-weight: 500; }
.field .hint { font-size: 13px; color: var(--ink-2); }
.input, .field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--r-s); border: 1px solid var(--line-2); background: var(--surface); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.form-error { color: var(--danger); font-size: 14px; font-weight: 500; min-height: 0; }
.form-error:empty { display: none; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); margin: 1px 0 0; flex: none; }
.card-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(20px, 3vw, 32px); }
.card-box h2 { font-size: 22px; margin-bottom: 18px; }
.stack { display: grid; gap: 16px; }

/* Product page */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 72px); padding-top: 20px; align-items: start; }
.pdp > * { min-width: 0; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: 24px; padding-top: 8px; } }
.gallery { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: start; position: sticky; top: calc(var(--header-h) + 16px); }
.gallery-main { position: relative; width: min(100%, calc((100vh - var(--header-h) - 48px) * .75)); aspect-ratio: 3 / 4; border-radius: var(--r-l); overflow: hidden; background: var(--bg-2); cursor: zoom-in; }
.gallery-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; object-position: top; scroll-snap-align: center; }
.gallery-thumbs { --fs: 0px; --fe: 0px; align-self: stretch; position: relative; display: flex; flex-direction: column; gap: 10px; height: 0; min-height: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding: 2px; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 var(--fs), #000 calc(100% - var(--fe)), transparent); mask-image: linear-gradient(to bottom, transparent, #000 var(--fs), #000 calc(100% - var(--fe)), transparent); }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumbs button { flex: none; width: 100%; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: var(--bg-2); opacity: .55; transition: opacity .2s; outline-offset: 0; }
.gallery-thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--ink); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gallery-count { position: absolute; right: 14px; bottom: 14px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .8); color: #1d1d1f; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.gallery-zoom { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .8); color: #1d1d1f; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.gallery-zoom .i { width: 18px; height: 18px; }
@media (max-width: 900px) {
  .gallery { grid-template-columns: minmax(0, 1fr); gap: 10px; position: static; margin-inline: calc(var(--gutter) * -1); }
  .gallery-main { border-radius: 0; width: 100%; }
  .gallery-thumbs { order: 2; flex-direction: row; gap: 8px; height: auto; min-height: 0; overflow-x: auto; overflow-y: hidden; padding: 2px var(--gutter); scroll-padding-inline: var(--gutter); -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--fs), #000 calc(100% - var(--fe)), transparent); mask-image: linear-gradient(to right, transparent, #000 var(--fs), #000 calc(100% - var(--fe)), transparent); }
  .gallery-thumbs button { flex: 0 0 58px; width: 58px; border-radius: 10px; }
  .gallery-thumbs:has(> button:only-child) { display: none; }
}
.buybox { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-content: start; max-width: 560px; }
.pdp-head { display: grid; gap: 10px; }
.pdp-price { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.buy-form { display: grid; gap: 14px; padding-top: 6px; border-top: 1px solid var(--line); }
.buy-form .options { padding-top: 14px; }
.buybox h1 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.18; letter-spacing: -.025em; overflow-wrap: anywhere; }
.buybox .price { font-size: 26px; gap: 6px 12px; }
.buybox .price del { font-size: 17px; }
.save-pill { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; white-space: nowrap; }
.stock-note { font-size: 14px; font-weight: 500; color: var(--success); display: flex; align-items: center; gap: 6px; }
.stock-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock-note.low { color: #c2610c; }
.stock-note.out { color: var(--danger); }
.summary-text { color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.specs { display: flex; flex-wrap: wrap; gap: 8px; }
.specs span { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--bg-2); }
.options { display: grid; gap: 10px; }
.options-head { display: flex; justify-content: space-between; font-size: 14px; font-weight: 500; }
.option-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.option-pills button { min-width: 56px; min-height: 46px; padding: 0 16px; border-radius: var(--r-s); border: 1px solid var(--line-2); font-size: 15px; font-weight: 500; transition: border-color .2s, background .2s, color .2s; }
.option-pills button:hover { border-color: var(--ink); }
.option-pills button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.option-pills button:disabled { opacity: .35; text-decoration: line-through; pointer-events: none; }
.buy-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.fav-lg { width: 48px; height: 48px; box-shadow: inset 0 0 0 1px var(--line-2); }
.fav-lg[aria-pressed="true"] { color: var(--accent); }
.fav-lg[aria-pressed="true"] .i { fill: currentColor; }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.wa-link { justify-self: center; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 600; color: #198347; }
.wa-link .i { width: 20px; height: 20px; color: #25d366; }
.wa-link:hover { text-decoration: underline; text-underline-offset: 3px; }
[data-theme="dark"] .wa-link { color: #4cc283; }
.stepper { display: inline-flex; align-items: center; height: 48px; border-radius: 999px; background: var(--bg-2); }
.stepper button { width: 44px; height: 48px; display: grid; place-items: center; border-radius: 999px; }
.stepper button:hover { color: var(--accent); }
.stepper .i { width: 18px; height: 18px; }
.stepper output, .stepper input { width: 32px; text-align: center; font-weight: 600; border: 0; background: none; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stepper.sm { height: 36px; }
.stepper.sm button { width: 34px; height: 36px; }
.perks { list-style: none; margin: 0; padding: 18px; border-radius: var(--r); background: var(--bg-2); display: grid; gap: 14px; }
.perks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 14px; line-height: 1.45; }
.perks .i { color: var(--accent); width: 22px; height: 22px; }
.perks strong { display: block; font-weight: 600; }
.perks span { color: var(--ink-2); }
.perks a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 58px; font-weight: 600; font-size: 16px; cursor: pointer; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; width: 9px; height: 9px; border-right: 1.7px solid currentColor; border-bottom: 1.7px solid currentColor; transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--ease); }
.accordion details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.accordion .acc-body { padding-bottom: 20px; color: var(--ink-2); font-size: 15px; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
.review { padding: 16px 0; border-top: 1px solid var(--line); white-space: normal; }
.review:first-child { border-top: 0; padding-top: 0; }
.review header { display: flex; justify-content: space-between; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.stars { color: #f5a623; letter-spacing: 1px; }
.mobile-buy { display: none; }
@media (max-width: 900px) {
  .mobile-buy { position: fixed; z-index: 30; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 8px 8px 8px 20px; border-radius: 26px; background: var(--glass); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px); box-shadow: 0 14px 40px rgba(0, 0, 0, .16), inset 0 0 0 1px var(--line); opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .3s var(--ease), transform .4s var(--ease-out), visibility 0s linear .4s; }
  .mobile-buy.show { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .4s var(--ease-out); }
  .mb-info { margin-right: auto; min-width: 0; display: grid; gap: 3px; }
  .mb-price { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
  .mb-price small { font-size: 12px; color: var(--ink-2); }
  .mb-price strong { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
  .mb-price del { font-size: 13px; color: var(--ink-2); }
  .mb-sub { font-size: 12px; font-weight: 600; color: var(--accent); white-space: nowrap; }
  .mobile-buy .btn { flex: none; min-height: 52px; padding: 0 22px; border-radius: 20px; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
  body.has-mobile-buy { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  body.has-mobile-buy .wa-float { bottom: calc(92px + env(safe-area-inset-bottom)); }
  body.has-mobile-buy .recent-pop { bottom: calc(92px + env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) { .mobile-buy { padding-left: 16px; gap: 8px; } .mobile-buy .btn { padding: 0 16px; letter-spacing: .03em; } .mb-price strong { font-size: 17px; } }

/* Image viewer */
.viewer { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0, 0, 0, .94); color: #fff; }
.viewer[open] { display: grid; place-items: center; }
.viewer img { max-width: 94vw; max-height: 88vh; object-fit: contain; border-radius: 8px; }
.viewer .icon-btn { position: absolute; color: #fff; background: rgba(255, 255, 255, .12); }
.viewer .icon-btn:hover { background: rgba(255, 255, 255, .22); }
.viewer .v-close { top: 16px; right: 16px; }
.viewer .v-prev { left: 16px; top: 50%; translate: 0 -50%; }
.viewer .v-next { right: 16px; top: 50%; translate: 0 -50%; }
.viewer .v-count { position: absolute; bottom: 20px; left: 50%; translate: -50% 0; font-size: 14px; opacity: .75; }

/* Sheets & dialogs */
dialog { color: var(--ink); }
dialog::backdrop { background: rgba(0, 0, 0, .32); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sheet { position: fixed; top: 0; bottom: 0; height: 100dvh; max-height: none; width: min(440px, 100vw); margin: 0; padding: 0; border: 0; background: var(--bg); display: none; flex-direction: column; box-shadow: var(--shadow-2); }
.sheet[open] { display: flex; animation: sheet-in-right .38s var(--ease-out); }
.sheet-right { left: auto; right: 0; }
.sheet-left { left: 0; right: auto; }
.sheet-left[open] { animation-name: sheet-in-left; }
@keyframes sheet-in-right { from { transform: translateX(100%); } }
@keyframes sheet-in-left { from { transform: translateX(-100%); } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 24px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { font-size: 20px; }
.sheet-head img { height: 44px; width: auto; }
.sheet-nav { display: grid; padding: 12px 12px 32px; overflow-y: auto; }
.sheet-nav a { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 12px; border-radius: 12px; font-size: 17px; font-weight: 500; }
.sheet-nav a:hover { background: var(--bg-2); }
.sheet-nav a small { color: var(--ink-2); font-weight: 400; font-size: 14px; }
.sheet-nav hr { border: 0; border-top: 1px solid var(--line); margin: 12px; }
.sheet-nav .sub { font-size: 15px; color: var(--ink-2); min-height: 44px; }
.bag-body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.bag-items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.bag-foot { border-top: 1px solid var(--line); padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); display: grid; gap: 12px; background: var(--bg); }
.bag-line { display: flex; justify-content: space-between; font-size: 15px; }
.bag-line.total { font-size: 18px; font-weight: 600; }
.free-ship { display: grid; gap: 8px; padding: 14px 16px; border-radius: var(--r-s); background: var(--bg-3); font-size: 14px; }
.free-ship .bar { height: 5px; border-radius: 5px; background: var(--line); overflow: hidden; }
.free-ship .bar span { display: block; height: 100%; background: var(--accent); border-radius: 5px; transition: width .5s var(--ease-out); }
.line-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line-item:last-child { border-bottom: 0; }
.line-item img { width: 84px; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: 12px; background: var(--bg-2); }
.line-item h3 { font-size: 15px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-item .meta { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.line-item .controls { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.line-item .remove { font-size: 13px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; min-height: 36px; }
.line-item .line-total { font-weight: 600; font-size: 15px; white-space: nowrap; }
.line-item .warn { color: var(--danger); font-size: 13px; font-weight: 500; margin-top: 4px; }
.empty-state { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 64px 24px; }
.empty-state .icon-circle { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); color: var(--ink-2); margin-bottom: 8px; }
.empty-state .icon-circle .i { width: 30px; height: 30px; }
.empty-state h2 { font-size: 26px; }
.empty-state p { color: var(--ink-2); max-width: 380px; }
.empty-state .btn { margin-top: 8px; }

/* Search */
.search-dialog { width: min(760px, calc(100vw - 24px)); max-height: min(80vh, 720px); margin: 72px auto 0; padding: 0; border: 0; border-radius: var(--r-l); background: var(--bg); box-shadow: var(--shadow-2); overflow: hidden; }
.search-dialog[open] { display: flex; flex-direction: column; animation: drop .3s var(--ease-out); }
@keyframes drop { from { opacity: 0; transform: translateY(-12px) scale(.98); } }
.search-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 20px; border-bottom: 1px solid var(--line); }
.search-bar input { flex: 1; min-height: 48px; border: 0; background: none; font-size: 19px; outline: none; }
.search-bar input::-webkit-search-cancel-button { display: none; }
.search-results { overflow-y: auto; padding: 16px 20px 24px; }
.search-results h3 { font-size: 13px; color: var(--ink-2); font-weight: 600; margin: 4px 0 10px; }
.search-hit { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding: 8px; border-radius: 12px; }
.search-hit:hover, .search-hit:focus-visible { background: var(--bg-2); }
.search-hit img { width: 52px; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: 8px; background: var(--bg-2); }
.search-hit span { font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-hit b { font-size: 14px; font-weight: 600; }
.search-suggest { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 600px) { .search-dialog { margin: 0; width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; } }

/* Cart & checkout */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: 24px; }
@media (max-width: 960px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.summary { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 14px; background: var(--bg-2); border-radius: var(--r-l); padding: 28px; }
.summary h2 { font-size: 22px; }
.summary .bag-line { color: var(--ink-2); }
.summary .bag-line span:last-child { color: var(--ink); }
.summary .bag-line.total { color: var(--ink); border-top: 1px solid var(--line-2); padding-top: 14px; }
.summary .discount span:last-child { color: var(--accent); }
.coupon-form { display: flex; gap: 8px; }
.coupon-form input { flex: 1; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); text-transform: uppercase; }
.mini-items { display: grid; gap: 12px; max-height: 320px; overflow-y: auto; }
.mini-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.mini-item img { width: 52px; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: 8px; }
.mini-item .qty-badge { font-size: 12px; color: var(--ink-2); }
.pay-option { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--r); border: 2px solid var(--ink); }
.pay-option .i { color: var(--accent); }
.pay-option p { font-size: 14px; color: var(--ink-2); }
.notice { padding: 14px 16px; border-radius: var(--r-s); background: var(--bg-3); font-size: 14px; }

/* Success, tracking, account */
.success { max-width: 640px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) 0 24px; display: grid; gap: 18px; justify-items: center; text-align: center; }
.success-mark { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--btn); color: var(--on-btn); animation: pop .6s var(--ease-out) both; }
.success-mark .i { width: 40px; height: 40px; stroke-width: 2.4; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.success h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -.035em; }
.ref { font-size: 15px; padding: 10px 18px; border-radius: 999px; background: var(--bg-2); }
.ref strong { letter-spacing: .04em; }
.success .card-box { width: 100%; text-align: left; }
.success .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0 8px; }
.timeline div { display: grid; gap: 8px; font-size: 13px; color: var(--ink-2); }
.timeline div::before { content: ""; height: 4px; border-radius: 4px; background: var(--line-2); }
.timeline div.done { color: var(--ink); font-weight: 500; }
.timeline div.done::before { background: var(--accent); }
.order-card { display: grid; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); }
.order-card header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.status-pill { display: inline-flex; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; text-transform: capitalize; background: var(--bg-2); }
.status-pill.pending { background: #fff4e0; color: #8a5300; }
.status-pill.confirmed { background: #e6f0ff; color: #1f4fa8; }
.status-pill.shipped { background: #efe8ff; color: #5b3aa8; }
.status-pill.delivered { background: #e3f6ea; color: #1d6b3f; }
.status-pill.cancelled, .status-pill.returned { background: #fde8e8; color: #a12020; }
[data-theme="dark"] .status-pill { background: var(--bg-2) !important; color: var(--ink) !important; }
.auth { max-width: 460px; margin: 0 auto; padding: clamp(32px, 6vw, 72px) 0; display: grid; gap: 22px; }
.auth h1 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -.035em; text-align: center; }
.auth > p { text-align: center; color: var(--ink-2); }
.auth .segmented { justify-self: center; }
.account { display: grid; grid-template-columns: 240px 1fr; gap: clamp(24px, 4vw, 56px); padding-bottom: 24px; }
.account-nav { display: grid; gap: 2px; align-content: start; position: sticky; top: calc(var(--header-h) + 16px); }
.account-nav a, .account-nav button { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; font-size: 15px; font-weight: 500; text-align: left; }
.account-nav a:hover, .account-nav button:hover { background: var(--bg-2); }
.account-nav a[aria-current="page"] { background: var(--bg-2); color: var(--accent); }
@media (max-width: 760px) { .account { grid-template-columns: 1fr; } .account-nav { position: static; grid-auto-flow: column; overflow-x: auto; } .account-nav a, .account-nav button { white-space: nowrap; } }

/* Prose pages */
.prose { max-width: 760px; margin: 0 auto; padding-bottom: 24px; font-size: 17px; line-height: 1.7; color: var(--ink); }
.prose h2 { font-size: 24px; margin: 36px 0 10px; }
.prose p, .prose ul { margin: 0 0 14px; color: var(--ink-2); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 4vw, 56px); padding-bottom: 24px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-cards { display: grid; gap: 12px; align-content: start; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--r); background: var(--bg-2); transition: transform .2s var(--ease); }
.contact-card:hover { transform: translateY(-2px); }
.contact-card .icon-circle { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--accent); flex: none; }
.contact-card strong { display: block; }
.contact-card span { color: var(--ink-2); font-size: 14px; }

/* Footer */
.site-footer { margin-top: clamp(64px, 9vw, 120px); background: var(--bg-2); padding-bottom: env(safe-area-inset-bottom); }
.promise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 48px 0; border-bottom: 1px solid var(--line); }
.promise div { display: grid; gap: 6px; justify-items: start; }
.promise .i { width: 28px; height: 28px; color: var(--accent); margin-bottom: 6px; }
.promise h3 { font-size: 16px; letter-spacing: -.01em; }
.promise p { font-size: 14px; color: var(--ink-2); }
@media (max-width: 860px) { .promise { grid-template-columns: 1fr 1fr; } }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding: 48px 0 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand img { height: 72px; width: auto; }
.footer-line { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.footer-line em { color: var(--accent); }
.socials { display: flex; gap: 4px; margin-left: -10px; }
.footer-grid nav { display: grid; gap: 2px; align-content: start; }
.footer-grid h2 { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.footer-grid nav a { font-size: 14px; color: var(--ink-2); min-height: 34px; display: flex; align-items: center; }
.footer-grid nav a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 20px 0 28px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-2); }

/* WhatsApp + toast */
.wa-float { position: fixed; z-index: 35; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(37, 211, 102, .35); transition: transform .25s var(--ease-out), bottom .3s var(--ease-out); }
.wa-float:hover { transform: scale(1.06); }
.wa-float .i { width: 30px; height: 30px; }
.toast { position: fixed; z-index: 60; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 24px); opacity: 0; visibility: hidden; max-width: calc(100vw - 32px); display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 20px; border-radius: 999px; background: #1d1d1f; color: #fff; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-2); transition: transform .4s var(--ease-out), opacity .3s var(--ease), visibility 0s linear .4s; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; pointer-events: auto; transition: transform .4s var(--ease-out), opacity .3s var(--ease); }
.toast a, .toast button { color: #ff9fb6; font-weight: 600; white-space: nowrap; }
[data-theme="dark"] .toast { background: #f5f5f7; color: #1d1d1f; }
[data-theme="dark"] .toast a, [data-theme="dark"] .toast button { color: #be3358; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .announce, .wa-float, .mobile-buy, .toast { display: none !important; }
}

/* Light / dark switch */
.theme-btn .i-dark { display: none; }
[data-theme="dark"] .theme-btn .i-light { display: none; }
[data-theme="dark"] .theme-btn .i-dark { display: block; }

/* Quick add sheet (products with sizes or colours) */
.quick { width: min(760px, calc(100vw - 24px)); max-height: min(86vh, 640px); margin: auto; padding: 0; border: 0; border-radius: var(--r-l); background: var(--bg); box-shadow: var(--shadow-2); overflow: hidden; }
.quick[open] { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); animation: drop .3s var(--ease-out); }
.quick-media { background: var(--bg-2); min-height: 100%; }
.quick-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.quick-info { display: grid; gap: 16px; align-content: start; padding: 32px 28px 24px; overflow-y: auto; }
.quick-info h2 { font-size: 22px; line-height: 1.25; letter-spacing: -.02em; padding-right: 32px; }
.quick-info .price { font-size: 20px; }
.quick-close { position: absolute; top: 10px; right: 10px; z-index: 2; background: var(--glass); }
@media (max-width: 640px) {
  .quick { width: 100vw; max-width: 100vw; max-height: 88dvh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .quick[open] { grid-template-columns: 96px minmax(0, 1fr); animation: sheet-up .35s var(--ease-out); }
  .quick-media { height: 128px; min-height: 0; margin: 20px 0 0 16px; border-radius: 12px; overflow: hidden; }
  .quick-info { padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); }
  .quick-info .options, .quick-info .btn, .quick-info .text-btn, .quick-info .form-error { grid-column: 1 / -1; }
  .quick-info h2 { font-size: 18px; }
}
@keyframes sheet-up { from { transform: translateY(100%); } }
/* Icon sprite holder (kept out of the layout) */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.tabs { margin-bottom: 28px; }
/* FAQ accordion */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; font-weight: 600; font-size: 17px; cursor: pointer; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 1.7px solid currentColor; border-bottom: 1.7px solid currentColor; transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq .answer { padding: 0 0 20px; color: var(--ink-2); }
/* Mobile menu groups */
.sheet-nav details { border-radius: 12px; }
.sheet-nav summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 12px; border-radius: 12px; font-size: 17px; font-weight: 500; cursor: pointer; }
.sheet-nav summary::-webkit-details-marker { display: none; }
.sheet-nav summary:hover { background: var(--bg-2); }
.sheet-nav summary .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.sheet-nav details[open] summary .i { transform: rotate(180deg); }
.sheet-nav .sub-list { display: grid; padding: 0 0 8px 12px; }
.sheet-nav .sub-list a { min-height: 42px; font-size: 15px; color: var(--ink-2); }
@media (max-width: 760px) {
  .wa-float { bottom: calc(76px + env(safe-area-inset-bottom)); width: 50px; height: 50px; right: 14px; }
  .wa-float .i { width: 27px; height: 27px; }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
}

/* Product details section (below the gallery + buy box) */
.details-jump { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--accent); min-height: 40px; }
.details-jump .i { width: 16px; height: 16px; transform: rotate(90deg); }
.details-jump:hover { text-decoration: underline; text-underline-offset: 3px; }
.details-section { scroll-margin-top: calc(var(--header-h) + 16px); }
.details-section .section-head { scroll-margin-top: calc(var(--header-h) + 16px); }
.details-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 1080px) { .details-grid { grid-template-columns: 1fr 1fr; } .detail-overview { grid-column: 1 / -1; } }
@media (max-width: 680px) { .details-grid { grid-template-columns: 1fr; } }
.detail-card { background: var(--bg-2); border-radius: var(--r-l); padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 14px; align-content: start; }
.detail-card h3 { font-size: 19px; letter-spacing: -.015em; }
.detail-card h4 { font-size: 13px; font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; margin: 8px 0 0; }
.overview-text { display: grid; gap: 12px; font-size: 16px; line-height: 1.7; color: var(--ink); max-height: 13.6em; overflow: hidden; position: relative; }
.overview-text p { margin: 0; }
.overview-text.clamped:not(.expanded)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3em; background: linear-gradient(transparent, var(--bg-2)); pointer-events: none; }
.overview-text.expanded { max-height: none; }
.overview-text.expanded::after { display: none; }
.read-more { justify-self: start; min-height: 36px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 6px 14px; border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 15px; line-height: 1.5; }
.checks .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); stroke-width: 2.6; margin-top: 1px; }
.spec-table { margin: 0; display: grid; }
.spec-table div { display: grid; grid-template-columns: minmax(90px, .8fr) minmax(0, 1.4fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--line-2); font-size: 15px; }
.spec-table div:first-child { border-top: 0; padding-top: 0; }
.spec-table dt { color: var(--ink-2); }
.spec-table dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.details-grid.single { grid-template-columns: minmax(0, 860px); }
/* Grid children may shrink below their content width (prevents sideways scrolling on narrow phones) */
.two-col > *, .contact-grid > *, .account > *, .form-grid > *, .details-grid > *, .duo > *, .editorial > * { min-width: 0; }
.field input, .field select, .field textarea { min-width: 0; }
.coupon-form input { min-width: 0; width: 100%; }
.summary > * { min-width: 0; }
@media (max-width: 600px) { .summary { padding: 22px 18px; border-radius: 22px; } .card-box { padding: 20px 16px; } }
/* Infinite scroll */
.loader { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); min-height: 44px; }
.loader .spinner { width: 20px; height: 20px; border-width: 2px; }
.end-note { font-size: 14px; color: var(--ink-2); }
.end-note .text-btn { min-height: 0; font-size: 14px; }
/* Audit fixes: comfortable tap targets for slideshow dots; reserve page height so the footer doesn't jump while pages load */
.hero-dot { width: 24px; height: 24px; background: none; border-radius: 999px; display: grid; place-items: center; overflow: visible; }
.hero-dot::before { content: ""; position: static; inset: auto; width: 8px; height: 8px; border-radius: 999px; background: rgba(0, 0, 0, .25); transition: width .4s var(--ease-out); grid-area: 1 / 1; }
.hero-dot[aria-current="true"] { width: 44px; }
.hero-dot[aria-current="true"]::before { width: 36px; }
.hero-dot span { display: none; grid-area: 1 / 1; }
.hero-dot[aria-current="true"] span { display: block; position: relative; inset: auto; width: 36px; height: 8px; border-radius: 999px; overflow: hidden; background: transparent; }
.hero-dot[aria-current="true"] span::after { content: ""; position: absolute; inset: 0; background: #1d1d1f; transform-origin: left; animation: progress 7s linear both; }
.hero.paused .hero-dot span::after { animation-play-state: paused; }
.hero-dot[aria-current="true"] span { animation: none; }
.hero-controls { gap: 2px; padding: 4px 8px; }
#main { min-height: calc(100vh - var(--header-h)); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Real shopper activity ---------- */
.activity { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 8px 14px 8px 10px; border-radius: 999px; background: linear-gradient(90deg, #fff1e6, #ffe7ee); color: #8a2c13; font-size: 14px; }
.activity strong { font-weight: 700; }
[data-theme="dark"] .activity { background: linear-gradient(90deg, #3a1d10, #3a1b24); color: #ffc9a8; }
.flame { display: inline-block; font-size: 17px; line-height: 1; transform-origin: 50% 90%; animation: flicker 1.6s ease-in-out infinite; }
@keyframes flicker { 0%, 100% { transform: scale(1) rotate(-3deg); } 50% { transform: scale(1.18) rotate(4deg); } }
.recent-pop { position: fixed; z-index: 34; left: 16px; bottom: calc(18px + env(safe-area-inset-bottom)); width: min(370px, calc(100vw - 32px)); display: flex; align-items: center; gap: 4px; padding: 10px 6px 10px 10px; border-radius: 20px; background: var(--glass); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line); opacity: 0; visibility: hidden; transform: translateY(16px) scale(.98); transition: opacity .35s var(--ease), transform .45s var(--ease-out), visibility 0s linear .45s; }
.recent-pop.show { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .45s var(--ease-out); }
.rp-link { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; }
.rp-link img { width: 52px; height: 66px; border-radius: 12px; object-fit: cover; object-position: top; background: var(--bg-2); flex: none; }
.rp-text { min-width: 0; display: grid; gap: 2px; }
.rp-text small { font-size: 12px; color: var(--ink-2); }
.rp-text strong { font-size: 14px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rp-link:hover strong { color: var(--accent); }
.rp-meta { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-meta .i { width: 13px; height: 13px; color: var(--success); stroke-width: 2.4; }
.rp-meta b { font-weight: 700; color: var(--ink); }
.rp-meta del { color: var(--ink-2); font-weight: 400; }
.rp-text small.rp-hot { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: #8a2c13; }
.rp-hot .flame { font-size: 13px; }
[data-theme="dark"] .rp-text small.rp-hot { color: #ffc9a8; }
.rp-close { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); flex: none; align-self: flex-start; }
.rp-close:hover { background: var(--bg-2); color: var(--ink); }
.rp-close .i { width: 16px; height: 16px; }
@media (max-width: 760px) { .recent-pop { bottom: calc(76px + env(safe-area-inset-bottom)); left: 10px; width: calc(100vw - 86px); } body.has-mobile-buy .recent-pop { bottom: calc(152px + env(safe-area-inset-bottom)); } }

/* ---------- Shared page hero ---------- */
.page-hero { display: grid; gap: 14px; justify-items: center; text-align: center; padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 68px); letter-spacing: -.035em; line-height: 1.05; }
.page-hero .lead, .about-hero .lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 620px; line-height: 1.55; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- About ---------- */
.about-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: clamp(28px, 4vw, 56px); }
.about-hero-copy { display: grid; gap: 18px; justify-items: start; }
.about-hero-copy h1 { font-size: clamp(40px, 5.6vw, 76px); letter-spacing: -.04em; line-height: 1.02; }
.about-hero-media { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 5 / 4; background: var(--bg-2); }
.about-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.stats-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 6vw, 72px); border-radius: var(--r-l); background: var(--bg-2); overflow: hidden; }
.stats-band div { display: grid; gap: 4px; padding: clamp(22px, 3vw, 36px); text-align: center; }
.stats-band div + div { border-left: 1px solid var(--line); }
.stats-band strong { font-size: clamp(26px, 3vw, 40px); font-weight: 600; letter-spacing: -.03em; color: var(--accent); }
.stats-band span { font-size: 14px; color: var(--ink-2); }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.values article { display: grid; gap: 10px; align-content: start; padding: 28px; border-radius: var(--r-l); background: var(--bg-2); transition: transform .3s var(--ease-out); }
.values article:hover { transform: translateY(-3px); }
.values .i { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.values h3 { font-size: 19px; margin-top: 6px; }
.values p { color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.about-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-story-media { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 5; max-height: 640px; }
.about-story-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.about-story .prose { margin: 0; }
.about-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.about-tiles .tile { aspect-ratio: 4 / 5; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(28px, 4vw, 52px); border-radius: var(--r-l); background: var(--bg-3); }
.cta-band h2 { font-size: clamp(26px, 3vw, 40px); letter-spacing: -.03em; }
.cta-band p { color: var(--ink-2); margin-top: 8px; }
@media (max-width: 960px) {
  .about-hero, .about-story { grid-template-columns: minmax(0, 1fr); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-band div:nth-child(3) { border-left: 0; }
  .stats-band div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) { .values, .about-tiles { grid-template-columns: minmax(0, 1fr); } .about-tiles .tile { aspect-ratio: 16 / 11; } }

/* ---------- Contact ---------- */
.contact-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.method { display: grid; gap: 6px; align-content: start; padding: 26px; border-radius: var(--r-l); background: var(--bg-2); transition: transform .3s var(--ease-out), box-shadow .3s; }
.method:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); }
.method strong { font-size: 18px; margin-top: 8px; }
.method > span:not(.method-icon):not(.method-cta) { color: var(--ink-2); font-size: 15px; }
.method-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--surface); color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
.method-icon .i { width: 24px; height: 24px; }
.method-cta { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--accent); }
.method-cta .i { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.method:hover .method-cta .i { transform: translateX(3px); }
.method-wa { background: linear-gradient(160deg, #e9f9ef, #f5fbf7); }
.method-wa .method-icon { background: #25d366; color: #fff; box-shadow: none; }
.method-wa .method-cta { color: #198347; }
[data-theme="dark"] .method-wa { background: linear-gradient(160deg, #12291b, #161617); }
[data-theme="dark"] .method-wa .method-cta { color: #4cc283; }
.contact-main { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; align-items: start; }
.contact-form { display: grid; gap: 18px; }
.contact-form h2 { margin: 0; }
.contact-done { color: var(--success); font-weight: 500; font-size: 15px; }
.contact-done:empty { display: none; }
.contact-aside { display: grid; gap: 16px; }
.quick-answers { list-style: none; margin: 0; padding: 0; display: grid; }
.quick-answers a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-2); font-size: 15px; font-weight: 500; }
.quick-answers li:first-child a { border-top: 0; padding-top: 0; }
.quick-answers a:hover { color: var(--accent); }
.quick-answers .i { width: 16px; height: 16px; flex: none; color: var(--ink-2); }
@media (max-width: 900px) { .contact-main { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq-search { position: relative; width: min(560px, 100%); margin-top: 10px; display: flex; align-items: center; }
.faq-search .i { position: absolute; left: 20px; color: var(--ink-2); pointer-events: none; }
.faq-search input { width: 100%; min-height: 56px; padding: 0 22px 0 54px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 16px; box-shadow: var(--shadow-1); }
.faq-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(20px, 3vw, 40px); align-items: start; max-width: 1180px; margin: 0 auto; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: var(--r); background: var(--bg-2); transition: background .2s; }
.faq-item[open] { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; font-size: 17px; font-weight: 600; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--surface); flex: none; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .2s, transform .3s var(--ease-out); }
.faq-toggle::before, .faq-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.8px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%); }
.faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease-out); }
.faq-item[open] .faq-toggle { background: var(--btn); color: var(--on-btn); box-shadow: none; }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item .answer { padding: 0 24px 22px; color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.faq-item .answer p { margin: 0 0 10px; }
.faq-empty { padding: 24px; text-align: center; color: var(--ink-2); }
.faq-aside { position: sticky; top: calc(var(--header-h) + 16px); }
.help-card { display: grid; gap: 12px; padding: 28px; border-radius: var(--r-l); background: var(--bg-3); }
.help-card h3 { font-size: 22px; letter-spacing: -.02em; margin-top: 4px; }
.help-card p { color: var(--ink-2); }
.help-card .btn { width: 100%; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: minmax(0, 1fr); } .faq-aside { position: static; } }
@media (prefers-reduced-motion: reduce) { .flame { animation: none; } }
