/* The storefront. Plain CSS, no build step, so it runs on any hosting. The rules are in DESIGN.md.
   Tokens first: every colour below is a variable, dark mode redefines the same names, and the store's own brand
   colour (Settings → Storefront) is printed over --brand / --brand-deep by the layout. */
:root {
  --bg: #f3f6f4; --surface: #ffffff; --panel: #e8eeea; --field: #eef2ef; --line: #dce3df;
  --ink: #101714; --ink-2: #545e58;
  --brand: #0f4c3a; --brand-deep: #0a3529; --brand-ink: #ffffff; --ring: #0f4c3a;
  --mint: #dcebe4; --citron: #d7f25b; --on-citron: #101714; --on-dark-2: #c9d1cd;
  --apricot: #b92a17; --apricot-tint: #fbe3de; --gold: #946a0e;
  --ok: #1f6f4a; --warn: #8a5a00; --danger: #b3261e; --danger-soft: #fdeceb;
  --r-input: 14px; --r-card: 22px; --r-hero: 28px; --r-band: 32px;
  --font-sans: "Hanken Grotesk", "Noto Sans Bengali", "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Instrument Serif", "Noto Serif Bengali", "Noto Naskh Arabic", Georgia, serif;
  --display-lh: 1.05;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0b1310; --surface: #121c18; --panel: #18241f; --field: #1a2722; --line: #26352e;
  --ink: #eef3f0; --ink-2: #a7b4ad;
  --brand: #9ed9bf; --brand-deep: #0a3529; --brand-ink: #062218; --ring: #9ed9bf;
  --mint: #1d3a2f; --apricot: #ff9b85; --apricot-tint: #3a1e18; --gold: #e6b84a;
  --ok: #5fd397; --warn: #f0b64a; --danger: #ff8a80; --danger-soft: #3a1e1c;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1310; --surface: #121c18; --panel: #18241f; --field: #1a2722; --line: #26352e;
    --ink: #eef3f0; --ink-2: #a7b4ad;
    --brand: #9ed9bf; --brand-deep: #0a3529; --brand-ink: #062218; --ring: #9ed9bf;
    --mint: #1d3a2f; --apricot: #ff9b85; --apricot-tint: #3a1e18; --gold: #e6b84a;
    --ok: #5fd397; --warn: #f0b64a; --danger: #ff8a80; --danger-soft: #3a1e1c;
    color-scheme: dark;
  }
}
/* Bengali and Arabic headlines need room for their marks: line height 1.2, no tightening. */
:root:is([lang="bn"], [lang="ar"]) { --display-lh: 1.2; }

/* ---- base ---- */
*, ::before, ::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 1.5; }
:root:is([lang="bn"], [lang="ar"]) body { line-height: 1.6; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 4px; }
/* On photos and dark bands: citron ring with an ink edge, so it shows on any picture. */
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--citron); box-shadow: 0 0 0 6px var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; }
.tnum { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.center { text-align: center; }
.link { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.link:hover { text-decoration-thickness: 2px; }

/* ---- layout ---- */
.wrap { max-width: 84rem; margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 768px) { .wrap { padding-inline: 2rem; } }
.narrow { max-width: 44rem; }
.page { padding-block: 28px 80px; }
.sec { margin-top: 64px; }
@media (min-width: 768px) { .sec { margin-top: 80px; } }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 24px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.inline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.cols { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .cols { grid-template-columns: minmax(0, 1fr) 380px; } .cols.side-left { grid-template-columns: 260px minmax(0, 1fr); } }
.grid-2 { display: grid; gap: 16px; } .grid-3 { display: grid; gap: 16px; } .grid-4 { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---- type ---- */
.t-display, .t-hero, .t-section, .t-page, .hl, .font-display { font-family: var(--font-display); font-weight: 400; line-height: var(--display-lh); letter-spacing: -0.012em; }
:root:is([lang="bn"], [lang="ar"]) :is(.t-display, .t-hero, .t-section, .t-page, .hl, .font-display) { letter-spacing: 0; }
.t-display { font-size: 48px; } .t-hero { font-size: 40px; } .t-section { font-size: 34px; } .t-page { font-size: 30px; }
@media (min-width: 768px) { .t-display { font-size: 84px; } .t-hero { font-size: 60px; } .t-section { font-size: 44px; } .t-page { font-size: 40px; } }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
:root:is([lang="bn"], [lang="ar"]) .eyebrow { letter-spacing: 0; font-size: 13px; }
h2.h, .h { font-size: 18px; font-weight: 700; line-height: 1.3; }
/* Home hero headline: four sizes by length, never more than three lines. */
.hl { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; overflow-wrap: anywhere; line-height: .95; letter-spacing: -0.02em; }
:root:is([lang="bn"], [lang="ar"]) .hl { line-height: 1.2; }
.hl-0 { font-size: 56px; } .hl-1 { font-size: 48px; } .hl-2 { font-size: 40px; } .hl-3 { font-size: 36px; }
@media (min-width: 640px) { .hl-0 { font-size: 88px; } .hl-1 { font-size: 64px; } .hl-2 { font-size: 52px; } .hl-3 { font-size: 44px; } }
@media (min-width: 1024px) { .hl-0 { font-size: 104px; } .hl-1 { font-size: 80px; } .hl-2 { font-size: 64px; } .hl-3 { font-size: 56px; } }
.prose { max-width: 44rem; } .prose p { margin-bottom: 1em; } .prose h2 { font-size: 22px; margin: 1.4em 0 .5em; }

/* ---- buttons, chips, badges ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; border-radius: 999px; padding: .7rem 1.4rem; font-weight: 600; font-size: 15px; line-height: 1.25; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s, opacity .2s, transform .2s; }
.btn:active { transform: scale(.98); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-deep); color: #fff; }
:root[data-theme="dark"] .btn-primary:hover { background: var(--brand); color: var(--brand-ink); opacity: .9; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-primary:hover { background: var(--brand); color: var(--brand-ink); opacity: .9; } }
.btn-dark { background: var(--ink); color: var(--bg); } .btn-dark:hover { opacity: .88; }
.btn-citron { background: var(--citron); color: var(--on-citron); } .btn-citron:hover { filter: brightness(.96); }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--ink); } .btn-ghost:hover { border-color: var(--ink-2); }
.btn-danger { border-color: var(--line); background: var(--surface); color: var(--danger); } .btn-danger:hover { border-color: var(--danger); }
.btn-outline-light { border-color: rgb(255 255 255 / .3); color: #fff; } .btn-outline-light:hover { background: rgb(255 255 255 / .1); }
.btn-block { width: 100%; } .btn-lg { min-height: 52px; font-size: 17px; } .btn-sm { min-height: 44px; padding: .5rem 1rem; font-size: 14px; }
.chip { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); padding: .45rem 1rem; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s; white-space: nowrap; }
.chip:hover { border-color: var(--ink-2); }
.chip[aria-pressed="true"], .chip[aria-current], .chip.on, .chip:has(input:checked) { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.chip:has(input:focus-visible) { outline: 2px solid var(--ring); outline-offset: 3px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip.off { color: var(--ink-2); text-decoration: line-through; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-block: 4px; } .chips.scroll::-webkit-scrollbar { display: none; }
.badge { display: inline-flex; align-items: center; gap: .25rem; border-radius: 999px; padding: .2rem .65rem; font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.badge-mint { background: var(--mint); color: var(--brand); } .badge-citron { background: var(--citron); color: var(--on-citron); }
.badge-sale { background: var(--apricot-tint); color: var(--apricot); } .badge-gold { background: var(--surface); color: var(--gold); border: 1px solid var(--line); }
.badge-ok { background: var(--mint); color: var(--ok); } .badge-warn { background: var(--panel); color: var(--warn); } .badge-bad { background: var(--danger-soft); color: var(--danger); }
.badge-plain { background: var(--panel); color: var(--ink); }
.icon-btn { position: relative; display: grid; place-items: center; justify-content: center; align-items: center; height: 44px; min-width: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); transition: border-color .15s; }
.icon-btn:hover { border-color: var(--ink-2); }
.icon-btn.wide { display: inline-flex; gap: 8px; padding-inline: 14px; font-size: 14px; font-weight: 600; }
.dot { position: absolute; top: -4px; inset-inline-end: -4px; display: grid; place-items: center; height: 18px; min-width: 18px; padding-inline: 4px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-size: 11px; font-weight: 700; }
.ico { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .ico.flip { transform: scaleX(-1); }

/* ---- cards, forms ---- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; }
@media (min-width: 768px) { .card { padding: 24px; } }
.card.flat { padding: 0; overflow: hidden; }
.card h2 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.soft-shadow { box-shadow: 0 1px 2px rgb(16 23 20 / .04), 0 12px 32px rgb(16 23 20 / .08); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .label { font-size: 14px; font-weight: 600; }
.field .hint { font-size: 13px; color: var(--ink-2); }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea { width: 100%; min-height: 48px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-input); padding: .7rem 1rem; font-size: 16px; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 96px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.field input[type=file] { font-size: 14px; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field select, select.input { -webkit-appearance: none; appearance: none; cursor: pointer; padding-inline-end: 2.5rem; background-image: 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='%238a8f98' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .85rem center; background-size: 16px; }
[dir="rtl"] .field select, [dir="rtl"] select.input { background-position: left .85rem center; }
.field select:disabled { opacity: .6; cursor: not-allowed; }
/* An error always carries words and an icon, never colour alone. */
.err { display: flex; gap: 6px; align-items: flex-start; color: var(--danger); font-size: 14px; font-weight: 600; }
.err::before { content: "!"; flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--danger); color: var(--surface); font-size: 12px; font-weight: 700; }
.check { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; padding-block: 10px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); flex: none; }
.option { display: flex; gap: 12px; align-items: center; min-height: 56px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-input); background: var(--surface); cursor: pointer; }
.option:has(input:checked) { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: color-mix(in srgb, var(--mint) 45%, var(--surface)); }
.option:has(input:focus-visible) { outline: 2px solid var(--ring); outline-offset: 3px; }
.option input { width: 20px; height: 20px; accent-color: var(--brand); flex: none; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.stepper button { height: 44px; width: 44px; display: grid; place-items: center; border-radius: 999px; font-size: 20px; line-height: 1; }
.stepper button:hover { background: var(--panel); }
.stepper input { width: 44px; min-height: 0; height: 44px; border: 0; background: none; text-align: center; font-weight: 700; padding: 0; -moz-appearance: textfield; font-variant-numeric: tabular-nums; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.flash { display: flex; gap: 10px; align-items: flex-start; border-radius: var(--r-input); padding: 12px 16px; font-weight: 600; margin-bottom: 16px; border: 1px solid var(--line); background: var(--surface); }
.flash.ok { border-color: var(--ok); } .flash.bad { border-color: var(--danger); background: var(--danger-soft); color: var(--danger); }
.info-strip { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-input); padding: 12px 16px; font-size: 14px; }
.empty { text-align: center; padding: 48px 20px; }
.empty .t-page { margin-bottom: 8px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 14px; color: var(--ink-2); margin-bottom: 20px; }
.crumbs a { display: inline-flex; min-height: 44px; align-items: center; } .crumbs a:hover { color: var(--brand); } .crumbs [aria-current] { color: var(--ink); }
.pager { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 32px; }
.lines td, .lines th { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.lines td:last-child, .lines th:last-child { text-align: end; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lines tr:last-child td { border-bottom: 0; }
.lines .total td { font-weight: 700; font-size: 18px; border-top: 1px solid var(--line); }

/* ---- header ---- */
.topbar { background: var(--ink); color: var(--on-dark-2); font-size: 13px; font-weight: 500; }
:root[data-theme="dark"] .topbar { background: var(--brand-deep); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .topbar { background: var(--brand-deep); } }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.topbar .promise { display: none; align-items: center; gap: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.topbar .promise::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--citron); flex: none; }
@media (min-width: 640px) { .topbar .promise { display: flex; } }
.topbar .tools { margin-inline-start: auto; display: flex; align-items: center; gap: 4px; }
.topbar a, .topbar button, .topbar select { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding-inline: 10px; color: inherit; background: transparent; border: 0; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; }
.topbar a:hover, .topbar button:hover { color: #fff; }
.topbar select option { color: #101714; background: #fff; }
.site-head { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.site-head .bar { display: flex; align-items: center; gap: 12px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-display); font-size: 30px; line-height: 1; letter-spacing: -0.01em; flex: none; }
.logo img { height: 40px; width: auto; max-width: 160px; object-fit: contain; }
.logo b { font-weight: 400; color: var(--brand); }
.search { position: relative; flex: 1; max-width: 36rem; margin-inline: auto; }
.search input { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); padding: 0 3.2rem 0 2.8rem; font-size: 16px; }
[dir="rtl"] .search input { padding: 0 2.8rem 0 3.2rem; }
.search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.search .ico { position: absolute; inset-inline-start: 16px; top: 50%; margin-top: -9px; color: var(--ink-2); pointer-events: none; }
.search button { position: absolute; inset-inline-end: 2px; top: 2px; height: 44px; width: 44px; display: grid; place-items: center; border-radius: 50%; }
.search button .ico { position: static; margin: 0; color: var(--ink); }
.search .suggest { position: absolute; inset-inline: 0; top: calc(100% + 8px); z-index: 50; padding: 8px; }
.search .suggest a { display: flex; align-items: center; min-height: 44px; padding-inline: 12px; border-radius: 10px; } .search .suggest a:hover, .search .suggest a:focus { background: var(--panel); }
.head-search-desktop { display: none; } @media (min-width: 720px) { .head-search-desktop { display: block; } .head-search-mobile { display: none; } }
.head-search-mobile { padding-bottom: 12px; }
.head-nav { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.head-nav .hide-sm { display: none; } @media (min-width: 960px) { .head-nav .hide-sm { display: inline-flex; } .head-nav .label { display: inline; } }
.head-nav .label { display: none; }
.cart-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding-inline: 14px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 600; }
.cart-pill:hover { opacity: .9; }
.cart-pill .n { display: grid; place-items: center; height: 24px; min-width: 24px; padding-inline: 6px; border-radius: 999px; background: var(--citron); color: var(--on-citron); font-size: 12px; font-weight: 700; }
.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; } .menu > summary::-webkit-details-marker { display: none; }
.menu .sheet { position: absolute; inset-inline-start: 0; top: calc(100% + 12px); z-index: 50; width: min(46rem, calc(100vw - 2rem)); padding: 24px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); max-height: 70vh; overflow: auto; }
.menu .sheet a { display: flex; align-items: center; min-height: 36px; } .menu .sheet a:hover { color: var(--brand); }
.menu .sheet .top { font-weight: 700; gap: 8px; } .menu .sheet .sub { font-size: 14px; color: var(--ink-2); }
.menu .sheet img { width: 20px; height: 20px; border-radius: 4px; object-fit: cover; }
.menu.end .sheet { inset-inline: auto 0; width: 16rem; display: block; padding: 8px; }
.menu-item { display: flex; align-items: center; gap: 10px; min-height: 44px; border-radius: 999px; padding: .55rem 1rem; font-size: 14px; font-weight: 600; width: 100%; text-align: start; }
.menu-item:hover { background: var(--panel); } .menu-item[aria-current="page"] { background: var(--mint); color: var(--brand); }
.cat-menu { display: none; } @media (min-width: 960px) { .cat-menu { display: block; } .burger { display: none; } }
.mobile-nav { border-top: 1px solid var(--line); background: var(--bg); padding-block: 12px; max-height: 70vh; overflow: auto; }

/* ---- product card and rows ---- */
.pgrid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .pgrid { gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .pgrid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.prow { display: grid; gap: 12px; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.prow::-webkit-scrollbar { display: none; } .prow > * { scroll-snap-align: start; }
@media (min-width: 720px) { .prow { gap: 20px; grid-auto-columns: 31%; } }
@media (min-width: 1100px) { .prow { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; } }
/* Product card: the photo (zooms a little on hover), a sale badge, the wishlist heart (compare shows on hover where
   there is a pointer), the title, stars, the price with a "you save" chip and an "Order now" bar. The card lifts on
   hover. The whole card is the title's link. */
.pcard { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 8px; color: var(--ink); transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; }
.pcard:hover { box-shadow: 0 18px 40px rgb(16 23 20 / .12); transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }
.pcard .ph { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: calc(var(--r-card) - 6px); overflow: hidden; background: var(--field); }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.pcard:hover .ph img { transform: scale(1.05); }
.noimg { display: grid; place-items: center; width: 100%; height: 100%; background: var(--field); color: color-mix(in srgb, var(--ink-2) 50%, transparent); font-family: var(--font-display); font-size: 40px; }
.pcard .tag { position: absolute; top: 16px; inset-inline-start: 16px; z-index: 1; }
.pcard .acts { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; display: flex; flex-direction: column; gap: 8px; }
.pcard .acts button { display: grid; place-items: center; height: 40px; width: 40px; border-radius: 50%; background: color-mix(in srgb, var(--surface) 94%, transparent); color: var(--ink); box-shadow: 0 4px 12px rgb(0 0 0 / .1); transition: transform .15s ease, color .15s ease, opacity .2s ease; }
.pcard .acts button:hover { transform: scale(1.08); color: var(--brand); }
.pcard .acts button[aria-pressed="true"] { color: var(--brand); } .pcard .acts button[aria-pressed="true"] .ico { fill: currentColor; }
@media (hover: hover) { .pcard .acts .cmp:not([aria-pressed="true"]) { opacity: 0; } .pcard:hover .acts .cmp, .pcard:focus-within .acts .cmp { opacity: 1; } }
.pcard .body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 12px 6px 4px; }
.pcard .title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 15px; font-weight: 600; line-height: 1.35; min-height: 2.7em; }
.pcard .title:hover { color: var(--brand); }
.pcard .title::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard .foot { margin-top: auto; padding-top: 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.pcard .price b { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.pcard .save { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 999px; background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); font-size: 12px; font-weight: 700; white-space: nowrap; }
.pcard .cta { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; margin-top: 8px; border-radius: calc(var(--r-input) - 2px); background: var(--panel); color: var(--brand); font-size: 14px; font-weight: 700; transition: background .2s ease, color .2s ease; }
.pcard .cta .ico { width: 17px; height: 17px; }
.pcard:hover .cta, .pcard:focus-within .cta { background: var(--brand); color: var(--brand-ink); }
@media (max-width: 479px) { .pcard .cta { min-height: 38px; font-size: 13px; } .pcard .price b { font-size: 16px; } .pcard .save { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { .pcard, .pcard .ph img, .pcard .acts button, .pcard .cta { transition: none; } .pcard:hover { transform: none; } .pcard:hover .ph img { transform: none; } }
.stars { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--ink-2); }
.stars .ico { width: 14px; height: 14px; color: var(--gold); fill: var(--gold); } .stars b { color: var(--ink); }
.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-variant-numeric: tabular-nums; }
.price b { font-size: 16px; } .price.sale b { color: var(--apricot); } .price s { font-size: 14px; color: var(--ink-2); }
.price.lg b { font-family: var(--font-display); font-weight: 400; font-size: 46px; line-height: 1.1; } .price.lg s { font-size: 18px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
@media (min-width: 768px) { .sec-head { margin-bottom: 32px; } }
.sec-head .more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 600; flex: none; }
.sec-head .more span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); transition: background .2s, color .2s, border-color .2s; }
.sec-head .more:hover span { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---- home ---- */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: max(24rem, 62svh); border-radius: var(--r-hero); overflow: hidden; background: var(--ink); color: #fff; padding: 24px; }
@media (min-width: 640px) { .hero { padding: 40px; min-height: 30rem; } }
.hero.branded { background: var(--brand-deep); }
.hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
/* Under text set on a photo: dark enough that white text passes 4.5:1 even on a white photo. */
.scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(0 0 0 / .8) 0%, rgb(0 0 0 / .62) 60%, rgb(0 0 0 / 0) 95%); }
.hero .promise { font-size: 14px; font-weight: 600; color: rgb(255 255 255 / .92); }
.hero .eyebrow-line { margin-top: 4px; font-size: 14px; font-weight: 500; color: rgb(255 255 255 / .85); }
.hero h1 { margin-top: 12px; max-width: 16ch; }
.hero h1 a::after { content: ""; position: absolute; inset: 0; }
.hero .sub { margin-top: 16px; max-width: 28rem; color: var(--on-dark-2); }
.hero .cta { margin-top: 24px; display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; border-bottom: 1px solid #fff; padding-bottom: 4px; font-weight: 600; }
.hero .btn { margin-top: 28px; align-self: flex-start; position: relative; }
@keyframes settle { from { transform: scale(1.04); } to { transform: none; } }
.settle { animation: settle 900ms cubic-bezier(.2, .7, .2, 1) both; }
.cat-row { display: grid; grid-auto-flow: column; grid-auto-columns: 7.5rem; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.cat-row::-webkit-scrollbar { display: none; }
@media (min-width: 960px) { .cat-row { grid-auto-columns: 1fr; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); grid-auto-flow: row; overflow: visible; } }
.cat-tile { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); font-size: 14px; font-weight: 600; transition: border-color .15s; }
.cat-tile:hover { border-color: var(--ink-2); }
.cat-tile .pic { width: 100%; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--field); }
.cat-tile .pic img { width: 100%; height: 100%; object-fit: cover; }
.deal { display: grid; overflow: hidden; border-radius: var(--r-hero); border: 1px solid var(--line); background: var(--surface); }
@media (min-width: 720px) { .deal { grid-template-columns: 1fr 1.1fr; } }
.deal .pic { position: relative; min-height: 16rem; background: var(--panel); } .deal .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 720px) { .deal .pic { order: 2; min-height: 22rem; } }
.deal .txt { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 24px; }
@media (min-width: 768px) { .deal .txt { padding: 40px; } }
.deal .lab { font-size: 14px; font-weight: 700; color: var(--apricot); }
.deal .name { font-family: var(--font-display); font-size: 30px; line-height: var(--display-lh); margin-top: 8px; }
@media (min-width: 768px) { .deal .name { font-size: 44px; } }
.count { display: inline-flex; gap: 6px; align-items: center; border-radius: 999px; background: var(--citron); color: var(--on-citron); padding: 6px 14px; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
/* The trust facts strip: one line of plain facts on the deep brand colour. White on brand-deep is 12:1 or better;
   the labels use --on-dark-2, 9:1. Stacked on phones. */
.trust { margin-top: 80px; background: var(--brand-deep); color: #fff; border-block: 1px solid rgb(255 255 255 / .1); }
.trust ul { display: flex; flex-direction: column; gap: 4px; padding-block: 16px; }
.trust li { display: flex; align-items: baseline; gap: 8px; min-height: 44px; align-items: center; }
.trust .k { color: var(--on-dark-2); font-size: 14px; } .trust .v { font-weight: 700; } .trust a.v { text-decoration: underline; text-underline-offset: 4px; display: inline-flex; min-height: 44px; align-items: center; }
@media (min-width: 900px) { .trust ul { flex-direction: row; justify-content: space-between; gap: 24px; min-height: 72px; padding-block: 0; align-items: center; } .trust li + li { border-inline-start: 1px solid rgb(255 255 255 / .14); padding-inline-start: 24px; } }
.trust + .site-foot { margin-top: 0; }

/* ---- listing ---- */
.filters { display: flex; flex-direction: column; gap: 20px; }
.filters fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; } .filters legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.filter-box > summary { list-style: none; } .filter-box > summary::-webkit-details-marker { display: none; }
@media (min-width: 960px) { .filter-box > summary { display: none; } .filter-box > .card { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; } }
@media (max-width: 959px) { .filter-box:not([open]) > .card { display: none; } .filter-box > .card { margin-top: 12px; } }
.swatch { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line); flex: none; }

/* ---- product page ---- */
.pdp { display: grid; gap: 28px; } @media (min-width: 960px) { .pdp { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; } }
.gallery .main { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: var(--r-hero); overflow: hidden; background: var(--field); cursor: zoom-in; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding: 4px; }
.gallery .thumbs button { flex: none; width: 72px; height: 88px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--field); }
.gallery .thumbs button[aria-current="true"] { border-color: var(--brand); } .gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buybox { display: flex; flex-direction: column; gap: 18px; } @media (min-width: 960px) { .buybox { position: sticky; top: 96px; align-self: start; } }
.facts-list { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.facts-list > div { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; } .facts-list > div + div { border-top: 1px solid var(--line); }
.facts-list .ico { margin-top: 3px; color: var(--brand); }
.spec { display: grid; grid-template-columns: minmax(8rem, 1fr) 2fr; gap: 0 16px; } .spec dt, .spec dd { padding: 10px 0; border-bottom: 1px solid var(--line); } .spec dt { color: var(--ink-2); }
.review { padding-block: 18px; border-bottom: 1px solid var(--line); } .review:last-child { border-bottom: 0; }
.review .reply { margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: var(--panel); font-size: 14px; }
.review .photos { display: flex; gap: 8px; margin-top: 10px; } .review .photos img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.bars { display: grid; gap: 6px; } .bars div { display: grid; grid-template-columns: 2rem 1fr 3rem; gap: 10px; align-items: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.bars i { display: block; height: 8px; border-radius: 4px; background: var(--panel); overflow: hidden; } .bars i b { display: block; height: 100%; background: var(--gold); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-card); overflow: hidden; background: #000; } .video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgb(0 0 0 / .9); padding: 16px; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 12px; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgb(255 255 255 / .14); color: #fff; }
.lightbox .x { top: 16px; inset-inline-end: 16px; } .lightbox .prev { inset-inline-start: 16px; top: 50%; } .lightbox .next { inset-inline-end: 16px; top: 50%; }
/* The bottom bar on phones: the product, cart and checkout pages share it. */
.sticky-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 45; display: flex; gap: 12px; align-items: center; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgb(16 23 20 / .08); }
.sticky-bar .btn { flex: 1; } .has-sticky { padding-bottom: 96px; }
@media (min-width: 960px) { .sticky-bar { display: none; } .has-sticky { padding-bottom: 0; } }

/* ---- cart, checkout, orders ---- */
.line { display: flex; gap: 14px; align-items: flex-start; padding-block: 16px; border-bottom: 1px solid var(--line); } .line:last-child { border-bottom: 0; } .line:first-child { padding-top: 0; }
.thumb { width: 72px; height: 88px; border-radius: 14px; object-fit: cover; background: var(--field); flex: none; overflow: hidden; display: grid; place-items: center; }
.thumb.sm { width: 48px; height: 56px; border-radius: 10px; }
.sum dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; } .sum dd { text-align: end; font-variant-numeric: tabular-nums; }
.sum .total { font-weight: 700; font-size: 20px; padding-top: 12px; border-top: 1px solid var(--line); }
.sum .save { color: var(--apricot); }
@media (min-width: 960px) { .sum { position: sticky; top: 96px; } }
.step-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 700; margin-inline-end: 8px; font-variant-numeric: tabular-nums; }
.notice { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); } .notice .ico { margin-top: 3px; flex: none; }
/* The order status block: Confirmed, Checking or Held. The state is always said in words with an icon; Held uses the
   danger colour for its border and label, never for the whole text. */
