/* ==========================================================================
   Storefront look (v1.3): full-bleed hero with a service bar, flat squircle categories, highlight card, deal band,
   collection showcases, trust ribbon, product cards with spec chips, service cards, newsletter panel and the split
   footer. Loaded last: it refines the shared components. Every colour comes from the theme tokens (tokens.css /
   layout/theme.liquid), so the editor's colours and dark mode still drive it.
   Letter-spacing is for Latin text only (it breaks Arabic joining): it sits under html:not([dir="rtl"]).
   ========================================================================== */

:root {
  --sf-radius: 1.25rem;
  --sf-radius-lg: 1.75rem;
  --sf-hairline: color-mix(in srgb, var(--ink) 11%, transparent);
  --sf-olive: var(--scheme-brand-bg);
  --sf-cream: var(--scheme-brand-text);
  --sf-olive-deep: color-mix(in srgb, var(--scheme-brand-bg) 58%, var(--shadow-color));
  /* the store's main colour, fixed here so it stays orange inside brand-colour sections (they remap --primary) */
  --sf-hot: var(--primary);
  --sf-on-hot: var(--on-primary);
}

/* ── Buttons used by the new sections ─────────────────────────────────── */
.btn--olive { background: var(--sf-olive); color: var(--sf-cream); }
.btn--olive:hover { background: var(--sf-olive-deep); }
.btn--light { background: var(--sf-cream); color: var(--sf-olive); }
.btn--light:hover { background: color-mix(in srgb, var(--sf-cream) 88%, var(--sf-olive)); }
.btn--line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, currentColor 55%, transparent); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px currentColor; }

/* ── Section titles: quiet eyebrow, big title, the link as an outlined button ─ */
.section-head__eyebrow { color: var(--ink-600); font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; }
html:not([dir="rtl"]) .section-head__eyebrow { letter-spacing: 0.2em; }
.section-head__title { font-size: clamp(1.625rem, 1.1rem + 1.6vw, 2.5rem); font-weight: 800; line-height: 1.25; }
@media (min-width: 768px) { .section-head__title { font-size: clamp(1.625rem, 1.1rem + 1.6vw, 2.5rem); } }
.section-head__link {
  padding: 0.625rem 1.25rem;
  border-radius: 0.625rem;
  background: var(--card-bg);
  box-shadow: inset 0 0 0 1px var(--sf-hairline);
  color: var(--ink-900);
  font-weight: 600;
  transition: box-shadow var(--t-fast) var(--ease);
}
.section-head__link:hover { gap: 0.375rem; box-shadow: inset 0 0 0 1px var(--ink-600); }
.section-head__link .icon { display: none; }
.color-scheme--brand .section-head__link, .color-scheme--dark .section-head__link { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 40%, transparent); }

/* ══ Hero: stage layout ═══════════════════════════════════════════════════ */
.hero--stage { padding: 0; }
.hero--stage .hero__wrap {
  position: relative;
  height: var(--hero-h, 560px);
  min-height: 26rem;
  overflow: hidden;
  background: var(--sand-200);
}
.hero--stage .hero__viewport { position: absolute; inset: 0; }
.hero--stage .hero__slide {
  position: absolute;
  inset: 0;
  display: block;
  height: 100%;
  min-height: 0;
  border-radius: 0;
}
.hero--stage .hero__media { position: absolute; inset: 0; height: 100%; min-height: 0; }
.hero--stage .hero__media::before { display: none; }
.hero--stage .hero__media .hero__img { height: 100%; }
.hero--stage .hero__media--product { padding: 0; height: 100%; }
.hero--stage .hero__media--product .hero__img { max-height: 62%; margin-block-start: auto; margin-block-end: 6.5rem; }
/* a soft wash behind the text: light at the top for sand slides, dark for ink slides */
.hero--stage .hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--sand-100) 82%, transparent), transparent 58%);
}
.hero--stage .hero__slide--ink::after { background: linear-gradient(to bottom, color-mix(in srgb, var(--shadow-color) 62%, transparent), transparent 62%); }
/* slides without a picture: a lit studio backdrop instead of a flat block */
.hero--stage .hero__slide--no-image.hero__slide--sand {
  background:
    radial-gradient(60% 80% at 12% 105%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 70%),
    radial-gradient(45% 60% at 92% 0%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 70%),
    linear-gradient(180deg, var(--sand-100), var(--sand-300));
}
.hero--stage .hero__slide--no-image.hero__slide--ink {
  background:
    radial-gradient(55% 75% at 85% 110%, color-mix(in srgb, var(--primary) 30%, transparent), transparent 70%),
    radial-gradient(60% 80% at 8% -10%, color-mix(in srgb, var(--accent) 70%, transparent), transparent 70%),
    linear-gradient(180deg, var(--sf-olive-deep), var(--scheme-dark-bg));
}
.hero--stage .hero__slide--no-image .hero__pattern { opacity: 0.12; }
.hero--stage .hero__slide--no-image.hero__slide--sand .hero__pattern { color: var(--accent); opacity: 0.1; }

.hero--stage .hero__copy {
  position: relative;
  z-index: 2;
  align-items: center;
  max-width: 54rem;
  margin-inline: auto;
  padding: clamp(2.25rem, 6vw, 4.5rem) var(--gutter) 0;
  text-align: center;
  gap: 0.75rem;
}
.hero--stage.hero--text-start .hero__copy { align-items: flex-start; max-width: var(--container); text-align: start; }
.hero--stage .hero__eyebrow {
  background: transparent;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 35%, transparent);
  font-size: 0.8125rem;
}
.hero--stage .hero__slide--sand .hero__eyebrow { background: transparent; color: var(--accent); }
.hero--stage .hero__title { font-size: clamp(2.25rem, 1.2rem + 4.2vw, 4.75rem); line-height: 1.2; letter-spacing: -0.01em; }
.hero--stage .hero__slide--sand .hero__title { color: color-mix(in srgb, var(--accent) 70%, var(--ink)); }
.hero--stage .hero__body { max-width: 40rem; font-size: clamp(1rem, 0.85rem + 0.6vw, 1.375rem); opacity: 0.9; }
.hero--stage .hero__actions { display: none; }
.hero--stage .hero__badge { inset-block-start: var(--space-5); inset-inline-end: var(--space-5); font-size: var(--text-xs); }

/* the trust pill over the picture */
.hero__trustbar {
  position: absolute;
  z-index: 3;
  inset-block-end: 1.25rem;
  inset-inline-start: 50%;
  translate: -50% 0;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0.75rem 0.5rem;
  list-style: none;
  border-radius: 1rem;
  background: color-mix(in srgb, var(--card-bg) 52%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--card-bg) 70%, transparent), var(--shadow-md);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  color: var(--ink-900);
  white-space: nowrap;
}
[dir="rtl"] .hero__trustbar { translate: 50% 0; }
.hero__trustbar-item { display: flex; align-items: center; gap: 0.625rem; padding-inline: 1.25rem; font-size: 0.9375rem; font-weight: 600; line-height: 1.3; }
.hero__trustbar-item + .hero__trustbar-item { border-inline-start: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); }
.hero__trustbar-item .icon { flex: none; color: color-mix(in srgb, var(--accent) 75%, var(--ink)); }

/* the bar under the picture */
.hero__bar { background: var(--sf-olive-deep); color: var(--sf-cream); }
.hero__bar-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-height: 5.5rem;
  gap: var(--space-4);
}
.hero__bar-side { display: flex; justify-content: center; align-items: center; gap: var(--space-8); align-self: stretch; }
.hero__bar-side:first-child { border-inline-end: 1px solid color-mix(in srgb, var(--sf-cream) 22%, transparent); }
.hero__bar-side--end { border-inline-start: 1px solid color-mix(in srgb, var(--sf-cream) 22%, transparent); }
.hero__bar-side:empty { border: 0; }
.hero__service { display: flex; align-items: center; gap: 0.875rem; }
.hero__service-icon {
  display: grid; place-items: center; flex: none;
  width: 3.25rem; height: 3.25rem;
  border-radius: var(--r-full);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--sf-cream) 32%, transparent);
  color: color-mix(in srgb, var(--sf-cream) 85%, transparent);
}
.hero__service-text { display: flex; flex-direction: column; line-height: 1.35; }
.hero__service-note { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; color: color-mix(in srgb, var(--sf-cream) 78%, transparent); }
html:not([dir="rtl"]) .hero__service-note { letter-spacing: 0.08em; }
.hero__service-title { font-size: 1rem; font-weight: 700; }
.hero__bar-center { display: flex; align-items: center; justify-content: center; gap: var(--space-4); padding-inline: var(--space-4); }
.hero__pause {
  display: grid; place-items: center;
  width: 3rem; height: 3rem;
  border-radius: var(--r-full);
  background: color-mix(in srgb, var(--shadow-color) 40%, transparent);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--sf-cream) 60%, transparent);
  color: var(--sf-cream);
}
.hero__pause:hover { background: color-mix(in srgb, var(--sf-cream) 14%, transparent); }
.hero__pause .icon { fill: currentColor; stroke-width: 0; }
.hero__pause-on, .hero__pause-off { display: grid; place-items: center; }
.hero__pause-off, .hero__pause[aria-pressed="true"] .hero__pause-on { display: none; }
.hero__pause[aria-pressed="true"] .hero__pause-off { display: grid; }
.hero--stage .hero__dots { padding: 0; gap: 0.5rem; }
.hero--stage .hero__dot { width: 0.625rem; height: 0.625rem; background: color-mix(in srgb, var(--sf-cream) 45%, transparent); }
.hero--stage .hero__dot.is-active { width: 2.75rem; background: var(--sf-cream); }
.hero__bar-cta {
  display: inline-flex; align-items: center;
  height: 3.25rem;
  padding-inline: 1.75rem;
  border-radius: var(--r-full);
  background: var(--card-bg);
  color: var(--ink-900);
  font-size: 1.0625rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast) var(--ease);
}
.hero__bar-cta:hover { transform: translateY(-1px); }

@media (max-width: 899px) {
  .hero--stage .hero__wrap { height: auto; min-height: 30rem; aspect-ratio: auto; }
  .hero--stage .hero__wrap { height: max(30rem, 70vw); }
  .hero__trustbar { inset-inline: var(--gutter); translate: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 0.625rem; padding: 0.75rem; white-space: normal; }
  [dir="rtl"] .hero__trustbar { translate: none; }
  .hero__trustbar-item { padding-inline: 0.5rem; font-size: 0.8125rem; gap: 0.5rem; }
  .hero__trustbar-item .icon { width: 20px; height: 20px; }
  .hero__trustbar-item + .hero__trustbar-item { border: 0; }
  .hero__bar-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "center center" "start end"; padding-block: var(--space-4); row-gap: var(--space-4); }
  .hero__bar-center { grid-area: center; padding: 0; }
  .hero__bar-side { grid-area: start; justify-content: flex-start; border: 0 !important; }
  .hero__bar-side--end { grid-area: end; }
  .hero__service-icon { width: 2.5rem; height: 2.5rem; }
  .hero__service-icon .icon { width: 18px; height: 18px; }
  .hero__service-title { font-size: 0.875rem; }
  .hero__service-note { font-size: 0.6875rem; }
  .hero__bar-cta { height: 2.75rem; padding-inline: 1.25rem; font-size: 0.9375rem; }
  .hero__pause { width: 2.5rem; height: 2.5rem; }
}
@media (max-width: 899px) and (min-width: 600px) { .hero--stage .hero__wrap { height: 32rem; } }

/* ══ Category strip: white band, squircle tiles ═══════════════════════════ */
.section:has(> .container > .cat-strip) { background: var(--card-bg); border-block-end: 1px solid var(--sf-hairline); }
/* fixed-width tiles centred in the row: a store with 3 categories looks as finished as one with 12 */
.cat-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-6) var(--space-4); }
.cat-strip > *, .cat-strip__item > * { width: 5.25rem; }
@media (min-width: 1024px) { .cat-strip { gap: var(--space-6) var(--space-5); } .cat-strip > *, .cat-strip__item > * { width: 6.5rem; } }
.category-card { gap: 0.75rem; text-align: center; }
.category-card__media {
  width: 4.5rem; height: 4.5rem;
  border-radius: 28%;
  background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--accent) 55%, var(--gold-300)), var(--sf-olive-deep));
  box-shadow: 0 10px 22px color-mix(in srgb, var(--shadow-color) calc(16% * var(--shadow-k)), transparent), inset 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent);
}
@media (min-width: 1024px) { .category-card__media { width: 5.5rem; height: 5.5rem; } }
.category-card__name { font-size: 0.875rem; font-weight: 500; color: var(--ink-900); }

/* ══ Highlight card ═══════════════════════════════════════════════════════
   White card, a hairline edge and a soft shadow under it; two faint washes (a peach haze in the top end corner, a grey
   haze low in the middle) instead of a visible blob. Copy on the start side, the option chips centred on the end side. */
