/* NOGOR Motors store prototype. Tokens and components follow DESIGN.md. */
:root {
  --carbon: #151314; --graphite: #2B2729; --carbon-well: #1F1C1D; --ink: #231F20;
  --steel: #5E585A; --alloy: #8F898B; --hairline: #E7E3E4; --hairline-strong: #D9D4D5;
  --mist: #F5F3F3; --white: #FFFFFF; --fog: #D8D3D4;
  --red: #CF171E; --red-press: #B0131A; --red-logo: #ED1C24; --red-on-dark: #FF4A4F; --red-tint: #FCEBEC;
  --green: #157F3B; --green-tint: #EEF7F1; --amber: #F2A900; --amber-tint: #FDF4DC;
  --font: "Outfit", "Noto Sans Bengali", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --r-badge: 4px; --r-input: 10px; --r-card: 12px; --r-pill: 999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --lift: 0 10px 28px -12px rgba(21, 19, 20, 0.28);
  --float: 0 1px 2px rgba(21, 19, 20, 0.12);
  --ring: 0 0 0 2px var(--white), 0 0 0 4px var(--red);
  --wrap: 1280px;
  --tabbar-h: 0px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--carbon); background: var(--white); padding-bottom: var(--tabbar-h); }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; text-wrap: balance; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--red); color: var(--white); }
:focus { outline: none; }
:focus-visible { box-shadow: var(--ring); }
.mono { font-family: var(--mono); font-size: 0.8125rem; font-weight: 500; font-feature-settings: "zero" 1; letter-spacing: 0; }
.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: max(16px, 3vw); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.logo { color: var(--white); }
svg.lucide { width: 20px; height: 20px; stroke-width: 1.75; flex: none; }
html { scrollbar-color: var(--alloy) var(--mist); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- Buttons ---------- */
.btn { --h: 44px; display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); height: var(--h); padding: 0 calc(var(--h) * 0.48); border-radius: var(--r-pill); border: 1px solid transparent; font-size: 0.875rem; font-weight: 600; line-height: 1; white-space: nowrap; transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease); }
.btn svg.lucide { width: 18px; height: 18px; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn-lg { --h: 52px; font-size: 1rem; }
.btn-sm { --h: 36px; font-size: 0.75rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-press); }
.btn-primary.is-added { background: var(--green); }
.btn-dark { background: var(--carbon); color: var(--white); }
.btn-dark:hover { background: var(--graphite); }
.btn-outline { background: var(--white); color: var(--carbon); border-color: var(--carbon); }
.btn-outline:hover { background: var(--carbon); color: var(--white); }
.btn-ghost-dark { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-ghost-dark:hover { background: var(--white); color: var(--carbon); }
.btn-white { background: var(--white); color: var(--carbon); }
.btn-white:hover { background: var(--mist); }
.btn-link { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; font-size: 0.875rem; }
.btn-link:hover { color: var(--red-press); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--mist); color: var(--alloy); border-color: var(--hairline); cursor: not-allowed; }
.btn[aria-busy="true"] svg.spin { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill); position: relative; transition: background-color 0.18s var(--ease); }
.icon-btn svg.lucide { width: 22px; height: 22px; }
.count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r-pill); background: var(--red); color: var(--white); font-size: 0.75rem; font-weight: 700; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.count[data-n="0"] { display: none; }
.count.bump { animation: bump 0.45s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* ---------- Badges, stock, flags ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 5px 7px; border-radius: var(--r-badge); font-size: 0.75rem; font-weight: 600; line-height: 1.2; letter-spacing: 0.01em; white-space: nowrap; }
.badge svg.lucide { width: 13px; height: 13px; stroke-width: 2.2; }
.b-sale { background: var(--red); color: var(--white); }
.b-genuine { background: var(--carbon); color: var(--white); }
.b-imported { background: var(--white); color: var(--carbon); border: 1px solid var(--carbon); padding: 4px 6px; }
.b-new { background: var(--green-tint); color: var(--green); }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 500; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock.in { color: var(--green); }
.stock.low { color: var(--carbon); }
.stock.low::before { background: var(--amber); }
.stock.out { color: var(--steel); }
.stock.out::before { background: var(--alloy); }
.flag { display: inline-flex; align-items: center; gap: 4px; background: var(--amber-tint); color: #6B4A00; border: 1px solid #EBC75F; border-radius: var(--r-badge); font-size: 0.75rem; font-weight: 600; padding: 2px 7px; line-height: 1.4; white-space: nowrap; }
.flag svg.lucide { width: 13px; height: 13px; }
.flag-dark { background: rgba(242,169,0,0.16); color: #FFD27A; border-color: rgba(242,169,0,0.45); }
.tbc { background: var(--amber-tint); color: #6B4A00; border-radius: 4px; padding: 0 4px; font-weight: 500; }

/* ---------- Fields ---------- */
.field { display: grid; gap: 6px; align-content: start; }
.field > label, .label { font-size: 0.875rem; font-weight: 500; }
.field .opt { color: var(--steel); font-weight: 400; }
.input, .select, .textarea { width: 100%; height: 48px; padding: 0 14px; background: var(--white); border: 1px solid var(--alloy); border-radius: var(--r-input); font-size: 1rem; transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease); }
.textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: var(--steel); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--carbon); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--carbon); box-shadow: 0 0 0 1px var(--carbon), 0 0 0 4px rgba(207, 23, 30, 0.35); }
.select { appearance: none; padding-right: 36px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23151314' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; cursor: pointer; }
.is-error { border-color: var(--red) !important; }
.err { display: none; align-items: center; gap: 6px; color: var(--red-press); font-size: 0.75rem; font-weight: 500; }
.err svg.lucide { width: 14px; height: 14px; }
.field.has-error .err { display: flex; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--red); }
.hint { font-size: 0.75rem; color: var(--steel); }
.prefix { display: flex; }
.prefix > span { display: grid; place-items: center; padding: 0 12px; background: var(--mist); border: 1px solid var(--alloy); border-right: 0; border-radius: var(--r-input) 0 0 var(--r-input); font-size: 0.9375rem; font-weight: 500; color: var(--steel); }
.prefix .input { border-radius: 0 var(--r-input) var(--r-input) 0; }
.check { display: flex; gap: 10px; align-items: center; font-size: 0.9375rem; cursor: pointer; min-height: 32px; }
.check input { width: 18px; height: 18px; accent-color: var(--red); margin: 0; flex: none; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--alloy); border-radius: var(--r-pill); height: 44px; }
.stepper button { width: 40px; height: 42px; display: grid; place-items: center; border-radius: var(--r-pill); }
.stepper button:hover { background: var(--mist); }
.stepper button svg.lucide { width: 16px; height: 16px; }
.stepper input { width: 36px; text-align: center; border: 0; font-weight: 600; font-variant-numeric: tabular-nums; background: transparent; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { display: none; }
.stepper-sm { height: 36px; }
.stepper-sm button { width: 32px; height: 34px; }

/* ---------- Search ---------- */
form.search { display: flex; align-items: center; background: var(--white); border: 1px solid var(--alloy); border-radius: var(--r-pill); padding: 4px; min-width: 0; transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease); }
form.search:focus-within { border-color: var(--carbon); box-shadow: 0 0 0 3px rgba(207, 23, 30, 0.22); }
form.search select { appearance: none; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23151314' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; padding: 0 30px 0 14px; height: 38px; font-size: 0.875rem; font-weight: 500; border-right: 1px solid var(--hairline); cursor: pointer; max-width: 170px; }
form.search input { flex: 1; min-width: 0; border: 0; background: transparent; height: 38px; padding: 0 14px; font-size: 0.9375rem; }
form.search input::placeholder { color: var(--steel); }
form.search button { width: 42px; height: 38px; border-radius: var(--r-pill); background: var(--red); color: var(--white); display: grid; place-items: center; flex: none; transition: background-color 0.18s var(--ease); }
form.search button:hover { background: var(--red-press); }
/* The header search is a form.search: never bare .search, because WordPress gives <body> the class
   "search" on search results pages and the whole page would take the search bar's styles. */
form.search { position: relative; }
form.search input:focus-visible, form.search select:focus-visible { box-shadow: none; outline: 2px solid var(--carbon); outline-offset: -2px; border-radius: 999px; } /* which field has focus, on top of the bar's ring */
form.search-dark input:focus-visible, form.search-dark select:focus-visible { outline-color: var(--white); }
form.search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
form.search-dark { background: var(--carbon-well); border-color: var(--graphite); }
form.search-dark select { color: var(--white); border-right-color: var(--graphite); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23D8D3D4' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
form.search-dark select option { color: var(--carbon); }
form.search-dark input { color: var(--white); }
form.search-dark input::placeholder { color: var(--alloy); }
form.search-dark:focus-within { border-color: var(--alloy); }

/* Search suggestions under the header search */
.sugg { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60; background: var(--white); color: var(--carbon); border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--lift); padding: var(--s2); max-height: min(70vh, 540px); overflow-y: auto; overscroll-behavior: contain; text-align: left; transition: opacity 0.15s var(--ease); }
.sugg[hidden] { display: none; }
.sugg.loading { opacity: 0.6; }
.sugg-h { font-size: 0.75rem; font-weight: 600; color: var(--steel); text-transform: uppercase; letter-spacing: 0.06em; padding: 8px 10px 4px; }
.sugg-opt { display: flex; align-items: center; gap: var(--s3); padding: 8px 10px; border-radius: var(--r-input); color: var(--carbon); }
.sugg-opt:hover, .sugg-opt.on { background: var(--mist); }
.sugg-prod img { width: 44px; height: 44px; object-fit: contain; border: 1px solid var(--hairline); border-radius: 8px; background: var(--white); flex: none; }
.sugg-name { flex: 1; min-width: 0; font-size: 0.9375rem; line-height: 1.3; }
.sugg-opt mark { background: none; color: inherit; font-weight: 700; }
.sugg-out { display: block; font-size: 0.75rem; color: var(--steel); }
.sugg-price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sugg-price del { color: var(--steel); font-weight: 400; margin-right: 6px; }
.sugg-cat svg.lucide { width: 18px; height: 18px; color: var(--steel); flex: none; }
.sugg-cat span { flex: 1; }
.sugg-cat small { color: var(--steel); font-size: 0.8125rem; }
.sugg-all { justify-content: center; gap: 6px; margin-top: 4px; font-weight: 600; color: var(--red); }
.sugg-all svg.lucide { width: 16px; height: 16px; }
.sugg-empty { padding: 12px 10px; font-size: 0.9375rem; color: var(--steel); line-height: 1.5; }
.sugg-empty a { color: var(--red); font-weight: 600; }

/* ---------- Header ---------- */
.site-hdr { position: fixed; top: var(--wp-admin--admin-bar--height, 0px); left: 0; right: 0; z-index: 75; }
/* Signed in on a phone: WordPress lets its admin bar scroll away below 600px, which left a gap above the
   pinned header (it sits below the bar). Pin the bar too, for staff only. */
@media screen and (max-width: 600px) { html #wpadminbar { position: fixed; } }
/* The header stays pinned (like nogor.com.bd). The page keeps a fixed gap the height of the full header
   (theme.js measures it into --hdr-full), so nothing moves when the header slims down on scroll:
   the menu row slides away on desktop, the search row on phones. --hdr-stuck is the slim height,
   used to keep pinned sidebars and #anchors below it. */
body:has(.site-hdr) { padding-top: var(--hdr-full, 115px); }
html { scroll-padding-top: calc(var(--hdr-stuck, 64px) + 12px); }
.site-hdr .hdr-top { position: relative; z-index: 2; transition: box-shadow 0.2s var(--ease); }
.site-hdr .hdr-nav { position: relative; z-index: 1; transition: margin-top 0.28s var(--ease), opacity 0.2s var(--ease); }
.site-hdr.is-compact .hdr-top { box-shadow: 0 8px 20px -12px rgba(21, 19, 20, 0.6); }
.site-hdr.is-compact .hdr-nav { margin-top: calc(-1 * var(--nav-h, 51px)); opacity: 0; visibility: hidden; transition: margin-top 0.28s var(--ease), opacity 0.2s var(--ease), visibility 0s 0.28s; }
/* Desktop slim bar: the menu row (with the cart) has slid away, so the cart button joins the bar. */
@media (min-width: 961px) {
  .site-hdr.is-compact .hdr-top-in { grid-template-columns: auto minmax(0, 640px) 1fr auto; }
  .site-hdr.is-compact .hdr-cart-m { display: inline-grid; position: relative; }
}
.hdr-top { background: var(--carbon); color: var(--white); }
.hdr-top-in { display: grid; grid-template-columns: auto minmax(0, 640px) 1fr; align-items: center; gap: var(--s5); min-height: 64px; }
.hdr-logo { display: block; width: 228px; padding: 0; }
.hdr-logo svg { width: 100%; height: auto; aspect-ratio: 3578 / 718; }
.hdr-call { justify-self: end; display: flex; align-items: center; gap: var(--s3); }
.hdr-call .ic { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--graphite); display: grid; place-items: center; }
.hdr-call b { display: block; white-space: nowrap; font-size: 1rem; font-weight: 600; letter-spacing: 0.01em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.hdr-call small { display: block; font-size: 0.6875rem; color: var(--alloy); }
.hdr-call:hover .ic { background: var(--graphite); }
.hdr-menu, .hdr-cart-m { display: none; color: var(--white); }
.hdr-nav { background: var(--white); border-bottom: 1px solid var(--hairline); }
.hdr-nav-in { display: flex; align-items: center; gap: var(--s5); min-height: 50px; }
.cats-menu { position: relative; }
.cats-btn { display: inline-flex; align-items: center; gap: var(--s2); height: 38px; padding: 0 18px; border: 1px solid var(--hairline); border-radius: var(--r-pill); font-weight: 600; font-size: 0.9375rem; transition: border-color 0.18s var(--ease); }
.cats-btn:hover, .cats-btn[aria-expanded="true"] { border-color: var(--carbon); }
.cats-pop { position: absolute; top: calc(100% + 8px); left: 0; width: 320px; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--lift); padding: var(--s2); display: none; z-index: 50; }
.cats-pop.open { display: block; }
.cats-pop a { display: flex; align-items: center; gap: var(--s3); padding: 10px 12px; border-radius: var(--r-input); font-weight: 500; }
.cats-pop a:hover { background: var(--mist); }
.cats-pop a span.n { margin-left: auto; color: var(--steel); font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
.cats-pop svg.lucide { color: var(--steel); }
.main-nav { display: flex; gap: var(--s5); flex: 1; overflow-x: auto; scrollbar-width: none; }
.main-nav a { font-weight: 500; font-size: 0.9375rem; white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent; transition: color 0.18s var(--ease); }
.main-nav a:hover { color: var(--red); }
.main-nav a[aria-current="page"] { color: var(--red); border-bottom-color: var(--red); }
.hdr-icons { display: flex; gap: var(--s1); margin-left: auto; }
.hdr-icons .icon-btn:hover { background: var(--mist); }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 100000; display: none; } /* above the WordPress admin bar (99999) when signed in */
.drawer.open { display: block; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(21,19,20,0.55); animation: fade 0.2s var(--ease); }
.drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(360px, 88vw); background: var(--white); overflow-y: auto; animation: slide-in 0.25s var(--ease); display: flex; flex-direction: column; }
.drawer-panel.right { left: auto; right: 0; animation-name: slide-in-r; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 20px; background: var(--carbon); color: var(--white); }
.drawer-head .logo-sm { width: 190px; }
.drawer-head h2 { font-size: 1.125rem; }
.drawer-head-light { background: var(--white); color: var(--carbon); border-bottom: 1px solid var(--hairline); }
.drawer-body { padding: var(--s4) var(--s5) var(--s6); display: grid; gap: var(--s5); align-content: start; }
.drawer-links a { display: flex; align-items: center; gap: var(--s3); padding: 12px 0; border-bottom: 1px solid var(--hairline); font-weight: 500; }
.drawer-links a span.n { margin-left: auto; color: var(--steel); font-size: 0.8125rem; }
.drawer-links svg.lucide { color: var(--steel); }
.drawer h3 { font-size: 0.8125rem; color: var(--steel); font-weight: 600; letter-spacing: 0.02em; }
@keyframes fade { from { opacity: 0; } }
@keyframes slide-in { from { transform: translateX(-100%); } }
@keyframes slide-in-r { from { transform: translateX(100%); } }