.state { border-radius: var(--r-card); padding: 22px; background: var(--surface); border: 1px solid var(--line); }
.state .tag { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ok); }
.state .tag .ico { width: 20px; height: 20px; }
.state.checking .tag { color: var(--warn); }
.state.held { border-color: var(--danger); border-width: 2px; } .state.held .tag, .state.cancelled .tag, .state.expired .tag { color: var(--danger); }
.state h1 { font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: var(--display-lh); margin-top: 8px; }
.state .num { font-variant-numeric: tabular-nums; font-weight: 700; }
.state p { margin-top: 8px; }
/* The advance card: the amount, one main button, and what is left to pay at the door. */
.pay-card { border: 2px solid var(--brand); border-radius: var(--r-card); background: var(--surface); padding: 22px; }
.pay-card .amount { font-family: var(--font-display); font-size: 44px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pay-card .btn { margin-top: 14px; }
.pay-card .ways { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.pay-card details summary { cursor: pointer; font-weight: 600; margin-top: 14px; min-height: 44px; display: flex; align-items: center; }
.mini { max-width: 30rem; margin-inline: auto; padding: 20px 16px 56px; display: flex; flex-direction: column; gap: 16px; }
.mini .store { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-display); font-size: 26px; } .mini .store img { height: 36px; width: auto; }
.steps { display: flex; flex-direction: column; } .steps li { position: relative; padding: 0 0 20px 32px; } [dir="rtl"] .steps li { padding: 0 32px 20px 0; }
.steps li::before { content: ""; position: absolute; inset-inline-start: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); }
.steps li::after { content: ""; position: absolute; inset-inline-start: 7px; top: 22px; bottom: 0; width: 2px; background: var(--line); } .steps li:last-child::after { display: none; }
.steps li.done::before { background: var(--brand); border-color: var(--brand); } .steps li.done::after { background: var(--brand); }
.steps li.current::before { border-color: var(--brand); box-shadow: 0 0 0 4px var(--mint); }
.ship-chip { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 999px; padding: 4px 6px 4px 14px; background: var(--surface); font-size: 14px; }
.ship-chip code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; }
.orow { display: block; } .orow:hover { border-color: var(--ink-2); }
.thumbs-row { display: flex; gap: 6px; } .thumbs-row img { width: 44px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--field); }
.side-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; } .side-nav::-webkit-scrollbar { display: none; }
.side-nav .menu-item { white-space: nowrap; width: auto; }
@media (min-width: 960px) { .side-nav { flex-direction: column; overflow: visible; position: sticky; top: 96px; } .side-nav .menu-item { width: 100%; } }
.stat { display: flex; flex-direction: column; gap: 4px; } .stat b { font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.msg { border-radius: 18px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); max-width: 44rem; } .msg.them { background: var(--panel); }
.cmp { overflow-x: auto; } .cmp table { min-width: 40rem; } .cmp th, .cmp td { padding: 12px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; } .cmp th[scope="row"] { color: var(--ink-2); font-weight: 600; width: 9rem; }
/* Cookie consent: a quiet band at the bottom until the visitor chooses. Above the compare bar, below dialogs. */
.consent { position: fixed; inset-inline: 0; bottom: 0; z-index: 46; background: var(--brand-deep); color: #fff; padding-block: 12px; border-top: 1px solid rgb(255 255 255 / .1); }
.consent .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.consent p { max-width: 46rem; font-size: 14px; }
.cmp-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 44; background: var(--ink); color: var(--bg); }
.cmp-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }

/* ---- footer ---- */
.site-foot { margin-top: 80px; background: var(--surface); border-top: 1px solid var(--line); padding-block: 48px 32px; font-size: 14px; }
.site-foot .cols4 { display: grid; gap: 32px; } @media (min-width: 720px) { .site-foot .cols4 { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.site-foot h2 { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.site-foot li a, .site-foot .tap { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); } .site-foot li a:hover, .site-foot .tap:hover { color: var(--brand); }
.site-foot .legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-2); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.news { display: flex; gap: 8px; margin-top: 6px; } .news input { flex: 1; min-width: 0; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; padding-inline: 16px; background: var(--bg); font-size: 16px; }

/* Visitors who ask for less motion get none. */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .settle { animation: none !important; }
}
@media print {
  .site-head, .topbar, .site-foot, .trust, .sticky-bar, .cmp-bar, .consent, .no-print { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
}

/* ---- theme preview (only the store owner trying a theme on sees it) ---- */
.preview-bar { background: var(--ink); color: var(--bg); font-size: 14px; padding-block: 8px; }
.preview-bar .link { color: var(--bg); }

/* ---- the market layout (themes with layout.header / layout.home = "market"): promo strip, contact line, a menu bar in
   the brand colour with "All categories", and the category list beside the home banner. Colours come from the theme's
   variables: white on --brand and on --brand-deep reach 4.5:1 because the theme checks require it. ---- */
.mk-promo { background: linear-gradient(90deg, var(--brand-deep), var(--brand)); color: #fff; font-size: 13px; font-weight: 600; text-align: center; padding-block: 8px; }
:root[data-theme="dark"] .mk-promo { color: var(--brand-ink); background: var(--brand); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mk-promo { color: var(--brand-ink); background: var(--brand); } }
.mk-info { background: var(--surface); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.mk-info .wrap { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.mk-contact { display: none; gap: 20px; align-items: center; } .mk-contact span { display: inline-flex; align-items: center; gap: 6px; }
.mk-contact .ico { color: var(--brand); width: 16px; height: 16px; } .mk-contact a { color: var(--ink); font-weight: 600; }
@media (min-width: 720px) { .mk-contact { display: flex; } } @media (max-width: 959px) { .mk-contact .hide-sm { display: none; } }
.mk-info .tools { margin-inline-start: auto; display: flex; align-items: center; gap: 2px; }
.mk-info .tools a, .mk-info .tools button, .mk-info .tools select { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding-inline: 10px; background: transparent; border: 0; color: inherit; font-size: 13px; }
.mk-info .tools a:hover, .mk-info .tools button:hover { color: var(--brand); }
.mk-head { position: relative; background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 0; }
.mk-head .bar { min-height: 72px; gap: 12px; } @media (min-width: 960px) { .mk-head .bar { min-height: 96px; gap: 20px; } }
.mk-head .search { max-width: 46rem; }
.mk-nav { position: sticky; top: 0; z-index: 40; background: var(--brand); color: var(--brand-ink); }
.mk-nav .wrap { display: flex; align-items: stretch; gap: 8px; min-height: 48px; } @media (min-width: 960px) { .mk-nav .wrap { gap: 24px; min-height: 52px; } }
.mk-links { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; min-width: 0; } .mk-links::-webkit-scrollbar { display: none; }
.mk-links li { flex: none; } @media (min-width: 960px) { .mk-links { flex-wrap: wrap; overflow: visible; } }
.mk-links a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 14px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
:root:is([lang="bn"], [lang="ar"]) .mk-links a { text-transform: none; letter-spacing: 0; font-size: 15px; }
.mk-links a:hover, .mk-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.mk-all { position: relative; flex: none; width: 270px; display: none; } @media (min-width: 960px) { .mk-all { display: block; } }
.mk-all > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; height: 100%; min-height: 52px; padding-inline: 20px; background: var(--brand-deep); color: #fff; font-weight: 700; text-transform: uppercase; font-size: 14px; }
.mk-all > summary::-webkit-details-marker { display: none; }
:root:is([lang="bn"], [lang="ar"]) .mk-all > summary { text-transform: none; font-size: 15px; }
.mk-all > .mk-cats { position: absolute; inset-inline: 0; top: 100%; z-index: 50; box-shadow: 0 18px 40px rgb(16 23 20 / .14); }
/* On the home page the list already stands beside the banner. */
.mk-all[data-home-list] > .mk-cats { display: none; }
/* The department list (header drop-down and the list beside the home banner), with a panel of sub-categories that
   opens beside it. Shown with :hover and :focus-within, after a short pause, so a diagonal pointer move does not flick
   between departments. */
.mk-cats { position: relative; list-style: none; margin: 0; padding: 8px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-top: 0; }
.mk-cats > li > a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 10px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--ink); }
.mk-cats .av { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--panel); color: var(--brand); font-weight: 800; font-size: 14px; overflow: hidden; transition: background .15s, color .15s; }
.mk-cats .av img { width: 100%; height: 100%; object-fit: cover; }
.mk-cats .nm { flex: 1; min-width: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.3; }
.mk-cats .ct { flex: none; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--panel); color: var(--ink-2); font-size: 11px; font-weight: 700; text-align: center; }
.mk-cats .go { flex: none; width: 15px; height: 15px; color: var(--ink-2); transition: transform .15s ease, color .15s; }
.mk-cats > li:hover > a, .mk-cats > li:focus-within > a { background: var(--panel); color: var(--brand); }
.mk-cats > li:hover .av, .mk-cats > li:focus-within .av { background: var(--brand); color: var(--brand-ink); }
.mk-cats > li:hover .go, .mk-cats > li:focus-within .go { color: var(--brand); transform: translateX(3px); }
[dir="rtl"] .mk-cats > li:hover .go, [dir="rtl"] .mk-cats > li:focus-within .go { transform: scaleX(-1) translateX(3px); }
.mk-cats .mk-more { margin-top: 4px; padding-top: 4px; border-top: 1px dashed var(--line); }
.mk-cats .more { display: flex; align-items: center; gap: 8px; min-height: 44px; padding-inline: 10px; font-weight: 700; color: var(--brand); }
.mk-cats .more .ico { width: 16px; height: 16px; }
.mk-fly { position: absolute; top: -1px; inset-inline-start: calc(100% - 1px); z-index: 60; width: min(34rem, calc(100vw - 340px)); min-height: calc(100% + 2px); padding: 22px 26px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 0 var(--r-card) var(--r-card) 0; box-shadow: 24px 24px 60px rgb(16 23 20 / .16);
  visibility: hidden; opacity: 0; transform: translateX(-6px); transition: opacity .16s ease .12s, transform .16s ease .12s, visibility 0s linear .28s; }
[dir="rtl"] .mk-fly { border-radius: var(--r-card) 0 0 var(--r-card); transform: translateX(6px); box-shadow: -24px 24px 60px rgb(16 23 20 / .16); }
.mk-cats > li.has-fly:hover > .mk-fly, .mk-cats > li.has-fly:focus-within > .mk-fly { visibility: visible; opacity: 1; transform: none; transition: opacity .16s ease .1s, transform .16s ease .1s, visibility 0s linear .1s; }
/* With the keyboard there is no pointer to steady, so the panel opens at once and its links can be reached with Tab. */
.mk-cats > li.has-fly:focus-within > .mk-fly { transition: opacity .16s ease, transform .16s ease, visibility 0s linear 0s; }
.mk-fly-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.mk-fly-title { font-family: var(--font-display); font-size: 24px; line-height: 1.15; }
.mk-fly-all { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px; border-radius: 999px; background: var(--mint); color: var(--brand); font-size: 13px; font-weight: 700; }
.mk-fly-all:hover, .mk-fly-all:focus-visible { background: var(--brand); color: var(--brand-ink); }
.mk-fly-all .ico { width: 15px; height: 15px; }
.mk-fly-subs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mk-fly-subs a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--ink); }
.mk-fly-subs a .ico { width: 15px; height: 15px; color: var(--ink-2); }
.mk-fly-subs a:hover, .mk-fly-subs a:focus-visible { border-color: var(--brand); background: var(--mint); color: var(--brand); }
.mk-fly-subs a:hover .ico, .mk-fly-subs a:focus-visible .ico { color: var(--brand); }
.mk-all > summary .chevron { margin-inline-start: auto; transition: transform .2s ease; }
.mk-all[open] > summary .chevron { transform: rotate(180deg); }
.mk-all > .mk-cats { border-radius: 0 0 var(--r-card) var(--r-card); }
@media (prefers-reduced-motion: reduce) { .mk-fly, .mk-cats .go, .mk-cats .av, .mk-all > summary .chevron { transition: none; } }
.mk-hero { display: grid; gap: 20px; }
.mk-side { display: none; }
@media (min-width: 960px) {
  .mk-hero { grid-template-columns: 270px minmax(0, 1fr); align-items: stretch; }
  .mk-side { display: block; position: relative; z-index: 30; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
  .mk-side .mk-cats { border: 0; }
  .mk-hero .hero { min-height: 100%; }
}
.mk-side-head { display: flex; align-items: center; gap: 10px; min-height: 52px; padding-inline: 18px; background: var(--brand-deep); color: #fff; font-weight: 700; text-transform: uppercase; font-size: 14px; }
:root:is([lang="bn"], [lang="ar"]) .mk-side-head { text-transform: none; font-size: 15px; }
/* With the market header the red bar already says "All categories" right above, so the list on the home page joins it. */
.mk-head ~ main [data-home="hero"] { padding-top: 0 !important; }
.mk-head ~ main .mk-side-head { display: none; }
.mk-head ~ main .mk-side { border-top: 0; border-start-start-radius: 0; border-start-end-radius: 0; }
.mk-head ~ main .mk-hero .hero { margin-top: 20px; }
@media (min-width: 960px) { .mk-head ~ main .mk-hero { align-items: start; } .mk-head ~ main .mk-hero .hero { min-height: 30rem; } }

/* Shelves with tabs (market home layout): the department's name, then a row of tabs that scrolls sideways on phones. */
.shelf-head { flex-wrap: wrap; row-gap: 8px; }
.shelf-head h2 a { color: inherit; text-decoration: none; }
.shelf-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.shelf-tabs::-webkit-scrollbar { display: none; }
.shelf-tabs [role="tab"] { flex: none; padding: 8px 14px; min-height: 40px; display: inline-flex; align-items: center; border-radius: 999px;
  color: var(--ink-2); font-weight: 600; text-decoration: none; white-space: nowrap; }
.shelf-tabs [role="tab"]:hover { color: var(--brand); }
.shelf-tabs [role="tab"][aria-selected="true"] { background: var(--brand); color: var(--brand-ink); }
.shelf-tabs [role="tab"]:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Brand row (market home layout): logos in tiles that scroll sideways; the arrows appear only when it overflows. */
.brand-nav { display: flex; gap: 8px; }
.brand-nav[hidden] { display: none; }
.brand-nav button:disabled { opacity: .4; cursor: default; }
.brand-nav .prev .ico { transform: scaleX(-1); }
[dir="rtl"] .brand-nav .prev .ico { transform: none; }
[dir="rtl"] .brand-nav .next .ico { transform: scaleX(-1); }
.brand-row { list-style: none; margin: 0; padding: 0 0 4px; display: grid; grid-auto-flow: column; grid-auto-columns: 44%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.brand-row::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .brand-row { grid-auto-columns: calc((100% - 48px) / 5); } }
@media (min-width: 1100px) { .brand-row { grid-auto-columns: calc((100% - 72px) / 7); } }
.brand-row li { scroll-snap-align: start; }
.brand-row a { display: grid; place-items: center; height: 96px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--surface); color: var(--ink-2); text-decoration: none; transition: border-color .15s, color .15s; }
.brand-row a:hover { border-color: var(--brand); color: var(--ink); }
.brand-row img { max-height: 56px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .15s, opacity .15s; }
.brand-row a:hover img, .brand-row a:focus-visible img { filter: none; opacity: 1; }
.brand-row .word { font-family: var(--font-display, inherit); font-weight: 700; font-size: 18px; text-align: center; line-height: 1.2; }

/* Promo pictures (boutique home layout): the store's other home banners in a grid under the big banner. */
.promo-grid { display: grid; gap: 16px; padding-top: 16px; }
@media (min-width: 720px) {
  .promo-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; padding-top: 20px; }
  .promo-grid .promo { grid-column: span 3; }
  .promo-grid .promo:nth-child(4n + 3) { grid-column: span 4; }
  .promo-grid .promo:nth-child(4n + 4) { grid-column: span 2; }
  .promo-grid .promo:only-child, .promo-grid .promo:nth-child(3):last-child { grid-column: 1 / -1; }
}
.promo { position: relative; display: flex; align-items: flex-end; min-height: 240px; overflow: hidden; border-radius: var(--r-card); background: var(--brand-deep); color: #fff; text-decoration: none; isolation: isolate; }
@media (min-width: 1100px) { .promo { min-height: 300px; } }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.promo .scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0, 0, 0, .62), rgba(0, 0, 0, .08) 70%); }
.promo .txt { display: flex; flex-direction: column; gap: 6px; padding: 24px; max-width: 30rem; }
.promo .e { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.promo .t { font-family: var(--font-display); font-size: 26px; font-weight: 700; line-height: 1.15; }
.promo .cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.promo:hover img { transform: scale(1.04); }
.promo:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .promo img { transition: none; } .promo:hover img { transform: none; } }

/* The category menu: a department list on the left, the chosen department's sub-categories on the right. */
.cat-menu > summary { gap: 8px; }
.cat-menu > summary .chevron { transition: transform .2s ease; }
.cat-menu[open] > summary .chevron { transform: rotate(180deg); }
.menu .sheet.mega { display: grid; grid-template-columns: 17.5rem minmax(0, 1fr); gap: 0; padding: 0; width: min(58rem, calc(100vw - 2rem)); max-height: min(34rem, 75vh); overflow: hidden; }
.mega-rail { display: flex; flex-direction: column; gap: 2px; padding: 10px; background: var(--panel); border-inline-end: 1px solid var(--line); overflow-y: auto; scrollbar-width: thin; }
.menu .sheet .mega-dept { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 10px; border-radius: 12px; color: var(--ink); font-size: 14px; font-weight: 600; position: relative; }
.mega-dept .av, .mega-empty .av { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--surface); color: var(--brand); font-weight: 800; font-size: 15px; overflow: hidden; border: 1px solid var(--line); }
.menu .sheet .mega-dept .av img, .menu .sheet .mega-empty .av img { width: 100%; height: 100%; border-radius: 0; object-fit: cover; }
.mega-dept .nm { flex: 1; min-width: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.3; }
.mega-dept .ct { flex: none; min-width: 24px; padding: 2px 8px; border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: 12px; font-weight: 600; text-align: center; }
.mega-dept .go { flex: none; width: 16px; height: 16px; color: var(--ink-2); opacity: 0; transition: opacity .15s ease, transform .15s ease; }
.menu .sheet .mega-dept:hover, .menu .sheet .mega-dept.is-on { background: var(--surface); color: var(--brand); box-shadow: 0 1px 0 var(--line), 0 4px 14px rgb(0 0 0 / .05); }
.mega-dept.is-on .av { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.mega-dept.is-on .go, .mega-dept:hover .go { opacity: 1; color: var(--brand); }
.mega-dept.is-on::before { content: ""; position: absolute; inset-inline-start: -10px; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: var(--brand); }
[dir="rtl"] .mega-dept.is-on::before { border-radius: 3px 0 0 3px; }
.menu .sheet .mega-all { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 10px; border-top: 1px dashed var(--line); color: var(--brand); font-size: 14px; font-weight: 700; }
.mega-all .ico { width: 16px; height: 16px; }
.mega-panes { padding: 24px 28px; overflow-y: auto; }
.mega-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.mega-title { font-family: var(--font-display); font-size: 26px; line-height: 1.15; color: var(--ink); }
.menu .sheet .mega-view { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--mint); color: var(--brand); font-size: 13px; font-weight: 700; }
.menu .sheet .mega-view:hover { background: var(--brand); color: var(--brand-ink); }
.mega-view .ico { width: 15px; height: 15px; }
.mega-subs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.menu .sheet .mega-subs a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 56px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 600; }
.mega-subs a .ico { width: 15px; height: 15px; color: var(--ink-2); opacity: 0; transform: translateX(-4px); transition: opacity .15s ease, transform .15s ease; }
[dir="rtl"] .mega-subs a .ico { transform: scaleX(-1) translateX(-4px); }
.menu .sheet .mega-subs a:hover, .menu .sheet .mega-subs a:focus-visible { border-color: var(--brand); background: var(--mint); color: var(--brand); }
.mega-subs a:hover .ico, .mega-subs a:focus-visible .ico { opacity: 1; transform: none; color: var(--brand); }
[dir="rtl"] .mega-subs a:hover .ico, [dir="rtl"] .mega-subs a:focus-visible .ico { transform: scaleX(-1); }
.menu .sheet .mega-empty { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 16px 8px 8px; border-radius: 12px; background: var(--panel); color: var(--brand); font-weight: 700; }
.menu .sheet .mega-dept:focus-visible, .menu .sheet .mega-all:focus-visible, .menu .sheet .mega-view:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .cat-menu > summary .chevron, .mega-dept .go, .mega-subs a .ico { transition: none; } }

/* The phone menu: a drawer from the side over a dimmed page. Tapping the dimmed page (the button's own backdrop)
   closes it; the page behind does not scroll while it is open. */
.site-head:has(.burger[open]) { backdrop-filter: none; -webkit-backdrop-filter: none; }
html:has(.burger[open]) { overflow: hidden; }
.burger[open] > summary::after { content: ""; position: fixed; inset: 0; z-index: 990; background: rgb(10 14 12 / .5); cursor: default; animation: mnav-fade .2s ease; }
.mnav { position: fixed; inset-block: 0; inset-inline-start: 0; z-index: 1000; width: min(22.5rem, 88vw); display: flex; flex-direction: column; background: var(--surface); color: var(--ink); box-shadow: 24px 0 60px rgb(0 0 0 / .22); animation: mnav-in .24s cubic-bezier(.2, .8, .2, 1); }
[dir="rtl"] .mnav { box-shadow: -24px 0 60px rgb(0 0 0 / .22); animation-name: mnav-in-rtl; }
@keyframes mnav-in { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes mnav-in-rtl { from { transform: translateX(100%); } to { transform: none; } }
@keyframes mnav-fade { from { opacity: 0; } to { opacity: 1; } }
.mnav-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 8px 12px 8px 20px; border-bottom: 1px solid var(--line); }
.mnav-brand { font-family: var(--font-display); font-size: 24px; line-height: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--ink); }
.mnav-brand img { height: 34px; width: auto; max-width: 160px; object-fit: contain; }
.mnav-close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.mnav-close:hover { border-color: var(--ink-2); }
.mnav-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 12px 20px; }
.mnav-label { margin: 18px 8px 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
:root:is([lang="bn"], [lang="ar"]) .mnav-label { letter-spacing: 0; font-size: 13px; }
.mnav-depts, .mnav-subs, .mnav-links { list-style: none; margin: 0; padding: 0; }
.mnav-dept > summary, .mnav-dept-link { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px; border-radius: 14px; font-size: 15px; font-weight: 600; list-style: none; cursor: pointer; color: var(--ink); }
.mnav-dept > summary::-webkit-details-marker { display: none; }
.mnav-dept > summary:hover, .mnav-dept-link:hover, .mnav-dept[open] > summary { background: var(--panel); }
.mnav-dept[open] > summary { color: var(--brand); border-end-start-radius: 0; border-end-end-radius: 0; }
.mnav .av { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--panel); color: var(--brand); font-weight: 800; overflow: hidden; }
.mnav .av img { width: 100%; height: 100%; object-fit: cover; }
.mnav-dept[open] .av { background: var(--brand); color: var(--brand-ink); }
.mnav .nm { flex: 1; min-width: 0; line-height: 1.3; }
.mnav .ct { flex: none; min-width: 24px; padding: 2px 8px; border-radius: 999px; background: var(--panel); color: var(--ink-2); font-size: 12px; font-weight: 700; text-align: center; }
.mnav-dept[open] .ct { background: var(--surface); }
.mnav .tw { flex: none; width: 18px; height: 18px; color: var(--ink-2); transition: transform .2s ease; }
.mnav-dept[open] .tw { transform: rotate(180deg); color: var(--brand); }
.mnav-subs { margin: 0 0 6px; padding: 4px 8px 10px 60px; background: var(--panel); border-end-start-radius: 14px; border-end-end-radius: 14px; }
[dir="rtl"] .mnav-subs { padding: 4px 60px 10px 8px; }
.mnav-subs a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding-inline: 12px; border-radius: 10px; font-size: 15px; color: var(--ink); }
.mnav-subs a:hover { background: var(--surface); color: var(--brand); }
.mnav-subs .all { font-weight: 700; color: var(--brand); }
.mnav-subs .all .ico { width: 16px; height: 16px; }
.mnav-links a { display: flex; align-items: center; gap: 14px; min-height: 50px; padding: 0 12px; border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--ink); }
.mnav-links a .ico { width: 20px; height: 20px; color: var(--brand); }
.mnav-links a:hover { background: var(--panel); }
.mnav-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.mnav-call { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-weight: 700; }
.mnav-call b { margin-inline-start: 4px; }
.mnav :focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .mnav, .burger[open] > summary::after { animation: none; } .mnav .tw { transition: none; } }

/* ---- Product page ----
   Gallery: thumbnails beside the photo on wide screens, under it on phones; a sale badge and a zoom hint on the photo.
   Buy box: title and meta, a tinted price panel with what you save and the stock, highlights, option chips, quantity
   with Add to cart, a full-width Order now, quiet Save / Compare / Share, and the facts as a 2 x 2 grid of cards.
   Below: a pill bar to the sections, About and Details side by side, and reviews with a score card. */