.highlight__card {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: var(--space-8);
  padding: clamp(1.75rem, 1rem + 2.4vw, 3.25rem) clamp(1.5rem, 1rem + 2vw, 2.75rem);
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--card-bg);
  border: 1px solid color-mix(in srgb, var(--ink) 13%, transparent);
  box-shadow: var(--shadow-card);
}
.highlight__card::before,
.highlight__card::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.highlight__card::before {
  inset-block-start: -9rem;
  inset-inline-end: -9rem;
  width: 30rem; height: 24rem;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--sf-hot) 11%, transparent), color-mix(in srgb, var(--sf-hot) 5%, transparent) 55%, transparent);
}
.highlight__card::after {
  inset-block-end: -8rem;
  inset-inline-start: 38%;
  width: 26rem; height: 16rem;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--ink) 5%, transparent), transparent);
}
.highlight__copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0.875rem; max-width: 46rem; }
.highlight__eyebrow { color: var(--sf-hot); font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; }
html:not([dir="rtl"]) .highlight__eyebrow { letter-spacing: 0.2em; }
.highlight__title { font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem); font-weight: 700; line-height: 1.3; color: var(--ink-900); }
.highlight__text { color: var(--ink-600); font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem); line-height: 1.8; }
.highlight__btn { gap: 0.5rem; height: 2.875rem; padding-inline: 1.375rem; margin-block: 0.5rem 0.75rem; font-size: 1rem; font-weight: 600; }
[dir="rtl"] .highlight__btn-icon { transform: scaleX(-1); }
.highlight__note { color: var(--ink-500); font-size: 0.8125rem; line-height: 1.9; }
.highlight__options { position: relative; display: grid; gap: 1rem; align-content: center; margin: 0; padding: 0; list-style: none; }
.highlight__option {
  display: flex; align-items: center; gap: 0.875rem;
  padding: 0.75rem 1rem 0.75rem 0.75rem;
  border-radius: 1.25rem;
  background: color-mix(in srgb, var(--bg) 50%, var(--card-bg));
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
a.highlight__option:hover { border-color: var(--sf-hot); background: var(--card-bg); }
.highlight__option-icon { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; background: color-mix(in srgb, var(--sf-hot) 15%, var(--card-bg)); color: var(--sf-hot); }
.highlight__option-icon .icon { width: 1.25rem; height: 1.25rem; stroke-width: 1.75; }
.highlight__option-label { font-size: 1.0625rem; font-weight: 600; color: var(--ink-900); }
@media (min-width: 900px) {
  .highlight__card { grid-template-columns: minmax(0, 1fr) 13.5rem; align-items: center; gap: var(--space-12); }
}

/* ══ Deal band ════════════════════════════════════════════════════════════
   Compact: one slim band. Copy on the start side (tags, title, one line, two small buttons); the deal product as a
   small horizontal card on the other (thumbnail, name on one line, price). */
.deal__band {
  position: relative;
  display: grid;
  gap: 1rem 2rem;
  align-items: center;
  padding: 1.25rem clamp(1.25rem, 1rem + 1.5vw, 2rem);
  overflow: hidden;
  border-radius: 1.5rem;
  background:
    radial-gradient(34% 120% at 100% 0%, color-mix(in srgb, var(--sf-hot) 30%, transparent), transparent 70%),
    var(--bg);
}
.deal__orb { display: none; }
.deal__copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0.375rem; }
.deal__tags { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-block-end: 0.125rem; }
.deal__badge, .deal__timer { display: inline-flex; align-items: center; gap: 0.3125rem; height: 1.5rem; padding-inline: 0.625rem; border-radius: var(--r-full); font-size: 0.75rem; font-weight: 700; }
.deal__badge { background: var(--sf-hot); color: var(--sf-on-hot); }
.deal__timer { background: color-mix(in srgb, var(--shadow-color) 30%, transparent); }
.deal__timer b { font-weight: 700; }
.deal__title { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); font-weight: 700; line-height: 1.25; color: var(--ink); }
.deal__text { color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }
.deal__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-block-start: 0.5rem; }
.deal__actions .btn { height: 2.5rem; padding-inline: 1.125rem; font-size: 0.9375rem; font-weight: 600; }
.deal__product {
  position: relative;
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  align-items: center;
  gap: 0.875rem;
  padding: 0.5rem;
  border-radius: 1rem;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 28%, transparent);
  transition: background-color var(--t-fast) var(--ease);
}
.deal__product:hover { background: color-mix(in srgb, var(--ink) 13%, transparent); }
.deal__product-media { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 0.75rem; background: var(--light-card); }
.deal__product-media img { width: 100%; height: 100%; object-fit: cover; }
.deal__product-info { display: flex; flex-direction: column; gap: 0.125rem; min-width: 0; padding-inline-end: 0.5rem; }
.deal__product-label { color: var(--muted); font-size: 0.75rem; font-weight: 600; }
.deal__product-title { font-size: 1rem; font-weight: 600; line-height: 1.4; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deal__product-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.3125rem; }
.deal__product-price small { color: var(--muted); font-size: 0.75rem; }
.deal__product-price b { font-size: 1.25rem; font-weight: 700; }
.deal__product-price s { color: var(--muted); font-size: 0.8125rem; }
html:not([dir="rtl"]) .deal__product-currency { order: -1; }
@media (min-width: 900px) { .deal__band { grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); } }

/* ══ Product cards ════════════════════════════════════════════════════════ */
.product-card {
  border-radius: var(--sf-radius);
  background: var(--card-bg);
  box-shadow: inset 0 0 0 1px var(--sf-hairline), var(--shadow-xs);
}
.product-card:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 18%, transparent), var(--shadow-md); transform: translateY(-2px); }
[data-card-style] .product-card { border: 0; }
.product-card__media { padding: 0.875rem; background: color-mix(in srgb, var(--ink) 4.5%, var(--card-bg)); }
.product-card__media > a:not(.product-card__fab) { position: relative; display: block; height: 100%; overflow: hidden; border-radius: 0.75rem; background: var(--card-bg); }
.product-card__img--hover { border-radius: inherit; }
.product-card:hover .product-card__img { transform: scale(1.04); }
.product-card__flags { inset-block-start: 1.5rem; inset-inline-start: 1.5rem; }
.product-card__fav {
  inset-block-start: 1.25rem; inset-inline-end: 1.25rem;
  width: 2.5rem; height: 2.5rem;
  background: var(--card-bg);
  color: var(--ink-800);
  box-shadow: inset 0 0 0 1px var(--sf-hairline), var(--shadow-xs);
}
.product-card__quick { inset-inline: 1.5rem 5rem; inset-block-end: 1.5rem; }
.product-card__fab {
  position: absolute;
  z-index: 3;
  inset-block-end: 1.25rem;
  inset-inline-end: 1.25rem;
  display: grid; place-items: center;
  width: 3rem; height: 3rem;
  border: 0;
  border-radius: var(--r-full);
  background: var(--sf-olive);
  color: var(--sf-cream);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--shadow-color) calc(22% * var(--shadow-k)), transparent);
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.product-card__fab:hover { transform: scale(1.06); background: var(--sf-olive-deep); }
.product-card__fab--add { background: var(--primary); color: var(--on-primary); }
.product-card__fab--add:hover { background: var(--brand-700); }
.product-card__fab--add .icon { stroke-width: 2.5; }
.product-card__fab.is-added { background: var(--success); }
.product-card__fab.is-loading { color: transparent; }

.product-card__body { gap: 0.5rem; padding: 1rem 1.125rem 1.125rem; }
.spec-chips { display: flex; flex-wrap: wrap; gap: 0.375rem; margin: 0 0 0.125rem; padding: 0; list-style: none; }
.spec-chip {
  padding: 0.125rem 0.5rem;
  border-radius: 0.5rem;
  box-shadow: inset 0 0 0 1px var(--sf-hairline);
  color: var(--ink-600);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.6;
  white-space: nowrap;
}
.product-card__title { font-size: 1rem; font-weight: 600; line-height: 1.55; color: var(--ink-900); min-height: calc(2 * 1.55em); }
.card-swatch { width: 1.25rem; height: 1.25rem; }
.card-swatch::before { width: 0.875rem; height: 0.875rem; }
.product-card__prices { margin-block-start: auto; padding-block-start: 0.375rem; }
.product-card__prices .price { display: inline-flex; align-items: baseline; gap: 0.3125rem; font-size: 1.375rem; font-weight: 700; color: var(--ink-900); }
.product-card__prices .price__currency { font-size: 0.875rem; font-weight: 500; color: var(--ink-600); }
.product-card__stock { font-size: 0.875rem; color: var(--ink-600); }
.product-card__stock.is-in { color: var(--success); }
.product-card__stock.is-out { color: var(--danger); }
.product-card__delivery { display: flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; color: var(--success); }
.product-card__delivery .icon { flex: none; }
.product-card__foot { padding: 0 1.125rem 1.125rem; }
.product-card__foot .btn {
  height: 2.75rem;
  gap: 0.5rem;
  background: var(--card-bg);
  color: var(--ink-900);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 16%, transparent);
  font-weight: 600;
}
.product-card__foot .btn:hover { box-shadow: inset 0 0 0 1px var(--ink-700); }
@media (max-width: 599px) {
  .product-card__media { padding: 0.5rem; }
  .product-card__fav { inset-block-start: 0.875rem; inset-inline-end: 0.875rem; width: 2.125rem; height: 2.125rem; }
  .product-card__fab { inset-block-end: 0.875rem; inset-inline-end: 0.875rem; width: 2.5rem; height: 2.5rem; }
  .product-card__body { padding: 0.75rem; }
  .product-card__foot { padding: 0 0.75rem 0.75rem; }
  .product-card__foot .btn { font-size: 0.8125rem; padding-inline: 0.5rem; }
  .product-card__prices .price { font-size: 1.125rem; }
  .product-card__flags { inset-block-start: 1rem; inset-inline-start: 1rem; }
}
/* the grids' "5 per row" (components.css sets the columns again through --cols later on) */
@media (min-width: 1280px) { .product-grid--5 { --cols: 5; } }
@media (min-width: 1024px) { .product-grid--3 { --cols: 3; } .product-grid--2 { --cols: 2; } }
/* the price reads number first in Arabic; in English the currency leads (SAR 79) */
html:not([dir="rtl"]) .product-card__prices .price__currency { order: -1; }
/* five cards per row in rails on wide screens, like the grids */
@media (min-width: 1200px) {
  .product-rail { grid-auto-columns: calc((100% - 4 * var(--space-4)) / 5); margin-inline: 0; padding-inline: 0; }
}