/* Tab bar */
.tabbar { display: none; }

/* ---------- Page furniture ---------- */
main { display: block; }
.sec { padding-top: var(--s8); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s5); flex-wrap: wrap; }
.sec-head h2 { font-size: 1.875rem; letter-spacing: -0.025em; }
.sec-head .more { font-size: 0.875rem; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.sec-head .more:hover { color: var(--red); }
.sec-head .more svg.lucide { width: 16px; height: 16px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.8125rem; color: var(--steel); padding: var(--s4) 0 0; }
.crumbs a:hover { color: var(--carbon); text-decoration: underline; text-underline-offset: 3px; }
.crumbs span[aria-hidden] { color: var(--alloy); }
.page-title { font-size: 2.5rem; letter-spacing: -0.025em; line-height: 1.1; margin-top: var(--s3); }
.lede { color: var(--steel); max-width: 64ch; }
.note { font-size: 0.875rem; color: var(--steel); }
.panel { border: 1px solid var(--hairline); border-radius: var(--r-card); background: var(--white); }

/* ---------- Product card ---------- */
.grid { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-card); overflow: hidden; transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease); }
.pcard:hover { box-shadow: var(--lift); border-color: var(--hairline-strong); }
.pcard-media { position: relative; display: grid; place-items: center; aspect-ratio: 1; background: var(--mist); overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.4s var(--ease); }
.pcard-media img.ph { width: 100%; height: 100%; }
.pcard-media img.photo { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.pcard:hover .pcard-media img { transform: scale(1.04); }
.pcard-media .badge { position: absolute; top: 12px; left: 12px; }
.wish { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; background: var(--white); box-shadow: var(--float); display: grid; place-items: center; z-index: 2; transition: transform 0.18s var(--ease); }
.wish svg.lucide { width: 18px; height: 18px; }
.wish:hover { transform: scale(1.06); }
.wish[aria-pressed="true"] { color: var(--red); }
.wish[aria-pressed="true"] svg { fill: var(--red); }
.pcard-body { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s4); flex: 1; }
.pcard-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px var(--s2); font-size: 0.75rem; color: var(--steel); }
.pcard-meta b { color: var(--carbon); font-weight: 600; }
.pcard h3 { font-size: 1rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.pcard h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard h3 a:hover { color: var(--red); }
.fit { display: flex; gap: 6px; align-items: center; font-size: 0.75rem; color: var(--carbon); }
.fit svg.lucide { width: 15px; height: 15px; color: var(--green); }
.fit.universal svg.lucide { color: var(--steel); }
.price { display: flex; align-items: baseline; gap: var(--s2); flex-wrap: wrap; margin-top: auto; padding-top: var(--s1); }
.price strong { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.price s { font-size: 0.875rem; color: var(--steel); font-variant-numeric: tabular-nums; }
.pcard-foot { display: grid; gap: var(--s3); position: relative; z-index: 2; }
.pcard-foot .btn { height: 44px; }

/* ---------- Home: hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); gap: var(--s5); padding-top: var(--s5); }
.banner { position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--carbon) center / cover no-repeat; color: var(--white); display: flex; flex-direction: column; justify-content: center; gap: var(--s4); padding: clamp(28px, 4vw, 56px); min-height: clamp(360px, 33vw, 480px); isolation: isolate; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(21,19,20,0.92) 0%, rgba(21,19,20,0.55) 34%, rgba(21,19,20,0) 56%); }
/* Hero slideshow: the slides share one grid cell (the tallest sets the height) and fade. */
.slides { position: relative; display: grid; min-width: 0; border-radius: var(--r-card); overflow: hidden; background: var(--carbon); isolation: isolate; }
.slides > .slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.7s var(--ease), visibility 0s linear 0.7s; }
.slides > .slide.is-on { opacity: 1; visibility: visible; transition: opacity 0.7s var(--ease), visibility 0s; }
.slide-photo { background: var(--banner-img) right center / cover no-repeat, var(--carbon); }
.slide-photo::before { background: linear-gradient(90deg, rgba(21,19,20,0.94) 0%, rgba(21,19,20,0.7) 36%, rgba(21,19,20,0) 64%); }
.slides-ctl { position: absolute; z-index: 2; top: 16px; right: 16px; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: var(--r-pill); background: rgba(21, 19, 20, 0.62); border: 1px solid rgba(255, 255, 255, 0.12); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.slides-ctl button { display: grid; place-items: center; height: 32px; min-width: 32px; border-radius: var(--r-pill); color: var(--white); transition: background-color 0.18s var(--ease); }
/* Prev / next: see-through circles at the sides, shown while the pointer is over the slideshow. */
.slides-arrow { position: absolute; z-index: 3; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; display: grid; place-items: center; color: var(--white); background: rgba(21, 19, 20, 0.22); border: 1px solid rgba(255, 255, 255, 0.4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.2s var(--ease), background-color 0.2s var(--ease); }
.slides-arrow.is-prev { left: 12px; }
.slides-arrow.is-next { right: 12px; }
.slides-arrow svg.lucide { width: 22px; height: 22px; }
.slides:hover .slides-arrow, .slides-arrow:focus-visible { opacity: 1; }
.slides-arrow:hover { background: rgba(21, 19, 20, 0.5); border-color: rgba(255, 255, 255, 0.7); }
@media (hover: none) { .slides-arrow { display: none; } }
@media (min-width: 641px) { .slides > .banner:not(.slide-image) { padding-left: max(68px, clamp(28px, 4vw, 56px)); } }
/* Designed banners: the image is the slide (its own shape sets the height), and the whole slide is the link. */
.slides > .slide-image, .hero .banner-image { display: block; padding: 0; min-height: 0; height: auto; }
.slides > .slide-image { aspect-ratio: var(--ar, 16 / 9); }
.slide-image::before, .banner-image::before { display: none; }
.slide-image picture, .slide-image img, .banner-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.slide-image img { object-fit: contain; } /* Never crop a designed banner (slides of different shapes get dark bars instead). */
.hero-full { grid-template-columns: minmax(0, 1fr); }
.hero-images .slides-ctl { top: auto; right: auto; bottom: 14px; left: 50%; transform: translateX(-50%); }
.slides-ctl button:hover { background: rgba(255, 255, 255, 0.12); }
.slides-ctl svg.lucide { width: 16px; height: 16px; }
.slides-pause svg.lucide { width: 13px; height: 13px; fill: currentColor; stroke-width: 1; }
.slides-pause .i-play, .slides-pause[aria-pressed="true"] .i-pause { display: none; }
.slides-pause[aria-pressed="true"] .i-play { display: block; }
.slides-dot { min-width: 22px !important; }
.slides-dot::before { content: ""; width: 8px; height: 8px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.45); transition: width 0.3s var(--ease), background-color 0.3s var(--ease); }
.slides-dot[aria-current="true"]::before { width: 20px; background: var(--red-on-dark); }
.slides-dot[aria-current="true"] { min-width: 30px !important; }
.cat-more { display: none; }
@media (prefers-reduced-motion: reduce) { .slides > .slide { transition: none; } }
.banner h1, .banner h2 { font-size: clamp(2.25rem, 1.4rem + 2.4vw, 3.25rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; max-width: 11ch; }
.banner p { color: var(--fog); max-width: 30ch; }
.banner .from { font-size: 0.9375rem; color: var(--fog); }
.banner .from b { color: var(--red-on-dark); font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.banner .acts { display: flex; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s2); }
.banner-wide { background: var(--banner-img, url("../img/lineup-v2.webp")) right 4% bottom 9% / 44% auto no-repeat, radial-gradient(ellipse 55% 75% at 74% 62%, rgba(207, 23, 30, 0.32), rgba(207, 23, 30, 0) 70%), var(--carbon); }
.banner-wide::before { background: none; }
.banner-tall { background: var(--banner-img, url("../img/grasse-v2.webp")) center bottom 6% / auto 38% no-repeat, radial-gradient(ellipse 70% 45% at 50% 82%, rgba(207, 23, 30, 0.3), rgba(207, 23, 30, 0) 70%), var(--carbon); justify-content: flex-start; }
.banner-tall::before { background: linear-gradient(180deg, rgba(21,19,20,0.9) 0%, rgba(21,19,20,0.4) 40%, rgba(21,19,20,0) 60%); }
.banner-tall h2 { font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.25rem); max-width: 12ch; }

/* Round categories */
.cat-row { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: var(--s4); }
.cat { display: grid; justify-items: center; gap: var(--s2); text-align: center; }
.cat-disc { width: min(132px, 100%); aspect-ratio: 1; border-radius: 50%; background: var(--mist); display: grid; place-items: center; overflow: hidden; border: 1px solid transparent; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease); }
.cat-disc img { width: 74%; height: 74%; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.35s var(--ease); }
.cat-disc svg.lucide { width: 40%; height: 40%; color: var(--steel); stroke-width: 1.25; }
.cat:hover .cat-disc { border-color: var(--carbon); background: var(--white); }
.cat:hover .cat-disc img { transform: scale(1.06); }
.cat b { display: block; font-size: 0.9375rem; font-weight: 600; line-height: 1.25; }
.cat small { display: block; font-size: 0.75rem; color: var(--steel); }

/* Tabs */
.tabs { display: flex; gap: var(--s1); flex-wrap: wrap; }
.tab { height: 36px; padding: 0 14px; border-radius: var(--r-pill); font-size: 0.875rem; font-weight: 500; color: var(--steel); border: 1px solid transparent; transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background-color 0.18s var(--ease); }
.tab:hover { color: var(--carbon); border-color: var(--hairline); }
.tab[aria-selected="true"] { background: var(--carbon); color: var(--white); }

/* Promo tiles */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.tile { position: relative; overflow: hidden; border-radius: var(--r-card); aspect-ratio: 5 / 3; background: var(--carbon) right center / cover no-repeat; color: var(--white); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--s2); padding: clamp(20px, 2.4vw, 32px); isolation: isolate; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(21,19,20,0.9) 20%, rgba(21,19,20,0) 62%); }
.tile h3 { font-size: 1.5rem; letter-spacing: -0.02em; max-width: 9ch; line-height: 1.1; }
.tile p { color: var(--fog); font-size: 0.875rem; max-width: 17ch; }
.tile p b { color: var(--white); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tile .btn { margin-top: var(--s2); }
.tile:hover .btn-white { background: var(--mist); }

/* Featured */
.featured { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.featured .promo { grid-column: 3; grid-row: 1 / span 2; }
.promo { position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--carbon) url("../img/promo-awa.webp") center 78% / cover no-repeat; color: var(--white); display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s2); padding: var(--s6) var(--s5); min-height: 520px; isolation: isolate; }
.promo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(21,19,20,0.92) 0%, rgba(21,19,20,0.3) 42%, rgba(21,19,20,0) 60%); }
.promo h3 { font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.promo .off { color: var(--red-on-dark); font-weight: 600; font-size: 1.125rem; }
.promo > .flag { position: absolute; top: 14px; left: 14px; }
.promo { padding-top: 64px; }
.badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.badges .badge { position: static; }
.price .flag { align-self: center; }

/* Deals */
.deals-wrap { background: var(--mist); padding: var(--s8) 0; margin-top: var(--s8); }
.deals-wrap .sec-head { margin-bottom: var(--s5); }
.deal-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc(50% - 12px); gap: var(--s5); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.deal-track::-webkit-scrollbar { display: none; }
.deal { scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s5); align-items: center; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: var(--s5); position: relative; }
.deal-media { position: relative; aspect-ratio: 1; background: var(--mist); border-radius: 10px; display: grid; place-items: center; overflow: hidden; }
.deal-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.deal-media .badges { top: 10px; left: 10px; }
.deal-body { display: grid; gap: var(--s2); align-content: start; }
.deal-body h3 { font-size: 1.125rem; line-height: 1.3; }
.deal-body h3 a:hover { color: var(--red); }
.timer { display: flex; gap: var(--s2); margin: var(--s2) 0; }
.timer div { width: 54px; padding: 6px 0; border-radius: 10px; background: var(--mist); color: var(--carbon); text-align: center; font-weight: 700; font-size: 1.125rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.timer small { display: block; font-size: 0.6875rem; font-weight: 600; color: var(--steel); text-transform: none; }
.deal-ends { font-size: 0.8125rem; color: var(--steel); }
.arrows { display: flex; gap: var(--s2); }
.arrows button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--alloy); display: grid; place-items: center; background: var(--white); }
.arrows button:hover { border-color: var(--carbon); }