.g-stage { display: grid; gap: 12px; }
@media (min-width: 720px) { .g-stage.has-thumbs { grid-template-columns: 84px minmax(0, 1fr); } .g-stage.has-thumbs .thumbs { order: -1; flex-direction: column; margin: 0; overflow-y: auto; max-height: min(42rem, 70vh); padding: 2px; } }
.gallery .g-stage .thumbs { margin-top: 0; }
.gallery .thumbs button { width: 76px; height: 92px; border: 2px solid transparent; opacity: .75; transition: opacity .15s, border-color .15s; }
.gallery .thumbs button:hover, .gallery .thumbs button[aria-current="true"] { opacity: 1; }
.gallery .main { box-shadow: 0 1px 0 var(--line); }
.gallery .main img { transition: transform .5s ease; }
@media (hover: hover) { .gallery .main:hover img { transform: scale(1.03); } }
.g-off { position: absolute; top: 16px; inset-inline-start: 16px; z-index: 1; font-size: 14px; padding: 4px 12px; }
.g-zoom { position: absolute; bottom: 16px; inset-inline-end: 16px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--ink); box-shadow: 0 4px 14px rgb(0 0 0 / .14); }
.buybox { gap: 20px; }
.bb-head { display: flex; flex-direction: column; gap: 8px; }
.bb-brand { display: inline-flex; align-self: flex-start; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--mint); color: var(--brand); font-size: 13px; }
.bb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 14px; color: var(--ink-2); }
.bb-meta .stars { font-size: 14px; } .bb-meta .stars:hover b { color: var(--brand); }
.bb-sold { display: inline-flex; align-items: center; gap: 6px; } .bb-meta > * + .bb-sold::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--line); margin-inline-end: 8px; }
.bb-price { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border-radius: var(--r-card); background: var(--panel); }
.bb-price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; }
.bb-price .price.lg b { font-weight: 700; }
.bb-save-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bb-save-row .save { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); font-size: 13px; font-weight: 700; }
.bb-save-row .save[hidden] { display: none; }
.bb-highlights { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bb-highlights li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; } .bb-highlights .ico { flex: none; margin-top: 2px; color: var(--ok); }
.bb-form { display: flex; flex-direction: column; gap: 18px; }
.bb-opt { border: 0; padding: 0; margin: 0; } .bb-opt legend { margin-bottom: 10px; font-weight: 700; }
.chip-size { min-width: 52px; justify-content: center; border-radius: var(--r-input); }
.chip-colour .swatch { width: 22px; height: 22px; box-shadow: inset 0 0 0 2px var(--surface); }
.bb-buy { display: flex; gap: 12px; align-items: stretch; }
.bb-buy .stepper { flex: none; }
.bb-buy .stepper button, .bb-buy .stepper input { height: 52px; }
.bb-order { width: 100%; min-height: 56px; font-size: 17px; }
.bb-order .ico { width: 20px; height: 20px; }
.bb-acts { display: flex; flex-wrap: wrap; gap: 4px 20px; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.bb-acts form { display: contents; }
.bb-act { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.bb-act:hover, .bb-act[aria-pressed="true"] { color: var(--brand); } .bb-act[aria-pressed="true"] .ico { fill: currentColor; }
.bb-trust { display: grid; gap: 10px; }
@media (min-width: 480px) { .bb-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bb-trust > div { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.bb-trust > div.wide { grid-column: 1 / -1; }
.bb-trust .ico { flex: none; width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: var(--mint); color: var(--brand); }
.bb-trust b { display: block; font-size: 14px; line-height: 1.3; } .bb-trust small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-2); line-height: 1.4; }
.pdp-reviews > .t-section { margin-bottom: 16px; }
.pdp-reviews { margin-top: 48px; scroll-margin-top: 140px; }
.rv-grid { display: grid; gap: 24px; }
@media (min-width: 960px) { .rv-grid { grid-template-columns: 20rem minmax(0, 1fr); align-items: start; } .rv-score { position: sticky; top: 140px; } }
.rv-score { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 24px; border-radius: var(--r-card); background: var(--panel); text-align: center; }
.rv-avg { font-family: var(--font-display); font-size: 56px; line-height: 1; font-variant-numeric: tabular-nums; }
.rv-stars { font-size: 22px; letter-spacing: 2px; color: var(--line); } .rv-stars .on { color: var(--gold); }
.rv-score .bars { width: 100%; margin-top: 12px; }
.rv-list .review:first-child { padding-top: 0; }
.rv-who { display: flex; align-items: flex-start; gap: 12px; }
.rv-who > div { flex: 1; min-width: 0; }
.rv-av { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--mint); color: var(--brand); font-weight: 800; }
.rv-rate { flex: none; }
.rv-ok { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); font-weight: 600; } .rv-ok .ico { width: 14px; height: 14px; }
.rv-text { margin-top: 10px; line-height: 1.6; }
.sticky-bar .price s { font-size: 13px; }
.sticky-bar .sb-cart { flex: none; width: 52px; padding: 0; }
@media (prefers-reduced-motion: reduce) { .gallery .main img, .gallery .thumbs button { transition: none; } .gallery .main:hover img { transform: none; } }

/* ---- Cart and checkout ----
   A progress bar (Cart, Delivery and payment, Order placed), item cards, a summary card with the total big and
   small trust points, selectable cards for addresses and payment methods, and a summary that stays in view. */
.o-steps { list-style: none; margin: 0 0 24px; padding: 0; display: flex; align-items: center; gap: 0; counter-reset: none; }
.o-steps li { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.o-steps li + li::before { content: ""; flex: 1; height: 2px; margin-inline-end: 10px; background: var(--line); border-radius: 2px; }
.o-steps li.done::before, .o-steps li.now::before { background: var(--brand); }
.o-steps li:first-child { flex: none; }
.o-dot { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.o-dot .ico { width: 16px; height: 16px; stroke-width: 2.5; }
.o-steps li.now { color: var(--ink); } .o-steps li.now .o-dot { border-color: var(--brand); background: var(--brand); color: var(--brand-ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.o-steps li.done { color: var(--brand); } .o-steps li.done .o-dot { border-color: var(--brand); color: var(--brand); }
.o-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 599px) { .o-steps li:not(.now) .o-name { display: none; } }
.o-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.o-count { color: var(--ink-2); font-weight: 600; }
@media (min-width: 960px) { .o-cols { grid-template-columns: minmax(0, 1fr) 24rem; gap: 28px; } }
.cart-items { display: flex; flex-direction: column; gap: 12px; }
.cart-items .line.cart-item { gap: 16px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.cart-items .line.cart-item:first-child { padding-top: 14px; }
.cart-item.is-bad { border-color: var(--danger); background: color-mix(in srgb, var(--danger-soft) 40%, var(--surface)); }
.cart-item .thumb { width: 96px; height: 112px; border-radius: calc(var(--r-card) - 6px); }
.ci-title { font-weight: 700; font-size: 16px; line-height: 1.35; } .ci-title:hover { color: var(--brand); }
.ci-var { display: inline-flex; margin-top: 6px; padding: 2px 10px; border-radius: 999px; background: var(--panel); color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.ci-total { font-size: 17px; white-space: nowrap; }
.ci-remove { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.ci-remove .ico { width: 16px; height: 16px; } .ci-remove:hover { color: var(--danger); background: var(--danger-soft); }
.o-sum { display: flex; flex-direction: column; }
@media (min-width: 960px) { .o-sum { position: sticky; top: 96px; } }
.o-sum h2 { font-size: 18px; margin-bottom: 14px; }
.o-sum .total { font-size: 24px; }
.o-sum dd.save { display: inline-flex; justify-self: end; align-items: center; padding: 2px 10px; border-radius: 999px; background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); font-weight: 700; }
.o-sum dt.save { color: var(--ok); font-weight: 600; }
.o-go { margin-top: 18px; min-height: 56px; font-size: 17px; }
.o-go .ico { width: 20px; height: 20px; }
.o-trust { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: 12.5px; color: var(--ink-2); }
.o-trust li { display: inline-flex; align-items: center; gap: 6px; } .o-trust .ico { width: 15px; height: 15px; color: var(--ok); }
.co-form .o-trust { border-top: 0; padding-top: 0; margin-top: 0; }
.co-card { padding: 24px; }
.co-card > h2 { display: flex; align-items: center; gap: 4px; font-size: 19px; margin-bottom: 18px; }
.co-card .step-n { width: 32px; height: 32px; background: var(--brand); color: var(--brand-ink); }
.opt-card { position: relative; min-height: 64px; padding: 14px 16px; border-radius: var(--r-card); transition: border-color .15s, background .15s; }
.opt-card:hover { border-color: var(--ink-2); }
.opt-card input { position: absolute; opacity: 0; pointer-events: none; }
.opt-card::after { content: ""; flex: none; margin-inline-start: auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); }
.opt-card:has(input:checked)::after { border-color: var(--brand); background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat; }
.opt-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--panel); color: var(--brand); font-weight: 900; font-size: 18px; }
.opt-ic .ico { width: 20px; height: 20px; }
.pm-bkash .opt-ic { background: #e2136e; color: #fff; font-family: system-ui, sans-serif; }
.opt-card:has(input:checked) .opt-ic { background: var(--brand); color: var(--brand-ink); }
.pm-bkash:has(input:checked) .opt-ic { background: #e2136e; color: #fff; }
.co-coupon input { border-radius: var(--r-input) !important; background: var(--surface); }
.o-sum .line { border-bottom-style: dashed; }
.cart-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 56px 20px; }
.ce-ic { display: grid; place-items: center; width: 104px; height: 104px; margin-bottom: 8px; border-radius: 50%; background: var(--mint); color: var(--brand); }
.ce-ic .ico { width: 44px; height: 44px; stroke-width: 1.5; }
@media (prefers-reduced-motion: reduce) { .opt-card { transition: none; } }

/* ---- Home sections ----
   Titles with a short line under them, cleaner category tiles that lift on hover, the deal's countdown in four boxes
   with what you save, rank badges on the bestsellers (in Bangla or Arabic digits on those pages) and the facts strip
   with an icon for each fact. */
.sec-title { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sec-sub { color: var(--ink-2); font-size: 15px; }
.sec-head .more { white-space: nowrap; }
.cat-row { scroll-snap-type: x mandatory; } .cat-row > * { scroll-snap-align: start; }
.cat-tile { padding: 8px 8px 14px; gap: 12px; border-color: transparent; background: var(--surface); box-shadow: 0 1px 0 var(--line), 0 6px 18px rgb(16 23 20 / .05); font-weight: 700; transition: transform .2s ease, box-shadow .2s ease; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: 0 1px 0 var(--line), 0 16px 32px rgb(16 23 20 / .1); }
.cat-tile .pic { border-radius: calc(var(--r-card) - 6px); }
.cat-tile .pic img { transition: transform .4s ease; } .cat-tile:hover .pic img { transform: scale(1.06); }
.cd { display: flex; gap: 8px; margin-top: 14px; }
.cd-box { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 62px; padding: 10px 6px 8px; border-radius: 14px; background: var(--ink); color: var(--bg); }
.cd-box b { font-family: var(--font-display); font-size: 26px; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-box small { margin-top: 4px; font-size: 11px; font-weight: 600; opacity: .8; }
.cd.ended .cd-box { opacity: .45; }
.deal-save { display: inline-flex; align-self: flex-start; margin-top: 10px; padding: 3px 12px; border-radius: 999px; background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); font-size: 14px; font-weight: 700; }
.prow.ranked { counter-reset: rank; }
.prow.ranked > .pcard { counter-increment: rank; }
.prow.ranked > .pcard::before { content: counter(rank); position: absolute; top: -10px; inset-inline-start: -10px; z-index: 3; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-weight: 800; font-size: 15px; box-shadow: 0 0 0 3px var(--bg); }
:root[lang="bn"] .prow.ranked > .pcard::before { content: counter(rank, bengali); }
:root[lang="ar"] .prow.ranked > .pcard::before { content: counter(rank, arabic-indic); }
.prow.ranked { padding-top: 12px; padding-inline-start: 10px; }
@media (min-width: 1100px) { .prow.ranked { padding-inline-start: 0; } }
.trust ul { gap: 14px; padding-block: 24px; }
.trust li { gap: 14px; align-items: center; }
.t-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: color-mix(in srgb, currentColor 12%, transparent); color: inherit; }
.t-ic .ico { width: 20px; height: 20px; }
.t-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.trust .t-tx .k { font-size: 13px; }
@media (min-width: 900px) { .trust ul { min-height: 104px; padding-block: 0; } .trust li { align-items: center; } }
@media (prefers-reduced-motion: reduce) { .cat-tile, .cat-tile .pic img { transition: none; } .cat-tile:hover { transform: none; } .cat-tile:hover .pic img { transform: none; } }

/* ---- Sub-categories ----
   On a category page: a row of picture tiles, "All" first. On the categories page: each department with its picture,
   the number of types and View all, then its sub-categories as a grid of the same tiles. */
.sub-row { display: grid; grid-auto-flow: column; grid-auto-columns: 6.75rem; gap: 12px; margin: 8px 0 24px; padding: 4px 2px 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.sub-row::-webkit-scrollbar { display: none; } .sub-row > * { scroll-snap-align: start; }
@media (min-width: 960px) { .sub-row { grid-auto-columns: 7.5rem; } }
.sub-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 8px 12px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); text-align: center; font-size: 14px; font-weight: 700; line-height: 1.3; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.sub-tile:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 12px 26px rgb(16 23 20 / .09); color: var(--brand); }
.sub-pic { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: calc(var(--r-card) - 6px); overflow: hidden; background: var(--panel); color: var(--brand); font-size: 26px; font-weight: 800; }
.sub-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sub-tile:hover .sub-pic img { transform: scale(1.06); }
.sub-pic .ico { width: 30px; height: 30px; }
.sub-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.sub-tile.is-all { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.sub-tile.is-all .sub-pic { background: color-mix(in srgb, var(--brand-ink) 16%, transparent); color: var(--brand-ink); }
.sub-tile.is-all:hover { color: var(--brand-ink); }
.dep-jump { position: sticky; top: 72px; z-index: 20; display: flex; gap: 8px; margin-bottom: 20px; padding: 10px 0; overflow-x: auto; scrollbar-width: none; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.dep-jump::-webkit-scrollbar { display: none; }
.dep-jump a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 600; }
.dep-jump a:hover { border-color: var(--brand); color: var(--brand); }
.dep { margin-bottom: 20px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); scroll-margin-top: 140px; }
.dep-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.dep-av { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; overflow: hidden; background: var(--panel); color: var(--brand); font-size: 22px; font-weight: 800; }
.dep-av img { width: 100%; height: 100%; object-fit: cover; }
.dep-title { flex: 1; min-width: 0; } .dep-title h2 { font-size: 20px; margin: 0; } .dep-title h2 a:hover { color: var(--brand); }
.dep-all { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--mint); color: var(--brand); font-size: 14px; font-weight: 700; }
.dep-all:hover { background: var(--brand); color: var(--brand-ink); } .dep-all .ico { width: 16px; height: 16px; }
.dep-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); }
@media (max-width: 479px) { .dep-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .dep-all span.sr-only + .ico { display: none; } }
@media (prefers-reduced-motion: reduce) { .sub-tile, .sub-pic img { transition: none; } .sub-tile:hover { transform: none; } .sub-tile:hover .sub-pic img { transform: none; } }

/* ---- Account pages ----
   A profile card and an icon menu beside the page (pills on phones), a welcome banner, stat cards with icons, quick
   links, order rows with pictures, status tabs as a segmented control, address cards. */
.acct-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
@media (min-width: 960px) { .acct-side { position: sticky; top: 96px; align-self: start; } .acct .side-nav { position: static; } }
.acct-card { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.acct-card:hover { border-color: var(--brand); }
.acct-av { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--brand); color: var(--brand-ink); font-size: 20px; font-weight: 800; }
.acct-av img { width: 100%; height: 100%; object-fit: cover; }
.acct-who { display: flex; flex-direction: column; min-width: 0; } .acct-who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .acct-who span { font-size: 13px; color: var(--ink-2); }
.acct-nav .menu-item { gap: 12px; border-radius: 12px; }
.acct-nav .menu-item .ico { width: 18px; height: 18px; color: var(--ink-2); }
.acct-nav .menu-item[aria-current="page"] { background: var(--mint); color: var(--brand); } .acct-nav .menu-item[aria-current="page"] .ico { color: var(--brand); }
.acct-nav .menu-item .badge { margin-inline-start: auto; }
.acct-nav form { display: contents; }
.acct-out { color: var(--ink-2); }
@media (min-width: 960px) {
  .acct-nav { padding: 8px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); gap: 2px; }
  .acct-nav .menu-item[aria-current="page"] { position: relative; }
  .acct-nav .menu-item[aria-current="page"]::before { content: ""; position: absolute; inset-inline-start: -8px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--brand); }
  .acct-out { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px !important; }
}
@media (max-width: 959px) { .acct-nav .menu-item { border: 1px solid var(--line); background: var(--surface); } }
.acct-hello { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 28px; border-radius: var(--r-hero); background: linear-gradient(120deg, var(--brand-deep), var(--brand)); color: #fff; }
.acct-hello .t-page { color: #fff; }
.acct-stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.acct-stat { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); transition: border-color .15s, transform .15s; }
.acct-stat:hover { border-color: var(--brand); transform: translateY(-2px); }
.acct-stat .ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--mint); color: var(--brand); }
.acct-stat > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.acct-stat b { font-family: var(--font-display); font-size: 26px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.acct-quick { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .acct-quick { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.acct-quick a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 10px; border-radius: var(--r-card); background: var(--panel); font-size: 14px; font-weight: 700; text-align: center; }
.acct-quick a:hover { background: var(--mint); color: var(--brand); } .acct-quick .ico { width: 22px; height: 22px; color: var(--brand); }
.acct-empty { display: flex; flex-direction: column; align-items: center; text-align: center; }
.acct-empty .ce-ic { width: 72px; height: 72px; margin-bottom: 10px; } .acct-empty .ce-ic .ico { width: 30px; height: 30px; }
.orow { display: flex; align-items: center; gap: 14px; padding: 14px; transition: border-color .15s, box-shadow .15s; }
.orow:hover { border-color: var(--brand); box-shadow: 0 10px 24px rgb(16 23 20 / .07); }
.orow-pics { flex: none; display: flex; }
.orow-pics img, .orow-none { width: 56px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--field); border: 2px solid var(--surface); }
.orow-pics img + img { margin-inline-start: -22px; }
.orow-none { display: grid; place-items: center; color: var(--ink-2); }
.orow-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.orow-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.orow-news { font-size: 14px; color: var(--brand); font-weight: 600; }
.orow-end { flex: none; display: flex; align-items: center; gap: 6px; } .orow-end .ico { width: 16px; height: 16px; color: var(--ink-2); }
@media (max-width: 479px) { .orow { flex-wrap: wrap; } .orow-end { width: 100%; justify-content: space-between; padding-top: 8px; border-top: 1px dashed var(--line); } }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--panel); overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg a { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.seg a[aria-current="page"] { background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px rgb(0 0 0 / .08); }
.seg .n { min-width: 22px; padding: 0 7px; border-radius: 999px; background: var(--surface); font-size: 12px; text-align: center; }
.seg a[aria-current="page"] .n { background: var(--brand); color: var(--brand-ink); }
.addr-grid { display: grid; gap: 12px; }
@media (min-width: 720px) { .addr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.addr.is-default { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.addr-top { display: flex; align-items: center; gap: 10px; }
.addr-top .badge { margin-inline-start: auto; }
.addr-ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--mint); color: var(--brand); }
.addr-ic .ico { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) { .acct-stat { transition: none; } .acct-stat:hover { transform: none; } }
.acct-av .ico { width: 24px; height: 24px; }

/* ---- Product lists: search, categories, brands ----
   A filter panel in folding sections (price with the currency, an in-stock switch, brands with counts and "show more",
   colour swatches, size pills, star ratings), a bar with the count and the sort, removable tags for each filter in
   use, numbered pages and a clearer empty state. On a phone the filters slide in from the side with the buttons kept
   at the bottom. */
.trend-box { margin: 12px 0 8px; padding: 16px 18px; border-radius: var(--r-card); background: var(--panel); }
.trend-box .eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.trend-box .eyebrow .ico { width: 16px; height: 16px; }
.trend-chip { gap: 10px; background: var(--surface); }
.trend-n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--mint); color: var(--brand); font-size: 12px; font-weight: 800; }
.list-cols { margin-top: 16px; }
.list-main { min-width: 0; }
.list-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; padding: 10px 10px 10px 16px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.list-count { margin: 0; font-weight: 700; }
.list-sort { display: flex; align-items: center; gap: 10px; }
.list-sort label { color: var(--ink-2); font-size: 14px; white-space: nowrap; }
.list-sort select { min-height: 44px; width: auto; padding-inline: 14px 36px; border-radius: 999px; font-weight: 600; }
.f-active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -4px 0 16px; }
.f-tag { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 10px 0 14px; border-radius: 999px; background: var(--mint); color: var(--brand); font-size: 14px; font-weight: 600; }
.f-tag .ico { width: 14px; height: 14px; }
.f-tag:hover { background: var(--brand); color: var(--brand-ink); }
.f-tag-clear { min-height: 36px; display: inline-flex; align-items: center; padding: 0 8px; color: var(--ink-2); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.f-tag-clear:hover { color: var(--brand); }
.filters.card { gap: 0; padding: 0; overflow: hidden; }
.f-top { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.f-title { flex: 1; margin: 0; font-size: 17px; font-weight: 800; }
.f-clear { color: var(--brand); font-size: 14px; font-weight: 700; }
.f-close { display: none; }
.f-body { display: flex; flex-direction: column; }
.f-sec { border-bottom: 1px solid var(--line); padding: 0 18px; }
.f-sec > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-weight: 700; cursor: pointer; }
.f-sec > summary::-webkit-details-marker { display: none; }
.f-sec > summary::after { content: ""; width: 8px; height: 8px; border-inline-end: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); opacity: .55; transition: transform .2s ease; }
.f-sec:not([open]) > summary::after { transform: rotate(-45deg); }
.f-sec[open] { padding-bottom: 14px; }
.f-sec fieldset { gap: 0; }
.f-row { align-items: center; min-height: 40px; padding-block: 6px; }
.f-row > span:nth-of-type(1) { flex: 1; min-width: 0; }
.f-n { flex: none; min-width: 28px; padding: 1px 8px; border-radius: 999px; background: var(--panel); color: var(--ink-2); font-size: 12px; font-weight: 700; text-align: center; }
.f-more > summary { list-style: none; display: inline-flex; min-height: 40px; align-items: center; color: var(--brand); font-size: 14px; font-weight: 700; cursor: pointer; }
.f-more > summary::-webkit-details-marker { display: none; }
.f-more[open] > summary { display: none; }
.f-price { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 8px; }
.f-price .field { gap: 4px; } .f-price label { font-size: 13px; color: var(--ink-2); }
.f-dash { padding-bottom: 12px; color: var(--ink-2); }
.f-cur { position: relative; display: block; }
.f-cur > span { position: absolute; inset-inline-start: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-2); font-weight: 600; pointer-events: none; }
.filters .field .f-cur input[type=number][name] { width: 100%; padding-inline-start: 32px; }
.f-switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; cursor: pointer; }
.f-switch input { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 44px; height: 26px; margin: 0; border-radius: 999px; background: var(--line); cursor: pointer; transition: background .2s ease; }
.f-switch input::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .25); transition: inset-inline-start .2s ease; }
.f-switch input:checked { background: var(--brand); }
.f-switch input:checked::after { inset-inline-start: 21px; }
.f-switch input:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
.f-swatches { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 10px !important; }
.f-sw { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; }
.f-sw input { position: absolute; opacity: 0; pointer-events: none; }
.f-sw .sw { width: 30px; height: 30px; border-radius: 50%; background: var(--sw, var(--panel)); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15); }
.f-sw.is-any .sw { background: conic-gradient(#e5484d, #f5a524, #46a758, #3e63dd, #8e4ec6, #e5484d); }
.f-sw:has(input:checked) { box-shadow: 0 0 0 2px var(--brand); }
.f-sw:has(input:focus-visible) { outline: 2px solid var(--ring); outline-offset: 2px; }
.f-pills { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 8px !important; }
.f-pills .chip { position: relative; min-height: 40px; min-width: 48px; justify-content: center; padding-inline: 14px; }
.f-stars { flex: none !important; color: var(--line); letter-spacing: 1px; font-size: 15px; }
.f-stars .on { color: #f5a524; }
.f-foot { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; }
.f-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-inline-start: 8px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-size: 12px; font-weight: 800; }
.f-open { justify-content: center; gap: 8px; }
@media (min-width: 960px) {
  .filter-box > .card { padding: 0; }
  .filters[data-live] .f-foot .btn-primary { position: sticky; bottom: 0; }
}
@media (max-width: 959px) {
  .filter-box:not([open]) > .card { display: none; }
  .filter-box > .card { margin-top: 0; }
  .filter-box[open] { position: fixed; inset: 0; z-index: 95; background: rgb(10 14 12 / .5); }
  .filter-box[open] > summary { display: none; }
  .filter-box[open] > .filters { position: absolute; inset-block: 0; inset-inline-start: 0; width: min(88vw, 380px); display: flex; flex-direction: column; border-radius: 0; border: 0; animation: f-in .25s ease; }
  .filter-box[open] .f-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
  .filter-box[open] .f-foot { flex-direction: row; border-top: 1px solid var(--line); background: var(--surface); }
  .filter-box[open] .f-foot .btn { flex: 1; }
  .filter-box[open] .f-foot .btn { width: auto; min-width: 0; padding-inline: 12px; }
  .f-close { display: inline-grid; }
  .f-top .f-clear { display: none; }
  .list-bar { padding: 8px 8px 8px 14px; }
  .list-sort label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@keyframes f-in { from { transform: translateX(-100%); } to { transform: none; } }
:root[dir="rtl"] .filter-box[open] > .filters { animation-name: f-in-rtl; }
@keyframes f-in-rtl { from { transform: translateX(100%); } to { transform: none; } }
.list-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: 48px; }
.list-empty-ic { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 16px; border-radius: 50%; background: var(--mint); color: var(--brand); }
.list-empty-ic .ico { width: 32px; height: 32px; }
.pager { gap: 8px; flex-wrap: wrap; }
.pg-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 700; }
a.pg-btn:hover { border-color: var(--brand); color: var(--brand); }
.pg-btn[aria-disabled] { opacity: .45; }
.pg-btn .ico { width: 16px; height: 16px; } .pg-back { transform: scaleX(-1); } :root[dir="rtl"] .pg-back { transform: none; }
.pg-nums { display: flex; align-items: center; gap: 6px; }
.pg-n { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 6px; border-radius: 999px; font-weight: 700; }
a.pg-n:hover { background: var(--panel); color: var(--brand); }
.pg-n.now { background: var(--brand); color: var(--brand-ink); }
.pg-gap { color: var(--ink-2); padding: 0 2px; }
@media (max-width: 479px) { .pg-tx { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .pg-btn { padding: 0 12px; } }
.search .suggest a { gap: 12px; color: var(--ink-2); }
.search .suggest a::before { content: ""; flex: none; width: 16px; height: 16px; background: currentColor; opacity: .55; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.search .suggest a b { color: var(--ink); font-weight: 800; }
@media (prefers-reduced-motion: reduce) { .filter-box[open] > .filters { animation: none; } .f-switch input, .f-switch input::after, .f-sec > summary::after { transition: none; } }
.f-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .2), 0 0 0 2px var(--surface); }

/* ---- Order detail (My account → an order) ----
   A header with the number, status, date, count and total and the two main actions; the progress as a timeline
   (across on a computer, down on a phone) with ticks on the done steps and a pulse on the current one; the parcel with
   its tracking number; item rows with the picture and quantity; where it goes and how it is paid; the price details. */
.od-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 24px; border-radius: var(--r-card); background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 14%, var(--surface)), var(--surface) 70%); border: 1px solid var(--line); }
.od-hero-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.od-kicker { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--brand); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.od-kicker .ico { width: 15px; height: 15px; }
.od-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.od-title .t-page { margin: 0; }
.od-meta { margin: 0; color: var(--ink-2); }
.od-meta b { color: var(--ink); }
.od-arrival { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin: 6px 0 0; padding: 6px 14px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-size: 14px; font-weight: 700; }
.od-arrival .ico { width: 16px; height: 16px; }
.od-hero-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.od-hero-acts .btn { gap: 6px; } .od-hero-acts .ico { width: 16px; height: 16px; }
.od-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.od-sec-head h2 { margin: 0; }
.od-frac { padding: 2px 10px; border-radius: 999px; background: var(--panel); color: var(--ink-2); font-size: 13px; font-weight: 700; }
.otl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.otl li { position: relative; display: flex; gap: 14px; padding-bottom: 22px; }
.otl li:last-child { padding-bottom: 0; }
.otl li::after { content: ""; position: absolute; inset-inline-start: 15px; top: 34px; bottom: 2px; width: 2px; background: var(--line); }
.otl li:last-child::after { display: none; }
.otl li.done::after { background: var(--brand); }
.otl-dot { flex: none; position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); color: var(--brand-ink); }
.otl-dot .ico { width: 16px; height: 16px; }
.otl li.done .otl-dot { background: var(--brand); border-color: var(--brand); }
.otl li.current .otl-dot { border-color: var(--brand); }
.otl li.current .otl-dot::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); }
.otl li.current .otl-dot::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--brand); opacity: .35; animation: otl-pulse 1.8s ease-out infinite; }
@keyframes otl-pulse { from { transform: scale(.8); opacity: .5; } to { transform: scale(1.25); opacity: 0; } }
.otl-tx { display: flex; flex-direction: column; gap: 2px; padding-top: 5px; min-width: 0; }
.otl li.upcoming .otl-tx b { color: var(--ink-2); font-weight: 600; }
@media (min-width: 720px) {
  .otl { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
  .otl li { flex-direction: column; align-items: center; gap: 10px; padding-bottom: 0; text-align: center; }
  .otl li::after { top: 15px; bottom: auto; inset-inline-start: calc(50% + 16px); width: calc(100% - 32px); height: 2px; }
  .otl-tx { padding-top: 0; align-items: center; }
}
.od-ship { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.od-ship-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.od-ship-tx h2 { margin: 0; }
.od-ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--mint); color: var(--brand); }
.od-ic .ico { width: 22px; height: 22px; }
.od-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.od-line { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.od-line:first-child { border-top: 0; padding-top: 0; }
.od-pic { position: relative; flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 14px; background: var(--panel); color: var(--ink-2); }
.od-pic img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.od-qty { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 24px; height: 24px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 800; box-shadow: 0 0 0 2px var(--surface); }
.od-line-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.od-line-tx .badge { align-self: flex-start; }
.od-line-sum { flex: none; }
.od-info { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.od-box { display: flex; gap: 14px; align-items: flex-start; }
.od-box h2 { margin: 0 0 6px; font-size: 16px; }
.od-box p { margin: 0 0 4px; }
.od-stars { color: #f5a524; letter-spacing: 1px; }
.od-sum .od-acts { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.od-acts .btn { gap: 8px; } .od-acts .ico { width: 16px; height: 16px; }
@media (max-width: 599px) {
  .od-hero { padding: 18px; }
  .od-hero-acts { width: 100%; } .od-hero-acts > * { flex: 1; } .od-hero-acts .btn { width: 100%; justify-content: center; }
  .od-pic { width: 60px; height: 60px; }
}
@media (prefers-reduced-motion: reduce) { .otl li.current .otl-dot::before { animation: none; } }
.od-ship-tx .ship-chip { align-self: flex-start; margin: 0; }
.od-ship-tx { flex: 1 1 220px; }

/* ---- Sign-in pages ----
   A dark brand panel (the shop, what an account keeps for you, the promise) beside the form; on a phone the panel is
   a short strip above it. Show / Hide on passwords, a wide code box with spaced digits, the friend's code folded away. */
.auth { display: grid; max-width: 60rem; margin: 8px auto 24px; border: 1px solid var(--line); border-radius: calc(var(--r-card) + 6px); overflow: hidden; background: var(--surface); box-shadow: 0 24px 60px rgb(16 23 20 / .08); }
@media (min-width: 860px) { .auth { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: 34rem; } }
.auth-side { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 36px 32px; background: radial-gradient(120% 80% at 0% 0%, color-mix(in srgb, var(--brand) 70%, #0d1210), #0d1210 70%); color: #fff; overflow: hidden; }
.auth-side::after { content: ""; position: absolute; width: 260px; height: 260px; inset-inline-end: -90px; bottom: -90px; border-radius: 50%; border: 40px solid rgb(255 255 255 / .06); }
.auth-brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 24px; font-weight: 700; }
.auth-brand img { width: 44px; height: 44px; border-radius: 12px; object-fit: contain; background: #fff; padding: 4px; }
.auth-hello { margin: 12px 0 0; font-family: var(--font-display); font-size: 34px; line-height: 1.15; }
.auth-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.auth-perks li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--on-dark-2); }
.auth-perk-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgb(255 255 255 / .1); color: var(--citron); }
.auth-perk-ic .ico { width: 18px; height: 18px; }
.auth-promise { display: flex; align-items: center; gap: 8px; margin: auto 0 0; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .14); color: var(--on-dark-2); font-size: 14px; }
.auth-promise .ico { width: 16px; height: 16px; color: var(--citron); }
.auth-main { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 36px clamp(20px, 5vw, 48px); }
.auth-main .t-page { margin: 0; }
.auth-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--mint); color: var(--brand); }
.auth-ic .ico { width: 26px; height: 26px; }
.auth-form { margin-top: 8px; }
.auth-forgot { margin: -6px 0 0; text-align: end; }
.auth-alt { margin: 8px 0 0; padding-top: 16px; border-top: 1px solid var(--line); text-align: center; }
.auth-two { display: grid; gap: 16px; }
@media (min-width: 600px) { .auth-two { grid-template-columns: 1fr 1fr; } }
.reveal { position: relative; display: block; }
.reveal input { width: 100%; padding-inline-end: 76px !important; }
.reveal-btn { position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--panel); color: var(--ink); font-size: 13px; font-weight: 700; cursor: pointer; }
.reveal-btn:hover { color: var(--brand); }
.field input.otp-in[name=code]:not([type=checkbox]):not([type=radio]):not([type=file]) { min-height: 64px; font-size: 30px; font-weight: 800; letter-spacing: .5em; text-indent: .5em; text-align: center; font-variant-numeric: tabular-nums; }
.auth-resend { display: flex; justify-content: center; }
.auth-ref > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--brand); font-size: 14px; font-weight: 700; cursor: pointer; }
.auth-ref > summary::-webkit-details-marker { display: none; }
.auth-ref > summary .ico { width: 16px; height: 16px; }
.auth-ref[open] > summary { display: none; }
@media (max-width: 859px) {
  .auth { margin-top: 0; }
  .auth-side { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 18px 20px; }
  .auth-hello { display: none; }
  .auth-perks { display: flex; flex-wrap: wrap; gap: 8px; }
  .auth-perks li { gap: 6px; font-size: 13px; }
  .auth-perk-ic { width: 26px; height: 26px; border-radius: 8px; } .auth-perk-ic .ico { width: 14px; height: 14px; }
  .auth-promise { display: none; }
  .auth-brand { flex-basis: 100%; font-size: 20px; } .auth-brand img { width: 34px; height: 34px; }
  .auth-main { padding: 24px 20px 28px; }
  .auth-ic { width: 48px; height: 48px; border-radius: 14px; }
}