/* ══ Collection showcase ══════════════════════════════════════════════════ */
.showcase__bar { padding-block: 1.5rem; }
.showcase__bar-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: var(--space-4);
  padding-inline: clamp(1rem, 3vw, 4rem);
}
.showcase__tagline { display: flex; align-items: center; gap: 1rem; min-width: 0; color: var(--muted); font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; }
html:not([dir="rtl"]) .showcase__tagline { letter-spacing: 0.2em; }
.showcase__mark { display: flex; padding-inline-end: 1rem; border-inline-end: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); }
.showcase__mark .logo__img { height: 1.75rem; width: auto; }
/* store logo in the bar: the picture alone; no logo = the store name (no platform mark) */
.showcase__mark .logo__mark, .showcase__mark .logo__name { display: none; }
.showcase__mark .logo__word { font-size: 1rem; color: inherit; }
.showcase__title { font-size: clamp(1.5rem, 0.9rem + 2.6vw, 3.25rem); font-weight: 700; line-height: 1.2; text-align: center; color: var(--ink); }
html:not([dir="rtl"]) .showcase__title { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; }
.showcase__link { justify-self: end; color: var(--ink); font-size: 0.875rem; font-weight: 700; text-transform: uppercase; }
html:not([dir="rtl"]) .showcase__link { letter-spacing: 0.2em; }
.showcase__link:hover { text-decoration: underline; text-underline-offset: 0.35em; }
.showcase__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.showcase__grid--few { grid-template-columns: repeat(var(--tiles), minmax(0, 1fr)); }
.showcase__tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  background: linear-gradient(160deg, var(--sand-100), var(--sand-300));
  isolation: isolate;
}
.showcase__grid--few .showcase__tile { aspect-ratio: 16 / 11; }
.showcase__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease-out); }
.showcase__tile:hover .showcase__img { transform: scale(1.05); }
.showcase__pattern { position: absolute; inset: 0; color: var(--accent); opacity: 0.12; }
.showcase__num {
  position: absolute;
  z-index: 1;
  inset-block-start: 1.25rem;
  inset-inline-start: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.5rem + 3vw, 5rem);
  font-weight: 700;
  line-height: 1;
  color: color-mix(in srgb, var(--on-media) 72%, transparent);
  text-shadow: 0 2px 18px color-mix(in srgb, var(--shadow-color) 30%, transparent);
}
.showcase__tile--no-image .showcase__num { color: color-mix(in srgb, var(--ink) 26%, transparent); text-shadow: none; }
.showcase__label {
  position: absolute;
  z-index: 2;
  inset-inline: clamp(0.75rem, 2vw, 2.25rem);
  inset-block-end: clamp(0.75rem, 2vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.875rem 1.25rem;
  border-radius: var(--sf-radius);
  background: color-mix(in srgb, var(--card-bg) 82%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--card-bg) 60%, transparent), 0 10px 30px color-mix(in srgb, var(--shadow-color) 12%, transparent);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  color: var(--ink-900);
}
.showcase__tile--dark .showcase__label { background: color-mix(in srgb, var(--shadow-color) 62%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--on-media) 22%, transparent); color: var(--on-media); }
.showcase__label-title { font-size: clamp(1.0625rem, 0.9rem + 0.6vw, 1.5rem); font-weight: 700; line-height: 1.3; }
.showcase__label-note { font-size: clamp(0.8125rem, 0.75rem + 0.25vw, 1rem); opacity: 0.8; }
@media (max-width: 767px) {
  .showcase__bar-inner { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title link"; }
  .showcase__tagline { display: none; }
  .showcase__title { grid-area: title; text-align: start; }
  .showcase__link { grid-area: link; }
  html:not([dir="rtl"]) .showcase__title { letter-spacing: 0.16em; }
  .showcase__grid, .showcase__grid--few { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase__grid--few:has(> :only-child) { grid-template-columns: 1fr; }
  .showcase__label { padding: 0.625rem 0.75rem; border-radius: 0.75rem; }
  .showcase__num { inset-block-start: 0.75rem; inset-inline-start: 0.875rem; }
}

/* ══ Trust ribbon ═════════════════════════════════════════════════════════ */
.ribbon__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block: 0;
  padding-block: 1rem;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.ribbon__inner::-webkit-scrollbar { display: none; }
.ribbon__item { display: flex; align-items: center; gap: 0.625rem; padding-inline: 2.5rem; font-size: 0.875rem; font-weight: 700; text-transform: uppercase; white-space: nowrap; }
html:not([dir="rtl"]) .ribbon__item { letter-spacing: 0.16em; }
.ribbon__item + .ribbon__item { border-inline-start: 1px solid color-mix(in srgb, var(--ink) 40%, transparent); }
.ribbon__item .icon { flex: none; opacity: 0.85; }
@media (max-width: 899px) {
  .ribbon__inner { justify-content: flex-start; }
  .ribbon__item { padding-inline: 1.25rem; font-size: 0.8125rem; }
}

/* ══ Service cards ════════════════════════════════════════════════════════ */
.svc-cards__grid { display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .svc-cards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.svc-card {
  display: grid;
  grid-template-columns: minmax(8rem, 0.62fr) minmax(0, 1fr);
  min-height: 15rem;
  overflow: hidden;
  border-radius: var(--sf-radius-lg);
  background: var(--card-bg);
  box-shadow: inset 0 0 0 1px var(--sf-hairline);
}
.svc-card__art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 12%, color-mix(in srgb, var(--sf-cream) 12%, transparent) 0 22%, transparent 22.5%),
    radial-gradient(circle at 8% 100%, color-mix(in srgb, var(--primary) 40%, transparent) 0 18%, transparent 18.5%),
    var(--sf-olive);
  color: var(--sf-cream);
}
.svc-card__art--dark {
  background:
    radial-gradient(70% 70% at 85% 0%, color-mix(in srgb, var(--primary) 42%, transparent), transparent 70%),
    color-mix(in srgb, var(--sf-olive) 45%, var(--shadow-color));
}
.svc-card__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-art-swap { position: relative; width: 11rem; height: 9rem; }
.svc-art-swap__a, .svc-art-swap__b {
  position: absolute;
  display: block;
  width: 4.75rem; height: 7.5rem;
  padding: 0.5rem;
  border-radius: 1rem;
  background: color-mix(in srgb, var(--sf-cream) 14%, transparent);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--sf-cream) 40%, transparent);
}
.svc-art-swap__a { inset-inline-start: 0; inset-block-start: 0; }
.svc-art-swap__b { inset-inline-end: 0; inset-block-end: 0; }
.svc-art-swap i { display: block; height: 60%; border-radius: 0.5rem; }
.svc-art-swap__a i { background: linear-gradient(160deg, color-mix(in srgb, var(--info) 40%, var(--sf-cream)), color-mix(in srgb, var(--info) 70%, var(--sf-cream))); }
.svc-art-swap__b i { background: linear-gradient(160deg, color-mix(in srgb, var(--primary) 35%, var(--sf-cream)), var(--primary)); }
.svc-art-swap__mark {
  position: absolute; inset: 0; margin: auto;
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--sf-olive) 70%, var(--sf-cream));
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--sf-cream) 45%, transparent);
}
.svc-art-support { position: relative; display: grid; place-items: center; width: 12rem; height: 12rem; }
.svc-art-support__ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sf-cream) 22%, transparent); }
.svc-art-support__ring + .svc-art-support__ring { inset: 1.75rem; }
.svc-art-support__core { display: grid; place-items: center; width: 4.75rem; height: 4.75rem; border-radius: 50%; background: color-mix(in srgb, var(--sf-cream) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sf-cream) 30%, transparent); }
.svc-art-support__tool { position: absolute; inset-block-end: 1.5rem; inset-inline-end: 1.5rem; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--primary); color: var(--on-primary); }
.svc-card__body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.625rem; padding: clamp(1.25rem, 1rem + 1.5vw, 2.5rem); }
.svc-card__eyebrow { color: var(--ink-600); font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; }
html:not([dir="rtl"]) .svc-card__eyebrow { letter-spacing: 0.2em; }
.svc-card__title { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); font-weight: 800; line-height: 1.25; }
.svc-card__text { color: var(--ink-600); font-size: 1rem; line-height: 1.75; }
.svc-card__link { display: inline-flex; align-items: center; gap: 0.5rem; margin-block-start: var(--space-2); color: var(--primary); font-weight: 700; transition: gap var(--t-fast) var(--ease); }
.svc-card__link:hover { gap: 0.75rem; }
@media (max-width: 599px) {
  .svc-card { grid-template-columns: 1fr; }
  .svc-card__art { min-height: 11rem; }
}

/* ══ Newsletter panel ═════════════════════════════════════════════════════ */
.newsletter--panel { padding-block: calc(var(--section-space) * 0.9); background: var(--bg); }
.newsletter--panel .newsletter__inner {
  position: relative;
  display: grid;
  gap: var(--space-6);
  align-items: center;
  padding: clamp(1.75rem, 1rem + 3vw, 4.5rem);
  overflow: hidden;
  border-radius: var(--sf-radius-lg);
  background:
    radial-gradient(color-mix(in srgb, var(--ink) 10%, transparent) 1px, transparent 1.5px) 0 0 / 22px 22px,
    radial-gradient(60% 120% at 85% 30%, color-mix(in srgb, var(--card-bg) 70%, transparent), transparent 70%),
    color-mix(in srgb, var(--accent) 9%, var(--bg));
  box-shadow: inset 0 0 0 1px var(--sf-hairline);
}
@media (min-width: 900px) { .newsletter--panel .newsletter__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--space-10); padding-inline-end: clamp(2rem, 14vw, 16rem); } }
.newsletter--panel .newsletter__copy { position: relative; z-index: 1; }
.newsletter--panel .newsletter__title { font-size: clamp(1.75rem, 1.1rem + 2.2vw, 3rem); font-weight: 800; line-height: 1.25; color: color-mix(in srgb, var(--accent) 80%, var(--ink)); }
.newsletter--panel .newsletter__body { color: var(--ink-600); font-size: 1.0625rem; line-height: 1.75; margin-block-start: 0.75rem; }
.newsletter--panel form { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 0.875rem; }
.newsletter--panel .newsletter__form { flex-wrap: nowrap; gap: 0.75rem; }
.newsletter--panel .newsletter__form .input-group { flex: 1; min-width: 0; }
.newsletter--panel .newsletter__form .input { height: 3.5rem; border-radius: 0.875rem; background: var(--card-bg); }
.newsletter--panel .newsletter__form .btn { height: 3.5rem; padding-inline: 1.75rem; border-radius: 0.875rem; font-size: 1.0625rem; }
.newsletter__consent { display: flex; align-items: flex-start; gap: 0.625rem; color: var(--ink-600); font-size: 0.875rem; line-height: 1.6; cursor: pointer; }
.newsletter__consent input { flex: none; width: 1.125rem; height: 1.125rem; margin-block-start: 0.15em; accent-color: var(--accent); }
.newsletter__mark { position: absolute; inset-inline-end: clamp(1rem, 3vw, 3rem); inset-block-end: clamp(1rem, 3vw, 2.5rem); opacity: 0.16; pointer-events: none; filter: grayscale(1); }
.newsletter__mark .logo__img { height: clamp(3rem, 6vw, 6.5rem); width: auto; }
@media (max-width: 899px) { .newsletter__mark { display: none; } }
@media (max-width: 599px) { .newsletter--panel .newsletter__form { flex-wrap: wrap; } .newsletter--panel .newsletter__form .btn { flex: 1; } }

/* ══ Footer: deep olive, one large contact line ══════════════════════════
   The page ends on the brand colour. Top: the theme mark + a tagline, socials at the far side. Middle: the store's links in
   two columns beside the contact block, whose phone number is the largest type in the footer. Bottom: a hairline, the
   copyright and the payment methods. No boxes, no second colour band. */
.footer--split {
  --f-line: color-mix(in srgb, var(--sf-cream) 14%, transparent);
  --f-dim: color-mix(in srgb, var(--sf-cream) 62%, transparent);
  --f-text: color-mix(in srgb, var(--sf-cream) 86%, transparent);
  background: var(--sf-olive-deep);
  color: var(--f-text);
  border: 0;
}
.footer__intro { display: flex; align-items: center; gap: 1.25rem; padding-block: 2.5rem 2rem; border-block-end: 1px solid var(--f-line); }
.footer__mark { display: flex; flex: none; }
.footer__mark .logo-mark { height: 2.5rem; width: 2.7rem; color: var(--sf-cream); --logo-face: var(--sf-olive-deep); }
.footer__tagline { max-width: 36rem; margin: 0; padding-inline-start: 1.25rem; border-inline-start: 1px solid var(--f-line); color: var(--f-dim); font-size: 0.9375rem; line-height: 1.6; }
.footer__intro .footer__socials { margin-inline-start: auto; gap: 0.625rem; }
.footer--split .footer__social { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: transparent; color: var(--sf-cream); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sf-cream) 34%, transparent); transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.footer--split .footer__social:hover { background: var(--sf-cream); color: var(--sf-olive-deep); }

.footer__top--split { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-10); padding-block: 2.75rem; }
@media (min-width: 1024px) {
  .footer__top--split.has-aside { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: var(--space-12); }
  .footer__top--split .footer__aside { padding-inline-start: var(--space-12); border-inline-start: 1px solid var(--f-line); }
}
.footer__main { display: flex; flex-wrap: wrap; gap: 2.5rem 4.5rem; align-items: flex-start; }
.footer__main .footer__col { flex: 1 1 15rem; min-width: 0; }
.footer__main .footer__col--wide { flex: 1.1 1 20rem; }
@media (min-width: 900px) { .footer__main .footer__col--wide { padding-inline-start: 4.5rem; border-inline-start: 1px solid var(--f-line); } }
.footer--split .footer__col-title { margin: 0 0 1.25rem; color: var(--f-dim); font-size: 0.9375rem; font-weight: 500; text-transform: none; letter-spacing: 0; }
.footer--split .footer__links { gap: 0.875rem; }
.footer__main .footer__col:not(.footer__col--wide) .footer__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.875rem 2rem; }
.footer--split .footer__link { color: var(--f-text); font-size: 1rem; line-height: 1.5; text-underline-offset: 0.35em; transition: color var(--t-fast) var(--ease); }
.footer--split .footer__link:hover { color: var(--sf-cream); text-decoration: underline; text-decoration-color: var(--sf-hot); text-decoration-thickness: 2px; }
.footer--split .footer__link .icon { width: 1.125rem; height: 1.125rem; color: var(--f-dim); }

/* contact: the phone is the one big thing */
.footer__col--wide .footer__links { gap: 1.125rem; }
.footer__col--wide .footer__link[href^="tel"] { color: var(--sf-cream); font-size: clamp(1.625rem, 1.15rem + 1.6vw, 2.375rem); font-weight: 600; line-height: 1.2; letter-spacing: 0.01em; }
.footer__col--wide .footer__link[href^="tel"] .icon { display: none; }
.footer__col--wide .footer__link[href^="tel"]:hover { text-decoration: none; color: var(--sf-cream); }
.footer__col--wide .footer__link[href^="mailto"] { font-size: 1.0625rem; }

