/* Waymart demo store
   Palette: deep indigo = trust (header, links), orange = action (add / checkout),
   green = savings, amber = brand mark. */
:root {
  --brand: #3E36C8;
  --brand-700: #2F28A3;
  --brand-50: #F0EFFF;
  --brand-100: #E1DFFF;
  --navy: #16133F;
  --ink: #1A1838;
  --text: #25233A;
  --muted: #6B6A80;
  --line: #E7E6F0;
  --bg: #F6F6FB;
  --surface: #FFFFFF;
  --cta: #EA580C;
  --cta-700: #C2410C;
  --sun: #FFB020;
  --save: #0E8A5F;
  --save-50: #E6F6EE;
  --deal: #DC2626;
  --deal-50: #FEECEC;
  --star: #F59E0B;
  --r-lg: 16px;
  --r: 12px;
  --r-sm: 8px;
  --r-btn: 10px;
  --shadow: 0 1px 2px rgba(22, 19, 63, .05), 0 6px 18px rgba(22, 19, 63, .06);
  --shadow-hover: 0 2px 4px rgba(22, 19, 63, .06), 0 14px 32px rgba(22, 19, 63, .12);
  --shadow-lg: 0 24px 60px rgba(22, 19, 63, .24);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1440px;
  --gutter: 40px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: not-allowed; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }

/* ---------- Announcement + header ---------- */
.announce { background: var(--navy); color: #D9D6FF; font-size: 13px; font-weight: 500; display: flex; gap: 14px; justify-content: center; align-items: center; padding: 7px 16px; }
.dot-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--sun); }
.header { background: var(--brand); color: #fff; position: sticky; top: 0; z-index: 40; box-shadow: 0 2px 14px rgba(22, 19, 63, .18); }
.header-inner { max-width: var(--wrap); margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; gap: 14px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 25px; letter-spacing: -.03em; color: #fff; flex-shrink: 0; }
.logo-mark { width: 34px; height: 34px; }
.icon-btn { width: 40px; height: 40px; border-radius: var(--r-btn); display: grid; place-items: center; }
.icon-btn:hover { background: rgba(255, 255, 255, .12); }
.icon-btn svg, .head-link svg, .dept-btn svg, .search-go svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.menu-btn { display: none; }
.dept-wrap { position: relative; }
.dept-btn { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; padding: 10px 14px; border-radius: var(--r-btn); color: #fff; white-space: nowrap; }
.dept-btn:hover, .dept-btn[aria-expanded="true"] { background: rgba(255, 255, 255, .14); }
.dept-menu { position: absolute; top: calc(100% + 10px); left: 0; width: 600px; background: #fff; color: var(--text); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; z-index: 50; }
.dept-item { display: flex; align-items: center; gap: 12px; padding: 7px 8px; border-radius: var(--r-sm); font-weight: 600; font-size: 14px; }
.dept-item:hover { background: var(--brand-50); color: var(--brand); }
.dept-item img { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; }

/* Pickup & delivery tab */
.ful-wrap { position: relative; }
.ful-btn { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 10px; border-radius: var(--r-btn); color: #fff; text-align: left; white-space: nowrap; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); transition: background .15s; }
.ful-btn:hover, .ful-btn[aria-expanded="true"] { background: rgba(255, 255, 255, .16); }
.ful-ico { display: grid; place-items: center; }
.ful-ico svg, .ful-btn .chev { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ful-btn .chev { width: 16px; height: 16px; opacity: .8; transition: transform .2s; }
.ful-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.ful-txt strong { display: block; font-size: 14px; line-height: 1.25; }
.ful-txt small { display: block; font-size: 12px; line-height: 1.2; opacity: .85; font-weight: 500; max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.ful-menu { position: absolute; top: calc(100% + 10px); right: 0; width: 390px; background: #fff; color: var(--text); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 18px; z-index: 50; }
.ful-head { font-weight: 800; color: var(--ink); font-size: 15px; letter-spacing: -.01em; margin-bottom: 12px; }
.ful-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ful-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 12px 14px; border-radius: var(--r); text-align: left; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .15s, background .15s; }
.ful-opt:hover { box-shadow: inset 0 0 0 1.5px var(--brand-100); }
.ful-opt.on { background: var(--brand-50); box-shadow: inset 0 0 0 2px var(--brand); }
.fo-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); margin-bottom: 8px; transition: background .15s, color .15s; }
.ful-opt.on .fo-ico { background: var(--brand); color: #fff; }
.fo-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ful-opt b { color: var(--ink); font-size: 14px; }
.ful-opt span { font-size: 13px; color: var(--muted); }
.ful-opt em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--save); margin-top: 3px; }
.ful-info { display: grid; gap: 7px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.ful-row { display: flex; align-items: baseline; gap: 10px; font-size: 13.5px; }
.ful-row span { width: 92px; flex-shrink: 0; color: var(--muted); }
.ful-row b { color: var(--ink); }
.ful-row .link { margin-left: auto; font-size: 13px; }
.ful-note { margin-top: 12px; font-size: 12.5px; color: var(--muted); }

.search { flex: 1; position: relative; display: flex; min-width: 0; }
.search input { width: 100%; height: 46px; border: 0; border-radius: var(--r-btn); padding: 0 56px 0 18px; background: #fff; color: var(--text); font-size: 15px; outline: none; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .15s; }
.search input:focus { box-shadow: inset 0 0 0 2px var(--sun); }
.search input::-webkit-search-cancel-button { display: none; }
.search-go { position: absolute; right: 5px; top: 5px; width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--navy); color: #fff; display: grid; place-items: center; }
.search-go:hover { background: var(--ink); }
.search-go svg { width: 18px; height: 18px; }
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; color: var(--text); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 8px; z-index: 50; max-height: 70vh; overflow: auto; }
.suggest-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 8px 10px 4px; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: var(--r-sm); font-size: 14px; }
.suggest a.active, .suggest a:hover { background: var(--brand-50); }
.suggest a mark { background: none; font-weight: 700; color: var(--ink); }
.suggest .thumb { width: 40px; height: 40px; border-radius: 6px; flex-shrink: 0; background: #fff; border: 1px solid var(--line); object-fit: contain; padding: 2px; }
.suggest .thumb.round { border-radius: 50%; padding: 0; border: 0; }
.suggest .s-price { margin-left: auto; font-weight: 700; color: var(--ink); white-space: nowrap; }
.suggest-empty { padding: 14px; color: var(--muted); font-size: 14px; }

.head-link { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: var(--r-btn); color: #fff; text-align: left; white-space: nowrap; }
.head-link:hover { background: rgba(255, 255, 255, .12); }
.head-link small { display: block; font-size: 12px; opacity: .85; font-weight: 500; line-height: 1.2; }
.head-link strong { display: block; font-size: 14px; line-height: 1.25; }
.cart-link { flex-direction: column; gap: 0; padding: 4px 12px; }
.cart-link strong { font-size: 12px; font-weight: 600; }
.cart-icon { position: relative; }
.cart-icon svg { width: 26px; height: 26px; }
.cart-count { position: absolute; top: -6px; right: -10px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--sun); color: var(--navy); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.cart-count.bump { animation: bump .45s ease; }
@keyframes bump { 30% { transform: scale(1.35); } }
.subnav { max-width: var(--wrap); margin: 0 auto; padding: 0 calc(var(--gutter) - 12px) 10px; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { padding: 6px 12px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500; white-space: nowrap; color: #E4E2FF; }
.subnav a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.subnav a.active { background: #fff; color: var(--brand); font-weight: 600; }
.subnav a.deal-link { color: var(--sun); font-weight: 700; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: var(--r-btn); font-weight: 700; font-size: 15px; transition: background .15s, transform .1s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-cta { background: var(--cta); color: #fff; }
.btn-cta:hover { background: var(--cta-700); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-700); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--ink); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--brand-50); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.btn:disabled { opacity: .55; }
.link { color: var(--brand); font-weight: 600; }
.link:hover { text-decoration: underline; }

/* ---------- Home ---------- */
.home { padding-top: 18px; padding-bottom: 10px; }

/* Photo tiles: the photo fills the tile and the copy sits on top.
   .dark = dark text on a light photo, .light = white text on a dark photo, .clean = photo needs no fade. */
.tile { position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); background: #E9E7F2; color: var(--ink); isolation: isolate; }
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.tile:hover > img { transform: scale(1.04); }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.tile.dark::before { background: linear-gradient(180deg, rgba(255, 255, 255, .72) 0%, rgba(255, 255, 255, .3) 30%, rgba(255, 255, 255, 0) 52%); }
.tile.light { color: #fff; }
.tile.light::before { background: linear-gradient(180deg, rgba(14, 11, 46, .6) 0%, rgba(14, 11, 46, .22) 38%, rgba(14, 11, 46, 0) 60%); }
.tile.clean::before { display: none; }
.tile:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.tile-copy { position: relative; padding: 20px 22px; max-width: 32ch; }
.tile-eyebrow { display: block; font-size: 13px; font-weight: 700; margin-bottom: 4px; opacity: .85; }
.tile-title { font-size: 21px; line-height: 1.12; font-weight: 800; letter-spacing: -.025em; color: inherit; }
.tile-copy p { font-size: 15px; margin-top: 8px; opacity: .88; max-width: 30ch; }
.tile-link { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.pill { display: inline-flex; align-items: center; height: 40px; margin-top: 16px; padding: 0 20px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--ink); transition: background .2s, color .2s; }
.tile:hover .pill { background: var(--ink); color: #fff; }
.tile.light .pill { box-shadow: none; }

/* Hero carousel: four slots that change together */
.mosaic { position: relative; display: grid; grid-template-columns: 1.18fr .5fr .5fr; grid-template-rows: repeat(2, 203px); grid-template-areas: "a b b" "a c d"; gap: 16px; }
.hslot { position: relative; overflow: hidden; border-radius: var(--r-lg); background: #ECEAF4; isolation: isolate; }
.hslot-a { grid-area: a; }
.hslot-b { grid-area: b; }
.hslot-c { grid-area: c; }
.hslot-d { grid-area: d; }
.hslot > .tile { position: absolute; inset: 0; border-radius: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.hslot > .tile.on { opacity: 1; visibility: visible; z-index: 1; transition: opacity .9s ease; }
.hslot > .tile > img { transform: scale(1.06); transition: transform 1.8s cubic-bezier(.2, .7, .2, 1); }
.hslot > .tile.on > img { transform: none; }
.hslot:hover > .tile.on > img { transform: scale(1.03); }
.hslot > .tile:focus-visible { outline-offset: -4px; }
.hslot-b .tile-copy { max-width: 22ch; }
.tile-big .tile-copy { padding: 30px 32px; max-width: 30ch; }
.tile-big .tile-title { font-size: clamp(30px, 2.9vw, 42px); line-height: 1.04; letter-spacing: -.035em; }
.tile-big .tile-copy p { font-size: 15.5px; }

.mosaic-ctrl { grid-area: a; align-self: end; justify-self: start; z-index: 5; display: flex; align-items: center; gap: 2px; margin: 0 0 14px 16px; padding: 2px 4px; border-radius: 999px; color: #fff; background: rgba(18, 15, 48, .16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mc-btn { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: inherit; opacity: .85; transition: opacity .15s, background .15s; }
.mc-btn:hover { opacity: 1; background: rgba(255, 255, 255, .16); }
.mc-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .25)); }
.mc-dot { height: 28px; padding: 0 3px; display: grid; place-items: center; }
.mc-dot i { display: block; width: 18px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .45); position: relative; overflow: hidden; transition: width .35s ease, background .2s; }
.mc-dot:hover i { background: rgba(255, 255, 255, .75); }
.mc-dot.on i { width: 30px; }
.mc-dot.on i::after { content: ''; position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .1s linear; }
.mosaic.stopped .mc-dot.on i::after { transform: none; }
.deals-first { margin-top: 30px; }

/* Photo next to a short product rail */
.scene { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 28px; }
.scene-photo { min-height: 420px; }
.scene-photo .tile-title { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.06; letter-spacing: -.03em; }
.scene-photo .tile-copy { padding: 30px 32px; }
.scene.flip .scene-photo { order: 2; }
.scene-side { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.rail.rail-3 { grid-auto-columns: calc((100% - 2 * 16px) / 3); }

.section { margin-top: 44px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.section-head p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.section-head > .link { white-space: nowrap; }

.deal-bar { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; }
.countdown-inline { display: inline-flex; gap: 4px; align-items: center; font-weight: 700; color: var(--deal); background: var(--deal-50); padding: 5px 10px; border-radius: 6px; font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 16px) / 6); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 14px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-btn { position: absolute; top: 34%; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-hover); display: grid; place-items: center; z-index: 3; color: var(--ink); }
.rail-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rail-btn.prev { left: -18px; }
.rail-btn.next { right: -18px; }
.rail-btn:hover { background: var(--brand-50); }

.grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.wholesale { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; background: linear-gradient(120deg, var(--navy), var(--brand-700)); color: #fff; border-radius: var(--r-lg); padding: 40px 44px; }
.wholesale h2 { color: #fff; font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.wholesale p { color: #CFCCF5; margin: 10px 0 22px; font-size: 16px; max-width: 520px; }
.compare { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r); padding: 20px; }
.compare-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.compare-row + .compare-row { border-top: 1px solid rgba(255, 255, 255, .1); }
.compare-row .bar { height: 12px; border-radius: 6px; background: #7A78A0; }
.compare-row.us .bar { background: var(--sun); }
.compare-row .lbl { width: 120px; font-size: 13px; color: #CFCCF5; }
.compare-row .val { margin-left: auto; font-weight: 800; }

/* ---------- Product card ---------- */
.card { background: #fff; border-radius: var(--r); overflow: hidden; position: relative; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.card-media { --pad: 22px; display: block; position: relative; aspect-ratio: 1; background: #fff; border-bottom: 1px solid #F0EFF5; overflow: hidden; }
.card-media img { position: absolute; inset: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); object-fit: contain; transition: transform .35s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.badge { position: absolute; top: 10px; left: 10px; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--brand-50); color: var(--brand); z-index: 1; }
.badge.drop { background: var(--deal); color: #fff; }
.badge.best { background: var(--navy); color: #fff; }
.badge.only { background: var(--sun); color: var(--navy); }
.badge.new { background: var(--save); color: #fff; }
.coupon-tag { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--cta-700); background: #FFF1E8; padding: 2px 7px; border-radius: 5px; }
.coupon-tag svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.coupon-tag.on { color: var(--save); background: var(--save-50); }
.coupon-tag:hover { text-decoration: underline; }
.pdp-coupon { display: flex; align-items: center; gap: 12px; margin-top: 8px; font-size: 13px; }
.wish { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(22, 19, 63, .14); z-index: 1; color: var(--ink); }
.wish svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.wish.on { color: var(--deal); }
.wish.on svg { fill: currentColor; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.card-title { font-size: 14px; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; line-height: 1.5; }
.card-title:hover { text-decoration: underline; }
.unit { font-size: 12.5px; color: var(--muted); }
.bulk-tag { font-size: 12px; font-weight: 600; color: var(--brand); }
.card-actions { margin-top: auto; padding-top: 8px; }
.card-actions .btn { width: 100%; height: 40px; }
.stepper { display: flex; align-items: center; justify-content: space-between; height: 40px; border-radius: var(--r-btn); background: var(--brand-50); color: var(--brand); font-weight: 800; }
.stepper button { width: 44px; height: 100%; font-size: 20px; font-weight: 700; color: var(--brand); border-radius: var(--r-btn); }
.stepper button:hover { background: var(--brand-100); }
.stepper span { font-size: 14px; }

.price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price { display: inline-flex; align-items: flex-start; font-weight: 800; color: var(--ink); line-height: 1; }
.price .cur { font-size: .58em; margin-top: .1em; margin-right: 1px; }
.price .cents { font-size: .58em; margin-top: .1em; }
.price.sale { color: var(--save); }
.price-now { font-size: 13px; font-weight: 700; color: var(--save); align-self: center; }
.price-sm { font-size: 22px; }
.price-lg { font-size: 38px; }
.was { color: var(--muted); text-decoration: line-through; font-size: 13px; }
.save-pill { display: inline-block; font-size: 12px; font-weight: 700; color: var(--save); background: var(--save-50); padding: 3px 8px; border-radius: 6px; }

.rating { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); line-height: 1; }
.rating > span:not(.stars) { line-height: 14px; }
.stars { --r: 4.5; display: inline-flex; align-items: center; height: 14px; font-size: 14px; letter-spacing: 1px; line-height: 1; }
.stars::before { content: '★★★★★'; line-height: 1; background: linear-gradient(90deg, var(--star) calc(var(--r) / 5 * 100%), #D8D7E3 calc(var(--r) / 5 * 100%)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stars.lg { font-size: 18px; height: 18px; }

/* ---------- Listing / search ---------- */
.page { padding-top: 24px; padding-bottom: 20px; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.list-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.list-head h1 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.list-head p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.list-tools { display: flex; gap: 10px; align-items: center; }
.select { height: 40px; border-radius: var(--r-btn); border: 1.5px solid var(--line); background: #fff; padding: 0 36px 0 14px; font-weight: 600; font-size: 14px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1838' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; cursor: pointer; }
.filter-toggle { display: none; }
.listing { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; }
.filters { background: #fff; border-radius: var(--r); padding: 8px 18px; box-shadow: var(--shadow); position: sticky; top: 140px; max-height: calc(100vh - 160px); overflow: auto; }
.f-group { padding: 14px 0; border-bottom: 1px solid var(--line); }
.f-group:last-child { border-bottom: 0; }
.f-group h4 { font-size: 14px; margin-bottom: 10px; }
.f-opt { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; cursor: pointer; }
.f-opt input { width: 18px; height: 18px; accent-color: var(--brand); cursor: pointer; flex-shrink: 0; }
.f-opt .count { margin-left: auto; color: var(--muted); font-size: 12px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: var(--r-sm); background: var(--brand-50); color: var(--brand); font-size: 13px; font-weight: 600; }
.chip:hover { background: var(--brand-100); }
.chip span { font-weight: 500; opacity: .7; }
.chip.on { background: var(--brand); color: #fff; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.empty { text-align: center; background: #fff; border-radius: var(--r-lg); padding: 56px 24px; box-shadow: var(--shadow); }
.empty .e-art { width: 180px; margin: 0 auto 18px; border-radius: 50%; overflow: hidden; }
.empty h2 { font-size: 22px; margin-bottom: 8px; }
.empty p { color: var(--muted); margin-bottom: 20px; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: start; }
.pdp > *, .checkout > *, .cart-page > *, .listing > * { min-width: 0; }
.gallery { display: grid; grid-template-columns: 76px 1fr; gap: 14px; position: sticky; top: 140px; }
.thumbs { display: flex; flex-direction: column; gap: 10px; }
.thumbs button { width: 76px; height: 76px; border-radius: var(--r-sm); overflow: hidden; background: #fff; border: 1.5px solid var(--line); padding: 6px; }
.thumbs button.on { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.thumbs .zoom img { transform: scale(1.7); }
.main-img { border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); position: relative; aspect-ratio: 1; padding: 40px; cursor: zoom-in; }
.main-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.main-img.zoomed { cursor: zoom-out; }
.main-img.zoomed img { transform: scale(1.7); }
.buy-box { display: flex; flex-direction: column; gap: 16px; }
.pdp-brand { color: var(--brand); font-weight: 700; font-size: 14px; }
.pdp h1 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.pdp .rating { font-size: 14px; }
.pdp-price { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.opt-label { font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 8px; }
.opt-label span { font-weight: 500; color: var(--muted); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tier { border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; font-size: 13px; transition: border-color .15s, background .15s; }
.tier strong { display: block; color: var(--ink); font-size: 15px; }
.tier.on { border-color: var(--save); background: var(--save-50); }
.tier .off { color: var(--save); font-weight: 700; }
.buy-row { display: flex; gap: 12px; align-items: center; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-btn); height: 44px; background: #fff; }
.qty button { width: 40px; height: 100%; font-size: 18px; font-weight: 700; color: var(--ink); border-radius: var(--r-btn); }
.qty button:hover { background: var(--bg); }
.qty span { min-width: 26px; text-align: center; font-weight: 700; }
.qty.sm { height: 36px; }
.qty.sm button { width: 34px; }
.buy-row .btn-cta { flex: 1; min-width: 0; white-space: nowrap; }
.notice { display: flex; gap: 10px; align-items: flex-start; background: #FFF6E5; color: #7A4B00; border-radius: var(--r-sm); padding: 10px 14px; font-size: 13px; }
.notice.info { background: var(--brand-50); color: var(--brand-700); }
.perks { display: grid; gap: 10px; background: var(--bg); border-radius: var(--r); padding: 16px; font-size: 14px; }
.perks div { display: flex; gap: 10px; align-items: center; }
.perks svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stock-low { color: var(--deal); font-weight: 600; font-size: 13px; }
.details { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { background: #fff; border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); }
.panel h2 { font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.panel ul.hl { display: grid; gap: 10px; }
.panel ul.hl li { display: flex; gap: 10px; }
.panel ul.hl li::before { content: ''; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--sun); flex-shrink: 0; }
.panel .desc { color: #4B4A60; margin-top: 16px; }
.specs { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { color: var(--muted); font-weight: 500; width: 42%; }
.reviews { grid-column: 1 / -1; display: grid; grid-template-columns: 280px 1fr; gap: 30px; }
.r-summary .big { font-size: 48px; font-weight: 800; color: var(--ink); line-height: 1; }
.r-bars { margin-top: 16px; display: grid; gap: 6px; font-size: 13px; }
.r-bar { display: grid; grid-template-columns: 44px 1fr 40px; gap: 8px; align-items: center; color: var(--muted); }
.r-bar .track { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.r-bar .fill { height: 100%; background: var(--star); border-radius: 4px; }
.review { padding: 16px 0; border-bottom: 1px solid var(--line); }
.review:first-child { padding-top: 0; }
.review:last-child { border-bottom: 0; }
.review h4 { font-size: 15px; margin: 6px 0 4px; }
.review p { color: #4B4A60; font-size: 14px; }
.review .who { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.verified { color: var(--save); font-weight: 600; }

/* ---------- Basket ---------- */
.cart-page { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
.cart-list { background: #fff; border-radius: var(--r-lg); padding: 8px 24px; box-shadow: var(--shadow); }
.ship-progress { background: #fff; border-radius: var(--r); padding: 16px 20px; box-shadow: var(--shadow); margin-bottom: 16px; font-size: 14px; }
.ship-progress .track { height: 8px; border-radius: 4px; background: var(--line); margin-top: 10px; overflow: hidden; }
.ship-progress .fill { height: 100%; background: linear-gradient(90deg, var(--brand), #7C74F0); border-radius: 4px; transition: width .4s; }
.ship-progress.done .fill { background: var(--save); }
.line-item { display: grid; grid-template-columns: 100px 1fr auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line-item:last-child { border-bottom: 0; }
.li-img { width: 100px; height: 100px; border-radius: var(--r-sm); border: 1px solid var(--line); padding: 8px; background: #fff; }
.li-img img { width: 100%; height: 100%; object-fit: contain; }
.li-name { font-size: 15px; font-weight: 600; color: var(--ink); }
.li-name:hover { text-decoration: underline; }
.li-meta { font-size: 13px; color: var(--muted); margin-top: 4px; }
.li-bulk { font-size: 12.5px; color: var(--save); font-weight: 600; margin-top: 4px; }
.li-actions { display: flex; gap: 8px 16px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.li-actions .link-btn { font-size: 13px; color: var(--muted); font-weight: 600; text-decoration: underline; white-space: nowrap; }
.li-actions .link-btn:hover { color: var(--ink); }
.li-price { text-align: right; }
.summary { background: #fff; border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); position: sticky; top: 140px; display: grid; gap: 12px; }
.summary h2 { font-size: 20px; font-weight: 800; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.sum-row.save { color: var(--save); font-weight: 600; }
.sum-row.total { font-size: 18px; font-weight: 800; color: var(--ink); border-top: 1px solid var(--line); padding-top: 14px; }
.sum-note { font-size: 12px; color: var(--muted); }
.promo-code { display: flex; gap: 8px; }
.input { width: 100%; height: 46px; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 0 14px; background: #fff; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s; }
.input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.secure-note { font-size: 12.5px; color: var(--muted); display: flex; gap: 6px; align-items: center; justify-content: center; }
.secure-note svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- Checkout ---------- */
.checkout { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
.steps { display: flex; gap: 8px; margin-bottom: 18px; font-size: 13px; font-weight: 600; color: var(--muted); align-items: center; flex-wrap: wrap; }
.steps .s { display: flex; align-items: center; gap: 8px; }
.steps .n { width: 24px; height: 24px; border-radius: 50%; background: var(--line); display: grid; place-items: center; font-size: 12px; }
.steps .s.on { color: var(--ink); }
.steps .s.on .n { background: var(--brand); color: #fff; }
.steps .line { width: 28px; height: 2px; background: var(--line); }
.form-card { background: #fff; border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); margin-bottom: 16px; }
.form-card h2 { font-size: 18px; font-weight: 800; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field label small { font-weight: 500; color: var(--muted); }
.radio-card { display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; cursor: pointer; margin-bottom: 10px; }
.radio-card:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.radio-card input { accent-color: var(--brand); width: 18px; height: 18px; }
.radio-card .rc-main { flex: 1; }
.radio-card strong { display: block; font-size: 14px; }
.radio-card span { font-size: 13px; color: var(--muted); }
.slot-days { display: flex; gap: 8px; margin: 6px 0 12px; overflow-x: auto; }
.slot-days button { flex: 1; min-width: 96px; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 8px 10px; font-size: 13px; font-weight: 600; text-align: center; background: #fff; }
.slot-days button.on { border-color: var(--brand); background: var(--brand); color: #fff; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot { border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 10px; font-size: 13px; text-align: center; background: #fff; }
.slot b { display: block; color: var(--ink); font-size: 14px; }
.slot.on { border-color: var(--brand); background: var(--brand-50); }
.slot:disabled { background: var(--bg); color: #A9A8BA; text-decoration: line-through; }
.slot:disabled b { color: #A9A8BA; }
.check-row { display: flex; gap: 10px; align-items: center; font-size: 14px; margin-top: 12px; }
.check-row input { width: 18px; height: 18px; accent-color: var(--brand); }
.demo-note { background: #FFF6E5; color: #7A4B00; border-radius: var(--r-sm); padding: 10px 14px; font-size: 13px; margin-bottom: 14px; }
.mini-items { display: grid; gap: 10px; max-height: 260px; overflow: auto; padding-top: 6px; }
.mini-item { display: flex; gap: 12px; align-items: center; font-size: 13px; }
.mini-item .thumb { width: 52px; height: 52px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; flex-shrink: 0; position: relative; padding: 4px; }
.mini-item .thumb img { width: 100%; height: 100%; object-fit: contain; }
.mini-item .q { position: absolute; top: -6px; right: -6px; background: var(--navy); color: #fff; font-size: 10px; font-weight: 700; border-radius: 8px; padding: 0 5px; line-height: 16px; }
.mini-item .nm { flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Order confirmation ---------- */
.confirm { max-width: 720px; margin: 0 auto; text-align: center; }
.confirm .tick { width: 76px; height: 76px; border-radius: 50%; background: var(--save-50); color: var(--save); display: grid; place-items: center; margin: 10px auto 18px; }
.confirm .tick svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.confirm h1 { font-size: 30px; font-weight: 800; }
.confirm > p { color: var(--muted); margin: 8px 0 24px; }
.confirm .panel { text-align: left; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0 6px; }
.timeline div { font-size: 12.5px; color: var(--muted); }
.timeline div::before { content: ''; display: block; height: 6px; border-radius: 3px; background: var(--line); margin-bottom: 8px; }
.timeline div.on { color: var(--ink); font-weight: 600; }
.timeline div.on::before { background: var(--save); }

/* ---------- Sign in ---------- */
.auth { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); max-width: 1000px; margin: 10px auto; }
.auth-side { background: linear-gradient(150deg, var(--brand), var(--navy)); color: #fff; padding: 44px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.auth-side h2 { color: #fff; font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.auth-side p { color: #CFCCF5; margin-top: 10px; }
.auth-side ul { display: grid; gap: 12px; }
.auth-side li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.auth-side li::before { content: '✓'; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .15); display: grid; place-items: center; font-size: 13px; font-weight: 800; color: var(--sun); flex-shrink: 0; }
.auth-art { display: flex; gap: 12px; }
.auth-art img { width: 90px; border-radius: 50%; box-shadow: 0 6px 20px rgba(0, 0, 0, .2); }
.auth-form { padding: 44px; display: grid; gap: 14px; align-content: start; }
.tabs { display: flex; background: var(--bg); border-radius: var(--r-btn); padding: 4px; margin-bottom: 8px; }
.tabs button { flex: 1; height: 40px; border-radius: var(--r-sm); font-weight: 700; font-size: 14px; color: var(--muted); }
.tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(22, 19, 63, .1); }
.divider { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.fine { font-size: 12px; color: var(--muted); text-align: center; }

/* ---------- Account ---------- */
.account-head { display: flex; align-items: center; gap: 18px; background: #fff; border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); margin-bottom: 20px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), #8B84F5); color: #fff; display: grid; place-items: center; font-size: 24px; font-weight: 800; flex-shrink: 0; }
.account-head h1 { font-size: 24px; font-weight: 800; }
.account-head .btn { margin-left: auto; }
.acc-grid { display: grid; grid-template-columns: 240px 1fr; gap: 20px; align-items: start; }
.acc-nav { background: #fff; border-radius: var(--r); padding: 8px; box-shadow: var(--shadow); display: grid; gap: 2px; }
.acc-nav button { text-align: left; padding: 12px 14px; border-radius: var(--r-sm); font-weight: 600; font-size: 14px; white-space: nowrap; }
.acc-nav button.on { background: var(--brand-50); color: var(--brand); }
.acc-nav button:hover:not(.on) { background: var(--bg); }
.order-card { border: 1.5px solid var(--line); border-radius: var(--r); padding: 16px 18px; margin-bottom: 12px; }
.order-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.order-top strong { color: var(--ink); }
.order-thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.order-thumbs img { width: 52px; height: 52px; border-radius: var(--r-sm); border: 1px solid var(--line); object-fit: contain; padding: 4px; background: #fff; }
.status { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--brand-50); color: var(--brand); }

/* ---------- Credits ---------- */
.credits-h { font-size: 19px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 8px; color: var(--ink); }
.credits-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.credit { display: flex; gap: 12px; align-items: center; font-size: 13px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px; background: #fff; }
.credit img { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }
.credit a { color: var(--brand); word-break: break-all; }

/* ---------- Drawer, modal, toast ---------- */
.scrim { position: fixed; inset: 0; background: rgba(22, 19, 63, .45); z-index: 60; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; z-index: 70; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); animation: slideIn .28s cubic-bezier(.2, .8, .2, 1); }
.drawer-left { right: auto; left: 0; animation-name: slideInL; }
@keyframes slideIn { from { transform: translateX(100%); } }
@keyframes slideInL { from { transform: translateX(-100%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 17px; display: flex; gap: 10px; align-items: center; }
.drawer-head .ok { width: 26px; height: 26px; border-radius: 50%; background: var(--save); color: #fff; display: grid; place-items: center; font-size: 14px; }
.close-btn { width: 36px; height: 36px; border-radius: var(--r-sm); display: grid; place-items: center; color: var(--ink); }
.close-btn:hover { background: var(--bg); }
.close-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.drawer-body { padding: 20px 22px; overflow: auto; flex: 1; display: grid; gap: 16px; align-content: start; }
.drawer-foot { padding: 18px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.added { display: flex; gap: 14px; align-items: center; }
.added .thumb { width: 84px; height: 84px; border-radius: var(--r-sm); border: 1px solid var(--line); padding: 6px; flex-shrink: 0; }
.added .thumb img { width: 100%; height: 100%; object-fit: contain; }
.added .nm { font-size: 14px; font-weight: 600; color: var(--ink); }
.mini-rec { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mini-rec a { border: 1.5px solid var(--line); border-radius: var(--r-sm); overflow: hidden; font-size: 12.5px; }
.mini-rec a:hover { border-color: var(--brand); }
.mini-rec img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 12px; }
.mini-rec .t { padding: 8px 10px; border-top: 1px solid var(--line); }
.mini-rec .t b { display: block; font-size: 14px; color: var(--ink); }
.nav-list a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r-sm); font-weight: 600; }
.nav-list a:hover { background: var(--brand-50); }
.nav-list img { width: 40px; height: 40px; border-radius: 50%; }
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(22, 19, 63, .45); animation: fade .2s; }
.modal-box { background: #fff; border-radius: var(--r-lg); padding: 26px; width: min(420px, 100%); box-shadow: var(--shadow-lg); display: grid; gap: 14px; }
.modal-box h3 { font-size: 20px; font-weight: 800; }
.modal-box p { color: var(--muted); font-size: 14px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 160%); opacity: 0; visibility: hidden; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: var(--r-btn); font-weight: 600; font-size: 14px; z-index: 90; transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .3s, visibility .3s; box-shadow: var(--shadow-lg); max-width: calc(100% - 32px); display: flex; gap: 14px; align-items: center; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast a { color: var(--sun); font-weight: 700; white-space: nowrap; }

/* ---------- Live chat ---------- */
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 65; height: 54px; padding: 0 20px 0 16px; border-radius: 27px; background: var(--brand); color: #fff; display: flex; gap: 10px; align-items: center; box-shadow: 0 10px 30px rgba(62, 54, 200, .4); font-weight: 700; font-size: 15px; transition: transform .2s, background .2s; }
.chat-fab:hover { background: var(--brand-700); transform: translateY(-2px); }
.chat-fab svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chat-fab .unread { position: absolute; top: -4px; right: -2px; width: 20px; height: 20px; border-radius: 50%; background: var(--cta); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.chat-panel { position: fixed; right: 20px; bottom: 88px; width: min(370px, calc(100% - 32px)); height: min(540px, calc(100vh - 120px)); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; z-index: 66; overflow: hidden; animation: pop .22s cubic-bezier(.2, .8, .2, 1); transform-origin: bottom right; }
@keyframes pop { from { opacity: 0; transform: scale(.92) translateY(10px); } }
.chat-head { background: linear-gradient(135deg, var(--brand), var(--brand-700)); color: #fff; padding: 16px 16px 16px 18px; display: flex; gap: 12px; align-items: center; }
.chat-head .av { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex-shrink: 0; }
.chat-head .av svg { width: 26px; height: 26px; }
.chat-head strong { display: block; font-size: 15px; }
.chat-head small { font-size: 12px; color: #D9D6FF; display: flex; align-items: center; gap: 6px; }
.chat-head small::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #34D399; }
.chat-head .close-btn { margin-left: auto; color: #fff; }
.chat-head .close-btn:hover { background: rgba(255, 255, 255, .15); }
.chat-body { flex: 1; overflow: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.msg { max-width: 84%; padding: 10px 13px; border-radius: 14px; font-size: 14px; line-height: 1.45; animation: fade .2s; }
.msg.bot { background: #fff; border-bottom-left-radius: 4px; box-shadow: 0 1px 3px rgba(22, 19, 63, .08); align-self: flex-start; }
.msg.me { background: var(--brand); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg a { color: var(--brand); font-weight: 700; }
.typing { display: inline-flex; gap: 4px; padding: 14px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #A9A8BA; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.quick { display: flex; flex-wrap: wrap; gap: 6px; }
.quick button { border: 1.5px solid var(--brand-100); color: var(--brand); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; }
.quick button:hover { background: var(--brand-50); }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-input input { flex: 1; height: 42px; border: 1.5px solid var(--line); border-radius: var(--r-btn); padding: 0 12px; outline: none; font-size: 14px; min-width: 0; }
.chat-input input:focus { border-color: var(--brand); }
.chat-input button { width: 42px; height: 42px; border-radius: var(--r-btn); background: var(--brand); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.chat-input button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.chat-foot { font-size: 11px; color: var(--muted); text-align: center; padding: 0 12px 10px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #CFCCF5; margin-top: 64px; }
.footer-news { max-width: var(--wrap); margin: 0 auto; padding: 40px var(--gutter); display: flex; justify-content: space-between; gap: 24px; align-items: center; flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-news h3 { color: #fff; font-size: 22px; font-weight: 800; }
.footer-news p { font-size: 14px; margin-top: 4px; }
.news-form { display: flex; gap: 8px; flex: 0 1 440px; }
.news-form input { flex: 1; height: 44px; border-radius: var(--r-btn); border: 0; padding: 0 16px; min-width: 0; outline: none; }
.footer-cols { max-width: var(--wrap); margin: 0 auto; padding: 36px var(--gutter); display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.footer-cols h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.footer-cols li { margin-bottom: 8px; font-size: 14px; }
.footer-cols a:hover { color: #fff; text-decoration: underline; }
.logo-footer { margin-bottom: 12px; }
.muted-light { font-size: 14px; max-width: 280px; }
.footer-bottom { max-width: var(--wrap); margin: 0 auto; padding: 18px var(--gutter) 28px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom a { text-decoration: underline; }
.pay-icons { display: flex; gap: 6px; }
.pay-icons i { font-style: normal; font-size: 11px; font-weight: 800; background: rgba(255, 255, 255, .1); padding: 4px 8px; border-radius: 5px; color: #fff; }

/* ---------- Collections ---------- */
.col-banner { height: 230px; margin-bottom: 18px; }
.col-banner:hover > img { transform: none; }
.col-banner .tile-title { font-size: clamp(28px, 2.8vw, 38px); line-height: 1.05; letter-spacing: -.03em; }
.col-banner .tile-copy { padding: 28px 32px; max-width: 46ch; }
.col-banner > img { object-position: 100% 50%; }
.col-banner.dark::before { background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .78) 32%, rgba(255, 255, 255, 0) 62%); }
.col-banner.light::before { background: linear-gradient(90deg, rgba(14, 11, 46, .78) 0%, rgba(14, 11, 46, .45) 38%, rgba(14, 11, 46, 0) 64%); }
.col-switch { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.col-switch button { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--ink); font-size: 14px; font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--line); }
.col-switch button.on { background: var(--ink); color: #fff; box-shadow: none; }
.col-switch svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.col-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.col-bar .chips { margin-bottom: 0; }
.col-bar .select { flex-shrink: 0; }

.dotd { display: grid; grid-template-columns: 1.1fr 220px 1fr; gap: 28px; align-items: center; padding: 26px 32px; margin-bottom: 18px; border-radius: var(--r-lg); background: linear-gradient(110deg, var(--brand-50), #fff 62%); box-shadow: var(--shadow); }
.dotd-eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--cta); margin-bottom: 6px; }
.dotd h1 { font-size: clamp(28px, 2.8vw, 38px); font-weight: 800; letter-spacing: -.03em; }
.dotd p { color: var(--muted); margin: 6px 0 14px; max-width: 40ch; }
.dotd-media { display: block; aspect-ratio: 1; background: #fff; border-radius: var(--r); padding: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.dotd-media img { width: 100%; height: 100%; object-fit: contain; }
.dotd-info { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.dotd-name { font-size: 17px; font-weight: 700; color: var(--ink); }
.dotd-name:hover { text-decoration: underline; }
.dotd-info .unit { color: var(--muted); font-size: 13px; }
.dotd-info .card-actions { width: 220px; padding-top: 4px; }

.coupon-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 30px 34px; border-radius: var(--r-lg); color: #fff; background: linear-gradient(120deg, var(--navy), var(--brand-700)); }
.coupon-hero h1 { color: #fff; font-size: clamp(28px, 2.8vw, 38px); font-weight: 800; letter-spacing: -.03em; }
.coupon-hero p { color: #CFCCF5; margin-top: 6px; max-width: 52ch; }
.coupon-hero .dotd-eyebrow { color: var(--sun); }
.coupon-hero-side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.coupon-stats { color: #CFCCF5; font-size: 14px; }
.coupon-stats b { color: #fff; }
.code-card { display: flex; align-items: center; gap: 20px; margin-top: 16px; padding: 16px 20px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.code-text { flex: 1 1 240px; min-width: 0; display: grid; gap: 2px; }
.code-text span { font-size: 14px; color: var(--muted); }
.code-ticket { display: grid; place-items: center; min-width: 120px; padding: 10px 16px; border: 2px dashed var(--brand-100); border-radius: var(--r); background: var(--brand-50); }
.code-ticket span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.code-ticket b { font-size: 20px; font-weight: 800; letter-spacing: .04em; color: var(--brand); }
.code-text { flex: 1; min-width: 0; }
.code-text strong { display: block; color: var(--ink); }
.code-text span { font-size: 14px; color: var(--muted); }
.coupon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.coupon { display: flex; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; transition: box-shadow .2s; }
.coupon:hover { box-shadow: var(--shadow-hover); }
.coupon-img { flex: 0 0 112px; display: grid; place-items: center; padding: 14px; border-right: 2px dashed var(--line); }
.coupon-img img { width: 84px; height: 84px; object-fit: contain; }
.coupon-body { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 14px 16px; min-width: 0; }
.coupon-off { font-size: 20px; font-weight: 800; color: var(--cta-700); letter-spacing: -.02em; }
.coupon-name { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.coupon-name:hover { text-decoration: underline; }
.coupon-meta { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.coupon.on { box-shadow: inset 0 0 0 2px var(--save), var(--shadow); }
.coupon.on .coupon-off { color: var(--save); }
.coupon .btn svg { width: 16px; height: 16px; stroke-width: 2.2; }
.drawer-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 14px 12px 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1360px) {
  .grid { grid-template-columns: repeat(5, 1fr); }
  .rail { grid-auto-columns: calc((100% - 4 * 16px) / 5); }
}
@media (max-width: 1180px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .rail { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
  :root { --gutter: 24px; }
  .coupon-grid { grid-template-columns: repeat(3, 1fr); }
  .dotd { grid-template-columns: 1fr 180px 1fr; padding: 22px 24px; }
  .ful-txt small { display: none; }
  .mosaic { grid-template-rows: repeat(2, 190px); gap: 14px; }
}
@media (max-width: 960px) {
  .header-inner { flex-wrap: wrap; row-gap: 10px; position: relative; }
  .ful-wrap { order: 11; flex-basis: 100%; position: static; }
  .ful-btn { width: 100%; padding: 7px 12px; gap: 8px; }
  .ful-ico svg { width: 18px; height: 18px; }
  .ful-txt { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
  .ful-txt strong { font-size: 13px; }
  .ful-txt small { display: block; max-width: none; }
  .ful-btn .chev { margin-left: auto; }
  .ful-menu { left: var(--gutter); right: auto; width: calc(100% - 2 * var(--gutter)); max-width: 440px; top: calc(100% - 2px); }
  .coupon-grid { grid-template-columns: repeat(2, 1fr); }
  .dotd { grid-template-columns: 180px 1fr; }
  .dotd-copy { grid-column: 1 / -1; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 400px 220px 220px; grid-template-areas: "a a" "b b" "c d"; }
  .scene { grid-template-columns: 1fr; gap: 20px; }
  .scene-photo { min-height: 340px; }
  .scene.flip .scene-photo { order: 0; }
  .rail-btn.prev { left: 4px; }
  .rail-btn.next { right: 4px; }
  .wholesale { grid-template-columns: 1fr; padding: 30px; }
  .listing { grid-template-columns: 1fr; }
  .filters { position: static; display: none; max-height: none; }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; }
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .details { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .cart-page, .checkout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { padding: 30px; }
  .acc-grid { grid-template-columns: 1fr; }
  .acc-nav { display: flex; overflow-x: auto; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .dept-wrap { display: none; }
  .menu-btn { display: grid; }
  .slots { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .header-inner { flex-wrap: wrap; padding: 10px 16px; gap: 8px; }
  .logo { font-size: 22px; margin-right: auto; }
  .logo-mark { width: 30px; height: 30px; }
  .search { order: 10; flex-basis: 100%; }
  .search input { height: 44px; }
  .head-link small { display: none; }
  .head-link#accountLink strong { display: none; }
  .subnav { padding: 0 4px 8px; }
  .announce { font-size: 12px; }
  .hide-sm { display: none; }
  .home { padding-top: 16px; }
  .mosaic { gap: 12px; grid-template-rows: 480px 200px 200px; }
  .mosaic-ctrl { margin: 0 0 12px 12px; }
  .coupon-grid { grid-template-columns: 1fr; }
  .coupon-hero { padding: 24px 22px; }
  .coupon-hero-side { align-items: flex-start; }
  .code-card { flex-wrap: wrap; gap: 14px; }
  .code-card .btn { width: 100%; }
  .dotd { grid-template-columns: 120px 1fr; gap: 16px; padding: 20px; }
  .dotd-info .card-actions { width: 100%; }
  .col-banner { height: 260px; }
  .col-banner .tile-copy { padding: 22px; }
  .col-banner.dark::before { background: linear-gradient(180deg, rgba(255, 255, 255, .93) 0%, rgba(255, 255, 255, .84) 58%, rgba(255, 255, 255, .2) 100%); }
  .col-banner.light::before { background: linear-gradient(180deg, rgba(14, 11, 46, .82) 0%, rgba(14, 11, 46, .6) 50%, rgba(14, 11, 46, .1) 100%); }
  .col-bar { flex-direction: column; align-items: stretch; }
  .col-bar .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .col-bar .chip { flex-shrink: 0; }
  .tile-copy { padding: 16px 18px; }
  .tile-title { font-size: 20px; }
  .tile-big .tile-copy { padding: 24px 22px; }
  .tile-big .tile-title { font-size: 32px; }
  .tile-big { display: flex; flex-direction: column; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
  .tile-big::before { display: none; }
  .tile-big > img { position: relative; inset: auto; flex: 1; min-height: 0; height: auto; order: 2; }
  .tile-big.light { color: var(--ink); }
  .tile-big.light .pill { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .tile-big .tile-copy { max-width: none; padding-bottom: 18px; }
  .tile-big .pill { margin-top: 14px; }
  .tile-big .tile-copy p, .tile-copy p { font-size: 14px; }
  .scene-photo { min-height: 280px; }
  .scene-photo .tile-copy { padding: 22px; }
  .rail.rail-3 { grid-auto-columns: 46%; }
  .grid, .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .rail { grid-auto-columns: 46%; gap: 12px; }
  .rail-btn { display: none; }
  .card-media { --pad: 14px; }
  .card-body { padding: 10px 12px 12px; }
  .price-sm { font-size: 20px; }
  .gallery { grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; }
  .thumbs button { width: 64px; height: 64px; }
  .main-img { padding: 24px; }
  .tiers { grid-template-columns: 1fr; }
  .pdp h1 { font-size: 22px; }
  .line-item { grid-template-columns: 80px 1fr; }
  .li-img { width: 80px; height: 80px; }
  .li-price { grid-column: 2; text-align: left; }
  .form-grid { grid-template-columns: 1fr; }
  .auth-form { padding: 26px 20px; }
  .auth-art { display: none; }
  .account-head { flex-wrap: wrap; }
  .account-head .btn { margin-left: 0; }
  .footer-cols { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .list-head h1 { font-size: 22px; }
  .chat-fab { right: 16px; bottom: 16px; width: 54px; padding: 0; justify-content: center; }
  .chat-fab .lbl { display: none; }
  .chat-panel { right: 8px; left: 8px; width: auto; bottom: 80px; height: min(560px, calc(100vh - 100px)); }
  .toast { bottom: 84px; }
}

/* Shorter laptop screens: tighten the top of the home page so flash deals still show on first load */
@media (min-width: 961px) and (max-height: 820px) {
  .home { padding-top: 14px; }
  .mosaic { grid-template-rows: repeat(2, 176px); gap: 14px; }
  .tile-big .tile-copy { padding: 24px 28px; }
  .tile-big .tile-title { font-size: clamp(28px, 2.6vw, 38px); }
  .tile-copy p { font-size: 14.5px; }
  .deals-first { margin-top: 24px; }
}