/* Category rows */
.cat-block { display: grid; grid-template-columns: minmax(0, 1.05fr) repeat(5, minmax(0, 1fr)); gap: var(--s4); }
.cat-panel { border-radius: var(--r-card); background: var(--mist); display: flex; flex-direction: column; padding: var(--s5); gap: var(--s2); overflow: hidden; position: relative; }
.cat-panel h3 { font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.1; }
.cat-panel p { font-size: 0.875rem; color: var(--steel); }
.cat-panel .btn { align-self: flex-start; margin-top: var(--s2); }
.cat-panel img { margin-top: auto; width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }

/* Guides */
.guides { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); }
.guide { display: grid; gap: var(--s3); align-content: start; }
.guide-img { aspect-ratio: 4 / 3; border-radius: var(--r-card); overflow: hidden; background: var(--mist); }
.guide-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.guide:hover .guide-img img { transform: scale(1.04); }
.guide h3 { font-size: 1.125rem; line-height: 1.3; }
.guide:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.guide p { font-size: 0.875rem; color: var(--steel); }

/* USP strip */
.usp { background: var(--red); color: var(--white); margin-top: var(--s8); }
.usp-in { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s4); padding-block: var(--s5); }
.usp-item { display: flex; gap: var(--s3); align-items: center; }
.usp-item .ic { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.45); display: grid; place-items: center; }
.usp-item .ic svg.lucide { width: 22px; height: 22px; }
.usp-item b { display: block; font-size: 0.9375rem; line-height: 1.25; }
.usp-item small { display: block; font-size: 0.8125rem; color: #FFE1E2; line-height: 1.35; }

/* Footer */
.foot { background: var(--carbon); color: var(--fog); }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.4fr); gap: var(--s6); padding-block: var(--s8) var(--s7); }
.foot .logo { width: 230px; }
.foot .foot-logo { display: block; width: 168px; }
.foot .foot-logo .logo { width: 100%; height: auto; aspect-ratio: 2080 / 1273; }
.foot-hours { display: flex; gap: var(--s2); align-items: center; }
.foot-hours svg.lucide { width: 18px; height: 18px; color: var(--alloy); }
.foot-mail { color: inherit; text-decoration: none; }
.foot-mail:hover, .foot-mail:focus-visible { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.foot h4, .foot .foot-h { color: var(--white); font-size: 1rem; margin-bottom: var(--s3); }
.foot ul { display: grid; gap: var(--s2); font-size: 0.9375rem; }
.foot a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.foot-contact { display: grid; gap: var(--s3); font-size: 0.9375rem; align-content: start; }
.foot-contact .tag { color: var(--fog); font-size: 0.9375rem; font-weight: 500; }
.foot-phone { display: flex; gap: var(--s3); align-items: center; color: var(--white); }
.foot-phone b { font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.foot-phone small { display: block; color: var(--alloy); font-size: 0.75rem; }
.socials { display: flex; gap: var(--s2); }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--graphite); display: grid; place-items: center; color: var(--white); }
.socials a:hover { background: var(--graphite); }
.socials svg { width: 18px; height: 18px; }
.sub-form { display: flex; gap: var(--s2); background: var(--carbon-well); border: 1px solid var(--graphite); border-radius: var(--r-pill); padding: 4px; }
.sub-form input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--white); padding: 0 14px; height: 40px; }
.sub-form input::placeholder { color: var(--alloy); }
.foot-bottom { border-top: 1px solid var(--graphite); }
.foot-bottom-in { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); flex-wrap: wrap; padding-block: var(--s4); font-size: 0.8125rem; color: var(--alloy); }
.foot-bottom-in .credit::before { content: "\00B7"; margin-inline: 10px; color: var(--graphite); }
.foot-bottom-in .credit a { color: var(--fog); text-decoration: underline; text-decoration-color: rgba(216, 211, 212, 0.45); text-underline-offset: 3px; transition: color 0.2s var(--ease); } /* underlined: the colour alone is too close to the text around it */
.foot-bottom-in .credit a:hover, .foot-bottom-in .credit a:focus-visible { color: var(--white); }
.pays { display: flex; gap: var(--s2); flex-wrap: wrap; }
.pays span { border: 1px solid var(--graphite); border-radius: var(--r-badge); padding: 4px 10px; font-size: 0.75rem; font-weight: 600; color: var(--fog); }
.proto-note { display: inline-flex; gap: 6px; align-items: center; color: #FFD27A; }

/* Toast (signature: mini-cart) */
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: min(380px, calc(100vw - 32px)); background: var(--carbon); color: var(--white); border-radius: var(--r-card); box-shadow: var(--lift); padding: var(--s4); display: grid; gap: var(--s3); transform: translateY(calc(100% + 40px)); opacity: 0; transition: transform 0.35s var(--ease), opacity 0.25s var(--ease); pointer-events: none; }
.toast.show { transform: none; opacity: 1; pointer-events: auto; }
.toast-top { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: var(--s3); align-items: center; }
.toast-top img { width: 56px; height: 56px; border-radius: var(--r-input); background: var(--white); object-fit: contain; padding: 4px; }
.toast-top .ok { display: flex; gap: 6px; align-items: center; font-size: 0.8125rem; color: #8FE0AE; font-weight: 600; }
.toast-top .ok svg.lucide { width: 16px; height: 16px; }
.toast-top p { font-size: 0.875rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.toast-top .x { color: var(--fog); width: 36px; height: 36px; }
.toast-sum { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--fog); border-top: 1px solid var(--graphite); padding-top: var(--s3); }
.toast-sum b { color: var(--white); font-variant-numeric: tabular-nums; }
.toast-acts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }

/* ---------- Shop ---------- */
.shop { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: var(--s6); align-items: start; padding-top: var(--s5); }
.filters { display: grid; gap: var(--s5); position: sticky; top: calc(var(--hdr-stuck, 64px) + 16px); }
.fgroup { display: grid; gap: var(--s2); padding-bottom: var(--s5); border-bottom: 1px solid var(--hairline); }
.fgroup:last-child { border-bottom: 0; }
.fgroup h3 { font-size: 1rem; margin-bottom: var(--s1); }
.fgroup a.fcat { display: flex; justify-content: space-between; align-items: center; min-height: 36px; padding: 0 10px; margin-inline: -10px; border-radius: var(--r-input); font-size: 0.9375rem; }
.fgroup a.fcat:hover { background: var(--mist); }
.fgroup a.fcat[aria-current="true"] { background: var(--carbon); color: var(--white); }
.fgroup a.fcat[aria-current="true"] span { color: var(--fog); }
.fgroup a.fcat span, .fgroup .check span.n { color: var(--steel); font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
.fgroup .check span.n { margin-left: auto; }
.price-range { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s2); align-items: center; }
.price-range .input { height: 40px; font-size: 0.9375rem; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s4); }
.toolbar .count-l { color: var(--steel); font-size: 0.9375rem; }
.toolbar .select { width: auto; height: 40px; font-size: 0.9375rem; }
.toolbar-r { display: flex; gap: var(--s2); align-items: center; }
.filter-open { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s4); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 8px 0 12px; border-radius: var(--r-pill); background: var(--mist); border: 1px solid var(--hairline); font-size: 0.8125rem; font-weight: 500; }
.chip button { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; }
.chip button:hover { background: var(--hairline); }
.chip svg.lucide { width: 14px; height: 14px; }
.chip-clear { font-size: 0.8125rem; font-weight: 600; color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.empty { text-align: center; padding: var(--s8) var(--s5); border: 1px dashed var(--hairline-strong); border-radius: var(--r-card); display: grid; gap: var(--s3); justify-items: center; }
.empty svg.lucide { width: 40px; height: 40px; color: var(--alloy); stroke-width: 1.4; }
.empty form.search button svg.lucide { width: 18px; height: 18px; color: var(--white); stroke-width: 2; } /* the search button inside an empty state keeps its white icon */
.empty h2 { font-size: 1.375rem; }
.finder { background: var(--carbon); color: var(--white); border-radius: var(--r-card); padding: var(--s5); display: grid; gap: var(--s4); margin-bottom: var(--s5); }
.finder-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.finder h2 { font-size: 1.25rem; }
.seg { display: inline-flex; background: var(--graphite); border-radius: var(--r-pill); padding: 4px; }
.seg button { display: inline-flex; gap: 6px; align-items: center; height: 36px; padding: 0 14px; border-radius: var(--r-pill); color: var(--fog); font-size: 0.875rem; font-weight: 600; }
.seg button[aria-pressed="true"] { background: var(--white); color: var(--carbon); }
.finder-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: var(--s3); align-items: end; }
.finder .field > label { color: var(--fog); }
.finder .select { background-color: var(--white); color: var(--carbon); }
.finder .select:disabled { background-color: var(--graphite); color: var(--alloy); border-color: var(--graphite); cursor: not-allowed; }
.finder-out { font-size: 0.875rem; color: var(--fog); }
.finder-out b { color: var(--white); }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s7); padding-top: var(--s5); align-items: start; }
.gallery { position: sticky; top: calc(var(--hdr-stuck, 64px) + 16px); display: grid; gap: var(--s3); }
.gal-main { position: relative; aspect-ratio: 1; background: var(--mist); border-radius: var(--r-card); display: grid; place-items: center; overflow: hidden; }
.gal-main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gal-main img.ph { width: 100%; height: 100%; }
.gal-main img.photo { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.gal-main .badge { position: absolute; top: 16px; left: 16px; }
.gal-note { font-size: 0.8125rem; color: var(--steel); display: flex; gap: 6px; align-items: center; }
.gal-note svg.lucide { width: 16px; height: 16px; }
.pinfo { display: grid; gap: var(--s4); }
a.fact:hover { background: var(--hairline); }
.fact.brand { background: var(--carbon); color: var(--white); font-weight: 600; }
.fact.brand svg.lucide { color: var(--fog); }
a.fact.brand:hover { background: var(--graphite); }
.pinfo h1 { font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.125rem); letter-spacing: -0.025em; line-height: 1.15; }
.facts { display: flex; flex-wrap: wrap; gap: var(--s2); }
.fact { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: var(--r-pill); background: var(--mist); font-size: 0.8125rem; font-weight: 500; }
.fact svg.lucide { width: 15px; height: 15px; color: var(--steel); }
.pprice { display: flex; align-items: baseline; gap: var(--s3); flex-wrap: wrap; padding-top: var(--s2); border-top: 1px solid var(--hairline); }
.pprice strong { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.pprice s { color: var(--steel); font-variant-numeric: tabular-nums; }
.pprice .badge { align-self: center; }
.buy { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: var(--s3); }
/* Colour and other choices (variable products): radio chips, a colour dot when the value has one. */
.vbuy, .vpick { display: grid; gap: var(--s4); }
.vopt { border: 0; margin: 0; padding: 0; min-width: 0; }
.vopt legend { padding: 0; margin-bottom: 10px; font-size: 0.875rem; font-weight: 600; }
.vopt-cur { font-weight: 500; color: var(--steel); }
.vopt-cur:not(:empty)::before { content: "·"; margin: 0 8px; color: var(--alloy); }
.vchips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.vchip { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border: 1px solid var(--hairline-strong); border-radius: var(--r-pill); background: var(--white); font-size: 0.875rem; font-weight: 500; cursor: pointer; transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease); }
.vchip:has(.vdot) { padding-left: 7px; }
.vchip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.vchip:hover { border-color: var(--carbon); }
.vchip:has(input:checked) { border-color: var(--carbon); box-shadow: inset 0 0 0 1px var(--carbon); font-weight: 600; }
.vchip:has(input:focus-visible) { box-shadow: var(--ring); }
.vchip:has(input:checked:focus-visible) { box-shadow: inset 0 0 0 1px var(--carbon), var(--ring); }
.vdot { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--dot); box-shadow: inset 0 0 0 1px rgba(21, 19, 20, 0.16); flex: none; }
/* A photo swatch (the value's own, or its variant's photo): a little larger, so the product reads. */
.vdot.vimg { background: var(--white) center / cover no-repeat; }
.vdot.vzoom { background-size: 150%; }
.vchip .vimg { width: 34px; height: 34px; }
.vchip:has(.vimg) { padding-left: 4px; }
.vchip.is-out { color: var(--steel); border-style: dashed; }
.vchip.is-out > span:not(.vdot) { text-decoration: line-through; text-decoration-thickness: 1px; }
.vchip.is-out .vdot { opacity: 0.5; }
.vchip.is-out .vdot::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1.5px; margin-left: -0.75px; background: var(--steel); transform: rotate(45deg); }
.vchip.is-none { opacity: 0.45; }
.vmsg { display: flex; align-items: center; gap: 6px; color: var(--red); font-size: 0.875rem; font-weight: 600; }
.pcard-dots { display: flex; align-items: center; gap: 5px; min-height: 16px; }
.pcard-dots .vdot { width: 16px; height: 16px; }
.pcard-dots .more { margin-left: 3px; font-size: 0.75rem; color: var(--steel); }
.pcard-dots .vimg { width: 22px; height: 22px; }
.pcard-opts { min-height: 16px; font-size: 0.8125rem; color: var(--steel); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price .from { align-self: center; font-size: 0.75rem; font-weight: 500; color: var(--steel); }
.wa-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); height: 44px; border-radius: var(--r-pill); border: 1px solid var(--hairline-strong); font-weight: 600; font-size: 0.875rem; transition: border-color 0.18s var(--ease); }
.wa-btn:hover { border-color: var(--carbon); }
.wa-btn svg { width: 20px; height: 20px; }
.wa-green { color: #128C4E; }
.info-list { border: 1px solid var(--hairline); border-radius: var(--r-card); }
.info-row { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--s3); padding: 14px var(--s4); border-bottom: 1px solid var(--hairline); font-size: 0.9375rem; }
.info-row:last-child { border-bottom: 0; }
.info-row svg.lucide { color: var(--steel); margin-top: 2px; }
.info-row b { font-weight: 600; }
.info-row p { color: var(--steel); font-size: 0.875rem; }
.info-row a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.notice { background: var(--mist); border-radius: var(--r-card); padding: var(--s4); font-size: 0.875rem; color: var(--steel); display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--s3); }
.notice b { color: var(--carbon); }
.notice svg.lucide { color: var(--carbon); }
.ptabs { margin-top: var(--s8); }
.ptabs-bar { display: flex; gap: var(--s5); border-bottom: 1px solid var(--hairline); overflow-x: auto; scrollbar-width: none; }
.ptabs-bar button { padding: 14px 0; font-weight: 600; color: var(--steel); border-bottom: 2px solid transparent; white-space: nowrap; }
.ptabs-bar button[aria-selected="true"] { color: var(--carbon); border-bottom-color: var(--red); }
.ptab { padding: var(--s5) 0 0; display: grid; gap: var(--s4); max-width: 72ch; }
.ptab[hidden] { display: none; }
.ptab ol { list-style: decimal; padding-left: 1.25em; display: grid; gap: var(--s2); }
.ptab ul.dots { list-style: disc; padding-left: 1.25em; display: grid; gap: var(--s1); }
.spec { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.spec th, .spec td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.spec th { width: 34%; background: var(--mist); font-weight: 500; color: var(--steel); }
.sticky-buy { display: none; }

/* ---------- Cart & checkout ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--s6); align-items: start; padding-top: var(--s5); }
.lines { border-top: 1px solid var(--hairline); }
.line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto; gap: var(--s4); align-items: center; padding: var(--s4) 0; border-bottom: 1px solid var(--hairline); }
.line-img { width: 96px; height: 96px; border-radius: 10px; background: var(--mist); display: grid; place-items: center; overflow: hidden; }
.line-img img { width: 100%; height: 100%; border-radius: inherit; object-fit: contain; mix-blend-mode: multiply; }
.line-img img.ph, .line-img img.photo { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.line h3 { font-size: 1rem; line-height: 1.3; }
.line h3 a:hover { color: var(--red); }
.line .meta { font-size: 0.8125rem; color: var(--steel); margin-top: 2px; }
.line .unit { font-size: 0.875rem; color: var(--steel); font-variant-numeric: tabular-nums; margin-top: 4px; }
.line .total { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 84px; text-align: right; }
.line .rm { font-size: 0.8125rem; color: var(--steel); display: inline-flex; gap: 4px; align-items: center; margin-top: 6px; }
.line .rm:hover { color: var(--red-press); }
.line .rm svg.lucide { width: 14px; height: 14px; }
.summary { border: 1px solid var(--hairline); border-radius: var(--r-card); padding: var(--s5); display: grid; gap: var(--s3); position: sticky; top: calc(var(--hdr-stuck, 64px) + 16px); }
.summary h2 { font-size: 1.25rem; }
.sum-row { display: flex; justify-content: space-between; gap: var(--s3); font-size: 0.9375rem; }
.sum-row span:last-child { font-variant-numeric: tabular-nums; }
.sum-row.total { font-size: 1.125rem; font-weight: 700; border-top: 1px solid var(--hairline); padding-top: var(--s3); }
.sum-row.total span:last-child { font-size: 1.375rem; letter-spacing: -0.02em; }
.sum-items { display: grid; gap: var(--s3); max-height: 320px; overflow-y: auto; padding: 8px 8px var(--s2) 0; border-bottom: 1px solid var(--hairline); } /* top and right room for the quantity bubble, which a scrolling list would clip */
.sum-item { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: var(--s3); align-items: center; font-size: 0.875rem; }
.sum-item .line-img { width: 52px; height: 52px; position: relative; overflow: visible; }
.sum-item .qty { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--steel); color: var(--white); font-size: 0.6875rem; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.sum-item p { line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sum-item span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }
.trust { display: grid; gap: var(--s2); font-size: 0.8125rem; color: var(--steel); }
.trust div { display: flex; gap: var(--s2); align-items: center; }
.trust svg.lucide { width: 16px; height: 16px; color: var(--green); }
.form-sec { border: 1px solid var(--hairline); border-radius: var(--r-card); padding: var(--s5); display: grid; gap: var(--s4); }
.form-sec + .form-sec { margin-top: var(--s5); }
.form-sec h2 { font-size: 1.25rem; display: flex; align-items: center; gap: var(--s3); }
.form-sec h2 .step { width: 28px; height: 28px; border-radius: 50%; background: var(--carbon); color: var(--white); font-size: 0.875rem; display: grid; place-items: center; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.form-grid .full { grid-column: 1 / -1; }
.pay { display: grid; gap: var(--s3); }
.pay-opt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s3); align-items: center; padding: var(--s4); border: 1px solid var(--alloy); border-radius: var(--r-input); cursor: pointer; transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease); }
.pay-opt:hover { border-color: var(--carbon); }
.pay-opt:has(input:checked) { border-color: var(--carbon); background: var(--mist); box-shadow: inset 0 0 0 1px var(--carbon); }
.pay-opt input { width: 18px; height: 18px; accent-color: var(--red); margin: 0; }
.pay-opt b { display: block; font-size: 0.9375rem; }
.pay-opt small { display: block; font-size: 0.8125rem; color: var(--steel); }
.pay-opt .marks { display: flex; gap: 4px; }
.pay-opt .marks span { border: 1px solid var(--hairline-strong); border-radius: var(--r-badge); padding: 2px 7px; font-size: 0.6875rem; font-weight: 700; color: var(--steel); background: var(--white); }
.confirm { max-width: 860px; margin: 0 auto; padding-top: var(--s5); display: grid; gap: var(--s5); }
.confirm-head { display: grid; gap: var(--s3); justify-items: center; text-align: center; }
.confirm-head .ok { width: 56px; height: 56px; border-radius: 50%; background: var(--green-tint); color: var(--green); display: grid; place-items: center; }
.confirm-head .ok svg.lucide { width: 30px; height: 30px; stroke-width: 2.2; }
.confirm-head .ok.is-bad { background: var(--red-tint); color: var(--red); }
.confirm-head .ok.is-wait { background: var(--amber-tint); color: #6B4A00; }
.confirm-head h1 { font-size: clamp(1.625rem, 1.15rem + 2vw, 2.25rem); letter-spacing: -0.025em; text-wrap: balance; }
.confirm-head .lede { max-width: 58ch; color: var(--steel); }
.confirm-actions { display: flex; gap: var(--s3); flex-wrap: wrap; align-items: center; justify-content: center; }
.confirm-actions .btn-link { padding: 0 var(--s3); }
.confirm-track { display: contents; } /* the form's button sits in the button row like the others */
.callout { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--s4); padding: var(--s5); background: var(--carbon); color: var(--fog); border-radius: var(--r-card); }
.callout .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--graphite); color: var(--white); display: grid; place-items: center; }
.callout b { color: var(--white); display: block; font-size: 1.0625rem; margin-bottom: 4px; }
.callout p { font-size: 0.9375rem; }
.callout a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Account / track / policies ---------- */
.auth { max-width: 460px; margin: var(--s6) auto 0; }
.auth .tabs { background: var(--mist); padding: 4px; border-radius: var(--r-pill); display: grid; grid-template-columns: 1fr 1fr; margin-bottom: var(--s5); }
.auth .tab { height: 40px; }
.auth form { display: grid; gap: var(--s4); }
.acct { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--s6); padding-top: var(--s5); align-items: start; }
.acct-nav { display: grid; gap: 2px; border: 1px solid var(--hairline); border-radius: var(--r-card); padding: var(--s2); position: sticky; top: calc(var(--hdr-stuck, 64px) + 16px); }
.acct-nav a, .acct-nav button { display: flex; gap: var(--s3); align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-input); font-weight: 500; text-align: left; }
.acct-nav a:hover, .acct-nav button:hover { background: var(--mist); }
.acct-nav a[aria-current="page"], .acct-nav button[aria-selected="true"] { background: var(--carbon); color: var(--white); }
.acct-nav a svg.lucide, .acct-nav button svg.lucide { color: inherit; opacity: 0.8; }
.acct-pane { display: grid; gap: var(--s4); }
.acct-pane[hidden] { display: none; }
.acct-pane h2 { font-size: 1.5rem; }
.tbl { width: 100%; border-collapse: collapse; font-size: 0.9375rem; border: 1px solid var(--hairline); border-radius: var(--r-card); overflow: hidden; }
.tbl th, .tbl td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--hairline); }
.tbl th { background: var(--mist); font-weight: 500; color: var(--steel); font-size: 0.8125rem; }
.tbl tr:last-child td { border-bottom: 0; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8125rem; font-weight: 600; padding: 3px 10px; border-radius: var(--r-pill); }
.status.delivered { background: var(--green-tint); color: var(--green); }
.status.shipped { background: var(--mist); color: var(--carbon); }
.status.processing { background: var(--amber-tint); color: #6B4A00; }
.cards2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s4); }
.box { border: 1px solid var(--hairline); border-radius: var(--r-card); padding: var(--s5); display: grid; gap: var(--s2); align-content: start; }
.box h3 { font-size: 1.0625rem; }
.box p { font-size: 0.9375rem; color: var(--steel); }
.box .acts { display: flex; gap: var(--s3); margin-top: var(--s2); }
.track-wrap { max-width: 820px; margin: 0 auto; }
.track-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: var(--s3); align-items: end; padding: var(--s5); border: 1px solid var(--hairline); border-radius: var(--r-card); margin-top: var(--s5); }
.timeline { margin-top: var(--s5); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: var(--s5); display: grid; gap: 0; }
.tl-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s3); padding-bottom: var(--s4); border-bottom: 1px solid var(--hairline); margin-bottom: var(--s4); }
.tl-head h2 { font-size: 1.25rem; }
.tl-step { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: var(--s4); position: relative; padding-bottom: var(--s5); }
.tl-step:last-child { padding-bottom: 0; }
.tl-step::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--hairline); }
.tl-step:last-child::before { display: none; }
.tl-step.done::before { background: var(--green); }
.tl-dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--hairline-strong); background: var(--white); display: grid; place-items: center; position: relative; z-index: 1; }
.tl-step.done .tl-dot { background: var(--green); border-color: var(--green); color: var(--white); }
.tl-step.now .tl-dot { border-color: var(--carbon); }
.tl-step.now .tl-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.tl-dot svg.lucide { width: 14px; height: 14px; stroke-width: 3; }
.tl-step b { display: block; }
.tl-step p { font-size: 0.875rem; color: var(--steel); }
.tl-step.todo b { color: var(--steel); font-weight: 500; }
.policy { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--s7); padding-top: var(--s5); align-items: start; }
.policy-nav { position: sticky; top: calc(var(--hdr-stuck, 64px) + 16px); display: grid; gap: 2px; }
.policy-nav a { display: flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: var(--r-input); font-weight: 500; }
.policy-nav a:hover { background: var(--mist); }
.policy-nav a[aria-current="true"] { background: var(--carbon); color: var(--white); }
.draft-bar { display: flex; gap: var(--s3); align-items: flex-start; background: var(--amber-tint); border: 1px solid #EBC75F; border-radius: var(--r-card); padding: var(--s4); font-size: 0.875rem; color: #4A3300; margin-bottom: var(--s5); }
.draft-bar svg.lucide { color: #9A6B00; margin-top: 2px; }
.prose { max-width: 72ch; display: grid; gap: var(--s4); }
.prose section { display: grid; gap: var(--s4); padding-bottom: var(--s7); scroll-margin-top: 16px; }
.prose h2 { font-size: 1.875rem; letter-spacing: -0.025em; }
.prose h3 { font-size: 1.25rem; margin-top: var(--s3); }
.prose ul { list-style: disc; padding-left: 1.25em; display: grid; gap: var(--s1); }
.prose ol { list-style: decimal; padding-left: 1.25em; display: grid; gap: var(--s1); }
.prose blockquote { margin: 0; border: 1px solid var(--hairline); background: var(--mist); border-radius: var(--r-card); padding: var(--s4); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.prose th { background: var(--mist); font-weight: 500; color: var(--steel); }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose hr { border: 0; border-top: 1px solid var(--hairline); margin: var(--s3) 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .banner-wide { background-size: 38% auto, auto, auto; }
  .banner-tall { background-size: auto 30%, auto, auto; }
  .grid-6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-6 > :nth-child(n+5) { display: none; }
  .cat-block { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cat-block .cat-panel { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) 160px; align-items: center; }
  .cat-block .cat-panel img { grid-row: 1 / span 4; grid-column: 2; margin: 0; }
  .cat-block > .pcard:nth-child(n+6) { display: none; }
  .featured { grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.2fr); }
  .featured > .pcard:nth-child(n+6) { display: none; }
  .usp-in { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--s5); }
  .foot-in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-contact, .foot-sub { grid-column: span 3; }
  .hdr-logo { width: 240px; }
}
/* Laptop screens (a 13" MacBook shows about 1440 x 780): the hero gives up height so "Shop by
   category" is in the first view. Taller screens keep the full hero; tablets and phones are unchanged. */
@media (min-width: 961px) and (max-height: 1000px) {
  .hero { padding-top: var(--s4); }
  .banner { min-height: clamp(320px, calc(100svh - 440px), 480px); padding: 28px clamp(32px, 3vw, 44px); gap: 12px; }
  .banner h1, .banner .slide-h { font-size: clamp(2rem, 1rem + 1.4vw, 2.25rem); }
  .banner-wide p:not(.from) { max-width: 36ch; }
  .banner .acts { margin-top: 4px; }
  .banner .btn-lg { --h: 48px; font-size: 0.9375rem; }
  .banner-wide { background-size: 40% auto, auto, auto; background-position: right 4% center, center, center; }
  .banner-tall h2 { font-size: clamp(1.625rem, 1rem + 1vw, 2rem); }
  .banner-tall p:not(.from) { display: none; }
  .banner-tall { background-size: auto min(42%, calc(100% - 200px)), auto, auto; }
  .hero + .sec { padding-top: var(--s6); }
  .hero + .sec .sec-head { margin-bottom: var(--s4); }
  .cat-disc { width: min(108px, 100%); }
}
@media (max-width: 960px) {
  :root { --tabbar-h: 64px; }
  .hdr-top-in { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: var(--s2); min-height: 60px; }
  .hdr-menu, .hdr-cart-m { display: inline-grid; }
  .hdr-logo { width: 190px; justify-self: center; padding: 4px 0; }
  :root { --hdr-full: 122px; --hdr-stuck: 60px; }
  .hdr-top .search { grid-column: 1 / -1; grid-row: 2; margin-bottom: 10px; max-height: 64px; transition: max-height 0.25s var(--ease), opacity 0.2s var(--ease), margin 0.25s var(--ease), padding 0.25s var(--ease); }
  .site-hdr.is-compact .hdr-top-in { row-gap: 0; }
  .site-hdr.is-compact .hdr-top form.search { max-height: 0; opacity: 0; margin-bottom: 0; padding-block: 0; border-width: 0; overflow: hidden; pointer-events: none; }
  .hdr-top .search select { display: none; }
  .hdr-top .search input { height: 34px; }
  .hdr-top .search button { width: 34px; height: 34px; }
  .hdr-call, .hdr-nav { display: none; }
  .tabbar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--white); border-top: 1px solid var(--hairline); }
  .tabbar a, .tabbar button { display: grid; justify-items: center; align-content: center; gap: 2px; font-size: 0.75rem; font-weight: 500; color: var(--steel); position: relative; }
  .tabbar svg.lucide { width: 22px; height: 22px; }
  .tabbar [aria-current="page"] { color: var(--red); }
  .tabbar .count { top: 6px; right: calc(50% - 22px); }
  .toast { left: 16px; right: 16px; width: auto; bottom: calc(var(--tabbar-h) + 12px); }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero .banner-tall { display: none; } /* The slideshow alone on tablets and phones (client's request). */
  .cat-row { gap: var(--s4) var(--s2); }
  .cat-disc { width: min(84px, 100%); }
  .cat b { font-size: 0.8125rem; }
  .grid-6, .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-6 > :nth-child(n+5) { display: flex; }
  .grid-6 > :nth-child(n+7) { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
  /* A swipe row that lines up with the page edge (scroll-padding keeps the snapped tile inside the gutter). */
  .tiles { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * max(16px, 3vw)); padding-inline: max(16px, 3vw); scroll-padding-inline: max(16px, 3vw); gap: var(--s3); }
  .tiles::-webkit-scrollbar { display: none; }
  .tiles .tile { scroll-snap-align: start; }
  .featured { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
  .featured .promo { grid-column: 1 / -1; grid-row: auto; min-height: 380px; order: -1; }
  .featured > .pcard:nth-child(n+6) { display: flex; }
  .deal-track { grid-auto-columns: 88%; gap: var(--s3); }
  .deal { grid-template-columns: 120px minmax(0, 1fr); padding: var(--s4); gap: var(--s4); }
  .cat-block { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
  .cat-block .cat-panel { grid-template-columns: minmax(0, 1fr) 110px; }
  .cat-block > .pcard:nth-child(n+6) { display: none; }
  .cat-block > .pcard:nth-child(n+4) { display: none; }
  .guides { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
  .usp-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-in { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); padding-block: var(--s7) var(--s6); }
  .foot-contact, .foot-sub { grid-column: 1 / -1; }
  .shop { grid-template-columns: minmax(0, 1fr); }
  .filters { display: none; }
  .filters.open { display: grid; position: fixed; inset: 0 0 0 auto; width: min(360px, 90vw); z-index: 100001; background: var(--white); overflow-y: auto; padding: 0 var(--s5); animation: slide-in-r 0.25s var(--ease); align-content: start; }
  .filter-open { display: inline-flex; }
  .filters-head { display: flex !important; }
  .finder-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .finder-grid .btn { grid-column: 1 / -1; }
  .pdp { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .gallery { position: static; }
  .sticky-buy { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s3); align-items: center; position: fixed; left: 0; right: 0; bottom: var(--tabbar-h); z-index: 55; background: var(--white); border-top: 1px solid var(--hairline); padding: 10px 16px; transform: translateY(110%); transition: transform 0.3s var(--ease); }
  .sticky-buy.show { transform: none; }
  .sticky-buy p { font-size: 0.8125rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
  .sticky-buy strong { font-size: 1.125rem; font-variant-numeric: tabular-nums; }
  .two-col { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .acct, .policy { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .acct-nav { position: static; grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; }
  .policy-nav { position: static; grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--hairline); padding-bottom: var(--s2); }
}
@media (max-width: 640px) {
  .sec { padding-top: var(--s7); }
  .sec-head h2 { font-size: 1.5rem; }
  .page-title { font-size: 1.875rem; }
  .banner { min-height: 0; justify-content: flex-start; padding-bottom: 230px; }
  .banner-wide { background-size: 94% auto, auto, auto; background-position: center bottom 18px, center, center; }
  .banner-tall { background-size: auto 190px, auto, auto; padding-bottom: 230px; }
  .promo { background-size: auto 74%; }
  .banner h1, .banner .slide-h { max-width: 13ch; }
  .tile { aspect-ratio: auto; min-height: 200px; background-size: auto 74%; background-position: right bottom; }
  .tile p { max-width: 15ch; }
  .tile h3 { font-size: 1.25rem; }
  /* Deals on phones: photo beside the name and price, then the timer and the button across the card. */
  .deal { grid-template-columns: 104px minmax(0, 1fr); column-gap: var(--s4); row-gap: 6px; align-items: start; }
  .deal-media { grid-row: span 3; width: 104px; }
  .deal-body { display: contents; }
  .deal-body > .pcard-meta { flex-wrap: wrap; gap: 0 8px; }
  .deal-body > .timer, .deal-body > .deal-ends, .deal-body > div:has(> .btn) { grid-column: 1 / -1; }
  .deal-media .ph-plate > span, .deal-media .ph-plate b { display: none; } /* Icon only in the small photo. */
  .deal .timer { margin: 8px 0 0; }
  .deal .timer div { flex: 1; width: auto; }
  .deal-body > div:has(> .btn) .btn { width: 100%; margin-top: 4px; }
  .guides { grid-template-columns: minmax(0, 1fr); }
  .guide { grid-template-columns: 120px minmax(0, 1fr); align-items: start; }
  .guide-img { grid-row: 1 / span 3; }
  .usp-in { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .foot-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .buy { grid-template-columns: auto minmax(0, 1fr); }
  .buy .btn-dark { grid-column: 1 / -1; }
  .line { grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "img info total" "img qty qty"; row-gap: var(--s2); }
  .line > .line-img { grid-area: img; width: 72px; height: 72px; }
  .line > .info { grid-area: info; }
  .line > .stepper { grid-area: qty; justify-self: start; }
  .line > .total { grid-area: total; align-self: start; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .track-form { grid-template-columns: minmax(0, 1fr); }
  .tbl thead { display: none; }
  .tbl tr { display: grid; grid-template-columns: 1fr 1fr; padding: var(--s3); border-bottom: 1px solid var(--hairline); }
  .tbl td { border: 0; padding: 4px 0; }
  .tbl td::before { content: attr(data-label); display: block; font-size: 0.75rem; color: var(--steel); }
}

/* Phones: more room above the logo, and a short slideshow (no swiping, no side banner), so "Shop by
   category" starts in the first screen. */
@media (max-width: 640px) {
  .hdr-top-in { padding-top: calc(10px + env(safe-area-inset-top, 0px)); row-gap: 10px; }
  .hdr-top .search { margin-bottom: 12px; }

  .hero { padding-top: 16px; }
  .cat-row { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: var(--s4); }
  .cat-disc { width: min(76px, 100%); }
  .cat b { font-size: 0.75rem; }
  .cat small { font-size: 0.6875rem; }
  .cat-row:not(.is-open) > .cat:nth-child(n+9) { display: none; }
  .cat-more { display: flex; margin: var(--s4) auto 0; }
  /* A compact slide: text on the left, the product on the right; the dots sit under the slide. */
  .slides { background: none; overflow: visible; border-radius: 0; }
  .slides > .banner:not(.slide-image) { min-height: 232px; height: auto; padding: 20px 18px; gap: 8px; justify-content: center; }
  .slides > .banner:not(.slide-image) > * { max-width: 54%; }
  .slides .acts { flex-direction: column; align-items: flex-start; margin-top: 4px; }
  .slides .banner-wide { background-size: 46% auto, auto, auto; background-position: right 10px center, center, center; }
  .slides .slide-photo { background-size: auto 100%, auto; background-position: right -30px center, center; }
  .slides > .slide-image { aspect-ratio: var(--ar-m, var(--ar, 16 / 9)); }
  .slides-ctl, .hero-images .slides-ctl { position: static; transform: none; grid-row: 2; justify-self: center; margin: 6px 0 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .slides-ctl button { color: var(--carbon); }
  .slides-ctl button:hover { background: var(--mist); }
  .slides-dot::before { background: rgba(21, 19, 20, 0.22); }
  .slides-dot[aria-current="true"]::before { background: var(--red); }
  .slides-arrow { display: none; }
  .banner h1, .banner .slide-h { font-size: 1.375rem; max-width: none; }
  .banner-tall h2 { font-size: 1.625rem; }
  .hero .banner p:not(.from) { display: none; }
  .banner .acts { margin-top: 2px; gap: var(--s2); flex-wrap: nowrap; }
  .banner .btn-lg { --h: 40px; font-size: 0.875rem; padding-inline: 16px; }
  .banner .btn-lg svg.lucide { display: none; }
  .banner-wide { background-size: auto 140px, auto, auto; background-position: center bottom 14px, center, center; }
  .banner-tall { padding-bottom: 0; background-size: auto 168px, auto, auto; background-position: center bottom 12px, center, center; }
  .hero + .sec { padding-top: var(--s6); }
}
@media (max-width: 374px) {
  .banner .btn-lg { font-size: 0.8125rem; padding-inline: 12px; }
  .banner-wide { background-size: auto 132px, auto, auto; }
}
.filters-head { display: none; justify-content: space-between; align-items: center; position: sticky; top: 0; background: var(--white); padding: var(--s4) 0; border-bottom: 1px solid var(--hairline); z-index: 2; }
.filters-head h2 { font-size: 1.25rem; }
.filters-foot { display: none; }
@media (max-width: 960px) { .filters.open .filters-foot { display: block; position: sticky; bottom: 0; background: var(--white); padding: var(--s3) 0 calc(var(--s3) + env(safe-area-inset-bottom)); border-top: 1px solid var(--hairline); margin-top: auto; } }
.scrim { position: fixed; inset: 0; background: rgba(21,19,20,0.55); z-index: 100000; display: none; }
.scrim.show { display: block; }


/* =================== WordPress / WooCommerce output =================== */
.skip:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: var(--r-pill); }
.h3 { font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.1; }
.page-wrap { padding-bottom: var(--s7); }
.page-prose { padding-top: var(--s5); }
.store-content { padding-top: var(--s2); }
.nm-hidden { display: none !important; }

/* Photo-coming-soon plate (products without a photo yet) */
.ph-plate { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 6%; background: var(--mist); text-align: center; container-type: inline-size; }
.ph-plate svg.lucide { width: 18cqw; height: 18cqw; color: var(--alloy); stroke-width: 1.3; }
.ph-plate b { font-size: 13cqw; font-weight: 600; letter-spacing: -0.03em; line-height: 1; max-width: 86%; }
.ph-plate span { font-size: max(12px, 6cqw); font-weight: 500; color: var(--steel); border: 1px solid var(--hairline-strong); border-radius: var(--r-pill); padding: 0.35em 1em; }
.line-img .ph-plate span, .sum-item .ph-plate span, .offer-img .ph-plate span, .mc-img .ph-plate span { display: none; }
.line-img .ph-plate b, .sum-item .ph-plate b, .offer-img .ph-plate b, .mc-img .ph-plate b { font-size: 16cqw; }
.gal-main .ph-plate b { font-size: 10cqw; }
.gal-main .ph-plate span { font-size: max(13px, 3.4cqw); }
.gal-main .ph-plate svg.lucide { width: 12cqw; height: 12cqw; }
.gal-main img, .pcard-media img, .deal-media img, .cat-panel img { mix-blend-mode: multiply; }
.gal-thumbs { display: flex; gap: var(--s2); flex-wrap: wrap; }
.gal-thumbs button { width: 72px; height: 72px; border-radius: var(--r-input); background: var(--mist); border: 1px solid var(--hairline); overflow: hidden; display: grid; place-items: center; }
.gal-thumbs button[aria-pressed="true"] { border-color: var(--carbon); box-shadow: inset 0 0 0 1px var(--carbon); }
.gal-thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.stock-row { display: flex; gap: var(--s4); flex-wrap: wrap; align-items: center; }
.stock-row .fit { font-size: 0.875rem; }
.featured.no-promo { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.toast-ph { width: 56px; height: 56px; border-radius: 8px; background: var(--graphite); display: grid; place-items: center; color: var(--fog); }
.toast-top:has(.toast-ph:only-child) { grid-template-columns: 56px minmax(0, 1fr) auto; }
.cart-actions { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; justify-content: space-between; margin-top: var(--s4); }
.cart-actions .coupon { display: flex; gap: var(--s2); }
.cart-actions .coupon .input { height: 44px; width: 180px; }
.nm-update-cart { display: none; }
.no-js .nm-update-cart { display: inline-flex; }
.btn[aria-busy="true"] { opacity: 0.75; cursor: progress; }

/* Form rows printed by woocommerce_form_field() */
.form-row { display: grid; gap: 6px; margin: 0; align-content: start; }
.form-row label { font-size: 0.875rem; font-weight: 500; }
.form-row .required { color: var(--red-press); text-decoration: none; border: 0; }
.form-row .optional { color: var(--steel); font-weight: 400; }
.form-row-wide, .form-grid > .form-row-wide { grid-column: 1 / -1; }
.form-row .input-text, .form-row select, .form-row textarea, .woocommerce-Input, .woocommerce form .input-text { width: 100%; height: 48px; padding: 0 14px; background: var(--white); border: 1px solid var(--alloy); border-radius: var(--r-input); font-size: 1rem; transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease); }
.form-row textarea, textarea.input-text { height: auto; min-height: 96px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.form-row select { appearance: none; padding-right: 36px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23151314' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; cursor: pointer; }
.form-row .input-text:hover, .form-row select:hover, .form-row textarea:hover { border-color: var(--carbon); }
.form-row .input-text:focus, .form-row select:focus, .form-row textarea:focus, .woocommerce-Input:focus { border-color: var(--carbon); box-shadow: 0 0 0 1px var(--carbon), 0 0 0 4px rgba(207, 23, 30, 0.35); }
.form-row .description { font-size: 0.75rem; color: var(--steel); }
.form-row.woocommerce-invalid .input-text, .form-row.woocommerce-invalid select { border-color: var(--red); }
.form-row.woocommerce-invalid label { color: var(--red-press); }
.checkout-inline-error-message { color: var(--red-press); font-size: 0.75rem; font-weight: 500; }
.woocommerce-input-wrapper { display: block; }
.form-sec .form-row-first, .form-sec .form-row-last { grid-column: auto; }
.woocommerce-additional-fields { margin-top: var(--s5); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: var(--s5); display: grid; gap: var(--s4); }
.woocommerce-additional-fields h3 { font-size: 1.25rem; }
.woocommerce-account-fields { margin-top: var(--s5); }
.auth .field, .auth form p.field { display: grid; gap: 6px; }
.auth form { display: grid; gap: var(--s4); }

/* Notices */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-error, .woocommerce-message, .woocommerce-info, .wc-block-components-notice-banner { list-style: none; margin: var(--s4) 0; padding: var(--s4) var(--s5); border-radius: var(--r-card); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); align-items: center; justify-content: space-between; font-size: 0.9375rem; }
.woocommerce-error { background: var(--red-tint); color: var(--red-press); }
.woocommerce-error li { list-style: none; }
/* The bKash plugin's "Payment Failed" heading comes with an inline white colour. */
.woocommerce-error h3 { color: inherit !important; font-size: 1rem !important; line-height: 1.4 !important; margin: 0 0 2px !important; }
.woocommerce-message { background: var(--green-tint); color: var(--green); }
.woocommerce-info { background: var(--mist); color: var(--carbon); }
.woocommerce-error .button, .woocommerce-message .button, .woocommerce-info .button { order: 2; display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: var(--r-pill); background: var(--carbon); color: var(--white); font-size: 0.8125rem; font-weight: 600; }
.woocommerce-error a:not(.button), .woocommerce-message a:not(.button), .woocommerce-info a:not(.button) { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* Pagination and ordering */
.woocommerce-pagination { margin-top: var(--s6); }
.woocommerce-pagination ul.page-numbers { display: flex; gap: var(--s2); flex-wrap: wrap; justify-content: center; list-style: none; padding: 0; margin: 0; }
.woocommerce-pagination .page-numbers a, .woocommerce-pagination .page-numbers span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--hairline); font-weight: 600; font-variant-numeric: tabular-nums; }
.woocommerce-pagination .page-numbers a:hover { border-color: var(--carbon); }
.woocommerce-pagination .page-numbers .current { background: var(--carbon); color: var(--white); border-color: var(--carbon); }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select { appearance: none; height: 40px; padding: 0 36px 0 14px; border: 1px solid var(--alloy); border-radius: var(--r-input); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23151314' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; font-size: 0.9375rem; cursor: pointer; }
.chip a { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; }
.chip a:hover { background: var(--hairline); }
.chip a svg.lucide { width: 14px; height: 14px; }

/* Checkout payment */
#payment { margin-top: var(--s2); display: grid; gap: var(--s3); }
#payment ul.payment_methods { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
#payment li.wc_payment_method { border: 1px solid var(--alloy); border-radius: var(--r-input); padding: 12px 14px; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: center; transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease); }
#payment li.wc_payment_method:has(input:checked) { border-color: var(--carbon); background: var(--mist); box-shadow: inset 0 0 0 1px var(--carbon); }
#payment li.wc_payment_method input { width: 18px; height: 18px; accent-color: var(--red); margin: 0; }
#payment li.wc_payment_method label { font-weight: 600; font-size: 0.9375rem; cursor: pointer; display: flex; align-items: center; gap: 8px; }
#payment li.wc_payment_method label img { max-height: 22px; width: auto; }
/* Combo offers: cards on the product page, prompts on the cart page */
.offer-combo .offer-img { position: relative; overflow: visible; }
.offer-qty { position: absolute; right: -6px; bottom: -6px; min-width: 26px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--carbon); color: var(--white); font-size: 0.75rem; font-weight: 700; display: grid; place-items: center; }
.offer-each { color: var(--steel); font-size: 0.8125rem; }
.offer-until { font-size: 0.75rem; color: var(--steel); }
.combo-tips { display: grid; gap: var(--s2); margin-top: var(--s5); }
.combo-tip { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); border: 1px solid var(--red-tint); background: #FFF8F8; border-radius: var(--r-card); padding: 12px 14px; }
.combo-tip p { margin: 0; font-size: 0.9375rem; line-height: 1.45; }
.combo-tip b { color: var(--red-press); }
.combo-tip .btn { flex: none; }
.combo-tip .btn svg.lucide { width: 16px; height: 16px; }
.mc-foot .sum-row.discount { margin-inline: 0; font-size: 0.875rem; }
@media (max-width: 640px) { .combo-tip { flex-direction: column; align-items: flex-start; } }

/* Desktop cart sidebar (right-hand drawer) */
.cart-panel { width: min(420px, 92vw); overflow: hidden; }
.nm-minicart { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.mc-items { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--s5); }
.mc-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: var(--s3); align-items: start; padding: var(--s4) var(--s5); margin-inline: calc(-1 * var(--s5)); border-bottom: 1px solid var(--hairline); transition: background-color 0.3s var(--ease), opacity 0.2s var(--ease); }
.mc-item[aria-busy="true"] { opacity: 0.5; pointer-events: none; }
.mc-item.is-new { background: var(--green-tint); }
.mc-item.is-new .mc-info::before { content: "\2713  " attr(data-added-label); color: var(--green); font-size: 0.75rem; font-weight: 700; }
.mc-img { width: 64px; height: 64px; border-radius: 10px; background: var(--mist); display: grid; place-items: center; overflow: hidden; container-type: inline-size; }
.mc-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.mc-info { display: grid; gap: 4px; min-width: 0; }
.mc-name { font-weight: 600; font-size: 0.9375rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
a.mc-name:hover { color: var(--red); }
.mc-each { font-size: 0.8125rem; color: var(--steel); font-variant-numeric: tabular-nums; }
.mc-row { display: flex; align-items: center; gap: var(--s2); margin-top: 4px; }
.mc-qty span { min-width: 28px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.mc-qty button:disabled { opacity: 0.35; cursor: not-allowed; }
.mc-rm { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--steel); transition: background-color 0.18s var(--ease), color 0.18s var(--ease); }
.mc-rm:hover { background: var(--mist); color: var(--red); }
.mc-rm svg.lucide { width: 18px; height: 18px; }
.mc-total { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mc-foot { border-top: 1px solid var(--hairline); padding: var(--s4) var(--s5) var(--s5); display: grid; gap: var(--s3); background: var(--white); }
.mc-sub { display: flex; justify-content: space-between; align-items: baseline; font-size: 1rem; }
.mc-sub b { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.mc-note { margin: 0; font-size: 0.8125rem; color: var(--steel); }
.mc-acts { display: grid; gap: var(--s2); }
.mc-acts .btn { width: 100%; }
.mc-empty { flex: 1; display: grid; align-content: center; justify-items: center; gap: var(--s3); text-align: center; padding: var(--s7) var(--s5); color: var(--steel); }
.mc-empty svg.lucide { width: 40px; height: 40px; color: var(--alloy); }

/* WooCommerce adds a "View cart" link after any add-to-cart button; the cart toast already offers it. */
a.added_to_cart { display: none !important; }

/* Product page (client's layout, 2026-10-25): specifications under the photo, then offers,
   product details with "See more", and the FAQ under the buy row. */
.pspecs { margin: var(--s4) 0 0; border: 1px solid var(--hairline); border-radius: var(--r-card); display: grid; }
.pspecs > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: var(--s3); padding: 10px 14px; border-top: 1px solid var(--hairline); font-size: 0.875rem; }
.pspecs > div:first-child { border-top: 0; }
.pspecs dt { color: var(--steel); }
.pspecs dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.pspecs dd a { text-decoration: underline; text-decoration-color: var(--hairline-strong); text-underline-offset: 3px; }
.pspecs dd a:hover { color: var(--red); text-decoration-color: currentColor; }
.pspecs-end { display: none; }
.offers { margin-top: var(--s2); display: grid; gap: var(--s2); }
.offers-h { display: inline-flex; align-items: center; gap: 6px; justify-self: start; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0; color: var(--red-press); background: var(--red-tint); border-radius: var(--r-pill); padding: 5px 12px; }
.offers-h svg.lucide { width: 14px; height: 14px; }
.offer { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: var(--s3); align-items: center; border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 10px 12px; background: var(--white); transition: border-color 0.18s var(--ease); }
.offer:hover { border-color: var(--hairline-strong); }
.offer-img { width: 64px; height: 64px; border-radius: 10px; background: var(--mist); display: grid; place-items: center; overflow: hidden; container-type: inline-size; }
.offer-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.offer-body { display: grid; gap: 3px; min-width: 0; justify-items: start; }
.offer-name { font-weight: 600; font-size: 0.9375rem; line-height: 1.3; }
.offer-name:hover { color: var(--red); }
.offer-price { margin: 0; font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.offer-price strong { color: var(--red); font-weight: 700; }
.offer-price s { color: var(--steel); margin-left: 4px; }
.offer-note { margin: 0; font-size: 0.8125rem; font-weight: 600; color: var(--green); }
.offer-save { font-size: 0.75rem; font-weight: 600; color: var(--green); background: var(--green-tint); border-radius: var(--r-pill); padding: 2px 8px; }
.offer-add svg.lucide { width: 16px; height: 16px; }
.pdetails, .pfaq { margin-top: var(--s3); }
.pdetails h2, .pfaq h2 { font-size: 1.125rem; letter-spacing: -0.01em; }
.pdetails .sec-row, .pfaq .sec-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s3); }
.lang-btn { flex: none; height: 32px; padding: 0 14px; border: 1px solid var(--alloy); border-radius: var(--r-pill); font-size: 0.8125rem; font-weight: 600; color: var(--carbon); background: var(--white); transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease); }
.lang-btn:hover { border-color: var(--carbon); background: var(--mist); }
/* Bangla text (product details and FAQ) in the brand's Bangla face, with a little more line height. */
[lang="bn"] { font-family: "Noto Sans Bengali", "Outfit", system-ui, sans-serif; }
.pdetails-body [lang="bn"], .pfaq [lang="bn"] .faq-a { line-height: 1.8; }
.pdetails-body > div { display: grid; gap: var(--s4); } /* one block per language: same spacing as .prose */
.pdetails-body > div[hidden], .pfaq > div[hidden], .sec-row [hidden] { display: none; }
.pdetails-body { font-size: 0.9375rem; }
.pdetails-body.is-clamped { max-height: 11em; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.more-btn { display: inline-flex; align-items: center; gap: 4px; margin-top: var(--s2); font-weight: 600; font-size: 0.875rem; color: var(--red); }
.more-btn svg.lucide { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.more-btn[aria-expanded="true"] svg.lucide { transform: rotate(180deg); }
.faq { border-top: 1px solid var(--hairline); }
.faq:last-of-type { border-bottom: 1px solid var(--hairline); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: 14px 0; font-weight: 600; font-size: 0.9375rem; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq-ic { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--alloy); display: grid; place-items: center; flex: none; transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease); }
.faq-ic svg.lucide { width: 16px; height: 16px; }
.faq summary:hover .faq-ic { border-color: var(--carbon); }
.faq[open] .faq-ic { transform: rotate(45deg); background: var(--carbon); border-color: var(--carbon); color: var(--white); }
.faq-a { padding: 0 0 var(--s4); color: var(--steel); font-size: 0.9375rem; }
.faq-a p { margin: 0 0 6px; }
@media (max-width: 960px) {
  .pspecs-side { display: none; }
  .pspecs-end { display: grid; margin-top: var(--s6); }
}
@media (max-width: 400px) { .offer { grid-template-columns: 56px minmax(0, 1fr); } .offer-img { width: 56px; height: 56px; } .offer-add { grid-column: 2; justify-self: start; } }

/* Checkout: centred title, promo code, delivery charge cards, notes, logo-only bKash */
.woocommerce-checkout .page-title { text-align: center; }
.nm-coupon { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s2); margin: var(--s3) 0 var(--s1); }
.nm-coupon input { height: 44px; border: 1px solid var(--alloy); border-radius: var(--r-input); padding: 0 12px; font-size: 0.875rem; min-width: 0; background: var(--white); }
.nm-coupon input:focus { border-color: var(--carbon); outline: none; box-shadow: var(--ring); }
.nm-coupon .btn { --h: 44px; }
.nm-coupon-msg { grid-column: 1 / -1; font-size: 0.8125rem; margin: 0; }
.nm-coupon-msg:empty { display: none; }
.nm-coupon-msg.is-ok { color: var(--green); }
.nm-coupon-msg.is-bad { color: var(--red); }
/* Discounts in the order summary (promo codes, payment-method discounts): a red-tint band, red text. */
.sum-row.discount { align-items: center; color: var(--red); font-weight: 600; background: var(--red-tint); border-radius: var(--r-input); padding: 7px 10px; margin-inline: -10px; }
.sum-row.discount > span:first-child { display: block; min-width: 0; }
.sum-row.discount svg.lucide { width: 15px; height: 15px; display: inline-block; vertical-align: -2px; margin-right: 6px; } /* Inline, so a long name wraps under its icon instead of dropping below it. */
.sum-row.discount span:last-child { white-space: nowrap; }
.sum-row.coupon a { font-size: 0.75rem; color: var(--steel); text-decoration: underline; text-underline-offset: 2px; margin-left: 6px; }
.sum-row.coupon a:hover { color: var(--red-press); }
.sum-row.discount.coupon a { color: var(--red-press); font-weight: 500; margin-left: 0; }
.nm-dl-opts { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
.nm-dl-opt { display: flex; align-items: center; gap: var(--s3); border: 1px solid var(--alloy); border-radius: var(--r-input); padding: 14px; cursor: pointer; transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease); }
.nm-dl-opt:hover { border-color: var(--carbon); }
.nm-dl-opt:has(input:checked) { border-color: var(--carbon); background: var(--mist); box-shadow: inset 0 0 0 1px var(--carbon); }
.nm-dl-opt input { width: 18px; height: 18px; accent-color: var(--red); margin: 0; flex: none; }
.nm-dl-ic { width: 38px; height: 38px; border-radius: 50%; background: var(--white); border: 1px solid var(--hairline); display: grid; place-items: center; flex: none; }
.nm-dl-ic svg.lucide { width: 18px; height: 18px; color: var(--steel); }
.nm-dl-opt:has(input:checked) .nm-dl-ic svg.lucide { color: var(--red); }
.nm-dl-txt { display: grid; gap: 2px; min-width: 0; }
.nm-dl-txt b { font-size: 0.9375rem; font-weight: 600; line-height: 1.25; }
.nm-dl-txt small { font-size: 0.75rem; color: var(--steel); }
.nm-dl-price { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nm-dl-note { font-size: 0.8125rem; color: var(--steel); margin: 0; }
.nm-delivery h2 abbr.required { color: var(--red); text-decoration: none; }
.nm-notes h2 .opt { font-size: 0.875rem; font-weight: 400; color: var(--steel); }
.nm-notes textarea { min-height: 88px; }
#payment li.payment_method_bkash-for-woocommerce label { font-size: 0; } /* the bKash logo is the label (its alt text names it) */
#payment li.payment_method_bkash-for-woocommerce label img { max-height: 34px; }
#payment li.wc_payment_method label img { max-width: 100%; }
@media (max-width: 640px) { .nm-dl-opts { grid-template-columns: minmax(0, 1fr); } }
#payment .payment_box { grid-column: 1 / -1; font-size: 0.8125rem; color: var(--steel); }
/* Anything a plugin adds inside a payment option (for example OnMark's discount badges) goes under the
   label; left in the narrow radio column it would widen that column and push the label to the right. */
#payment li.wc_payment_method > :not(input):not(label):not(.payment_box) { grid-column: 2 / -1; min-width: 0; }
#payment li.wc_payment_method > .onmark-pmd-badge-row { margin: 2px 0 2px !important; width: auto !important; justify-content: flex-start !important; } /* OnMark sets a 26px margin and 100% width for a different layout */
#payment .payment_box p { margin: 0; }
#payment .place-order { display: grid; gap: var(--s3); margin: 0; }
#payment #place_order { width: 100%; height: 52px; border-radius: var(--r-pill); background: var(--red); color: var(--white); font-weight: 600; font-size: 1rem; border: 0; cursor: pointer; transition: background-color 0.18s var(--ease); }
#payment #place_order:hover { background: var(--red-press); }
.woocommerce-terms-and-conditions-wrapper, .woocommerce-privacy-policy-text { font-size: 0.8125rem; color: var(--steel); }
.woocommerce-privacy-policy-text a, .woocommerce-terms-and-conditions-wrapper a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.blockUI.blockOverlay { background: rgba(255, 255, 255, 0.6) !important; }

/* My account */
.acct-nav a { text-decoration: none; }
.woocommerce-MyAccount-content { display: grid; gap: var(--s4); align-content: start; }
.woocommerce-MyAccount-content > h2, .woocommerce-MyAccount-content h2 { font-size: 1.5rem; }
.woocommerce-orders-table, .woocommerce-table, .shop_table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; border: 1px solid var(--hairline); border-radius: var(--r-card); overflow: hidden; }
.woocommerce-orders-table th, .woocommerce-orders-table td, .woocommerce-table th, .woocommerce-table td, .shop_table th, .shop_table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--hairline); }
.woocommerce-orders-table thead th, .woocommerce-table thead th { background: var(--mist); font-weight: 500; color: var(--steel); font-size: 0.8125rem; }
.woocommerce-orders-table .button, .woocommerce-MyAccount-content .button, .woocommerce-Button { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--carbon); background: var(--white); color: var(--carbon); font-size: 0.8125rem; font-weight: 600; cursor: pointer; }
.woocommerce-MyAccount-content .button:hover, .woocommerce-Button:hover { background: var(--carbon); color: var(--white); }
.woocommerce-MyAccount-content form .button[type="submit"], .woocommerce-MyAccount-content .woocommerce-Button[type="submit"] { background: var(--red); border-color: var(--red); color: var(--white); height: 44px; }
.woocommerce-Addresses, .u-columns { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s4); }
.woocommerce-Address { border: 1px solid var(--hairline); border-radius: var(--r-card); padding: var(--s5); }
.woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); }
.woocommerce-Address-title h2, .woocommerce-Address-title h3 { font-size: 1.0625rem; }
.woocommerce-Address address { font-style: normal; color: var(--steel); }
.woocommerce-EditAccountForm, .woocommerce-address-fields { display: grid; gap: var(--s4); max-width: 640px; }
.woocommerce-address-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.woocommerce-EditAccountForm fieldset { border: 1px solid var(--hairline); border-radius: var(--r-card); padding: var(--s5); display: grid; gap: var(--s4); }
.woocommerce-EditAccountForm legend { font-weight: 600; padding: 0 6px; }
.woocommerce-order-details, .woocommerce-customer-details { display: grid; gap: var(--s3); }
mark.order-number, mark.order-date, mark.order-status { background: none; font-weight: 600; color: var(--carbon); }
.tl-head .status { background: var(--mist); }