.footer--split .footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  padding-block: 1.5rem 1.75rem;
  border-block-start: 1px solid var(--f-line);
  color: var(--f-dim);
  font-size: 0.8125rem;
  text-align: start;
}
.footer--split .footer__bottom p { margin: 0; text-align: start; }
.footer__copy { display: flex; flex-direction: column; gap: 0.25rem; }
.footer--split .footer__legal a { color: var(--f-text); }
.footer--split .footer__legal a:hover { color: var(--sf-cream); text-decoration: underline; }
.footer--split .pay-methods { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.footer--split .pay-methods__item { display: inline-flex; align-items: center; min-height: 2rem; padding: 0.25rem 0.75rem; border-radius: 0.5rem; background: var(--sf-cream); color: var(--sf-olive-deep); font-size: 0.75rem; font-weight: 700; }
.footer--split .pay-methods__item img { display: block; height: 1.25rem; width: auto; }

/* reviews column (when the store has reviews) on the dark footer */
.footer--split .freviews__eyebrow, .footer--split .freviews__score, .footer--split .freview__date { color: var(--f-dim); }
.footer--split .freviews__title, .footer--split .freview__name, .footer--split .freviews__score b { color: var(--sf-cream); }
.footer--split .freview { border-block-end-color: var(--f-line); }
.footer--split .freview__body { color: var(--f-text); }
.footer--split .freviews__more { color: var(--sf-cream); }

@media (max-width: 767px) {
  .footer__intro { flex-wrap: wrap; padding-block: 2rem 1.5rem; }
  .footer__tagline { flex: 1 1 100%; order: 3; padding-inline-start: 0; border-inline-start: 0; }
  .footer__top--split { padding-block: 2rem; }
  .footer__main { gap: 2rem; }
  .footer--split .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ══ Navbar: thin and quiet ═══════════════════════════════════════════════
   One 60px row: the mark at the start, the menu centred on the page, light icons at the end. No filled pills: the
   current page is a small dot in the store colour under its link; hover only brightens the text. */
:root { --header-main: 3.75rem; }
.header { box-shadow: 0 1px 0 color-mix(in srgb, var(--header-text) 14%, transparent); }
.header.is-stuck { box-shadow: 0 1px 0 color-mix(in srgb, var(--header-text) 14%, transparent), 0 6px 18px color-mix(in srgb, var(--shadow-color) 14%, transparent); }
.header__main { min-height: var(--header-main); gap: var(--space-3); }
/* One row, space-between: the logo at the start edge, every menu link and the icon group spread with equal gaps, the
   icons at the end edge. The two menu halves dissolve into the row (display: contents); the logo is ordered first. */
@media (min-width: 1024px) {
  .header__main { display: flex; justify-content: space-between; align-items: center; gap: 0; }
  .header__nav { display: contents; }
  .header__brand { order: -1; }
  .header__actions { margin: 0; }
  /* A menu longer than the row (1024–1240px with a long menu): the links that don't fit are tucked away from the end
     (theme.js) and the burger comes back, so the icons never leave the screen; the burger's drawer holds the whole menu. */
  .header__nav-item { flex-shrink: 0; white-space: nowrap; }
  .header__nav > .is-tucked { display: none; }
  .header.has-tucked .header__burger { display: inline-flex; }
}

/* the mark: the bar's text colour, the face cut out in the bar's colour */
.logo-mark { display: block; flex: none; width: 2.16rem; height: 2rem; color: var(--header-text); --logo-face: var(--header-bg); transition: transform var(--t-base) var(--ease-out); }
.header__brand:hover .logo-mark { transform: rotate(-6deg); }
.drawer .logo-mark { color: var(--ink-900); --logo-face: var(--card-bg); }
@media (prefers-reduced-motion: reduce) { .header__brand:hover .logo-mark { transform: none; } }

.header__nav { gap: var(--space-2); }
.header__nav-link {
  position: relative;
  padding: 0.5rem 0.875rem;
  border-radius: 0;
  font-size: 0.9375rem;
  font-weight: 400;
  color: color-mix(in srgb, var(--header-text) 80%, transparent);
  transition: color var(--t-fast) var(--ease);
}
.header__nav-link:hover, .header__nav-link.is-active { background: none; color: var(--header-text); }
/* while the panel is open the parent link keeps its highlight (the pointer is inside the panel, not on the link) */
.header__nav-item:hover .header__nav-link, .header__nav-item:focus-within .header__nav-link { color: var(--header-text); }
.header__nav-link.is-active::after {
  content: "";
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 50%;
  width: 0.3125rem; height: 0.3125rem;
  border-radius: 50%;
  background: var(--sf-hot);
  translate: -50% 0;
}
[dir="rtl"] .header__nav-link.is-active::after { translate: 50% 0; }

.header__actions { gap: 0.25rem; }
.header__action {
  min-width: 2.5rem;
  height: 2.5rem;
  padding-inline: 0;
  border-radius: var(--r-full);
  color: color-mix(in srgb, var(--header-text) 88%, transparent);
}
/* narrow phones: slimmer buttons leave room for the store name beside the logo (here, after the rule above) */
@media (max-width: 399px) { .header__action { min-width: 2.25rem; } }
.header__action:hover, .header__lang:hover { background: color-mix(in srgb, var(--header-text) 8%, transparent); color: var(--header-text); }
.header__action .icon, .header__burger .icon { width: 1.25rem; height: 1.25rem; stroke-width: 1.5; }
.header__lang .header__lang-short { font-size: 0.8125rem; font-weight: 500; }
.header__action .count-dot { inset-block-start: 0.125rem; inset-inline-end: 0.0625rem; min-width: 1rem; height: 1rem; font-size: 0.625rem; background: var(--sf-hot); color: var(--sf-on-hot); box-shadow: 0 0 0 2px var(--header-bg); }
.header__burger { color: var(--header-text); }
@media (max-width: 1023px) { .logo-mark { width: 1.89rem; height: 1.75rem; } }

/* ══ Navbar sub-menu: a small card under its own link ════════════════════
   No photo tile, no thumbnails: a header line (the category name + «shop all») over the sub-categories as plain text
   links in two columns. The olive text and a short orange rule on hover are the only accents. Desktop only. */
@media (min-width: 1024px) {
  .header__nav-item { position: relative; }
  .header__nav-bridge { height: 0.75rem; }
  .header__nav-item .megamenu,
  .header__nav-item .megamenu--links-only {
    display: flex; flex-direction: column;
    inset-block-start: calc(100% + 0.5rem);
    inset-inline: auto; inset-inline-start: 50%;
    width: max-content; min-width: 17rem; max-width: 30rem;
    padding: 0.5rem 0.5rem 0.625rem;
    gap: 0;
    border-radius: 1.125rem;
    background: var(--card-bg);
    box-shadow: 0 1px 0 var(--sf-hairline), 0 18px 40px -18px color-mix(in srgb, var(--shadow-color) 35%, transparent), 0 0 0 1px color-mix(in srgb, var(--ink) 7%, transparent);
    overflow: visible;
    translate: 50% 0.375rem;
    transition: opacity var(--t-fast) var(--ease), translate var(--t-base) var(--ease-out), visibility var(--t-fast);
  }
  [dir="ltr"] .header__nav-item .megamenu { translate: -50% 0.375rem; }
  .header__nav-item:hover .megamenu, .header__nav-item:focus-within .megamenu { translate: 50% 0; }
  [dir="ltr"] .header__nav-item:hover .megamenu, [dir="ltr"] .header__nav-item:focus-within .megamenu { translate: -50% 0; }

  /* header line: the former photo tile, now just text */
  .header__nav-item .megamenu__visual {
    display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem;
    min-height: 0; margin: 0 0 0.375rem; padding: 0.625rem 0.75rem 0.75rem;
    border-radius: 0; border-block-end: 1px solid var(--sf-hairline);
    background: none !important; color: var(--ink-900); overflow: visible;
  }
  .header__nav-item .megamenu__visual-scrim, .header__nav-item .megamenu__visual-blurb { display: none; }
  .header__nav-item .megamenu__visual-text { position: static; display: contents; padding: 0; color: inherit; }
  .header__nav-item .megamenu__visual-title { font-size: 0.9375rem; font-weight: 700; line-height: 1.3; color: var(--ink-900); text-shadow: none; }
  .header__nav-item .megamenu__visual-cta {
    margin: 0; padding: 0; background: none; border-radius: 0;
    color: var(--sf-olive); font-size: 0.8125rem; font-weight: 600; white-space: nowrap;
  }
  .header__nav-item .megamenu__visual:hover .megamenu__visual-cta { background: none; color: var(--sf-hot); }

  /* the links: text only, two columns when there are many */
  .header__nav-item .megamenu__links { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; }
  .header__nav-item .megamenu__links:has(> :nth-child(6)) { grid-template-columns: repeat(2, minmax(10rem, 1fr)); column-gap: 0.25rem; }
  .header__nav-item .megamenu__link {
    position: relative; display: flex; align-items: center;
    padding: 0.5rem 0.75rem; border-radius: 0.625rem;
    background: transparent; box-shadow: none;
    color: var(--ink-700); font-size: 0.875rem; font-weight: 500; line-height: 1.4;
    transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
  }
  .header__nav-item .megamenu__link::before {
    content: ""; display: block; position: absolute; inset-inline-start: 0.25rem; inset-block: 50% auto;
    width: 0; height: 2px; translate: 0 -50%; border: 0; rotate: none;
    background: var(--sf-hot); border-radius: 2px; transition: width var(--t-fast) var(--ease);
  }
  .header__nav-item .megamenu__link:hover, .header__nav-item .megamenu__link:focus-visible { background: color-mix(in srgb, var(--sf-olive) 6%, var(--card-bg)); color: var(--sf-olive-deep); }
  .header__nav-item .megamenu__link:hover::before, .header__nav-item .megamenu__link:focus-visible::before, .header__nav-item .megamenu__link.is-active::before { width: 0.375rem; }
  .header__nav-item .megamenu__link.is-active { color: var(--sf-olive-deep); font-weight: 700; }
  .header__nav-item .megamenu__thumb, .header__nav-item .megamenu__go { display: none; }
  .header__nav-item .megamenu__link-text { flex: 1; min-width: 0; transition: translate var(--t-fast) var(--ease); }
  .header__nav-item .megamenu__link:hover .megamenu__link-text, .header__nav-item .megamenu__link.is-active .megamenu__link-text { translate: -0.375rem 0; }
  [dir="ltr"] .header__nav-item .megamenu__link:hover .megamenu__link-text, [dir="ltr"] .header__nav-item .megamenu__link.is-active .megamenu__link-text { translate: 0.375rem 0; }
}
@media (prefers-reduced-motion: reduce) { .header__nav-item .megamenu, .megamenu__link-text { transition: none; } }

/* ══ Phone menu drawer ════════════════════════════════════════════════════
   Dark olive like the bar: logo + close, a search field, categories as rows with a picture/icon chip, the open
   category's sub-categories as picture cards in two columns, help/offers as tiles, sign-in pinned at the bottom.
   It is a brand-colour scheme (cream text), so the shared language switch and buttons restyle themselves. */
.drawer--start[data-drawer="menu"] {
  width: min(22.5rem, 88vw);
  background: var(--sf-olive-deep);
  color: var(--sf-cream);
  border-radius: 0 var(--sf-radius-lg) var(--sf-radius-lg) 0;
  overflow: hidden;
}
[dir="rtl"] .drawer--start[data-drawer="menu"] { border-radius: var(--sf-radius-lg) 0 0 var(--sf-radius-lg); }
.drawer--start[data-drawer="menu"] .drawer__head { padding: 1rem 1.25rem; border-block-end: 0; }
.drawer--start[data-drawer="menu"] .logo-mark { color: var(--sf-cream); --logo-face: var(--sf-olive-deep); height: 1.875rem; width: 2.03rem; }
.drawer--start[data-drawer="menu"] .icon-btn { width: 2.5rem; height: 2.5rem; border-radius: var(--r-full); color: var(--sf-cream); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sf-cream) 28%, transparent); }
.drawer--start[data-drawer="menu"] .icon-btn:hover { background: color-mix(in srgb, var(--sf-cream) 10%, transparent); }
.drawer--start[data-drawer="menu"] .drawer__body { padding: 0.25rem 1.25rem 1.5rem; }
.drawer--start[data-drawer="menu"] .drawer__foot { background: color-mix(in srgb, var(--shadow-color) 30%, var(--sf-olive-deep)); border-block-start: 1px solid color-mix(in srgb, var(--sf-cream) 14%, transparent); }
.drawer--start[data-drawer="menu"] .drawer__foot .btn { background: var(--sf-cream); color: var(--sf-olive); border-radius: var(--r-full); height: 3rem; font-weight: 700; }

.mobile-search { padding: 0 1.25rem 0.75rem; }
.mobile-search__btn {
  display: flex; align-items: center; gap: 0.75rem;
  width: 100%; height: 3rem; padding-inline: 1rem;
  border-radius: var(--r-full);
  background: color-mix(in srgb, var(--sf-cream) 10%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sf-cream) 22%, transparent);
  color: color-mix(in srgb, var(--sf-cream) 75%, transparent);
  font-size: 0.9375rem; text-align: start;
}
.mobile-search__btn:hover { background: color-mix(in srgb, var(--sf-cream) 15%, transparent); }

.drawer--start[data-drawer="menu"] .mobile-nav__label { padding: 0.75rem 0.25rem 0.5rem; font-size: 0.8125rem; font-weight: 600; color: color-mix(in srgb, var(--sf-cream) 60%, transparent); }
.drawer--start[data-drawer="menu"] .mobile-nav__group ~ .mobile-nav__group { margin-block-start: 1.25rem; padding-block-start: 0.5rem; border-block-start: 1px solid color-mix(in srgb, var(--sf-cream) 14%, transparent); }
.drawer--start[data-drawer="menu"] .mobile-nav__link { gap: 0.875rem; padding: 0.5rem 0.5rem; border-radius: var(--sf-radius); font-size: 1.0625rem; font-weight: 600; color: var(--sf-cream); }
.drawer--start[data-drawer="menu"] .mobile-nav__link:hover, .drawer--start[data-drawer="menu"] .mobile-nav__trigger[aria-expanded="true"] { background: color-mix(in srgb, var(--sf-cream) 9%, transparent); color: var(--sf-cream); }
.drawer--start[data-drawer="menu"] .mobile-nav__link .icon { color: inherit; }
.drawer--start[data-drawer="menu"] .mobile-nav__link .chev { color: color-mix(in srgb, var(--sf-cream) 50%, transparent); }
.drawer--start[data-drawer="menu"] .mobile-nav__link.is-active { color: var(--sf-cream); }
.drawer--start[data-drawer="menu"] .mobile-nav__link.is-active .mobile-nav__text::after { content: ""; display: inline-block; width: 0.375rem; height: 0.375rem; margin-inline-start: 0.5rem; border-radius: 50%; background: var(--sf-hot); vertical-align: middle; }
.mobile-nav__thumb {
  display: grid; place-items: center; flex: none;
  width: 2.75rem; height: 2.75rem; overflow: hidden;
  border-radius: 0.875rem;
  background: color-mix(in srgb, var(--sf-cream) 12%, transparent);
  color: var(--sf-cream);
}
.mobile-nav__link .mobile-nav__thumb img { width: 100%; height: 100%; border-radius: 0; object-fit: cover; }
.mobile-nav__text { min-width: 0; }
.drawer--start[data-drawer="menu"] .mobile-nav__trigger[aria-expanded="true"] .mobile-nav__caret { color: var(--sf-cream); }