/* ---- Track order ----
   The form (order number and phone side by side on wider screens) beside a dark panel with three short steps and the
   phone number; a signed-in shopper also gets a link to My orders. Same card look as the sign-in pages. */
.trk { display: grid; max-width: 60rem; margin: 8px auto 24px; border: 1px solid var(--line); border-radius: calc(var(--r-card) + 6px); overflow: hidden; background: var(--surface); box-shadow: 0 24px 60px rgb(16 23 20 / .08); }
@media (min-width: 860px) { .trk { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.trk-main { display: flex; flex-direction: column; gap: 12px; padding: 36px clamp(20px, 5vw, 48px); }
.trk-main .t-page { margin: 0; }
.trk-main .btn .ico { width: 18px; height: 18px; }
.trk-fields { display: grid; gap: 16px; }
@media (min-width: 600px) { .trk-fields { grid-template-columns: 1fr 1fr; } }
.trk-mine { display: flex; align-items: center; gap: 14px; margin-top: 8px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-card); }
.trk-mine > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.trk-mine > .ico { width: 18px; height: 18px; color: var(--ink-2); }
.trk-mine:hover { border-color: var(--brand); }
.trk-side { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 36px 32px; background: radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--brand) 70%, #0d1210), #0d1210 70%); color: #fff; overflow: hidden; }
.trk-side h2 { margin: 0; color: #fff; font-size: 22px; }
.trk-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.trk-steps li { display: flex; gap: 14px; align-items: flex-start; color: var(--on-dark-2); line-height: 1.5; }
.trk-n { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--citron); color: var(--on-citron); font-weight: 800; }
.trk-call { display: flex; align-items: center; gap: 10px; margin: auto 0 0; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .14); color: var(--on-dark-2); font-size: 14px; }
.trk-call .ico { width: 18px; height: 18px; color: var(--citron); }
.trk-call a { color: #fff; font-weight: 700; }
@media (max-width: 859px) { .trk-main { padding: 24px 20px 28px; } .trk-side { padding: 24px 20px; } }

/* ---- Wishlist ----
   The count, three quick facts (in stock, on sale, total savings), buttons to narrow the list and a sort; the cards
   stay the shop's own (the heart removes). An empty list gets a heart and a way back to the shop. */
.wl-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wl-head .t-page { margin: 0 0 4px; } .wl-head p { margin: 0; }
.wl-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.wl-facts li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.wl-facts li > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.wl-facts b { font-size: 20px; line-height: 1.2; } .wl-facts small { color: var(--ink-2); font-size: 13px; }
.wl-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--mint); color: var(--brand); }
.wl-ic .ico { width: 18px; height: 18px; }
.wl-save { background: color-mix(in srgb, var(--ok) 8%, var(--surface)) !important; }
.wl-save .wl-ic { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.wl-save b { color: var(--ok); }
.wl-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wl-seg button { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink-2); white-space: nowrap; cursor: pointer; }
.wl-seg button[aria-pressed="true"] { background: var(--surface); box-shadow: 0 1px 3px rgb(16 23 20 / .12); color: var(--ink); }
.wl-item { display: contents; }
.wl-item[hidden] { display: none; }
.wl-none { text-align: center; }
.wl-empty-ic { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); }
@media (max-width: 599px) { .wl-bar { flex-direction: column; align-items: stretch; } .wl-bar .list-sort { justify-content: space-between; } .wl-seg { overflow-x: auto; } }
.wl-seg button[aria-pressed="true"] .n { background: var(--brand); color: var(--brand-ink); }

/* ---- Brands ----
   A header with the counts and a find box, the four biggest brands as large cards, then every brand grouped by its
   first letter as compact rows with a logo (or the initial), the product count and an arrow. */
.br-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 12%, var(--surface)), var(--surface) 70%); }
.br-hero .t-page { margin: 4px 0; } .br-hero p { margin: 0; }
.br-find { position: relative; flex: 0 1 22rem; }
.br-find input { width: 100%; }
.br-top { margin-bottom: 32px; }
.br-top .t-section { margin-bottom: 16px; }
.br-top-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); }
.br-big { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 16px 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); text-align: center; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.br-big:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 14px 30px rgb(16 23 20 / .09); }
.br-name { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.2; }
.br-count { padding: 2px 10px; border-radius: 999px; background: var(--panel); color: var(--ink-2); font-size: 13px; font-weight: 700; }
.br-go { position: absolute; top: 12px; inset-inline-end: 12px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--mint); color: var(--brand); opacity: 0; transition: opacity .2s ease; }
.br-go .ico { width: 16px; height: 16px; }
.br-big:hover .br-go, .br-big:focus-visible .br-go { opacity: 1; }
.br-logo { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; overflow: hidden; background: var(--mint); color: var(--brand); font-family: var(--font-display); font-size: 22px; font-weight: 800; }
.br-logo.lg { width: 84px; height: 84px; border-radius: 22px; font-size: 34px; }
.br-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; background: #fff; }
.br-jump { top: 72px; }
.br-group { display: grid; gap: 12px; margin-bottom: 24px; scroll-margin-top: 140px; }
@media (min-width: 720px) { .br-group { grid-template-columns: 3rem minmax(0, 1fr); align-items: start; } }
.br-letter { margin: 0; font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--brand); line-height: 1.6; }
.br-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.br-card { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.br-card:hover { border-color: var(--brand); }
.br-card > .ico { width: 16px; height: 16px; color: var(--ink-2); }
.br-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.br-tx b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 599px) { .br-hero { padding: 18px; } .br-find { flex-basis: 100%; } .br-top-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .br-logo.lg { width: 64px; height: 64px; font-size: 26px; } .br-name { font-size: 18px; } }
@media (prefers-reduced-motion: reduce) { .br-big { transition: none; } .br-big:hover { transform: none; } }
@media (min-width: 720px) { .br-group.one { grid-template-columns: minmax(0, 1fr); } }

/* ---- Compare ----
   Product columns with picture, name, price, savings, badges for the cheapest and best rated, ✕ to remove and the
   link; an "add a product" column while there is room; the row names stay put while the table scrolls sideways;
   a switch hides the rows that are the same everywhere. */
.cmp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 20px; }
.cmp-head .t-page { margin: 0 0 4px; } .cmp-head p { margin: 0; }
.cmp-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cmp-diff { gap: 10px; font-size: 14px; font-weight: 600; }
.cmp-v2 { padding: 0; }
.cmp-v2 table { width: 100%; min-width: calc(9rem + var(--cols) * 12rem); border-collapse: separate; border-spacing: 0; }
.cmp-v2 th, .cmp-v2 td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.cmp-v2 tbody tr:nth-child(even) td, .cmp-v2 tbody tr:nth-child(even) th { background: color-mix(in srgb, var(--panel) 55%, var(--surface)); }
.cmp-v2 tbody tr:last-child > * { border-bottom: 0; }
.cmp-v2 th[scope="row"], .cmp-v2 .cmp-corner { position: sticky; inset-inline-start: 0; z-index: 2; width: 9rem; background: var(--surface); color: var(--ink-2); font-size: 14px; font-weight: 700; box-shadow: 1px 0 0 var(--line); }
.cmp-v2 tr[hidden] { display: none; }
.cmp-prod { position: relative; width: 12rem; }
.cmp-prod { font-weight: 400; }
.cmp-x { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 1; width: 34px; height: 34px; min-height: 0; border-radius: 50%; background: var(--surface); box-shadow: 0 2px 8px rgb(16 23 20 / .12); }
.cmp-x .ico { width: 16px; height: 16px; }
.cmp-x:hover { color: var(--danger); }
.cmp-pic { display: grid; place-items: center; aspect-ratio: 4 / 5; margin-bottom: 10px; border-radius: 14px; overflow: hidden; background: var(--panel); color: var(--ink-2); }
.cmp-pic img { width: 100%; height: 100%; object-fit: cover; }
.cmp-badges { display: flex; flex-wrap: wrap; gap: 6px; min-height: 0; margin-bottom: 6px; }
.cmp-badges:empty { display: none; }
.cmp-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-weight: 700; line-height: 1.35; }
.cmp-name:hover { color: var(--brand); }
.cmp-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 8px 0 4px; }
.cmp-price b { font-size: 18px; } .cmp-price s { color: var(--ink-2); font-size: 14px; }
.cmp-save { margin: 0 0 10px; font-size: 12px; }
.cmp-prod .btn { margin-top: 8px; }
.cmp-add { width: 12rem; }
.cmp-add a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 16rem; height: 100%; border: 2px dashed var(--line); border-radius: 14px; color: var(--ink-2); font-weight: 700; text-align: center; }
.cmp-add a:hover { border-color: var(--brand); color: var(--brand); }
.cmp-add a > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--panel); }
.cmp-add .ico { width: 22px; height: 22px; }
.cmp-star { color: #f5a524; }
.cmp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cmp-tag { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 13px; }
@media (max-width: 599px) { .cmp-v2 th[scope="row"], .cmp-v2 .cmp-corner { width: 6.5rem; font-size: 13px; } .cmp-v2 table { min-width: calc(6.5rem + var(--cols) * 10.5rem); } .cmp-prod, .cmp-add { width: 10.5rem; } }

/* ---- Sub-category row ----
   One scrolling row of pill cards (round picture, name, product count). "All" leads; the current one is tinted with a
   brand border. Edges fade and arrows show when the row is wider than the page. Replaces the square tiles. */
.snav-wrap { position: relative; margin: 4px 0 24px; }
.snav { display: flex; gap: 10px; padding: 4px 2px 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; scroll-behavior: smooth; }
.snav::-webkit-scrollbar { display: none; }
.snav-item { flex: none; scroll-snap-align: start; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 18px 8px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.snav-item:hover { border-color: var(--brand); box-shadow: 0 8px 20px rgb(16 23 20 / .08); transform: translateY(-1px); }
.snav-pic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--panel); color: var(--brand); font-weight: 800; font-size: 18px; }
.snav-pic img { width: 100%; height: 100%; object-fit: cover; }
.snav-pic .ico { width: 20px; height: 20px; }
.snav-tx { display: flex; flex-direction: column; gap: 1px; min-width: 0; max-width: 12rem; }
.snav-tx b { font-size: 15px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.snav-n { color: var(--ink-2); font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.snav-item.is-all .snav-pic { background: var(--mint); }
.snav-item[aria-current="page"] { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, var(--surface)); box-shadow: inset 0 0 0 1px var(--brand); }
.snav-item[aria-current="page"] .snav-pic { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--brand); }
.snav-item[aria-current="page"] b { color: var(--brand); }
.snav-arrow { position: absolute; top: calc(50% - 4px); transform: translateY(-50%); z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); box-shadow: 0 6px 16px rgb(16 23 20 / .12); cursor: pointer; }
.snav-arrow:hover { border-color: var(--brand); color: var(--brand); }
.snav-arrow .ico { width: 18px; height: 18px; }
.snav-arrow.prev { inset-inline-start: -6px; } .snav-arrow.next { inset-inline-end: -6px; }
.snav-back { transform: scaleX(-1); } :root[dir="rtl"] .snav-back { transform: none; }
.snav-wrap.fade-end .snav { -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); }
.snav-wrap.fade-start .snav { -webkit-mask-image: linear-gradient(to right, transparent, #000 15%); mask-image: linear-gradient(to right, transparent, #000 15%); }
.snav-wrap.fade-start.fade-end .snav { -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
:root[dir="rtl"] .snav-wrap.fade-end .snav { -webkit-mask-image: linear-gradient(to left, #000 85%, transparent); mask-image: linear-gradient(to left, #000 85%, transparent); }
:root[dir="rtl"] .snav-wrap.fade-start .snav { -webkit-mask-image: linear-gradient(to left, transparent, #000 15%); mask-image: linear-gradient(to left, transparent, #000 15%); }
@media (max-width: 599px) {
  .snav-item { min-height: 56px; gap: 10px; padding: 6px 14px 6px 6px; }
  .snav-pic { width: 42px; height: 42px; }
  .snav-tx b { font-size: 14px; }
  .snav-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) { .snav { scroll-behavior: auto; } .snav-item { transition: none; } .snav-item:hover { transform: none; } }

/* ---- Common questions and Contact ----
   A header with a large search; a shortcut card per topic (icon and number of questions); each topic's questions as
   cards that open with a plus that turns into a minus; a dark "still need help" panel. Contact: quick links in the
   header, the form (fields in pairs on wider screens) beside cards for call, email and address. */
.faq-hero { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 24px; padding: 36px 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: radial-gradient(120% 120% at 50% 0%, color-mix(in srgb, var(--brand) 14%, var(--surface)), var(--surface) 70%); text-align: center; }
.faq-hero .t-page { margin: 0; }
.faq-find { position: relative; width: min(100%, 36rem); margin-top: 8px; }
.faq-find input { width: 100%; min-height: 56px; font-size: 17px; }
.faq-topics { display: grid; gap: 12px; margin-bottom: 28px; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }
.faq-topics a { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); transition: border-color .2s ease, transform .2s ease; }
.faq-topics a:hover { border-color: var(--brand); transform: translateY(-2px); }
.faq-topics a > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.faq-t-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--mint); color: var(--brand); }
.faq-t-ic .ico { width: 20px; height: 20px; }
.faq-list { display: flex; flex-direction: column; gap: 28px; max-width: 52rem; margin-inline: auto; }
.faq-sec { scroll-margin-top: 120px; }
.faq-sec-h { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 20px; }
.faq-q { margin-bottom: 10px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); transition: border-color .2s ease, box-shadow .2s ease; }
.faq-q[open] { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: 0 10px 26px rgb(16 23 20 / .06); }
.faq-q > summary { list-style: none; position: relative; display: flex; align-items: center; min-height: 56px; padding: 14px 56px 14px 20px; font-weight: 700; cursor: pointer; }
:root[dir="rtl"] .faq-q > summary { padding: 14px 20px 14px 56px; }
.faq-q > summary::-webkit-details-marker { display: none; }
.faq-q > summary::before, .faq-q > summary::after { content: ""; position: absolute; inset-inline-end: 22px; top: 50%; width: 14px; height: 2px; border-radius: 2px; background: var(--brand); transition: transform .2s ease; }
.faq-q > summary::after { transform: rotate(90deg); }
.faq-q[open] > summary::after { transform: rotate(0deg); }
.faq-q > p { margin: 0; padding: 0 20px 18px; color: var(--ink-2); line-height: 1.7; }
.faq-help { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; max-width: 52rem; margin: 36px auto 8px; padding: 24px 28px; border-radius: var(--r-card); background: radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--brand) 70%, #0d1210), #0d1210 70%); color: #fff; }
.faq-help h2 { margin: 0 0 4px; color: #fff; } .faq-help p { margin: 0; color: var(--on-dark-2); }
.faq-help-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.faq-help-acts .btn { gap: 8px; } .faq-help-acts .ico { width: 16px; height: 16px; }
.ct-quick { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.ct-quick a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.ct-quick a:hover { border-color: var(--brand); }
.ct-quick .faq-t-ic { width: 32px; height: 32px; border-radius: 50%; } .ct-quick .faq-t-ic .ico { width: 16px; height: 16px; }
.ct-quick a > .ico { width: 14px; height: 14px; color: var(--ink-2); }
.ct-cols { display: grid; gap: 20px; }
@media (min-width: 900px) { .ct-cols { grid-template-columns: minmax(0, 1fr) 20rem; align-items: start; } }
.ct-form { padding: 24px; }
.ct-form .btn .ico { width: 18px; height: 18px; }
.ct-side { display: flex; flex-direction: column; gap: 12px; }
.ct-side-h { margin: 0 0 4px; font-size: 17px; }
.ct-way { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
a.ct-way:hover { border-color: var(--brand); }
.ct-way > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.ct-name { margin: 4px 0 0; color: var(--ink-2); font-size: 14px; text-align: center; }
@media (prefers-reduced-motion: reduce) { .faq-topics a, .faq-q, .faq-q > summary::after { transition: none; } .faq-topics a:hover { transform: none; } }
@media (max-width: 599px) { .faq-topics { grid-template-columns: 1fr 1fr; gap: 8px; } .faq-topics a { gap: 8px; padding: 10px; } .faq-topics .faq-t-ic { width: 32px; height: 32px; border-radius: 10px; } .faq-topics b { font-size: 14px; } .faq-hero { padding: 24px 16px; } .faq-help { padding: 20px; } }

/* ---- Sub-category items on the categories page ----
   Each is a small card: a rounded picture, the name with "View products" (or "Popular" for featured ones) and an
   arrow in a circle that fills on hover. Cards sit in a grid that fits the width; two across on a phone. */
.dsub-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.dsub { display: flex; align-items: center; gap: 14px; height: 100%; padding: 10px 12px 10px 10px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.dsub:hover { border-color: var(--brand); box-shadow: 0 12px 26px rgb(16 23 20 / .09); transform: translateY(-2px); }
.dsub-pic { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; overflow: hidden; background: var(--panel); color: var(--brand); font-size: 22px; font-weight: 800; }
.dsub-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.dsub:hover .dsub-pic img { transform: scale(1.08); }
.dsub-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.dsub-tx b { font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.dsub-go { color: var(--ink-2); font-size: 13px; font-weight: 600; }
.dsub:hover .dsub-go { color: var(--brand); }
.dsub-tag { padding: 1px 10px; border-radius: 999px; background: var(--mint); color: var(--brand); font-size: 12px; font-weight: 700; }
.dsub-arrow { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--panel); color: var(--ink-2); transition: background .2s ease, color .2s ease; }
.dsub-arrow .ico { width: 16px; height: 16px; }
.dsub:hover .dsub-arrow { background: var(--brand); color: var(--brand-ink); }
@media (max-width: 599px) {
  .dsub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .dsub { flex-direction: column; align-items: stretch; gap: 10px; padding: 8px 8px 12px; text-align: start; }
  .dsub-pic { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: calc(var(--r-card) - 6px); }
  .dsub-tx { padding-inline: 4px; }
  .dsub-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) { .dsub, .dsub-pic img, .dsub-arrow { transition: none; } .dsub:hover { transform: none; } .dsub:hover .dsub-pic img { transform: none; } }

/* ---- Sub-items in the category menus (the header's mega menu and the market "All categories" panel) ----
   Each is a card: a rounded picture that zooms a little, the name, how many products, and an arrow in a circle that
   slides in and fills on hover. A soft brand wash and a lifted shadow mark the one pointed at. */
.mk-fly-subs, .mega-subs { gap: 10px; }
.menu .sheet .mega-subs a.subc, .mk-fly-subs a.subc, .subc { position: relative; display: flex; align-items: center; justify-content: flex-start; gap: 12px; min-height: 0; padding: 8px 10px 8px 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease; }
.subc-pic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; overflow: hidden; background: color-mix(in srgb, var(--brand) 10%, var(--panel)); color: var(--brand); font-size: 18px; font-weight: 800; }
.subc-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.subc-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.subc-tx b { font-size: 14.5px; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.subc-n { color: var(--ink-2); font-size: 12px; font-weight: 600; }
.subc-go { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--panel); color: var(--ink-2); opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .2s ease, background .2s ease, color .2s ease; }
.subc-go .ico { width: 14px !important; height: 14px !important; opacity: 1 !important; transform: none !important; color: inherit !important; }
:root[dir="rtl"] .subc-go { transform: translateX(6px); }
.menu .sheet .mega-subs a.subc:hover, .menu .sheet .mega-subs a.subc:focus-visible,
.mk-fly-subs a.subc:hover, .mk-fly-subs a.subc:focus-visible { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); background: linear-gradient(120deg, color-mix(in srgb, var(--brand) 9%, var(--surface)), var(--surface) 70%); box-shadow: 0 10px 24px rgb(16 23 20 / .10); transform: translateY(-1px); color: var(--ink); }
.subc:hover .subc-pic img, .subc:focus-visible .subc-pic img { transform: scale(1.08); }
.subc:hover .subc-tx b, .subc:focus-visible .subc-tx b { color: var(--brand); }
.subc:hover .subc-go, .subc:focus-visible .subc-go { opacity: 1; transform: none; background: var(--brand); color: var(--brand-ink); }
@media (prefers-reduced-motion: reduce) { .subc, .subc-pic img, .subc-go { transition: none; } .subc:hover, .subc:hover .subc-pic img { transform: none; } }

/* The department banner at the foot of a category menu panel. */
.menu .sheet a.subp, .mk-fly a.subp, .subp { position: relative; isolation: isolate; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; min-height: 120px; margin-top: 16px; padding: 18px 20px; border-radius: 18px; overflow: hidden; background: var(--ink); color: #fff; text-decoration: none; }
.subp-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.subp::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgb(10 12 14 / .82) 0%, rgb(10 12 14 / .55) 55%, rgb(10 12 14 / .15) 100%); }
.subp.no-pic { background: linear-gradient(120deg, var(--brand), color-mix(in srgb, var(--brand) 60%, #000)); }
.subp.no-pic::before { display: none; }
.subp-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.subp-tx small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.subp-tx b { font-size: 20px; line-height: 1.2; color: #fff; }
.subp-tx span { font-size: 13px; opacity: .85; }
.subp-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 16px; border-radius: 999px; background: #fff; color: #111; font-size: 13px; font-weight: 700; transition: transform .2s ease; }
.subp-btn .ico { width: 14px; height: 14px; }
.subp:hover .subp-bg, .subp:focus-visible .subp-bg { transform: scale(1.05); }
.subp:hover .subp-btn, .subp:focus-visible .subp-btn { transform: translateX(3px); }
:root[dir="rtl"] .subp:hover .subp-btn { transform: translateX(-3px); }
@media (prefers-reduced-motion: reduce) { .subp-bg, .subp-btn { transition: none; } .subp:hover .subp-bg, .subp:hover .subp-btn { transform: none; } }

/* ---- Sub-items in the phone menu ----
   An opened department shows "View all" with its product count as a brand-coloured bar, then its sub-categories as
   picture tiles two across (name and product count under each picture). */
.mnav .mnav-subs { display: flex; flex-direction: column; gap: 10px; margin: 0 0 8px; padding: 10px; border-radius: 0 0 16px 16px; background: var(--panel); }
[dir="rtl"] .mnav .mnav-subs { padding: 10px; }
.mnav-all { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 8px 8px 16px; border-radius: 14px; background: var(--brand); color: var(--brand-ink); text-decoration: none; }
.mnav-all-tx { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.mnav-all-tx b { font-size: 15px; }
.mnav-all-tx span { font-size: 12px; opacity: .85; }
.mnav-all-go { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: color-mix(in srgb, var(--brand-ink) 18%, transparent); }
.mnav-all-go .ico { width: 16px; height: 16px; }
.mnav-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mnav-tile { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 6px 6px 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.mnav-tile:active { transform: scale(.98); }
.mnav-tile:hover, .mnav-tile:focus-visible { border-color: var(--brand); }
.mnav-tile-pic { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; margin-bottom: 4px; border-radius: 10px; overflow: hidden; background: color-mix(in srgb, var(--brand) 10%, var(--panel)); color: var(--brand); font-size: 22px; font-weight: 800; }
.mnav-tile-pic img { width: 100%; height: 100%; object-fit: cover; }
.mnav-tile b { padding-inline: 4px; font-size: 14px; line-height: 1.25; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.mnav-tile:hover b, .mnav-tile:focus-visible b { color: var(--brand); }
.mnav-tile-n { padding-inline: 4px; color: var(--ink-2); font-size: 12px; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .mnav-tile { transition: none; } .mnav-tile:active { transform: none; } }

/* ---- Department list in the phone menu ----
   One rounded card with a hairline between rows. Each row: the department's picture (its icon, or a photo of one of its
   sub-categories), the name with how many types and products, and a chevron in a circle. The open department is
   tinted, its picture ringed in the brand colour, and its sub-categories open underneath. */
.mnav .mnav-depts { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden; }
.mnav .mnav-depts > li + li { border-top: 1px solid var(--line); }
.mnav .mnav-dept > summary, .mnav .mnav-dept-link { gap: 14px; min-height: 68px; padding: 10px 12px; border-radius: 0; font-size: 15px; transition: background .15s ease; }
.mnav .mnav-dept > summary:hover, .mnav .mnav-dept-link:hover { background: color-mix(in srgb, var(--brand) 5%, var(--surface)); }
.mnav .mnav-dept[open] > summary { background: color-mix(in srgb, var(--brand) 9%, var(--surface)); color: var(--ink); }
.mnav .av { width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--brand) 10%, var(--panel)); font-size: 18px; transition: box-shadow .2s ease; }
.mnav .mnav-dept[open] .av { background: color-mix(in srgb, var(--brand) 10%, var(--panel)); color: var(--brand); box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--brand); }
.mnav .nm { display: flex; flex-direction: column; gap: 2px; }
.mnav .nm b { font-size: 15.5px; font-weight: 700; line-height: 1.25; }
.mnav .nm small { color: var(--ink-2); font-size: 12.5px; font-weight: 500; }
.mnav .mnav-dept[open] .nm b { color: var(--brand); }
.tw-c { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--panel); transition: background .2s ease; }
.mnav .tw-c .tw { width: 16px; height: 16px; }
.mnav .mnav-dept[open] .tw-c { background: var(--brand); }
.mnav .mnav-dept[open] .tw-c .tw { color: var(--brand-ink); }
.mnav .mnav-depts .mnav-subs { margin: 0; border-radius: 0; background: color-mix(in srgb, var(--brand) 4%, var(--panel)); }
@media (prefers-reduced-motion: reduce) { .mnav .mnav-dept > summary, .mnav .av, .tw-c { transition: none; } }

/* ---- Shop and help links in the phone menu ----
   Shop: four tiles two across, each with its icon in a tinted circle (the wishlist shows how many are saved). Then the
   account as a card with the shopper's initial, or "Sign in" for a visitor. Help: one rounded card of rows with an icon
   and a chevron, like the departments above. */
.mnav .mnav-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mnav .mnav-grid a { flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; min-height: 96px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); font-size: 14.5px; font-weight: 700; line-height: 1.25; transition: border-color .15s ease, background .15s ease; }
.mnav .mnav-grid a:hover, .mnav .mnav-grid a:focus-visible { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 5%, var(--surface)); }
.mnav-ic { position: relative; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 12%, var(--panel)); color: var(--brand); }
.mnav .mnav-ic .ico { width: 20px; height: 20px; color: var(--brand); }
.mnav-dot { position: absolute; top: -6px; inset-inline-end: -8px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-size: 11px; font-weight: 800; box-shadow: 0 0 0 2px var(--surface); }
.mnav-me { display: flex; align-items: center; gap: 14px; margin-top: 8px; padding: 12px; border-radius: 16px; background: linear-gradient(120deg, color-mix(in srgb, var(--brand) 14%, var(--surface)), var(--surface) 80%); border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line)); color: var(--ink); text-decoration: none; }
.mnav-me-av { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-size: 18px; font-weight: 800; }
.mnav-me-av .ico { width: 20px; height: 20px; }
.mnav-me-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mnav-me-tx b { font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mnav-me-tx small { color: var(--ink-2); font-size: 12.5px; }
.mnav .mnav-rows { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden; }
.mnav .mnav-rows > li + li { border-top: 1px solid var(--line); }
.mnav .mnav-rows a { gap: 14px; min-height: 60px; padding: 8px 12px; border-radius: 0; }
.mnav .mnav-rows a:hover, .mnav .mnav-rows a:focus-visible { background: color-mix(in srgb, var(--brand) 5%, var(--surface)); }
.mnav-row-tx { flex: 1; min-width: 0; }
.mnav .mnav-rows .mnav-ic { width: 36px; height: 36px; border-radius: 10px; }
.mnav .mnav-rows .mnav-ic .ico, .mnav .mnav-grid .mnav-ic .ico { flex: none; }
@media (prefers-reduced-motion: reduce) { .mnav .mnav-grid a { transition: none; } }
.mnav .mnav-links .tw-c .ico, .mnav-me .tw-c .ico { color: var(--ink-2); }

/* ---- Phone menu: top and foot ----
   The top is a soft brand-tinted band with the logo, a round close button and a search box, so shoppers can search
   without leaving the menu. The foot is a call card: the phone icon in a ringed circle, "Call us" over the number, and
   an arrow. */
.mnav .mnav-top { display: flex; flex-direction: column; align-items: stretch; gap: 12px; min-height: 0; padding: 14px 14px 14px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 12%, var(--surface)), var(--surface) 85%); }
.mnav-top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.mnav .mnav-close { width: 40px; height: 40px; border-color: transparent; background: var(--surface); box-shadow: 0 2px 8px rgb(16 23 20 / .10); transition: transform .2s ease; }
.mnav .mnav-close:hover { transform: rotate(90deg); }
.mnav .mnav-close .ico { width: 18px; height: 18px; }
.mnav-search .search { margin: 0; }
.mnav-search .search input { min-height: 46px; background: var(--surface); }
.mnav .mnav-foot { padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); background: var(--surface); box-shadow: 0 -8px 20px rgb(16 23 20 / .06); }
.mnav .mnav-call { justify-content: flex-start; gap: 12px; min-height: 60px; padding: 8px 10px 8px 8px; border-radius: 18px; background: linear-gradient(120deg, var(--brand), color-mix(in srgb, var(--brand) 72%, #000)); color: var(--brand-ink); text-decoration: none; box-shadow: 0 10px 22px color-mix(in srgb, var(--brand) 30%, transparent); }
.mnav-call-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: color-mix(in srgb, var(--brand-ink) 18%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand-ink) 25%, transparent); }
.mnav-call-ic .ico { width: 20px; height: 20px; }
.mnav-call-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; line-height: 1.2; }
.mnav-call-tx small { font-size: 12px; font-weight: 600; opacity: .85; }
.mnav .mnav-call-tx b { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: .02em; }
.mnav-call-go { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand-ink); color: var(--brand); transition: transform .2s ease; }
.mnav-call-go .ico { width: 16px; height: 16px; }
.mnav-call:hover .mnav-call-go { transform: translateX(3px); }
:root[dir="rtl"] .mnav-call:hover .mnav-call-go { transform: translateX(-3px); }
@media (prefers-reduced-motion: reduce) { .mnav .mnav-close, .mnav-call-go { transition: none; } .mnav .mnav-close:hover, .mnav-call:hover .mnav-call-go { transform: none; } }
.mnav-search .search input { border-start-start-radius: 999px; border-end-start-radius: 999px; }
.mnav-search .search button { border-start-end-radius: 999px; border-end-end-radius: 999px; }
.mnav-search .search, .mnav-search .search::before, .mnav-search .search::after { border-radius: 999px; }
.mnav .mnav-search .search input[type=search] { border-radius: 999px; }