/* Reviews */
#reviews { display: grid; gap: var(--s4); }
.previews { max-width: 760px; }
.previews .woocommerce-Reviews-title { font-size: 1.5rem; letter-spacing: -0.02em; }
#reviews .commentlist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
#reviews .comment_container { display: grid; grid-template-columns: 48px 1fr; gap: var(--s3); }
#reviews .avatar { border-radius: 50%; }
.star-rating { font-size: 0.875rem; color: var(--amber); }
.comment-form { display: grid; gap: var(--s3); }
.comment-form textarea { width: 100%; min-height: 120px; border: 1px solid var(--alloy); border-radius: var(--r-input); padding: 12px 14px; }
.comment-form .submit { height: 44px; padding: 0 22px; border-radius: var(--r-pill); background: var(--red); color: var(--white); border: 0; font-weight: 600; cursor: pointer; }
.woocommerce-noreviews, .woocommerce-verification-required { color: var(--steel); }

@media (max-width: 960px) {
  .featured.no-promo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .woocommerce-address-fields__field-wrapper { grid-template-columns: minmax(0, 1fr); }
  .acct-nav { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; }
}

/* Image frames: definite tracks so percentage sizes and srcset "sizes=auto" resolve to the frame. */
[hidden] { display: none !important; }
.pcard-media, .gal-main, .deal-media, .cat-disc, .line-img { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); justify-items: center; align-items: center; }
.cat-panel img { max-height: 170px; width: auto; max-width: 100%; align-self: center; }