.drawer--start[data-drawer="menu"] .mobile-nav__panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; padding: 0.5rem 0 0.75rem; }
.drawer--start[data-drawer="menu"] .mobile-nav__panel[hidden] { display: none; }
.drawer--start[data-drawer="menu"] .mobile-nav__sublink {
  flex-direction: column; align-items: stretch; gap: 0;
  padding: 0; overflow: hidden;
  border-radius: var(--sf-radius);
  background: color-mix(in srgb, var(--sf-cream) 9%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sf-cream) 14%, transparent);
  color: var(--sf-cream); font-size: 0.9375rem; font-weight: 600; line-height: 1.4;
}
.drawer--start[data-drawer="menu"] .mobile-nav__sublink:hover { background: color-mix(in srgb, var(--sf-cream) 15%, transparent); color: var(--sf-cream); }
.drawer--start[data-drawer="menu"] .mobile-nav__sublink span { padding: 0.625rem 0.75rem; }
.mobile-nav__subimg { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.drawer--start[data-drawer="menu"] .mobile-nav__sublink--all {
  grid-column: 1 / -1; flex-direction: row; justify-content: center; gap: 0.5rem;
  padding: 0.75rem; background: var(--sf-cream); color: var(--sf-olive); box-shadow: none; font-weight: 700;
}
.drawer--start[data-drawer="menu"] .mobile-nav__sublink--all:hover { background: color-mix(in srgb, var(--sf-cream) 88%, var(--sf-olive)); color: var(--sf-olive); }

/* help / offers / account: tiles */
.drawer--start[data-drawer="menu"] .mobile-nav__group ~ .mobile-nav__group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.drawer--start[data-drawer="menu"] .mobile-nav__group ~ .mobile-nav__group .mobile-nav__label { grid-column: 1 / -1; }
.drawer--start[data-drawer="menu"] .mobile-nav__group ~ .mobile-nav__group .mobile-nav__link {
  flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 0.625rem; min-height: 4.5rem;
  padding: 0.875rem; font-size: 0.9375rem;
  background: color-mix(in srgb, var(--sf-cream) 9%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sf-cream) 14%, transparent);
}
.drawer--start[data-drawer="menu"] .mobile-nav__group ~ .mobile-nav__group .mobile-nav__link:last-child:nth-child(even) { grid-column: 1 / -1; }

.drawer--start[data-drawer="menu"] .mobile-nav__lang { padding: 1rem 0 0; }
.drawer--start[data-drawer="menu"] .lang-switch__item { color: var(--sf-cream); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sf-cream) 30%, transparent); background: transparent; }
.drawer--start[data-drawer="menu"] .lang-switch__item[aria-current], .drawer--start[data-drawer="menu"] .lang-switch__item.is-active { background: var(--sf-cream); color: var(--sf-olive); }
.mobile-search__btn span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* hero slides drawn by the theme (no uploaded picture): fill the stage, text stays over the open upper part */
.hero--stage .hero__slide--art .hero__pattern { display: none; }
.hero--stage .hero__slide--art .hero__img--art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
/* photos: a scrim so the headline reads on any picture (dark slides: dark; light slides: light) */
.hero--stage .hero__slide--art.hero__slide--ink::after { background: linear-gradient(to bottom, color-mix(in srgb, var(--shadow-color) 62%, transparent) 0%, color-mix(in srgb, var(--shadow-color) 34%, transparent) 55%, color-mix(in srgb, var(--shadow-color) 12%, transparent) 100%); }
.hero--stage .hero__slide--art.hero__slide--sand::after { background: linear-gradient(to bottom, color-mix(in srgb, var(--sand-100) 80%, transparent) 0%, color-mix(in srgb, var(--sand-100) 55%, transparent) 50%, transparent 100%); }
.hero--stage .hero__slide--art[data-slide="0"] .hero__img--art { object-position: center 14%; }
.hero--stage .hero__slide--art[data-slide="1"] .hero__img--art { object-position: center 0%; }
.hero--stage .hero__slide--art[data-slide="2"] .hero__img--art { object-position: center 0%; }
@media (max-width: 899px) { .hero--stage .hero__slide--art .hero__img--art { object-position: 58% center !important; } }

/* ══ Product card: spacing + options (v2) ═════════════════════════════════
   One vertical rhythm: options → title → colours → price (pushed to the bottom so prices line up across a row) →
   stock + delivery → button. Titles no longer reserve two lines (that left holes); the cards of a row stretch. */
.product-card__body { gap: 0.75rem; padding: 1.125rem 1.25rem 1rem; }
.product-card__title { min-height: 0; margin: 0; font-size: 1.0625rem; line-height: 1.5; }
.card-opts { display: flex; flex-direction: column; gap: 0.5rem; }
.card-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 0.3125rem; min-width: 0; }
.card-opt__name { color: var(--ink-500); font-size: 0.8125rem; line-height: 1.2; }
.card-opts { gap: 0.625rem; }
.spec-chips { margin: 0; gap: 0.375rem; min-width: 0; }
.spec-chip { padding: 0.1875rem 0.625rem; border-radius: 0.5rem; background: color-mix(in srgb, var(--ink) 3.5%, var(--card-bg)); font-size: 0.8125rem; line-height: 1.5; color: var(--ink-700); }
.spec-chip.is-sel { box-shadow: inset 0 0 0 1.5px var(--sf-olive); background: color-mix(in srgb, var(--sf-olive) 8%, var(--card-bg)); color: var(--ink-900); font-weight: 600; }
.spec-chip--more { color: var(--ink-500); box-shadow: none; background: transparent; padding-inline: 0.25rem; }
.card-swatches { margin-block: -0.125rem; }
.product-card__prices { margin-block-start: auto; padding-block-start: 0.25rem; }
.product-card__prices .price { font-size: 1.5rem; }
.product-card__stock, .product-card__delivery { margin: 0; line-height: 1.4; }
.product-card__body > .product-card__stock { margin-block-start: -0.25rem; }
.product-card__body > .product-card__delivery { margin-block-start: -0.375rem; }
.product-card__foot { padding: 0 1.25rem 1.25rem; }
@media (max-width: 599px) {
  .product-card__body { gap: 0.625rem; padding: 0.875rem 0.875rem 0.75rem; }
  .product-card__foot { padding: 0 0.875rem 0.875rem; }
  .product-card__prices .price { font-size: 1.25rem; }
}

/* ══ Product card: colour dots + shadow only on hover ═════════════════════ */
.card-swatches { gap: 0.25rem; margin-inline: -0.125rem; }
.card-swatch { width: 1.5rem; height: 1.5rem; }
.card-swatch::before { width: 1.125rem; height: 1.125rem; }
.card-swatch--plain::before { background: repeating-linear-gradient(45deg, var(--line) 0 4px, var(--card-bg) 4px 8px); }
.product-card, [data-card-style] .product-card { border: 1px solid var(--sf-hairline); box-shadow: none; }
.product-card:hover, [data-card-style] .product-card:hover {
  border-color: color-mix(in srgb, var(--ink) 16%, transparent);
  box-shadow: 0 18px 38px -16px color-mix(in srgb, var(--shadow-color) 30%, transparent), 0 4px 10px -4px color-mix(in srgb, var(--shadow-color) 12%, transparent);
  transform: translateY(-3px);
}
.product-card__fav { box-shadow: none; border: 1px solid var(--sf-hairline); }
.product-card__fab { box-shadow: none; }
.product-card:hover .product-card__fab { box-shadow: 0 6px 14px color-mix(in srgb, var(--shadow-color) 24%, transparent); }

/* no hover effects that change the picture or add a button on product cards */
.product-card__img--hover, .product-card__quick { display: none !important; }
.product-card:hover .product-card__img { transform: none; }

/* ══ Showcase header: slim and quiet ══════════════════════════════════════
   One thin bar: the theme mark + a small tagline on the start side, the title centred in a lighter weight, a small
   link on the end side. Hairline under it instead of a heavy block. */
.showcase__bar { padding-block: 0.875rem; box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--sf-cream) 14%, transparent); }
.showcase__bar-inner { padding-inline: clamp(1rem, 2.5vw, 2.5rem); gap: var(--space-3); }
.showcase__tagline { gap: 0.75rem; font-size: 0.75rem; font-weight: 500; text-transform: none; color: color-mix(in srgb, var(--sf-cream) 68%, transparent); }
html:not([dir="rtl"]) .showcase__tagline { letter-spacing: 0.08em; }
.showcase__mark { padding-inline-end: 0.75rem; border-inline-end: 1px solid color-mix(in srgb, var(--sf-cream) 24%, transparent); }
.showcase__mark .logo-mark { height: 1.5rem; width: 1.62rem; color: var(--sf-cream); --logo-face: var(--scheme-brand-bg); }
.showcase__title { font-size: clamp(1.125rem, 0.95rem + 0.7vw, 1.5rem); font-weight: 600; line-height: 1.3; letter-spacing: 0; }
html:not([dir="rtl"]) .showcase__title { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.02em; text-transform: none; }
.showcase__link { font-size: 0.8125rem; font-weight: 600; text-transform: none; padding-block: 0.25rem; border-block-end: 1px solid color-mix(in srgb, var(--sf-cream) 45%, transparent); }
html:not([dir="rtl"]) .showcase__link { letter-spacing: 0.04em; }
.showcase__link:hover { text-decoration: none; border-block-end-color: var(--sf-cream); }
@media (max-width: 767px) { .showcase__bar { padding-block: 0.75rem; } .showcase__title { font-size: 1.125rem; } }

/* ══ Product card v3: refined surface, one crisp shadow ══════════════════
   A clean white card (no grey slab behind the photo), the photo inset with its own soft corners, a hairline dividing
   the description from the price row, status shown as a dot. The card carries one small, crisp elevation shadow at
   rest; hovering lifts it gently without growing a big blur under it. */
.product-card, [data-card-style] .product-card {
  border: 1px solid color-mix(in srgb, var(--ink) 9%, transparent);
  border-radius: 1.375rem;
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
  transition: box-shadow 320ms var(--ease-out), transform 320ms var(--ease-out), border-color 240ms var(--ease);
}
.product-card:hover, [data-card-style] .product-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--ink) 6%, transparent);
  box-shadow: var(--shadow-card);
}
.product-card__media { padding: 0.75rem 0.75rem 0; background: transparent; }
.product-card__media > a:not(.product-card__fab) { border-radius: 1rem; background: color-mix(in srgb, var(--ink) 3.5%, var(--card-bg)); }
.product-card__flags { inset-block-start: 1.5rem; inset-inline-start: 1.5rem; }
.product-card__fav { inset-block-start: 1.5rem; inset-inline-end: 1.5rem; width: 2.25rem; height: 2.25rem; border: 0; background: color-mix(in srgb, var(--card-bg) 92%, transparent); box-shadow: 0 1px 3px color-mix(in srgb, var(--shadow-color) 14%, transparent); backdrop-filter: blur(6px); }
.product-card__fab { inset-block-end: 1.5rem; inset-inline-end: 1.5rem; width: 2.75rem; height: 2.75rem; }
.product-card:hover .product-card__fab { box-shadow: 0 8px 16px -6px color-mix(in srgb, var(--sf-olive-deep) 45%, transparent); }

.product-card__body { gap: 0.625rem; padding: 1rem 1.125rem 0.875rem; }
.product-card__title { font-size: 1.0625rem; font-weight: 600; line-height: 1.5; letter-spacing: 0; }
.product-card__prices { margin-block-start: auto; padding-block-start: 0.875rem; border-block-start: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); }
.product-card__body > .product-card__stock { margin-block-start: -0.125rem; display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--ink-700); }
.product-card__stock::before { content: ""; width: 0.5rem; height: 0.5rem; flex: none; border-radius: 50%; background: var(--ink-400); }
.product-card__stock.is-in { color: var(--ink-700); }
.product-card__stock.is-in::before { background: var(--success); box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 18%, transparent); }
.product-card__stock.is-low::before { background: var(--warning); box-shadow: 0 0 0 3px color-mix(in srgb, var(--warning) 22%, transparent); }
.product-card__stock.is-out::before { background: var(--danger); box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 16%, transparent); }
.product-card__body > .product-card__delivery { margin-block-start: -0.25rem; font-size: 0.8125rem; color: var(--ink-600); }
.product-card__delivery .icon { color: var(--sf-olive); }
.product-card__foot { padding: 0 1.125rem 1.125rem; }
.product-card__foot .btn { height: 2.875rem; border-radius: var(--r-full); font-size: 0.9375rem; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 16%, transparent); transition: box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.product-card__foot .btn:hover { background: var(--sf-olive); color: var(--sf-cream); box-shadow: none; }
.product-card__foot .btn:hover .icon { color: inherit; }
@media (max-width: 599px) {
  .product-card__media { padding: 0.5rem 0.5rem 0; }
  .product-card__flags, .product-card__fav { inset-block-start: 1rem; }
  .product-card__flags { inset-inline-start: 1rem; }
  .product-card__fav { inset-inline-end: 1rem; }
  .product-card__fab { inset-block-end: 1rem; inset-inline-end: 1rem; width: 2.5rem; height: 2.5rem; }
  .product-card__body { padding: 0.75rem 0.75rem 0.625rem; }
  .product-card__foot { padding: 0 0.75rem 0.75rem; }
}

/* an option row is always one line (the card's height then no longer depends on how many values a product has) */
.card-opt .spec-chips { flex-wrap: nowrap; overflow: hidden; }
.card-opt .spec-chip { flex: 0 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-inline: 0.5rem; font-size: 0.75rem; }
.card-opt .spec-chip--more { flex: none; }

/* ══ Few products: compact horizontal cards ═══════════════════════════════
   A grid with three products or fewer (a small category) would otherwise leave most of the row empty. Its cards turn
   horizontal: the photo on the start side, the details beside it, the button under them; two per row from 900px.
   A grid of four or more keeps the vertical cards. */
