/* ============================================================
   Bazaar — free Bootstrap 5 marketplace template · uiCookies
   A dense, utilitarian multi-category superstore.
   Palette : deep teal brand · marigold deals · signal red urgency
   Type    : Big Shoulders Display (signage) · IBM Plex Sans/Mono
   ============================================================ */

:root {
  /* brand + functional color */
  --teal:        #0d5c63;
  --teal-deep:   #073f45;
  --teal-tint:   #e2eef0;
  --marigold:    #f6a609;
  --marigold-dk: #cf8500;
  --signal:      #e23744;   /* urgency / flash / discount only */
  --signal-dk:   #b71f2c;

  /* hued neutrals (blue-tinted, NOT pure grey) */
  --ink:         #17202e;
  --ink-2:       #232f41;
  --slate:       #5b6779;
  --slate-2:     #8a94a3;
  --line:        #e2e7ef;
  --line-2:      #eef1f6;
  --paper:       #f4f6fa;   /* cool page canvas */
  --surface:     #ffffff;
  --star:        #f6a609;

  --wrap: 1240px;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(23,32,46,.06), 0 1px 3px rgba(23,32,46,.04);
  --shadow-md: 0 6px 20px rgba(23,32,46,.10);
  --shadow-lg: 0 18px 44px rgba(23,32,46,.16);

  --f-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --f-body: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1; letter-spacing: .01em; margin: 0; color: var(--ink); }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-deep); }
img { max-width: 100%; display: block; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }

/* accessibility */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: var(--radius);
  font-weight: 600; transition: top .18s ease;
}
.skip-link:focus { top: 12px; color: #fff; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; border-radius: 3px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* shared bits */
.eyebrow {
  font-family: var(--f-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--teal);
}
.mono { font-family: var(--f-mono); }
.section { padding: 54px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); text-transform: uppercase; }
.section-head .sub { color: var(--slate); margin: 6px 0 0; max-width: 46ch; font-size: .95rem; }
.section-head .see-all { font-family: var(--f-mono); font-size: .82rem; font-weight: 600; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.section-head .see-all svg { width: 15px; height: 15px; }
.svg-ico { display: inline-block; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* buttons */
.btn-bz { --bg: var(--teal); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--f-body); font-weight: 600; font-size: .92rem; letter-spacing: .01em;
  padding: 12px 22px; border-radius: var(--radius); border: 1.5px solid var(--bg);
  background: var(--bg); color: var(--fg); cursor: pointer; transition: background .16s, border-color .16s, color .16s, transform .1s; }
.btn-bz:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.btn-bz:active { transform: translateY(1px); }
.btn-bz svg { width: 18px; height: 18px; }
.btn-gold { --bg: var(--marigold); --fg: #1b1403; }
.btn-gold:hover { background: var(--marigold-dk); border-color: var(--marigold-dk); color: #1b1403; }
.btn-ghost { --bg: transparent; --fg: var(--teal); border-color: var(--line); }
.btn-ghost:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn-outline { background: transparent; color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: .85rem; }

/* pill badges */
.tag { display: inline-flex; align-items: center; gap: 5px; font-family: var(--f-mono); font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 4px; }
.tag-red { background: var(--signal); color: #fff; }
.tag-gold { background: var(--marigold); color: #1b1403; }
.tag-teal { background: var(--teal-tint); color: var(--teal-deep); }
.tag-ink { background: var(--ink); color: #fff; }

/* ============================================================
   TOP UTILITY BAR
   ============================================================ */
.topbar { background: var(--ink); color: #cfd6e2; font-size: .8rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: #cfd6e2; }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); letter-spacing: .02em; }
.topbar .tb-left svg { width: 15px; height: 15px; color: var(--marigold); }
.topbar .tb-left strong { color: #fff; font-weight: 600; }
.topbar .tb-right { display: flex; align-items: center; gap: 4px; }
.topbar .tb-right .tb-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 4px; }
.topbar .tb-right .tb-link svg { width: 14px; height: 14px; }
.topbar .tb-sep { width: 1px; height: 16px; background: rgba(255,255,255,.16); }
@media (max-width: 720px) { .topbar .tb-left { display: none; } .topbar .wrap { justify-content: center; } }

/* ============================================================
   HEADER (search-forward, sticky)
   ============================================================ */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 900; }
.header-main { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand .brand-mark { width: 40px; height: 40px; border-radius: 9px; background: var(--teal); display: grid; place-items: center; flex: none; box-shadow: inset 0 -3px 0 rgba(0,0,0,.18); }
.brand .brand-mark svg { width: 24px; height: 24px; color: #fff; }
.brand .brand-word { font-family: var(--f-display); font-weight: 800; font-size: 1.9rem; line-height: .9; letter-spacing: .02em; color: var(--ink); text-transform: uppercase; }
.brand .brand-word b { color: var(--marigold); }
.brand .brand-sub { display: block; font-family: var(--f-mono); font-size: .56rem; letter-spacing: .28em; color: var(--slate); text-transform: uppercase; margin-top: 1px; }

/* search cluster */
.searchbar { flex: 1 1 auto; display: flex; align-items: stretch; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: #fff; max-width: 640px; }
.searchbar .cat-select { flex: none; border: 0; background: var(--line-2); color: var(--ink); font-family: var(--f-body); font-weight: 600; font-size: .85rem; padding: 0 14px; border-right: 1px solid var(--line); cursor: pointer; }
.searchbar .cat-select:focus-visible { outline-offset: -3px; }
.searchbar input { flex: 1 1 auto; border: 0; padding: 12px 16px; font-size: .95rem; color: var(--ink); min-width: 0; }
.searchbar input::placeholder { color: var(--slate-2); }
.searchbar input:focus { outline: none; }
.searchbar .search-btn { flex: none; border: 0; background: var(--marigold); color: #1b1403; padding: 0 20px; display: grid; place-items: center; cursor: pointer; transition: background .16s; }
.searchbar .search-btn:hover { background: var(--marigold-dk); }
.searchbar .search-btn svg { width: 21px; height: 21px; }

/* header actions */
.header-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.hact { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 10px; border-radius: var(--radius); color: var(--ink); background: none; border: 0; cursor: pointer; position: relative; transition: background .14s; line-height: 1; }
.hact:hover { background: var(--line-2); color: var(--teal-deep); }
.hact svg { width: 23px; height: 23px; color: var(--ink); }
.hact .hact-txt { font-size: .66rem; font-weight: 600; letter-spacing: .01em; }
.hact .count { position: absolute; top: 2px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--signal); color: #fff; font-family: var(--f-mono); font-size: .66rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.hact.cart .count { background: var(--marigold); color: #1b1403; }
.hact.pop svg { animation: pop .32s ease; }
@keyframes pop { 0%{transform:scale(1)} 40%{transform:scale(1.28)} 100%{transform:scale(1)} }
.nav-toggle { display: none; }

/* department nav */
.deptnav { background: var(--surface); border-bottom: 1px solid var(--line); }
.deptnav .wrap { display: flex; align-items: center; gap: 4px; min-height: 50px; overflow-x: auto; scrollbar-width: none; }
.deptnav .wrap::-webkit-scrollbar { display: none; }
.dept-all { display: inline-flex; align-items: center; gap: 9px; background: var(--teal); color: #fff; font-weight: 600; font-size: .88rem; padding: 10px 18px; border-radius: var(--radius); flex: none; }
.dept-all:hover { background: var(--teal-deep); color: #fff; }
.dept-all svg { width: 17px; height: 17px; }
.deptnav a.dept-link { font-size: .88rem; font-weight: 500; color: var(--ink); padding: 8px 14px; border-radius: var(--radius); white-space: nowrap; flex: none; }
.deptnav a.dept-link:hover { background: var(--line-2); color: var(--teal-deep); }
.deptnav a.dept-link.hot { color: var(--signal); font-weight: 600; }
.deptnav .dept-spacer { flex: 1 1 auto; }
.deptnav .dept-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: .82rem; color: var(--slate); flex: none; }
.deptnav .dept-phone svg { width: 16px; height: 16px; color: var(--teal); }
@media (max-width: 991px) { .deptnav .dept-phone { display: none; } }

/* ============================================================
   HERO (deal carousel + promo stack)
   ============================================================ */
.hero { padding: 26px 0 12px; }
.hero-grid { display: grid; grid-template-columns: 1.62fr 1fr; gap: 16px; }
.deal-carousel { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); min-height: 380px; }
.deal-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease; }
.deal-slide.active { opacity: 1; visibility: visible; position: relative; }
.deal-slide .deal-media { position: absolute; inset: 0; }
.deal-slide .deal-media img { width: 100%; height: 100%; object-fit: cover; }
.deal-slide .deal-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7,63,69,.94) 0%, rgba(13,92,99,.78) 42%, rgba(13,92,99,.15) 100%); }
.deal-slide .deal-body { position: relative; z-index: 2; max-width: 460px; padding: 46px 44px; color: #fff; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.deal-slide .deal-body h2 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.3rem); text-transform: uppercase; margin: 12px 0 10px; }
.deal-slide .deal-body p { color: #e5eef0; font-size: 1rem; margin-bottom: 20px; max-width: 36ch; }
.deal-slide .deal-price { font-family: var(--f-mono); font-weight: 600; margin-bottom: 22px; color: #fff; }
.deal-slide .deal-price .big { font-size: 1.7rem; color: var(--marigold); }
.deal-slide .deal-price s { color: #b7c4c6; margin-left: 8px; font-size: 1rem; }
.deal-dots { position: absolute; left: 44px; bottom: 22px; z-index: 4; display: flex; gap: 8px; }
.deal-dots button { width: 26px; height: 5px; border-radius: 3px; border: 0; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; transition: background .2s, width .2s; }
.deal-dots button[aria-selected="true"] { background: var(--marigold); width: 40px; }
.deal-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); backdrop-filter: blur(4px); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .16s; }
.deal-arrow:hover { background: rgba(255,255,255,.28); }
.deal-arrow svg { width: 20px; height: 20px; }
.deal-arrow.prev { left: 14px; } .deal-arrow.next { right: 14px; }

.promo-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.promo-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: 26px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; min-height: 182px; background: var(--teal); }
.promo-card .promo-bg { position: absolute; inset: 0; z-index: 0; }
.promo-card .promo-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.promo-card.alt { background: var(--ink-2); }
.promo-card > * { position: relative; z-index: 1; }
.promo-card h3 { color: #fff; font-size: 1.5rem; text-transform: uppercase; line-height: .95; }
.promo-card p { font-size: .86rem; color: rgba(255,255,255,.86); margin: 6px 0 0; }
.promo-card .promo-link { font-family: var(--f-mono); font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--marigold); display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; }
.promo-card .promo-link svg { width: 15px; height: 15px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .promo-stack { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .deal-carousel { min-height: 320px; }
  .deal-slide .deal-body { padding: 32px 26px; }
  .promo-stack { grid-template-columns: 1fr; }
}

/* ============================================================
   CATEGORY RAIL
   ============================================================ */
.catrail { padding: 30px 0 8px; }
.catrail-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(112px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; transition: border-color .16s, transform .16s, box-shadow .16s; }
.cat-tile:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--teal-deep); }
.cat-tile .cat-ic { width: 54px; height: 54px; border-radius: 50%; background: var(--teal-tint); display: grid; place-items: center; }
.cat-tile:hover .cat-ic { background: var(--teal); }
.cat-tile .cat-ic svg { width: 26px; height: 26px; color: var(--teal-deep); }
.cat-tile:hover .cat-ic svg { color: #fff; }
.cat-tile .cat-name { font-weight: 600; font-size: .84rem; color: var(--ink); }
.cat-tile .cat-count { font-family: var(--f-mono); font-size: .68rem; color: var(--slate-2); }

/* ============================================================
   FLASH DEALS
   ============================================================ */
.flash { padding: 40px 0; }
.flash-panel { background: var(--ink); border-radius: var(--radius-lg); overflow: hidden; }
.flash-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,.08); }
.flash-title { display: flex; align-items: center; gap: 14px; }
.flash-title .bolt { width: 44px; height: 44px; border-radius: 10px; background: var(--signal); display: grid; place-items: center; flex: none; }
.flash-title .bolt svg { width: 24px; height: 24px; color: #fff; }
.flash-title h2 { color: #fff; font-size: 2rem; text-transform: uppercase; line-height: .9; }
.flash-title .sub { font-family: var(--f-mono); font-size: .74rem; color: var(--slate-2); letter-spacing: .04em; }
.countdown { display: flex; align-items: center; gap: 10px; }
.countdown .cd-label { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: #cfd6e2; }
.countdown .cd-units { display: flex; align-items: center; gap: 6px; }
.countdown .cd-box { min-width: 46px; padding: 8px 6px; border-radius: 6px; background: rgba(255,255,255,.07); text-align: center; }
.countdown .cd-box b { display: block; font-family: var(--f-mono); font-weight: 700; font-size: 1.35rem; color: #fff; line-height: 1; }
.countdown .cd-box span { font-family: var(--f-mono); font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-2); }
.countdown .cd-colon { color: var(--marigold); font-weight: 700; font-family: var(--f-mono); }
.flash-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.08); }
.flash-item { background: var(--surface); padding: 18px; display: flex; flex-direction: column; }
.flash-item .fi-frame { position: relative; aspect-ratio: 1/1; background: var(--line-2); border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; }
.flash-item .fi-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.flash-item .fi-frame .disc { position: absolute; top: 8px; left: 8px; }
.flash-item .fi-name { font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: 8px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.flash-item .fi-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.flash-item .fi-price .now { font-family: var(--f-mono); font-weight: 700; font-size: 1.1rem; color: var(--signal); }
.flash-item .fi-price s { font-family: var(--f-mono); font-size: .82rem; color: var(--slate-2); }
.flash-item .fi-stock { margin-top: auto; }
.flash-item .fi-bar { height: 7px; border-radius: 4px; background: var(--line); overflow: hidden; margin-bottom: 6px; }
.flash-item .fi-bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--marigold), var(--signal)); border-radius: 4px; }
.flash-item .fi-stock small { font-family: var(--f-mono); font-size: .66rem; color: var(--slate); }
.flash-item .fi-stock small b { color: var(--signal); }
@media (max-width: 860px) { .flash-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .countdown .cd-label { display: none; } }

/* ============================================================
   PRODUCT CARD (shared)
   ============================================================ */
.pgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1100px) { .pgrid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 880px)  { .pgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px)  { .pgrid { grid-template-columns: repeat(2, 1fr); } }

.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .16s, box-shadow .16s, transform .16s; }
.pcard:hover { border-color: var(--teal); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pcard .pframe { position: relative; aspect-ratio: 1/1; background: var(--line-2); overflow: hidden; }
.pcard .pframe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pcard:hover .pframe img { transform: scale(1.05); }
.pcard .pbadges { position: absolute; top: 9px; left: 9px; display: flex; flex-direction: column; gap: 5px; z-index: 2; }
.pcard .wish { position: absolute; top: 9px; right: 9px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.94); display: grid; place-items: center; cursor: pointer; transition: background .14s, color .14s, transform .12s; color: var(--slate); }
.pcard .wish svg { width: 17px; height: 17px; }
.pcard .wish:hover { color: var(--signal); border-color: var(--signal); }
.pcard .wish[aria-pressed="true"] { background: var(--signal); border-color: var(--signal); color: #fff; }
.pcard .wish[aria-pressed="true"] svg { fill: #fff; }
.pcard .pbody { padding: 14px 14px 16px; display: flex; flex-direction: column; flex: 1; }
.pcard .pcat { font-family: var(--f-mono); font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-2); margin-bottom: 6px; }
.pcard .pname { font-weight: 600; font-size: .92rem; line-height: 1.35; color: var(--ink); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.pcard .pname a { color: inherit; }
.pcard .pname a:hover { color: var(--teal); }
.rating { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.stars { display: inline-flex; gap: 1px; }
.stars svg { width: 14px; height: 14px; color: var(--star); fill: var(--star); }
.stars svg.empty { fill: none; color: var(--line); }
.rating .rc { font-family: var(--f-mono); font-size: .72rem; color: var(--slate); }
.pprice { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; margin-top: auto; }
.pprice .now { font-family: var(--f-mono); font-weight: 700; font-size: 1.12rem; color: var(--ink); }
.pprice s { font-family: var(--f-mono); font-size: .82rem; color: var(--slate-2); }
.pprice .save { font-family: var(--f-mono); font-size: .68rem; font-weight: 600; color: var(--signal); }
.pcard .add-cart { width: 100%; }

/* ============================================================
   BEST SELLERS filter
   ============================================================ */
.filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-tabs button { font-family: var(--f-body); font-weight: 600; font-size: .82rem; padding: 8px 16px; border-radius: 40px; border: 1.5px solid var(--line); background: var(--surface); color: var(--slate); cursor: pointer; transition: all .15s; }
.filter-tabs button:hover { border-color: var(--teal); color: var(--teal-deep); }
.filter-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pcard.is-hidden { display: none; }

/* ============================================================
   BRANDS strip
   ============================================================ */
.brands { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.brands-row { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.brands-row .brand-logo { color: var(--slate-2); transition: color .16s; }
.brands-row .brand-logo:hover { color: var(--ink); }
.brands-row .brand-logo svg { height: 26px; width: auto; }

/* ============================================================
   SPOTLIGHT banners
   ============================================================ */
.spot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.spot { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 260px; display: flex; align-items: flex-end; }
.spot .spot-bg { position: absolute; inset: 0; }
.spot .spot-bg img { width: 100%; height: 100%; object-fit: cover; }
.spot .spot-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23,32,46,.9) 0%, rgba(23,32,46,.35) 55%, rgba(23,32,46,.05) 100%); }
.spot .spot-body { position: relative; z-index: 2; padding: 24px; color: #fff; }
.spot .spot-body .tag { margin-bottom: 10px; }
.spot .spot-body h3 { color: #fff; font-size: 1.7rem; text-transform: uppercase; line-height: .95; margin-bottom: 6px; }
.spot .spot-body p { color: rgba(255,255,255,.84); font-size: .86rem; margin: 0 0 14px; max-width: 30ch; }
.spot .spot-body .spot-cta { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-weight: 600; font-size: .8rem; letter-spacing: .04em; color: #fff; padding: 9px 16px; border: 1.5px solid rgba(255,255,255,.5); border-radius: var(--radius); transition: background .16s, color .16s; }
.spot .spot-body .spot-cta:hover { background: #fff; color: var(--ink); }
.spot .spot-body .spot-cta svg { width: 15px; height: 15px; }
@media (max-width: 860px) { .spot-grid { grid-template-columns: 1fr 1fr; } .spot:first-child { grid-column: 1 / -1; } }
@media (max-width: 540px) { .spot-grid { grid-template-columns: 1fr; } }

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits { background: var(--surface); border-top: 1px solid var(--line); }
.benefits-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.benefit { display: flex; align-items: center; gap: 14px; padding: 26px 22px; border-right: 1px solid var(--line); }
.benefit:last-child { border-right: 0; }
.benefit .bi { width: 46px; height: 46px; border-radius: 10px; background: var(--teal-tint); display: grid; place-items: center; flex: none; }
.benefit .bi svg { width: 24px; height: 24px; color: var(--teal-deep); }
.benefit h4 { font-family: var(--f-body); font-weight: 700; font-size: .95rem; color: var(--ink); }
.benefit p { font-size: .78rem; color: var(--slate); margin: 2px 0 0; }
@media (max-width: 820px) { .benefits-row { grid-template-columns: 1fr 1fr; } .benefit:nth-child(2) { border-right: 0; } .benefit:nth-child(1), .benefit:nth-child(2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 460px) { .benefits-row { grid-template-columns: 1fr; } .benefit { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter { background: var(--teal); color: #fff; }
.newsletter .nl-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center; padding: 46px 0; }
.newsletter h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); text-transform: uppercase; margin-bottom: 8px; }
.newsletter p { color: rgba(255,255,255,.88); margin: 0; max-width: 44ch; }
.newsletter .nl-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter .nl-field { flex: 1 1 220px; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: var(--radius); padding: 4px 6px 4px 16px; border: 2px solid transparent; }
.newsletter .nl-field svg { width: 20px; height: 20px; color: var(--teal); flex: none; }
.newsletter .nl-field input { flex: 1; border: 0; padding: 12px 0; font-size: .95rem; color: var(--ink); min-width: 0; }
.newsletter .nl-field input:focus { outline: none; }
.newsletter .nl-form.err .nl-field { border-color: var(--marigold); }
.newsletter .nl-note { font-family: var(--f-mono); font-size: .72rem; color: rgba(255,255,255,.72); margin-top: 12px; }
.newsletter .nl-msg { min-height: 1.2em; font-family: var(--f-mono); font-size: .8rem; margin-top: 10px; color: var(--marigold); font-weight: 600; }
@media (max-width: 760px) { .newsletter .nl-inner { grid-template-columns: 1fr; gap: 20px; } }

/* ============================================================
   FOOTER (mega)
   ============================================================ */
.site-footer { background: var(--ink); color: #aeb8c6; font-size: .88rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; padding: 52px 0 40px; }
.site-footer h5 { font-family: var(--f-body); font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.site-footer .f-brand .brand-word { color: #fff; }
.site-footer .f-brand p { color: #aeb8c6; margin: 14px 0 18px; max-width: 34ch; font-size: .86rem; }
.site-footer a { color: #aeb8c6; }
.site-footer a:hover { color: #fff; }
.footer-links li { margin-bottom: 10px; }
.footer-links li a { display: inline-flex; align-items: center; gap: 6px; }
.f-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; color: #aeb8c6; }
.f-contact li svg { width: 17px; height: 17px; color: var(--marigold); flex: none; margin-top: 2px; }
.f-social { display: flex; gap: 8px; margin-top: 16px; }
.f-social a { width: 38px; height: 38px; border-radius: 8px; background: rgba(255,255,255,.06); display: grid; place-items: center; color: #cfd6e2; transition: background .16s; }
.f-social a:hover { background: var(--teal); color: #fff; }
.f-social a svg { width: 18px; height: 18px; }
.f-apps { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.f-app { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; color: #fff; }
.f-app:hover { border-color: var(--marigold); color: #fff; }
.f-app svg { width: 20px; height: 20px; }
.f-app small { display: block; font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; color: #8a94a3; }
.f-app b { font-family: var(--f-display); font-weight: 700; font-size: 1rem; letter-spacing: .02em; }
.footer-bar { border-top: 1px solid rgba(255,255,255,.09); padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bar p { margin: 0; font-size: .82rem; color: #8a94a3; }
.footer-bar .uc { color: #cfd6e2; }
.pay-row { display: flex; align-items: center; gap: 8px; }
.pay-row .pay { height: 28px; width: 44px; border-radius: 5px; background: #fff; display: grid; place-items: center; }
.pay-row .pay svg { height: 15px; width: auto; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } .footer-bar { flex-direction: column; align-items: flex-start; } }

/* ============================================================
   MOBILE NAV (offcanvas panel)
   ============================================================ */
.mnav-backdrop { position: fixed; inset: 0; background: rgba(23,32,46,.5); z-index: 1200; opacity: 0; visibility: hidden; transition: opacity .2s; }
.mnav-backdrop.open { opacity: 1; visibility: visible; }
.mnav { position: fixed; top: 0; left: 0; height: 100%; width: 300px; max-width: 84vw; background: #fff; z-index: 1300; transform: translateX(-100%); transition: transform .24s ease; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.mnav.open { transform: none; }
.mnav-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.mnav-close { width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.mnav-close svg { width: 18px; height: 18px; }
.mnav-body { padding: 12px; overflow-y: auto; }
.mnav-body a { display: flex; align-items: center; gap: 12px; padding: 13px 12px; border-radius: var(--radius); color: var(--ink); font-weight: 500; }
.mnav-body a:hover { background: var(--line-2); color: var(--teal-deep); }
.mnav-body a svg { width: 19px; height: 19px; color: var(--teal); }
.mnav-body .mnav-sep { height: 1px; background: var(--line); margin: 8px 4px; }

@media (max-width: 991px) {
  .nav-toggle { display: inline-flex; }
  .hact.wishlist-act { display: none; }
}
@media (max-width: 640px) {
  .header-main { flex-wrap: wrap; gap: 12px; min-height: auto; padding: 12px 0; }
  .brand { order: 1; }
  .header-actions { order: 2; margin-left: auto; }
  .searchbar { order: 3; flex-basis: 100%; max-width: none; }
  .hact .hact-txt { display: none; }
}

/* ============================================================
   TOAST
   ============================================================ */
.toast-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 1500; display: flex; flex-direction: column; gap: 10px; }
.bz-toast { display: flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; padding: 14px 18px; border-radius: var(--radius); box-shadow: var(--shadow-lg); font-size: .88rem; font-weight: 500; transform: translateY(14px); opacity: 0; transition: transform .22s, opacity .22s; max-width: 320px; }
.bz-toast.show { transform: none; opacity: 1; }
.bz-toast .ti { width: 30px; height: 30px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; flex: none; }
.bz-toast .ti svg { width: 17px; height: 17px; color: #fff; }

.back-top { position: fixed; right: 20px; bottom: 20px; z-index: 800; width: 46px; height: 46px; border-radius: 10px; background: var(--ink); color: #fff; border: 0; display: grid; place-items: center; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, background .16s; }
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--teal); }
.back-top svg { width: 20px; height: 20px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ============================================================
   PRODUCT PAGE
   ============================================================ */
.breadcrumb-bz { padding: 18px 0; font-family: var(--f-mono); font-size: .78rem; color: var(--slate); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb-bz a { color: var(--slate); }
.breadcrumb-bz a:hover { color: var(--teal); }
.breadcrumb-bz svg { width: 13px; height: 13px; color: var(--slate-2); }
.breadcrumb-bz .cur { color: var(--ink); font-weight: 600; }

.pdp-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .pdp-grid { grid-template-columns: 1fr; gap: 26px; } }

.gallery-main { position: relative; aspect-ratio: 1/1; background: var(--line-2); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.gallery-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-main .gm-badge { position: absolute; top: 14px; left: 14px; z-index: 2; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.gallery-thumbs button { position: relative; aspect-ratio: 1/1; background: var(--line-2); border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer; padding: 0; }
.gallery-thumbs button img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--teal); }

.pdp-info .pdp-cat { font-family: var(--f-mono); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.pdp-info h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); text-transform: uppercase; margin: 8px 0 12px; line-height: .98; }
.pdp-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.pdp-meta .rating { margin: 0; }
.pdp-meta .sku { font-family: var(--f-mono); font-size: .76rem; color: var(--slate); }
.pdp-meta .instock { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: .76rem; font-weight: 600; color: var(--teal); }
.pdp-meta .instock svg { width: 15px; height: 15px; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.pdp-price .now { font-family: var(--f-mono); font-weight: 700; font-size: 2.1rem; color: var(--ink); }
.pdp-price s { font-family: var(--f-mono); font-size: 1.1rem; color: var(--slate-2); }
.pdp-price .save { align-self: center; }
.pdp-installment { font-size: .84rem; color: var(--slate); margin-bottom: 20px; }
.pdp-installment b { color: var(--ink); }
.pdp-lead { font-size: .95rem; color: var(--slate); margin-bottom: 22px; }

.variant-group { margin-bottom: 20px; }
.variant-group .vg-label { font-family: var(--f-mono); font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; display: flex; gap: 8px; }
.variant-group .vg-label span { color: var(--slate); font-weight: 500; }
.swatches { display: flex; gap: 9px; flex-wrap: wrap; }
.swatch { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--line); cursor: pointer; padding: 0; position: relative; transition: transform .12s; }
.swatch[aria-pressed="true"] { border-color: var(--ink); transform: scale(1.08); }
.swatch[aria-pressed="true"]::after { content: ""; position: absolute; inset: -6px; border: 1.5px solid var(--ink); border-radius: 50%; }
.opt-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.opt-btn { font-family: var(--f-mono); font-weight: 600; font-size: .84rem; padding: 10px 16px; border-radius: var(--radius); border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: all .14s; }
.opt-btn:hover { border-color: var(--teal); }
.opt-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.opt-btn:disabled { color: var(--slate-2); background: var(--line-2); cursor: not-allowed; text-decoration: line-through; }

.buy-row { display: flex; gap: 12px; align-items: stretch; margin: 24px 0 16px; flex-wrap: wrap; }
.qty-stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; flex: none; }
.qty-stepper button { width: 44px; height: 100%; min-height: 48px; border: 0; background: var(--line-2); color: var(--ink); font-size: 1.2rem; cursor: pointer; display: grid; place-items: center; transition: background .14s; }
.qty-stepper button:hover { background: var(--line); }
.qty-stepper input { width: 52px; border: 0; text-align: center; font-family: var(--f-mono); font-weight: 700; font-size: 1rem; color: var(--ink); -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row .btn-bz { flex: 1 1 auto; }
.pdp-assure { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.pdp-assure .pa { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--slate); }
.pdp-assure .pa svg { width: 20px; height: 20px; color: var(--teal); flex: none; }
.pdp-assure .pa b { color: var(--ink); display: block; font-size: .84rem; }

/* PDP tabs */
.pdp-tabs { margin-top: 54px; }
.tab-nav { display: flex; gap: 4px; border-bottom: 2px solid var(--line); flex-wrap: wrap; }
.tab-nav button { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .02em; padding: 12px 22px; border: 0; background: none; color: var(--slate); cursor: pointer; position: relative; transition: color .14s; }
.tab-nav button:hover { color: var(--ink); }
.tab-nav button[aria-selected="true"] { color: var(--ink); }
.tab-nav button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--teal); }
.tab-panel { padding: 28px 0; display: none; }
.tab-panel.active { display: block; }
.tab-panel p { color: var(--slate); max-width: 68ch; }
.spec-table { width: 100%; border-collapse: collapse; max-width: 640px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.spec-table th { font-family: var(--f-mono); font-weight: 600; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--slate); width: 40%; background: var(--line-2); }
.spec-table td { color: var(--ink); font-weight: 500; }
.feat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; max-width: 720px; margin-top: 18px; }
.feat-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--slate); font-size: .9rem; }
.feat-list li svg { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: 2px; }
@media (max-width: 620px) { .feat-list { grid-template-columns: 1fr; } .pdp-assure { grid-template-columns: 1fr; } }

/* reviews */
.review-summary { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 26px; }
.review-summary .rs-score { text-align: center; }
.review-summary .rs-score .big { font-family: var(--f-display); font-weight: 800; font-size: 3.6rem; line-height: 1; color: var(--ink); }
.review-summary .rs-score .stars { justify-content: center; margin: 8px 0 4px; }
.review-summary .rs-score small { font-family: var(--f-mono); font-size: .72rem; color: var(--slate); }
.rs-bars { display: flex; flex-direction: column; gap: 8px; }
.rs-bar { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: .74rem; color: var(--slate); }
.rs-bar .lbl { width: 34px; }
.rs-bar .track { flex: 1; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.rs-bar .track > i { display: block; height: 100%; background: var(--marigold); border-radius: 4px; }
.rs-bar .pct { width: 38px; text-align: right; }
.review { display: flex; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.review .rv-av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; background: var(--line-2); }
.review .rv-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.review .rv-top b { color: var(--ink); }
.review .rv-top .verified { display: inline-flex; align-items: center; gap: 4px; font-family: var(--f-mono); font-size: .66rem; color: var(--teal); }
.review .rv-top .verified svg { width: 13px; height: 13px; }
.review .rv-top time { font-family: var(--f-mono); font-size: .72rem; color: var(--slate-2); margin-left: auto; }
.review .stars { margin-bottom: 8px; }
.review p { color: var(--slate); font-size: .9rem; margin: 0; }
@media (max-width: 540px) { .review-summary { grid-template-columns: 1fr; gap: 18px; } }