/* ---- Bottom tab bar on phones ----
   A floating rounded bar with a frosted background: Home, Categories, a raised round cart button in the middle with its
   count, Wishlist and Account. The current page's tab is in the brand colour with a short line over its icon. The page
   gets room at the bottom so nothing hides under the bar; the compare bar and the cookie banner sit above it. */
.bnav { display: none; }
@media (max-width: 767px) {
  .bnav { position: fixed; z-index: 60; inset-inline: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; height: 64px; padding: 0 4px; border: 1px solid color-mix(in srgb, var(--line) 80%, transparent); border-radius: 22px; background: color-mix(in srgb, var(--surface) 88%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 12px 32px rgb(16 23 20 / .16), 0 2px 6px rgb(16 23 20 / .06); }
  body:has(.bnav) { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
  body:has(.bnav) .cmp-bar, body:has(.bnav) .consent { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .bnav-item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 100%; color: var(--ink-2); font-size: 11px; font-weight: 600; line-height: 1.1; text-decoration: none; -webkit-tap-highlight-color: transparent; }
  .bnav-ic { position: relative; display: grid; place-items: center; width: 40px; height: 28px; border-radius: 999px; transition: background .2s ease, color .2s ease, transform .2s ease; }
  .bnav-ic .ico { width: 22px; height: 22px; }
  .bnav-tx { max-width: 100%; padding-inline: 2px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .bnav-item[aria-current="page"] { color: var(--brand); }
  .bnav-item[aria-current="page"] .bnav-ic { background: color-mix(in srgb, var(--brand) 12%, transparent); }
  .bnav-item[aria-current="page"]::before { content: ""; position: absolute; top: 0; width: 22px; height: 3px; border-radius: 0 0 3px 3px; background: var(--brand); }
  .bnav-item:active .bnav-ic { transform: scale(.92); }
  .bnav-n { position: absolute; top: -5px; inset-inline-end: -2px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-size: 10.5px; font-weight: 800; box-shadow: 0 0 0 2px var(--surface); }
  .bnav-item.is-cart { justify-content: flex-end; padding-bottom: 8px; }
  .bnav-item.is-cart .bnav-ic { position: absolute; top: -22px; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(140deg, var(--brand), color-mix(in srgb, var(--brand) 70%, #000)); color: var(--brand-ink); box-shadow: 0 10px 22px color-mix(in srgb, var(--brand) 40%, transparent), 0 0 0 5px var(--surface); }
  .bnav-item.is-cart .bnav-ic .ico { width: 24px; height: 24px; }
  .bnav-item.is-cart .bnav-n { top: 2px; inset-inline-end: 2px; background: var(--ink); color: var(--bg); box-shadow: 0 0 0 2px var(--brand); }
  .bnav-item.is-cart::before { display: none; }
  .bnav-item.is-cart[aria-current="page"] .bnav-ic { background: linear-gradient(140deg, var(--brand), color-mix(in srgb, var(--brand) 70%, #000)); }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) { .bnav-ic { transition: none; } .bnav-item:active .bnav-ic { transform: none; } }

/* ---- Phone header (both layouts) ----
   Compact and calm: a thin promo line, a slim tools row (language and light/dark; Track order shrinks to its icon),
   then one bar with the menu button on the left, the logo in the middle and the account and cart as round buttons on
   the right. Under it a soft pill search, and in the market layout the main pages as scrolling pills instead of the
   coloured strip. */
@media (max-width: 719px) {
  .mk-promo { padding-block: 6px; font-size: 12px; }
  .mk-info .wrap, .topbar .wrap { min-height: 36px; gap: 8px; }
  .mk-info .mk-contact { display: none; }
  .mk-info .tools, .topbar .tools { margin-inline-start: auto; gap: 2px; }
  .mk-info .tools a, .mk-info .tools button, .mk-info .tools select, .topbar a, .topbar button, .topbar select { min-height: 36px; padding-inline: 8px; font-size: 12.5px; }
  .mk-info .tools > a, .topbar .tools > a { font-size: 0; gap: 0; }
  .mk-info .tools > a .ico, .topbar .tools > a .ico { width: 18px; height: 18px; }

  .site-head { background: color-mix(in srgb, var(--surface) 92%, transparent); box-shadow: 0 6px 18px rgb(16 23 20 / .06); }
  .site-head .bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; min-height: 60px; }
  .site-head .bar > .burger { justify-self: start; }
  .site-head .bar > .logo { justify-self: center; min-width: 0; max-width: 46vw; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 24px; }
  .site-head .bar > .logo img { height: 32px; max-width: 46vw; }
  .site-head .bar > .head-nav { justify-self: end; margin: 0; gap: 6px; }
  .site-head .burger > summary.icon-btn, .head-nav .icon-btn { width: 42px; min-width: 42px; height: 42px; padding: 0; border-color: transparent; background: var(--panel); }
  .head-nav .icon-btn.wide .label { display: none; }
  .head-nav .cart-pill { position: relative; justify-content: center; width: 42px; min-height: 42px; height: 42px; padding: 0; border-radius: 50%; background: var(--brand); color: var(--brand-ink); }
  .head-nav .cart-pill .label { display: none; }
  .head-nav .cart-pill .n { position: absolute; top: -4px; inset-inline-end: -4px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 10.5px; font-weight: 800; box-shadow: 0 0 0 2px var(--surface); }
  .head-nav .cart-pill[data-empty] .n { display: none; }
  .site-head .burger > summary.icon-btn, .head-nav .icon-btn, .head-nav .cart-pill { border-radius: 50% !important; }
  .head-nav .icon-btn .dot { box-shadow: 0 0 0 2px var(--surface); }

  .head-search-mobile { padding-bottom: 10px; }
  .head-search-mobile .search { max-width: none; }
  .head-search-mobile .search input[type=search] { min-height: 44px; border: 1px solid transparent; border-radius: 999px; background: var(--panel); font-size: 15px; }
  .head-search-mobile .search input[type=search]:focus { background: var(--surface); border-color: var(--brand); }
  .head-search-mobile .search button { top: 4px; inset-inline-end: 4px; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); }
  .head-search-mobile .search button .ico { width: 16px; height: 16px; color: var(--brand-ink); }

  .mk-nav { position: static; background: transparent; color: var(--ink); border-top: 1px solid var(--line); }
  .mk-nav .wrap { padding-block: 8px; }
  .mk-links { gap: 6px; }
  .mk-links a { min-height: 34px; padding-inline: 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 13px; text-transform: none; letter-spacing: 0; }
  :root:is([lang="bn"], [lang="ar"]) .mk-links a { font-size: 14px; }
  .mk-links a:hover, .mk-links a[aria-current="page"] { text-decoration: none; }
  .mk-links a[aria-current="page"] { border-color: var(--brand); background: var(--brand); color: var(--brand-ink); }
}

/* ---- Search box drop-down: words, then products with picture and price, then "see all" ---- */
.search .suggest { max-height: min(70vh, 34rem); overflow-y: auto; }
.search .suggest .sg-head { margin: 6px 12px 4px; color: var(--ink-2); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.search .suggest .sg-head:not(:first-child) { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.search .suggest a.sg-prod { gap: 12px; min-height: 64px; padding-block: 6px; color: var(--ink); }
.search .suggest a.sg-prod::before, .search .suggest a.sg-all::before { content: none; }
.sg-pic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px; overflow: hidden; background: var(--panel); color: var(--brand); font-weight: 800; }
.sg-pic img { width: 100%; height: 100%; object-fit: cover; }
.sg-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sg-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 14px; font-weight: 500; line-height: 1.35; }
.search .suggest .sg-name b { font-weight: 800; }
.sg-price { display: flex; align-items: baseline; gap: 8px; font-size: 14px; font-variant-numeric: tabular-nums; }
.sg-price b { color: var(--ink); font-weight: 800; }
.sg-price s { color: var(--ink-2); font-size: 12px; }
.sg-price em { color: var(--danger); font-size: 12px; font-style: normal; font-weight: 700; }
.search .suggest a.sg-all { justify-content: center; margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; color: var(--brand); font-weight: 700; }

/* ---- Price slider (product lists): two handles on one track, the part between them filled ---- */
.f-range { margin-top: 14px; }
.f-slide { position: relative; height: 28px; margin-inline: 2px; }
.f-track { position: absolute; inset-inline: 0; top: 12px; height: 4px; border-radius: 4px; background: var(--line); }
.f-fill { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: var(--brand); }
.f-range input[type="range"] { position: absolute; inset-inline: 0; top: 2px; width: 100%; height: 24px; margin: 0; padding: 0; border: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.f-range input[type="range"]::-webkit-slider-runnable-track { height: 24px; background: none; }
.f-range input[type="range"]::-moz-range-track { background: none; }
.f-range input[type="range"]::-webkit-slider-thumb { pointer-events: auto; -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; border: 3px solid var(--brand); background: var(--surface); box-shadow: 0 2px 6px rgb(16 23 20 / .2); cursor: grab; }
.f-range input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--brand); background: var(--surface); box-shadow: 0 2px 6px rgb(16 23 20 / .2); cursor: grab; }
.f-range input[type="range"]:active::-webkit-slider-thumb { cursor: grabbing; transform: scale(1.08); }
.f-range input[type="range"]:focus-visible { outline: none; }
.f-range input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--ring); }
.f-range input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px var(--ring); }
.f-ends { display: flex; justify-content: space-between; margin-top: 6px; color: var(--ink-2); font-size: 12px; }

/* ---- Search box, empty: recent searches (with ✕ and Clear) and popular searches ---- */
.search .suggest .sg-head-row { display: flex; align-items: center; justify-content: space-between; }
.sg-clear { border: 0; background: none; padding: 4px 6px; color: var(--brand); font: inherit; font-size: 12px; font-weight: 700; text-transform: none; letter-spacing: 0; cursor: pointer; }
.sg-recent { display: flex; align-items: center; border-radius: 10px; }
.sg-recent:hover, .sg-recent:focus-within { background: var(--panel); }
.search .suggest .sg-recent a { flex: 1; min-width: 0; background: none; color: var(--ink); }
.search .suggest .sg-recent a::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.sg-x { flex: none; display: grid; place-items: center; width: 40px; height: 40px; margin-inline-end: 2px; border: 0; border-radius: 50%; background: none; color: var(--ink-2); font-size: 20px; line-height: 1; cursor: pointer; }
.sg-x:hover { background: var(--surface); color: var(--danger); }
.sg-pops { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 8px 6px; }
.search .suggest a.sg-pop { min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 14px; }
.search .suggest a.sg-pop::before { content: none; }
.search .suggest a.sg-pop:hover, .search .suggest a.sg-pop:focus { border-color: var(--brand); color: var(--brand); background: none; }
/* The drop-down's own buttons (Clear, ✕) are not the search box's round submit button. */
.search .suggest button.sg-clear, .search .suggest button.sg-x { position: static; inset: auto; top: auto; display: inline-grid; place-items: center; background: none; box-shadow: none; }
.search .suggest button.sg-clear { width: auto; height: auto; min-height: 32px; padding: 4px 8px; border-radius: 8px; color: var(--brand); }
.search .suggest button.sg-x { width: 40px; height: 40px; border-radius: 50%; color: var(--ink-2); }
.search .suggest button.sg-x:hover { background: var(--surface); color: var(--danger); }

/* ---- Blog ----
   A header with the topics (and how many posts each has); the newest post as a wide card, then a grid of cards with
   the picture, its topic on top, date and writer, title, excerpt and Read more. A post: topic, big title, writer,
   date and reading time, a wide picture, the first paragraph larger, then sharing (Facebook, WhatsApp, copy link). */
.bl-hero { margin-bottom: 28px; }
.bl-hero p { margin: 0; }
.bl-topics { justify-content: center; margin-top: 10px; }
.bl-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--panel); color: var(--ink-2); font-size: 12px; font-weight: 700; }
.chip[aria-current] .bl-n { background: color-mix(in srgb, var(--brand-ink) 22%, transparent); color: inherit; }
.bl-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.bl-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.bl-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); box-shadow: 0 16px 34px rgb(16 23 20 / .09); }
.bl-pic { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--panel); }
.bl-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.bl-card:hover .bl-pic img { transform: scale(1.05); }
.bl-pic-none { display: grid; place-items: center; width: 100%; height: 100%; color: var(--brand); }
.bl-pic-none .ico { width: 40px; height: 40px; opacity: .5; }
.bl-topic { position: absolute; top: 12px; inset-inline-start: 12px; padding: 4px 12px; border-radius: 999px; background: var(--surface); color: var(--brand); font-size: 12px; font-weight: 700; box-shadow: 0 2px 8px rgb(0 0 0 / .12); }
.bl-topic.static { position: static; align-self: flex-start; background: var(--mint); box-shadow: none; }
.bl-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.bl-meta { margin: 0; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.bl-title { margin: 0; font-family: var(--font-display); font-size: 22px; line-height: 1.25; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.bl-title a::after { content: ""; position: absolute; inset: 0; }
.bl-card:hover .bl-title a { color: var(--brand); }
.bl-ex { margin: 0; color: var(--ink-2); line-height: 1.6; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.bl-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; color: var(--brand); font-size: 14px; font-weight: 700; }
.bl-more .ico { width: 16px; height: 16px; transition: transform .2s ease; }
.bl-card:hover .bl-more .ico { transform: translateX(3px); }
:root[dir="rtl"] .bl-card:hover .bl-more .ico { transform: scaleX(-1) translateX(3px); }
.bl-latest { align-self: flex-start; padding: 3px 12px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-size: 12px; font-weight: 800; }
.bl-card.big { margin-bottom: 28px; }
@media (min-width: 860px) {
  .bl-card.big { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .bl-card.big .bl-pic { aspect-ratio: auto; min-height: 22rem; }
  .bl-card.big .bl-body { justify-content: center; gap: 12px; padding: 36px; }
  .bl-card.big .bl-title { font-size: 34px; }
  .bl-card.big .bl-ex { -webkit-line-clamp: 4; font-size: 17px; }
}
.bl-post { max-width: 60rem; margin-inline: auto; }
.bl-post-head { display: flex; flex-direction: column; gap: 14px; max-width: 46rem; margin: 0 auto 28px; }
.bl-post-head .t-hero { margin: 0; line-height: 1.15; }
.bl-by { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 14px; }
.bl-by b { color: var(--ink); }
.acct-av.sm { width: 40px; height: 40px; font-size: 16px; }
.bl-hero-pic { margin: 0 0 36px; border-radius: calc(var(--r-card) + 6px); overflow: hidden; aspect-ratio: 16 / 9; background: var(--panel); }
.bl-hero-pic img { width: 100%; height: 100%; object-fit: cover; }
.bl-prose { max-width: 46rem; margin-inline: auto; font-size: 18px; line-height: 1.8; }
.bl-prose p { margin-bottom: 1.2em; }
.bl-lead { font-size: 21px; line-height: 1.7; color: var(--ink); font-weight: 500; }
.bl-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; max-width: 46rem; margin: 32px auto 0; padding-top: 20px; border-top: 1px solid var(--line); }
.bl-share-h { font-weight: 700; margin-inline-end: 4px; }
.bl-share .btn { gap: 6px; } .bl-share .btn .ico { width: 16px; height: 16px; }
.bl-fb { font-weight: 800; font-size: 18px; font-family: Arial, sans-serif; line-height: 1; }
.bl-back { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: auto; font-weight: 600; }
.bl-back-ic { width: 16px; height: 16px; transform: scaleX(-1); } :root[dir="rtl"] .bl-back-ic { transform: none; }
@media (max-width: 599px) { .bl-prose { font-size: 17px; } .bl-lead { font-size: 19px; } .bl-back { margin-inline-start: 0; flex-basis: 100%; } .bl-grid { gap: 16px; } }
@media (prefers-reduced-motion: reduce) { .bl-card, .bl-pic img, .bl-more .ico { transition: none; } .bl-card:hover { transform: none; } .bl-card:hover .bl-pic img { transform: none; } }
@media (min-width: 860px) { .bl-card.big .bl-more { margin-top: 8px; } }

/* ---- Footer ----
   A news-and-offers band, then the shop (logo, about, contacts with icons, round social icons, app store buttons) and
   three link columns, then the bottom line with the promise and Back to top. Built on the footer's own text colour
   (currentColor) so each theme's light or dark footer carries it. On a phone the link columns sit two by two. */
.site-foot { padding-block: 40px 28px; }
.ft-news { display: grid; gap: 14px 20px; align-items: center; margin-bottom: 40px; padding: 22px 24px; border: 1px solid color-mix(in srgb, currentColor 14%, transparent); border-radius: var(--r-card); background: color-mix(in srgb, currentColor 4%, transparent); }
@media (min-width: 860px) { .ft-news { grid-template-columns: auto minmax(0, 1fr) minmax(0, 26rem); } }
.ft-news-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand); color: var(--brand-ink); }
.ft-news-ic .ico { width: 22px; height: 22px; }
.ft-news-tx h2 { margin: 0 0 2px; font-size: 18px; } .ft-news-tx p { margin: 0; }
.ft-news-form .news { display: flex; gap: 8px; }
.ft-news-form input { flex: 1; min-width: 0; min-height: 46px; border-radius: 999px; padding-inline: 18px; }
.ft-news-form .btn { min-height: 46px; padding-inline: 20px; border-radius: 999px; }
.ft-cols { row-gap: 28px; }
.ft-brand .logo { margin: 0 0 10px; font-size: 26px; }
.ft-brand .logo img { max-height: 44px; width: auto; }
.ft-about { margin: 0 0 14px; max-width: 26rem; line-height: 1.6; }
.ft-contact { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ft-contact li { display: flex; align-items: center; gap: 10px; min-height: 36px; }
.ft-contact .tap { min-height: 36px; }
.ft-ic { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: color-mix(in srgb, currentColor 8%, transparent); }
.ft-ic .ico { width: 16px; height: 16px; opacity: .85; }
.ft-label { margin: 0 0 8px; font-size: 13px; font-weight: 700; opacity: .8; }
.ft-social { list-style: none; margin: 0 0 18px; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.site-foot .ft-social a { display: grid; place-items: center; width: 42px; height: 42px; min-height: 0; border-radius: 50%; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); color: inherit; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.site-foot .ft-social a:hover { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.ft-social svg { width: 18px; height: 18px; }
.ft-glyph { font-weight: 800; }
.ft-apps { display: flex; gap: 10px; flex-wrap: wrap; }
.ft-store { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 16px 6px 12px; border-radius: 12px; background: #0d1210; color: #fff; border: 1px solid rgb(255 255 255 / .18); transition: transform .2s ease; }
.ft-store:hover { transform: translateY(-2px); color: #fff; }
.ft-store svg { width: 24px; height: 24px; flex: none; }
.ft-store span { display: flex; flex-direction: column; line-height: 1.15; }
.ft-store small { font-size: 10px; opacity: .8; text-transform: uppercase; letter-spacing: .04em; }
.ft-store b { font-size: 16px; font-weight: 700; }
.site-foot nav h2 { margin-bottom: 10px; }
.site-foot nav li a { min-height: 38px; }
.site-foot .legal { align-items: center; }
.ft-top { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 20%, transparent); color: inherit; font-weight: 600; }
.ft-top:hover { border-color: var(--brand); color: var(--brand); }
.ft-top-ic { width: 14px; height: 14px; transform: rotate(180deg); }
@media (max-width: 719px) {
  .ft-cols { grid-template-columns: 1fr 1fr; }
  .ft-cols > .ft-brand { grid-column: 1 / -1; }
  .ft-news { padding: 18px; }
  .site-foot .legal { flex-direction: column; align-items: flex-start; }
}
/* The sticky header gets a soft shadow once the page scrolls under it. */
.site-head, .mk-nav { transition: box-shadow .2s ease; }
.site-head.is-stuck, .mk-nav.is-stuck { box-shadow: 0 8px 24px rgb(16 23 20 / .08); }
@media (prefers-reduced-motion: reduce) { .ft-store, .site-foot .ft-social a, .site-head, .mk-nav { transition: none; } .ft-store:hover { transform: none; } }
.ft-news > * { min-width: 0; }
@media (max-width: 599px) { .ft-news-form .news { flex-direction: column; } .ft-news-form .btn { width: 100%; } }

/* ---- Logo ----
   A square mark (an icon without the name) is shown with the shop's name beside it, in the theme's heading font, so it
   reads on light and dark headers alike; a wide logo is shown alone. On a phone the name gives way first. */
.logo img.logo-mark, .mnav-brand img.logo-mark { width: 44px; height: 44px; max-width: none; border-radius: 12px; object-fit: cover; flex: none; }
.logo-name { margin-inline-start: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.logo:has(.logo-mark) { gap: 0; }
.mnav-brand { display: inline-flex; align-items: center; }
.mnav-brand img.logo-mark { width: 36px; height: 36px; border-radius: 10px; }
.ft-brand .logo img.logo-mark { width: 48px; height: 48px; max-height: none; }
.auth-brand img.logo-mark { object-fit: cover; padding: 0; background: none; }
@media (max-width: 959px) {
  .site-head .bar > .logo img.logo-mark { width: 34px; height: 34px; border-radius: 10px; }
  .site-head .bar > .logo .logo-name { font-size: 22px; margin-inline-start: 8px; }
}
@media (max-width: 359px) { .site-head .bar > .logo .logo-name { display: none; } }

/* ---- Wishlist, more ----
   A header with a heart, the count and "Add all to cart"; a grid or list switch beside the sort (remembered on the
   device); in the list each saved product is one row: picture, name and price, then its buttons; sold-out items fade. */
.wl-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-card); background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 12%, var(--surface)), var(--surface) 70%); }
@media (min-width: 720px) { .wl-hero { grid-template-columns: auto minmax(0, 1fr) auto; } }
.wl-hero-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--brand); color: var(--brand-ink); }
.wl-hero-ic .ico { width: 24px; height: 24px; }
.wl-hero-tx .t-page { margin: 0 0 2px; } .wl-hero-tx p { margin: 0; }
.wl-hero-acts { display: flex; gap: 8px; flex-wrap: wrap; grid-column: 1 / -1; }
@media (min-width: 720px) { .wl-hero-acts { grid-column: auto; } }
.wl-hero-acts .btn { gap: 8px; } .wl-hero-acts .ico { width: 18px; height: 18px; }
.wl-tools { display: flex; align-items: center; gap: 10px; }
.wl-view { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.wl-view button { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); cursor: pointer; }
.wl-view button[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); }
.wl-view svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.wl-item.is-out .pcard { opacity: .6; }
.wl-item.is-out .pcard:hover { opacity: 1; }
.wl-grid.as-list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.wl-grid.as-list .pcard { display: grid; grid-template-columns: 132px minmax(0, 1fr); align-items: center; }
.wl-grid.as-list .pcard > .ph { width: 112px; height: 112px; min-height: 0; aspect-ratio: 1; overflow: hidden; align-self: center; margin: 10px; border-radius: calc(var(--r-card) - 6px); }
.wl-grid.as-list .pcard > .ph img { width: 100%; height: 100%; object-fit: cover; }
.wl-grid.as-list .pcard .body { align-items: flex-start; text-align: start; padding-inline-end: 56px; }
.wl-grid.as-list .pcard .foot { justify-content: flex-start; }
.wl-grid.as-list .pcard .title { -webkit-line-clamp: 2; text-align: start; }
@media (min-width: 720px) {
  .wl-grid.as-list .pcard { grid-template-columns: 150px minmax(0, 1fr); }
  .wl-grid.as-list .pcard > .ph { width: 130px; height: 130px; }
  .wl-grid.as-list .pcard .body { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; row-gap: 6px; align-items: center; }
  .wl-grid.as-list .pcard .body > * { grid-column: 1; }
  .wl-grid.as-list .pcard .body > .cta { grid-column: 2; grid-row: 1 / span 3; align-self: center; margin: 0; white-space: nowrap; }
}
@media (max-width: 599px) { .wl-bar { flex-wrap: wrap; } .wl-tools { width: 100%; justify-content: space-between; } }