.product-grid:not(:has(> :nth-child(4))) { grid-template-columns: 1fr; gap: var(--space-4); }
@media (min-width: 900px) { .product-grid:not(:has(> :nth-child(4))) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); } }
.product-grid:not(:has(> :nth-child(4))) .product-card {
  display: grid;
  grid-template-columns: minmax(8rem, 36%) minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  border-radius: 1.25rem;
}
.product-grid:not(:has(> :nth-child(4))) .product-card__media { grid-column: 1; grid-row: 1 / -1; position: relative; aspect-ratio: auto; min-height: 13.5rem; padding: 0.625rem; }
.product-grid:not(:has(> :nth-child(4))) .product-card__media > a:not(.product-card__fab) { position: absolute; inset: 0.625rem; height: auto; border-radius: 0.875rem; }
.product-grid:not(:has(> :nth-child(4))) .product-card__img { height: 100%; }
.product-grid:not(:has(> :nth-child(4))) .product-card__fav { inset-block-start: 1.125rem; inset-inline-end: 1.125rem; width: 2rem; height: 2rem; }
.product-grid:not(:has(> :nth-child(4))) .product-card__flags { inset-block-start: 1.125rem; inset-inline-start: 1.125rem; }
.product-grid:not(:has(> :nth-child(4))) .product-card__fab { inset-block-end: 1.125rem; inset-inline-end: 1.125rem; width: 2.5rem; height: 2.5rem; }
.product-grid:not(:has(> :nth-child(4))) .product-card__body { grid-column: 2; grid-row: 1; padding: 1rem 1.125rem 0.5rem; gap: 0.5rem; }
.product-grid:not(:has(> :nth-child(4))) .product-card__foot { grid-column: 2; grid-row: 2; padding: 0 1.125rem 1rem; }
.product-grid:not(:has(> :nth-child(4))) .product-card__delivery { display: none; }
.product-grid:not(:has(> :nth-child(4))) .product-card__prices { padding-block-start: 0.625rem; }
.product-grid:not(:has(> :nth-child(4))) .product-card__prices .price { font-size: 1.375rem; }
.product-grid:not(:has(> :nth-child(4))) .product-card__foot .btn { height: 2.5rem; }
@media (max-width: 599px) {
  .product-grid:not(:has(> :nth-child(4))) .product-card { grid-template-columns: 6.5rem minmax(0, 1fr); }
  .product-grid:not(:has(> :nth-child(4))) .product-card__media { min-height: 12rem; padding: 0.5rem; }
  .product-grid:not(:has(> :nth-child(4))) .product-card__media > a:not(.product-card__fab) { inset: 0.5rem; }
  .product-grid:not(:has(> :nth-child(4))) .product-card__body { padding: 0.75rem 0.75rem 0.375rem; }
  .product-grid:not(:has(> :nth-child(4))) .product-card__foot { padding: 0 0.75rem 0.75rem; }
  .product-grid:not(:has(> :nth-child(4))) .product-card__fab, .product-grid:not(:has(> :nth-child(4))) .product-card__fav, .product-grid:not(:has(> :nth-child(4))) .product-card__flags { display: none; }
}
/* phones: keep the footer's last row clear of the fixed bottom tab bar */
@media (max-width: 1023px) { .page:not(.page--no-tabbar) .footer--split { padding-block-end: 4.5rem; } }

/* ══ Service cards: compact ═══════════════════════════════════════════════
   Slim heading, cards about 150px tall: a narrow art panel (motifs scaled down) beside the text, the link as a quiet
   underlined line. */
.svc-cards .section-head { margin-block-end: 1.25rem; }
.svc-cards .section-head__title { font-size: clamp(1.25rem, 1rem + 0.8vw, 1.625rem); font-weight: 700; line-height: 1.3; }
.svc-cards .section-head__eyebrow { margin-block-end: 0.125rem; }
.svc-cards__grid { gap: 1rem; }
.svc-card { grid-template-columns: minmax(6.5rem, 0.5fr) minmax(0, 1fr); min-height: 0; border-radius: 1.25rem; }
.svc-card__body { gap: 0.375rem; padding: 1.125rem 1.375rem; }
.svc-card__eyebrow { font-size: 0.75rem; }
.svc-card__title { font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.svc-card__text { font-size: 0.875rem; line-height: 1.6; color: var(--ink-600); }
.svc-card__link { gap: 0.375rem; margin-block-start: 0.25rem; padding-block-end: 0.125rem; border-block-end: 1px solid color-mix(in srgb, var(--sf-hot) 45%, transparent); font-size: 0.875rem; }
.svc-card__link:hover { gap: 0.5rem; border-block-end-color: var(--sf-hot); }
.svc-card__art .svc-art-swap { zoom: 0.62; }
.svc-card__art .svc-art-support { zoom: 0.6; }
@media (max-width: 599px) {
  .svc-card { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .svc-card__art { min-height: 0; }
  .svc-card__body { padding: 0.875rem 1rem; }
  .svc-card__text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .svc-card__art .svc-art-swap, .svc-card__art .svc-art-support { zoom: 0.4; }
}

/* ══ Collection / all-products page ═══════════════════════════════════════
   Opens straight on the title: small line, big title, a short description and the count on the start side; two square
   icon buttons (sort, filters) on the end side. Under it a row of category tiles (the current one marked), a hairline,
   then the full-width product grid. Filters live in the drawer; there is no sidebar. */
.coll { padding-block: 2.5rem 4rem; }
.coll-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1.5rem; margin-block-end: 2.25rem; }
.coll-head__main { display: flex; flex-direction: column; align-items: flex-start; gap: 0.625rem; min-width: 0; }
.coll-head__eyebrow { color: var(--ink-600); font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; }
html:not([dir="rtl"]) .coll-head__eyebrow { letter-spacing: 0.22em; }
.coll-head__title { margin: 0; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); font-weight: 700; line-height: 1.15; color: var(--ink-900); }
.coll-head__sub { max-width: 42rem; margin: 0; color: var(--ink-600); font-size: 1.0625rem; line-height: 1.7; }
.coll-head__count { margin: 0.25rem 0 0; color: var(--ink-600); font-size: 1rem; }
.coll-head .brand-hero { margin: 0; }

.toolbar--icons { margin: 0; flex-wrap: nowrap; gap: 0.625rem; }
.toolbar--icons .toolbar__side { display: contents; }
.tool-btn, .toolbar--icons .toolbar__filter-btn {
  position: relative;
  display: inline-grid; place-items: center;
  width: 2.875rem; height: 2.875rem; padding: 0;
  border: 0; border-radius: 0.875rem;
  background: var(--card-bg);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 12%, transparent);
  color: var(--ink-900);
  cursor: pointer;
  transition: box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.toolbar--icons .toolbar__filter-btn { display: inline-grid; }
.tool-btn:hover, .toolbar--icons .toolbar__filter-btn:hover, .tool-btn:focus-within { box-shadow: inset 0 0 0 1.5px var(--ink-700); background: var(--card-bg); }
.tool-btn .select-native { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; appearance: none; -webkit-appearance: none; }
.toolbar--icons [data-sort-submit] { display: none; }
html:not(.js) .toolbar--icons [data-sort-submit] { display: inline-flex; }
.toolbar--icons .toolbar__filter-btn .count-dot { position: absolute; inset-block-start: -0.375rem; inset-inline-end: -0.375rem; box-shadow: 0 0 0 2px var(--bg); }

.cat-tiles {
  display: flex; gap: 1rem 1.25rem;
  margin-block-end: 2rem; padding-block: 0.25rem 1.5rem;
  overflow-x: auto; scrollbar-width: none;
  border-block-end: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
}
.cat-tiles::-webkit-scrollbar { display: none; }
.cat-tile { flex: none; display: flex; flex-direction: column; align-items: center; gap: 0.625rem; width: 5.75rem; text-align: center; color: var(--ink-600); }
.cat-tile__media {
  display: grid; place-items: center;
  width: 3.75rem; height: 3.75rem; overflow: hidden;
  border-radius: 1rem;
  background: var(--card-bg);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 12%, transparent);
  color: var(--ink-700);
  transition: box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.cat-tile__media img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile__name { position: relative; max-width: 100%; padding-block-end: 0.375rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.875rem; line-height: 1.3; }
.cat-tile:hover .cat-tile__media { box-shadow: inset 0 0 0 1.5px var(--ink-600); }
.cat-tile:hover { color: var(--ink-900); }
.cat-tile.is-active { color: var(--ink-900); font-weight: 600; }
.cat-tile.is-active .cat-tile__media { background: color-mix(in srgb, var(--ink) 8%, var(--card-bg)); outline: 2px solid var(--sf-olive); outline-offset: 2px; box-shadow: none; }
.cat-tile.is-active .cat-tile__name::after { content: ""; position: absolute; inset-inline: 50% auto; inset-block-end: 0; width: 1.5rem; height: 2px; border-radius: 2px; background: var(--sf-hot); translate: -50% 0; }
[dir="rtl"] .cat-tile.is-active .cat-tile__name::after { translate: 50% 0; }

.coll .product-grid { gap: 1.25rem; }
@media (max-width: 599px) {
  .coll { padding-block: 1.5rem 3rem; }
  .coll-head { gap: 1rem; margin-block-end: 1.5rem; }
  .coll-head__sub { font-size: 0.9375rem; }
  .cat-tile { width: 5rem; }
  .cat-tile__media { width: 3.25rem; height: 3.25rem; }
  .coll .product-grid { gap: 0.75rem; }
}
/* the listing's grid cell may shrink below its content, so the tile row scrolls inside itself instead of widening the page */
.coll .shop-layout { grid-template-columns: minmax(0, 1fr); }
.coll .shop-layout > div { min-width: 0; }

/* ══ Filters: sticky sidebar (wide screens) and phone drawer ═════════════
   One quiet, airy panel: a soft card with generous whitespace, hairline separations, collapsible blocks
   (native <details>: the title row tilts its chevron, the body fades in), a small olive dot marking a
   block with active values, refined olive checkboxes and a count pill, soft rounded price fields, and an
   olive «Apply» button that stays at the bottom while the list scrolls. (The phone menu keeps its own dark
   drawer: its styles are scoped to data-drawer="menu".) */

/* the sidebar itself: a calm card, hairline instead of a shadowed box */
.filters.card { border-radius: 1.25rem; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 9%, transparent); background: var(--card-bg); }
.filters__title { margin-block: 0 0.25rem; font-size: 1.0625rem; font-weight: 700; }
@media (min-width: 1024px) {
  .filters { overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--ink) 18%, transparent) transparent; }
  .filters.card { padding-inline: 1.25rem; }
}

/* the phone drawer shell */
.drawer[data-drawer="filters"] {
  width: min(24rem, 92vw);
  background: var(--card-bg);
  color: var(--ink-900);
  border-radius: 0 1.75rem 1.75rem 0;
  overflow: hidden;
}
[dir="rtl"] .drawer[data-drawer="filters"] { border-radius: 1.75rem 0 0 1.75rem; }
[data-drawer="filters"] .drawer__head { padding: 1.25rem 1.5rem; border-block-end: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); }
[data-drawer="filters"] .drawer__title { font-size: 1.25rem; font-weight: 700; }
[data-drawer="filters"] .icon-btn { width: 2.5rem; height: 2.5rem; border-radius: 50%; color: var(--ink-900); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 16%, transparent); }
[data-drawer="filters"] .icon-btn:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
[data-drawer="filters"] .drawer__body { display: flex; flex-direction: column; padding: 0 1.5rem 1.5rem; padding-block-start: 0.25rem; }
[data-drawer="filters"] .facets { padding-inline: 0.25rem; }

/* ── the form ── */
.facets { flex: 1; min-height: 100%; }

/* collapsible blocks: hairline separators, a title row that is itself the toggle */
.facets .filter-block { min-width: 0; padding-block: 1.25rem 1.125rem; border-block-end: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); }
.facets .filter-block:last-of-type { border-block-end: 0; padding-block-end: 0.375rem; }
.facets .filter-block__title {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  list-style: none; cursor: pointer; user-select: none;
  margin-block-end: 0.875rem; padding: 0;
  font-size: 0.9375rem; font-weight: 700; line-height: 1.3;
  color: var(--ink-900);
  transition: color var(--t-fast) var(--ease);
}
.facets .filter-block__title::-webkit-details-marker { display: none; }
.facets .filter-block__title:hover { color: var(--ink-700); }
.facets .filter-block__label { position: relative; display: inline-flex; align-items: center; gap: 0.5rem; }
.facets .filter-block.is-active .filter-block__label::before {
  content: ""; flex: none; width: 0.375rem; height: 0.375rem; border-radius: 50%;
  background: var(--sf-olive);
}
.facets .filter-block__chevron { flex: none; display: grid; place-items: center; color: var(--ink-400); transition: transform var(--t-base) var(--ease); }
.facets .filter-block[open] .filter-block__chevron { transform: rotate(180deg); }
.facets .filter-block__title:focus-visible { outline: 2px solid var(--sf-hot); outline-offset: 3px; border-radius: 0.375rem; }
/* the body eases in as the block opens */
@keyframes facets-reveal { from { opacity: 0; translate: 0 -0.375rem; } to { opacity: 1; translate: 0 0; } }
.facets .filter-block[open] .filter-block__body { animation: facets-reveal 0.22s var(--ease); }