/* WooCommerce adds its checkout notices as the form's first child: give them the full row. */
.two-col > .woocommerce-NoticeGroup, .two-col > .woocommerce-error, .two-col > .woocommerce-message { grid-column: 1 / -1; }
.woocommerce-form-coupon-toggle .woocommerce-info, .woocommerce-form-login-toggle .woocommerce-info { margin: var(--s3) 0 0; }
form.checkout_coupon, form.woocommerce-form-login.login:not([data-auth-form]) { border: 1px solid var(--hairline); border-radius: var(--r-card); padding: var(--s5); margin-top: var(--s3); display: grid; gap: var(--s3); max-width: 560px; }

/* Floating WhatsApp button (Theme settings > Header and footer) */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 70; width: 56px; height: 56px; border-radius: 50%; background: #128C4E; color: var(--white); display: grid; place-items: center; box-shadow: var(--lift); transition: transform 0.18s var(--ease); }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }
@media (max-width: 960px) { .wa-float { bottom: calc(var(--tabbar-h) + 16px); right: 16px; width: 52px; height: 52px; } }
.foot-map { color: var(--white); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }

/* Coming soon page */
.coming-soon { background: var(--carbon); color: var(--fog); }
.cs { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; background: radial-gradient(ellipse 60% 50% at 50% 70%, rgba(207, 23, 30, 0.28), rgba(207, 23, 30, 0) 70%), var(--carbon); }
.cs-in { max-width: 560px; display: grid; gap: var(--s4); justify-items: center; text-align: center; }
.cs-logo { width: 200px; }
.cs-logo .logo { width: 100%; height: auto; aspect-ratio: 2080 / 1273; }
.cs h1 { color: var(--white); font-size: clamp(2.25rem, 1.6rem + 3vw, 3.5rem); font-weight: 700; letter-spacing: -0.03em; }
.cs .tag { color: var(--fog); font-weight: 500; }
.cs .lede { color: var(--fog); }
.cs-acts { display: flex; gap: var(--s3); flex-wrap: wrap; justify-content: center; }
.cs-addr { display: flex; gap: var(--s2); align-items: center; justify-content: center; flex-wrap: wrap; font-size: 0.875rem; color: var(--alloy); }

