/* ============================================================
   Design tokens
   ============================================================ */
/* ITC Avant Garde Gothic — same family as the reference site.
   Like the reference, normal text (400) renders in Medium: it only loads Medium and Bold for body copy. */
@font-face { font-family: 'Avant Garde'; src: url('../fonts/ITCAvantGardeStd-Bk.woff2') format('woff2'), url('../fonts/ITCAvantGardeStd-Bk.woff') format('woff'); font-weight: 100 350; font-display: swap; }
@font-face { font-family: 'Avant Garde'; src: url('../fonts/ITCAvantGardeStd-Md.woff2') format('woff2'), url('../fonts/ITCAvantGardeStd-Md.woff') format('woff'); font-weight: 351 550; font-display: swap; }
@font-face { font-family: 'Avant Garde'; src: url('../fonts/ITCAvantGardeStd-Demi.woff2') format('woff2'), url('../fonts/ITCAvantGardeStd-Demi.woff') format('woff'); font-weight: 551 650; font-display: swap; }
@font-face { font-family: 'Avant Garde'; src: url('../fonts/ITCAvantGardeStd-Bold.woff2') format('woff2'), url('../fonts/ITCAvantGardeStd-Bold.woff') format('woff'); font-weight: 651 900; font-display: swap; }

:root {
  --font: 'Avant Garde', 'Century Gothic', Arial, sans-serif;
  --black: #000;
  --ink: #1a1a1a;
  --white: #fff;
  --n50: #f2f2f2;
  --n100: #e0e0e0;
  --n200: #ccc;
  --n400: #999;
  --n600: #666;
  --n800: #333;
  --promo: #f8e5db;
  --red: #d50133;
  --pink: #d82280;
  --green: #278a1e;
  --lilac: #c797d3;
  --radius: 8px;
  --radius-sm: 4px;
  --gutter: 24px;
  --max: 1440px;
  --ls: .025em;
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
/* Off-canvas panels (menu, bag, side drawers) wait outside the screen: never let the page pan sideways to them */
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  overflow-x: clip;
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 24px; letter-spacing: var(--ls);
  color: var(--black); background: var(--white); -webkit-font-smoothing: antialiased;
}
body.lock { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; letter-spacing: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
p, h1, h2, h3 { margin: 0; }
b, strong, .b { font-weight: 700; }
.u { text-decoration: underline; text-underline-offset: 2px; }
.skip { position: absolute; top: 8px; right: 16px; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; z-index: 100; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }

.h-lg { font-size: 32px; line-height: 40px; font-weight: 700; letter-spacing: var(--ls); }
.h-md { font-size: 24px; line-height: 32px; font-weight: 700; }
.upper { text-transform: uppercase; }
.small { font-size: 12px; line-height: 16px; }
.red { color: var(--red) !important; }
.pink { color: var(--pink) !important; }

.m-only { display: none !important; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 18px; border-radius: var(--radius);
  font-size: 16px; font-weight: 700; text-align: center; transition: background .15s, color .15s;
}
.btn-outline { background: #fff; border: 2px solid var(--ink); color: var(--black); }
.btn-outline:hover { background: var(--n50); }
.btn-black { background: var(--black); color: #fff; border: 2px solid var(--black); }
.btn-black:hover { background: var(--n800); border-color: var(--n800); }
.btn-block { width: 100%; }
.btn-sm {
  flex: none; display: inline-flex; align-items: center; height: 34px; padding: 6px 10px;
  border: 1px solid #d6d6d6; border-radius: var(--radius); font-size: 14px; line-height: 20px; font-weight: 700; white-space: nowrap; background: #fff;
}
.btn-sm:hover { background: var(--n50); }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; }

.field {
  width: 100%; height: 48px; padding: 0 12px; border: 1px solid transparent; border-radius: var(--radius);
  background: #fff; outline: none;
}
.field:focus { border-color: var(--ink); }
.label { display: block; font-size: 14px; line-height: 20px; margin-bottom: 8px; }
.hint { font-size: 12px; line-height: 16px; margin-top: 4px; }

/* ============================================================
   Header
   ============================================================ */
.promo {
  background: var(--promo); color: var(--ink); text-align: center;
  font-size: 14px; line-height: 21px; padding: 8px 16px; min-height: 37px;
}
.promo b { font-weight: 700; }
.hdr { background: #fff; position: relative; z-index: 40; }
.hdr-main {
  max-width: var(--max); margin: 0 auto; height: 72px; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 48px; width: auto; }   /* two-line logo: 48px tall on computers */
.wordmark { font-size: 27px; line-height: 24px; letter-spacing: .28em; font-weight: 400; white-space: nowrap; }

.search {
  flex: 1; display: flex; align-items: center; gap: 4px; height: 48px; padding: 8px 12px;
  background: var(--n50); border-radius: 999px; max-width: 726px;
}
.search .ic { flex: none; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: none; padding: 0 4px; font-size: 16px; }
.search input::placeholder { color: #444; }
.search input::-webkit-search-cancel-button { display: none; }
.hdr-icons { margin-right: auto; display: flex; align-items: center; }
.hdr-link { display: flex; align-items: center; gap: 6px; height: 48px; padding: 0 8px; white-space: nowrap; font-size: 16px; }
.hdr-link:hover span { text-decoration: underline; text-underline-offset: 4px; }
.count {
  position: absolute; top: 6px; left: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--black); color: #fff; font-size: 11px; line-height: 18px; font-weight: 700; text-align: center;
}
.count:empty { display: none; }

.nav { position: relative; z-index: 35; background: #fff; border-bottom: 1px solid var(--n100); }
.nav-list { display: flex; justify-content: center; gap: 30px; height: 56px; align-items: stretch; padding: 0 var(--gutter); }
.nav-list li { display: flex; }
.nav-list a { display: flex; align-items: center; font-size: 16px; font-weight: 500; white-space: nowrap; position: relative; }
.nav-list a::after { content: ''; position: absolute; right: 0; left: 0; bottom: 0; height: 4px; background: transparent; }
.nav-list a.active::after, .nav-list a:hover::after { background: var(--ink); }
.nav-list a.active { text-decoration: none; }

.mega {
  position: absolute; right: 0; left: 0; top: 100%; background: #fff;
  /* Dims the page below the panel, exactly like the reference (huge offset shadow) */
  box-shadow: 0 3200px 0 3200px rgba(0, 0, 0, .5);
  visibility: hidden; transition: visibility 0s .24s;
}
.mega.on { visibility: visible; }
.mega-list { max-width: var(--max); margin: 0 auto; max-height: 680px; padding: 32px 24px; display: flex; align-items: flex-start; gap: 40px; }
.mega-col { width: 246px; display: flex; flex-direction: column; gap: 16px; }
.mega-list a { display: block; padding: 8px 0; font-size: 14px; line-height: 20px; }
.mega-list .lead a, .mega-list .mh a { font-weight: 700; }
.mega-list .red a { color: var(--red); }
.mega-list .pink a { color: #d92282; }
.mega a:hover { text-decoration: underline; }

/* Mobile extras under header */
.hdr-m-extra { background: #fff; padding-bottom: 12px; border-bottom: 1px solid #d6d6d6; }   /* a line under the phone search */
.search-m { max-width: none; margin: 8px 16px 0; }

/* ============================================================
   Drawer / Bag panel / overlay
   ============================================================ */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 80; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.overlay.on { opacity: 1; visibility: visible; }
.drawer, .bagpanel {
  position: fixed; top: 0; bottom: 0; z-index: 90; background: var(--n50); width: min(420px, 88vw);
  display: flex; flex-direction: column; transition: transform .3s ease; visibility: hidden;
}
.drawer { right: 0; transform: translateX(100%); }
.bagpanel { left: 0; transform: translateX(-100%); background: #fff; width: min(440px, 100vw); }
.drawer.on, .bagpanel.on { transform: none; visibility: visible; }
.bag-top { display: flex; align-items: center; justify-content: space-between; padding: 8px 20px 8px 8px; background: #fff; border-bottom: 1px solid var(--n100); min-height: 64px; }

/* Mobile menu — measured on the reference: full width, 0.4s slide, 4px grey gaps between white rows */
.drawer { width: 100%; background: #fff; transition: transform .4s ease, visibility .4s; overflow: hidden; }
.drw-panel { position: absolute; inset: 0; overflow-y: auto; background: var(--n50); display: flex; flex-direction: column; gap: 4px; }
.drw-top { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 16px; background: #fff; }
.drw-top .wordmark { font-size: 19px; line-height: 16px; letter-spacing: .16em; }
.drw-x, .drw-subtop button { width: 32px; height: 32px; display: grid; place-items: center; }
.drw-lbl { padding: 16px; font-size: 16px; line-height: 24px; font-weight: 500; }
.drw-row { width: 100%; display: flex; align-items: center; gap: 8px; padding: 16px; min-height: 56px; background: #fff; font-size: 16px; line-height: 24px; font-weight: 500; text-align: right; }
.drw-row span { flex: 1; }
.drw-row.drw-ic { min-height: 64px; }
.drw-row.pink { color: var(--pink); } .drw-row.red { color: var(--red); }
.drw-sub { position: absolute; inset: 0; background: var(--n50); overflow-y: auto; transform: translateX(-100%); transition: transform .4s ease; display: flex; flex-direction: column; gap: 4px; }
.drawer.sub .drw-sub { transform: none; }
.drw-subtop { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 16px; }
.drw-subtop p { font-weight: 700; font-size: 16px; line-height: 24px; }
.drw-g { font-weight: 700; }
.drw-g .ic { transform: rotate(-180deg); transition: transform .2s; }
.drw-grp.open .drw-g .ic { transform: none; }
.drw-grp ul { display: none; }
.drw-grp.open ul { display: block; }
.drw-grp li a { display: flex; align-items: center; min-height: 44px; padding: 12px 32px; background: #fff; font-size: 14px; line-height: 20px; font-weight: 500; }
.drw-grp li a.pink { color: var(--pink); }

.bag-top .bag-n { font-weight: 400; font-size: 16px; }
.bag-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.bag-empty { text-align: center; padding: 60px 20px; }
.bag-empty p { margin-bottom: 24px; }
.bag-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--n100); }
.bag-item .thumb { width: 80px; height: 80px; border: 1px solid var(--n100); border-radius: var(--radius); }
.bag-item .pc-brand { font-size: 14px; }
.bag-item .pc-name { font-size: 14px; line-height: 20px; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--n200); border-radius: var(--radius); margin-top: 8px; }
.qty button { width: 32px; height: 32px; display: grid; place-items: center; }
.qty span { min-width: 24px; text-align: center; font-size: 14px; }
.bag-item .rm { color: var(--n600); align-self: start; }
.bag-foot { padding: 16px 20px 24px; border-top: 1px solid var(--n100); }
.bag-foot:empty { display: none; }
.bag-foot > .btn { margin-top: 16px; }
.bag-line { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; }
.bag-line.total { font-size: 18px; font-weight: 700; margin: 12px 0 16px; }

.toast {
  position: fixed; right: 50%; bottom: 24px; transform: translate(50%, 20px); z-index: 100;
  background: var(--black); color: #fff; padding: 12px 20px; border-radius: var(--radius); font-size: 14px;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.toast.on { opacity: 1; transform: translate(50%, 0); }

.totop {
  position: fixed; left: 24px; bottom: 24px; z-index: 30; width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--black); color: #fff; display: grid; place-items: center;
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.totop.on { opacity: 1; visibility: visible; }
body.has-sticky .totop { bottom: 96px; }

/* ============================================================
   Home
   ============================================================ */
main { max-width: var(--max); margin: 0 auto; display: flex; flex-direction: column; }
.hero-wrap { display: flex; flex-direction: column; gap: 24px; padding-bottom: 32px; }
.hero { position: relative; height: 446px; overflow: hidden; display: block; }
.hero .hero-d { position: absolute; inset: 0; }
.hero .hero-d svg { width: 100%; height: 100%; }
.hero .hero-m { display: none; }
.excl { position: absolute; top: 16px; right: 16px; width: 80px; height: 80px; }
.hero-card {
  position: absolute; left: 88px; top: 50%; transform: translateY(-50%); width: 485px;
  background: #fff; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px;
}
.hero-card p { font-size: 14px; line-height: 20px; }
.hero-card .btn { margin-top: 8px; }
.hero-card:hover .btn, .tile:hover .btn { background: var(--n50); }

.tiles { display: flex; gap: 24px; padding: 0 var(--gutter); }
.tile {
  flex: 1; display: flex; min-height: 208px; border-radius: var(--radius); overflow: hidden;
  outline: 1px solid var(--n100); background: #fff;
}
.tile-img { position: relative; flex: none; width: 320px; }
.tile-img svg:not(.excl) { width: 100%; height: 100%; }
.tile-img .excl { width: 56px; height: 56px; top: 8px; right: 8px; }
.tile-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 16px; }
.tile-body h3 { font-size: 16px; line-height: 24px; font-weight: 700; }
.tile-body p { font-size: 14px; line-height: 20px; }
.tile-price { display: flex; align-items: center; gap: 12px; }
.tile-price b { background: var(--n50); padding: 16px 8px; border-radius: var(--radius-sm); font-size: 20px; line-height: 24px; white-space: nowrap; }

/* Section headings */
.sec { display: flex; flex-direction: column; gap: 32px; padding: 32px var(--gutter) 32px 0; }
.sec.full { padding-left: var(--gutter); }
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 4px 16px; padding-left: var(--gutter); }
.sec.full .sec-head { padding-left: 0; }
.sec-sub { grid-column: 1 / -1; font-size: 14px; line-height: 20px; }

/* Carousel */
.carousel { position: relative; }
.car-track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding: 1px 1px 1px 1px; padding-left: var(--gutter);
}
.car-track::-webkit-scrollbar { display: none; }
.car-track > li { flex: 0 0 240px; scroll-snap-align: start; }
.car-btn {
  position: absolute; top: 300px; transform: translateY(-50%); z-index: 3; width: 40px; height: 40px;
  border-radius: var(--radius-sm); background: var(--black); color: #fff; display: grid; place-items: center;
}
.car-btn.next { left: 24px; } .car-btn.prev { right: 0; }
.car-btn[hidden] { display: none; }
.car-progress { height: 4px; background: var(--n50); border-radius: 2px; margin-left: var(--gutter); overflow: hidden; margin-top: 24px; }
.car-progress span { display: block; height: 100%; width: 20%; background: var(--black); border-radius: 2px; transition: transform .1s linear; }

/* Product card */
.pcard {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border-radius: var(--radius); outline: 1px solid var(--n100); padding: 8px;
}
.pcard-link { display: flex; flex-direction: column; flex: 1; }
.pcard-link:hover .pc-name { text-decoration: underline; }
.pcard-top { height: 24px; }
.badge { display: inline-block; background: var(--black); color: var(--n50); font-size: 12px; line-height: 16px; font-weight: 700; padding: 4px 6px; border-radius: var(--radius-sm); }
.wish { position: absolute; top: 8px; left: 8px; width: 40px; height: 40px; display: grid; place-items: center; }
.wish.on svg { fill: var(--black); }
.pcard-img { height: 248px; display: grid; place-items: center; grid-template: minmax(0, 1fr) / minmax(0, 1fr); padding: 8px 12px; }
.pcard-img svg { width: 100%; height: 100%; }
.pcard-body { display: flex; flex-direction: column; padding-top: 12px; flex: 1; }
.pc-brand { font-size: 14px; line-height: 20px; font-weight: 700; }
.pc-name { font-size: 14px; line-height: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; }
.pc-size { font-size: 14px; line-height: 20px; color: var(--n600); margin-top: 8px; min-height: 20px; }
.pc-price { margin-top: 8px; font-size: 16px; line-height: 24px; }
.pc-price small { font-size: 12px; }
.pc-unit { font-size: 11px; line-height: 16px; }
.pc-rating { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 14px; margin-top: 8px; }
.pc-rating span:last-child { max-width: 90px; }
.pc-meta { font-size: 12px; line-height: 16px; margin-top: 8px; }
.pc-btn { margin-top: 16px; }

.stars { position: relative; display: inline-block; font-size: 13px; line-height: 1; letter-spacing: 1px; color: transparent; -webkit-text-stroke: .8px var(--black); white-space: nowrap; }
.stars::after { content: '★★★★★'; position: absolute; right: 0; top: 0; width: var(--r); overflow: hidden; color: var(--black); -webkit-text-stroke: 0; }

/* Feature (brand spotlight) */
.feature { display: grid; grid-template-columns: 766px 1fr; gap: 24px; padding: 32px var(--gutter) 32px 0; }
.feature .sec-head { grid-column: 1 / -1; }
.feature-img { border-radius: var(--radius); overflow: hidden; height: 582px; display: block; }
.feature-img svg { width: 100%; height: 100%; }
/* A photo (home_feature.json) keeps its own proportions, so the badge over its corner mark stays in place */
.feature-photo { position: relative; height: auto; align-self: start; }
.feature-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.feature-car { min-width: 0; display: flex; flex-direction: column; gap: 24px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service { display: flex; align-items: stretch; gap: 16px; border-radius: var(--radius); outline: 1px solid var(--n100); overflow: hidden; min-height: 116px; }
.service svg { width: 110px; height: auto; min-height: 116px; flex: none; }
.service > div { align-self: center; padding: 12px 0 12px 12px; }
.service h3 { font-size: 16px; line-height: 24px; font-weight: 700; margin-bottom: 4px; }
.service p { font-size: 14px; line-height: 20px; }

/* ============================================================
   Newsletter + footer
   ============================================================ */
.newsletter { background: var(--n50); margin-top: 32px; }
.nl-inner { max-width: var(--max); margin: 0 auto; padding: 40px 88px; display: flex; gap: 32px; }
.nl-text { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.nl-text p:nth-child(2) { font-size: 16px; }
.nl-form { flex: 1; padding-top: 40px; }
.nl-row { display: flex; gap: 8px; max-width: 616px; }
.nl-row .btn { border-radius: var(--radius-sm); padding: 10px 18px; }
.nl-row .field { border-color: #fff; }

.reass { background: #fff; }
.reass-list { max-width: var(--max); margin: 0 auto; padding: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.reass-item { display: flex; gap: 12px; font-size: 14px; line-height: 20px; }
.reass-item .ic { flex: none; margin-top: -2px; }
.reass-item .b { font-size: 16px; line-height: 24px; }
.reass-item a { display: inline-block; margin-top: 4px; }

.ft-black { background: var(--black); color: #fff; }
.ft-grid { max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ft-h { display: block; font-weight: 700; font-size: 16px; margin-bottom: 20px; color: #fff; text-align: right; cursor: default; }
.ft-h .ic { display: none; }
.ft-col li { margin-bottom: 16px; }
.ft-col li a { font-size: 14px; line-height: 20px; color: #d6d6d6; }
.ft-col a:hover { color: #fff; text-decoration: underline; }
.socials { display: flex; gap: 20px; }
/* 40px touch area around each 20px icon, without changing the spacing */
.socials a { display: grid; place-items: center; width: 40px; height: 40px; margin: -10px; }
.ft-social { display: flex; flex-direction: column; }
.ft-bottom { max-width: var(--max); margin: 0 auto; padding: 24px; border-top: 1px solid #4d4d4d; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
/* room for the fixed "back to top" button, which would otherwise cover the language link */
.ft-bottom { padding-inline-end: 88px; }
.legal { display: flex; flex-wrap: wrap; row-gap: 12px; }
.legal li { font-size: 14px; line-height: 20px; }
.legal li:not(:last-child)::after { content: '|'; margin: 0 16px; color: #d6d6d6; }
.legal a { color: #d6d6d6; } .legal a:hover { color: #fff; }
.lang { display: flex; align-items: center; gap: 8px; font-size: 14px; white-space: nowrap; }
.flag { flex: none; width: 24px; height: 16px; border-radius: 2px; display: block; }

/* ============================================================
   Category (PLP)
   ============================================================ */
.crumbs { display: flex; flex-wrap: wrap; gap: 4px; padding: 16px var(--gutter); font-size: 12px; line-height: 16px; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li:not(:last-child)::after { content: '/'; margin-right: 4px; }
.crumbs li:last-child { font-weight: 700; }
.cat-head { margin: 0 var(--gutter); background: #f0f0f0; border-radius: var(--radius); padding: 24px; min-height: 160px; }
.cat-head p { font-size: 14px; line-height: 20px; margin-top: 16px; max-width: 1280px; }
.plp { display: grid; grid-template-columns: 336px 1fr; margin-top: 24px; }
.filters { padding: 0 var(--gutter) 40px; border-left: 1px solid var(--n100); }
.filters .h-md { margin-bottom: 8px; }
.acc { border-bottom: 1px solid var(--n100); }
.acc-h { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-weight: 700; }
.acc-h .ic { transition: transform .2s; }
.acc.open .acc-h .ic { transform: rotate(-180deg); }
.acc-b { display: none; padding-bottom: 24px; }
.acc.open .acc-b { display: block; }
.price-in { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.price-in .field { background: var(--n50); }
.range { position: relative; height: 24px; margin-top: 16px; }
.range .track { position: absolute; top: 10px; right: 10px; left: 10px; height: 4px; background: var(--black); border-radius: 2px; }
.range input { position: absolute; inset: 0; width: 100%; margin: 0; appearance: none; -webkit-appearance: none; background: none; pointer-events: none; }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--black); pointer-events: auto; cursor: pointer; }
.range input::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--black); pointer-events: auto; cursor: pointer; }
.brand-search { background: var(--n50); margin-bottom: 16px; }
.chk { display: flex; align-items: center; gap: 8px; padding: 8px 0; font-size: 14px; cursor: pointer; }
.chk .cnt { background: var(--n100); font-size: 11px; line-height: 16px; font-weight: 700; padding: 0 5px; border-radius: 2px; }
.chk input { margin-right: auto; appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border: 1.5px solid var(--ink); border-radius: 3px; display: grid; place-items: center; cursor: pointer; }
.chk input:checked { background: var(--black); }
.chk input:checked::after { content: ''; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.results { padding: 0 var(--gutter) 40px; }
.toolbar { display: flex; justify-content: space-between; align-items: end; margin-bottom: 16px; gap: 16px; }
.toolbar .n { font-size: 14px; padding-bottom: 12px; }
.sort { width: 330px; }
.sort .label { margin-bottom: 4px; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; width: 100%; height: 48px; padding: 0 12px 0 44px; border: 1px solid var(--n200); border-radius: var(--radius); background: #fff; cursor: pointer; }
.select .ic { position: absolute; left: 12px; top: 12px; pointer-events: none; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid .pcard { min-height: 0; }
.grid .pcard-img { height: 240px; }
.empty { padding: 60px 0; text-align: center; }
.filter-toggle { display: none; }

/* ============================================================
   Product (PDP)
   ============================================================ */
.pdp { display: grid; grid-template-columns: 1fr 564px; gap: 40px; padding: 0 var(--gutter) 40px; }
.gallery { display: grid; grid-template-columns: 48px 1fr; gap: 24px; align-self: start; position: sticky; top: 16px; }
.thumbs { display: flex; flex-direction: column; gap: 8px; }
.thumbs button { width: 48px; height: 48px; border: 1px solid var(--n100); border-radius: var(--radius-sm); padding: 2px; }
.thumbs button.on { border: 2px solid var(--black); }
.main-img { position: relative; height: 620px; display: grid; place-items: center; }
.main-img .badge { position: absolute; top: 0; right: 40px; }
.main-img svg { width: min(100%, 440px); height: auto; }
.buy { display: flex; flex-direction: column; gap: 16px; }
.buy .brand-link { font-weight: 500; }
.buy h1 { font-size: 24px; line-height: 32px; font-weight: 700; margin-top: -8px; }
.buy-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; margin-top: -8px; }
.buy-row .rate { display: flex; align-items: center; gap: 6px; }
.buy .price { font-size: 24px; line-height: 32px; font-weight: 700; margin-top: 8px; }
.buy .price + .pc-unit { margin-top: -16px; font-size: 12px; }
.variant { border: 1px solid var(--n100); border-radius: var(--radius); padding: 12px 16px; min-height: 64px; display: flex; align-items: center; gap: 12px; font-weight: 700; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatches button { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff; outline: 1px solid var(--n100); }
.swatches button.on { outline: 2px solid var(--black); }
.add-row { display: flex; gap: 12px; }
.add-row .btn-black { flex: 1; }
.add-row .wish-lg { width: 48px; height: 48px; border: 1px solid var(--n100); border-radius: var(--radius); display: grid; place-items: center; flex: none; }
.add-row .wish-lg.on svg { fill: var(--black); }
.box { border: 1px solid var(--n100); border-radius: var(--radius); }
.box-row { display: flex; gap: 16px; padding: 16px; align-items: center; }
.box-row + .box-row { border-top: 1px solid var(--n100); }
.box-row .grow { flex: 1; font-size: 14px; line-height: 20px; }
.box-row .grow .b { font-size: 14px; }
.gift-art { width: 48px; height: 48px; border-radius: var(--radius-sm); background: #fbe4ec; display: grid; place-items: center; flex: none; }
.loyal { border-color: #d5c6f2; }
.pts { display: inline-block; background: var(--n50); padding: 0 6px; border-radius: 3px; font-weight: 700; font-size: 13px; }
.avail { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.avail::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.avail.out { color: var(--red); }
.avail.out::before { background: var(--red); }
.details p.txt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.details.open p.txt { display: block; }

.reviews { padding: 40px 88px 64px; }
.reviews .h-md + p { margin-top: 4px; }
.rev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.rev-bars li { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 14px; }
.rev-bars label { display: flex; align-items: center; gap: 8px; width: 120px; white-space: nowrap; }
.rev-bars input { width: 20px; height: 20px; accent-color: #000; }
.rev-bars .bar { flex: 1; height: 6px; background: var(--n100); border-radius: 3px; overflow: hidden; }
.rev-bars .bar span { display: block; height: 100%; background: var(--black); }
.rev-box { border: 1px solid var(--n100); border-radius: var(--radius); padding: 24px; text-align: center; align-self: start; }
.rev-box p { margin-bottom: 12px; }

.sticky-buy {
  position: fixed; right: 0; left: 0; bottom: 0; z-index: 25; background: #fff; box-shadow: 0 -2px 12px rgba(0,0,0,.12);
  transform: translateY(100%); transition: transform .25s;
}
.sticky-buy.on { transform: none; }
.sb-inner { max-width: var(--max); margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; gap: 24px; }
.sb-prod { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; font-size: 12px; line-height: 16px; }
.sb-prod svg { width: 48px; height: 48px; flex: none; }
.sb-prod p:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-prod > div { min-width: 0; }
.sb-prod p.b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-inner .btn, #sb-add { flex: none; }
.sb-price { font-weight: 700; white-space: nowrap; }
.sb-var { width: 440px; height: 48px; border: 1px solid var(--n200); border-radius: var(--radius); display: flex; align-items: center; padding: 0 12px; font-weight: 700; font-size: 14px; }
.sb-inner .btn { width: 220px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1279px) {
  .nav-list { gap: 20px; }
  .nav-list a { font-size: 15px; }
  .hero-card { left: 40px; width: 420px; }
  .tile-img { width: 240px; }
  .feature { grid-template-columns: 1fr 1fr; }
  .pdp { grid-template-columns: 1fr 460px; }
  .sb-var { width: 280px; }
  .ft-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1023px) {
  :root { --gutter: 16px; }
  .d-only { display: none !important; }
  .m-only { display: revert !important; }
  li.m-only, .icon-btn.m-only { display: inline-flex !important; }
  /* ---- Mobile header (measured on the reference at 375px) ---- */
  .promo { padding: 8px 32px; font-size: 14px; line-height: 20px; min-height: 0; }
  .hdr { position: sticky; top: 0; }
  .hdr-main { height: 48px; gap: 8px; padding: 0 16px; }
  .hdr:not(.stuck) .hdr-main { margin-top: 14px; }   /* room between the promo bar and the logo row */
  [data-drawer] { width: 32px; height: 32px; }
  [data-drawer] .ic { width: 32px; height: 32px; }
  .wordmark { font-size: 19px; line-height: 16px; letter-spacing: .16em; }
  .hdr-main > .icon-btn, .hdr-icons li { flex: none; }
  .hdr-main .logo { min-width: 0; overflow: hidden; }
  .logo img { height: 40px; }   /* phones */
  .hdr-icons .icon-btn, .hdr-link { width: 48px; height: 48px; padding: 8px; justify-content: center; }
  .hdr-icons .ic { width: 32px; height: 32px; }
  li.m-search { display: none !important; }
  .hdr.stuck li.m-search { display: inline-flex !important; }
  /* Header stuck at the top while scrolling: more room above and below, slightly smaller icons */
  .hdr.stuck .hdr-main { height: 66px; padding: 0 16px; }
  .hdr.stuck .hdr-icons .icon-btn, .hdr.stuck .hdr-link { width: 42px; height: 42px; padding: 8px; }
  .hdr.stuck .hdr-icons .ic, .hdr.stuck [data-drawer] .ic { width: 26px; height: 26px; }
  .hdr.stuck [data-drawer] { width: 30px; height: 30px; }
  /* The change between the two states is animated instead of jumping */
  .hdr-main { transition: height .28s ease, margin-top .28s ease; }
  .hdr-icons .icon-btn, .hdr-link, [data-drawer], .hdr-icons .ic, [data-drawer] .ic { transition: width .28s ease, height .28s ease; }
  .hdr { transition: box-shadow .28s ease; }
  .hdr.stuck { box-shadow: 0 1px 0 rgba(0, 0, 0, .08); }
  body[data-page="home"] .hdr.stuck li.m-search { animation: hdr-in .28s ease; }   /* only where it appears on scroll */
  @keyframes hdr-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
  .count { top: 2px; left: 3px; min-width: 16px; height: 16px; line-height: 16px; font-size: 10px; padding: 0 4px; }
  .search-m { margin: 8px 16px 0; height: 48px; padding: 8px 12px; gap: 4px; }
  .search-m .ic { width: 32px; height: 32px; }
  .search-m input { padding: 0; }

  /* ---- Category circles ---- */

  /* ---- Hero: portrait image with the card laid over its bottom ---- */
  .hero-wrap { gap: 24px; padding-bottom: 16px; }
  .hero { height: 565px; }
  .hero .hero-d { display: none; }
  .hero .hero-m { display: block; position: absolute; inset: 0; }
  .hero .hero-m svg { width: 100%; height: 100%; }
  .excl { width: 72px; height: 72px; }
  .hero-card { left: 16px; right: 16px; top: auto; bottom: 16px; transform: none; width: auto; padding: 16px; gap: 0; }
  .hero-card .h-md { font-size: 18px; line-height: 24px; }
  .hero-card p { padding-top: 8px; font-size: 14px; line-height: 20px; }
  .hero-card .btn { margin-top: 8px; }

  /* ---- Promo tiles: image on top, text below ---- */
  .tiles { flex-direction: column; gap: 24px; padding: 0 16px; }
  .tile { flex-direction: column; gap: 16px; outline-color: #d6d6d6; }
  .tile-img { width: 100%; height: 229px; }
  .tile-body { padding: 0 16px 16px; gap: 8px; justify-content: flex-start; }
  .tile-body h3 { font-size: 16px; line-height: 24px; }
  .tile-body p { font-size: 14px; line-height: 20px; }
  .tile-price { align-items: stretch; }
  .tile-price b { display: flex; align-items: center; padding: 0 12px; font-size: 16px; }

  /* ---- Sections + carousels ---- */
  .h-lg { font-size: 20px; line-height: 28px; }
  .sec { gap: 24px; padding: 16px 0; }
  .sec-head { padding: 0 16px; gap: 8px 16px; align-items: center; min-height: 42px; }
  .sec-head .btn-sm { align-self: start; }
  .sec.full { padding-right: 0; padding-left: 0; }
  .car-track { padding: 1px 16px; scroll-padding: 0 16px; }
  .car-track > li { flex-basis: 204px; }
  .pcard-top { height: 36px; }
  .pcard-img { height: 188px; padding: 0; }
  .pcard-body { padding-top: 8px; }
  .pc-btn { min-height: 48px; font-size: 16px; padding: 10px 18px; }
  .car-btn { display: grid; top: calc(50% + 18px); }
  .car-btn.next { left: 12px; } .car-btn.prev { right: 12px; }
  .car-progress { margin: 16px 16px 0; }

  /* ---- Brand spotlight: image first, full width ---- */
  .feature { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 16px 0; }
  .feature-img { order: -1; height: 229px; border-radius: 0; margin: 0; }
  .feature-photo { height: auto; }
  .feature .sec-head { padding: 0 16px; }
  .sec-sub { font-size: 16px; line-height: 24px; }
  .sec.full .sec-head { padding: 0 16px; }

  /* ---- Brands + services: swipeable rows ---- */
  .services { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; padding: 0 0 0 16px; }
  .service { flex: 0 0 342px; margin: 2px 16px 2px 0; min-height: 112px; gap: 8px; outline-color: #d6d6d6; }
  .service svg { width: 112px; min-height: 112px; }
  .service > div { padding: 8px; }

  /* ---- Footer ---- */
  .newsletter { display: none; }
  .reass-list { grid-template-columns: 1fr; gap: 24px; padding: 24px 16px; }
  .reass-item { gap: 14px; padding-right: 6px; font-size: 16px; line-height: 24px; }
  .reass-item .ic { width: 32px; height: 32px; margin: 6px 0 0; }
  .reass-item a { margin-top: 8px; text-decoration: none; font-weight: 500; }
  .ft-grid { grid-template-columns: 1fr; gap: 0; padding: 24px 16px 0; }
  .ft-col:not(.ft-social) { border-bottom: 1px solid #d6d6d6; padding: 24px 0; }
  .ft-h { display: flex; width: 100%; justify-content: space-between; align-items: center; margin: 0; color: #f2f2f2; font-size: 16px; line-height: 24px; }
  .ft-h .ic { display: block; transition: transform .2s; transform: rotate(-180deg); }
  .ft-col ul { display: none; padding-top: 16px; }
  .ft-col.open ul { display: flex; flex-direction: column; gap: 16px; }
  .ft-col.open .ft-h .ic { transform: none; }
  .ft-col li { margin: 0; }
  .ft-col li a { color: #b3b3b3; font-size: 14px; line-height: 20px; }
  .ft-social { padding: 24px 8px 36px; }
  .ft-social .ft-h { margin-bottom: 8px; }
  .socials { gap: 24px; }
  .ft-bottom { flex-direction: column; align-items: flex-start; padding: 24px 16px; margin: 0 16px; border-top-color: #d6d6d6; gap: 16px; }
  .ft-bottom { padding-right: 0; padding-left: 0; }
  .legal { row-gap: 16px; }
  .legal li { display: flex; align-items: center; }
  .legal li a { padding-left: 16px; }
  .legal li:not(:last-child)::after { content: ''; width: 2px; height: 16px; margin: 0 0 0 16px; background: #b3b3b3; }
  .legal a { color: #b3b3b3; }
  .lang { padding-bottom: 24px; }
  .lang .u { color: #b3b3b3; }
  .totop { left: 16px; bottom: 64px; width: 50px; height: 50px; border: 1px solid #d6d6d6; }


  /* ---- Inner pages: the search bar + hello row only exist on the home page ---- */
  body:not([data-page="home"]) .hdr-m-extra { display: none !important; }
  body:not([data-page="home"]) li.m-search { display: inline-flex !important; }

  /* ---- Category page (measured on the reference) ---- */
  .crumbs { padding: 8px 16px; min-height: 48px; align-items: center; gap: 4px; color: #595959; }
  .crumbs li { display: none; }
  .crumbs li.more, .crumbs li:last-child { display: flex; align-items: center; }
  .crumbs li.more a { font-weight: 500; }
  .crumbs li.more::after { content: '/'; font-size: 14px; margin-right: 4px; }
  .crumbs li:last-child { color: var(--black); }
  .cat-head { margin: 0 16px 16px; padding: 16px; min-height: 0; background: var(--n50); border-radius: 8px; }
  .cat-head .h-lg { font-size: 20px; line-height: 28px; color: var(--ink); }
  .cat-head p { margin-top: 8px; font-size: 14px; line-height: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .cat-head p.open { display: block; }
  .cat-more { display: inline-flex !important; align-items: center; height: 32px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink); }
  nav.mbar.m-only { display: grid !important; grid-template-columns: 1fr 1px 1fr; align-items: center; height: 58px; border-top: 1px solid #d6d6d6; border-bottom: 1px solid #d6d6d6; }
  .mbar button { height: 56px; padding: 16px; font-size: 14px; line-height: 20px; font-weight: 500; display: flex; justify-content: center; gap: 4px; min-width: 0; }
  .mbar #msort { justify-content: flex-start; white-space: nowrap; overflow: hidden; }
  .mbar #msort-v { overflow: hidden; text-overflow: ellipsis; }
  .mbar-div { width: 1px; height: 40px; background: #d6d6d6; }
  p.mcount.m-only { display: block !important; padding: 10px 16px 9px; font-size: 16px; line-height: 21px; font-weight: 500; }
  .plp { display: block; margin-top: 0; }
  .filters, .toolbar { display: none !important; }
  .results { padding: 0 16px 40px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 7px; }
  .grid .pcard-img { height: 152px; }

  .pdp { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; justify-content: center; }
  .main-img { height: 340px; }
  .reviews { padding: 24px 16px 48px; }
  .rev-grid { grid-template-columns: 1fr; gap: 24px; }
  .sb-inner { gap: 12px; padding: 12px 16px; }
  .sb-var, .sb-prod svg { display: none; }
  .sb-inner .btn { width: auto; padding: 10px 16px; }
}

@media (max-width: 599px) {
  .promo { font-size: 14px; }
  .tile-price b { padding: 12px 8px; }
  .reass-list { grid-template-columns: 1fr; }
  .ft-grid { grid-template-columns: 1fr; }
  .legal li:not(:last-child)::after { margin: 0 8px; }
  .sb-price { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ============================================================
   Checkout chrome (minimal header / footer)
   ============================================================ */
body[data-layout="checkout"] { background: #efefef; }
.co-hdr { background: #fff; border-bottom: 1px solid var(--n100); }
.co-hdr-in { max-width: 1246px; margin: 0 auto; height: 88px; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.steps { display: flex; align-items: center; gap: 16px; }
.step { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.step-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #e6e6e6; color: var(--n600); font-size: 13px; font-weight: 700; }
.step .step-l { display: none; }
.step.current .step-n { background: #b81e2c; color: #fff; }
.step.current .step-l { display: inline; }
.step.done .step-n { background: var(--black); color: #fff; }
.mini-ft { text-align: center; padding: 32px 16px 40px; font-size: 12px; line-height: 20px; color: var(--n600); display: flex; flex-direction: column; gap: 8px; }
.mini-ft p { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.mini-ft .ic { display: inline-block; vertical-align: middle; }

.auth-hdr { height: 80px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--gutter); border-bottom: 1px solid var(--n100); background: #fff; }
.auth-hdr .back { display: flex; align-items: center; gap: 8px; font-size: 14px; justify-self: start; }
.auth-hdr .back:hover span { text-decoration: underline; }

/* ============================================================
   Bag + checkout pages
   ============================================================ */
.co-wrap { max-width: 1246px; width: 100%; margin: 0 auto; padding: 32px var(--gutter) 24px; display: grid; grid-template-columns: 1fr 400px; gap: 24px; align-items: start; }
.co-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.co-main > .h-lg span { font-weight: 400; font-size: 20px; }
.co-aside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 16px; }
.card { background: #fff; border-radius: var(--radius); padding: 24px; }
.card-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.card-h .h-sm, .h-sm { font-size: 18px; line-height: 24px; font-weight: 700; }
.card-h a, .card-h button { font-size: 14px; }
.muted { color: var(--n600); }
.ship-card p { font-size: 14px; }

.cart-items > li { display: grid; grid-template-columns: 96px 1fr auto 120px; gap: 16px; padding: 20px 0; border-top: 1px solid var(--n100); align-items: start; }
.cart-items > li:first-child { border-top: 0; padding-top: 0; }
.cart-items > li:last-child { padding-bottom: 0; }
.ci-img { width: 96px; height: 96px; border: 1px solid var(--n100); border-radius: var(--radius); padding: 4px; }
.ci-name { font-size: 14px; line-height: 20px; display: block; }
.ci-name:hover { text-decoration: underline; }
.ci-meta { font-size: 12px; line-height: 16px; color: var(--n600); margin-top: 4px; }
.ci-actions { display: flex; gap: 16px; margin-top: 12px; font-size: 13px; }
.ci-price { text-align: left; font-size: 16px; }
.ci-price small { display: block; font-size: 12px; color: var(--n600); }
.cart-items .qty { margin-top: 0; }
.cart-items .qty button { width: 36px; height: 36px; }

.samples-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; }
.sample .tick svg { opacity: 0; }
.sample:has(input:checked) .tick svg { opacity: 1; }
.sample { position: relative; border: 1px solid var(--n100); border-radius: var(--radius); padding: 8px 8px 12px; text-align: center; cursor: pointer; font-size: 13px; line-height: 18px; transition: border-color .15s; }
.sample svg { height: 84px; margin: 0 auto 4px; }
.sample input { position: absolute; opacity: 0; }
.sample:has(input:checked) { border: 2px solid var(--black); padding: 7px 7px 11px; }
.sample:has(input:disabled:not(:checked)) { opacity: .45; cursor: not-allowed; }
.sample .tick { position: absolute; top: 8px; left: 8px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--n400); display: grid; place-items: center; }
.sample:has(input:checked) .tick { background: var(--black); border-color: var(--black); color: #fff; }
.sample:has(input:focus-visible) { outline: 2px solid var(--black); outline-offset: 2px; }

.summary .h-md { margin-bottom: 16px; }
.promo-form { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--n100); }
.promo-form .row { display: flex; gap: 8px; }
.promo-form .field { border-color: var(--n200); }
.promo-form .btn { flex: none; }
.promo-form .hint.ok { color: var(--green); }
.promo-form .hint.err { color: var(--red); }
.sum-line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; line-height: 20px; margin-bottom: 10px; }
.sum-line.disc { color: var(--red); }
.sum-line button { font-size: 12px; }
.sum-line.total { font-size: 20px; line-height: 28px; font-weight: 700; margin: 16px 0 4px; padding-top: 16px; border-top: 1px solid var(--n100); }
.sum-pts { font-size: 12px; margin-bottom: 16px; }
.pay-icons { display: flex; justify-content: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.pay-icons span { border: 1px solid var(--n100); border-radius: 4px; padding: 2px 8px; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.sum-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; padding: 6px 0 16px 6px; border-bottom: 1px solid var(--n100); max-height: 320px; overflow-y: auto; }
.sum-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; font-size: 13px; line-height: 18px; align-items: center; }
.sum-item .th { position: relative; width: 56px; height: 56px; border: 1px solid var(--n100); border-radius: 6px; }
.sum-item .th i { position: absolute; top: -6px; left: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--n600); color: #fff; font-size: 11px; font-style: normal; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.help-card { display: flex; gap: 12px; font-size: 14px; line-height: 20px; }

.cart-empty { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; min-height: 360px; padding: 40px var(--gutter); max-width: 1246px; margin: 0 auto; width: 100%; }
.oh { transform: rotate(6deg); text-align: center; font-size: 48px; line-height: 56px; }
.oh b { display: block; color: #b81e2c; font-size: 88px; line-height: 96px; }
.cart-empty .cta { text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; font-size: 14px; }
.cart-empty .cta .btn { width: 320px; max-width: 100%; }
.reco { max-width: 1246px; margin: 0 auto 24px; width: calc(100% - 2 * var(--gutter)); padding: 24px 24px 24px 0; }
.reco .sec-head { margin-bottom: 16px; }
.reco .h-lg { font-size: 22px; line-height: 28px; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.fld .label { font-weight: 700; margin-bottom: 6px; }
.fld .label small { font-weight: 400; color: var(--n600); }
.fld .field, .fld select, .fld textarea { border: 1px solid var(--n200); background: #fff; }
.fld textarea { width: 100%; min-height: 88px; padding: 12px; border-radius: var(--radius); font: inherit; resize: vertical; outline: none; }
.fld .field:focus, .fld textarea:focus, .fld select:focus { border-color: var(--ink); }
.fld .field:user-invalid { border-color: var(--red); }
.fld select { appearance: none; -webkit-appearance: none; width: 100%; height: 48px; padding: 0 12px 0 40px; border-radius: var(--radius); cursor: pointer; outline: none; }
.phone { display: flex; }
.phone span { display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--n200); border-left: 0; border-radius: 0 var(--radius) var(--radius) 0; background: var(--n50); font-size: 14px; }
.phone .field { border-radius: var(--radius) 0 0 var(--radius); }
.pw { position: relative; }
.pw .field { padding-left: 48px; }
.pw button { position: absolute; left: 0; top: 0; width: 48px; height: 48px; display: grid; place-items: center; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 20px; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: #000; }

.options { display: flex; flex-direction: column; gap: 12px; }
.opt { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--n200); border-radius: var(--radius); padding: 16px; cursor: pointer; }
.opt:has(input:checked) { border: 2px solid var(--black); padding: 15px; }
.opt input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: #000; }
.opt .ic { flex: none; }
.opt .grow { flex: 1; font-size: 14px; line-height: 20px; }
.opt .grow .b { font-size: 16px; line-height: 24px; }
.opt .price { font-weight: 700; font-size: 14px; white-space: nowrap; }
.opt-more { display: none; margin-top: 12px; }
.opt:has(input:checked) .opt-more { display: block; }
.note { background: var(--n50); border-radius: var(--radius); padding: 12px 16px; font-size: 13px; line-height: 18px; display: flex; gap: 10px; }
.co-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.co-actions .btn-black { min-width: 280px; }
.signed { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.addr-sum { font-size: 14px; line-height: 22px; }

.confirm { max-width: 720px; margin: 40px auto; width: calc(100% - 2 * var(--gutter)); text-align: center; }
.confirm .ok { width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin: 0 auto 16px; }
.confirm h1 { margin-bottom: 8px; }
.confirm .ordno { display: inline-block; background: var(--n50); border-radius: 4px; padding: 4px 12px; font-weight: 700; margin: 12px 0 24px; }
.confirm .sum-items { text-align: right; max-height: none; }
.confirm .btns { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.confirm .btns .btn { min-width: 220px; }

/* ============================================================
   Sign in / register
   ============================================================ */
.auth { max-width: 450px; width: calc(100% - 32px); margin: 32px auto 64px; }
.auth-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 32px; padding: 0 4px; }
.auth-tiles div { aspect-ratio: 5 / 6; border-radius: var(--radius); overflow: hidden; }
.auth-tiles svg { width: 100%; height: 100%; }
.auth h1 { font-size: 26px; line-height: 34px; font-weight: 400; margin-bottom: 24px; }
.auth form { display: flex; flex-direction: column; gap: 20px; }
.auth .sub { font-size: 14px; margin: -16px 0 8px; }
.auth .who { display: flex; justify-content: space-between; align-items: center; background: var(--n50); border-radius: var(--radius); padding: 12px 16px; font-size: 14px; }
.auth .perk { display: flex; gap: 12px; font-size: 12px; line-height: 16px; }
.auth .perk .ico { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #efe6fb; display: grid; place-items: center; }
.auth .fine { font-size: 12px; line-height: 16px; }
.auth .link { font-size: 14px; align-self: flex-start; }
.auth .or { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--n600); }
.auth .or::before, .auth .or::after { content: ''; flex: 1; height: 1px; background: var(--n100); }
.pw-hint { font-size: 12px; line-height: 16px; color: var(--n600); margin-top: 6px; }

.faq details { border-bottom: 1px solid var(--n100); }
.faq summary { padding: 16px 0; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary .ic { transform: rotate(-180deg); }
.faq details p { padding-bottom: 16px; }
.toggle { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--n100); font-size: 14px; gap: 16px; }
.toggle input { appearance: none; -webkit-appearance: none; width: 44px; height: 24px; border-radius: 12px; background: var(--n200); position: relative; cursor: pointer; flex: none; transition: background .2s; }
.toggle input::after { content: ''; position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.toggle input:checked { background: var(--black); }
.toggle input:checked::after { transform: translateX(-20px); }
.btn-link-red { color: var(--red); font-size: 14px; text-decoration: underline; margin-top: 16px; }

@media (max-width: 1023px) {
  .co-wrap { grid-template-columns: minmax(0, 1fr); padding-top: 20px; }
  .co-aside { position: static; }
  .co-hdr-in { height: 64px; }
  .step.current .step-l { display: none; }
  .card { padding: 16px; }
  .cart-items > li { grid-template-columns: 80px 1fr; }
  .ci-img { width: 80px; height: 80px; }
  .ci-qty { grid-column: 2; }
  .ci-price { grid-column: 2; text-align: right; }
  .cart-empty { grid-template-columns: 1fr; min-height: 0; }
  .oh { font-size: 34px; line-height: 42px; } .oh b { font-size: 64px; line-height: 72px; }
  .reco { padding-right: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .co-actions { flex-direction: column-reverse; align-items: stretch; }
  .co-actions .btn-black { min-width: 0; }
  .auth-hdr { height: 64px; }
  .auth-hdr .back span { display: none; }
  .order-h { grid-template-columns: 1fr 1fr; padding: 12px 16px; }
  .order-b { padding: 12px 16px; }
  .order.open .order-d { grid-template-columns: 1fr; }
}

/* ============================================================
   Account (matches the retailer's account area)
   ============================================================ */
.acct { display: grid; grid-template-columns: 354px minmax(0, 1fr); background: var(--n50); min-height: 680px; }
.acct-side { background: var(--n50); }
.as-box { position: sticky; top: 0; background: #fff; border: 1px solid #d7d7d7; padding: 24px 0; }
.as-hi { font-size: 16px; padding: 8px 24px; letter-spacing: .03em; }
.as-txt { font-size: 14px; line-height: 20px; padding: 0 24px; }
.as-btn { display: flex; margin: 12px 24px 16px; min-height: 44px; }
.as-nav { margin-top: 8px; }
.as-link { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 40px; padding: 4px 15px 4px 24px; font-size: 14px; line-height: 18px; text-transform: uppercase; letter-spacing: .02em; position: relative; text-align: right; border-right: 3px solid transparent; }
.as-link span { flex: 1; }
.as-link b { font-weight: 700; }
.as-link:hover span { text-decoration: underline; }
.as-link.on { color: #c30a26; border-right-color: #c30a26; }
.as-link .chev { transition: transform .2s; }
.as-nav li.open > .as-link .chev { transform: rotate(-180deg); }
.as-sub { display: none; padding: 4px 54px 8px 0; }
.as-nav li.open > .as-sub { display: block; }
.as-sub a { display: block; font-size: 13px; line-height: 18px; padding: 8px 0; }
.as-sub a:hover { text-decoration: underline; }
.as-sub a.on { color: #c30a26; }
.as-out { display: flex; width: calc(100% - 48px); margin: 16px 24px 0; min-height: 44px; font-weight: 400; }
.acct-main { padding: 32px 24px 56px; min-width: 0; }
.acct-main > h1 { font-size: 24px; line-height: 32px; font-weight: 400; margin-bottom: 24px; }
.acct-p { font-size: 15px; line-height: 22px; }
.as-inline { margin-top: 20px; min-width: 260px; }

.ov { display: flex; flex-direction: column; gap: 24px; }
.ov-card { background: #fff; padding: 24px; font-size: 16px; line-height: 26px; }
.ov-row { display: flex; align-items: center; gap: 20px; padding: 35px; flex-wrap: wrap; }
.ov-row:hover .ov-t { text-decoration: underline; }
.ov-t { font-size: 20px; line-height: 28px; }
.ov-meta { margin-right: auto; font-size: 14px; }
.ov-sub { font-size: 14px; line-height: 20px; margin-top: 4px; }
.ov-wish { align-items: flex-start; }
.ov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ov-col { display: flex; flex-direction: column; gap: 20px; padding: 24px 20px 28px; }
.ov-h { display: flex; align-items: center; gap: 16px; }
.ov-btns { margin-top: auto; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.ov-btns .btn { width: 100%; font-weight: 400; }
.ov-btns .u { font-size: 16px; }
.pill { display: inline-block; margin-right: 8px; background: var(--n50); border-radius: 12px; padding: 0 10px; font-size: 12px; font-weight: 700; }

/* Personal details */
.pd-card { background: #fff; padding: 24px 24px 32px; margin-bottom: 24px; }
.pd-card h2 { font-size: 18px; line-height: 26px; font-weight: 400; margin-bottom: 20px; }
.pd-card h2.b { font-weight: 700; }
.pd-lbl { font-size: 14px; margin-bottom: 16px; }
.pd-cur { font-size: 14px; line-height: 20px; margin-bottom: 20px; }
.seg { display: flex; gap: 40px; margin-bottom: 20px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: grid; place-items: center; width: 182px; height: 36px; border: 1px solid var(--ink); border-radius: 4px; font-size: 14px; }
.seg input:checked + span { background: var(--black); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--black); outline-offset: 2px; }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; max-width: 680px; margin-bottom: 24px; }
.uf { position: relative; padding-top: 14px; }
.uf input, .uf select { width: 100%; height: 34px; border: 0; border-bottom: 1px solid #8c8c8c; background: transparent; font-size: 14px; outline: none; padding: 6px 0 2px; border-radius: 0; appearance: none; -webkit-appearance: none; }
.uf input:focus, .uf select:focus { border-bottom-color: var(--black); }
.uf label { position: absolute; right: 0; top: 22px; font-size: 14px; font-style: italic; color: #8c8c8c; pointer-events: none; transition: top .15s, font-size .15s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.uf input:focus + label, .uf input:not(:placeholder-shown) + label, .uf label.up, .uf select:focus + label, .uf input[type="date"] + label { top: 2px; font-size: 10px; }
.uf input[readonly] { color: var(--black); }
.uf-eye { position: absolute; left: 0; top: 18px; width: 32px; height: 28px; display: grid; place-items: center; }
.uf-phone { display: flex; align-items: flex-end; gap: 12px; }
.uf-phone .cc { display: flex; align-items: center; gap: 6px; height: 34px; border-bottom: 1px solid #8c8c8c; font-size: 14px; padding: 0 0 0 8px; }
.uf-phone label { right: 88px; }
.flag-iq { flex: none; width: 21px; height: 14px; border-radius: 2px; display: block; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.btn-grey { background: #8c8c8c; color: #fff; border: 0; min-width: 282px; font-weight: 400; cursor: not-allowed; }
.pd-card .btn-black { min-width: 282px; font-weight: 400; }
.pw-rules { font-size: 11px; line-height: 16px; margin-top: 12px; }
.pw-rules ul { list-style: disc; padding-right: 20px; margin: 4px 0 12px; color: var(--n600); }
.pw-rules li.ok { color: var(--green); }
.pw-rules li.ok::marker { content: '✓ '; }
.pw-bar { height: 3px; background: var(--n100); margin-top: 4px; }
.pw-bar span { display: block; height: 100%; width: 0; transition: width .2s; }
.pd-checks { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.pd-checks .check span { display: inline-flex; align-items: center; gap: 8px; }
.pd-acc { padding: 0; }
.pd-acc-h { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 24px; font-size: 18px; }
.pd-acc .pd-acc-h .ic { transition: transform .2s; }
.pd-acc.open .pd-acc-h .ic { transform: rotate(-180deg); }
.pd-acc-b { display: none; padding: 0 24px 24px; font-size: 14px; line-height: 20px; }
.pd-acc.open .pd-acc-b { display: block; }
.btn-outline-red { border: 2px solid var(--red); color: var(--red); background: #fff; margin-top: 16px; }
.legal-txt { font-size: 11px; line-height: 17px; color: var(--n600); margin-top: 32px; max-width: 1040px; }

/* Address book */
.ab-h { font-size: 18px; font-weight: 400; margin-bottom: 12px; }
.ab-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.ab-card { font-size: 14px; line-height: 22px; }
.ab-act { display: flex; gap: 16px; margin-top: 12px; font-size: 13px; }
.pm-card { margin-bottom: 24px; }
.pm-t { font-size: 18px; margin-bottom: 4px; }
.fav-store { display: flex; gap: 16px; font-size: 14px; line-height: 22px; }
.gc-visual { background: linear-gradient(-135deg, #1a1a1a, #5a2a42); color: #fff; border-radius: 12px; padding: 24px; min-height: 200px; display: flex; flex-direction: column; justify-content: space-between; font-size: 12px; letter-spacing: .2em; }
.gc-visual .wordmark { font-size: 20px; }

/* Side drawer (address / store) */
.side-drawer { position: fixed; top: 0; left: 0; bottom: 0; width: min(440px, 100vw); background: #fff; z-index: 90; display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .3s ease; }
.side-drawer.on { transform: none; }
.sd-top { display: flex; justify-content: space-between; align-items: center; padding: 8px 20px 8px 8px; border-bottom: 1px solid var(--n100); min-height: 56px; }
.sd-top p { font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.sd-body { flex: 1; overflow-y: auto; padding: 20px 20px 32px; }
.sd-body form { display: flex; flex-direction: column; gap: 18px; }
.sd-sec { font-size: 15px; margin-top: 4px; }
.sd-f label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.sd-in { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #c9c9c9; border-radius: var(--radius); background: #f7f7f7; font-size: 14px; outline: none; appearance: none; -webkit-appearance: none; }
.sd-in:focus { border: 2px solid var(--black); background: #fff; }
.sd-in[readonly] { color: var(--n800); }
.sd-hint { font-size: 11px; line-height: 15px; margin-top: 6px; color: var(--n800); }
.sd-phone { display: flex; gap: 8px; }
.sd-cc { flex: none; display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 10px; border: 1px solid #c9c9c9; border-radius: var(--radius); font-size: 14px; }
.sd-link { align-self: flex-start; font-size: 13px; }

/* ============================================================
   Loyalty programme page
   ============================================================ */
.serif { font-family: 'Didot', 'Bodoni 72', 'Bodoni MT', Georgia, 'Times New Roman', serif; font-weight: 700; letter-spacing: 0; }
.ly-band { background: var(--black); color: #fff; height: 108px; display: flex; flex-direction: column; justify-content: center; padding: 0 64px; gap: 6px; }
.ly-band .wordmark { font-size: 30px; }
.ly-tag { font-size: 10px; letter-spacing: .12em; }
.ly-hero { height: 470px; overflow: hidden; margin: 0 64px; }
.ly-hero > div, .ly-hero svg, .ly-strip svg { width: 100%; height: 100%; display: block; }
.ly-box { position: relative; max-width: 1086px; margin: -120px auto 0; background: var(--black); color: #fff; border-radius: 8px; padding: 48px 32px 40px; text-align: center; }
.ly-box h1 { font-size: 34px; line-height: 44px; max-width: 1000px; margin: 0 auto 32px; }
.ly-box em, .ly-tiers em.orange { font-style: normal; }
.ly-box em { color: #f2c94c; }
.ly-cards { display: grid; grid-template-columns: repeat(3, 254px); gap: 40px; justify-content: center; margin-bottom: 24px; }
.ly-cards div { background: #fff; color: var(--black); border-radius: 6px; border-top: 5px solid #f2c94c; padding: 28px 16px; min-height: 200px; }
.ly-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--black); color: #fff; display: grid; place-items: center; margin: 0 auto 24px; }
.ly-cards p { font-family: Georgia, serif; font-weight: 700; font-size: 15px; line-height: 24px; }
.ly-note { font-family: Georgia, serif; font-size: 13px; margin-bottom: 20px; }
.ly-btn { border: 1px solid #fff; color: #fff; min-height: 40px; padding: 6px 18px; font-weight: 400; border-radius: 4px; background: transparent; }
.ly-btn:hover { background: #fff; color: #000; }
.ly-sec { max-width: 1086px; margin: 80px auto; width: calc(100% - 32px); }
.ly-sec h2 { font-size: 30px; line-height: 40px; margin-bottom: 64px; }
.purple { color: #7b3f98; font-style: normal; }
.ly-offer { display: grid; grid-template-columns: 300px 1fr; gap: 120px; align-items: center; padding: 0 72px; }
.ly-15 { height: 190px; background: var(--black); color: #fff; border-radius: 6px; display: grid; place-items: center; font-size: 68px; font-weight: 400; }
.ly-offer p { font-size: 14px; line-height: 22px; }
.ly-offer p:first-child { margin-bottom: 16px; }
.ly-tiers { background: var(--black); color: #fff; border-top: 6px solid #d9613a; padding: 72px 16px 64px; }
.ly-in { max-width: 1086px; margin: 0 auto; }
.ly-tiers h2 { font-size: 30px; line-height: 40px; }
.ly-tiers .orange { color: #d9613a; }
.ly-sub { font-size: 16px; line-height: 26px; max-width: 480px; margin: 12px 0 40px; }
.ly-tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: start; margin-bottom: 40px; }
.ly-tier { background: #fff; color: var(--black); border-radius: 8px; padding: 36px 24px 40px; text-align: center; min-height: 460px; border: 4px solid transparent; }
.ly-tier.gold { border-color: #c9a86a; }
.ly-tier svg { margin: 0 auto 16px; }
.ly-tn { font-size: 30px; line-height: 36px; font-weight: 700; margin-bottom: 12px; }
.ly-range { display: inline-block; background: var(--n50); font-size: 11px; padding: 4px 10px; margin-bottom: 24px; }
.ly-tier ul { text-align: right; display: flex; flex-direction: column; gap: 14px; }
.ly-tier li { display: flex; gap: 12px; font-size: 14px; line-height: 20px; width: 100%; justify-content: flex-start; }
.ly-tier li span { flex: 1; text-align: right; }
.ly-tier li .ic { flex: none; }
.ly-center { text-align: center; margin-top: 24px; }
.ly-faq h2 { text-align: center; margin-bottom: 24px; }
.ly-faq details { background: #fff; border: 1px solid #eee; border-radius: 6px; box-shadow: 0 1px 4px rgba(0,0,0,.06); margin-bottom: 12px; }
.ly-faq summary { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; }
.ly-faq summary::-webkit-details-marker { display: none; }
.ly-faq details[open] summary .ic { transform: rotate(-180deg); }
.ly-faq details p { padding: 0 20px 16px; font-size: 14px; line-height: 22px; }
.ly-faq .btn-outline { min-width: 280px; font-weight: 400; margin-top: 32px; }
.ly-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; height: 360px; }

.count { background: #c30a26; }

@media (max-width: 1023px) {
  .acct { grid-template-columns: minmax(0, 1fr); }
  .as-box { position: static; border-width: 0 0 1px; padding: 16px 0 0; }
  .as-hi { padding: 0 16px 8px; }
  .as-txt { padding: 0 16px; }
  .as-btn { margin: 12px 16px 16px; }
  .as-nav { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0; }
  .as-nav > li { flex: none; }
  .as-link { white-space: nowrap; padding: 10px 14px; border-right: 0; border-bottom: 3px solid transparent; }
  .as-link.on { border-bottom-color: #c30a26; }
  .as-link .ic:not(.chev) { display: none; }
  .as-sub { display: none !important; }
  .as-out { display: none; }
  .acct-main { padding: 24px 16px 48px; }
  .ov-grid, .pd-grid { grid-template-columns: 1fr; }
  .ov-row { padding: 24px; }
  .seg { gap: 12px; }
  .seg span { width: 120px; }
  .btn-grey, .pd-card .btn-black { min-width: 0; width: 100%; }
  .as-inline { min-width: 0; width: 100%; }
  .ly-band { padding: 0 16px; height: 88px; }
  .ly-hero { margin: 0; height: 300px; }
  .ly-box { margin: -60px 16px 0; padding: 32px 16px; }
  .ly-box h1 { font-size: 24px; line-height: 32px; }
  .ly-cards { grid-template-columns: 1fr; gap: 16px; }
  .ly-cards div { min-height: 0; }
  .ly-sec { margin: 48px auto; }
  .ly-sec h2, .ly-tiers h2 { font-size: 24px; line-height: 32px; margin-bottom: 32px; }
  .ly-offer { grid-template-columns: 1fr; gap: 24px; padding: 0; }
  .ly-tier-grid { grid-template-columns: 1fr; }
  .ly-tier { min-height: 0; }
  .ly-strip { grid-template-columns: 1fr; height: auto; }
  .ly-strip > div { height: 220px; }
}

/* Shared account bits (orders, progress, thumbnails) */
.prog { height: 6px; background: var(--n100); border-radius: 3px; overflow: hidden; }
.prog span { display: block; height: 100%; background: var(--black); }
.thumbs-row { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.thumbs-row > * { width: 56px; height: 56px; border: 1px solid var(--n100); border-radius: 6px; background: #fff; }
.status { display: inline-block; background: #fff3cd; color: #7a5a00; border-radius: 12px; padding: 0 10px; font-size: 12px; line-height: 20px; font-weight: 700; }
.order { background: #fff; margin-bottom: 16px; overflow: hidden; }
.order-h { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--n100); font-size: 13px; line-height: 18px; align-items: center; }
.order-h b { display: block; font-size: 14px; }
.order-b { padding: 16px 24px; }
.order-d { display: none; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--n100); }
.order.open .order-d { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; font-size: 13px; line-height: 20px; }
.order-d .sum-items { border: 0; margin: 0; padding: 6px 0 0 6px; max-height: none; overflow: visible; }
.order-inv { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; }
.order-inv .btn { display: inline-flex; align-items: center; gap: 8px; }
.acct .grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
@media (max-width: 1023px) {
  .order-h { grid-template-columns: 1fr 1fr; padding: 12px 16px; }
  .order-b { padding: 12px 16px; }
  .order.open .order-d { grid-template-columns: 1fr; }
}


/* ============================================================
   Checkout pages — measured against the reference checkout
   ============================================================ */
body[data-layout="checkout"] { background: var(--n50); }
.co-hdr { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid #d7d7d7; }
body[data-step="1"] .co-hdr { top: -37px; }
.co-hdr-in { max-width: none; height: 88px; padding: 0 97px 0 104px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.co-logo { display: flex; align-items: center; gap: 7px; }
.co-logo .wordmark { font-size: 32px; line-height: 34px; letter-spacing: .26em; }
.co-back { color: var(--red); display: grid; place-items: center; width: 20px; height: 28px; }
.co-back .ic { stroke-width: 2.2; }
.steps { display: flex; align-items: center; gap: 12px; }
.step { display: flex; align-items: center; gap: 17px; font-size: 14px; line-height: 22px; }
.step a { display: block; border-radius: 50%; }
.step-n { width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; background: var(--n50); color: #bdbdbd; font-size: 14px; font-weight: 700; }
.step .step-l { display: none; }
.step.current .step-n { background: #d50032; color: #fff; }
.step.current .step-l { display: inline; margin-left: 12px; }
.step.done .step-n { background: var(--black); color: #fff; }

.c-wrap { width: 100%; max-width: 1238px; margin: 0 auto; padding: 32px 0 0; }
.c-grid { display: grid; grid-template-columns: minmax(0, 722px) minmax(0, 458px); gap: 58px; align-items: start; }
.c-card { background: #fff; }
.c-title { font-size: 25px; line-height: 30px; font-weight: 700; letter-spacing: .03em; }
.c-items { padding: 32px; }
.c-items .c-title { margin-bottom: 20px; }
.c-item { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px; padding: 15px 0; }
.c-item + .c-item { border-top: 1px solid #ececec; }
.c-img { width: 120px; height: 120px; }
.c-info { display: flex; flex-direction: column; padding-left: 110px; min-width: 0; }
.c-brand { font-size: 15px; line-height: 21px; font-weight: 700; text-transform: uppercase; margin-top: 8px; }
.c-name { font-size: 14px; line-height: 18px; color: #595959; margin-top: 2px; }
.c-meta { font-size: 14px; line-height: 18px; color: #595959; }
.c-brand:hover, .c-name:hover { text-decoration: underline; }
.c-ctrl { display: flex; align-items: center; gap: 25px; margin-top: 22px; }
.c-qty { position: relative; display: flex; align-items: center; width: 65px; height: 30px; border: 1px solid #e0e0e0; cursor: pointer; }
.c-qty .ic { position: absolute; right: 10px; color: #d50032; stroke-width: 2.4; pointer-events: none; }
.c-qty select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; width: 100%; height: 100%; padding: 0 30px 0 12px; font-size: 15px; font-weight: 700; cursor: pointer; outline: none; }
.c-qty:focus-within { outline: 2px solid var(--black); outline-offset: 1px; }
.c-remove { font-size: 13px; line-height: 18px; text-transform: uppercase; padding: 10px 0; margin: -10px 0; }
.c-remove:hover { text-decoration: underline; }
.c-heart { position: absolute; top: 20px; left: 0; width: 28px; height: 28px; display: grid; place-items: center; }
.c-heart.on svg { fill: var(--black); }
.c-price { position: absolute; left: 0; bottom: 18px; font-size: 16px; line-height: 24px; }

.c-right { display: flex; flex-direction: column; gap: 20px; }
.c-loy { padding: 16px; }
.c-loy-t { font-size: 16px; line-height: 24px; font-weight: 700; }
.c-loy-row { display: flex; gap: 8px; margin: 16px 0; align-items: center; }
.c-loy-img { flex: none; width: 72px; height: 73px; background: #fbe8f1; }
.c-loy-row p { font-size: 16px; line-height: 21px; }
.c-check { display: flex; gap: 16px; align-items: flex-start; font-size: 16px; line-height: 20px; cursor: pointer; }
.c-check input { flex: none; appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 2px 0 0; border: 1.5px solid var(--black); border-radius: 2px; display: grid; place-items: center; cursor: pointer; background: #fff; }
.c-check input:checked { background: var(--black); }
.c-check input:checked::after { content: ''; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.c-check input:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }
.c-terms { font-size: 13px; line-height: 18px; margin: 16px 0 0; gap: 10px; }
.c-terms.err input { border-color: var(--red); }

.c-promo { padding: 24px; }
.c-promo-h { width: 100%; display: flex; justify-content: space-between; align-items: center; font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: .02em; text-align: right; }
.c-promo-h .ic { transition: transform .2s; }
.c-promo:not(.open) .c-promo-h .ic { transform: rotate(-180deg); }
.c-promo-b { display: none; margin-top: 10px; }
.c-promo.open .c-promo-b { display: block; }
.c-promo-l { display: block; font-size: 14px; line-height: 20px; font-weight: 500; margin-bottom: 4px; }
.c-promo-row { display: flex; gap: 10px; }
.c-promo-row input { flex: 1; min-width: 0; height: 48px; border: 1px solid #d7d7d7; border-radius: 8px; background: #fbfbfb; padding: 0 15px; font-size: 14px; font-weight: 700; outline: none; text-transform: uppercase; }
.c-promo-row input:focus { border: 2px solid var(--black); padding: 0 14px; }
.c-ok { flex: none; width: 114px; height: 48px; border-radius: 8px; background: var(--black); color: #fff; font-size: 16px; font-weight: 700; }
.c-ok:hover { background: var(--n800); }
.c-hint { font-size: 12px; line-height: 16px; font-weight: 500; margin-top: 6px; }
.c-hint.err { color: var(--red); }
.c-applied { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 12px; font-size: 13px; color: var(--green); }
.c-applied button { color: var(--black); font-size: 12px; }

.c-sum { padding: 24px; }
.c-sum-t { font-size: 25px; line-height: 30px; font-weight: 700; letter-spacing: .03em; padding-bottom: 10px; }
.c-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; line-height: 20px; }
.c-sum .c-row:first-of-type { margin-top: 18px; }
.c-sum .c-row + .c-row { margin-top: 13px; }
.c-row b { font-size: 16px; }
.c-row .ic { display: inline-block; vertical-align: -3px; margin-right: 4px; }
.c-row.disc { color: var(--red); }
.c-row.c-total { border-top: 1px solid #d7d7d7; padding-top: 20px; margin-top: 18px !important; }
.c-total b:first-child { font-size: 16px; }
.c-row .big { font-size: 20px; line-height: 24px; white-space: nowrap; }
.c-vat { font-size: 12px; line-height: 13px; color: #595959; margin-top: 4px; }
.c-cta { margin-top: 16px; text-transform: uppercase; font-size: 16px; letter-spacing: .02em; }
.c-pay { display: flex; justify-content: center; gap: 6px; margin-top: 15px; }
.c-secure { text-align: center; font-size: 14px; line-height: 17px; font-weight: 700; margin-top: 8px; letter-spacing: .05em; }

.c-reco { margin-top: 32px; padding: 32px 24px; }
.c-reco .c-title { margin-bottom: 24px; }
.c-reco .pcard { outline: 0; }
.c-reco .car-btn { border-radius: 50%; top: 200px; }
.c-reco .car-track { padding-left: 0; }
.c-reco .car-progress { margin-left: 0; }

.c-reass { background: #fff; margin-top: 32px; padding: 20px 0; }
.c-reass-in { max-width: 1238px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.c-reass-i { display: flex; align-items: center; gap: 20px; padding: 0 24px; min-height: 56px; font-size: 14px; line-height: 20px; }
.c-reass-i .ic { flex: none; }
.c-reass-i + .c-reass-i { border-right: 1px solid #d7d7d7; }
.c-reass-i .b { font-size: 16px; line-height: 20px; }
.c-reass-i .b .ic { display: inline-block; vertical-align: -3px; }

.c-empty { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; min-height: 360px; padding: 20px 40px; }
.c-empty .cta { text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; font-size: 14px; }
.c-empty .cta .btn { width: 320px; max-width: 100%; }

/* Delivery / payment steps */
.co2 { width: 100%; max-width: 1178px; margin: 0 auto; padding: 80px 0 64px; display: grid; grid-template-columns: minmax(0, 687px) minmax(0, 450px); gap: 41px; align-items: start; }
.co2-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.co2-side { position: sticky; top: 112px; min-width: 0; }
.c-h3 { font-size: 20px; line-height: 28px; font-weight: 700; padding: 24px; }
.c-deliv { padding-bottom: 8px; }
.c-opt { position: relative; display: flex; align-items: flex-start; gap: 16px; padding: 32px 40px; border-bottom: 1px solid #d7d7d7; cursor: pointer; }
.c-opt:first-of-type { border-top: 0; }
.c-opt > input { position: absolute; opacity: 0; pointer-events: none; }
.c-radio { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--black); display: grid; place-items: center; margin-top: 2px; }
.c-opt > input:checked + .c-radio::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--black); }
.c-opt > input:focus-visible + .c-radio { outline: 2px solid var(--black); outline-offset: 3px; }
.c-opt-b { flex: 1; min-width: 0; }
.c-opt-t { font-size: 16px; line-height: 32px; font-weight: 700; margin-top: -4px; }
.c-opt-d { font-size: 14px; line-height: 20px; font-weight: 500; color: #666; }
.c-opt-ic { flex: none; }
.c-pill { display: inline-block; margin-top: 8px; background: #e1f6df; color: #04784e; border-radius: 4px; padding: 4px 8px; font-size: 15px; line-height: 20px; font-weight: 700; }
.c-pill.fee { background: var(--n50); color: var(--black); }
.c-addr { margin-top: 16px; padding: 16px; background: var(--n50); border-radius: 8px; font-size: 14px; line-height: 21px; }
.c-addr-act { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; font-size: 13px; }
.c-note { display: flex; gap: 8px; margin-top: 10px; font-size: 13px; line-height: 18px; color: #4c4c4c; }
.c-note .ic { flex: none; margin-top: 1px; }
.c-bill { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 30px 24px 22px; font-size: 16px; font-weight: 700; }
.c-bill.off > span:first-child { color: #bdbdbd; }
.c-bill-v { font-size: 14px; font-weight: 500; color: #666; }
.c-bill-link { font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.c-recap { padding-bottom: 24px; }
.c-recap-h { display: flex; justify-content: space-between; align-items: center; padding-left: 24px; }
.c-recap-h a { font-size: 14px; font-weight: 700; }
.c-recap-b { display: flex; gap: 20px; padding: 0 24px; }
.c-recap-a { font-size: 14px; line-height: 21px; margin-top: 10px; }
.c-gift { padding: 24px; }
.c-gift textarea { width: 100%; min-height: 88px; margin-top: 16px; padding: 12px; border: 1px solid #d7d7d7; border-radius: 8px; background: #fbfbfb; font: inherit; font-size: 14px; resize: vertical; outline: none; }
.c-gift textarea:focus { border-color: var(--black); }

.c-sum2 { padding: 24px; }
.c-sum2-t { font-size: 20px; line-height: 28px; font-weight: 700; }
.c-sum2-n { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 10px 0 16px; font-size: 16px; line-height: 20px; }
.c-sum2-n .ic { transition: transform .2s; }
.c-sum2-n.open .ic { transform: rotate(-180deg); }
.c-sum2-items { display: flex; flex-direction: column; gap: 12px; padding-bottom: 16px; }
.c-mini { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: 13px; line-height: 18px; }
.c-mini-img { width: 56px; height: 56px; }
.c-row.c-line { border-top: 1px solid #d7d7d7; padding: 16px 0 12px; }
.c-row.c-tot { padding-bottom: 0; }
.c-tot b:first-child { font-size: 14px; }
.c-sum2 .c-cta { margin-top: 20px; }
.c-help { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px; margin: 24px 0; font-size: 13px; line-height: 18px; font-weight: 500; }
.c-help-t { font-size: 16px; line-height: 22px; font-weight: 700; }
.c-legal { font-size: 14px; line-height: 22px; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.c-legal.open { display: block; }
.c-legal-more { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; margin-top: 8px; }

.confirm { max-width: 720px; margin: 80px auto 64px; width: calc(100% - 32px); padding: 40px; text-align: center; }
.confirm .c-row { text-align: right; }
.confirm .c-sum2-items { text-align: right; margin-top: 8px; }

@media (max-width: 1279px) {
  .co-hdr-in { padding: 0 24px; }
  .c-wrap, .co2 { padding-right: 24px; padding-left: 24px; }
  .c-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; }
  .co2 { grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; }
}
@media (max-width: 1023px) {
  body[data-step="1"] .co-hdr { top: -77px; }
  .co-hdr-in { height: 64px; padding: 0 16px; }
  .co-logo .wordmark { font-size: 20px; }
  .step.current .step-l { display: none; }
  .c-wrap, .co2 { padding: 16px 0 0; }
  .c-grid, .co2 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .co2 { padding-bottom: 32px; }
  .co2-side { position: static; padding: 0 16px; }
  .co2-main { gap: 16px; }
  .c-items { padding: 20px 16px; }
  .c-item { grid-template-columns: 88px minmax(0, 1fr); }
  .c-img { width: 88px; height: 88px; }
  .c-info { padding-left: 32px; }
  .c-price { position: static; grid-column: 2; margin-top: 8px; }
  .c-right { gap: 16px; }
  .c-reco { margin: 16px 0 0; padding: 20px 16px 20px 0; }
  .c-reass-in { grid-template-columns: 1fr; }
  .c-reass-i { padding: 12px 16px; }
  .c-reass-i + .c-reass-i { border-right: 0; border-top: 1px solid #d7d7d7; }
  .c-empty { grid-template-columns: 1fr; padding: 32px 16px; min-height: 0; }
  .c-opt { padding: 20px 16px; gap: 16px; }
  .c-h3 { padding: 20px 16px; }
  .c-bill { padding: 20px 16px; }
}
.c-reco .pc-btn, .c-reco .car-progress { display: none; }
.c-reco .pc-brand { text-transform: uppercase; }
.c-reco .pcard { min-height: 0; }
.c-sum2-items[hidden] { display: none; }
.co-back { width: 22px; }
.co-back .ic { width: 30px; height: 30px; stroke-width: 2.4; }
.c-opt .c-note { display: none; }
.c-opt > input:checked ~ .c-opt-b .c-note { display: flex; }
/* The tab bar takes the tab's own colour (pink collection tab, red offers tab), like the reference */
.nav-list a.pink.active::after, .nav-list a.pink:hover::after { background: var(--pink); }
.nav-list a.red.active::after, .nav-list a.red:hover::after { background: var(--red); }
.mega-list a.pink { color: #d92282; }

/* Full-screen filter / sort panels (phones) */
.sheet { position: fixed; inset: 0; z-index: 95; background: #fff; overflow: hidden; transform: translateY(100%); transition: transform .3s ease; }
.sheet.on { transform: none; }
.sh-panel { position: absolute; inset: 0; display: flex; flex-direction: column; background: #fff; transition: transform .3s ease; }
.sh-sub { transform: translateX(-100%); }
.sheet.sub .sh-sub.on { transform: none; }
.sh-top { display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 16px; border-bottom: 1px solid #d6d6d6; }
.sh-top p { flex: 1; font-size: 16px; line-height: 24px; font-weight: 700; }
.sh-top button { width: 32px; height: 32px; display: grid; place-items: center; }
.sh-body { flex: 1; overflow-y: auto; }
.sh-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: calc(100% - 32px); margin: 0 16px; min-height: 73px; padding: 16px 0; border-bottom: 1px solid #d6d6d6; font-size: 16px; line-height: 24px; font-weight: 500; text-align: right; cursor: pointer; }
.sh-opt { padding: 16px 8px; }
.sh-opt input { position: absolute; opacity: 0; pointer-events: none; }
.sh-opt .box, .sh-opt .rad { flex: none; width: 24px; height: 24px; border: 2px solid var(--black); display: grid; place-items: center; }
.sh-opt .box { border-radius: 2px; }
.sh-opt .rad { border-radius: 50%; }
.sh-opt input:checked + .box { background: var(--black); }
.sh-opt input:checked + .box::after { content: ''; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.sh-opt input:checked + .rad::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--black); }
.sh-opt:has(input[type=radio]:checked) > span { font-weight: 700; }
.sh-opt input:focus-visible + i { outline: 2px solid var(--black); outline-offset: 2px; }
.sh-opt .cnt { display: inline-block; margin-right: 6px; background: var(--n100); font-size: 11px; line-height: 18px; font-weight: 700; padding: 0 5px; border-radius: 2px; vertical-align: 2px; }
.sh-pad { padding: 16px; }
.sh-search { background: var(--n50); border: 1px solid #d6d6d6; }
.sh-foot { border-top: 1px solid #d6d6d6; padding: 12px 16px; }
.sh-foot .btn { font-weight: 400; }
.search-ov { position: fixed; top: 0; right: 0; left: 0; z-index: 60; height: 64px; background: #fff; display: flex; align-items: center; gap: 16px; padding: 8px 16px; box-shadow: 0 0 0 100vh rgba(0,0,0,.5); }
.search-ov[hidden] { display: none; }
.search-ov .search { max-width: none; flex: 1; }
.search-ov .search .ic { width: 32px; height: 32px; }
.search-ov .icon-btn { width: 32px; height: 32px; }

/* ============================================================
   Product page — structure from the reference phone captures
   ============================================================ */
.star-ic { display: inline-block; vertical-align: -3px; }
.buy .rate { font-size: 14px; }
.buy .rate b { font-weight: 700; }
.shade-lbl { font-size: 16px; line-height: 24px; }
button.variant { width: 100%; text-align: right; border: 1px solid #d6d6d6; border-radius: 8px; padding: 8px 16px; min-height: 58px; gap: 16px; font-size: 16px; cursor: default; }
button.variant[data-shades] { cursor: pointer; }
button.variant .ic { margin-right: auto; flex: none; }
.variant .sw, .sh-shade .sw { flex: none; width: 40px; height: 40px; border-radius: 50%; display: inline-block; }
.swatches { gap: 9px; }
.swatches button { width: 40px; height: 40px; border: 3px solid #fff; outline: 1px solid transparent; }
.swatches button.on { outline: 1px solid var(--black); }
.box.loyal { border: 1px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(-90deg, #a9cdfb, #e3b8f2) border-box; }
.details .b { margin-bottom: 8px; font-size: 16px; }
.details p.txt { -webkit-line-clamp: 5; font-size: 16px; line-height: 24px; }
.details [data-more] { margin-top: 16px; font-size: 16px; }
.pdp-acc details { border-top: 1px solid #d6d6d6; }
.pdp-acc details:last-child { border-bottom: 1px solid #d6d6d6; }
.pdp-acc summary { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; font-weight: 700; font-size: 16px; line-height: 24px; cursor: pointer; list-style: none; }
.pdp-acc summary::-webkit-details-marker { display: none; }
.pdp-acc summary .ic { transition: transform .2s; }
.pdp-acc details[open] summary .ic { transform: rotate(90deg); }
.pdp-acc details p { padding: 0 0 16px; font-size: 14px; line-height: 22px; }

.rev-avg { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 16px; }
.rev-avg .stars { font-size: 20px; letter-spacing: 3px; }
.rev-n { margin-top: 8px; }
.rev-sort { max-width: 360px; margin-bottom: 24px; }
.rev-bars label { width: 110px; }
.rev-bars input:disabled { opacity: .3; }
.rev-side { display: flex; flex-direction: column; gap: 12px; align-self: start; }
.rev-side .btn { font-weight: 700; }
.rev-terms { font-size: 14px; align-self: flex-start; }
.rev-list { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; max-width: 760px; }
.rev-card { border: 1px solid #d6d6d6; border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 24px; }
.rev-top { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.rev-top .stars { font-size: 18px; letter-spacing: 3px; }
.rev-txt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rev-txt.open { display: block; }
.rev-more { align-self: flex-start; margin-top: -10px; margin-right: 4px; font-size: 16px; }
.rev-help { border-top: 1px solid #d6d6d6; margin: 0 -16px; padding: 16px 16px 0; display: flex; flex-direction: column; gap: 12px; }
.rev-votes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rev-votes button { height: 48px; border-radius: 999px; background: #efefef; border: 1px solid #e3e3e3; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 16px; }
.rev-votes button.on { background: var(--black); color: #fff; }
.rev-votes .ic.down { transform: scaleY(-1); }
.rev-help .u { font-size: 16px; align-self: flex-start; }
.rev-prog { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 32px; font-size: 14px; text-align: center; }
.rev-prog .bar { width: 100%; max-width: 240px; height: 6px; background: var(--n100); border-radius: 3px; overflow: hidden; }
.rev-prog .bar span { display: block; height: 100%; background: var(--black); }
.rev-prog .btn { max-width: 320px; }

.brand-block { margin: 32px 24px 48px; border: 1px solid #d6d6d6; border-radius: 8px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.bb-img { display: block; height: 320px; }
.bb-img svg { width: 100%; height: 100%; }
/* The brand's highest-rated product on a white background, with its rating in a small label */
.bb-photo { position: relative; display: grid; place-items: center; padding: 24px 24px 72px; background: #fff; border-left: 1px solid #ececec; }
.bb-photo img { max-width: 100%; max-height: 100%; object-fit: contain; min-height: 0; }
.bb-photo:hover img { transform: scale(1.03); }
.bb-photo img { transition: transform .3s; }
.bb-cap { position: absolute; right: 16px; bottom: 16px; left: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; font-size: 13px; line-height: 18px; }
.bb-cap b { background: var(--black); color: #fff; padding: 2px 8px; border-radius: var(--radius-sm); font-size: 12px; }
.bb-cap-n { flex: 1 1 160px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-cap-r { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.bb-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.bb-t { font-weight: 700; text-transform: uppercase; font-size: 16px; line-height: 24px; }
.bb-txt { font-size: 14px; line-height: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bb-body .u { font-size: 14px; align-self: flex-start; }
.bb-btn { text-transform: uppercase; margin-top: 8px; }

.sh-shade { display: flex; align-items: center; gap: 16px; }

@media (max-width: 1023px) {
  .pdp { padding: 0 0 32px; gap: 24px; }
  .gal-m { position: relative; }
  .gal-m .badge { position: absolute; top: 16px; right: 24px; z-index: 2; }
  .gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .gal-track::-webkit-scrollbar { display: none; }
  .gal-slide { flex: 0 0 100%; scroll-snap-align: start; height: 360px; display: grid; place-items: center; grid-template: minmax(0, 1fr) / minmax(0, 1fr); padding: 48px 72px 16px; }
  .gal-slide svg { width: 100%; height: 100%; }
  .gal-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; display: grid; place-items: center; }
  .gal-btn.prev { right: 32px; } .gal-btn.next { left: 32px; }
  .gal-dots { display: flex; justify-content: center; gap: 8px; padding: 16px 0 8px; }
  .gal-dots span { width: 8px; height: 8px; border-radius: 4px; background: #595959; transition: width .2s; }
  .gal-dots span.on { width: 32px; background: #595959; }
  .buy { padding: 0 16px; gap: 16px; }
  .buy .brand-link { font-size: 16px; line-height: 24px; }
  .buy h1 { font-size: 20px; line-height: 28px; margin-top: -4px; }
  .buy-row { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 0; font-size: 16px; }
  .buy .rate { font-size: 16px; }
  .buy .price { font-size: 20px; line-height: 28px; margin-top: 0; }
  .buy .price + .pc-unit { margin-top: -16px; font-size: 14px; color: #595959; }
  .add-row .btn-black { font-size: 16px; }
  .details p.txt { -webkit-line-clamp: 5; }
  .sec-head .h-lg { font-size: 20px; }
  .reviews { padding: 32px 16px 16px; }
  .reviews .h-md { font-size: 20px; line-height: 28px; }
  .rev-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
  .rev-sort { max-width: none; }
  .rev-list { margin-top: 32px; }
  .brand-block { grid-template-columns: 1fr; margin: 32px 16px; }
  .bb-img { height: 200px; }
  .bb-photo { height: 300px; padding: 16px 16px 64px; border-left: 0; border-bottom: 1px solid #ececec; }
  .bb-body { padding: 16px; }
}

/* ============================================================
   Phone: bag, checkout, account, sign-in (from the reference phone captures)
   ============================================================ */
.c-sticky { display: none; }
@media (max-width: 1023px) {
  /* Bag: loyalty first, cards edge to edge on grey, total + button in a bottom bar */
  body[data-page="cart"], body[data-page="checkout"] { padding-bottom: 96px; }
  .c-wrap { padding: 0; }
  /* stretch: every card takes the full width (the desktop grid's align-items: start would shrink them to their text) */
  .c-grid { display: flex; flex-direction: column; align-items: stretch; gap: 20px; }
  .c-grid > *, .c-right > * { min-width: 0; }
  .c-right { display: contents; }
  .c-loy { order: 1; margin: 16px 14px 0; }
  .c-left { order: 2; }
  .c-promo { order: 3; }
  .c-sum { order: 4; }
  .c-items { padding: 16px 16px 24px; }
  .c-items .c-title { font-size: 20px; line-height: 28px; margin-bottom: 16px; }
  .c-item { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 12px 0; }
  .c-img { width: 112px; height: 112px; }
  .c-info { padding-left: 32px; }
  .c-brand { font-size: 16px; margin-top: 0; }
  .c-name, .c-meta { font-size: 15px; line-height: 20px; }
  .c-ctrl { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 12px; }
  .c-remove { font-size: 14px; }
  .c-heart { top: 10px; }
  .c-price { position: absolute; grid-column: auto; left: 0; bottom: 52px; margin: 0; font-size: 18px; }
  .c-promo, .c-sum { padding: 24px 16px; }
  .c-promo-h { font-size: 20px; }
  .c-sum-t { font-size: 24px; }
  .c-sum .c-cta { display: none; }
  .c-reco { margin: 20px 0 0; padding: 24px 16px 24px 0; }
  .c-reco .pc-btn { display: flex; background: var(--black); color: #fff; border-color: var(--black); }
  .c-reass { margin-top: 20px; }
  .c-reass-in { padding: 0 16px; }
  .c-reass-i { padding: 20px 0; gap: 32px; }
  .c-reass-i + .c-reass-i { border-top: 1px solid #d6d6d6; }
  .c-sticky { display: flex !important; position: fixed; right: 0; left: 0; bottom: 0; z-index: 40; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 12px 18px 12px; background: #fff; box-shadow: 0 -4px 12px rgba(0,0,0,.08); }
  .c-sticky-sum { display: flex; flex-direction: column; font-size: 11px; line-height: 14px; }
  .c-sticky-sum b { font-size: 18px; line-height: 24px; white-space: nowrap; }
  .c-sticky .c-cta { flex: 0 1 212px; min-height: 48px; margin: 0; padding: 4px 12px; font-size: 14px; line-height: 16px; text-transform: uppercase; }
  .c-sticky-full { padding: 12px 16px; }
  .c-sticky-full .c-cta { flex: 1; }

  /* Checkout steps: full-width white cards on grey, the confirm button in a bottom bar */
  .co-hdr-in { height: 64px; }
  .co2 { padding: 0 0 24px; gap: 20px; }
  .co2-main { gap: 20px; }
  .c-deliv, .c-recap, .c-gift { border-radius: 0; }
  .c-h3 { padding: 16px 24px 24px; font-size: 20px; }
  .c-opt { padding: 32px 32px 32px 32px; gap: 28px; }
  .c-bill { padding: 24px; }
  .co2-side { padding: 0; }
  .c-sum2 { padding: 24px 16px; }
  .c-sum2 .c-cta { display: none; }
  .c-sum2-n b { text-transform: uppercase; font-weight: 400; }
  .c-sum2-n b::first-letter { font-weight: 700; }
  .c-help { margin: 20px 0 0; padding: 24px 16px; }
  .c-legal, .c-legal-more { margin-right: 16px; margin-left: 16px; }
  .c-legal { margin-top: 24px; font-size: 16px; line-height: 24px; }

  /* Account: list of cards on the overview, "Back" link on inner pages */
  .acct-side { display: none; }
  .acct-main { padding: 0 0 40px; background: var(--n50); }
  .acct-main > h1 { padding: 16px 16px 0; font-size: 24px; }
  .acct-main > :not(.macct):not(h1):not(.acct-back) { margin-right: 16px; margin-left: 16px; }
  .acct-main > .as-inline { width: calc(100% - 32px); }
  .macct ~ h1, .macct ~ .ov { display: none !important; }
  .macct { display: flex !important; flex-direction: column; gap: 10px; padding: 0 16px 24px; }
  .macct h1 { font-size: 24px; line-height: 32px; font-weight: 400; padding: 40px 0 48px; }
  .macct-hi { font-size: 20px; line-height: 28px; text-transform: uppercase; margin-bottom: 14px; letter-spacing: .02em; }
  .mrow { display: flex; align-items: center; gap: 24px; width: 100%; min-height: 60px; padding: 14px 20px; background: #fff; font-size: 16px; line-height: 20px; letter-spacing: .12em; text-transform: uppercase; text-align: right; }
  .mrow span { flex: 1; }
  .mrow .chev { transition: transform .2s; }
  .mrow-acc { background: #fff; }
  .mrow-acc.open .chev { transform: rotate(-180deg); }
  .mrow-acc .mrow-b { display: none; padding: 0 20px 24px; flex-direction: column; gap: 12px; font-size: 16px; line-height: 24px; }
  .mrow-acc.open .mrow-b { display: flex; }
  .mrow-b .btn { font-weight: 400; }
  .mrow-b > .u { align-self: center; }
  .mrow-b > a:not(.btn):not(.u) { padding: 8px 52px 8px 0; font-size: 15px; }
  .macct-out { margin-top: 24px; font-weight: 400; }
  .acct-back { display: flex !important; align-items: center; gap: 8px; padding: 20px 16px 8px; color: #6b6b6b; font-size: 16px; }

  /* Sign in: arrow + large centred logo, pictures edge to edge */
  .auth-hdr { height: 72px; border-bottom: 0; padding: 0 16px; }
  .auth-hdr .wordmark { font-size: 30px; line-height: 32px; letter-spacing: .24em; }
  .auth { width: auto; margin: 0 16px 48px; }
  .auth-tiles { margin: 0 -12px 40px; gap: 8px; padding: 0; }
  .auth h1 { font-size: 24px; }

  /* Address side panel becomes full screen */
  .sd-top { min-height: 64px; padding: 8px 16px; }
  .sd-top p { font-size: 18px; letter-spacing: 0; }
  .sd-body { padding: 24px 16px 40px; }
}
/* Address panel fields (all sizes) — bigger spacing and inputs like the reference */
.sd-body form { gap: 32px; }
.sd-sec { font-size: 16px; font-weight: 700; }
.sd-f label { font-size: 14px; margin-bottom: 12px; }
.sd-in { height: 48px; border: 2px solid #d6d6d6; background: #fafafa; font-size: 16px; }
.sd-in:focus { border-color: var(--black); }
.sd-hint { font-size: 12px; line-height: 16px; margin-top: 8px; }
.sd-cc { height: 48px; border: 2px solid #d6d6d6; min-width: 92px; }

/* ============================================================
   Search — measured on the reference
   ============================================================ */
.s-clr { flex: none; font-size: 14px; line-height: 20px; font-weight: 500; text-decoration: underline; text-underline-offset: 2px; padding: 8px 4px; }
.s-clr[hidden] { display: none; }
.sp { position: absolute; right: 0; left: 0; top: 72px; z-index: 45; background: #fff; box-shadow: 0 3200px 0 3200px rgba(0, 0, 0, .5); }
.sp[hidden] { display: none; }
.sp-in { max-width: var(--max); margin: 0 auto; padding: 32px 40px; display: flex; gap: 40px; min-height: 284px; }
.sp-x { position: absolute; top: 32px; left: 40px; width: 32px; height: 32px; display: grid; place-items: center; }
.sp-h { font-size: 18px; line-height: 24px; font-weight: 700; }
.sp-pop { width: 220px; }
.sp-pop .sp-h { padding: 8px 0; }
.sp-pop li a { display: block; padding: 8px 0; font-size: 14px; line-height: 20px; font-weight: 500; }
.sp-pop li a:hover, .sp-tags a:hover, .sp-prod:hover .sp-txt b { text-decoration: underline; }
.sp-res { flex: 1; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.sp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 448px)); gap: 24px 40px; }
.sp-prod { display: flex; align-items: center; gap: 16px; padding: 8px 0; }
.sp-img { flex: none; width: 64px; height: 64px; }
.sp-img svg { width: 100%; height: 100%; }
.sp-body { flex: 1; min-width: 0; display: flex; align-items: flex-start; gap: 8px; }
.sp-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.sp-txt b { font-size: 16px; line-height: 24px; }
.sp-txt span { font-size: 14px; line-height: 20px; font-weight: 500; }
.sp-txt strong, .sp-tags strong { font-weight: 700; }
.sp-price { flex: none; font-size: 16px; line-height: 24px; }
.sp-all { align-self: flex-start; font-weight: 700; color: #f2f2f2; }
.sp-none { font-size: 14px; }
.sp-side { width: 312px; margin-left: 72px; display: flex; flex-direction: column; gap: 16px; }
.sp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.sp-tags a { display: block; font-size: 14px; line-height: 20px; font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }

/* Phone: full-screen search */
.search-ov { position: fixed; inset: 0; z-index: 90; height: auto; background: #fff; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; box-shadow: none; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; touch-action: pan-y; }
.search-ov[hidden] { display: none; }
.so-top { display: flex; align-items: center; gap: 12px; padding: 10px 20px 0; }
/* Nothing in the phone search may be wider than the screen (long names wrap, the field shrinks) */
.so-top form, .so-top input { min-width: 0; }
.so-top input { width: 100%; }
.search-ov .sp-txt b, .search-ov .sp-txt span, .search-ov .sp-tags a { overflow-wrap: anywhere; }
.so-body { display: flex; flex-direction: column; gap: 40px; padding: 32px 20px 40px; min-width: 0; }
.so-body .sp-h { font-size: 14px; line-height: 16px; }
.sp-rh { display: flex; align-items: center; gap: 8px; }
.sp-rh .s-clr { padding: 8px 0; }
.so-body .sp-pop, .so-body .sp-side { width: auto; margin: 0; }
.so-body .sp-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }

/* Results page */
.srch-head { margin: 16px 24px 8px; padding: 24px; min-height: 0; }
.srch-head .srch-for { max-width: none; font-size: 12px; line-height: 16px; font-weight: 500; margin: 0 0 16px !important; }
.chips { position: relative; margin: 6px 24px 0; }
.chips-track { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-left: 48px; }
.chips-track::-webkit-scrollbar { display: none; }
.chips-track a { display: flex; align-items: center; height: 36px; padding: 8px 12px; border-radius: 8px; background: var(--n50); font-size: 14px; line-height: 20px; font-weight: 700; white-space: nowrap; }
.chips-track a:hover { background: var(--n100); }
.chips-next { position: absolute; left: 8px; top: -3px; width: 42px; height: 42px; border-radius: 8px; background: #fff; border: 1px solid #d6d6d6; display: grid; place-items: center; box-shadow: 8px 0 12px #fff; }
@media (max-width: 1023px) {
  .sp { display: none !important; }
  .srch-head { margin: 16px 16px 16px; padding: 16px; }
  .srch-head .h-lg { font-size: 20px; line-height: 28px; }
  .srch-head .srch-for { margin-bottom: 8px !important; }
  .chips { margin: 0 16px 16px 0; }
  .chips-next { left: 16px; box-shadow: 8px 0 12px #fff, -20px 0 0 4px #fff; }
}

/* ============================================================
   Invoice (invoice.html) — screen and print
   ============================================================ */
body[data-layout="invoice"] { background: var(--n50); }
.inv-bar { max-width: 840px; margin: 0 auto; padding: 24px 24px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.inv-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.inv-acts { display: flex; gap: 8px; }
.inv-acts .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; height: 44px; padding: 0 16px; font-size: 14px; white-space: nowrap; }
.inv-hint { flex-basis: 100%; font-size: 12px; line-height: 16px; color: var(--n600); text-align: left; }
.inv { max-width: 792px; margin: 0 auto 48px; background: #fff; padding: 48px; font-size: 14px; line-height: 20px; }
.inv-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-bottom: 24px; border-bottom: 2px solid var(--black); }
.inv-logo .wordmark { font-size: 24px; }
.inv-logo img { max-height: 48px; width: auto; }
.inv-title { text-align: left; }
.inv-title h1 { font-size: 32px; line-height: 40px; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.inv-title dl { display: grid; grid-template-columns: auto auto; gap: 2px 16px; margin: 0; font-size: 13px; }
.inv-title dt { color: var(--n600); }
.inv-title dd { margin: 0; font-weight: 700; }
.inv-parties { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--n100); }
.inv-k { font-size: 12px; line-height: 16px; font-weight: 700; text-transform: uppercase; color: var(--n600); margin-bottom: 4px; }
.inv-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.inv-table th { font-size: 12px; line-height: 16px; text-transform: uppercase; color: var(--n600); text-align: right; padding: 0 8px 8px; border-bottom: 1px solid var(--black); }
.inv-table td { padding: 12px 8px; border-bottom: 1px solid var(--n100); vertical-align: top; }
.inv-table th:first-child, .inv-table td:first-child { padding-right: 0; }
.inv-table th:last-child, .inv-table td:last-child { padding-left: 0; }
.inv-table th:not(:first-child), .inv-table td:not(:first-child) { text-align: left; white-space: nowrap; }
.inv-sum { margin-right: auto; max-width: 320px; }
.inv-sum > div { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; }
.inv-total { border-top: 2px solid var(--black); margin-top: 8px; padding-top: 12px !important; font-size: 20px; line-height: 28px; font-weight: 700; }
.inv-note { font-size: 12px; color: var(--n600); margin-top: 8px; }
.inv-foot { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--n100); text-align: center; font-size: 13px; color: var(--n600); }

@media (max-width: 1023px) {
  .inv-bar { padding: 16px; }
  .inv-acts { width: 100%; }
  .inv-acts .btn { flex: 1; justify-content: center; }
  .inv-hint { text-align: center; }
  .inv { padding: 24px 16px; margin-bottom: 24px; }
  .inv-top { flex-direction: column; }
  .inv-title { text-align: right; }
  .inv-parties { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .inv-table th:nth-child(3), .inv-table td:nth-child(3) { display: none; }
  .inv-sum { max-width: none; }
}

@media print {
  @page { size: A4; margin: 14mm; }
  body[data-layout="invoice"] { background: #fff; }
  .inv-bar { display: none; }
  .inv { max-width: none; margin: 0; padding: 0; }
  .inv-table th:nth-child(3), .inv-table td:nth-child(3) { display: table-cell; }
  .inv-parties { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .inv-top { flex-direction: row; }
  .inv-title { text-align: left; }
}

/* ============================================================
   Very small phones (320–359px): keep the header and the checkout
   steps on screen
   ============================================================ */
@media (max-width: 359px) {
  .hdr-main { gap: 4px; padding: 0 8px; }
  .hdr-main .logo { flex: 0 1 auto; }
  .hdr-main .wordmark { font-size: 15px; letter-spacing: .1em; }
  .hdr-icons .icon-btn, .hdr-link { width: 40px; height: 40px; padding: 4px; }
  .co-hdr-in { padding: 0 12px; gap: 8px; }
  .co-logo .wordmark { font-size: 15px; letter-spacing: .12em; }
  .steps { gap: 6px; }
  .step-n { width: 28px; height: 28px; }
}

/* iPhone zooms the page into any field whose text is under 16px: keep fields at 16px on touch screens */
@media (pointer: coarse) {
  input:not([type="radio"]):not([type="checkbox"]), select, textarea { font-size: 16px !important; }
}

/* ============================================================
   Real catalogue: product photos, variants, pagination
   ============================================================ */
.pimg { display: block; width: 100%; height: 100%; object-fit: contain; }
.main-img .pimg { width: min(100%, 560px); height: auto; aspect-ratio: 1 / 1; }
.sb-prod .pimg { width: 48px; height: 48px; flex: none; }
.thumbs-row .pimg { padding: 2px; }
.pc-btn[disabled], .add-row .btn[disabled], .sb-inner .btn[disabled] { opacity: .45; cursor: not-allowed; }
.load-err { padding: 80px 24px; text-align: center; }
.pdp-loading { display: grid; place-items: center; min-height: 60vh; color: var(--n400); animation: pulse 1s ease-in-out infinite alternate; }
@keyframes pulse { from { opacity: .3; } to { opacity: 1; } }

/* Description from the catalogue (HTML): collapsed to 5 lines like the template text */
.details div.txt { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; font-size: 16px; line-height: 24px; }
.details.open div.txt { display: block; }
.rich p { margin: 0 0 12px; }
.rich ul, .rich ol { margin: 0 0 12px; padding-inline-start: 20px; list-style: disc; }
.pdp-acc .rich { font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }

/* Shade swatches are product pictures */
.swatches button, .sw { background-color: var(--n50); background-size: cover; background-position: center; }
.swatches button.oos { opacity: .35; }
/* No swatch picture: zoom into the middle of the shade's product photo */
.swatches button.crop, .sw.crop { background-size: 900%; background-position: 50% 52%; }
/* Sizes: one button per size with its price */
.sizes-opts { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.sizes-opts button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 96px; padding: 10px 14px; border: 1px solid var(--n100); border-radius: var(--radius); font-size: 14px; line-height: 18px; font-weight: 700; }
.sizes-opts button small { font-size: 12px; font-weight: 500; color: var(--n600); }
.sizes-opts button.on { border: 2px solid var(--black); padding: 9px 13px; }
.sizes-opts button.oos { color: var(--n400); text-decoration: line-through; }

/* "See more products" under the grid */
.more-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 32px 0 16px; font-size: 14px; }
.more-wrap:empty { display: none; }
.more-bar { width: 240px; height: 2px; background: var(--n100); }
.more-bar span { display: block; height: 100%; background: var(--black); }
.more-wrap .btn { min-width: 240px; }

/* Category pages: the sub-category chips sit under the title */
.cat-head + .chips { margin-top: 0; margin-bottom: 8px; }

@media (max-width: 1023px) {
  .sb-prod .pimg { display: none; }
  .main-img .pimg { width: min(100%, 340px); }
}

/* Shade list rows: picture, name, stock, price */
.shade-txt { display: flex; flex-direction: column; gap: 2px; }
.stock { display: flex; align-items: center; gap: 6px; font-size: 14px; line-height: 20px; font-weight: 400; color: var(--black); }
.stock .ic { color: var(--green); }
.stock.out { color: var(--n600); }
.shade-price { margin-inline-start: auto; font-size: 14px; line-height: 20px; white-space: nowrap; }

/* Computers: the shade list is a side panel over the dimmed page (as on the reference) */
@media (min-width: 1024px) {
  .sheet.sheet-shade { background: rgba(0, 0, 0, .5); transform: none; opacity: 0; transition: opacity .3s ease; }
  .sheet.sheet-shade.on { opacity: 1; }
  .sheet-shade .sh-panel { top: 0; bottom: 0; left: 0; right: auto; width: 490px; padding: 40px 40px 32px; transform: translateX(-100%); transition: transform .3s ease; }
  .sheet-shade.on .sh-panel { transform: none; }
  .sheet-shade .sh-top { min-height: 0; padding: 0; margin-bottom: 28px; border: 0; }
  .sheet-shade .sh-top p { font-size: 24px; line-height: 32px; }
  .sheet-shade .sh-body { display: flex; flex-direction: column; gap: 12px; padding: 2px; }
  .sheet-shade .sh-row { width: 100%; margin: 0; min-height: 58px; padding: 12px 12px 12px 16px; align-items: flex-start; border: 1px solid #e3e3e3; border-radius: 2px; font-size: 14px; line-height: 20px; }
  .sheet-shade .sh-opt:has(input:checked) { border: 2px solid var(--black); padding: 11px 11px 11px 15px; }
  .sheet-shade .sh-opt .rad { display: none; }
  .sheet-shade .sh-shade { align-items: flex-start; gap: 12px; }
  .sheet-shade .sh-shade .sw { width: 33px; height: 33px; border-radius: 2px; }
  .sheet-shade .shade-n { font-weight: 700; }
  .sheet-shade .sh-foot { padding: 24px 0 0; border: 0; }
  .sheet-shade .sh-foot .btn { height: 44px; font-size: 16px; font-weight: 700; text-transform: uppercase; }
}

/* ============================================================
   Account → Wish list (as on the reference)
   ============================================================ */
.acct-main > .wl-h { font-size: 30px; line-height: 36px; font-weight: 700; margin-bottom: 0; }
html[lang="en"] .acct-main > .wl-h { text-transform: lowercase; }
.wl-n { font-size: 20px; line-height: 28px; margin: 24px 0; }
.wl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(0, 328px)); gap: 24px; }
.wl-card { position: relative; background: #fff; min-height: 477px; }
.wl-link { display: flex; flex-direction: column; height: 100%; padding: 40px 30px 40px; }
.wl-card .badge { position: absolute; top: 20px; right: 0; border-radius: 4px 0 0 4px; }
.wl-img { height: 228px; display: grid; place-items: center; grid-template: minmax(0, 1fr) / minmax(0, 1fr); margin-bottom: 16px; }
.wl-brand { font-size: 14px; line-height: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.wl-name { font-size: 15px; line-height: 22px; font-weight: 700; margin-top: 4px; }
.wl-sub { font-size: 15px; line-height: 22px; }
.wl-rate { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; line-height: 16px; }
.wl-price { font-size: 18px; line-height: 24px; font-weight: 700; margin-top: 10px; }
.wl-price small { font-size: 13px; font-weight: 500; }
.wl-oos { font-size: 13px; color: var(--n600); margin-top: 4px; }
.wl-link:hover .wl-name { text-decoration: underline; }
.wl-heart { position: absolute; top: 16px; left: 16px; width: 40px; height: 40px; display: grid; place-items: center; }
.wl-heart.on svg { fill: var(--black); }

@media (max-width: 1023px) {
  .acct-main > .wl-h { font-size: 24px; line-height: 32px; }
  .wl-n { font-size: 16px; margin: 8px 16px 16px; }
  .wl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .wl-card { min-height: 0; }
  .wl-link { padding: 40px 12px 16px; }
  .wl-img { height: 150px; }
  .wl-name, .wl-sub { font-size: 14px; line-height: 20px; }
  .wl-price { font-size: 16px; }
  .wl-heart { top: 8px; left: 8px; }
}

/* ============================================================
   Category page — matched to the reference (desktop 1440 / phone 375)
   ============================================================ */
/* Header: per-category gradient (set from CATEGORIES[c].theme), grey elsewhere */
.cat-head { margin: 0 var(--gutter) 8px; background: linear-gradient(-124deg, var(--cat-a, #f0f0f0) 7.98%, var(--cat-b, #f0f0f0) 88.5%); }
.cat-head p { max-width: none; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-head p.open { display: block; }
.cat-more { display: inline-flex; align-items: center; height: 32px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink); }
.cat-more[hidden] { display: none !important; }
.cat-head + .chips { margin: 16px var(--gutter) 0; }
.chips-track a { height: 32px; padding: 6px 12px; background: var(--cat-a, var(--n50)); }
.plp { grid-template-columns: 351px minmax(0, 1fr); padding: 0 var(--gutter); margin-top: 32px; }
.filters { padding: 0 0 40px 15px; }
.results { padding: 0 26px 40px 0; }
.toolbar { margin-bottom: 20px; }
.toolbar .n { font-size: 16px; line-height: 24px; font-weight: 500; padding-bottom: 12px; }

/* Product cards in the results grid */
.grid { gap: 16px; }
.grid .pcard { outline: 0; border: 1px solid #d6d6d6; padding: 16px; }
.grid .pcard-top { height: 24px; }
.grid .wish { top: 16px; left: 16px; width: 32px; height: 32px; }
.grid .pcard-img { height: 228px; padding: 12px 0 8px; }
.grid .pcard-body { padding-top: 0; }
.pc-name { font-weight: 500; }
.grid .pc-name { min-height: 0; margin-top: 4px; }
.pc-sub { font-size: 14px; line-height: 20px; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.grid .pc-size { margin-top: 4px; min-height: 0; color: #595959; font-weight: 500; }
.grid .pc-size:empty { display: none; }
.grid .pc-price { margin-top: 8px; }
.grid .pc-rating { margin-top: 8px; font-weight: 500; color: #333; }
.grid .pc-rating span:last-child { max-width: none; }
.grid .pc-meta { font-weight: 500; }
.grid .pc-btn { margin-top: auto; }
.grid .pcard-body > :last-child { margin-bottom: 16px; }

@media (max-width: 1023px) {
  .cat-head { margin: 0 16px 8px; }
  .cat-head + .chips { margin: 16px 16px 16px 0; }
  .plp { padding: 0; margin-top: 0; }
  .results { padding: 0 16px 40px; }
  .grid { gap: 8px 7px; }
  .grid .pcard { padding: 8px; }
  .grid .wish { top: 8px; left: 8px; }
  .grid .pcard-img { height: 173px; padding: 13px 0 8px; }
}
/* Phones show only the number of reviews next to the stars, like the reference */
@media (max-width: 1023px) { .pc-rl { display: none; } .pc-rating span:last-child { max-width: none; } }

/* ============================================================
   Product page — matched to the reference (desktop 1440)
   gallery 48 + 40 + 660 · 80 gap · buy column 564
   ============================================================ */
@media (min-width: 1024px) {
  .pdp { gap: 80px; }
  .gallery { grid-template-columns: 48px minmax(0, 660px); gap: 40px; }
  .main-img { height: auto; place-items: start; }
  .main-img .pimg { width: 100%; max-width: 660px; }
}
.buy-row, .buy .rate { font-size: 16px; font-weight: 500; }
.buy .price { margin-top: 0; }
.shade-lbl { margin-top: 8px; font-weight: 500; }
.variant { min-height: 56px; padding: 7px 12px; gap: 16px; margin-top: -4px; }
.swatches { gap: 8px; padding: 0 12px; margin-top: 4px; }
.add-row { gap: 8px; margin-top: 8px; }
#add-slot { flex: 1; display: flex; }
#add-slot .btn { width: 100%; min-height: 52px; }
.add-row .wish-lg { width: 52px; height: 52px; border: 2px solid var(--ink); }
.sizes-opts { margin: 4px 0 0; }

/* Bottom bar shade pill */
.sb-var { gap: 8px; text-align: start; }
.sb-var b { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-var .sw { flex: none; width: 24px; height: 24px; border-radius: 50%; }

/* ============================================================
   Product page — phone (matched to the reference at 375)
   ============================================================ */
@media (max-width: 1023px) {
  .gal-slide { height: 300px; padding: 24px 59px 20px; }
  .gal-dots { gap: 8px; padding: 9px 0 30px; }
  .gal-dots span { width: 4px; height: 4px; border-radius: 2px; }
  .gal-dots span.on { width: 24px; }
  .buy h1 { font-size: 18px; line-height: 24px; }
  .buy-row .rate { margin-top: 8px; }
  /* The bottom bar is always there on phones: product + price, then shade pill + Add */
  body[data-page="product"] { padding-bottom: 128px; }
  body[data-page="product"] .totop { bottom: 140px; }
  .sticky-buy { transform: none; }
  .sb-inner { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px; }
  .sb-prod { flex: 1 0 60%; order: 1; font-size: 14px; line-height: 20px; }
  .sb-price { display: block; order: 2; font-size: 16px; }
  .sb-var { display: flex; order: 3; flex: 1 1 40%; width: auto; min-width: 0; height: 48px; }
  #sb-add { order: 4; flex: 1 1 40%; display: flex; }
  .sb-inner .btn { width: 100%; }
}
.rev-empty { margin-top: 32px; padding: 24px; border: 1px dashed #d6d6d6; border-radius: 8px; font-size: 14px; color: var(--n600); max-width: 760px; }
.rev-demo { font-size: 13px; font-weight: 700; color: var(--red); }

/* Product details: where the product comes from */
.pd-origin { font-size: 16px; line-height: 24px; margin-bottom: 12px; }
/* Descriptions and ingredients are in English: every paragraph takes its own direction, so on Arabic
   pages "Wake-up to baby soft lips!" keeps its punctuation at the end (it stays aligned to the right) */
.rich p, .rich li, .rich { unicode-bidi: plaintext; }
html[dir="rtl"] .rich, html[dir="rtl"] .rich p, html[dir="rtl"] .rich li { text-align: right; }

/* Sale price (US products on sale) */
.sale { color: var(--red); }
.pc-old { color: #595959; font-size: 12px; font-weight: 500; margin-inline-start: 4px; }
.price .pc-old { font-size: 16px; }
/* Product highlights ("Vegan", "Cruelty-Free"…) */
.pd-hl { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pd-hl li { padding: 4px 10px; border-radius: 999px; background: var(--n50); font-size: 13px; line-height: 18px; font-weight: 500; }
/* Shade descriptions */
.v-d { font-weight: 400; }
.shade-d { display: block; font-size: 13px; line-height: 18px; color: #595959; font-weight: 400; }

/* Account forms talking to the server */
.form-err { color: var(--red); font-size: 14px; line-height: 20px; font-weight: 500; margin: 8px 0 12px; }
.form-err[hidden] { display: none; }
.btn.is-busy { opacity: .6; cursor: progress; }
#f-delete .pd-grid { margin: 16px 0; }

/* Brand logos ("The hottest brands" on the home page and brands.html): only the logo — or the name
   set like a wordmark when the brand has no logo — no card, name or product count */
.brand-car .car-track { align-items: center; }
.brand-car .car-track > li { flex: 0 0 200px; }
.brand-car .car-btn { top: 50%; }
.bcard a { display: grid; place-items: center; height: 96px; padding: 8px 12px; transition: opacity .15s; }
.bcard a:hover { opacity: .6; }
.bcard img { max-width: 100%; max-height: 72px; object-fit: contain; }
.bcard-word { font-size: var(--fs); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; line-height: 1.15; text-align: center; overflow-wrap: anywhere; }

/* Brand page (category.html?b=…): the logo above the name */
.cat-logo { display: block; max-width: min(320px, 70%); max-height: 64px; object-fit: contain; object-position: right center; margin-bottom: 16px; }

/* All brands (brands.html) */
.cat-head .br-total { margin-top: 8px; }
.br-hot { margin-top: 40px; }
.br-az { margin: 48px var(--gutter) 64px; }
.br-tools { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; padding-bottom: 16px; border-bottom: 1px solid var(--n100); }
.br-search { flex: 0 1 380px; }
.br-search .field { background: var(--n50); }
.br-index { display: flex; flex-wrap: wrap; gap: 4px; }
.br-index a, .br-index span { min-width: 32px; height: 32px; display: grid; place-items: center; border-radius: var(--radius-sm); font-weight: 700; font-size: 14px; }
.br-index a { background: var(--n50); }
.br-index a:hover { background: var(--black); color: #fff; }
.br-index span { color: var(--n200); }
.br-group { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--n100); scroll-margin-top: 96px; }
.br-group[hidden], .br-list li[hidden] { display: none; }
.br-letter { font-size: 32px; line-height: 40px; font-weight: 700; }
.br-list { columns: 4 200px; column-gap: 24px; }
.br-list li { break-inside: avoid; padding: 6px 0; font-size: 14px; line-height: 20px; }
.br-list a:hover { text-decoration: underline; }
.br-list .cnt { display: inline-block; vertical-align: 1px; margin-right: 8px; background: var(--n100); font-size: 11px; line-height: 16px; font-weight: 700; padding: 0 5px; border-radius: 2px; }
.br-none { padding: 32px 0; }

@media (max-width: 1023px) {
  .brand-car .car-track > li { flex-basis: 128px; }   /* part of the next logo shows: swipe for more */
  .brand-car .car-btn { display: none; }   /* small logos: swipe, the arrows would cover them */
  .bcard a { height: 80px; padding: 6px 8px; }
  .bcard img { max-height: 56px; }
  .bcard-word { font-size: calc(var(--fs) * .75); }
  .br-hot { margin-top: 24px; }
  .br-az { margin: 32px 16px 48px; }
  .br-search { flex-basis: 100%; }
  .br-group { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .br-letter { font-size: 24px; line-height: 32px; }
  .br-list { columns: 2 140px; column-gap: 16px; }
}

/* Home hero slider (home_hero.json). Each slide: a blurred copy of the image fills the banner,
   the image itself keeps its proportions (1472 × 996) on one side, the text card on the other. */
.hero-slider { position: relative; }
.hs-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.hs-track::-webkit-scrollbar { display: none; }
.hs { flex: 0 0 100%; scroll-snap-align: start; position: relative; height: 446px; overflow: hidden; display: block; }
.hs-bg { position: absolute; top: -40px; bottom: -40px; right: -40px; left: -40px; background-size: cover; background-position: center; filter: blur(36px) saturate(1.1); opacity: .85; }
.hs-img { position: absolute; top: 0; right: 0; height: 100%; aspect-ratio: 1472 / 996; }
.hs-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Default place of our "Only here" badge when the image's mark was not located (markBadge() in app.js
   normally sets it inline from backend/banner_marks.py); the image is never mirrored */
.hs-img .excl { top: 4.35%; left: 3%; right: auto; width: 11.6%; height: auto; }
.hs .hero-card { z-index: 1; }
.hs .h-md { display: block; }
.hs-txt { display: block; font-size: 14px; line-height: 20px; }
.hs:hover .btn { background: var(--n50); }
.hs-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px;
  border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.hs-btn.prev { right: 16px; } .hs-btn.next { left: 16px; }
.hs-dots { display: flex; justify-content: center; gap: 8px; padding-top: 16px; }
.hs-dots button { width: 8px; height: 8px; border-radius: 4px; background: var(--n200); padding: 0; transition: width .3s ease, background-color .3s ease; }
.hs-dots button[aria-current="true"] { background: var(--black); width: 24px; border-radius: 4px; }

@media (max-width: 1023px) {
  .hs { height: auto; }
  .hs-img { position: relative; display: block; width: 100%; height: auto; }
  .hs .hero-card { position: relative; top: auto; bottom: auto; right: auto; left: auto; transform: none; width: auto; margin: -32px 16px 16px; }
  .hs-btn { display: none; }
  .hs-dots { padding-top: 12px; }
}

/* Banner carousel under the hero (home_carousel.json): two banners per view, image at its own
   proportions (1142 × 928) beside the text; stacked on narrower screens */
.tile-car { padding-right: var(--gutter); }
.tile-car .car-track { gap: 24px; }
.tile-car .car-track > li { flex: 0 0 calc((100% - 24px) / 2); display: flex; }
.tile-car .car-btn { display: none !important; }   /* no arrows: swipe / scroll, the progress bar shows the position */
.btile { flex: 1; min-height: 0; }
.btile-img { width: 46%; align-self: flex-start; aspect-ratio: 1142 / 928; }
.btile-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.btile-t { font-size: 16px; line-height: 24px; font-weight: 700; }
.btile-s { font-size: 14px; line-height: 20px; }
.btile:hover .btn { background: var(--n50); }

/* Spotlights (home_spotlights.json): two banners side by side, a new pair at every visit */
@media (min-width: 1024px) { .spot-tiles .btile { flex: 1 1 0; min-width: 0; } }   /* stacked on phones */
/* Side by side: same height for both, each image as wide as its own proportions need (square or not) */
@media (min-width: 1280px) {
  .spot-tiles .btile { height: 272px; }
  .spot-tiles .btile-img { width: auto; height: 100%; max-width: 55%; }
}

@media (max-width: 1279px) {
  .btile { flex-direction: column; }
  .btile-img { width: 100%; height: auto; }
  .btile .tile-body { justify-content: flex-start; }
}
@media (max-width: 1023px) {
  .tile-car { padding-right: 0; }
  .tile-car .car-track { gap: 16px; }
  .tile-car .car-track > li { flex-basis: 85%; }
  .btile { gap: 0; }
  .btile .tile-body { padding: 16px; }
}

/* Shoppable image (Brand Spotlight): big title on one side, the photo with pulsing dots on the other.
   A dot opens its product: floating next to the dot on a computer, under the image on a phone. */
.feat { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 48px; align-items: center; margin: 48px 0; padding: 0 var(--gutter); }
.feat-text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.feat-t { font-size: 48px; line-height: 56px; font-weight: 700; }
.feat-s { font-size: 18px; line-height: 26px; }
.feat-btn { min-width: 200px; margin-top: 16px; }
.feat-media { position: relative; }
.feat-img { position: relative; }
.feat-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hot {
  position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border-radius: 50%;
  background: rgba(110, 110, 110, .35); border: 1.5px solid rgba(255, 255, 255, .8); display: grid; place-items: center; z-index: 1;
  transition: background-color .2s, transform .2s;
}
.hot > span { width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 4px rgba(0, 0, 0, .25); }
.hot::before { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid #fff; animation: hot-pulse 2s ease-out infinite; pointer-events: none; }
.hot:hover, .hot.on { background: rgba(0, 0, 0, .55); transform: scale(1.08); }
.hot.on::before { animation: none; opacity: 0; }
@keyframes hot-pulse { from { transform: scale(.7); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hot::before { animation: none; opacity: .6; } }
.hot-pop {
  position: absolute; z-index: 3; width: 320px; background: #fff; border-radius: var(--radius); padding: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .18); display: flex; flex-direction: column; gap: 12px;
}
.hot-pop[hidden] { display: none; }
.hot-x { position: absolute; top: 6px; left: 6px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; }
.hot-x:hover { background: var(--n50); }
.hot-prod { display: flex; gap: 12px; align-items: center; padding-left: 24px; }
.hot-prod img { width: 96px; height: 96px; object-fit: contain; flex: none; }
.hot-prod:hover .hot-n { text-decoration: underline; }
.hot-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 13px; line-height: 18px; }
.hot-b { font-size: 12px; text-transform: uppercase; }
.hot-n { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hot-pr { margin-top: 4px; }
.hot-pr s { color: var(--n600); font-size: 12px; }

@media (max-width: 1023px) {
  .feat { grid-template-columns: 1fr; gap: 24px; margin: 32px 0; padding: 0 16px; }
  .feat-t { font-size: 28px; line-height: 34px; }
  .feat-s { font-size: 16px; line-height: 24px; }
  .feat-btn { margin-top: 4px; }
  .hot { width: 36px; height: 36px; margin: -18px 0 0 -18px; }   /* centred on the dot's place in the image (never mirrored) */
  .hot > span { width: 12px; height: 12px; }
  .hot-pop { position: relative; width: auto; margin-top: 12px; box-shadow: none; outline: 1px solid var(--n100); }
}

/* Welcome bar above the hero: name + points to the next reward, loyalty tier on the other side */
.wbar { display: flex; align-items: center; gap: 16px; margin: 16px var(--gutter) 0; padding: 16px 20px; background: var(--n50); border-radius: var(--radius); }
.wbar:hover { background: #e9e9e9; }
.wb-gift { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #cfcfcf; display: grid; place-items: center; }
.wb-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wb-t { font-size: 18px; line-height: 24px; }
.wb-s { font-size: 14px; line-height: 20px; }
.wb-side { flex: none; display: flex; align-items: center; gap: 10px; }
.wb-tier { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #cfcfcf; }
.wb-tier.wb-black { background: var(--black); color: #fff; }
.wb-tier.wb-gold { background: #c9a24a; color: #fff; }
.wb-prog { font-weight: 700; letter-spacing: .2em; font-size: 15px; }
.wb-level { font-size: 16px; }
.wb-go { display: grid; place-items: center; margin-right: 8px; }
.wb-t-m, .wb-s-m { display: none; }
/* Phones: two short lines (greeting + what to do) and only the arrow at the end */
@media (max-width: 1023px) {
  .wbar { margin: 12px 16px 0; padding: 10px 12px; gap: 10px; align-items: center; }
  .wb-gift { width: 36px; height: 36px; }
  .wb-t, .wb-s, .wb-tier, .wb-prog, .wb-level { display: none; }
  .wb-t-m, .wb-s-m { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .wb-t-m { font-size: 15px; line-height: 20px; }
  .wb-s-m { font-size: 13px; line-height: 18px; }
  .wb-side { gap: 0; }
  .wb-go { margin-right: 0; }
}

/* Compare & verify (compare.html): search one of our products, then our store next to the others */
.cmp { margin: 32px var(--gutter) 64px; display: flex; flex-direction: column; gap: 32px; }
.cmp-search { width: 100%; max-width: 720px; margin: 0 auto; text-align: center; }   /* search, hint and suggestions in the middle */
.cmp-search .label { display: block; }
.cmp-field .field { text-align: start; }
.cmp-list { text-align: start; }
.cmp-field { position: relative; }
.cmp-field > .ic { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.cmp-field .field { padding-right: 46px; height: 52px; font-size: 16px; background: var(--n50); }
/* Clear button (✕) inside the search field; the browser's own one is hidden */
.cmp-field .field { padding-left: 48px; }
.cmp-field input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.cmp-clear { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
.cmp-clear:hover { background: var(--n100); }
.cmp-clear[hidden] { display: none; }
.cmp-list {
  position: absolute; top: calc(100% + 4px); right: 0; left: 0; z-index: 20; background: #fff; border-radius: var(--radius);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .16); max-height: 420px; overflow-y: auto; padding: 6px 0;
}
.cmp-list[hidden] { display: none; }
.cmp-list li { display: flex; align-items: center; gap: 12px; padding: 8px 14px; cursor: pointer; }
.cmp-list li[aria-selected="true"], .cmp-list li:hover { background: var(--n50); }
.cmp-list img { width: 48px; height: 48px; object-fit: contain; flex: none; }
.cmp-s-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 14px; line-height: 19px; }
.cmp-s-txt b { font-size: 12px; text-transform: uppercase; }
.cmp-s-txt span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp-tag { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--green); }
.cmp-list .cmp-empty { cursor: default; color: var(--n600); }
.cmp-hint { margin-top: 10px; font-size: 13px; color: var(--n600); }
.cmp-pop { margin-top: 20px; }
.cmp-pop[hidden] { display: none; }
.cmp-pop-h { font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.cmp-pop ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cmp-pop button { padding: 8px 12px; border-radius: 999px; background: var(--n50); font-size: 13px; line-height: 18px; text-align: start; }
.cmp-pop button:hover { background: var(--n100); }
.cmp-loading { color: var(--n600); }
.cmp-prod { display: flex; align-items: center; justify-content: center; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--n100); }
.cmp-prod img { width: 120px; height: 120px; object-fit: contain; flex: none; }
.cmp-p-b { font-size: 13px; font-weight: 700; text-transform: uppercase; }
.cmp-p-n { font-size: 22px; line-height: 30px; font-weight: 700; }
.cmp-p-r { font-size: 13px; margin-top: 4px; display: flex; align-items: center; gap: 6px; }
.cmp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.cmp-col { border: 1px solid var(--n100); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.cmp-col.ours { border: 2px solid var(--black); }
.cmp-col.none { background: var(--n50); }
.cmp-store { font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 14px; border-bottom: 2px solid var(--n100); }
.cmp-logo { display: block; height: 30px; width: auto; max-width: 160px; object-fit: contain; }
.cmp-us { font-size: 11px; background: var(--black); color: #fff; padding: 2px 8px; border-radius: var(--radius-sm); }
.cmp-col dl { display: flex; flex-direction: column; flex: 1; }
/* Each point on its own row, a line between rows */
.cmp-row { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-top: 1px solid var(--n100); }
.cmp-row:first-child { border-top: 0; padding-top: 0; }
.cmp-row.inline { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
.cmp-row.inline dd { text-align: end; }
.cmp-col dt { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--n600); }
.cmp-col dd { font-size: 14px; line-height: 20px; }
.cmp-stock { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.cmp-stock.ok { color: var(--green); }
.cmp-stock.no { color: var(--red); }
.cmp-price b { font-size: 18px; }
.cmp-price s { color: var(--n600); font-size: 13px; }
.cmp-offers { display: flex; flex-direction: column; gap: 10px; }
.cmp-offers li { display: flex; gap: 10px; align-items: flex-start; }
.cmp-offers img { width: 44px; height: 44px; object-fit: contain; flex: none; border-radius: var(--radius-sm); background: #fff; }
.cmp-offers li > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cmp-o-n { font-size: 13px; line-height: 18px; }
.cmp-temp { font-size: 12px; line-height: 16px; color: var(--n600); }
.cmp-offers .cmp-price { font-size: 13px; }
.cmp-offers .cmp-price b { font-size: 15px; }
.cmp-n { font-size: 13px; color: var(--n600); margin-bottom: 6px; }
.cmp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cmp-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: var(--n50); font-size: 12px; line-height: 18px; }
.cmp-chips img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.cmp-chips .more { background: none; color: var(--n600); }
.cmp-src { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.cmp-src.ok { color: var(--green); }
.cmp-src.no { color: var(--n800); }
.cmp-src.no .ic { color: var(--red); }
.cmp-missing { color: var(--n600); font-size: 14px; }
.cmp-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; font-size: 13px; color: var(--n600); }
.cmp-note .ic { flex: none; margin-top: 2px; }

@media (max-width: 1023px) {
  .cmp { margin: 24px 16px 48px; gap: 24px; }
  .cmp-grid { grid-template-columns: 1fr; }
  .cmp-prod img { width: 88px; height: 88px; }
  .cmp-p-n { font-size: 18px; line-height: 24px; }
  .cmp-tag { display: none; }
}

/* The store's logo in place of its name inside text (brandMark() in config.js): as tall as the text */
/* logo inside a sentence: the two-line logo needs about twice the text height to stay readable */
.brand-mark { display: inline-block; height: 2.1em; width: auto; vertical-align: middle; margin: -0.5em 0.15em -0.4em; }
.wordmark .brand-mark { height: 1.1em; margin: 0; }
.ly-band .brand-mark { height: 36px; }
.gc-visual .brand-mark { height: 26px; }

@media (prefers-reduced-motion: reduce) {
  .hdr, .hdr-main, .hdr-icons .icon-btn, .hdr-link, [data-drawer], .hdr-icons .ic, [data-drawer] .ic { transition: none !important; }
  .hdr.stuck li.m-search { animation: none; }
}

/* How shipping is priced (bag panel, cart summary) */
.c-ship-note { background: var(--n50); border-radius: 8px; padding: 10px 14px; margin: 10px 0 16px; font-size: 13px; line-height: 19px; }
.bag-note { margin: 2px 0 10px; }

/* Delivery step: bag with products from the UAE and the USA — one shipment or two */
.c-split { background: #fafafa; border-bottom: 1px solid #d7d7d7; }
.c-split .c-h3 { padding-bottom: 4px; }
.c-split-intro { padding: 0 24px 8px; font-size: 14px; line-height: 20px; color: var(--n600); }
.c-split .c-opt { border-bottom: 0; border-top: 1px solid #e6e6e6; }
@media (max-width: 1023px) { .c-split-intro { padding: 0 16px 8px; } }

/* Checkout — "check availability in other online stores in Iraq": notice above the confirm button */
.c-local-note { display: flex; gap: 8px; align-items: flex-start; margin: 16px 0 0; padding: 12px; border-radius: 4px; background: #fff7e0; color: #4c3b00; font-size: 13px; line-height: 18px; font-weight: 500; }
.c-local-note .ic { flex: none; margin-top: 1px; }
.c-sticky-full:has(.c-local-note) { flex-direction: column; align-items: stretch; gap: 10px; }
.c-sticky .c-local-note { margin: 0; }
@media (max-width: 1023px) { body[data-page="checkout"]:has(.c-sticky .c-local-note) { padding-bottom: 170px; } }
.confirm .c-local-note { text-align: start; }

/* Home delivery: half paid now, half on delivery */
.c-paynow { margin-top: 12px; padding: 12px; border-radius: 4px; background: var(--n50); font-size: 15px; }
.c-paylater { padding: 8px 12px 0; font-size: 14px; color: #666; }
.c-pay-intro { padding: 0 24px 16px; font-size: 14px; line-height: 20px; color: #4c4c4c; }
@media (max-width: 1023px) { .c-pay-intro { padding: 0 16px 12px; } }
/* Note under the VAT line (bag, checkout): same box as the shipping note */
.c-fee-note { background: var(--n50); border-radius: 8px; padding: 10px 14px; margin: 6px 0 12px; font-size: 13px; line-height: 19px; }

/* Return request drawer */
.sd-in.sd-area { height: auto; padding: 10px 12px; line-height: 20px; resize: vertical; }
.sd-txt { font-size: 15px; line-height: 22px; margin-bottom: 20px; }

/* Loyalty page: product photos on the coloured tiles (white photo backgrounds blend into the colour) */
.ly-photo { display: grid; place-items: center; height: 100%; padding: 32px; overflow: hidden; }
.ly-photo .pimg { width: auto; height: 100%; max-height: 280px; max-width: 70%; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s ease; }
.ly-photo:hover .pimg { transform: scale(1.04); }
@media (max-width: 1023px) { .ly-photo { padding: 20px; } .ly-photo .pimg { max-height: 180px; } }

/* Account: features not available yet */
.ov-card.soon { text-align: center; padding: 48px 24px; }
.soon-t { font-size: 24px; line-height: 32px; font-weight: 700; margin-bottom: 8px; }

/* Account: order tracking (stages as a vertical timeline) */
.trk .sd-f { max-width: 520px; }
.trk-now { margin: 20px 0 8px; font-size: 15px; }
.trk-steps { list-style: none; margin: 16px 0 0; padding: 0; }
.trk-steps li { position: relative; display: flex; align-items: flex-start; gap: 14px; padding-bottom: 22px; color: #9a9a9a; font-size: 15px; line-height: 22px; }
.trk-steps li:last-child { padding-bottom: 0; }
/* the line between two dots */
.trk-steps li:not(:last-child)::before { content: ''; position: absolute; inset-inline-start: 11px; top: 24px; bottom: 0; width: 2px; background: #e0e0e0; }
.trk-steps li.done:not(:last-child)::before { background: var(--black); }
.trk-dot { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #d0d0d0; background: #fff; display: grid; place-items: center; color: #fff; position: relative; z-index: 1; }
.trk-steps li.done { color: var(--black); }
.trk-steps li.done .trk-dot { background: var(--black); border-color: var(--black); }
.trk-steps li.cur { color: var(--black); font-weight: 700; }
.trk-steps li.cur .trk-dot { background: var(--red, #c8102e); border-color: var(--red, #c8102e); box-shadow: 0 0 0 4px rgba(200, 16, 46, .15); }
.trk-l { padding-top: 1px; }
.trk-t { display: block; margin-top: 2px; font-size: 13px; line-height: 18px; font-weight: 400; color: #757575; }

/* Terms & policies page */
.pol { max-width: 860px; margin: 32px auto 56px; padding: 40px 48px; background: #fff; }
.pol-h h1 { font-size: 30px; line-height: 38px; font-weight: 700; }
.pol-upd { margin-top: 8px; font-size: 14px; color: #757575; }
.pol-toc { margin: 28px 0 8px; padding: 20px 24px; background: var(--n50); border-radius: 8px; }
.pol-toc ol { margin: 10px 0 0; padding-inline-start: 22px; list-style: decimal; columns: 2; column-gap: 32px; font-size: 15px; line-height: 28px; }
.pol-toc a { text-decoration: underline; text-underline-offset: 3px; }
.pol-sec { padding-top: 32px; scroll-margin-top: 140px; }
.pol-sec h2 { display: flex; align-items: center; gap: 12px; font-size: 20px; line-height: 28px; font-weight: 700; }
.pol-n { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--black); color: #fff; font-size: 14px; }
.pol-sec ul { margin: 12px 0 0; padding-inline-start: 22px; list-style: disc; }
.pol-sec li::marker { color: #9a9a9a; }
.pol-sec li { margin-top: 8px; font-size: 16px; line-height: 27px; color: #333; }
@media (max-width: 767px) {
  .pol { margin: 0 0 32px; padding: 24px 16px; }
  .pol-h h1 { font-size: 24px; line-height: 32px; }
  .pol-toc { padding: 16px; }
  .pol-toc ol { columns: 1; }
  .pol-sec li { font-size: 15px; line-height: 25px; }
}
.pol-intro { margin-top: 16px; font-size: 16px; line-height: 27px; color: #333; }
.pol-more { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--n100); }
.pol-more > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 12px; }
.pol-more a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; background: var(--n50); border-radius: 8px; font-weight: 700; font-size: 15px; }
.pol-more a:hover { background: #e9e9e9; }
@media (max-width: 767px) { .pol-more > div { grid-template-columns: 1fr; } }

/* FAQ page (same layout as the policy pages) */
.faq-search { display: flex; align-items: center; gap: 10px; margin-top: 24px; padding: 0 16px; height: 48px; border: 1px solid #c9c9c9; border-radius: 24px; background: #fafafa; }
.faq-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: inherit; font-size: 15px; outline: none; }
.faq-search:focus-within { border-color: var(--black); }
.faq-grp h2 { margin-bottom: 8px; }
.faq-item { border-bottom: 1px solid var(--n100); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; font-size: 16px; line-height: 24px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { flex: none; transition: transform .2s ease; }
.faq-item[open] summary .ic { transform: rotate(-180deg); }
.faq-item p { padding: 0 0 18px; font-size: 15px; line-height: 26px; color: #333; }
.faq-pol { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; }
.faq-none { margin-top: 32px; text-align: center; color: #757575; }
/* Account "Need help?": links to the policy pages */
.help-links { display: grid; padding: 8px 24px; }
.help-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; font-weight: 700; }
.help-links a + a { border-top: 1px solid var(--n100); }

/* "Join our family" modal */
.fam-ov { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity .25s ease; }
.fam-ov.on { opacity: 1; }
.fam { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 560px; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow: hidden; background: #fff; border-radius: 12px; transform: translateY(16px); transition: transform .25s ease; }
.fam-ov.on .fam { transform: none; }
/* the close button stays in view while the form scrolls */
.fam-top { flex: none; display: flex; justify-content: flex-end; padding: 10px 10px 0; }
.fam-x { width: 40px; height: 40px; }
.fam-body { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 0 32px 28px; }
.fam-h h2 { font-size: 26px; line-height: 34px; font-weight: 700; }
.fam-h p { margin-top: 6px; font-size: 15px; line-height: 23px; color: #555; }
.fam-perks { list-style: none; margin: 20px 0 24px; padding: 16px; display: grid; gap: 14px; background: var(--n50); border-radius: 8px; }
.fam-perks li { display: flex; align-items: flex-start; gap: 14px; font-size: 14px; line-height: 20px; }
.fam-perks .ic { flex: none; margin-top: 2px; }
.fam-perks .b { font-size: 15px; }
.fam .sd-f { margin-bottom: 18px; }
.fam .sd-f > label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.fam-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fam-int { border: 0; margin: 4px 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fam-int legend { margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.fam-chip input { position: absolute; opacity: 0; pointer-events: none; }
.fam-chip span { display: inline-block; padding: 8px 14px; border: 1px solid #c9c9c9; border-radius: 20px; font-size: 14px; cursor: pointer; }
.fam-chip input:checked + span { background: var(--black); border-color: var(--black); color: #fff; }
.fam-chip input:focus-visible + span { outline: 2px solid var(--black); outline-offset: 2px; }
.fam-consent { margin-bottom: 20px; font-size: 13px; line-height: 19px; }
.fam-done { text-align: center; padding: 24px 0 8px; }
.fam-done > .ic { width: 56px; height: 56px; padding: 10px; border-radius: 50%; background: var(--black); color: #fff; }
.fam-done h2 { margin-top: 16px; font-size: 24px; line-height: 32px; font-weight: 700; }
.fam-done p { margin: 8px 0 24px; color: #555; }
@media (max-width: 767px) {
  .fam-ov { padding: 0; place-items: end stretch; }
  .fam { max-width: none; max-height: 92vh; max-height: 92dvh; border-radius: 16px 16px 0 0; }
  .fam-body { padding: 0 16px 24px; }
  .fam-top { padding: 8px 8px 0; }
  .fam-row { grid-template-columns: 1fr; gap: 0; }
}

/* Careers page */
.jobs-none { margin-top: 32px; padding: 48px 24px; text-align: center; background: var(--n50); border-radius: 8px; }
.jobs-none > .ic { display: block; margin: 0 auto; color: #757575; }
.jobs-none h2 { margin-top: 12px; font-size: 22px; line-height: 30px; font-weight: 700; }
.jobs-none p { max-width: 460px; margin: 8px auto 24px; font-size: 15px; line-height: 24px; color: #555; }
.job-list { list-style: none; margin: 24px 0 0; padding: 0; }
.job { padding: 20px 0; border-bottom: 1px solid var(--n100); }
.pol-act { margin-top: 20px; }

/* Contact page */
.ct-tg { display: flex; align-items: center; gap: 18px; margin-top: 28px; padding: 22px 24px; border-radius: 12px; background: #e8f4fb; }
.ct-tg-ic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #229ed9; color: #fff; }
.ct-tg-ic svg { width: 26px; height: 26px; }
.ct-tg .ct-b { flex: 1; min-width: 0; }
.ct-tg .btn { flex: none; }
.ct-b h2 { font-size: 18px; line-height: 26px; font-weight: 700; }
.ct-b p { margin-top: 4px; font-size: 14px; line-height: 22px; color: #555; }
.ct-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.ct-card { display: flex; flex-direction: column; gap: 14px; padding: 22px 20px; border: 1px solid var(--n100); border-radius: 12px; }
.ct-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--n50); }
.ct-card .ct-b { display: flex; flex-direction: column; flex: 1; }
.ct-card .ct-b p { flex: 1; }
.ct-mail { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--n100); }
.ct-mail a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; font-size: 13px; }
.ct-copy { flex: none; font-size: 13px; color: #555; }
.ct-hours { display: flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 15px; }
.ct-more { margin-top: 12px; font-size: 14px; line-height: 22px; color: #555; }
@media (max-width: 900px) { .ct-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .ct-tg { flex-wrap: wrap; } .ct-tg .btn { width: 100%; } }

/* Minimum order: notice under the bag summary and in the bag panel */
.c-min { margin-top: 16px; padding: 12px 14px; border-radius: 8px; background: #fff7e0; color: #4c3b00; font-size: 13px; line-height: 19px; }
.c-min-bar { display: block; height: 6px; margin-top: 10px; border-radius: 3px; background: rgba(0, 0, 0, .1); overflow: hidden; }
.c-min-bar i { display: block; height: 100%; border-radius: 3px; background: var(--black); }
.c-cta:disabled { opacity: .35; cursor: not-allowed; }
.bag-min { margin: 4px 0 0; padding: 10px 12px; border-radius: 8px; background: #fff7e0; color: #4c3b00; font-size: 13px; line-height: 19px; }

/* ============ About us ============ */
.about { overflow: hidden; }
/* reveal on scroll: fade up, one after the other (--d) */
.about .rv { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 110ms); }
.about .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .about .rv { opacity: 1; transform: none; transition: none; } }

.ab-hero { position: relative; overflow: hidden; padding: 96px 16px 88px; text-align: center; background: radial-gradient(120% 90% at 50% 0%, #fdf0f3 0%, #f7f2fb 45%, #fff 100%); }
.ab-hero::before, .ab-hero::after { content: ''; position: absolute; border-radius: 50%; filter: blur(40px); opacity: .55; pointer-events: none; animation: ab-float 12s ease-in-out infinite alternate; }
.ab-hero::before { width: 320px; height: 320px; background: #ffd6e2; top: -80px; inset-inline-start: -60px; }
.ab-hero::after { width: 260px; height: 260px; background: #e5dcff; bottom: -90px; inset-inline-end: -40px; animation-delay: -6s; }
@keyframes ab-float { to { transform: translate(-40px, 24px) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .ab-hero::before, .ab-hero::after { animation: none; } }
.ab-hero-in { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }
.ab-kicker { display: inline-block; padding: 6px 14px; border-radius: 20px; background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .06); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.ab-lead { margin-top: 28px; font-size: 32px; line-height: 1.75; font-weight: 700; }
.ab-lead .brand-mark { height: 2.3em; margin: -.55em .2em -.45em; }
.ab-sub { max-width: 640px; margin: 18px auto 0; font-size: 17px; line-height: 30px; color: #555; }
.ab-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.ab-cta .btn { min-width: 170px; }

.ab-sec { max-width: 1040px; margin: 0 auto; padding: 72px 16px 0; }
.ab-sec h2, .ab-end h2 { font-size: 28px; line-height: 38px; font-weight: 700; text-align: center; }
.ab-intro { max-width: 620px; margin: 10px auto 0; text-align: center; font-size: 16px; line-height: 27px; color: #555; }

/* the route: United States → UAE → Iraq, with a line that draws itself */
.ab-map { position: relative; margin-top: 44px; }
.ab-line { position: absolute; top: 31px; inset-inline: 16.6%; height: 2px; background: repeating-linear-gradient(-90deg, #d7d7d7 0 8px, transparent 8px 14px); }
.ab-line i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; background: var(--black); transition: width 1.8s cubic-bezier(.6, 0, .2, 1) .3s; }
.ab-map.in .ab-line i { width: 100%; }
.ab-line i::after { content: ''; position: absolute; top: -5px; inset-inline-end: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(213, 1, 51, .18); opacity: 0; transition: opacity .3s ease .3s; }
.ab-map.in .ab-line i::after { opacity: 1; }
.ab-stops { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.ab-dot { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; background: #fff; border: 2px solid var(--black); font: 700 15px/1 'Avant Garde', Arial, sans-serif; letter-spacing: .06em; }
.ab-stop:last-child .ab-dot { background: var(--black); color: #fff; }
.ab-stop h3 { margin-top: 14px; font-size: 18px; font-weight: 700; }
.ab-stop p { max-width: 280px; margin: 6px auto 0; font-size: 14px; line-height: 23px; color: #555; }
.ab-note { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 32px; font-size: 14px; color: #333; text-align: center; }
.ab-note .ic { flex: none; }

/* promises */
.ab-cards { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ab-card { padding: 26px 22px; border-radius: 14px; background: #fff; border: 1px solid var(--n100); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1), box-shadow .25s ease; }
.ab-card:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, .07); }
.ab-card-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--n50); }
.ab-card h3 { margin-top: 16px; font-size: 17px; font-weight: 700; }
.ab-card p { margin-top: 6px; font-size: 14px; line-height: 23px; color: #555; }

/* how it works */
.ab-steps { list-style: none; max-width: 720px; margin: 32px auto 0; padding: 0; }
.ab-step { position: relative; display: flex; gap: 18px; padding-bottom: 28px; }
.ab-step:last-child { padding-bottom: 0; }
.ab-step:not(:last-child)::before { content: ''; position: absolute; top: 44px; bottom: 4px; inset-inline-start: 21px; width: 2px; background: var(--n100); }
.ab-step-n { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--black); color: #fff; font-weight: 700; font-size: 17px; }
.ab-step h3 { margin-top: 8px; font-size: 18px; font-weight: 700; }
.ab-step p { margin-top: 4px; font-size: 15px; line-height: 25px; color: #555; }

/* closing band */
.ab-end { margin: 80px auto 56px; max-width: 1040px; padding: 56px 24px; border-radius: 20px; background: #000; color: #fff; text-align: center; }
.ab-end p { margin-top: 10px; font-size: 16px; color: #cfcfcf; }
.btn-white { background: #fff; color: #000; border: 2px solid #fff; }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-white:hover { background: #f0f0f0; }
.btn-outline-white:hover { background: rgba(255, 255, 255, .1); }

@media (max-width: 1023px) {
  .ab-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .ab-hero { padding: 64px 16px 56px; }
  .ab-lead { font-size: 23px; line-height: 1.8; }
  .ab-sub { font-size: 15px; line-height: 26px; }
  .ab-sec { padding-top: 56px; }
  .ab-sec h2, .ab-end h2 { font-size: 23px; line-height: 32px; }
  /* the route becomes vertical on phones */
  .ab-stops { grid-template-columns: 1fr; gap: 32px; }
  .ab-line { inset-inline: auto; inset-inline-start: 50%; top: 32px; bottom: 120px; width: 2px; height: auto; background: repeating-linear-gradient(-180deg, #d7d7d7 0 8px, transparent 8px 14px); }
  .ab-line i { inset-inline: 0; width: 100%; height: 0; transition-property: height; }
  .ab-map.in .ab-line i { width: 100%; height: 100%; }
  .ab-line i::after { top: auto; bottom: -6px; inset-inline-end: -5px; }
  .ab-stop { position: relative; background: #fff; padding: 4px 0; }
  .ab-cards { grid-template-columns: 1fr; }
  .ab-end { margin: 56px 16px 40px; padding: 40px 20px; }
  .ab-cta .btn { flex: 1 1 100%; }
}

/* Out of stock: a label on the picture, the picture and price faded (cards, product page, bag) */
.pcard-img, .main-img, .gal-m, .c-img, .bag-item .thumb { position: relative; }
.oos-tag { position: absolute; z-index: 2; inset-inline: 10px; bottom: 10px; padding: 6px 10px; border-radius: 4px; background: rgba(0, 0, 0, .78); color: #fff; font-size: 12px; font-weight: 700; line-height: 16px; text-align: center; pointer-events: none; }
.pcard-oos .pcard-img img, .pcard-oos .pcard-img svg, .is-oos .pimg, .is-oos .c-img img, .bag-item.is-oos .thumb img { opacity: .45; filter: grayscale(.6); }
.pcard-oos .pc-price b, .pcard-oos .pc-price { color: #9a9a9a; }
.c-img .oos-tag, .bag-item .thumb .oos-tag { inset-inline: 4px; bottom: 4px; padding: 3px 4px; font-size: 11px; }
.main-img .oos-tag, .gal-m .oos-tag { inset-inline: auto; inset-inline-start: 16px; bottom: 16px; padding: 8px 14px; font-size: 14px; }
.oos-note { display: flex; align-items: flex-start; gap: 8px; margin: 10px 0 4px; padding: 10px 12px; border-radius: 6px; background: #fdecef; color: #8a0f24; font-size: 14px; line-height: 20px; font-weight: 500; }
.oos-note[hidden] { display: none; }
.oos-note .ic { flex: none; margin-top: 1px; }
.c-oos { display: block; margin-top: 6px; color: var(--red); font-size: 13px; line-height: 18px; font-weight: 700; }
.c-oos-note { background: #fdecef; color: #8a0f24; }

/* Search: a Sephora product link pasted in the search box */
.sp-link { grid-column: 1 / -1; flex: 1 1 100%; max-width: 680px; }
.sp-link .sp-h { display: flex; align-items: center; gap: 8px; }
.sp-link .sp-h .ic { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: #04784e; color: #fff; }
.sp-link-card { display: flex; align-items: center; gap: 18px; margin-top: 12px; padding: 14px; border: 1px solid var(--n100); border-radius: 10px; transition: border-color .2s ease; }
.sp-link-card:hover { border-color: var(--black); }
.sp-link-img { position: relative; flex: none; width: 110px; height: 110px; display: grid; place-items: center; }
.sp-link-img .pimg, .sp-link-img svg { width: 100%; height: 100%; object-fit: contain; }
.sp-link-img .oos-tag { inset-inline: 4px; bottom: 4px; padding: 3px 4px; font-size: 11px; }
.sp-link-b { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 15px; line-height: 21px; }
.sp-link-b b { font-size: 13px; letter-spacing: .03em; }
.sp-link-price { margin-top: 6px; font-weight: 700; font-size: 16px; }
.sp-link-go { margin-top: 14px; width: 100%; }
.sp-link-none { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; padding: 12px 14px; border-radius: 8px; background: #fff7e0; color: #4c3b00; font-size: 14px; line-height: 21px; }
.sp-link-none .ic { flex: none; margin-top: 1px; }

/* "Add the app to your home screen" card (phones) */
.app-card { position: fixed; z-index: 70; inset-inline: 12px; bottom: 12px; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 40px; padding-inline-end: 40px; border-radius: 14px; background: #fff; box-shadow: 0 10px 40px rgba(0, 0, 0, .2); transform: translateY(140%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.app-card.on { transform: none; }
.app-card > img { flex: none; border-radius: 12px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.app-card-b { flex: 1; min-width: 0; font-size: 13px; line-height: 19px; }
.app-card-b b { display: block; font-size: 15px; line-height: 21px; }
.app-card-b p { color: #555; }
.app-card-b .ic { display: inline-block; vertical-align: -3px; }
.app-card .btn { flex: none; min-height: 40px; padding: 0 16px; }
.app-card-x { position: absolute; top: 6px; inset-inline-end: 6px; display: grid; place-items: center; width: 30px; height: 30px; border: 0; background: none; color: #555; }
body.has-sticky .app-card { bottom: 84px; }
@media (min-width: 1024px) { .app-card { inset-inline: auto 24px; width: 380px; } }
.app-steps { margin: 4px 0 0; padding-inline-start: 18px; color: #333; list-style: decimal; }
.app-steps li { margin-top: 2px; }
.app-card:has(.app-steps) { align-items: flex-start; }

/* Payment logos under "Complete order": no frames, each one fitted into the same size box */
.c-pay { flex-wrap: wrap; align-items: center; gap: 10px; }
.pay-logo { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 18px; }
.pay-logo img { display: block; max-width: 100%; max-height: 100%; width: auto; height: 18px; object-fit: contain; }

/* My orders: the return button with the days left (until the Tuesday after the order), or "return requested" */
.order-ret { display: flex; align-items: center; gap: 10px; padding: 12px 24px; border-bottom: 1px solid var(--n100); background: var(--n50); font-size: 14px; line-height: 20px; }
.order-ret > span { flex: 1; }
.order-ret .btn { height: 36px; padding: 0 16px; font-size: 14px; white-space: nowrap; }
.order-ret.sent { color: #1e7b3c; }
.r-left { color: #1e7b3c; font-weight: 700; }
@media (max-width: 767px) {
  .order-ret { flex-wrap: wrap; padding: 12px 16px; }
  .order-ret .btn { width: 100%; }
}
.order-ret.muted-ret { background: #fff; color: #555; }