/* option rows */
.facets .filter-list { gap: 0.125rem; max-height: 17rem; padding-inline-end: 0.25rem; scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--ink) 18%, transparent) transparent; }
.facets .filter-opt {
  gap: 0.75rem; margin-inline: -0.625rem; padding: 0.5rem 0.625rem;
  border-radius: 0.75rem;
  font-size: 0.9375rem; line-height: 1.4; color: var(--ink-700);
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.facets .filter-opt:hover { background: color-mix(in srgb, var(--ink) 4.5%, transparent); color: var(--ink-900); }
.facets .filter-opt:has(input:checked) { color: var(--ink-900); font-weight: 600; }
.facets .filter-opt input {
  appearance: none; -webkit-appearance: none;
  flex: none; display: grid; place-content: center;
  width: 1.25rem; height: 1.25rem; margin: 0;
  border-radius: 0.375rem;
  background: var(--card-bg);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink) 34%, transparent);
  transition: background-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.facets .filter-opt input[type="radio"] { border-radius: 50%; }
.facets .filter-opt input:hover { box-shadow: inset 0 0 0 1.5px var(--ink-700); }
.facets .filter-opt input:checked { background: var(--sf-olive); box-shadow: none; }
.facets .filter-opt input[type="checkbox"]:checked::after { content: ""; width: 0.625rem; height: 0.3125rem; margin-block-start: -0.125rem; border-left: 2px solid var(--sf-cream); border-bottom: 2px solid var(--sf-cream); transform: rotate(-45deg); }
.facets .filter-opt input[type="radio"]:checked::after { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--sf-cream); }
.facets .filter-opt input:focus-visible { outline: 2px solid var(--sf-hot); outline-offset: 2px; }
.facets .filter-opt__count { min-width: 1.5rem; padding: 0.0625rem 0.5rem; border-radius: var(--r-full); background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink-600); font-size: 0.75rem; font-weight: 600; text-align: center; }
.facets .filter-opt:has(input:checked) .filter-opt__count { background: color-mix(in srgb, var(--sf-olive) 14%, var(--card-bg)); color: var(--sf-olive); }
.facets .filter-opt.is-empty { opacity: 0.4; }

/* price fields */
.facets .price-range { gap: 0.625rem; }
.facets .price-range__sep { color: var(--ink-500); }
.facets .input {
  height: 2.75rem; padding-inline: 0.875rem;
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--bg) 40%, var(--card-bg));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 16%, transparent);
  font-size: 1rem; text-align: center;
  transition: box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.facets .input:hover { box-shadow: inset 0 0 0 1px var(--ink-500); }
.facets .input:focus, .facets .input:focus-visible { background: var(--card-bg); box-shadow: inset 0 0 0 1.5px var(--sf-olive); outline: none; }
.facets .filter-block__hint { margin-block-start: 0.625rem; color: var(--ink-500); font-size: 0.8125rem; }

/* «Apply»: sized to the panel — a comfortable 46px bar, pill-free radius matching the inputs,
   sticky at the bottom of the scrolling panel with the panel colour bleeding around it */
.facets [data-facets-apply] {
  position: sticky; inset-block-end: 0.75rem;
  height: 2.875rem; margin-block-start: auto; padding-inline: 1.5rem;
  border-radius: 0.875rem;
  background: var(--sf-olive); color: var(--sf-cream);
  font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.01em;
  box-shadow: 0 0 0 0.5rem var(--card-bg), 0 10px 20px -8px color-mix(in srgb, var(--sf-olive-deep) 55%, transparent);
  transition: background-color var(--t-fast) var(--ease), box-shadow var(--t-base) var(--ease), transform var(--t-fast) var(--ease);
}
.facets [data-facets-apply]:hover { background: var(--sf-olive-deep); box-shadow: 0 0 0 0.5rem var(--card-bg), 0 12px 24px -8px color-mix(in srgb, var(--sf-olive-deep) 65%, transparent); }
.facets [data-facets-apply]:active:not(:disabled) { transform: translateY(1px); box-shadow: 0 0 0 0.5rem var(--card-bg), 0 6px 14px -8px color-mix(in srgb, var(--sf-olive-deep) 55%, transparent); }
.facets [data-facets-apply]:focus-visible { outline: 2px solid var(--sf-hot); outline-offset: 3px; }

/* ══ Product page ═════════════════════════════════════════════════════════
   A quiet showroom: the path sits on the page (no white band), the photo on a clean rounded panel with round-cornered
   thumbnails, and the buying column is not a box: brand, title, price, stock, options (olive pills and colour dots), the
   quantity + orange «Add to cart», an olive outlined «Buy now», and the delivery promises. Scoped to the product page. */
[data-template="product"] .page-hero { background: transparent; border: 0; }
[data-template="product"] .page-hero__inner { padding-block: 1.5rem 0.25rem; }
[data-template="product"] .breadcrumb { font-size: 0.8125rem; color: var(--ink-600); }
[data-template="product"] .breadcrumb a { color: var(--ink-600); }
[data-template="product"] .breadcrumb a:hover { color: var(--ink-900); text-decoration: underline; }
[data-template="product"] .breadcrumb [aria-current="page"] { color: var(--ink-900); font-weight: 600; }
[data-template="product"] .pdp { gap: 2rem 3.5rem; }
@media (min-width: 900px) { [data-template="product"] .pdp { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }

/* photo */
[data-template="product"] .gallery { --gallery-bg: var(--card-bg); gap: 1rem; }
[data-template="product"] .gallery__main { border-radius: 1.5rem; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 10%, transparent); }
[data-template="product"] .gallery__thumbs { grid-auto-columns: 4.75rem; gap: 0.75rem; padding: 4px; }
[data-template="product"] .gallery__thumb { border-radius: 0.875rem; opacity: 0.85; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 10%, transparent); }
[data-template="product"] .gallery__thumb.is-active { opacity: 1; outline: 2px solid var(--sf-olive); outline-offset: 2px; }
[data-template="product"] .gallery__thumb.is-active::after { box-shadow: none; }
[data-template="product"] .gallery__count { background: color-mix(in srgb, var(--sf-olive-deep) 82%, transparent); color: var(--sf-cream); }

/* the buying column */
[data-template="product"] .pdp__info { gap: 0.5rem; }
[data-template="product"] .pdp__brand { align-self: flex-start; color: var(--sf-olive); font-size: 0.9375rem; font-weight: 600; }
[data-template="product"] .pdp__brand:hover { text-decoration: underline; text-underline-offset: 0.3em; }
[data-template="product"] .pdp__title { margin: 0; font-size: clamp(1.75rem, 1.2rem + 1.7vw, 2.5rem); font-weight: 700; line-height: 1.25; color: var(--ink-900); }
[data-template="product"] .pdp__meta { color: var(--ink-500); font-size: 0.8125rem; }
[data-template="product"] .pdp__box { margin-block-start: 1.25rem; padding: 1.5rem 0 0; border: 0; border-block-start: 1px solid color-mix(in srgb, var(--ink) 11%, transparent); border-radius: 0; background: transparent; box-shadow: none; display: flex; flex-direction: column; gap: 1.25rem; }
/* the description under the buttons: separated by the same hairline as the order box */
[data-template="product"] .pdp-desc { margin-block-start: 1.5rem; padding: 1.5rem 0 0; border-block-start: 1px solid color-mix(in srgb, var(--ink) 11%, transparent); }
[data-template="product"] .pdp-desc__title { font-size: 1.0625rem; font-weight: 700; color: var(--ink-900); }
[data-template="product"] .pdp__price-row { gap: 0.75rem 1rem; }
[data-template="product"] .price--xl { font-size: clamp(2.125rem, 1.7rem + 1.4vw, 2.875rem); font-weight: 700; letter-spacing: -0.01em; }
[data-template="product"] .price--xl .price__currency { font-size: 1.125rem; font-weight: 500; color: var(--ink-600); }
[data-template="product"] .pdp__box .price-was { color: var(--ink-500); font-size: 1.0625rem; }
[data-template="product"] .pdp__box .badge--discount { padding: 0.3125rem 0.75rem; border-radius: var(--r-full); background: color-mix(in srgb, var(--sf-hot) 14%, var(--card-bg)); color: color-mix(in srgb, var(--sf-hot) 78%, var(--ink)); font-size: 0.8125rem; font-weight: 700; }
[data-template="product"] .pdp__stock { margin: 0; font-size: 0.9375rem; font-weight: 500; color: var(--ink-700); }
[data-template="product"] .pdp__stock::before { content: ""; flex: none; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--ink-400); }
[data-template="product"] .pdp__stock--in::before { background: var(--success); box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 18%, transparent); }
[data-template="product"] .pdp__stock--low::before { background: var(--warning); box-shadow: 0 0 0 3px color-mix(in srgb, var(--warning) 22%, transparent); }
[data-template="product"] .pdp__stock--out::before { background: var(--danger); box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 16%, transparent); }
[data-template="product"] .pdp__stock--in, [data-template="product"] .pdp__stock--low, [data-template="product"] .pdp__stock--out { color: var(--ink-700); }

/* options: olive pills, round colour dots (this applies to the quick view too) */
.opt-group > legend, .opt-group .field__label { margin-block-end: 0.625rem; font-size: 0.9375rem; font-weight: 600; color: var(--ink-900); }
.opt-chips { gap: 0.625rem; }
.opt-chip__text { min-height: 2.75rem; padding: 0.5rem 1.125rem; border: 0; border-radius: var(--r-full); background: var(--card-bg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 18%, transparent); font-size: 0.9375rem; font-weight: 500; color: var(--ink-800); transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.opt-chip:hover .opt-chip__text { border: 0; box-shadow: inset 0 0 0 1.5px var(--ink-700); }
.opt-chip input:checked + .opt-chip__text { border: 0; background: var(--sf-olive); color: var(--sf-cream); box-shadow: none; font-weight: 600; }
.opt-chip input:focus-visible + .opt-chip__text, .opt-chip input:focus-visible + .opt-chip__dot { outline: 2px solid var(--sf-hot); outline-offset: 3px; }
.opt-chip.is-out .opt-chip__text { border: 0; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 18%, transparent); background: transparent; color: var(--ink-500); }
.opt-chip__dot { width: 2.25rem; height: 2.25rem; }
.opt-chip input:checked + .opt-chip__dot { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 22%, transparent), 0 0 0 3px var(--bg), 0 0 0 5px var(--sf-olive); }
.opt-chip--colour.is-out::after { width: 2rem; }

/* actions */
[data-template="product"] .pdp__actions { --pdp-ctl: 3.25rem; gap: 0.75rem; }
[data-template="product"] .pdp__actions .qty { border-radius: var(--r-full); background: var(--card-bg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 18%, transparent); }
[data-template="product"] .pdp__actions .btn--icon { border-radius: 50%; background: var(--card-bg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 18%, transparent); color: var(--ink-900); }
[data-template="product"] .pdp__actions .btn--icon:hover { box-shadow: inset 0 0 0 1.5px var(--ink-700); }
[data-template="product"] .pdp__buy .btn { border-radius: var(--r-full); font-size: 1rem; font-weight: 700; }
[data-template="product"] .pdp__buy .btn--primary { order: -1; flex: 1.5 1 12rem; box-shadow: none; }
[data-template="product"] .pdp__buy .btn--outline { background: transparent; color: var(--sf-olive); box-shadow: inset 0 0 0 1.5px var(--sf-olive); }
[data-template="product"] .pdp__buy .btn--outline:hover { background: var(--sf-olive); color: var(--sf-cream); box-shadow: none; }
[data-template="product"] .pdp__perks { padding: 1rem 1.125rem; border-radius: 1rem; background: color-mix(in srgb, var(--ink) 3.5%, var(--card-bg)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent); }
[data-template="product"] .pdp__perk { align-items: center; font-size: 0.875rem; color: var(--ink-700); }
[data-template="product"] .pdp__perk .icon { color: var(--sf-olive); }
[data-template="product"] .p-share { margin: 0.25rem 0 0; }

/* description + the related row */
[data-template="product"] .tabs__tab { font-size: 1.0625rem; font-weight: 700; color: var(--ink-600); }
[data-template="product"] .tabs__tab[aria-selected="true"] { color: var(--ink-900); }
[data-template="product"] .tabs__tab[aria-selected="true"]::after { background: var(--sf-hot); }
[data-template="product"] .card.card--pad { border-radius: 1.5rem; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 9%, transparent); }
[data-template="product"] .prose { max-width: 46rem; color: var(--ink-700); font-size: 1rem; line-height: 1.85; }
/* the description in tabs / stacked blocks fills the card (owner request) */
[data-template="product"] :is(.tabs__panel, .pdp-block) .prose { max-width: none; }
[data-template="product"] .color-scheme .section-head__title { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); }
@media (max-width: 899px) { [data-template="product"] .pdp { gap: 1.5rem; } [data-template="product"] .pdp__box { padding-block-start: 1.25rem; } }

/* ══ Product page: compact sizing ═════════════════════════════════════════
   Standard storefront scale: title ~28px, price ~32px, 44px controls, tighter rhythm between the blocks. */