/* ---- Compare, more ----
   Three quick-answer cards above the table (cheapest, best rated, biggest saving), the best value in each row
   marked green with a tick, and Add to cart on products with nothing to choose. */
.cmp-picks { display: grid; gap: 12px; margin-bottom: 20px; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.cmp-pick { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.cmp-pick:hover { border-color: var(--brand); }
.cmp-pick-pic { flex: none; width: 52px; height: 52px; border-radius: 12px; overflow: hidden; background: var(--panel); }
.cmp-pick-pic img { width: 100%; height: 100%; object-fit: cover; }
.cmp-pick-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cmp-pick-tx small { color: var(--brand); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.cmp-pick-tx b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp-pick-tx span { color: var(--ink-2); font-size: 13px; }
.cmp-v2 td.win { background: color-mix(in srgb, var(--ok) 10%, var(--surface)) !important; }
.cmp-win { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-inline-end: 6px; border-radius: 50%; background: var(--ok); color: #fff; vertical-align: -4px; }
.cmp-win .ico { width: 12px; height: 12px; }
.cmp-buy { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.cmp-buy form { margin: 0; }
.cmp-buy .btn { gap: 6px; } .cmp-buy .btn .ico { width: 16px; height: 16px; }
@media (max-width: 599px) { .cmp-picks { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; } .cmp-picks::-webkit-scrollbar { display: none; } .cmp-pick { scroll-snap-align: start; } }

/* ---- Cart, more ----
   A green line with what the order saves, Save for later beside Remove on each item (signed-in shoppers), and the
   phone's bottom bar with the saving under the total. */
.cart-saving { display: flex; align-items: center; gap: 10px; margin: -4px 0 16px; padding: 10px 14px; border-radius: var(--r-card); background: color-mix(in srgb, var(--ok) 12%, var(--surface)); color: var(--ok); font-weight: 700; }
.cart-saving .ico { width: 18px; height: 18px; flex: none; }
.ci-save { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font-size: 14px; font-weight: 600; cursor: pointer; }
.ci-save:hover { background: var(--panel); color: var(--brand); }
.ci-save .ico { width: 16px; height: 16px; }
.sticky-bar .sb-save { display: block; color: var(--ok); font-size: 12px; font-weight: 700; }
@media (max-width: 479px) { .ci-save span, .ci-remove span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* ---- Checkout, more ----
   Delivery times under the address, Edit cart beside the summary title, a quantity badge on each summary picture,
   the coupon folded behind "Have a coupon?" and the terms line under Confirm order. */
.co-eta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 4px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--panel); color: var(--ink-2); font-size: 14px; }
.co-eta span { display: inline-flex; align-items: center; gap: 6px; }
.co-eta .ico { width: 16px; height: 16px; color: var(--brand); }
.co-eta b { color: var(--ink); }
.sum-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sum-head h2 { margin: 0; }
.sum-edit { font-size: 14px; font-weight: 700; color: var(--brand); }
.co-thumb { position: relative; flex: none; }
.co-qty { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 11px; font-weight: 800; box-shadow: 0 0 0 2px var(--surface); }
.co-coupon-box > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--brand); font-weight: 700; cursor: pointer; }
.co-coupon-box > summary::-webkit-details-marker { display: none; }
.co-coupon-box > summary .ico { width: 16px; height: 16px; }
.co-coupon-box[open] > summary { margin-bottom: 4px; }
.co-terms { margin: 0; text-align: center; color: var(--ink-2); font-size: 13px; }
.co-terms a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

/* ---- Product page, more ----
   On a computer, a slim bar slides in under the header once the buy buttons scroll away: picture, name, the price
   (kept in step with the chosen size or colour) and the same Add to cart / Order now. Phones keep their bottom bar. */
.pdp-dock { position: fixed; inset-inline: 0; top: 0; z-index: 60; transform: translateY(-110%); transition: transform .25s ease; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); box-shadow: 0 10px 28px rgb(16 23 20 / .08); }
.pdp-dock.on { transform: none; }
.pdp-dock .wrap { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.pdp-dock-pic { flex: none; width: 46px; height: 46px; border-radius: 10px; overflow: hidden; background: var(--panel); }
.pdp-dock-pic img { width: 100%; height: 100%; object-fit: cover; }
.pdp-dock-name { flex: 1; min-width: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdp-dock .price { flex: none; }
.pdp-dock .btn { flex: none; gap: 8px; } .pdp-dock .btn .ico { width: 18px; height: 18px; }
@media (max-width: 959px) { .pdp-dock { display: none; } }
@media (prefers-reduced-motion: reduce) { .pdp-dock { transition: none; } }

/* ---- Home: what customers say ----
   Recent 4 and 5 star reviews with text: the shop's average in the heading, then cards with stars, the words, the
   short name, Verified purchase and the product reviewed. A row that scrolls sideways on a phone. */
.hr-sum { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; white-space: nowrap; }
.hr-sum .hr-stars { font-size: 15px; }
.hr-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hr-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 18px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.hr-card::before { content: "\201C"; position: absolute; top: 6px; inset-inline-end: 18px; font-family: Georgia, serif; font-size: 72px; line-height: 1; color: color-mix(in srgb, var(--brand) 22%, transparent); }
.hr-stars { color: #f5a524; letter-spacing: 2px; }
.hr-text { margin: 0; color: var(--ink); line-height: 1.65; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; }
.hr-who { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.hr-who .acct-av { width: 36px; height: 36px; font-size: 15px; }
.hr-who b { display: block; font-size: 14px; }
.hr-ok { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); font-size: 12px; font-weight: 700; }
.hr-ok .ico { width: 13px; height: 13px; }
.hr-prod { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.hr-prod:hover { color: var(--brand); }
.hr-prod span:first-child { flex: none; width: 36px; height: 36px; border-radius: 8px; overflow: hidden; background: var(--panel); }
.hr-prod img { width: 100%; height: 100%; object-fit: cover; }
.hr-prod span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 959px) {
  .hr-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(16rem, 82%); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
  .hr-grid::-webkit-scrollbar { display: none; } .hr-card { scroll-snap-align: start; }
}
@media (max-width: 599px) { [data-home="reviews"] .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; } .hr-sum { white-space: normal; } }

/* ---- All categories ----
   A header with the counts and a find box, then a grid of department cards: a cover picture with the name and number
   of types over a soft shade, up to six sub-categories as rows (picture, name, Popular, arrow) and View all. */
.cg-hero { margin-bottom: 20px; }
.cg-hero p { margin: 0; }
.cg-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); align-items: start; }
.cg-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); overflow: hidden; scroll-margin-top: 140px; transition: box-shadow .2s ease, border-color .2s ease; }
.cg-card:hover { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); box-shadow: 0 14px 32px rgb(16 23 20 / .08); }
.cg-cover { position: relative; display: block; aspect-ratio: 16 / 8; overflow: hidden; background: color-mix(in srgb, var(--brand) 16%, var(--panel)); }
.cg-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cg-card:hover .cg-cover img { transform: scale(1.05); }
.cg-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .62), rgb(0 0 0 / 0) 62%); }
.cg-initial { display: grid; place-items: center; width: 100%; height: 100%; color: var(--brand); font-family: var(--font-display); font-size: 56px; font-weight: 800; }
.cg-cover-tx { position: absolute; inset-inline: 18px; bottom: 14px; z-index: 1; display: flex; flex-direction: column; gap: 2px; color: #fff; }
.cg-cover-tx h2 { margin: 0; color: #fff; font-size: 22px; line-height: 1.2; text-shadow: 0 1px 8px rgb(0 0 0 / .3); }
.cg-cover-tx span { font-size: 13px; font-weight: 600; opacity: .9; }
.cg-subs { list-style: none; margin: 0; padding: 8px; display: flex; flex-direction: column; }
.cg-subs a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 10px; border-radius: 12px; }
.cg-subs a:hover { background: var(--panel); color: var(--brand); }
.cg-sub-pic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; overflow: hidden; background: var(--panel); color: var(--brand); font-weight: 800; }
.cg-sub-pic img { width: 100%; height: 100%; object-fit: cover; }
.cg-sub-name { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cg-chev { width: 14px; height: 14px; color: var(--ink-2); flex: none; }
.cg-all { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; margin-top: auto; border-top: 1px solid var(--line); color: var(--brand); font-size: 14px; font-weight: 700; }
.cg-all:hover { background: var(--panel); }
.cg-all .ico { width: 16px; height: 16px; }
@media (max-width: 599px) { .cg-grid { gap: 14px; } .cg-cover { aspect-ratio: 16 / 7; } }
@media (prefers-reduced-motion: reduce) { .cg-card, .cg-cover img { transition: none; } .cg-card:hover .cg-cover img { transform: none; } }

/* ---- Brands, with pictures ----
   Each top brand card shows three of its best-selling product photos; a brand row without a logo shows its top
   product's photo. A brand's own page opens with a header: logo or photo, name, product count, All brands. */
.br-big { padding-top: 0; overflow: hidden; }
.br-mosaic { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; width: calc(100% + 32px); margin: 0 -16px 4px; aspect-ratio: 16 / 9; background: var(--panel); }
.br-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.br-mosaic img:first-child { grid-row: 1 / span 2; }
.br-mosaic.n1 { grid-template-columns: 1fr; } .br-mosaic.n1 img { grid-row: auto; }
.br-mosaic.n2 { grid-template-rows: 1fr; } .br-mosaic.n2 img:first-child { grid-row: auto; }
.br-big .br-logo.lg.on-pic { margin-top: -42px; position: relative; z-index: 1; box-shadow: 0 0 0 4px var(--surface); }
.br-logo img.pic { padding: 0; object-fit: cover; }
.br-head { display: flex; align-items: center; gap: 18px; margin: 4px 0 20px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 10%, var(--surface)), var(--surface) 70%); }
.br-head .br-logo { width: 72px; height: 72px; border-radius: 18px; font-size: 30px; }
.br-head-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.br-head-tx .t-page { margin: 0; }
.br-head-tx p { margin: 0; }
.br-head .btn { flex: none; }
@media (max-width: 599px) { .br-head { flex-wrap: wrap; } .br-head .btn { width: 100%; justify-content: center; } .br-head .br-logo { width: 56px; height: 56px; font-size: 24px; } }
.br-mosaic { aspect-ratio: auto; height: 150px; grid-template-rows: repeat(2, minmax(0, 1fr)); } .br-mosaic.n1, .br-mosaic.n2 { grid-template-rows: minmax(0, 1fr); } .br-mosaic img { min-height: 0; }

/* ---- Blog post, more ----
   A thin bar at the top of the screen that fills as you read, a "written by" card after the article, and the
   previous and next posts as two cards. */