/* ---------- Order confirmation: the invoice (woocommerce/checkout/thankyou.php) ---------- */
.inv { border: 1px solid var(--hairline); border-top: 4px solid var(--red); border-radius: var(--r-card); background: var(--white); overflow: hidden; --inv-x: var(--s6); }
.inv h3 { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--steel); margin: 0 0 6px; }
.inv p { margin: 0; }
.inv-top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s5); padding: var(--s5) var(--inv-x); border-bottom: 1px solid var(--hairline); }
.inv-shop { display: grid; gap: var(--s3); max-width: 340px; }
.inv-shop .logo { width: 190px; height: auto; aspect-ratio: 3578 / 718; color: var(--ink); }
.inv-shop p { font-size: 0.8125rem; line-height: 1.55; color: var(--steel); }
.inv-id { display: grid; justify-items: end; text-align: right; gap: 2px; }
.inv-id h2 { font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.1; }
.inv-id .mono { font-size: 1rem; font-weight: 600; color: var(--carbon); }
.inv-id time { font-size: 0.8125rem; color: var(--steel); }
.inv-chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; margin-top: var(--s2); }
.inv-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--mist); color: var(--carbon); font-size: 0.75rem; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.inv-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.7; }
.inv-chip.is-paid { background: var(--green-tint); color: var(--green); }
.inv-chip.is-cod { background: var(--amber-tint); color: #6B4A00; }
.inv-chip.is-unpaid { background: var(--red-tint); color: var(--red); }
.inv-parties { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); padding: var(--s5) var(--inv-x); border-bottom: 1px solid var(--hairline); font-size: 0.9375rem; line-height: 1.55; }
.inv-parties section { display: grid; gap: var(--s2); align-content: start; }
.inv-muted { color: var(--steel); font-size: 0.8125rem; }
p.inv-muted { display: flex; gap: 6px; align-items: center; }
.inv-muted svg.lucide { width: 15px; height: 15px; flex: none; }
.inv-note p { margin: 0; }
.inv-break { overflow-wrap: anywhere; }
.inv-items { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.inv-items th { background: var(--mist); color: var(--steel); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; text-align: right; padding: 10px var(--s3); border-bottom: 1px solid var(--hairline); }
.inv-items td { padding: 14px var(--s3); border-bottom: 1px solid var(--hairline); vertical-align: middle; }
.inv-items th:first-child { text-align: left; }
.inv-items th:first-child, .inv-items td:first-child { padding-left: var(--inv-x); }
.inv-items th:last-child, .inv-items td:last-child { padding-right: var(--inv-x); }
.inv-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--steel); }
.inv-amt { color: var(--carbon); font-weight: 600; }
.inv-item { display: flex; gap: var(--s3); align-items: center; }
.inv-img { flex: none; width: 52px; height: 52px; border-radius: 8px; background: var(--mist); overflow: hidden; }
.inv-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.inv-name { display: grid; gap: 2px; min-width: 0; }
.inv-name a { font-weight: 500; text-decoration: none; }
.inv-name a:hover { color: var(--red); }
.inv-name small { font-size: 0.8125rem; color: var(--steel); }
.inv-name .inv-each { display: none; font-variant-numeric: tabular-nums; }
.inv-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: var(--s6); padding: var(--s5) var(--inv-x); }
.inv-sum { grid-column: 2; display: grid; gap: 10px; align-content: start; }
.inv-cnote { grid-column: 1; grid-row: 1; font-size: 0.9375rem; }
.inv-due { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: 12px 14px; border-radius: var(--r-input); background: var(--mist); font-weight: 600; font-size: 0.9375rem; }
.inv-due b { font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.inv-due.is-cod { background: var(--amber-tint); color: #6B4A00; }
.inv-due.is-paid { background: var(--green-tint); color: var(--green); }
.inv-due.is-unpaid { background: var(--red-tint); color: var(--red); }
.inv-end { display: flex; justify-content: space-between; gap: var(--s2) var(--s5); flex-wrap: wrap; padding: var(--s4) var(--inv-x); border-top: 1px dashed var(--hairline-strong); font-size: 0.8125rem; color: var(--steel); }
.inv-site { font-weight: 600; color: var(--carbon); }
/* Screens only: a printed A4 page with margins is about 700px wide and must keep the full invoice layout. */
@media screen and (max-width: 760px) {
  .inv { --inv-x: var(--s4); }
  .inv-top { flex-direction: column; gap: var(--s4); }
  .inv-id { justify-items: start; text-align: left; }
  .inv-chips { justify-content: flex-start; }
  .inv-shop .logo { width: 160px; }
  .inv-parties { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s4); }
  .inv-parties section:first-child { grid-column: 1 / -1; }
  .inv-items th:nth-child(2), .inv-items th:nth-child(3), .inv-items td:nth-child(2), .inv-items td:nth-child(3) { display: none; }
  .inv-item { align-items: flex-start; }
  .inv-img { width: 48px; height: 48px; }
  .inv-name .inv-each { display: block; }
  .inv-foot { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .inv-sum, .inv-cnote { grid-column: auto; grid-row: auto; }
  .inv-cnote { order: 2; }
  .confirm-actions .btn { flex: 1 1 200px; }
  .confirm-actions .btn-link { flex-basis: 100%; text-align: center; padding: var(--s2) 0; }
}
@media screen and (max-width: 420px) { .inv-parties { grid-template-columns: minmax(0, 1fr); } }
@media print {
  @page { margin: 12mm; }
  html { margin-top: 0 !important; }
  body, body:has(.site-hdr) { padding: 0 !important; background: #fff; }
  #wpadminbar, .site-hdr, .crumbs, .usp, .foot, .tabbar, .wa-float, .toast, .drawer, .confirm-head, .confirm-actions, .callout { display: none !important; }
  .page-wrap { padding: 0 !important; max-width: none; }
  .confirm { padding: 0; max-width: none; gap: 0; }
  .inv { --inv-x: var(--s5); border: 1px solid var(--hairline); break-inside: auto; }
  .inv, .inv * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .inv-items tr { break-inside: avoid; }
  .inv-name a { color: inherit; }
}

.cat-more svg.lucide { transition: transform 0.2s var(--ease); }
.cat-more[aria-expanded="true"] svg.lucide { transform: rotate(180deg); }

/* Desktop filters: the panel's "Filters" heading stays for screen readers (the groups are h3 under it). */
@media (min-width: 961px) { .filters-head { display: block; position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; padding: 0; border: 0; } .filters-head button { display: none; } }

/* Phones: touch targets of at least 40px (search, slideshow controls, quantity buttons, small links). */
@media (max-width: 640px) {
  form.search input, .hdr-top .search input { height: 40px; }
  form.search button, .hdr-top .search button { width: 40px; height: 40px; }
  .slides-ctl button { height: 40px; min-width: 40px; }
  .slides-dot { min-width: 32px !important; }
  .stepper button, .stepper-sm button, .mc-qty button { min-width: 40px; min-height: 40px; }
  .more-btn, .lang-btn { min-height: 40px; }
  .sec-head .more { min-height: 40px; }
}

/* The OnMark plugin's bKash discount badges at checkout: its red on pale pink is just under 4.5:1. */
.onmark-pmd-badge-offer, .onmark-pmd-badge-saved, .onmark-pmd-saved-num { color: #B0131A !important; }