[data-template="product"] .page-hero__inner { padding-block: 1rem 0; }
[data-template="product"] .section--tight:has(> .pdp), [data-template="product"] .pdp { padding-block-start: 1.25rem; }
@media (min-width: 900px) { [data-template="product"] .pdp { gap: 2rem 2.75rem; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
[data-template="product"] .gallery { gap: 0.75rem; }
[data-template="product"] .gallery__main { border-radius: 1.25rem; }
[data-template="product"] .gallery__thumbs { grid-auto-columns: 4rem; gap: 0.625rem; }
[data-template="product"] .gallery__thumb { border-radius: 0.75rem; }

[data-template="product"] .pdp__info { gap: 0.375rem; }
[data-template="product"] .pdp__brand { font-size: 0.875rem; }
[data-template="product"] .pdp__title { font-size: clamp(1.375rem, 1.15rem + 0.7vw, 1.75rem); line-height: 1.35; }
[data-template="product"] .pdp__meta { font-size: 0.75rem; }
[data-template="product"] .pdp__box { margin-block-start: 0.875rem; padding-block-start: 1rem; gap: 1rem; }
[data-template="product"] .pdp__price-row { gap: 0.5rem 0.75rem; }
[data-template="product"] .price--xl { font-size: clamp(1.625rem, 1.4rem + 0.7vw, 2rem); }
[data-template="product"] .price--xl .price__currency { font-size: 0.9375rem; }
[data-template="product"] .pdp__box .price-was { font-size: 0.9375rem; }
[data-template="product"] .pdp__box .badge--discount { padding: 0.1875rem 0.625rem; font-size: 0.75rem; }
[data-template="product"] .pdp__stock { font-size: 0.875rem; margin-block-start: -0.25rem; }

.opt-group > legend, .opt-group .field__label { margin-block-end: 0.5rem; font-size: 0.875rem; }
.opt-chips { gap: 0.5rem; }
.opt-chip__text { min-height: 2.375rem; padding: 0.375rem 0.9375rem; font-size: 0.875rem; }
.opt-chip__dot { width: 1.875rem; height: 1.875rem; }
.opt-chip--colour.is-out::after { width: 1.75rem; }

[data-template="product"] .pdp__actions { --pdp-ctl: 2.875rem; gap: 0.625rem; }
[data-template="product"] .pdp__actions .qty__value { min-width: 2.5rem; font-size: 0.9375rem; }
[data-template="product"] .pdp__buy { gap: 0.625rem; }
[data-template="product"] .pdp__buy .btn { font-size: 0.9375rem; padding-inline: 1rem; }
[data-template="product"] .pdp__perks { gap: 0.5rem; padding: 0.75rem 0.875rem; border-radius: 0.875rem; }
[data-template="product"] .pdp__perk { font-size: 0.8125rem; }
[data-template="product"] .p-share { font-size: 0.875rem; }

[data-template="product"] .tabs__tab { font-size: 0.9375rem; }
[data-template="product"] .card.card--pad { border-radius: 1.25rem; }
[data-template="product"] .prose { font-size: 0.9375rem; line-height: 1.8; }
[data-template="product"] .color-scheme .section-head__title { font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem); }
@media (max-width: 899px) {
  [data-template="product"] .pdp { gap: 1.25rem; padding-block-start: 0.75rem; }
  [data-template="product"] .pdp__title { font-size: 1.375rem; }
}

/* ══ Quick view dialog ════════════════════════════════════════════════════
   Matches the product page: white rounded dialog, the photo on a clean panel with round thumbnails (olive ring on the
   current one), olive brand line, the compact price, olive pills / colour dots, and one buy row — a compact quantity
   pill beside the orange «Add to cart» that fills the rest — then a quiet «View product details» link. */
.quick-view.modal { border-radius: 1.5rem; overflow: hidden; }
.quick-view .modal__head { padding: 1rem 1.5rem; border-block-end: 1px solid color-mix(in srgb, var(--ink) 9%, transparent); }
.quick-view .modal__title { font-size: 1.0625rem; font-weight: 700; line-height: 1.4; }
.quick-view .icon-btn { width: 2.375rem; height: 2.375rem; border-radius: 50%; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 14%, transparent); }
.quick-view .modal__body { padding: 1.5rem; }
.quick-view__grid { gap: 1.75rem; }
@media (min-width: 720px) { .quick-view__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.quick-view__img { border-radius: 1.25rem; background: var(--card-bg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 10%, transparent); padding: 4%; }
.quick-view__thumbs { gap: 0.5rem; margin-block-start: 0.75rem; padding: 3px; }
.quick-view__thumbs button { width: 3.25rem; height: 3.25rem; border-radius: 0.75rem; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 10%, transparent); }
.quick-view__thumbs button[aria-current="true"] { box-shadow: none; outline: 2px solid var(--sf-olive); outline-offset: 2px; }

.quick-view__info.stack { gap: 0.875rem; }
.quick-view .pdp__brand { color: var(--sf-olive); font-size: 0.875rem; font-weight: 600; }
.quick-view__desc { margin: 0; color: var(--ink-600); font-size: 0.875rem; line-height: 1.7; }
.quick-view .price--xl { font-size: 1.75rem; font-weight: 700; }
.quick-view .price-was { color: var(--ink-500); font-size: 0.9375rem; }
.quick-view [data-qv-options] { gap: 0.875rem !important; padding-block: 0.875rem; border-block: 1px solid color-mix(in srgb, var(--ink) 9%, transparent); }

.quick-view__buy { display: flex; align-items: stretch; gap: 0.625rem; }
.quick-view__qty { flex: none; display: flex; }
.quick-view__qty .qty { height: auto; border-radius: var(--r-full); background: var(--card-bg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 18%, transparent); }
.quick-view__qty .qty__btn { width: 2.625rem; height: 2.625rem; border-radius: var(--r-full); }
.quick-view__qty .qty__value { min-width: 1.75rem; font-size: 0.9375rem; }
.quick-view__add.btn { flex: 1 1 auto; min-width: 0; height: 3rem; border-radius: var(--r-full); font-size: 0.9375rem; font-weight: 700; box-shadow: none; }
.quick-view__more { align-self: center; padding-block-end: 0.125rem; border-block-end: 1px solid color-mix(in srgb, var(--sf-olive) 45%, transparent); color: var(--sf-olive); font-size: 0.875rem; font-weight: 600; }
.quick-view__more:hover { border-block-end-color: var(--sf-olive); }
@media (max-width: 719px) {
  .quick-view .modal__body { padding: 1rem 1.125rem 1.25rem; }
  .quick-view__grid { gap: 1rem; }
  .quick-view__img { max-height: 16rem; width: 100%; }
}

/* ══ Product card: gallery shadow ═════════════════════════════════════════
   Luxury-store lift: at rest only a hairline; on hover the hairline dissolves and the card floats on a wide, very
   diffuse shadow built from five low-opacity layers (contact → ambient), tinted warm olive rather than grey, so it
   reads as soft light, never as a dark edge. Slow, damped motion; small lift. */
.product-card, [data-card-style] .product-card {
  --lux-tint: color-mix(in srgb, var(--sf-olive-deep) 70%, #3a2a14);
  border-color: color-mix(in srgb, var(--ink) 8%, transparent);
  transition: box-shadow 560ms cubic-bezier(.22, .61, .36, 1), transform 560ms cubic-bezier(.22, .61, .36, 1), border-color 400ms ease;
}
.product-card:hover, [data-card-style] .product-card:hover {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--lux-tint) 4%, transparent),
    0 1px 1px color-mix(in srgb, var(--lux-tint) 4%, transparent),
    0 4px 8px -2px color-mix(in srgb, var(--lux-tint) 5%, transparent),
    0 14px 28px -8px color-mix(in srgb, var(--lux-tint) 8%, transparent),
    0 34px 64px -20px color-mix(in srgb, var(--lux-tint) 14%, transparent),
    0 60px 110px -40px color-mix(in srgb, var(--lux-tint) 16%, transparent);
}
.product-card__fav { box-shadow: 0 2px 10px -2px color-mix(in srgb, var(--lux-tint) 16%, transparent); }
.product-card:hover .product-card__fab { box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--lux-tint) 50%, transparent); }
@media (prefers-reduced-motion: reduce) { .product-card, [data-card-style] .product-card { transition: none; } .product-card:hover { transform: none; } }

/* ══ Product card v4: quiet catalogue card ════════════════════════════════
   After the reference: the photo runs edge to edge across the top of the card, the details sit below in light type,
   option values are thin outlined tags (no label, no bold "selected" pill), colours are small dots, no divider above
   the price, stock as plain text. Low specificity on purpose: the compact horizontal grid keeps its own rules. */
.product-card, [data-card-style] .product-card { border-radius: 1.125rem; overflow: hidden; }
.product-card__media { padding: 0; background: color-mix(in srgb, var(--ink) 3%, var(--card-bg)); }
.product-card__media > a:not(.product-card__fab) { border-radius: 0; background: transparent; }
.product-card__flags { inset-block-start: 0.875rem; inset-inline-start: 0.875rem; }
.product-card__fav { inset-block-start: 0.875rem; inset-inline-end: 0.875rem; width: 2.25rem; height: 2.25rem; background: var(--card-bg); border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); box-shadow: none; backdrop-filter: none; }
.product-card__fab { inset-block-end: 0.875rem; inset-inline-end: 0.875rem; width: 2.5rem; height: 2.5rem; }

.product-card__body { gap: 0.5rem; padding: 0.875rem 1.125rem 0.75rem; }
.card-opt__name { display: none; }
.card-opts { gap: 0.375rem; }
.spec-chips { gap: 0.3125rem; }
.spec-chip, .card-opt .spec-chip, .spec-chip.is-sel {
  padding: 0.125rem 0.5rem; border-radius: 0.375rem;
  background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 14%, transparent);
  color: var(--ink-700); font-size: 0.75rem; font-weight: 400; line-height: 1.5;
}
.spec-chip--more, .card-opt .spec-chip--more { box-shadow: none; padding-inline: 0.125rem; color: var(--ink-500); }
.product-card__title { margin: 0; font-size: 1rem; font-weight: 500; line-height: 1.5; color: var(--ink-900); min-height: 3em; }
.card-swatches { gap: 0.125rem; margin: 0; }
.card-swatch { width: 1.125rem; height: 1.125rem; }
.card-swatch::before { width: 0.75rem; height: 0.75rem; }

.product-card__prices { padding-block-start: 0.375rem; border-block-start: 0; }
.product-card__prices .price { font-size: 1.3125rem; font-weight: 600; gap: 0.25rem; }
.product-card__prices .price__currency { font-size: 0.8125rem; font-weight: 400; color: var(--ink-500); }
.product-card__from { font-size: 0.75rem; color: var(--ink-500); }
.product-card__body > .product-card__stock { margin: 0; font-size: 0.8125rem; color: var(--ink-600); }
.product-card__stock::before { display: none; }
.product-card__stock.is-low { color: var(--warning); }
.product-card__stock.is-out { color: var(--danger); }
.product-card__body > .product-card__delivery { margin: -0.125rem 0 0; font-size: 0.8125rem; color: var(--sf-olive); }

.product-card__foot { padding: 0.25rem 1.125rem 1.125rem; }
.product-card__foot .btn { height: 2.625rem; font-size: 0.875rem; font-weight: 500; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 14%, transparent); }
@media (max-width: 639px) {
  .product-card__body { padding: 0.75rem 0.75rem 0.5rem; }
  .product-card__foot { padding: 0.125rem 0.75rem 0.75rem; }
  .product-card__flags, .product-card__fav { inset-block-start: 0.625rem; }
  .product-card__flags { inset-inline-start: 0.625rem; }
  .product-card__fav { inset-inline-end: 0.625rem; }
  .product-card__fab { inset-block-end: 0.625rem; inset-inline-end: 0.625rem; width: 2.25rem; height: 2.25rem; }
  .product-card__prices .price { font-size: 1.125rem; }
  .product-card__title { font-size: 0.9375rem; }
}
.card-opts, .card-opt, .card-opt .spec-chips { width: 100%; max-width: 100%; min-width: 0; }
@media (max-width: 639px) { .card-opt .spec-chips { flex-wrap: wrap; } .card-opt .spec-chip { flex: none; } }

/* ══ Product card: depth + olive button ═══════════════════════════════════
   The card no longer sits flat: a soft warm shadow at rest, a deeper one on hover. The pill takes the theme's olive
   (tinted at rest, solid on hover) instead of white-on-white. */
.product-card, [data-card-style] .product-card {
  border-color: color-mix(in srgb, var(--ink) 5%, transparent);
  box-shadow:
    0 1px 2px color-mix(in srgb, var(--lux-tint) 6%, transparent),
    0 4px 10px -2px color-mix(in srgb, var(--lux-tint) 7%, transparent),
    0 14px 30px -12px color-mix(in srgb, var(--lux-tint) 12%, transparent);
}
.product-card:hover, [data-card-style] .product-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow:
    0 1px 2px color-mix(in srgb, var(--lux-tint) 6%, transparent),
    0 6px 14px -4px color-mix(in srgb, var(--lux-tint) 10%, transparent),
    0 22px 44px -14px color-mix(in srgb, var(--lux-tint) 20%, transparent),
    0 48px 90px -30px color-mix(in srgb, var(--lux-tint) 22%, transparent);
}
.product-card__foot .btn {
  background: color-mix(in srgb, var(--sf-olive) 10%, var(--card-bg));
  color: var(--sf-olive-deep);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sf-olive) 22%, transparent);
}
.product-card__foot .btn .icon { color: currentColor; }
.product-card__foot .btn:hover, .product-card__foot .btn:focus-visible { background: var(--sf-olive); color: var(--sf-cream); box-shadow: none; }
.product-card__foot .btn:disabled { background: color-mix(in srgb, var(--ink) 5%, var(--card-bg)); color: var(--ink-500); box-shadow: none; }
.product-card, [data-card-style] .product-card {
  box-shadow:
    0 1px 2px color-mix(in srgb, var(--lux-tint) 8%, transparent),
    0 6px 14px -4px color-mix(in srgb, var(--lux-tint) 10%, transparent),
    0 20px 40px -16px color-mix(in srgb, var(--lux-tint) 18%, transparent);
}
.product-card__foot .btn { background: color-mix(in srgb, var(--sf-olive) 15%, var(--card-bg)); color: var(--sf-olive); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sf-olive) 30%, transparent); }
.product-card__foot .btn { background: var(--sf-olive); color: var(--sf-cream); box-shadow: none; }
.product-card__foot .btn:hover, .product-card__foot .btn:focus-visible { background: var(--sf-olive-deep); color: var(--sf-cream); }