.bl-progress { position: fixed; inset-inline: 0; top: 0; z-index: 70; height: 3px; background: transparent; pointer-events: none; }
.bl-progress span { display: block; height: 100%; width: 100%; background: var(--brand); transform-origin: 0 50%; transform: scaleX(0); }
:root[dir="rtl"] .bl-progress span { transform-origin: 100% 50%; }
.bl-author { display: flex; align-items: center; gap: 14px; max-width: 46rem; margin: 28px auto 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.bl-author .acct-av { width: 52px; height: 52px; font-size: 20px; flex: none; }
.bl-author small { display: block; color: var(--ink-2); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.bl-author b { display: block; font-size: 17px; }
.bl-author p { margin: 2px 0 0; color: var(--ink-2); font-size: 14px; }
.bl-nav { display: grid; gap: 12px; max-width: 46rem; margin: 20px auto 0; grid-template-columns: 1fr 1fr; }
.bl-nav a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); min-width: 0; }
.bl-nav a:hover { border-color: var(--brand); }
.bl-nav small { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-size: 13px; font-weight: 700; }
.bl-nav small .ico { width: 14px; height: 14px; }
.bl-nav b { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.bl-nav .next { grid-column: 2; text-align: end; align-items: flex-end; }
.bl-nav .prev .ico { transform: scaleX(-1); } :root[dir="rtl"] .bl-nav .prev .ico { transform: none; } :root[dir="rtl"] .bl-nav .next .ico { transform: scaleX(-1); }
@media (max-width: 599px) { .bl-nav { grid-template-columns: 1fr; } .bl-nav .next { grid-column: auto; } }

/* ---- Order status page (Track order's result) ----
   A summary strip (number, date, items, total, cash to pay), the timeline kept vertical in this narrow page with the
   time of each step, where it goes, and a help card with call, track another and keep shopping. */
.ost-sum { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.ost-sum small { display: block; color: var(--ink-2); font-size: 12px; font-weight: 600; }
.ost-sum b { font-size: 16px; }
.ost-cod { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin: 4px 0 0; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 10%, var(--surface)); color: var(--brand); font-weight: 700; font-size: 14px; }
.ost-cod .ico { width: 18px; height: 18px; flex: none; }
.mini .ost-otl { display: flex; flex-direction: column; }
.mini .ost-otl li { flex-direction: row; align-items: flex-start; gap: 14px; padding-bottom: 22px; text-align: start; }
.mini .ost-otl li:last-child { padding-bottom: 0; }
.mini .ost-otl li::after { top: 34px; bottom: 2px; inset-inline-start: 15px; width: 2px; height: auto; }
.mini .ost-otl .otl-tx { padding-top: 5px; align-items: flex-start; }
.ost-help h2 { margin: 0 0 12px; }
.ost-help-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.ost-help-acts .btn { gap: 8px; } .ost-help-acts .ico { width: 16px; height: 16px; }

/* ---- Account pages: wallet, points, invite, reviews, returns, messages, support, profile ----
   One pattern: a header with an icon and a line saying what the page is for; a coloured card for the number that
   matters (balance, points, your code); lists as rows with a round icon, title, details and an amount or arrow. */
.ap-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ap-head > div { flex: 1; min-width: 12rem; }
.ap-head .t-page { margin: 0; } .ap-head p { margin: 2px 0 0; }
.ap-head .btn { gap: 6px; } .ap-head .btn .ico { width: 16px; height: 16px; }
.ap-ic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--mint); color: var(--brand); }
.ap-ic .ico { width: 24px; height: 24px; }
.ap-hero { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 24px; border-radius: var(--r-card); overflow: hidden; background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--brand) 75%, #0d1210), #0d1210 75%); color: #fff; }
.ap-hero::after { content: ""; position: absolute; width: 220px; height: 220px; inset-inline-end: -70px; top: -90px; border-radius: 50%; border: 34px solid rgb(255 255 255 / .06); }
.ap-hero-k { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--on-dark-2); }
.ap-hero-v { font-family: var(--font-display); font-size: 40px; line-height: 1.1; }
.ap-hero-s { color: var(--on-dark-2); font-size: 14px; }
.ap-hero .btn { margin-top: 8px; gap: 6px; } .ap-hero .btn .ico { width: 16px; height: 16px; }
.ap-hero-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.ap-code-v { letter-spacing: .16em; }
.ap-meter { display: block; width: min(100%, 22rem); height: 8px; margin-top: 6px; border-radius: 999px; background: rgb(255 255 255 / .16); overflow: hidden; }
.ap-meter span { display: block; height: 100%; border-radius: inherit; background: var(--citron); }
.ap-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.ap-quick .chip { min-height: 40px; }
.ap-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ap-list.card { padding: 6px; }
.ap-row { display: flex; align-items: center; gap: 14px; padding: 12px 10px; border-top: 1px solid var(--line); }
.ap-list > li:first-child > .ap-row, .ap-list > .ap-row:first-child { border-top: 0; }
.ap-list.card .ap-row { border-top: 0; border-radius: 12px; }
.ap-list.card > li + li { border-top: 1px solid var(--line); }
.ap-link:hover { background: var(--panel); }
.ap-link.is-new .ap-row-top b { color: var(--brand); }
.ap-dot { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--panel); color: var(--ink-2); font-size: 18px; font-weight: 800; }
.ap-dot .ico { width: 18px; height: 18px; }
.ap-dot.in { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.ap-dot.out { background: color-mix(in srgb, var(--sale, #c0392b) 12%, transparent); color: var(--ink-2); }
.ap-dot.star { background: color-mix(in srgb, #f5a524 18%, transparent); color: #c98307; }
.ap-row-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ap-row-tx small { color: var(--ink-2); font-size: 13px; }
.ap-row-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ap-row-items { color: var(--ink); font-size: 14px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.ap-amt { flex: none; font-size: 16px; }
.ap-amt.in { color: var(--ok); }
.ap-chev { flex: none; width: 16px; height: 16px; color: var(--ink-2); }
.ap-empty { margin: 8px 0 0; }
.ap-n { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; margin-inline-start: 6px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-size: 13px; vertical-align: middle; }
.ap-stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.ap-stats li { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.ap-stats li > span:last-child { display: flex; flex-direction: column; }
.ap-stats b { font-size: 22px; line-height: 1.2; } .ap-stats small { color: var(--ink-2); font-size: 13px; }
.ap-stat-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--mint); color: var(--brand); }
.ap-stat-ic .ico { width: 20px; height: 20px; }
.ap-review { display: flex; flex-direction: column; gap: 10px; }
.ap-review-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ap-review-name { font-weight: 700; } .ap-review-name:hover { color: var(--brand); }
.ap-review-body { margin: 0; line-height: 1.65; }
.ap-reply { margin: 0; padding: 10px 14px; border-inline-start: 3px solid var(--brand); border-radius: 0 10px 10px 0; background: var(--panel); font-size: 14px; }
.ap-review-acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ap-review-acts > span { flex: 1; }
.ap-danger { color: var(--bad, #c0392b); }
.ap-avatar { display: flex; align-items: center; gap: 16px; }
.ap-avatar-pic { flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: var(--mint); color: var(--brand); font-size: 28px; font-weight: 800; }
.ap-avatar-pic img { width: 100%; height: 100%; object-fit: cover; }
.ap-switch { padding-block: 4px; border-bottom: 1px solid var(--line); }
.ap-danger-zone > summary { list-style: none; cursor: pointer; font-weight: 700; color: var(--bad, #c0392b); min-height: 32px; display: flex; align-items: center; }
.ap-danger-zone > summary::-webkit-details-marker { display: none; }
.ap-danger-zone[open] > summary { margin-bottom: 12px; }
@media (max-width: 599px) { .ap-hero { padding: 20px; } .ap-hero-v { font-size: 34px; } .ap-ic { width: 44px; height: 44px; border-radius: 14px; } }

/* ---- Support ticket ----
   A header card with the status, a note when it is your turn or it is solved, the conversation as bubbles (yours on
   the right in the brand colour, the team's on the left), files as chips, a reply box like a message composer.
   New ticket: topic and urgency as buttons, tips beside the form. */
.tk-head { display: flex; align-items: center; gap: 14px; }
.tk-head-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tk-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tk-title .t-page { margin: 0; font-size: 24px; }
.tk-head p { margin: 0; }
.tk-note { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 16px; border-radius: var(--r-card); font-weight: 700; }
.tk-note .ico { width: 18px; height: 18px; flex: none; }
.tk-note.warn { background: color-mix(in srgb, #f5a524 16%, var(--surface)); color: color-mix(in srgb, #b26f00 85%, var(--ink)); }
.tk-note.ok { background: color-mix(in srgb, var(--ok) 12%, var(--surface)); color: var(--ok); }
.tk-thread { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.tk-msg { display: flex; align-items: flex-end; gap: 10px; max-width: 46rem; }
.tk-msg.me { flex-direction: row-reverse; margin-inline-start: auto; }
.tk-av { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--panel); color: var(--ink-2); font-weight: 800; font-size: 14px; }
.tk-msg.them .tk-av { background: var(--brand); color: var(--brand-ink); }
.tk-bubble { min-width: 0; padding: 12px 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.tk-msg.them .tk-bubble { border-end-start-radius: 6px; }
.tk-msg.me .tk-bubble { border-end-end-radius: 6px; background: color-mix(in srgb, var(--brand) 12%, var(--surface)); border-color: color-mix(in srgb, var(--brand) 25%, var(--line)); }
.tk-who { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 0 0 4px; font-size: 13px; }
.tk-who span { color: var(--ink-2); }
.tk-text { margin: 0; white-space: pre-line; line-height: 1.6; overflow-wrap: anywhere; }
.tk-files { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.tk-file { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 6px 12px; border-radius: 999px; background: var(--panel); font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-file:hover { color: var(--brand); } .tk-file .ico { width: 14px; height: 14px; flex: none; }
.tk-reply { display: flex; flex-direction: column; gap: 12px; }
.tk-reply-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tk-attach { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px dashed var(--line); border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 600; }
.tk-attach:hover { border-color: var(--brand); color: var(--brand); }
.tk-attach .ico { width: 16px; height: 16px; }
.tk-attach input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tk-attach:focus-within { outline: 2px solid var(--ring); outline-offset: 2px; }
.tk-reply .btn { gap: 8px; } .tk-reply .btn .ico { width: 16px; height: 16px; }
.tk-solved { display: flex; justify-content: center; }
.tk-solved .btn { gap: 6px; } .tk-solved .ico { width: 16px; height: 16px; }
.tk-rate { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tk-rate p { margin: 0; font-weight: 700; }
.tk-new { display: grid; gap: 20px; align-items: start; }
@media (min-width: 1100px) { .tk-new { grid-template-columns: minmax(0, 1fr) 18rem; } }
.tk-pick { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tk-pick legend { width: 100%; margin-bottom: 8px; padding: 0; font-weight: 700; }
.tk-pick .chip { position: relative; min-height: 40px; }
.tk-tips h2 { margin: 0 0 12px; font-size: 17px; }
.tk-tips ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tk-tips li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); line-height: 1.5; }
.tk-tips .ico { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--brand); }
@media (max-width: 599px) { .tk-head { align-items: flex-start; } .tk-title .t-page { font-size: 20px; } .tk-msg { max-width: 100%; } .tk-reply-bar .btn { width: 100%; justify-content: center; } }
.tk-av .ico { width: 16px; height: 16px; }

/* ---- Returns: a return and the request form ----
   Items as cards to tick (picture, price, return-by date, how many), reasons as buttons with icons, the shop's
   return rules beside; on a return, its photos as a row of squares. */
.rt-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rt-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; }
.rt-item:has(input[type=checkbox]:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 6%, var(--surface)); }
.rt-item.is-off { opacity: .6; }
.rt-pick { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; cursor: pointer; }
.rt-pick > input { flex: none; width: 20px; height: 20px; accent-color: var(--brand); }
.rt-pick .od-pic { width: 56px; height: 56px; }
.rt-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rt-by { display: inline-flex; align-items: center; gap: 4px; color: var(--brand); font-weight: 600; }
.rt-by .ico { width: 13px; height: 13px; }
.rt-qty { flex: none; width: 4.5rem; text-align: center; }
.rt-reasons .chip { gap: 8px; } .rt-reasons .chip .ico { width: 16px; height: 16px; }
.rt-photos { display: flex; flex-wrap: wrap; gap: 8px; }
.rt-photos img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; border: 1px solid var(--line); }
.tk-note:not(.ok):not(.warn) { background: var(--panel); color: var(--ink-2); }

/* Category bar: the departments straight in the header (wide screens), each opening a full-width panel under the
   header with its sub-categories, its newest products and "View all". Replaces the Categories button there. */
.cat-bar { display: none; }
@media (min-width: 1100px) {
  .site-head:has(.cat-bar) .cat-menu { display: none; }
  .site-head .bar:has(.cat-bar) { gap: 20px; }
  .cat-bar { display: flex; align-self: stretch; flex: none; }
  .cat-bar-list { display: flex; align-items: stretch; gap: 2px; margin: 0; padding: 0; list-style: none; }
  .cat-bar-item { display: flex; }
  .cat-bar-link { position: relative; display: flex; align-items: center; padding-inline: 12px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
  :root:is([lang="bn"], [lang="ar"]) .cat-bar-link { text-transform: none; letter-spacing: 0; font-size: 14.5px; }
  .cat-bar-link::after { content: ""; position: absolute; inset-inline: 12px; bottom: 0; height: 3px; background: var(--brand); transform: scaleX(0); transition: transform .2s ease; }
  .cat-bar-link:hover, .cat-bar-item.is-open .cat-bar-link { color: var(--brand); }
  .cat-bar-chev { width: 14px; height: 14px; margin-inline-start: 4px; transition: transform .2s ease; }
  .cat-bar-item.is-open .cat-bar-chev { transform: rotate(180deg); }
  .cat-bar-item.is-open .cat-bar-link::after { transform: scaleX(1); }

  .cat-panel { position: absolute; top: 100%; inset-inline: 0; z-index: 45; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px rgb(16 23 20 / .12);
    visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }
  .cat-bar-item.is-open .cat-panel { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .cat-panel-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; padding-block: 28px; }
  .cat-panel-title { margin: 0 0 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
  :root:is([lang="bn"], [lang="ar"]) .cat-panel-title { text-transform: none; letter-spacing: 0; font-size: 14px; }
  .cat-panel-subs { columns: 2; column-gap: 24px; margin: 0; padding: 0; list-style: none; }
  .cat-panel-subs li { break-inside: avoid; }
  .cat-panel-subs a { display: block; padding: 7px 0; font-size: 14.5px; color: var(--ink-2); transition: color .15s, transform .15s; }
  .cat-panel-subs a:hover, .cat-panel-subs a:focus-visible { color: var(--brand); transform: translateX(3px); }
  .cat-panel-new { border-inline-start: 1px solid var(--line); padding-inline-start: 40px; }
  .cat-panel-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
  .cat-panel-cards a { display: flex; flex-direction: column; gap: 6px; color: var(--ink); }
  .cat-panel-cards .pic { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-card); background: var(--field); }
  .cat-panel-cards img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
  .cat-panel-cards a:hover img { transform: scale(1.04); }
  .cat-panel-cards .nm { font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .cat-panel-cards .pr { display: flex; gap: 6px; align-items: baseline; font-size: 13px; }
  .cat-panel-cards .pr s { color: var(--ink-2); font-size: 12px; }
  .cat-panel-foot { padding-block: 14px; border-top: 1px solid var(--line); }
  .cat-panel-foot a { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--brand); }
  .cat-panel-foot .ico { width: 16px; height: 16px; }
}
@media (min-width: 1100px) and (prefers-reduced-motion: reduce) {
  .cat-panel, .cat-bar-link::after, .cat-bar-chev, .cat-panel-subs a, .cat-panel-cards img { transition: none; }
}
/* ==== Compact scale ====================================================================================================
   A denser, more zoomed-out look on every page: smaller headings and text, tighter sections, a shorter header and hero,
   smaller product cards (5 across on wide screens) and a slightly wider container. Touch targets stay 44 px on touch
   screens (DESIGN.md); controls only get slimmer for a mouse (pointer: fine). Rules start with :root so they also win
   over a theme's own sizes. Remove this block to go back to the original scale. */
:root body { font-size: 15px; }
:root .wrap { max-width: 90rem; }
@media (min-width: 768px) { :root .wrap { padding-inline: 1.5rem; } }

/* Headings */
:root .t-display { font-size: 36px; } :root .t-hero { font-size: 30px; } :root .t-section { font-size: 20px; } :root .t-page { font-size: 24px; }
@media (min-width: 768px) { :root .t-display { font-size: 56px; } :root .t-hero { font-size: 40px; } :root .t-section { font-size: 24px; } :root .t-page { font-size: 28px; } }
:root .hl-0 { font-size: 40px; } :root .hl-1 { font-size: 34px; } :root .hl-2 { font-size: 30px; } :root .hl-3 { font-size: 26px; }
@media (min-width: 640px) { :root .hl-0 { font-size: 60px; } :root .hl-1 { font-size: 46px; } :root .hl-2 { font-size: 38px; } :root .hl-3 { font-size: 32px; } }
@media (min-width: 1024px) { :root .hl-0 { font-size: 72px; } :root .hl-1 { font-size: 56px; } :root .hl-2 { font-size: 46px; } :root .hl-3 { font-size: 40px; } }
:root .prose h2 { font-size: 19px; }

/* Spacing between sections and on inner pages */
:root .sec { margin-top: 36px; }
@media (min-width: 768px) { :root .sec { margin-top: 52px; } }
:root .page { padding-block: 18px 52px; }
:root .sec-head { margin-bottom: 16px; }
:root .sec-sub { font-size: 13.5px; }
:root .crumbs { margin-bottom: 12px; font-size: 13px; }
:root .trust { margin-top: 52px; }
:root .site-foot { margin-top: 52px; padding-block: 36px 24px; font-size: 13.5px; }
:root .stack-lg { gap: 18px; }
@media (min-width: 960px) { :root .cols { grid-template-columns: minmax(0, 1fr) 340px; } :root .cols.side-left { grid-template-columns: 228px minmax(0, 1fr); } }

/* Header */
:root .topbar { font-size: 12.5px; }
:root .site-head .bar { min-height: 60px; }
@media (min-width: 720px) { :root .site-head .bar { min-height: 64px; } }
:root .site-head .logo img { max-height: 40px; }
:root .search input { min-height: 42px; font-size: 15px; }
@media (min-width: 960px) { :root .buybox { top: 84px; } }

/* Home: hero banner, promo pictures, category tiles, deal */
:root .hero { min-height: clamp(18rem, 38vw, 32rem); }
:root .hero .cta { padding: 11px 24px; font-size: 12.5px; margin-top: 18px; }
:root .hero .btn { margin-top: 20px; }
:root .promo { min-height: 190px; }
@media (min-width: 1100px) { :root .promo { min-height: 240px; } }
:root .promo .txt { padding: 18px; }
:root .promo .t { font-size: 21px; }
:root .promo-grid { gap: 14px; padding-top: 14px; }
@media (min-width: 960px) {
  :root .cat-row { grid-template-columns: repeat(auto-fit, minmax(8.5rem, 10.5rem)); justify-content: center; gap: 16px; }
}
:root .cat-tile { font-size: 12.5px; gap: 8px; }
:root .deal .name { font-size: 24px; }
:root .deal .txt { padding: 20px; gap: 16px; }
:root .deal .pic { min-height: 13rem; }

/* Product cards and grids */
:root .prow { grid-auto-columns: 46%; gap: 10px; }
@media (min-width: 720px) { :root .prow { grid-auto-columns: 23.5%; gap: 16px; } }
@media (min-width: 1100px) { :root .prow { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1200px) {
  :root .pgrid { gap: 18px; }
  :root .pgrid.three { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
:root .pcard .body { gap: 4px; padding: 10px 4px 2px; }
:root .pcard .title { font-size: 13.5px; line-height: 1.35; }
:root .pcard .price b { font-size: 16px; }
:root .pcard .stars { font-size: 12px; }
:root .pcard .tag { top: 10px; inset-inline-start: 10px; }
:root .pcard .acts { top: 10px; inset-inline-end: 10px; gap: 6px; }

/* Product page */
@media (min-width: 960px) {
  :root .pdp { grid-template-columns: minmax(0, 32rem) minmax(0, 1fr); gap: 48px; }
}
:root .gallery .thumbs button { width: 60px; height: 74px; }
:root .buybox { gap: 14px; }
:root .price.lg b { font-size: 32px; } :root .price.lg s { font-size: 15px; }

/* Controls: slimmer for a mouse, unchanged (44 px) on touch screens */
@media (pointer: fine) {
  :root .btn { min-height: 40px; padding: .55rem 1.15rem; font-size: 14px; }
  :root .btn-sm { min-height: 34px; }
  :root .chip { min-height: 36px; padding: .35rem .85rem; font-size: 13.5px; }
  :root .icon-btn { height: 40px; min-width: 40px; }
  :root .cart-pill { min-height: 40px; font-size: 13.5px; }
  :root .topbar .wrap { min-height: 34px; }
  :root .topbar a, :root .topbar button, :root .topbar select { min-height: 34px; }
  :root .pcard .cta { min-height: 36px; font-size: 13px; margin-top: 6px; }
  :root .pcard .acts button { width: 34px; height: 34px; }
  :root .sec-head .more { min-height: 36px; font-size: 13px; }
  :root .sec-head .more span { width: 36px; height: 36px; }
  :root .crumbs a { min-height: 30px; }
  :root .trust li, :root .trust a.v { min-height: 36px; }
}
/* Size chart: "Size chart" by the size buttons, the chart (an INCH / CM switch over a table) on the page and in a popup. */
.bb-sizes { position: relative; }
.sc-open { position: absolute; top: 0; inset-inline-end: 0; display: inline-flex; align-items: center; gap: 6px; min-height: 28px; font-size: 13px; font-weight: 600; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.sc-open .ico { width: 16px; height: 16px; }
.sc-open:hover { text-decoration-thickness: 2px; }
.sc-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.sc-note { margin: 0; font-size: 14px; font-weight: 700; }
.sc-note small { font-weight: 500; color: var(--ink-2); }
.sc-units { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-input); overflow: hidden; }
.sc-units label { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; min-height: 36px; padding: 0 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: var(--ink-2); cursor: pointer; }
.sc-units input:checked + label { background: var(--ink); color: var(--bg); }
.sc-units input:focus-visible + label { outline: 3px solid var(--ring); outline-offset: -3px; }
.sc:has(.sc-u-in:checked) :is(.sc-table.sc-cm, .sc-note .sc-cm), .sc:has(.sc-u-cm:checked) :is(.sc-table.sc-in, .sc-note .sc-in) { display: none; }
.sc-table { overflow-x: auto; }
.sc-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sc-table th, .sc-table td { padding: 10px 12px; text-align: start; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sc-table thead th { background: var(--panel); font-size: 13px; font-weight: 700; }
.sc-table tbody th { font-weight: 700; }
.sc-table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--panel) 45%, transparent); }
.sc-dlg { width: min(40rem, calc(100vw - 24px)); max-height: calc(100vh - 48px); padding: 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px rgb(0 0 0 / .25); }
.sc-dlg::backdrop { background: rgb(16 23 20 / .5); }
.sc-dlg-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sc-dlg-top .h { margin: 0; }
.sc-dlg-top form { margin: 0; }
@media (pointer: coarse) { .sc-open { min-height: 44px; top: -8px; } .sc-units label { min-height: 44px; } }
/* ---- size prompt: under the size chips; turns red when someone orders without a size ---- */
.size-hint { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; font-size: 13px; color: var(--ink-2); }
.size-hint .ico { width: 16px; height: 16px; flex: none; }
.size-hint .link { font-weight: 600; }
.bb-sizes.is-missing .size-hint { color: var(--danger, #b42318); font-weight: 600; }
.bb-sizes.is-missing .chip-size { border-color: var(--danger, #b42318); }

/* ---- product card: price on the left, a round cart button on the right that opens "Select options" ---- */
:root .pcard .foot { flex-wrap: nowrap; align-items: flex-end; justify-content: space-between; gap: 8px; }
.pcard .foot-price { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.pcard .qadd { position: relative; z-index: 2; flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--surface); box-shadow: 0 6px 14px rgb(0 0 0 / .18); transition: transform .15s ease, background .2s ease; }
.pcard .qadd .ico { width: 18px; height: 18px; }
.pcard .qadd:hover, .pcard .qadd:focus-visible { background: var(--brand); color: var(--brand-ink); transform: scale(1.06); }
@media (pointer: coarse) { .pcard .qadd { width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .pcard .qadd { transition: none; } .pcard .qadd:hover { transform: none; } }

/* ---- the "Select options" popup ---- */
.qa-dlg { width: min(30rem, calc(100vw - 20px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--r-card); background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px rgb(0 0 0 / .3); overflow: auto; }
.qa-dlg::backdrop { background: rgb(16 23 20 / .55); }
.qa-dlg-top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; background: var(--ink); color: var(--surface); }
.qa-dlg-top h2 { margin: 0; font-size: 16px; font-weight: 700; }
.qa-dlg-top form { margin: 0; }
.qa-dlg-top .icon-btn { color: inherit; background: transparent; }
.qa-dlg-body { padding: 18px 20px 20px; }
.qa-loading { margin: 24px 0; text-align: center; color: var(--ink-2); }
.qa-head { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: start; }
.qa-pic { display: block; aspect-ratio: 4 / 5; border-radius: calc(var(--r-card) - 10px); overflow: hidden; background: var(--field); }
.qa-pic img { width: 100%; height: 100%; object-fit: cover; }
.qa-info { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.qa-title { font-size: 15px; font-weight: 700; line-height: 1.35; }
.qa-title:hover { color: var(--brand); }
.qa-info .price { margin: 0; } .qa-info .price b { font-size: 20px; font-weight: 800; }
.qa-info .save { display: inline-flex; min-height: 22px; align-items: center; padding: 0 8px; border-radius: 999px; background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); font-size: 12px; font-weight: 700; }
.qa-guide { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0; font-size: 13px; font-weight: 600; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; background: none; }
.qa-guide .ico { width: 16px; height: 16px; }
.qa-chart { margin-top: 14px; }
.qa-opt { margin: 16px 0 0; padding: 16px 0 0; border: 0; border-top: 1px solid var(--line); }
.qa-opt legend { float: left; width: 100%; margin-bottom: 10px; font-size: 14px; font-weight: 700; }
.qa-opt .chips { clear: both; }
.qa-hint { margin: 8px 0 0; font-size: 13px; color: var(--ink-2); }
.qa-opt.is-missing .qa-hint { color: var(--danger); font-weight: 600; }
.qa-opt.is-missing .chip-size:not(.off) { border-color: var(--danger); }
.qa-opt .chip.off { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.qa-msg { margin: 14px 0 0; padding: 10px 12px; border-radius: var(--r-input); background: var(--danger-soft); color: var(--danger); font-size: 14px; font-weight: 600; }
.qa-buy { margin-top: 18px; }
.qa-buy .btn .ico { width: 18px; height: 18px; }
.qa-note { margin: 10px 0 0; text-align: center; }
.qa-done { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 8px 0 4px; text-align: center; }
.qa-done-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.qa-done-ico .ico { width: 26px; height: 26px; }
.qa-done-h { margin: 0; font-size: 18px; font-weight: 800; outline: none; }
.qa-done-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.qa-more { min-height: 40px; font-weight: 600; background: none; }
@media (max-width: 479px) {
  .qa-dlg { width: 100vw; max-width: 100vw; max-height: 88dvh; margin: auto 0 0; border-radius: var(--r-card) var(--r-card) 0 0; }
  .qa-head { grid-template-columns: 92px minmax(0, 1fr); }
}

/* ---- the cart button on the right edge (appears once something is in the cart) ---- */
.fcart { position: fixed; inset-inline-end: 0; top: 50%; z-index: 40; display: grid; place-items: center; gap: 2px; width: 52px; padding: 10px 0 8px; border-radius: 12px 0 0 12px; background: var(--brand); color: var(--brand-ink); box-shadow: 0 8px 24px rgb(0 0 0 / .22); transform: translateY(-50%); cursor: pointer; }
:root[dir="rtl"] .fcart { border-radius: 0 12px 12px 0; }
.fcart[hidden] { display: none; }
.fcart .ico { width: 22px; height: 22px; }
.fcart-n { min-width: 22px; padding: 1px 6px; border-radius: 999px; background: var(--brand-ink); color: var(--brand); font-size: 12px; font-weight: 800; line-height: 18px; text-align: center; }
.fcart:hover, .fcart:focus-visible { background: var(--brand-deep); }
.fcart.pop { animation: fcart-pop .5s ease; }
@keyframes fcart-pop { 0% { transform: translateY(-50%) translateX(100%); } 60% { transform: translateY(-50%) translateX(-6px); } 100% { transform: translateY(-50%); } }
@media (max-width: 767px) { .fcart { top: 42%; width: 46px; padding: 8px 0 6px; } }
@media (prefers-reduced-motion: reduce) { .fcart.pop { animation: none; } }

/* ---- the cart drawer ---- */
.cd-dlg { position: fixed; inset: 0 0 0 auto; width: min(26rem, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; border-radius: 0; background: var(--bg); color: var(--ink); display: none; flex-direction: column; box-shadow: -20px 0 60px rgb(0 0 0 / .25); }
.cd-dlg[open] { display: flex; animation: cd-in .25s ease; }
:root[dir="rtl"] .cd-dlg { inset: 0 auto 0 0; }
.cd-dlg::backdrop { background: rgb(16 23 20 / .5); }
@keyframes cd-in { from { transform: translateX(100%); } to { transform: none; } }
:root[dir="rtl"] .cd-dlg[open] { animation-name: cd-in-rtl; } @keyframes cd-in-rtl { from { transform: translateX(-100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .cd-dlg[open] { animation: none; } }
.cd-top { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; min-height: 56px; padding: 0 8px; background: var(--ink); color: var(--surface); }
.cd-top h2 { margin: 0; text-align: center; font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.cd-top form { margin: 0; }
.cd-x { display: grid; place-items: center; width: 44px; height: 44px; background: none; color: #ff6b6b; }
.cd-x .ico { width: 22px; height: 22px; stroke-width: 3; }
.cd-msg { margin: 10px 12px 0; padding: 10px 12px; border-radius: var(--r-input); background: var(--danger-soft); color: var(--danger); font-size: 14px; font-weight: 600; }
.cd-body { flex: 1; overflow: auto; display: flex; flex-direction: column; transition: opacity .15s ease; }
.cd-dlg.is-busy .cd-body { opacity: .55; pointer-events: none; }
.cd-list { list-style: none; margin: 0; padding: 12px; display: grid; gap: 12px; }
.cd-item { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--r-card) - 10px); overflow: hidden; }
.cd-head { display: grid; grid-template-columns: minmax(0, 1fr) 88px; gap: 12px; padding: 12px; border-bottom: 1px solid var(--line); }
.cd-title { font-size: 15px; font-weight: 600; line-height: 1.4; }
.cd-title:hover { color: var(--brand); }
.cd-pic { display: block; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: var(--field); }
.cd-pic img { width: 100%; height: 100%; object-fit: cover; }
.cd-rows { margin: 0; }
.cd-rows > div { display: grid; grid-template-columns: 1fr minmax(0, 1.4fr); align-items: center; gap: 12px; min-height: 44px; padding: 4px 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.cd-rows dt { color: var(--ink-2); }
.cd-rows dd { margin: 0; text-align: end; }
.cd-rows .price s { color: var(--ink-2); font-size: 13px; margin-inline-end: 4px; }
.cd-rows .price b { font-weight: 700; }
.cd-select { width: 100%; min-height: 36px; padding: 0 10px; border: 0; border-radius: 6px; background: var(--field); color: var(--ink); font: inherit; font-size: 14px; }
.cd-acts { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; }
.cd-another { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 4px; background: var(--ink); color: var(--surface); font-weight: 700; font-size: 14px; }
.cd-another .ico { width: 18px; height: 18px; stroke-width: 3; }
.cd-another:hover { background: var(--brand); color: var(--brand-ink); }
.cd-del { display: grid; place-items: center; width: 44px; height: 40px; border-radius: 4px; background: var(--danger); color: #fff; }
.cd-del .ico { width: 18px; height: 18px; }
.cd-foot { position: sticky; bottom: 0; margin-top: auto; display: grid; grid-template-columns: 1fr 1.2fr; min-height: 60px; background: var(--surface); border-top: 1px solid var(--line); }
.cd-total { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.25; }
.cd-total span { font-size: 12px; color: var(--ink-2); }
.cd-total b { font-size: 18px; font-weight: 800; }
.cd-total s { font-size: 12px; color: var(--ink-2); }
.cd-checkout { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--ok); color: #fff; font-size: 18px; font-weight: 700; }
.cd-checkout:hover { filter: brightness(1.08); }
.cd-checkout .ico { width: 18px; height: 18px; stroke-width: 3; }
.cd-empty { margin: auto; display: grid; justify-items: center; gap: 12px; padding: 40px 20px; text-align: center; color: var(--ink-2); }
.cd-empty .ico { width: 44px; height: 44px; }

/* ---- "Free delivery": a green tag on the card picture and on the product page's delivery line ---- */
.pcard .free-del { position: absolute; inset-inline-start: 8px; bottom: 8px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; min-height: 24px; padding: 0 9px; border-radius: 6px; background: var(--ok); color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 2px 6px rgb(0 0 0 / .15); }
.pcard .free-del .ico { width: 14px; height: 14px; }
.bb-trust .is-free b { color: var(--ok); }

/* ---- product page: the description, fabric details and size chart read straight down the right column, under the
   buy box (one card on wide screens); the pictures stay in view beside it ---- */
@media (min-width: 960px) {
  :root .buybox { position: static; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
  :root .pdp .gallery { position: sticky; top: 84px; align-self: start; }
}
.bb-sec { padding-top: 18px; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.bb-sec-h { margin: 0 0 10px; font-size: 15px; font-weight: 700; }
.bb-sec .prose { font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.bb-spec { margin: 0; list-style: disc; padding-inline-start: 20px; display: grid; gap: 6px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.bb-spec li::marker { color: var(--ink-2); }
.bb-spec b { color: var(--ink); font-weight: 700; }
.bb-sec .sc-table th, .bb-sec .sc-table td { padding: 9px 12px; font-size: 13.5px; }

/* ---- product page at a compact scale (like Fabrilife's): a narrower page, a smaller picture with its thumbnails
   underneath, slimmer type and controls, and delivery and returns in one small panel ---- */
@media (min-width: 960px) {
  :root .pdp { max-width: 880px; margin-inline: auto; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 28px; }
  :root .pdp .g-stage.has-thumbs { grid-template-columns: minmax(0, 1fr); }
  :root .pdp .g-stage.has-thumbs .thumbs { order: 0; flex-direction: row; max-height: none; overflow-x: auto; overflow-y: hidden; }
  :root .pdp .buybox { padding: 18px 20px; gap: 12px; }
}
:root .pdp .gallery .thumbs button { width: 64px; height: 80px; border-radius: 8px; }
:root .pdp .gallery .main { border-radius: var(--r-card); }
:root .pdp .buybox h1 { font-size: 22px; font-weight: 600; line-height: 1.3; }
:root .pdp .bb-head { gap: 6px; }
:root .pdp .bb-brand { min-height: 26px; padding: 0 10px; font-size: 12px; }
:root .pdp .bb-meta, :root .pdp .bb-meta .stars { font-size: 13px; }
:root .pdp .bb-price { gap: 6px; padding: 12px 14px; }
:root .pdp .price.lg b { font-size: 24px; } :root .pdp .price.lg s { font-size: 14px; }
:root .pdp .bb-highlights li { font-size: 14px; }
:root .pdp .bb-opt legend { margin-bottom: 6px; font-size: 14px; }
:root .pdp .size-hint { margin-top: 6px; font-size: 12.5px; }
:root .pdp .bb-buy { gap: 10px; }
:root .pdp .bb-order { min-height: 46px; font-size: 15px; }
:root .pdp .qty-limit { font-size: 12px; margin: 0; }
:root .pdp .bb-trust { gap: 0 14px; padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--panel); }
:root .pdp .bb-trust > div { gap: 10px; padding: 7px 0; border: 0; border-radius: 0; background: none; }
:root .pdp .bb-trust .ico { width: 28px; height: 28px; padding: 6px; border-radius: 8px; }
:root .pdp .bb-trust b { font-size: 13px; } :root .pdp .bb-trust small { font-size: 12px; }
:root .pdp .bb-sec { padding-top: 14px; }
:root .pdp .bb-sec-h { font-size: 14px; margin-bottom: 8px; }
:root .pdp .bb-sec .prose { font-size: 14px; line-height: 1.6; }
:root .pdp .bb-spec { gap: 4px; font-size: 13.5px; }
:root .pdp .sc-note { font-size: 13.5px; }
:root .pdp .bb-sec .sc-table th, :root .pdp .bb-sec .sc-table td { padding: 7px 10px; font-size: 13px; }
/* Slimmer controls for a mouse; touch screens keep 44 px. */
@media (pointer: fine) {
  :root .pdp .chip-size, :root .pdp .chip-colour { min-height: 34px; }
  :root .pdp .chip-size { min-width: 48px; padding-inline: 10px; }
  :root .pdp .bb-buy .stepper button, :root .pdp .bb-buy .stepper input { height: 40px; width: 38px; }
  :root .pdp .bb-buy .btn { min-height: 42px; }
  :root .pdp .bb-order { min-height: 42px; }
  :root .pdp .bb-act { min-height: 32px; font-size: 13px; }
  :root .pdp .sc-units label { min-height: 32px; min-width: 54px; }
}
/* The breadcrumb, reviews and "You may also like" line up with the narrower product area. */
@media (min-width: 960px) {
  :root .crumbs:has(+ .pdp), :root .pdp ~ .pdp-reviews, :root .pdp ~ .sec { max-width: 880px; margin-inline: auto; }
  :root .pdp ~ .pdp-reviews { margin-top: 36px; }
}

/* ---- checkout (like Fabrilife's): a plain header with "Secure checkout", a light grey page and two white boxes:
   contact and shipping on the left; the order, coupon, payment and Confirm on the right ---- */
.co-page { background: color-mix(in srgb, var(--panel) 70%, var(--bg)); }
.co-top { background: var(--surface); border-bottom: 1px solid var(--line); }
.co-top-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.co-top .logo { font-size: 24px; } .co-top .logo img { height: 34px; }
.co-secure { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ok); }
.co-secure .ico { width: 16px; height: 16px; }
:root .co-wrap { max-width: 1040px; padding-block: 24px 64px; }
.co-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .co-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; } .co-side { position: sticky; top: 16px; } }
.co-box { padding: 22px 24px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
@media (max-width: 599px) { .co-box { padding: 18px 16px; } }
.co-form { display: grid; gap: 22px; }
.co-new { display: grid; gap: 22px; } .co-new[hidden] { display: none; }
.co-sec { display: grid; gap: 14px; }
.co-h { display: flex; align-items: center; gap: 8px; margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 700; }
.co-h .ico { width: 18px; height: 18px; color: var(--ink-2); }
@media (min-width: 600px) { .co-form .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
.co-saved { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
:root .co-page .field { gap: 5px; }
:root .co-page .field > label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.co-page .field:has(:is(input, select)[required]) > label::after { content: " *"; color: var(--danger); }
:root .co-page .field :is(input, select, textarea) { min-height: 44px; border-radius: 4px; font-size: 14px; }
/* the right box */
.co-side { display: grid; gap: 16px; }
.co-side .sum-head { align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.co-side .sum-head .co-h { padding: 0; border: 0; }
.co-side .sum-edit { font-size: 13px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.co-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.co-items li { display: flex; align-items: center; gap: 12px; }
.co-pic { flex: none; width: 52px; height: 60px; border-radius: 4px; overflow: hidden; background: var(--panel); }
.co-pic img { width: 100%; height: 100%; object-fit: cover; }
.co-name { flex: 1; min-width: 0; display: grid; gap: 2px; }
.co-name b { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-name small { font-size: 12.5px; color: var(--ink-2); }
.co-price { flex: none; font-size: 14px; }
.co-totals { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.co-totals dt { color: var(--ink-2); } .co-totals dd { margin: 0; text-align: end; font-variant-numeric: tabular-nums; }
.co-totals .total { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink); font-size: 18px; font-weight: 800; }
.co-totals .save { color: var(--ok); font-weight: 600; }
:root .co-side .co-eta { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 4px; background: color-mix(in srgb, var(--ok) 10%, var(--surface)); color: var(--ok); font-size: 13px; }
:root .co-side .co-eta > span { display: flex; flex-wrap: wrap; gap: 2px 14px; }
:root .co-side .co-eta b { color: inherit; }
.co-coupon { display: flex; gap: 8px; }
:root .co-coupon .input { flex: 1; min-width: 0; min-height: 44px; border-radius: 4px; font-size: 14px; }
.co-coupon .btn { flex: none; min-height: 44px; border-radius: 4px; padding-inline: 20px; }
.co-coupon-on { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.co-pay { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.co-pay > legend { width: 100%; margin-bottom: 10px; padding-bottom: 0; border: 0; font-size: 15px; }
:root .co-pay .opt-card { min-height: 60px; padding: 12px 14px; border-radius: 6px; }
:root .co-pay .opt-card:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--surface); }
:root .co-pay .opt-ic { width: 36px; height: 36px; border-radius: 6px; }
:root .co-side .o-go { margin: 0; min-height: 52px; border-radius: 4px; font-size: 16px; gap: 10px; }
.co-side .o-go .ico { width: 18px; height: 18px; }
.co-side .co-terms { text-align: start; font-size: 12.5px; }
:root .co-side .o-trust { margin: 0; padding-top: 12px; border-top: 1px solid var(--line); }
:root .co-page .sticky-bar .btn { border-radius: 4px; gap: 8px; }
@media (min-width: 900px) { .co-page .sticky-bar { display: none; } .co-page.has-sticky { padding-bottom: 0; } }
.co-hint { margin: -6px 0 0; font-size: 12.5px; color: var(--ink-2); }
.co-coupon-row .label { display: block; margin-bottom: 6px; font-size: 13px; color: var(--ink-2); }
/* Checkout corners: softly rounded, not pill-shaped. */
:root .co-box { border-radius: 12px; }
:root .co-page .field :is(input, select, textarea), :root .co-coupon .input, :root .co-coupon .btn, :root .co-side .o-go, :root .co-page .sticky-bar .btn { border-radius: 8px; }
:root .co-pay .opt-card, :root .co-saved .opt-card { border-radius: 10px; }
:root .co-pay .opt-ic, :root .co-pic { border-radius: 8px; }
:root .co-side .co-eta { border-radius: 8px; }
/* Cart page and cart drawer corners: softly rounded like checkout, whatever the theme's own corners are. */
:root .cart-items .line.cart-item, :root .o-cols:has(.cart-items) .o-sum { border-radius: 12px; }
:root .cart-item .thumb, :root .cart-saving, :root .cart-items .stepper, :root .cart-items .stepper button, :root .ci-remove,
:root .o-cols:has(.cart-items) .o-sum .btn { border-radius: 8px; }
:root .ci-var, :root .o-cols:has(.cart-items) .o-sum dd.save { border-radius: 6px; }
:root .cd-item { border-radius: 10px; }
:root .cd-another, :root .cd-del, :root .cd-pic, :root .cd-msg { border-radius: 8px; }
/* Product cards: softly rounded (not pill-shaped), also under themes that make them square. */
:root .pcard { border-radius: 12px; }
:root .pcard .ph, :root .wl-grid.as-list .pcard > .ph { border-radius: 10px; }
:root .pcard .acts button, :root .pcard .cta { border-radius: 8px; }
:root .pcard .tag, :root .pcard .save, :root .pcard .free-del { border-radius: 6px; }
/* Header icons (compare, wishlist, account), the cart button and the Categories button: softly rounded too. */
:root .site-head .icon-btn, :root .site-head .cart-pill, :root .site-head .cat-menu > summary, :root .site-head .tools .icon-btn { border-radius: 8px; }
/* Category views, softly rounded like the product cards: home category tiles, the All categories page, the
   category menu's new-arrival pictures, and the filter box and sort bar of category and search pages. */
:root .cat-tile, :root .cat-tile .pic { border-radius: 12px; }
:root .cg-hero, :root .cg-card { border-radius: 12px; }
:root .cg-card { overflow: hidden; }
:root .cat-panel-cards .pic { border-radius: 10px; }
:root .filters.card, :root .list-bar { border-radius: 12px; }
:root .filters.card .btn, :root .filters.card input:not([type=checkbox]):not([type=radio]):not([type=range]) { border-radius: 8px; }
/* Home promo banners (the picture tiles under the big banner): softly rounded like the cards. */
:root .promo { border-radius: 12px; }
/* Product cards: a white card with a soft shadow that lifts a little on hover, also under themes that make them flat. */
:root .pcard { background: var(--surface); padding: 8px 8px 12px; border: 1px solid color-mix(in srgb, var(--line) 60%, transparent); box-shadow: 0 2px 10px rgb(16 23 20 / .07); }
:root .pcard:hover { box-shadow: 0 12px 28px rgb(16 23 20 / .13); transform: translateY(-2px); }
:root[data-theme="dark"] .pcard { box-shadow: 0 2px 12px rgb(0 0 0 / .35); }
@media (prefers-reduced-motion: reduce) { :root .pcard:hover { transform: none; } }
/* Product cards: a clear 1px border line, a little darker on hover. */
:root .pcard { border: 1px solid color-mix(in srgb, var(--ink) 14%, var(--line)); }
:root .pcard:hover { border-color: color-mix(in srgb, var(--ink) 28%, var(--line)); }

/* ---- reviews: a score card beside review cards ---- */
.rv-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 18px; }
:root .pdp-reviews .rv-head .t-section { margin: 0; }
.rv-head-sum { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); }
.rv-head-sum .ico { width: 16px; height: 16px; color: var(--gold); fill: currentColor; } .rv-head-sum b { color: var(--ink); }
:root .rv-grid { gap: 20px; }
@media (min-width: 960px) { :root .rv-grid { grid-template-columns: 17rem minmax(0, 1fr); } :root .rv-score { top: 96px; } }
:root .rv-score { gap: 4px; padding: 22px 20px; border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--gold) 12%, var(--surface)) 0%, var(--surface) 55%); box-shadow: 0 2px 10px rgb(16 23 20 / .05); }
.rv-big { display: flex; align-items: baseline; gap: 4px; margin: 0; }
:root .rv-avg { font-size: 52px; font-weight: 800; letter-spacing: -.02em; }
.rv-of { font-size: 18px; font-weight: 600; color: var(--ink-2); }
:root .rv-stars { font-size: 20px; letter-spacing: 3px; }
.rv-count { font-size: 13px; color: var(--ink-2); }
:root .rv-score .bars { gap: 8px; margin-top: 14px; }
:root .rv-score .bars div { grid-template-columns: 2.4rem 1fr 2.6rem; font-size: 12.5px; }
:root .rv-score .bars i { height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 8%, transparent); }
:root .rv-score .bars i b { border-radius: 999px; background: linear-gradient(90deg, #f5b301, #f08c00); }
.rv-happy { display: flex; align-items: center; gap: 8px; width: 100%; margin: 14px 0 0; padding: 9px 12px; border-radius: 10px; background: color-mix(in srgb, var(--ok) 11%, var(--surface)); color: var(--ok); font-size: 13px; font-weight: 600; text-align: start; }
.rv-happy .ico { width: 16px; height: 16px; flex: none; }
:root .rv-list { display: grid; gap: 12px; }
:root .rv-list .review, :root .review { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 2px 10px rgb(16 23 20 / .05); transition: box-shadow .2s ease, border-color .2s ease; }
:root .review:last-child { border-bottom: 1px solid var(--line); }
:root .rv-list .review:first-child { padding-top: 16px; }
.review:hover { border-color: color-mix(in srgb, var(--ink) 18%, var(--line)); box-shadow: 0 8px 22px rgb(16 23 20 / .08); }
:root .rv-who { align-items: center; }
:root .rv-av { width: 42px; height: 42px; font-size: 16px; color: #fff; background: linear-gradient(135deg, hsl(var(--rv-h, 210) 70% 55%), hsl(calc(var(--rv-h, 210) + 40) 70% 45%)); box-shadow: 0 4px 10px hsl(var(--rv-h, 210) 60% 40% / .25); }
.rv-id { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.rv-name { font-size: 15px; }
:root .rv-ok { min-height: 22px; padding: 0 8px; border-radius: 999px; background: color-mix(in srgb, var(--ok) 12%, var(--surface)); font-size: 11.5px; font-weight: 700; }
:root .rv-ok .ico { width: 12px; height: 12px; stroke-width: 3; }
.rv-date { flex-basis: 100%; font-size: 12.5px; color: var(--ink-2); }
.rv-rate { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 999px; background: color-mix(in srgb, var(--gold) 14%, var(--surface)); font-size: 13px; letter-spacing: 1px; }
.rv-rate i { font-style: normal; color: color-mix(in srgb, var(--ink) 18%, transparent); } .rv-rate i.on { color: var(--gold); }
:root .rv-text { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: var(--ink); }
.rv-bought { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.rv-bought span { display: inline-flex; align-items: center; gap: 4px; min-height: 24px; padding: 0 10px; border-radius: 999px; background: var(--panel); font-size: 12px; color: var(--ink-2); }
.rv-bought b { color: var(--ink); font-weight: 600; }
:root .review .photos img { width: 68px; height: 68px; border-radius: 10px; }
:root .review .reply { margin-top: 12px; padding: 10px 14px; border-radius: 10px; border-inline-start: 3px solid var(--brand); background: color-mix(in srgb, var(--brand) 6%, var(--surface)); }
.rv-help { margin: 12px 0 0; }
.rv-help-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 600; cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.rv-help-btn .ico { width: 15px; height: 15px; }
.rv-help-btn:hover { border-color: var(--brand); color: var(--brand); background: color-mix(in srgb, var(--brand) 6%, var(--surface)); }
.rv-help-n { min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--panel); color: var(--ink); font-size: 12px; text-align: center; }
@media (pointer: coarse) { .rv-help-btn { min-height: 44px; } }
.rv-none { display: flex; align-items: center; gap: 10px; padding: 18px; border: 1px dashed var(--line); border-radius: 14px; color: var(--ink-2); }
.rv-none .ico { color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .review, .rv-help-btn { transition: none; } }

/* ---- category menu, compact (like Fabrilife): a floating card under the bar, not the full width. Sub-categories in
   short columns on the left; six newest products as a 3 × 2 grid of small square pictures on the right ---- */
@media (min-width: 1100px) {
  :root .cat-panel { inset-inline: 0; margin-inline: auto; width: max-content; max-width: min(1040px, calc(100vw - 32px));
    border: 1px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px; box-shadow: 0 18px 40px rgb(16 23 20 / .14); }
  :root .cat-panel-in { display: flex; align-items: flex-start; gap: 36px; padding: 22px 28px 18px; }
  :root .cat-panel-title { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--brand); }
  :root .cat-panel-title.is-new { color: var(--danger); }
  :root:is([lang="bn"], [lang="ar"]) .cat-panel-title { font-size: 14px; }
  :root .cat-panel-subs { columns: auto; display: grid; grid-template-rows: repeat(var(--rows, 8), auto); grid-auto-flow: column; column-gap: 40px; }
  :root .cat-panel-subs a { padding: 6px 0; font-size: 13.5px; white-space: nowrap; }
  :root .cat-panel-new { padding-inline-start: 32px; border-inline-start: 1px solid var(--line); }
  :root .cat-panel-cards { grid-template-columns: repeat(3, 118px); gap: 14px 12px; }
  :root .cat-panel-cards a { gap: 6px; }
  :root .cat-panel-cards .pic { aspect-ratio: 1; border-radius: 8px; }
  :root .cat-panel-cards .nm { display: block; font-size: 12px; line-height: 1.3; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  :root .cat-panel-cards a:hover .nm { color: var(--brand); }
  :root .cat-panel-foot { padding: 12px 28px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 50%, var(--surface)); border-radius: 0 0 12px 12px; }
  :root .cat-panel-foot a { font-size: 13px; color: var(--danger); }
  :root .cat-bar-link::after { background: var(--gold); }
}

/* ---- filter visibility fixes ----
   1. Wide screens: the filter box stays in view but can now scroll, so Colour, Size, Fabric, Rating and the Apply
      button below Brand are reachable (".filters.card { overflow: hidden }" used to cut them off).
   2. The price boxes leave room for four or five digits next to the ৳ sign (they showed "৳ 59" for ৳590).
   3. The "in stock only" switch is visible when off (it was nearly white on white). */
@media (min-width: 960px) {
  :root .filter-box > .filters.card { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--ink) 25%, transparent) transparent; }
}
:root .filters .field .f-cur input[type=number][name] { padding-inline: 26px 6px; font-size: 14px; -moz-appearance: textfield; }
:root .filters .f-cur input[type=number]::-webkit-outer-spin-button, :root .filters .f-cur input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
:root .f-price { gap: 6px; }
:root .f-switch input { background: color-mix(in srgb, var(--ink) 22%, var(--line)); }
:root .f-switch input:checked { background: var(--brand); }
:root .filters .f-cur > span { inset-inline-start: 10px; }
/* "Show N more" inside the colour chips: takes a full line, and the extra chips wrap like the first ten. */
:root .f-pills > .f-more-pills { flex-basis: 100%; }
.f-pills-more { display: flex; flex-wrap: wrap; gap: 8px; }
:root .filters .f-row .f-stars { font-size: 12.5px; letter-spacing: 0; } :root .filters .f-row:has(.f-stars) > span:last-child { white-space: nowrap; font-size: 13.5px; }


/* Header logo at Fabrilife's size: a wordmark box 40 px tall and up to 200 px wide on wide screens, 26 × 130 px on
   phones (their logo file is 300 × 60, so a 5:1 logo fills the box exactly). A square logo mark keeps its own size. */
:root .site-head .bar > .logo img:not(.logo-mark) { height: 40px; max-height: 40px; width: auto; max-width: 200px; object-fit: contain; }
@media (max-width: 959px) {
  :root .site-head .bar > .logo img:not(.logo-mark) { height: 26px; max-height: 26px; max-width: 130px; }
}

/* Cart page: the same centred 1040 px column as checkout, instead of the full 1440 px page width. */
:root .cart-page { max-width: 1040px; margin-inline: auto; }

/* Support desk: a round chat button in the corner of every page. A click shows three quick options stacked above it
   (WhatsApp, Messenger, Send a question), each a round icon with its name beside it. WhatsApp and Messenger open at
   once; the question option swaps the options for a small form. Above the phone's bottom bar and the sticky buy bar. */
.sdesk { position: fixed; z-index: 58; inset-inline-end: 24px; bottom: 24px; }
.sdesk > summary { list-style: none; } .sdesk > summary::-webkit-details-marker { display: none; }
.sdesk-fab { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); box-shadow: 0 10px 28px rgb(0 0 0 / .24); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.sdesk-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgb(0 0 0 / .28); }
.sdesk-fab:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 3px; }
.sdesk-fab svg { width: 26px; height: 26px; }
.sdesk-fab-off, .sdesk[open] .sdesk-fab-on { display: none; } .sdesk[open] .sdesk-fab-off { display: grid; }
.sdesk[open] .sdesk-fab-off svg { animation: sdesk-spin .2s ease-out; }
@keyframes sdesk-spin { from { transform: rotate(-90deg); } to { transform: none; } }
.sdesk:not([open]) .sdesk-fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: sdesk-pulse 2.6s ease-out infinite; pointer-events: none; }
@keyframes sdesk-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 40%, transparent); } 70%, 100% { box-shadow: 0 0 0 16px transparent; } }

/* The three options */
.sdesk-dial { position: absolute; inset-inline-end: 4px; bottom: 70px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; margin: 0; padding: 0; list-style: none; }
.sdesk.is-form .sdesk-dial { display: none; }
.sdesk-dial li { animation: sdesk-pop .22s cubic-bezier(.2, .9, .3, 1.3) both; }
.sdesk-dial li:nth-last-child(2) { animation-delay: .04s; } .sdesk-dial li:nth-last-child(3) { animation-delay: .08s; }
@keyframes sdesk-pop { from { opacity: 0; transform: translateY(12px) scale(.8); } to { opacity: 1; transform: none; } }
.sdesk-opt { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.sdesk-opt-label { padding: 7px 12px; border-radius: 10px; background: var(--surface); box-shadow: 0 6px 18px rgb(16 23 20 / .16); font-size: 13px; font-weight: 600; white-space: nowrap; }
.sdesk-opt-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; box-shadow: 0 8px 20px rgb(0 0 0 / .22); transition: transform .15s ease; flex: none; }
.sdesk-opt-ic svg { width: 24px; height: 24px; }
.sdesk-opt:hover .sdesk-opt-ic, .sdesk-opt:focus-visible .sdesk-opt-ic { transform: scale(1.08); }
.sdesk-opt:focus-visible { outline: none; } .sdesk-opt:focus-visible .sdesk-opt-label { outline: 2px solid var(--brand); }
.sdesk-opt.is-wa .sdesk-opt-ic { background: #25d366; }
.sdesk-opt.is-ms .sdesk-opt-ic { background: linear-gradient(135deg, #0084ff, #a033ff); }
.sdesk-opt.is-form .sdesk-opt-ic { background: var(--brand); color: var(--brand-ink); }

/* The question form, shown after "Send a question" */
.sdesk-box { display: none; position: absolute; inset-inline-end: 0; bottom: 70px; width: min(340px, calc(100vw - 28px)); max-height: min(520px, calc(100vh - 120px)); overflow: auto; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgb(16 23 20 / .24); }
.sdesk.is-form .sdesk-box { display: block; animation: sdesk-in .18s ease-out; }
@keyframes sdesk-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sdesk-top { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; background: var(--brand); color: var(--brand-ink); border-radius: 15px 15px 0 0; }
.sdesk-back { display: grid; place-items: center; width: 32px; height: 32px; margin: -2px 0 0 -6px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .16); color: inherit; cursor: pointer; flex: none; }
.sdesk-back:hover { background: rgb(255 255 255 / .26); } .sdesk-back svg { width: 18px; height: 18px; }
.sdesk-hi { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.3; }
.sdesk-sub { margin: 2px 0 0; font-size: 12.5px; opacity: .9; line-height: 1.45; }
.sdesk-body { padding: 14px; }
.sdesk-form { display: grid; gap: 8px; }
.sdesk-form .input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 14px; background: var(--surface); color: var(--ink); }
.sdesk-form textarea.input { resize: vertical; min-height: 84px; }
.sdesk-form .input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.sdesk-send { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 10px; }
.sdesk-send svg { width: 18px; height: 18px; }
.sdesk-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sdesk-err { margin: 0; font-size: 13px; color: var(--danger, #c0392b); }
.sdesk-done { display: grid; justify-items: center; gap: 8px; padding: 18px 6px; text-align: center; }
.sdesk-done p { margin: 0; font-size: 14px; }
.sdesk-done-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: color-mix(in srgb, #25a55a 14%, var(--surface)); color: #1f8a4c; }
@media (prefers-reduced-motion: reduce) { .sdesk-fab::after, .sdesk-dial li, .sdesk-box, .sdesk-fab-off svg { animation: none !important; } .sdesk-fab { transition: none; } }
@media (max-width: 959px) {
  .sdesk { inset-inline-end: 14px; bottom: calc(88px + env(safe-area-inset-bottom)); }
  .has-sticky .sdesk { bottom: calc(150px + env(safe-area-inset-bottom)); }
  .sdesk-fab { width: 50px; height: 50px; }
  .sdesk-dial { bottom: 62px; inset-inline-end: 1px; } .sdesk-box { bottom: 62px; }
}
.ft-contact .ft-ic svg { width: 16px; height: 16px; }

/* Home cover slides (Banners → Home cover): every slide sits in the same grid cell, so the cover keeps the height of
   the tallest; only the one marked is-on is seen, and the next fades in. Dots at the bottom pick a slide. */
.hero-slider { position: relative; display: grid; border-radius: var(--r-hero); overflow: hidden; }
.hero-slider > .hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.hero-slider > .hero-slide.is-on { opacity: 1; visibility: visible; transition: opacity .7s ease, visibility 0s; z-index: 1; }
.hero-slide h2.hl { margin-top: 12px; max-width: 16ch; }
.hero-slide h2.hl a::after { content: ""; position: absolute; inset: 0; }
.hero-slide.is-on > img { animation: hero-zoom 3.4s ease-out both; }
@keyframes hero-zoom { from { transform: scale(1.06); } to { transform: none; } }
.hero-dots { position: absolute; z-index: 2; inset-inline-end: 20px; bottom: 20px; display: flex; gap: 6px; }
.hero-dot { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hero-dot::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: rgb(255 255 255 / .55); transition: width .3s ease, background .3s ease; }
.hero-dot.is-on::before { width: 22px; background: #fff; }
.hero-dot:hover::before { background: #fff; }
.hero-dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 999px; }
/* Less motion asked for: the slides still change every 3 seconds, but straight away, with no fade and no zoom. */
@media (prefers-reduced-motion: reduce) { .hero-slider > .hero-slide, .hero-dot::before { transition: none; } .hero-slide.is-on > img { animation: none; } }
/* The pause / play button before the dots. */
.hero-pause { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 999px; background: rgb(0 0 0 / .35); color: #fff; cursor: pointer; display: grid; place-items: center; margin-inline-end: 4px; }
.hero-pause:hover { background: rgb(0 0 0 / .55); }
.hero-pause:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hp-pause { width: 8px; height: 10px; border-inline: 3px solid currentColor; }
.hp-play { display: none; width: 0; height: 0; border-block: 5px solid transparent; border-inline-start: 8px solid currentColor; margin-inline-start: 2px; }
.hero-slider.is-paused .hp-pause { display: none; } .hero-slider.is-paused .hp-play { display: block; }
.hero-dots { align-items: center; }
@media (max-width: 639px) { .hero-dots { inset-inline-end: 12px; bottom: 12px; } }
