/* ==========================================================================
   Momz — the theme's own identity layer (loaded last, after glowify.css).
   Rules for this file: theme tokens only (no colours of its own); logical properties only (inline/block, start/end),
   so RTL and LTR both work; spacing between siblings with flex/grid gap, not margins; every flex/grid child that holds
   text gets min-width: 0 or a deliberate no-shrink, so long Arabic names wrap or shrink instead of overflowing.
   ========================================================================== */

/* ══ 1. Announcement bar: message + the store's facts ═══════════════════════ */
.announce { flex-wrap: wrap; column-gap: var(--space-6); row-gap: var(--space-1); }
.announce__msg { min-width: 0; }
.announce__facts { display: none; align-items: center; gap: var(--space-4); flex-wrap: wrap; justify-content: center; }
.announce__facts--alone { display: flex; }
@media (min-width: 768px) { .announce__facts { display: inline-flex; } }
.announce__fact { display: inline-flex; align-items: center; gap: var(--space-1); white-space: nowrap; opacity: 0.92; }
.announce__fact .icon { flex: none; }

/* ══ 2. Header — "soft cradle" ═══════════════════════════════════════════════
   A light blush surface (settings: header_bg / header_text) with pink only as the accent. Row 1: brand · a wide
   rounded search · actions. Row 2: categories as soft pills led by a round picture. A scalloped "blanket" edge
   finishes the header. Phones: menu · brand · actions, and the search field as its own row (always visible). */
.header--cradle {
  --cradle-edge: 0.625rem;   /* depth of the scallops */
  background: var(--header-bg);
  color: var(--header-text);
  box-shadow: none;
  border: 0;
}
/* the scalloped edge: a strip of the header colour cut into half-circles below the header */
.header--cradle::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-start: 100%;
  height: var(--cradle-edge);
  background: var(--header-bg);
  -webkit-mask: radial-gradient(circle at 50% 0, #000 calc(var(--cradle-edge) - 0.5px), transparent var(--cradle-edge)) 0 0 / calc(var(--cradle-edge) * 2) 100% repeat-x;
          mask: radial-gradient(circle at 50% 0, #000 calc(var(--cradle-edge) - 0.5px), transparent var(--cradle-edge)) 0 0 / calc(var(--cradle-edge) * 2) 100% repeat-x;
  pointer-events: none;
}
/* when the page scrolls under it: a soft shadow that follows the scallops too */
.header--cradle.is-stuck { box-shadow: none; filter: drop-shadow(0 6px 10px color-mix(in srgb, var(--shadow-color) 10%, transparent)); }

/* ── Row 1 ── */
.header--cradle .header__main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "burger brand actions" "search search search";
  align-items: center;
  column-gap: var(--space-2);
  row-gap: var(--space-3);
  min-height: 0;
  padding-block: var(--space-3);
}
.header--cradle .header__burger { grid-area: burger; color: var(--header-text); }
.header--cradle .header__brand { grid-area: brand; justify-self: start; min-width: 0; max-width: 100%; }
.header--cradle .search { grid-area: search; display: block; width: 100%; max-width: none; margin: 0; }
.header--cradle .header__actions { grid-area: actions; margin: 0; gap: var(--space-1); }

@media (min-width: 1024px) {
  .header--cradle .header__main {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand search actions";
    column-gap: var(--space-8);
    padding-block: var(--space-4) var(--space-3);
  }
  .header--cradle .search { justify-self: center; max-width: 40rem; }
}

/* brand: the logo picture may shrink on a narrow phone; the store's name never gets cut */
.header--cradle .logo { min-width: 0; max-width: 100%; gap: var(--space-2); }
.header--cradle .logo__img { min-width: 0; max-width: 100%; flex-shrink: 1; }
.header--cradle .logo__mark { flex: none; }
.header--cradle .logo__word {
  flex: none;
  min-width: auto;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
}
@media (min-width: 1024px) { .header--cradle .logo__word { font-size: 1.75rem; } }
/* the store name beside the logo follows the store setting (show_name); a smaller logo: three quarters of the height set in the theme settings, with a tighter width cap */
.header--cradle .logo__img { height: calc(var(--logo-h-mobile) * 0.75); max-width: min(8rem, 36vw); }
@media (min-width: 1024px) { .header--cradle .logo__img { height: calc(var(--logo-h) * 0.75); max-width: 11rem; } }

/* search: a wide rounded field with a round pink button at its end */
.header--cradle .search__form,
.search-drawer .search__form {
  height: 2.875rem;
  padding-inline-end: 0.3125rem;      /* insets the round button inside the field (padding, not a margin on the button) */
  border-radius: var(--r-full);
  background: var(--card-bg);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--primary) 22%, transparent);
}
.header--cradle .search__form:focus-within,
.search-drawer .search__form:focus-within {
  box-shadow: inset 0 0 0 2px var(--primary), 0 0 0 4px color-mix(in srgb, var(--primary) 14%, transparent);
}
.header--cradle .search__input,
.search-drawer .search__input { padding-inline: var(--space-5) var(--space-2); font-size: var(--text-sm); color: var(--ink); }
.header--cradle .search__submit,
.search-drawer .search__submit {
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  border-radius: var(--r-full);
  background: var(--primary);
  color: var(--on-primary);
}
.header--cradle .search__submit:hover,
.search-drawer .search__submit:hover { background: var(--brand-700); }
@media (min-width: 1024px) { .header--cradle .search__form { height: 3.125rem; } .header--cradle .search__submit { width: 2.5rem; height: 2.5rem; } }

/* actions: round icon buttons; from 1024px icon + label in one line */
.header--cradle .header__action {
  min-width: 2.5rem;
  height: 2.5rem;
  padding-inline: var(--space-2);
  border-radius: var(--r-full);
  color: var(--header-text);
}
.header--cradle .header__action:hover { background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary); }
.header--cradle .count-dot { inset-block-start: 0; inset-inline-end: 0; background: var(--primary); color: var(--on-primary); box-shadow: 0 0 0 2px var(--header-bg); }
/* phones and tablets: the language is in the menu, and the search field is always visible */
@media (max-width: 1023.98px) {
  .header--cradle .header__lang,
  .header--cradle [data-search-open] { display: none; }
}
@media (min-width: 1024px) {
  .header--cradle .header__action { flex-direction: row; gap: var(--space-2); height: 2.75rem; padding-inline: var(--space-3); }
  .header--cradle .header__action-label { font-size: var(--text-sm); font-weight: 600; white-space: nowrap; }
  .header--cradle .theme-toggle .header__action-label,
  .header--cradle .header__lang .header__action-label { display: none; }
  .header--cradle .header__action .count-dot { inset-block-start: 0.125rem; inset-inline-end: auto; inset-inline-start: 1.5rem; }
}

/* ── Row 2: category pills ── */
.header--cradle .catbar { background: transparent; box-shadow: none; border: 0; }
.header--cradle .catbar__inner {
  flex-wrap: wrap;            /* a last resort only: the pills are sized to fit one row */
  justify-content: center;
  gap: 0.25rem;
  min-height: 0;
  padding-block: var(--space-1) var(--space-3);
}
.header--cradle .catbar__link {
  gap: 0.375rem;
  min-width: 0;
  padding-block: 0.25rem;
  padding-inline: 0.625rem;
  border-radius: var(--r-full);
  background: var(--card-bg);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 16%, transparent);
  color: var(--header-text);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.2;
}
.header--cradle .catbar__link { min-height: 2.25rem; }
/* the round pictures need room: from 1280px; below that the pills are text only and a step smaller, so they still fit one row */
.header--cradle .catbar__bubble { display: none; }
@media (max-width: 1279.98px) { .header--cradle .catbar__link { font-size: var(--text-xs); padding-inline: 0.5rem; } }
@media (min-width: 1280px) {
  .header--cradle .catbar__bubble { display: inline-grid; }
  .header--cradle .catbar__link:has(.catbar__bubble) { padding-inline-start: 0.25rem; }
}
.header--cradle .catbar__link:hover,
.header--cradle .catbar__link.is-active {
  background: color-mix(in srgb, var(--primary) 9%, var(--card-bg));
  box-shadow: inset 0 0 0 1.5px var(--primary);
  color: var(--primary);
}
.header--cradle .catbar__text { min-width: 0; }
.header--cradle .catbar__bubble {
  place-items: center;
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  overflow: hidden;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 12%, var(--card-bg));
  color: var(--primary);
}
.header--cradle .catbar__bubble img { display: block; width: 100%; height: 100%; object-fit: cover; }
.header--cradle .catbar__bubble .icon,
.header--cradle .catbar__bubble .menu-icon { width: 1rem; height: 1rem; }
/* "All categories" opens the row as a round grid button (its name stays for screen readers and as a tooltip),
   which keeps the row on one line in both languages */
.header--cradle .catbar__link--all { padding: 0.25rem; }
.header--cradle .catbar__link--all .catbar__bubble { display: inline-grid; }
.header--cradle .catbar__link--all .catbar__text {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
/* "Offers" is the one filled pill */
.header--cradle .catbar__link--offers,
.header--cradle .catbar__link--offers:hover { background: var(--primary); box-shadow: none; color: var(--on-primary); }
.header--cradle .catbar__link--offers .catbar__bubble { background: color-mix(in srgb, var(--on-primary) 22%, transparent); color: var(--on-primary); }

/* ══ 3. Category drop-down — a soft card with photo tiles ═══════════════════
   Start: the category's picture with its name and a filled "shop" pill. End: each sub-category as a tile — its
   picture in a round frame (else its icon, else its first letter). A small notch points at the pill. */
.header--cradle .megamenu {
  grid-template-columns: 13rem minmax(16rem, auto);
  gap: var(--space-2);
  padding: var(--space-2);
  overflow: visible;
  border-radius: 1.5rem;
  background: var(--card-bg);
  box-shadow: 0 18px 40px -12px color-mix(in srgb, var(--shadow-color) 24%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--primary) 14%, transparent);
}
.header--cradle .megamenu--links-only { grid-template-columns: minmax(16rem, auto); }
.header--cradle .megamenu::before {
  content: "";
  position: absolute;
  inset-block-end: 100%;
  inset-inline-start: 1.75rem;
  width: 1.125rem;
  height: 0.5625rem;
  background: var(--card-bg);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.header--cradle .megamenu--flip::before { inset-inline-start: auto; inset-inline-end: 1.75rem; }

.header--cradle .megamenu__visual { min-height: 11rem; overflow: hidden; border-radius: 1.125rem; }
.header--cradle .megamenu__visual-text { gap: var(--space-2); padding: var(--space-4); }
.header--cradle .megamenu__visual-title { font-size: 1.25rem; line-height: 1.25; }
.header--cradle .megamenu__visual-cta {
  align-self: flex-start;
  margin: 0;
  padding: 0.375rem 0.875rem;
  border-radius: var(--r-full);
  background: var(--primary);
  color: var(--on-primary);
  font-size: var(--text-xs);
}

.header--cradle .megamenu__links {
  grid-template-columns: repeat(2, minmax(0, 12rem));
  gap: var(--space-1);
  padding: var(--space-2);
}
/* one or two sub-categories: a single column */
.header--cradle .megamenu__links:not(:has(> :nth-child(3))) { grid-template-columns: minmax(0, 13rem); }
.header--cradle .megamenu__link {
  gap: var(--space-3);
  min-width: 0;
  padding: var(--space-2);
  border-radius: 1rem;
  color: var(--ink);
  font-weight: 600;
}
.header--cradle .megamenu__link::before { display: none; }
.header--cradle .megamenu__link:hover,
.header--cradle .megamenu__link.is-active { background: color-mix(in srgb, var(--primary) 8%, var(--card-bg)); color: var(--primary); }
.header--cradle .megamenu__name { min-width: 0; line-height: 1.35; overflow-wrap: anywhere; }

/* the round frame shared by the drop-down tiles and the phone menu rows */
.header--cradle .megamenu__thumb,
.mobile-nav__bubble {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 3rem;
  height: 3rem;
  overflow: hidden;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 10%, var(--card-bg));
  color: var(--primary);
  box-shadow: 0 0 0 2px var(--card-bg), 0 0 0 3.5px color-mix(in srgb, var(--primary) 18%, transparent);
}
.header--cradle .megamenu__thumb img,
.mobile-nav__bubble img { display: block; width: 100%; height: 100%; border-radius: 0; object-fit: cover; }
.megamenu__initial,
.mobile-nav__initial { font-family: var(--font-display); font-size: 1.125rem; font-weight: 800; line-height: 1; }

/* ══ 4. Drawers — corners on the inner edge (logical, so RTL and LTR both work) ══ */
.drawer {
  overflow: hidden;
  border-start-start-radius: 1.5rem;   /* end-side drawers (cart): the inner edge is their start */
  border-end-start-radius: 1.5rem;
}
.drawer--start {
  border-radius: 0;
  border-start-end-radius: 1.5rem;     /* the menu opens from the start: its inner edge is its end */
  border-end-end-radius: 1.5rem;
}
.drawer__head { position: relative; z-index: 1; border-block-end: 0; background: var(--header-bg); color: var(--header-text); }
.drawer .logo__word { font-family: var(--font-display); font-size: 1.375rem; font-weight: 800; color: var(--primary); }
.drawer__foot .btn { border-radius: var(--r-full); }

/* ══ 5. Phone menu — photo rows, pill children, offers card, language switch ══ */
.drawer[data-drawer="menu"] .drawer__head::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-start: 100%;
  height: 0.625rem;
  background: var(--header-bg);
  -webkit-mask: radial-gradient(circle at 50% 0, #000 calc(0.625rem - 0.5px), transparent 0.625rem) 0 0 / 1.25rem 100% repeat-x;
          mask: radial-gradient(circle at 50% 0, #000 calc(0.625rem - 0.5px), transparent 0.625rem) 0 0 / 1.25rem 100% repeat-x;
  pointer-events: none;
}
.drawer[data-drawer="menu"] .drawer__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding-block: var(--space-6) var(--space-5);
  padding-inline: var(--space-4);
}
.drawer[data-drawer="menu"] .mobile-nav__group { display: flex; flex-direction: column; gap: var(--space-1); }
.drawer[data-drawer="menu"] .mobile-nav__group + .mobile-nav__group { margin: 0; padding: 0; border: 0; }
.drawer[data-drawer="menu"] .mobile-nav__label {
  padding: 0;
  padding-inline: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink-500);
}

/* category rows */
.drawer[data-drawer="menu"] .mobile-nav__link {
  gap: var(--space-3);
  min-height: 3.5rem;
  padding: 0.375rem var(--space-2);
  border-radius: 1rem;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink);
}
.drawer[data-drawer="menu"] .mobile-nav__link:hover,
.drawer[data-drawer="menu"] .mobile-nav__trigger[aria-expanded="true"] { background: color-mix(in srgb, var(--primary) 7%, var(--card-bg)); }
.drawer[data-drawer="menu"] .mobile-nav__trigger[aria-expanded="true"],
.drawer[data-drawer="menu"] .mobile-nav__link.is-active { color: var(--primary); }
.drawer[data-drawer="menu"] .mobile-nav__link > .icon:first-child { flex: none; color: var(--primary); }
.drawer[data-drawer="menu"] .mobile-nav__text { flex: 1; min-width: 0; overflow-wrap: anywhere; line-height: 1.35; }
.drawer[data-drawer="menu"] .mobile-nav__link .chev { flex: none; margin: 0; color: var(--ink-400); }
.mobile-nav__bubble { width: 2.75rem; height: 2.75rem; }

/* sub-categories: soft pills under their row, "view all" first and filled */
.drawer[data-drawer="menu"] .mobile-nav__panel {
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding-block: var(--space-2) var(--space-3);
  padding-inline: 3.75rem var(--space-2);
}
.drawer[data-drawer="menu"] .mobile-nav__panel[hidden] { display: none; }
.drawer[data-drawer="menu"] .mobile-nav__sublink {
  max-width: 100%;
  padding: 0.4375rem 0.875rem;
  border-radius: var(--r-full);
  background: var(--card-bg);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 20%, transparent);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.drawer[data-drawer="menu"] .mobile-nav__sublink:hover,
.drawer[data-drawer="menu"] .mobile-nav__sublink.is-active { box-shadow: inset 0 0 0 1.5px var(--primary); background: color-mix(in srgb, var(--primary) 8%, var(--card-bg)); color: var(--primary); }
.drawer[data-drawer="menu"] .mobile-nav__sublink--all,
.drawer[data-drawer="menu"] .mobile-nav__sublink--all:hover { gap: var(--space-1); background: var(--primary); box-shadow: none; color: var(--on-primary); }

/* offers: one pink card */
.mobile-nav__offers {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.75rem var(--space-4);
  border-radius: 1.25rem;
  background: var(--primary);
  color: var(--on-primary);
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 700;
}
.mobile-nav__offers:hover { background: var(--brand-700); color: var(--on-primary); }
.mobile-nav__offers .mobile-nav__text { flex: 1; min-width: 0; }
.mobile-nav__offers-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--on-primary) 22%, transparent);
}

/* language: a two-way switch */
.drawer[data-drawer="menu"] .mobile-nav__lang {
  display: flex;
  gap: var(--space-1);
  padding: 0.25rem;
  border-radius: var(--r-full);
  background: color-mix(in srgb, var(--primary) 8%, var(--card-bg));
}
.drawer[data-drawer="menu"] .mobile-nav__lang .lang-switch__item {
  flex: 1;
  padding: 0.5rem var(--space-3);
  border-radius: var(--r-full);
  box-shadow: none;
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-600);
}
.drawer[data-drawer="menu"] .mobile-nav__lang .lang-switch__item[aria-current="true"] {
  background: var(--card-bg);
  color: var(--primary);
  box-shadow: 0 1px 4px color-mix(in srgb, var(--shadow-color) 14%, transparent);
}

/* ══ 6. Product card — "soft luxury" ════════════════════════════════════════
   A warm-white card (30px corners, a fine blush edge, a soft pink shadow) whose photo fills ~60% of it on a blush
   ground and ends in an organic wave. Floating on the photo: the heart (white circle), quick view under it, the
   offer pills at the start, the product's short highlights as feature chips, and one small ornament (heart, crown or
   sparkle by product). Below: the name centred, the rating, the price in magenta over the crossed-out one, and a
   full-width pill button — a magenta gradient to add, an outline where a choice comes first. */
.product-card {
  container-type: inline-size;
  --pc-pink: color-mix(in srgb, var(--primary) 14%, var(--card-bg));
  --pc-grad: linear-gradient(135deg, color-mix(in srgb, var(--primary) 82%, var(--card-bg)) 0%, var(--primary) 55%, color-mix(in srgb, var(--primary) 82%, var(--accent)) 100%);
  gap: 0;
  padding: 0.5rem;
  border: 0;
  border-radius: 1.875rem;
  background: linear-gradient(180deg, var(--card-bg) 55%, color-mix(in srgb, var(--primary) 5%, var(--card-bg)) 100%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--primary) 14%, transparent), 0 14px 30px -20px color-mix(in srgb, var(--primary) 55%, transparent);
  overflow: visible;
  transform: none;
  transition: box-shadow var(--t-base) var(--ease), translate var(--t-base) var(--ease-out);
}
.product-card:hover {
  translate: 0 -4px;
  transform: none;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--primary) 24%, transparent), 0 22px 40px -22px color-mix(in srgb, var(--primary) 65%, transparent);
}
[data-card-style] .product-card,
[data-card-style] .product-card:hover { border: 0; }
@media (prefers-reduced-motion: reduce) { .product-card:hover { translate: none; } }

/* ── the photo ── */
/* the photo takes ~55–60% of the card: a touch taller than wide (3:4 on a narrow card) */
.product-card__media { aspect-ratio: 9 / 10; overflow: visible; background: transparent; border-radius: 0; }
[data-card-ratio="portrait"] .product-card__media { aspect-ratio: 4 / 5; }
[data-card-ratio="landscape"] .product-card__media { aspect-ratio: 4 / 3; }
.product-card__media > a {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  border-start-start-radius: 1.5rem;
  border-start-end-radius: 1.5rem;
  background: radial-gradient(120% 90% at 50% 25%, color-mix(in srgb, var(--primary) 4%, var(--card-bg)) 0%, var(--pc-pink) 100%);
  /* the organic wave at the foot of the photo */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H100V87C88 81 76 94 55 91S18 85 0 95Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H100V87C88 81 76 94 55 91S18 85 0 95Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
.product-card__img { object-fit: cover; object-position: center; transition: transform var(--t-slow) var(--ease-out); }
/* studio photos on white melt into the blush ground (light mode only) */
:root:not([data-mode="dark"]):not([data-theme="dark"]) .product-card__img { mix-blend-mode: multiply; }
.product-card:hover .product-card__img { transform: scale(1.05); }

/* floating controls: the heart, quick view under it */
.product-card__fav,
.product-card__quick {
  position: absolute;
  inset-inline-end: 0.625rem;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 2.625rem;
  height: 2.625rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--card-bg);
  color: var(--primary);
  box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--primary) 45%, transparent);
  backdrop-filter: none;
}
.product-card__fav { inset-block-start: 0.625rem; }
.product-card__quick { inset-block-start: 3.75rem; inset-block-end: auto; inset-inline-start: auto; min-width: 0; opacity: 0; translate: 0 -0.25rem; }
@media (hover: hover) {
  .product-card:hover .product-card__quick,
  .product-card:focus-within .product-card__quick { opacity: 1; translate: 0 0; }
}
.product-card__quick-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.product-card__fav:hover,
.product-card__fav[aria-pressed="true"],
.product-card__quick:hover { background: var(--primary); color: var(--on-primary); }
.product-card__fav[aria-pressed="true"] .icon { fill: currentColor; }

/* offer pills at the start */
.product-card__flags { inset-block-start: 0.75rem; inset-inline-start: 0.75rem; z-index: 3; gap: 0.375rem; align-items: flex-start; }
.product-card__flags .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  margin: 0;
  padding: 0.3125rem 0.75rem;
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 6px 14px -8px color-mix(in srgb, var(--primary) 60%, transparent);
}
.product-card__flags .badge--discount,
.product-card__flags .badge--label { background: var(--pc-grad); color: var(--on-primary); }
.product-card__flags .badge--discount { font-family: var(--font-display); font-size: 1rem; font-weight: 800; padding-block: 0.25rem; }
.product-card__flags .badge--box,
.product-card__flags .badge--new { background: var(--card-bg); color: var(--primary); }
.product-card__flags .badge .icon { flex: none; }

/* the product's short highlights as feature chips at the start, under the pills */
.product-card__features {
  position: absolute;
  inset-inline-start: 0.625rem;
  inset-block-end: 22%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.product-card__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
  width: 3.75rem;
  padding: 0.375rem 0.25rem;
  border-radius: 1rem;
  background: color-mix(in srgb, var(--card-bg) 88%, transparent);
  color: var(--ink);
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
  box-shadow: 0 4px 12px -6px color-mix(in srgb, var(--primary) 40%, transparent);
}
.product-card__feature .icon { color: var(--primary); }

/* one small ornament where the wave ends (by product: a heart, a crown, a sparkle) */
.product-card__deco {
  position: absolute;
  z-index: 2;
  inset-block-end: 3%;
  inset-inline-start: 0.5rem;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--pc-grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.7 4.5c2.1 0 3.6 1.2 5.3 3 1.7-1.8 3.2-3 5.3-3 3.7 0 5.8 3.9 4.3 7.3C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.7 4.5c2.1 0 3.6 1.2 5.3 3 1.7-1.8 3.2-3 5.3-3 3.7 0 5.8 3.9 4.3 7.3C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 3px 4px color-mix(in srgb, var(--primary) 35%, transparent));
  pointer-events: none;
}
.product-card[data-deco="1"] .product-card__deco {      /* a small crown, in the warm gold of the theme's warning colour */
  inset-block-end: auto;
  inset-block-start: 0.5rem;
  inset-inline-start: 38%;
  width: 1.5rem;
  height: 1.25rem;
  background: var(--warning);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20'%3E%3Cpath d='M2 6l5 4 5-8 5 8 5-4-2 12H4z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20'%3E%3Cpath d='M2 6l5 4 5-8 5 8 5-4-2 12H4z'/%3E%3C/svg%3E");
  opacity: 0.85;
  rotate: -14deg;
}
.product-card[data-deco="2"] .product-card__deco {      /* a four-point sparkle */
  width: 1.25rem;
  height: 1.25rem;
  inset-block-end: 6%;
  -webkit-mask-image: none;
          mask-image: none;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  opacity: 0.8;
}
/* the pills or the chips already sit at the start: the ornament steps aside */
.product-card:has(.product-card__features) .product-card__deco { display: none; }

/* ── the words ── */
.product-card__body {
  align-items: center;
  gap: 0.375rem;
  padding: var(--space-2) var(--space-3) var(--space-3);
  text-align: center;
}
.product-card__brand { font-size: var(--text-2xs); font-weight: 500; color: var(--ink-500); text-transform: none; }
.product-card__title {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  min-height: calc(2 * 1.5em);
}
.product-card__title a:hover { color: var(--primary); }
.product-card__rating { justify-content: center; gap: 0.3125rem; font-size: var(--text-xs); }
.product-card__star { color: var(--warning); fill: var(--warning); flex: none; }
.product-card__rating-num { font-weight: 700; color: var(--primary); }
.product-card__rating-count { color: var(--ink-400); }
.product-card .card-swatches,
.product-card .bundle-peek__thumbs { justify-content: center; }
.product-card__hint { color: var(--ink-500); }
/* bundles: the box badge on the photo already says what the bundle is — on phones and tablets (under 1024px)
   the peek under the words (its thumbs and «يحتوي: …» header) steps aside so nothing is said twice;
   desktop keeps both */
@media (max-width: 1023.98px) {
  .product-card .bundle-peek { display: none; }
}

/* price over the button */
.product-card__buy {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-3);
  width: 80%;
  max-width: 9rem;
  margin-inline: auto;
  margin-block-start: auto;
  padding-block-start: var(--space-1);
}
.product-card__prices { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0.25rem 0.625rem; min-width: 0; margin: 0; }
.product-card__prices .price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; line-height: 1.1; color: var(--primary); }
.product-card__prices .price__currency { font-size: 0.6em; font-weight: 700; }
.product-card__prices .price-was { font-size: var(--text-sm); font-weight: 500; color: var(--ink-400); text-decoration: line-through; }

/* the button: a magenta gradient pill to add; an outline where a choice comes first */
.product-card__foot { display: flex; padding: 0; gap: 0; }
.product-card__foot .product-card__form { display: flex; flex: 1; }
.product-card__foot .btn {
  flex: 1;
  gap: var(--space-2);
  min-height: 3.25rem;
  padding-inline: var(--space-4);
  border: 0;
  border-radius: var(--r-full);
  font-size: var(--text-sm);
  font-weight: 700;
  white-space: nowrap;
  transition: translate var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.product-card__foot .btn--primary { background: var(--pc-grad); color: var(--on-primary); box-shadow: 0 10px 20px -12px color-mix(in srgb, var(--primary) 75%, transparent); }
.product-card__foot .btn--primary:hover { translate: 0 -2px; box-shadow: 0 14px 24px -12px color-mix(in srgb, var(--primary) 85%, transparent); }
.product-card__foot .btn--outline { background: var(--card-bg); color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--primary); }
.product-card__foot .btn--outline:hover { background: color-mix(in srgb, var(--primary) 7%, var(--card-bg)); translate: 0 -2px; }
.product-card__foot .btn[disabled] { background: transparent; color: var(--ink-400); box-shadow: inset 0 0 0 1px var(--line); translate: none; }
.product-card__foot .icon { flex: none; }

/* a narrow card (two across on a phone): the same card, a step smaller */
@container (max-width: 15.5rem) {
  .product-card__media { aspect-ratio: 3 / 4; }
  .product-card__brand { display: none; }
  .product-card__fav, .product-card__quick { width: 2.25rem; height: 2.25rem; inset-inline-end: 0.5rem; }
  .product-card__quick { inset-block-start: 3.25rem; }
  .product-card__flags { inset-block-start: 0.5rem; inset-inline-start: 0.5rem; }
  .product-card__flags .badge { font-size: var(--text-2xs); padding: 0.25rem 0.5rem; }
  .product-card__flags .badge--discount { font-size: 0.875rem; }
  .product-card__body { padding: var(--space-2) var(--space-1) var(--space-2); }
  .product-card__title { font-size: var(--text-sm); }
  .product-card__prices .price { font-size: 1.1875rem; }
  .product-card__prices .price-was { font-size: var(--text-xs); }
  .product-card__foot .btn { min-height: 2.75rem; padding-inline: var(--space-2); font-size: var(--text-xs); gap: 0.3125rem; }
  .product-card__feature { width: 3.25rem; }
}

/* ── 6b. The card, final form: small, flat, two lines ────────────────────────
   The wave photo, then only the name and the price. No button row: the add button is a small round bag sitting on the
   wave at the photo's end corner (its words stay for screen readers). No shadows, no lift, no ornament; hover draws
   a thin ring. Colour dots share the price line. Five cards per row on wide screens. */
.product-card {
  --pc-pad: 0px;                          /* no padding: the photo runs to the card's edge */
  --pc-ar: 1;                             /* photo width / height */
  --pc-border: color-mix(in srgb, var(--primary) 68%, var(--shadow-color));   /* the primary, a shade darker */
  padding: var(--pc-pad);
  border: 1px solid var(--pc-border);
  border-radius: 1.125rem;
  background: color-mix(in srgb, var(--primary) 5%, var(--card-bg));
  box-shadow: none;
  transition: box-shadow var(--t-fast) var(--ease);
}
.product-card:hover { translate: none; box-shadow: none; border-color: var(--brand-700); }
/* the layers above reset the border for the card styles: this one keeps it */
[data-card-style] .product-card,
[data-card-style] .product-card:hover { border: 1px solid var(--pc-border); }
[data-card-style] .product-card:hover { border-color: var(--brand-700); }
/* on a dark page a shade darker would vanish into the card: lift it instead */
:root[data-mode="dark"] .product-card,
:root[data-theme="dark"] .product-card { --pc-border: color-mix(in srgb, var(--primary) 70%, var(--card-bg)); }
.product-card__media, [data-card-ratio] .product-card__media { aspect-ratio: var(--pc-ar); }
[data-card-ratio="portrait"] .product-card { --pc-ar: 0.8; }
[data-card-ratio="landscape"] .product-card { --pc-ar: 1.3333; }
.product-card__media > a { border-start-start-radius: calc(1.125rem - 1px); border-start-end-radius: calc(1.125rem - 1px); background: var(--card-bg); }   /* the card's corners, less its border */
.product-card:hover .product-card__img { transform: scale(1.03); }
.product-card__fav,
.product-card__quick { width: 1.875rem; height: 1.875rem; inset-inline-end: 0.4375rem; box-shadow: none; }
.product-card__fav { inset-block-start: 0.4375rem; }
.product-card__quick { inset-block-start: 2.625rem; }
.product-card__fav .icon, .product-card__quick .icon { width: 0.875rem; height: 0.875rem; }
.product-card__flags { inset-block-start: 0.4375rem; inset-inline-start: 0.4375rem; gap: 0.25rem; }
.product-card__flags .badge { padding: 0.125rem 0.4375rem; font-size: var(--text-2xs); font-weight: 600; box-shadow: none; }
.product-card__flags .badge--discount,
.product-card__flags .badge--label { background: var(--primary); }
.product-card__flags .badge--discount { font-size: 0.75rem; font-weight: 700; }
.product-card__feature { box-shadow: none; }
.product-card__deco { display: none; }

/* the two lines */
.product-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.25rem var(--space-2);
  padding: 0.5rem 0.625rem 0.625rem;
  text-align: start;
}
.product-card__brand, .product-card__hint, .product-card .bundle-peek { display: none; }
.product-card__title { grid-column: 1 / -1; font-size: 0.8125rem; font-weight: 600; line-height: 1.45; min-height: calc(2 * 1.45em); }
.product-card__rating { grid-column: 1 / -1; justify-content: flex-start; font-size: var(--text-2xs); }
.product-card__buy { grid-column: 1; display: block; width: auto; max-width: none; margin: 0; padding: 0; }
.product-card__prices { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: baseline; gap: 0 0.375rem; }
.product-card__prices .price { font-size: 1rem; font-weight: 700; }
.product-card__prices .price-was { font-size: var(--text-2xs); font-weight: 400; }
.product-card__from { font-size: 0.625rem; }
/* order: name, rating, then the price with the colour dots beside it on one line */
.product-card__title { order: 1; }
.product-card__rating { order: 2; }
.product-card__buy { order: 3; }
.product-card .card-swatches { order: 4; grid-column: 2; justify-content: flex-end; gap: 0; margin: 0; }
.product-card .card-swatch { width: 1.125rem; height: 1.125rem; }
.product-card .card-swatch::before { width: 0.75rem; height: 0.75rem; }
.product-card .card-swatches__more { font-size: 0.625rem; padding-inline: 0.125rem; }

/* the add button: a round bag on the wave */
.product-card__foot {
  position: absolute;
  z-index: 3;
  inset-block-start: calc(var(--pc-pad) + 100cqw / var(--pc-ar) - 1.5rem);
  inset-inline-end: calc(var(--pc-pad) + 0.5rem);
  display: block;
  padding: 0;
}
.product-card__foot .product-card__form { display: block; }
.product-card__foot .btn,
.product-card__foot .btn:has(.product-card__btn-label) {
  display: grid;
  place-items: center;
  width: 2.25rem;
  min-width: 0;
  height: 2.25rem;
  min-height: 0;
  padding: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 5%, var(--card-bg));   /* a ring in the card's colour: it sits on the wave */
  translate: none;
}
.product-card__btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.product-card__foot .btn .icon { width: 1rem; height: 1rem; }
.product-card__foot .btn--primary,
.product-card__foot .btn--primary:hover { background: var(--primary); color: var(--on-primary); translate: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 5%, var(--card-bg)); }
.product-card__foot .btn--primary:hover { background: var(--brand-700); }
.product-card__foot .btn--outline,
.product-card__foot .btn--outline:hover { background: var(--card-bg); color: var(--primary); translate: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 5%, var(--card-bg)), inset 0 0 0 1px color-mix(in srgb, var(--primary) 45%, transparent); }
.product-card__foot .btn--outline:hover { background: var(--primary); color: var(--on-primary); }
.product-card__foot .btn[disabled] { display: none; }
@container (max-width: 15.5rem) {
  .product-card__media { aspect-ratio: var(--pc-ar); }
  .product-card__brand { display: none; }
  .product-card__body { padding: 0.375rem 0.4375rem 0.5rem; }
  .product-card__title { font-size: 0.75rem; }
  .product-card__prices .price { font-size: 0.9375rem; }
  .product-card__foot .btn, .product-card__foot .btn:has(.product-card__btn-label) { width: 2rem; min-height: 0; height: 2rem; padding: 0; }
  .product-card__foot { inset-block-start: calc(var(--pc-pad) + 100cqw / var(--pc-ar) - 1.375rem); }
}
/* five across on wide screens: smaller cards, more of the shelf in view */
@media (min-width: 1280px) {
  .product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-4) var(--space-3); }
  .product-rail { grid-auto-columns: calc((100% - 4 * var(--space-3) - 4rem) / 5); gap: var(--space-3); }
}

/* ══ 7. Product page — a banner, then the box ═══════════════════════════════
   The banner: a blush band under the header with the photo large in an arch (same shape as the cards) on the right
   and, on the left, the title, price and a white buy card — the sides do not follow the language direction. A box
   (bundle) then lists its products as arch cards with the real saving. Details as soft pill tabs. Phones: photo,
   then the panel. */
.mpdp-banner {
  --mp-band: color-mix(in srgb, var(--primary) 10%, var(--bg));
  position: relative;
  background: var(--mp-band);
  padding-block: var(--space-8) var(--space-12);
}
.mpdp-banner::after {                   /* the band ends in the same scallops as the header */
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-start: 100%;
  height: 0.625rem;
  background: var(--mp-band);
  -webkit-mask: radial-gradient(circle at 50% 0, #000 calc(0.625rem - 0.5px), transparent 0.625rem) 0 0 / 1.25rem 100% repeat-x;
          mask: radial-gradient(circle at 50% 0, #000 calc(0.625rem - 0.5px), transparent 0.625rem) 0 0 / 1.25rem 100% repeat-x;
  pointer-events: none;
}
.mpdp-banner__inner { display: flex; flex-direction: column; gap: var(--space-4); }
.mpdp-banner__crumbs { min-width: 0; }
.mpdp { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); align-items: start; }
@media (min-width: 900px) {
  .mpdp { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-12); }
  /* the photo fills its track, so the section's media-size setting really sizes it (the base .pdp--media-* rules
     lose to .mpdp above; these two win instead) */
  .mpdp.pdp--media-small { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); }
  .mpdp.pdp--media-large { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  /* the photo on the right and the words on the left, whichever way the language reads: in RTL the
     first track is the right-hand one and the markup already puts the visual there; in LTR the panel
     moves to the first track instead and the photo goes beyond it */
  [dir="ltr"] .mpdp .mpdp__panel { order: -1; }
}

/* the photo in an arch, white on the blush band; badges and buttons kept clear of the round top */
.mpdp__visual { min-width: 0; }
/* the photo fills its track: flush under the breadcrumb, with no dead band between it and the panel */
.mpdp .gallery { --gallery-bg: var(--card-bg); width: 100%; gap: var(--space-4); }
.mpdp .gallery__main {
  aspect-ratio: 1;
  border-radius: 1.75rem;
  box-shadow: 0 0 0 0.375rem var(--card-bg), 0 0 0 calc(0.375rem + 1.5px) color-mix(in srgb, var(--primary) 18%, transparent), 0 28px 48px -28px color-mix(in srgb, var(--shadow-color) 45%, transparent);
}
.mpdp .gallery__flags { inset-block-start: 1rem; inset-inline-start: 1rem; }
.mpdp .gallery__flags .badge { border-radius: var(--r-full); }
.mpdp .gallery__flags .badge--discount { background: var(--primary); color: var(--on-primary); font-family: var(--font-display); }
.mpdp .gallery__expand { inset-block-start: 1rem; inset-inline-end: 1rem; }
/* thumbs start-aligned and sized with the photo; a centred row would clip its first thumbnails once it scrolls */
.mpdp .gallery__thumbs { grid-auto-columns: 4.25rem; gap: var(--space-3); padding: 3px; }
.mpdp .gallery__thumb { border-radius: 0.875rem; background: var(--card-bg); box-shadow: none; opacity: 0.8; }
.mpdp .gallery__thumb.is-active::after { box-shadow: inset 0 0 0 2px var(--primary); }

/* the panel */
.mpdp__panel { gap: var(--space-4); min-width: 0; }
.mpdp .pdp__brand { align-self: flex-start; font-size: var(--text-xs); font-weight: 600; color: var(--ink-500); text-transform: none; }
.mpdp .pdp__title { font-family: var(--font-display); font-size: clamp(1.75rem, 1.15rem + 1.9vw, 2.75rem); font-weight: 800; line-height: var(--leading-tight); overflow-wrap: anywhere; }
.mpdp__count {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  align-self: flex-start;
  padding: 0.375rem 0.875rem;
  border-radius: var(--r-full);
  background: var(--card-bg);
  color: var(--primary);
  font-size: var(--text-sm);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 20%, transparent);
}
.mpdp__count:hover { background: var(--primary); color: var(--on-primary); }

/* the buy card: white on the band */
.mpdp .pdp__box {
  gap: var(--space-4);
  padding: var(--space-6);
  border: 0;
  border-radius: 1.75rem;
  background: var(--card-bg);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 12%, transparent), 0 24px 44px -30px color-mix(in srgb, var(--shadow-color) 40%, transparent);
}
.mpdp .pdp__price-row { gap: var(--space-2) var(--space-3); }
.mpdp .pdp__price-row .price--xl { font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 1.5vw, 2.75rem); font-weight: 800; line-height: 1.1; color: var(--primary); }
.mpdp .pdp__price-row .price--xl .price__currency { font-size: 0.5em; color: inherit; }
.mpdp .pdp__price-row .badge--discount { border-radius: var(--r-full); background: color-mix(in srgb, var(--primary) 12%, var(--card-bg)); color: var(--primary); font-weight: 700; }
.mpdp .opt-chip { border-radius: var(--r-full); }
/* colours as round swatches: a white ring, then a pink ring on the chosen one */
.mpdp .opt-chip--colour .opt-chip__dot { width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 18%, transparent); }
.mpdp .opt-chip--colour input:checked + .opt-chip__dot { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 18%, transparent), 0 0 0 3px var(--card-bg), 0 0 0 5px var(--primary); }
.mpdp .pdp__actions .qty,
.mpdp .pdp__actions .btn--icon { border-radius: var(--r-full); }
.mpdp .pdp__actions .btn--icon { color: var(--primary); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--primary) 35%, transparent); }
.mpdp .pdp__buy .btn { border-radius: var(--r-full); font-weight: 700; }
.mpdp .pdp__buy .btn--primary { background: var(--primary); color: var(--on-primary); box-shadow: none; }
.mpdp .pdp__buy .btn--primary:hover { background: var(--brand-700); }
.mpdp .pdp__buy .btn--outline { background: var(--card-bg); color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--primary); }
.mpdp .pdp__buy .btn--outline:hover { background: color-mix(in srgb, var(--primary) 8%, var(--card-bg)); }
/* perks (delivery, cash on delivery, the store's own promises) as soft pills */
.mpdp .pdp__perks { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; border: 0; }
.mpdp .pdp__perk {
  align-items: center;
  gap: var(--space-2);
  padding: 0.4375rem 0.875rem;
  border-radius: var(--r-full);
  background: color-mix(in srgb, var(--primary) 7%, var(--card-bg));
  color: var(--ink);
  font-size: var(--text-xs);
  font-weight: 600;
}
.mpdp .pdp__perk .icon { color: var(--primary); }
.mpdp .pdp__perks--store .pdp__perk { background: var(--card-bg); }

/* ── the box: what's inside, as arch cards ── */
.mpdp-box { display: flex; flex-direction: column; gap: var(--space-5); }
.mpdp-box__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-4); }
.mpdp-box__title { font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); font-weight: 800; }
.mpdp-box__saving { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); font-size: var(--text-sm); color: var(--ink-500); }
.mpdp-box__separate s { color: var(--ink-400); }
.mpdp-box__save {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.4375rem 1rem;
  border-radius: var(--r-full);
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 700;
}
.mpdp-box__notice { align-self: flex-start; }
.mpdp-box__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) { .mpdp-box__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .mpdp-box__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); } }
.box-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
  padding: var(--space-2);
  border-radius: 1.5rem;
  background: var(--card-bg);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 10%, transparent);
}
.box-card.is-out { opacity: 0.7; }
.box-card__media {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-start-start-radius: 50%;
  border-start-end-radius: 50%;
  border-end-start-radius: 1.125rem;
  border-end-end-radius: 1.125rem;
  background: color-mix(in srgb, var(--primary) 8%, var(--card-bg));
}
.box-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease-out); }
.box-card:hover .box-card__media img { transform: scale(1.04); }
.box-card__qty {                        /* "× 2" as the same round seal as the card's discount */
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 800;
  outline: 1.5px dashed color-mix(in srgb, var(--on-primary) 55%, transparent);
  outline-offset: -5px;
}
.box-card__body { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; padding: 0 var(--space-2) var(--space-2); }
.box-card__title { font-size: var(--text-sm); font-weight: 600; line-height: 1.5; color: var(--ink); min-height: calc(2 * 1.5em); overflow-wrap: anywhere; }
.box-card__title:hover { color: var(--primary); }
.box-card__variant { font-size: var(--text-xs); color: var(--ink-500); }
.box-card__price { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 800; color: var(--primary); }
.box-card__out { font-size: var(--text-xs); font-weight: 600; color: var(--danger); }

/* ── details: description / specs / reviews / shipping in a soft card with pill tabs ── */
[data-template^="product"] .card.card--pad:has(> .tabs),
[data-template^="product"] .pdp-blocks { border-radius: 1.75rem; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 10%, transparent); }
[data-template^="product"] .tabs { border: 0; }
[data-template^="product"] .tabs__list { flex-wrap: wrap; gap: var(--space-2); padding: 0; border: 0; background: transparent; }
[data-template^="product"] .tabs__tab {
  padding: 0.5rem 1.125rem;
  border-radius: var(--r-full);
  background: color-mix(in srgb, var(--primary) 7%, var(--card-bg));
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--ink-600);
}
[data-template^="product"] .tabs__tab[aria-selected="true"] { background: var(--primary); color: var(--on-primary); }
[data-template^="product"] .tabs__tab::after { display: none; }
.mpdp .pdp-acc { border-radius: 1.5rem; }

/* the phone's sticky buy bar: a white card with rounded top corners and a pink pill */
.sticky-cta { border-start-start-radius: 1.25rem; border-start-end-radius: 1.25rem; background: var(--card-bg); box-shadow: 0 -10px 28px -16px color-mix(in srgb, var(--shadow-color) 40%, transparent); }
.sticky-cta__price b { font-family: var(--font-display); color: var(--primary); }
.sticky-cta__btn { border-radius: var(--r-full); }
/* a phone card (two across): the option hint steps aside — the outlined "choose" button already says there are options — so the photo keeps ~55% of the card */
@container (max-width: 11.5rem) {
  .product-card__hint { display: none; }
  .product-card .bundle-peek { display: none; }   /* the box pill on the photo already says what it is */
  .product-card__body { gap: 0.25rem; }
}

/* ══ 8. Hero — a compact three-tile block ═══════════════════════════════════
   One wide tile (the slider: words beside a sharp photo, small photo dots) and two stacked side tiles from the store's
   data (offers, newest product). About 25rem tall on desktop; on phones the main tile, then the two side by side.
   The offers tile is the one loud element. */
.hero { position: relative; padding-block: var(--space-5) var(--space-6); background: transparent; }
.hero__bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
@media (min-width: 1024px) { .hero__bento { grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); } }
.hero__main {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 2rem;
  background: color-mix(in srgb, var(--primary) 10%, var(--bg));
}
.hero__wrap, .hero__wrap > .hero__viewport { min-height: 0; height: 100%; }
.hero__slide, .hero__slide--sand, .hero__slide--ink {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  height: 100%;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}
.hero__slide[hidden] { display: none; }
@media (min-width: 768px) {
  .hero__slide, .hero__slide--sand, .hero__slide--ink { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 25rem; }
}
.hero__copy {
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-3);
  max-width: none;
  padding: var(--space-6) var(--space-6) 5.5rem;
  text-align: start;
}
@media (min-width: 768px) { .hero__copy { padding: var(--space-8) var(--space-8) 6rem; } }
.hero__eyebrow { padding: 0.25rem 0.75rem; border-radius: var(--r-full); background: var(--card-bg); color: var(--primary); font-size: var(--text-xs); font-weight: 700; }
.hero__title { font-family: var(--font-display); font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem); font-weight: 800; line-height: 1.2; color: var(--ink); text-wrap: balance; overflow-wrap: anywhere; }
.hero__body { font-size: var(--text-base); color: var(--ink-600); opacity: 1; }
.hero__actions { flex-wrap: wrap; gap: var(--space-2); margin: 0; padding-block-start: var(--space-2); }
.hero__cta {
  min-height: 3rem;
  padding-inline: var(--space-5);
  border: 0;
  border-radius: var(--r-full);
  font-weight: 700;
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: none;
}
.hero__cta:hover { background: var(--brand-700); color: var(--on-primary); }
.hero__cta--ghost, .hero__cta--ghost:hover { background: var(--card-bg); color: var(--primary); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--primary) 40%, transparent); }
.hero__badge { border-radius: var(--r-full); background: var(--primary); color: var(--on-primary); }
/* the photo: an inset rounded picture filling its half of the tile */
.hero__media, .hero__media--product {
  position: relative;
  display: block;
  height: auto;
  min-height: 12rem;
  aspect-ratio: auto;
  max-height: none;
  padding: var(--space-3);
  overflow: hidden;
  background: transparent;
}
@media (max-width: 767.98px) { .hero__media, .hero__media--product { order: -1; aspect-ratio: 16 / 10; padding-block-end: 0; } }
.hero__media .hero__img, .hero__media--product .hero__img, .hero__media .hero__backdrop {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  border-radius: 1.5rem;
  object-fit: cover;
  object-position: var(--hero-pos, center);
  -webkit-mask: none;
          mask: none;
}
.hero__media .hero__backdrop { display: none; }
.hero__pattern, .hero__media::before, .hero__media::after { display: none; }
.hero .hero__deco { display: none; }
/* shared ornament shapes (the collection banner uses the heart) */
.hero__deco { position: absolute; z-index: 2; pointer-events: none; background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 82%, var(--card-bg)), var(--primary)); }
.hero__deco--heart {
  inset-block-end: 2%;
  inset-inline-start: 4%;
  width: 2.25rem;
  height: 2.25rem;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.7 4.5c2.1 0 3.6 1.2 5.3 3 1.7-1.8 3.2-3 5.3-3 3.7 0 5.8 3.9 4.3 7.3C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.7 4.5c2.1 0 3.6 1.2 5.3 3 1.7-1.8 3.2-3 5.3-3 3.7 0 5.8 3.9 4.3 7.3C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* dots: small round photos at the foot of the words */
.hero__dots { position: absolute; z-index: 3; inset-block-end: var(--space-5); inset-inline-start: var(--space-6); justify-content: flex-start; gap: var(--space-2); padding: 0; }
@media (min-width: 768px) { .hero__dots { inset-inline-start: var(--space-8); inset-block-end: var(--space-6); } }
.hero__dot { width: 0.5rem; height: 0.5rem; border-radius: var(--r-full); background: color-mix(in srgb, var(--primary) 30%, transparent); }
.hero__dot.is-active { width: 1.5rem; background: var(--primary); }
.hero__dot--photo, .hero__dot--photo.is-active {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  overflow: hidden;
  border-radius: 50%;
  background: var(--card-bg);
  box-shadow: 0 0 0 2px var(--card-bg);
  opacity: 0.7;
}
.hero__dot--photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__dot--photo:hover { opacity: 1; }
.hero__dot--photo.is-active { opacity: 1; box-shadow: 0 0 0 2px var(--card-bg), 0 0 0 4px var(--primary); }

/* the side tiles */
.hero__side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); min-width: 0; }
@media (min-width: 1024px) { .hero__side { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; } }
.hero-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-width: 0;
  min-height: 9rem;
  padding: var(--space-5);
  overflow: hidden;
  border-radius: 2rem;
  background: var(--card-bg);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 14%, transparent);
  transition: translate var(--t-fast) var(--ease-out);
}
.hero-tile:hover { translate: 0 -3px; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .hero-tile:hover { translate: none; } }
.hero-tile__text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-1); min-width: 0; padding-block-end: 2.5rem; }
.hero-tile__title { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
.hero-tile__sub { font-size: var(--text-sm); }
.hero-tile__tag { padding: 0.125rem 0.625rem; border-radius: var(--r-full); background: color-mix(in srgb, var(--primary) 12%, var(--card-bg)); color: var(--primary); font-size: var(--text-xs); font-weight: 700; }
.hero-tile__price { font-family: var(--font-display); font-weight: 800; color: var(--primary); }
.hero-tile__img { flex: none; width: 5.5rem; height: 5.5rem; border-radius: 1.25rem; object-fit: cover; }
.hero-tile__go {
  position: absolute;
  inset-block-end: var(--space-4);
  inset-inline-start: var(--space-5);
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
}
.hero-tile--sale { background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 85%, var(--card-bg)), var(--primary) 60%, color-mix(in srgb, var(--primary) 78%, var(--accent))); color: var(--on-primary); box-shadow: none; }
.hero-tile--sale:hover { color: var(--on-primary); }
.hero-tile--sale .hero-tile__title { font-size: var(--text-2xl); }
.hero-tile--sale .hero-tile__img { border-radius: 50%; box-shadow: 0 0 0 3px color-mix(in srgb, var(--on-primary) 45%, transparent); }
.hero-tile--sale .hero-tile__go { background: var(--on-primary); color: var(--primary); }
@media (max-width: 479.98px) {
  .hero-tile { flex-direction: column-reverse; align-items: flex-start; padding: var(--space-4); border-radius: 1.5rem; }
  .hero-tile__img { width: 4rem; height: 4rem; }
  .hero-tile__go { inset-inline-start: auto; inset-inline-end: var(--space-4); inset-block-end: auto; inset-block-start: var(--space-4); }
  .hero-tile__text { padding-block-end: 0; }
}

/* ══ 9. Collection page — banner, photo bubbles, filter pills ════════════════ */
.mcol-banner {
  --mc-band: color-mix(in srgb, var(--primary) 10%, var(--bg));
  position: relative;
  background: var(--mc-band);
  padding-block: var(--space-6) var(--space-8);
}
.mcol-banner::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-start: 100%;
  height: 0.625rem;
  background: var(--mc-band);
  -webkit-mask: radial-gradient(circle at 50% 0, #000 calc(0.625rem - 0.5px), transparent 0.625rem) 0 0 / 1.25rem 100% repeat-x;
          mask: radial-gradient(circle at 50% 0, #000 calc(0.625rem - 0.5px), transparent 0.625rem) 0 0 / 1.25rem 100% repeat-x;
  pointer-events: none;
}
.mcol-banner__inner { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: var(--space-5) var(--space-8); }
@media (min-width: 768px) {
  .mcol-banner__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); }
  .mcol-banner--plain .mcol-banner__inner { grid-template-columns: minmax(0, 1fr); }
  .mcol-subs { grid-column: 1 / -1; }
}
.mcol-banner__copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); min-width: 0; }
.mcol-banner__title { font-family: var(--font-display); font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); font-weight: 800; line-height: 1.15; overflow-wrap: anywhere; }
.mcol-banner__count {
  padding: 0.375rem 0.875rem;
  border-radius: var(--r-full);
  background: var(--card-bg);
  color: var(--primary);
  font-size: var(--text-sm);
  font-weight: 700;
}
.mcol-banner__sub { max-width: 40rem; color: var(--ink-600); }
.mcol-banner__media { position: relative; aspect-ratio: 4 / 3; min-width: 0; }
.mcol-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-start-start-radius: 1.75rem;
  border-start-end-radius: 1.75rem;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H100V89C88 83 76 96 55 93S18 87 0 96Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H100V89C88 83 76 96 55 93S18 87 0 96Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
@media (max-width: 767.98px) { .mcol-banner__media { display: none; } }   /* phones: the name and the bubbles are enough */

/* sub-categories: round photo bubbles in a row that scrolls sideways when long */
.mcol-subs { display: flex; gap: var(--space-4); min-width: 0; overflow-x: auto; padding: 0.375rem; scrollbar-width: none; }
.mcol-subs::-webkit-scrollbar { display: none; }
.mcol-sub { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); flex: none; width: 5.5rem; text-align: center; color: var(--ink); }
.mcol-sub__bubble {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  overflow: hidden;
  border-radius: 50%;
  background: var(--card-bg);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 0 0 2px var(--card-bg), 0 0 0 3.5px color-mix(in srgb, var(--primary) 18%, transparent);
  transition: box-shadow var(--t-fast) var(--ease);
}
.mcol-sub__bubble img { width: 100%; height: 100%; object-fit: cover; }
.mcol-sub__name { font-size: var(--text-xs); font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.mcol-sub__n { color: var(--ink-400); font-weight: 500; }
.mcol-sub:hover .mcol-sub__bubble,
.mcol-sub.is-active .mcol-sub__bubble { box-shadow: 0 0 0 2px var(--card-bg), 0 0 0 4.5px var(--primary); }
.mcol-sub.is-active { color: var(--primary); }

/* the bar: filter pills, then the sort */
.mcol-bar { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); padding-block-end: var(--space-5); }
.mcol-bar .toolbar { margin: 0; padding: 0; border: 0; flex: none; }
.mcol-bar .toolbar__count:empty,
.mcol-bar .toolbar__filter-btn { display: none; }
.mcol-bar .select-native { border-radius: var(--r-full); }
.facets--pills { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: var(--space-2); flex: 1; min-width: 0; }
.facets--pills [data-facets-apply] { display: none; }
.no-js .facets--pills [data-facets-apply], html:not(.js) .facets--pills [data-facets-apply] { display: inline-flex; width: auto; margin: 0; }
.filter-pill__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 2.75rem;
  padding-inline: var(--space-4);
  border-radius: var(--r-full);
  background: var(--card-bg);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 22%, transparent);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.filter-pill__btn::-webkit-details-marker { display: none; }
.filter-pill__chev { color: var(--ink-400); transition: rotate var(--t-fast) var(--ease); }
.filter-pill[open] .filter-pill__chev { rotate: 180deg; }
.filter-pill[open] .filter-pill__btn,
.filter-pill.is-on .filter-pill__btn { box-shadow: inset 0 0 0 1.5px var(--primary); color: var(--primary); }
.filter-pill__n { display: grid; place-items: center; min-width: 1.25rem; height: 1.25rem; padding-inline: 0.25rem; border-radius: var(--r-full); background: var(--primary); color: var(--on-primary); font-size: var(--text-2xs); font-weight: 700; }
/* the panel hangs under the whole bar on phones, under its own pill from 768px */
.filter-pill__panel {
  position: absolute;
  z-index: 20;
  inset-inline: 0;
  inset-block-start: calc(100% - var(--space-3));
  padding: var(--space-4);
  border-radius: 1.5rem;
  background: var(--card-bg);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--primary) 14%, transparent), 0 20px 40px -18px color-mix(in srgb, var(--shadow-color) 35%, transparent);
}
@media (min-width: 768px) {
  .filter-pill { position: relative; }
  .filter-pill__panel { inset-inline: 0 auto; inset-block-start: calc(100% + var(--space-2)); width: 18rem; }
}
.filter-pill__panel .filter-block { margin: 0; padding: 0; border: 0; }
.filter-pill__panel .filter-block__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.filter-pill__panel .filter-list { max-height: 16rem; overflow-y: auto; }
.mcol .active-filters .chip, .mcol .chip { border-radius: var(--r-full); }
/* phones: the pills take their own full row, the sort sits under them */
@media (max-width: 767.98px) { .facets--pills { flex: 1 1 100%; } .mcol-bar .toolbar, .mcol-bar .toolbar__side, .mcol-bar .select-native { width: 100% !important; } }

/* ══ 10. Homepage sections — one voice ═══════════════════════════════════════ */
/* headings: the display face, a small heart before the title */
.section-head { align-items: center; margin-block-end: var(--space-6); }
.section-head__title {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 1.1rem + 1.7vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
}
.section-head__title::before {
  content: "";
  flex: none;
  width: 0.7em;
  height: 0.7em;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 80%, var(--card-bg)), var(--primary));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.7 4.5c2.1 0 3.6 1.2 5.3 3 1.7-1.8 3.2-3 5.3-3 3.7 0 5.8 3.9 4.3 7.3C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.7 4.5c2.1 0 3.6 1.2 5.3 3 1.7-1.8 3.2-3 5.3-3 3.7 0 5.8 3.9 4.3 7.3C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.section-head__link {
  padding: 0.4375rem 1rem;
  border-radius: var(--r-full);
  background: var(--card-bg);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--primary) 35%, transparent);
  color: var(--primary);
  font-size: var(--text-sm);
  font-weight: 700;
}
.section-head__link:hover { background: var(--primary); color: var(--on-primary); }

/* ── Square collection cards ── */
.cat-arches {
  padding-block: 0;
  gap: var(--space-5);
}

@media (min-width: 900px) {
  .cat-arches { gap: var(--space-6); }
}

.container:has(> .cat-arches) .section-head {
  margin-block-end: var(--space-5);
}

.cat-arch {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-2);
  min-width: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  text-align: center;
}

.cat-arch__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--surface);
}

.cat-arch__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}

.cat-arch__name {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink-900);
  overflow-wrap: anywhere;
}

.cat-arch:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

@media (hover: hover) {
  .cat-arch:hover .cat-arch__media img {
    transform: scale(1.06);
  }

  .cat-arch:hover .cat-arch__name { color: var(--brand-600); }
}

/* the offer countdown: a soft rounded card, pill time cells.
   On phones the card is centred and the pill spans the card's width with cells
   sized to their digits — four cells (days included) fit from 320px up, where the
   old fixed cell width overflowed and was clipped. Desktop keeps the split panel. */
.offer > .offer-countdown {
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--primary) 14%, transparent), 0 20px 40px -26px color-mix(in srgb, var(--primary) 55%, transparent);
}
.offer .offer-countdown__title { font-family: var(--font-display); font-weight: 800; }
.offer .countdown { border-radius: var(--r-full); background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 82%, var(--card-bg)), var(--primary)); }
/* ── phones: centred words, a full-width pill, cells that shrink to their digits ── */
@media (max-width: 899.98px) {
  .offer > .offer-countdown { align-items: center; text-align: center; }
  .offer .countdown {
    align-self: stretch;
    justify-content: center;
    gap: 0.375rem;
    margin-block-start: var(--space-4);
    padding: 0.875rem 0.75rem;
  }
  .offer .countdown__cell { min-width: 0; flex: 1 1 0; }
  .offer .countdown__cell b { font-size: var(--text-xl); }
  .offer .countdown__cell small { font-size: var(--text-2xs); }
  .offer .countdown__sep { font-size: 1.25rem; margin-block-start: 0.375rem; } /* rides level with the smaller digits */
}
@media (min-width: 900px) {
  .offer > .offer-countdown { align-items: flex-start; text-align: start; }
}
.flash-head .countdown__cell b { font-family: var(--font-display); }

/* the photo banner: a rounded card inside the page, a gradient pill */
.rich-text--media.color-scheme--soft { max-width: calc(var(--container) - 2 * var(--gutter)); margin-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); overflow: hidden; border-radius: 2rem; }
.rich-text__title { font-family: var(--font-display); font-weight: 800; }
.rich-text__btn,
.rich-text__btn:hover {
  min-height: 3.25rem;
  padding-inline: var(--space-6);
  border-radius: var(--r-full);
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 82%, var(--card-bg)), var(--primary));
  color: var(--on-primary);
  box-shadow: 0 12px 24px -14px color-mix(in srgb, var(--primary) 80%, transparent);
}

/* brands: soft pills in the moving row — the logo shows beside the name (glowify hid the logo whenever a name
   existed, so the strip was words only; the pictures belong here). A brand with no logo keeps its name pill. */
.brand-marquee .brand-card { padding: 0.5rem 1.25rem; border-radius: var(--r-full); background: color-mix(in srgb, var(--primary) 7%, var(--card-bg)); }
.brand-marquee .brand-card:has(.brand-card__name) .brand-card__logo { display: block; }
.brand-marquee .brand-card__logo { width: auto; height: 2rem; object-fit: contain; opacity: 1; }
.brand-marquee .brand-card__name { font-family: var(--font-display); font-size: var(--text-lg); color: var(--primary); }

/* trust badges: soft rounded cards with a round icon.
   The second selector keeps re-asserting the resting geometry ON HOVER at equal specificity, so glowify's old hover
   rule (which recentres the content, collapses the padding and squares the corners) still loses point by point —
   but the card now answers the pointer smoothly: a small lift, the ring warming to pink, the icon chip deepening. */
.services--section { margin-block: var(--space-6); }
/* the badge grid: one per row on phones, two from tablet, three on desktop (the Tailwind 1/2/3 rhythm) */
.services--section .services__inner { gap: var(--space-3); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .services--section .services__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .services--section .services__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.services--section .service,
.services--section .service:hover {
  justify-content: flex-start;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-4);
  border: 0;
  border-radius: 1.5rem;
  background: var(--card-bg);
}
.services--section .service {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 12%, transparent);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.services--section .service > span { min-width: 0; }
.services--section .service .icon {
  flex: none;
  width: 3rem;
  height: 3rem;
  padding: 0.75rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 10%, var(--card-bg));
  color: var(--primary);
  transition: background-color var(--t-base) var(--ease);
}
@media (hover: hover) {
  .services--section .service:hover {
    transform: translateY(-0.1875rem);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 28%, transparent), 0 14px 28px -18px color-mix(in srgb, var(--primary) 40%, transparent);
  }
  .services--section .service:hover .icon { background: color-mix(in srgb, var(--primary) 18%, var(--card-bg)); }
}
/* the cards sit still for those who ask for less motion */
@media (prefers-reduced-motion: reduce) {
  .services--section .service, .services--section .service:hover { transform: none; transition: none; }
}
.services--section .service__title { font-family: var(--font-display); font-weight: 700; }

/* the value-pack card stands alone now (the box badge on its photo says the count) — its top corners round again,
   undoing glowify's squaring that assumed the count strip sat above */
.pack { gap: 0; }
.pack .product-card,
.pack .product-card__media { border-start-start-radius: 1.125rem; border-start-end-radius: 1.125rem; }

/* ══ 11. Icons — a slightly lighter, softer line than the shared 2px ═════════ */
.icon { stroke-width: 1.75; }

/* ══ 12. Footer — a blush band that begins with the header's scallops ════════ */
.footer {
  position: relative;
  margin-block-start: var(--space-10);
  background: color-mix(in srgb, var(--primary) 10%, var(--bg));
  color: var(--ink);
}
.footer::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 100%;
  height: 0.625rem;
  background: inherit;
  -webkit-mask: radial-gradient(circle at 50% 100%, #000 calc(0.625rem - 0.5px), transparent 0.625rem) 0 0 / 1.25rem 100% repeat-x;
          mask: radial-gradient(circle at 50% 100%, #000 calc(0.625rem - 0.5px), transparent 0.625rem) 0 0 / 1.25rem 100% repeat-x;
  pointer-events: none;
}
.footer .logo__word { font-family: var(--font-display); font-weight: 800; color: var(--primary); }
.footer .footer__col-title { font-family: var(--font-display); font-size: var(--text-md); font-weight: 800; color: var(--primary); text-transform: none; }
.footer .footer__link { color: var(--ink-700); }
.footer .footer__link:hover { color: var(--primary); }
.footer .footer__text { color: var(--ink-600); }
.footer .footer__social {
  border-radius: 50%;
  background: var(--card-bg);
  color: var(--primary);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 18%, transparent);
}
.footer .footer__social:hover { background: var(--primary); color: var(--on-primary); }
.footer .footer__bottom { border-block-start: 1px solid color-mix(in srgb, var(--primary) 20%, transparent); color: var(--ink-500); }

/* ══ 13. Phone tab bar — a soft card with round top corners; the current tab's icon in a pink bubble ══ */
.tabbar {
  border-start-start-radius: 1.5rem;
  border-start-end-radius: 1.5rem;
  background: var(--card-bg);
  box-shadow: 0 -10px 28px -16px color-mix(in srgb, var(--primary) 45%, transparent), 0 -1px 0 color-mix(in srgb, var(--primary) 12%, transparent);
}
.tabbar__item { gap: 0.125rem; padding-block: 0.4375rem; color: var(--ink-500); font-weight: 600; }
.tabbar__item .icon { box-sizing: content-box; padding: 0.3125rem 0.875rem; border-radius: var(--r-full); }
.tabbar__item.is-active { color: var(--primary); }
.tabbar__item.is-active .icon { background: color-mix(in srgb, var(--primary) 12%, var(--card-bg)); }
.tabbar__item .count-dot { background: var(--primary); color: var(--on-primary); }
/* the sticky buy bar meets the tab bar without a seam */
.page:not(.page--no-tabbar) .sticky-cta { border-radius: 1.25rem; margin-inline: var(--space-2); inset-block-end: 5rem; }
.to-top { border-radius: 50%; background: var(--card-bg); color: var(--primary); box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--primary) 45%, transparent); }
.to-top:hover { background: var(--primary); color: var(--on-primary); }

/* ══ 14. Every other page — the same voice ═══════════════════════════════════ */
/* buttons and fields: pills and soft corners everywhere (cart, wishlist, 404, forms) */
.btn { border-radius: var(--r-full); }
.input, .select-native, textarea.input { border-radius: 0.875rem; }
.select-native { border-radius: var(--r-full); }
/* inner page titles: a blush band, the display face */
.page-hero { background: color-mix(in srgb, var(--primary) 10%, var(--bg)); border: 0; }
.page-hero__title { font-family: var(--font-display); font-weight: 800; }
.state__title { font-family: var(--font-display); font-weight: 800; }
.state__icon { color: var(--primary); }
.card { border-radius: 1.5rem; }
.chip { border-radius: var(--r-full); }

/* ══ 15. Product page — standard sizes and spacing (8px rhythm) ══════════════ */
.mpdp-banner { padding-block: var(--space-5) var(--space-8); }
.mpdp-banner__inner { gap: var(--space-5); }
.mpdp { gap: var(--space-6); }
@media (min-width: 900px) { .mpdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-10); } }
.mpdp .gallery { max-width: 32rem; gap: var(--space-3); }
.mpdp .gallery__main { border-radius: 1.5rem; box-shadow: 0 0 0 1px color-mix(in srgb, var(--primary) 14%, transparent); }
.mpdp .gallery__thumbs { grid-auto-columns: 4rem; gap: var(--space-2); justify-content: flex-start; }
.mpdp__panel { gap: var(--space-4); }
.mpdp .pdp__title { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.25rem); line-height: 1.3; }
.mpdp .pdp__meta { gap: var(--space-3); font-size: var(--text-xs); }
.mpdp .pdp__box { gap: var(--space-4); padding: var(--space-5); border-radius: 1.5rem; }
@media (min-width: 900px) { .mpdp .pdp__box { padding: var(--space-6); gap: var(--space-5); } }
.mpdp .pdp__price-row .price--xl { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); }
.mpdp .pdp__actions { --pdp-ctl: 3rem; gap: var(--space-3); }
.mpdp .pdp__actions .qty__value { min-width: 2.5rem; }
.mpdp .pdp__buy { gap: var(--space-2); }
.mpdp .pdp__buy .btn { font-size: var(--text-base); }
.mpdp .opt-chips { gap: var(--space-2); }
.mpdp .opt-chip--colour .opt-chip__dot { width: 2rem; height: 2rem; }
.mpdp .opt-chip__text { min-width: 2.75rem; min-height: 2.75rem; display: inline-grid; place-items: center; padding-inline: var(--space-3); }
.mpdp .pdp__perk { padding: 0.375rem 0.75rem; }
.mpdp-box { gap: var(--space-4); }

/* ══ 16. Home intro — hero, offer boxes and categories as one flow ═══════════
   One soft background picture runs behind all three parts and fades into the page. Photos carry the design; colour is
   kept to the calm primary on small accents. Words sit on the photos over a dark scrim (always light text).
   Phone first: hero tile, the two boxes as wide banners, categories in a row that scrolls sideways. */
.intro { position: relative; padding-block: var(--space-4) var(--space-8); isolation: isolate; }
.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--intro-bg, none) center top / cover no-repeat;
  -webkit-mask: linear-gradient(#000 70%, transparent);
          mask: linear-gradient(#000 70%, transparent);
}
:root[data-mode="dark"] .intro::before, :root[data-theme="dark"] .intro::before { opacity: 0.06; }
.intro__inner { display: flex; flex-direction: column; gap: var(--space-6); }
.intro__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
@media (min-width: 1024px) {
  .intro { padding-block: var(--space-6) var(--space-10); }
  .intro__inner { gap: var(--space-8); }
  .intro__top { grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: var(--space-4); }
  .intro__top--solo { grid-template-columns: minmax(0, 1fr); }
}

/* ── hero: the photo is the tile ── */
.intro-hero { position: relative; min-width: 0; overflow: hidden; border-radius: 1.75rem; background: var(--scheme-soft-bg); }
.intro-hero__viewport { height: 100%; }
.intro-slide { position: relative; display: flex; align-items: flex-end; min-height: 26rem; height: 100%; color: var(--on-media); }
.intro-slide[hidden] { display: none; }
@media (min-width: 768px) { .intro-slide { min-height: 28rem; } }
.intro-slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.intro-slide::after {                      /* scrim: stronger where the words are */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--shadow-color) 78%, transparent) 0%, color-mix(in srgb, var(--shadow-color) 38%, transparent) 45%, transparent 75%);
}
.intro-slide__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  width: 100%;
  max-width: 34rem;
  padding: var(--space-5) var(--space-5) 3.5rem;
}
@media (min-width: 768px) { .intro-slide__copy { padding: var(--space-8) var(--space-8) 4rem; } }
.intro-slide__title { font-family: var(--font-display); font-size: clamp(1.625rem, 1.1rem + 2.4vw, 2.75rem); font-weight: 800; line-height: 1.25; color: var(--on-media); text-wrap: balance; overflow-wrap: anywhere; }
.intro-slide__text { font-size: var(--text-base); line-height: 1.7; color: color-mix(in srgb, var(--on-media) 90%, transparent); }
.intro-slide__cta, .intro-slide__cta:hover {
  gap: var(--space-2);
  min-height: 3rem;
  padding-inline: var(--space-5);
  border-radius: var(--r-full);
  background: var(--on-media);
  color: var(--shadow-color);
  font-weight: 700;
  box-shadow: none;
}
.intro-slide__cta:hover { background: color-mix(in srgb, var(--on-media) 88%, transparent); }
.intro-hero__dots { position: absolute; z-index: 2; inset-block-end: var(--space-5); inset-inline-start: var(--space-5); display: flex; gap: 0.375rem; }
@media (min-width: 768px) { .intro-hero__dots { inset-inline-start: var(--space-8); inset-block-end: var(--space-6); } }
.intro-hero__dot { width: 1.5rem; height: 0.25rem; padding: 0; border-radius: var(--r-full); background: color-mix(in srgb, var(--on-media) 45%, transparent); transition: width var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.intro-hero__dot.is-active { width: 2.5rem; background: var(--on-media); }

/* ── the two boxes: a photo, a scrim, big words, a round arrow ── */
.intro__boxes { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); min-width: 0; }
@media (min-width: 640px) and (max-width: 1023.98px) { .intro__boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .intro__boxes { grid-auto-rows: 1fr; gap: var(--space-4); } }
.intro-box {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-width: 0;
  min-height: 11.5rem;
  overflow: hidden;
  border-radius: 1.75rem;
  background: var(--scheme-brand-bg);
  color: var(--on-media);
  isolation: isolate;
}
.intro-box:hover { color: var(--on-media); }
.intro-box__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: scale var(--t-slow) var(--ease-out); }
.intro-box:hover .intro-box__img { scale: 1.05; }
@media (prefers-reduced-motion: reduce) { .intro-box:hover .intro-box__img { scale: 1; } }
.intro-box::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, color-mix(in srgb, var(--shadow-color) 82%, transparent) 0%, color-mix(in srgb, var(--shadow-color) 45%, transparent) 55%, color-mix(in srgb, var(--shadow-color) 12%, transparent) 100%);
}
.intro-box--offers::after { background: linear-gradient(to top, color-mix(in srgb, var(--primary) 45%, var(--shadow-color)) 0%, color-mix(in srgb, color-mix(in srgb, var(--primary) 55%, var(--shadow-color)) 78%, transparent) 55%, color-mix(in srgb, var(--shadow-color) 22%, transparent) 100%); }
.intro-box__body { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-1); min-width: 0; padding: var(--space-5); padding-inline-end: 4rem; }
.intro-box__flag {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-full);
  background: var(--on-media);
  color: var(--shadow-color);
  font-size: var(--text-xs);
  font-weight: 700;
}
.intro-box--offers .intro-box__flag { color: var(--primary); }
.intro-box__title { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.intro-box__sub { font-size: var(--text-sm); color: color-mix(in srgb, var(--on-media) 88%, transparent); }
.intro-box__go {
  position: absolute;
  inset-block-end: var(--space-5);
  inset-inline-end: var(--space-5);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--on-media);
  color: var(--shadow-color);
  transition: translate var(--t-fast) var(--ease-out);
}
[dir="rtl"] .intro-box:hover .intro-box__go { translate: -4px 0; }
[dir="ltr"] .intro-box:hover .intro-box__go { translate: 4px 0; }
/* the countdown inside the offers box: small glass cells */
.intro-box__timer { display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; padding-block-start: var(--space-2); }
.intro-box__timer-label { font-size: var(--text-2xs); color: color-mix(in srgb, var(--on-media) 80%, transparent); }
.intro-box .countdown { display: flex; align-items: center; gap: 0.25rem; padding: 0; background: transparent; }
.intro-box .countdown__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 2.5rem;
  min-height: 2.75rem;
  padding: 0.125rem 0.25rem;
  border-radius: 0.625rem;
  background: color-mix(in srgb, var(--on-media) 18%, transparent);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  color: var(--on-media);
}
.intro-box .countdown__cell b { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 800; line-height: 1.1; color: var(--on-media); }
.intro-box .countdown__cell small { font-size: 0.625rem; font-weight: 500; color: color-mix(in srgb, var(--on-media) 85%, transparent); }
.intro-box .countdown__sep { display: inline; font-size: 1rem; color: color-mix(in srgb, var(--on-media) 70%, transparent); }

/* ── categories: photo tiles; a sideways row on phones, a grid on desktop ── */
.intro__cats { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
.intro__cats-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.intro__cats-title { font-family: var(--font-display); font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem); font-weight: 800; line-height: 1.3; }
.intro__cats-all { display: inline-flex; align-items: center; gap: 0.25rem; flex: none; font-size: var(--text-sm); font-weight: 700; color: var(--primary); }
.intro__cats-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 42%;
  gap: var(--space-3);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-block-end: 2px;
}
.intro__cats-row::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .intro__cats-row { grid-auto-columns: calc((100% - 2 * var(--space-3)) / 3); } }
@media (min-width: 1024px) { .intro__cats-row { grid-auto-columns: calc((100% - 4 * var(--space-3)) / 5); } }
/* the slider's arrows sit on the first and last visible tile (the rail buttons, restyled for photo tiles) */
.intro__cats-slider { position: relative; }
.intro__cats-slider .rail-btn { top: 50%; translate: 0 -50%; }
.intro__cats-slider .rail-btn--prev { inset-inline-start: 0.5rem; }
.intro__cats-slider .rail-btn--next { inset-inline-end: 0.5rem; }
.intro-cat { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; aspect-ratio: 4 / 5; padding: var(--space-3); overflow: hidden; border-radius: 1.25rem; color: var(--on-media); scroll-snap-align: start; isolation: isolate; }
.intro-cat:hover { color: var(--on-media); }
.intro-cat__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: scale var(--t-slow) var(--ease-out); }
.intro-cat:hover .intro-cat__img { scale: 1.06; }
@media (prefers-reduced-motion: reduce) { .intro-cat:hover .intro-cat__img { scale: 1; } }
.intro-cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, color-mix(in srgb, var(--shadow-color) 80%, transparent) 0%, transparent 60%); }
.intro-cat__name { font-family: var(--font-display); font-size: var(--text-base); font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.intro-cat__n { font-size: var(--text-2xs); color: color-mix(in srgb, var(--on-media) 85%, transparent); }

/* ══ 17. Home lower sections — categories bento, brands band, trust strip ════
   Flat colour, no shadows. Categories: a snapping slider of photo tiles, each with a frosted name chip, arrows on desktop. Brands: a borderless moving row of soft chips, a round logo beside the name. Trust: one connected strip split
   by hairlines with bare icons (compact rows on phones). */
.intro-cat::after { background: linear-gradient(to top, color-mix(in srgb, var(--shadow-color) 28%, transparent) 0%, transparent 45%); }
.intro-cat { padding: var(--space-2); border-radius: 1.25rem; }
.intro-cat__chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-width: 0;
  padding: 0.375rem 0.375rem 0.375rem 0.75rem;
  padding-inline: 0.75rem 0.375rem;
  border-radius: var(--r-full);
  background: color-mix(in srgb, var(--card-bg) 82%, transparent);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  color: var(--ink);
}
.intro-cat__text { display: flex; flex-direction: column; min-width: 0; }
.intro-cat__name { font-size: var(--text-sm); font-weight: 700; line-height: 1.3; color: var(--ink); }
.intro-cat__n { font-size: var(--text-2xs); color: var(--ink-500); }
.intro-cat__go { display: grid; place-items: center; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--primary); color: var(--on-primary); }

/* brands: a borderless moving row of soft chips — the logo in a round medallion beside the name; the logo grows on hover */
.section:has(.brand-marquee) > .container { border-block-start: 0; }      /* glowify drew a hairline above the strip */
.brand-marquee { --marquee-gap: clamp(1rem, 2.5vw, 1.75rem); padding-block: 0.875rem; border: 0; background: transparent; }
.brand-marquee .brand-card {
  gap: var(--space-3);
  padding: 0.5rem 1.5rem 0.5rem 0.5rem;
  padding-inline: 0.5rem 1.5rem;
  border-radius: var(--r-full);
  background: color-mix(in oklab, var(--primary) 7%, var(--card-bg));
  transition: background-color var(--t-base) var(--ease);
}
.brand-marquee .brand-card:hover { background: color-mix(in oklab, var(--primary) 13%, var(--card-bg)); }
.brand-marquee .brand-card__logo {
  flex: none;
  width: 3rem;
  height: 3rem;
  padding: 0.4375rem;
  border-radius: 50%;
  background: var(--card-bg);
  object-fit: contain;
  transition: scale var(--t-base) var(--ease-out);
}
.brand-marquee .brand-card:hover .brand-card__logo,
.brand-marquee .brand-card:focus-visible .brand-card__logo { scale: 1.22; }
.brand-marquee .brand-card__name { font-size: var(--text-md); font-weight: 700; color: var(--ink); transition: color var(--t-fast) var(--ease); }
.brand-marquee .brand-card:hover .brand-card__name { color: var(--primary); }
/* a name with no logo is a plain pill: the same padding on both sides */
.brand-marquee .brand-card:not(:has(.brand-card__logo)) { padding-inline: 1.5rem; }
@media (max-width: 639.98px) {
  .brand-marquee .brand-card__logo { width: 2.5rem; height: 2.5rem; padding: 0.375rem; }
  .brand-marquee .brand-card { gap: var(--space-2); padding-inline: 0.4375rem 1.125rem; }
  .brand-marquee .brand-card__name { font-size: var(--text-sm); }
}
@media (prefers-reduced-motion: reduce) { .brand-marquee .brand-card:hover .brand-card__logo, .brand-marquee .brand-card:focus-visible .brand-card__logo { scale: 1; } }

/* trust: one connected strip */
.services--section { margin-block: var(--space-6); }
.services--section .services__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 0;
  border-radius: 1.5rem;
  background: color-mix(in srgb, var(--primary) 6%, var(--card-bg));
  overflow: hidden;
}
@media (min-width: 768px) { .services--section .services__inner { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; } }
.services--section .service,
.services--section .service:hover {
  justify-content: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}
.services--section .service + .service { border-block-start: 1px solid color-mix(in srgb, var(--primary) 14%, transparent); }
@media (min-width: 768px) { .services--section .service + .service { border-block-start: 0; border-inline-start: 1px solid color-mix(in srgb, var(--primary) 14%, transparent); } }
.services--section .service .icon,
.services--section .service:hover .icon { width: 1.75rem; height: 1.75rem; padding: 0; border-radius: 0; background: transparent; color: var(--primary); }
.services--section .service__note { color: var(--ink-500); }
/* phone category tiles: a lighter chip (no arrow, smaller words) */
@media (max-width: 639.98px) {
  .intro-cat__go { display: none; }
  .intro-cat__chip { padding: 0.25rem 0.625rem; border-radius: 0.875rem; }
  .intro-cat__name { font-size: var(--text-xs); }
}
/* the trust strip keeps the page's side gutters (it had lost the container's padding) */
.services--section .services__inner { width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--container) - 2 * var(--gutter)); margin-inline: auto; }


/* ══ 18. Flash-sale rail on a night backdrop (product-rail with wavy_bg) ═════════════════════════════════════════════
   A deep wine ground made from the store's main colour, two soft glows, layered wave silhouettes, a dashed ribbon
   looping out of a heart, and wavy edges that melt into the page (UI/wavy-backdrop). The cards stay light so they lift
   off the dark; the title, link and countdown switch to blush and cream. */
.flash-decor.color-scheme {
  --flash-night: #1b0e15;
  --flash-ink: color-mix(in oklab, var(--primary) 7%, #ffffff);
  --flash-line: color-mix(in oklab, var(--primary) 38%, #ffffff);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block:
    calc(clamp(3.75rem, 2.25rem + 5.5vw, 7rem) * var(--pt, 1))
    calc(clamp(3.75rem, 2.25rem + 5.5vw, 7rem) * var(--pb, 1));
  background:
    radial-gradient(60% 70% at 14% 0%, color-mix(in oklab, var(--primary) 40%, transparent), transparent 72%),
    radial-gradient(50% 60% at 96% 100%, color-mix(in oklab, var(--primary) 32%, transparent), transparent 72%),
    linear-gradient(172deg, color-mix(in oklab, var(--primary) 34%, var(--flash-night)), color-mix(in oklab, var(--primary) 26%, var(--flash-night)) 55%, color-mix(in oklab, var(--primary) 18%, var(--flash-night)));
  color: var(--flash-ink);
}
.flash-decor > .container { position: relative; z-index: 2; }
.flash-art, .flash-edge { position: absolute; pointer-events: none; }
.flash-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.flash-art { inset-inline: 0; z-index: 0; width: 100%; }
.flash-art--wide { inset-block: 0; height: 100%; display: none; }
.flash-art--top { inset-block-start: 0; height: 12.5rem; }
.flash-art--foot { inset-block-end: 0; height: 12.5rem; }
.flash-art .w1 { fill: color-mix(in oklab, var(--primary) 30%, transparent); }
.flash-art .w2 { fill: color-mix(in oklab, var(--primary) 26%, transparent); }
.flash-art .w3 { fill: color-mix(in oklab, var(--flash-night) 38%, transparent); }
/* the phone pictures are drawn for right-to-left; a left-to-right page gets them mirrored */
html[dir="ltr"] .flash-art--top, html[dir="ltr"] .flash-art--foot { scale: -1 1; }
@media (min-width: 640px) {
  .flash-art--wide { display: block; }
  .flash-art--top, .flash-art--foot { display: none; }
}
.flash-edge { inset-inline: 0; z-index: 1; width: 100%; height: clamp(2rem, 1rem + 4vw, 4.5rem); fill: var(--bg); }
.flash-edge--top { inset-block-start: -1px; }
.flash-edge--bottom { inset-block-end: -1px; rotate: 180deg; }
.flash-art__line { color: var(--flash-line); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0.5; }
.flash-art__line .ribbon { stroke-width: 2; stroke-dasharray: 2 9; opacity: 0.9; }
.flash-art__fill { fill: color-mix(in oklab, var(--primary) 55%, #ffffff); opacity: 0.8; }
.flash-art__gold { fill: color-mix(in oklab, var(--warning) 55%, #ffffff); opacity: 0.75; }
.flash-art__dots { fill: var(--flash-line); opacity: 0.3; }

/* the head, in light on the dark */
.flash-decor .section-head__title { color: var(--flash-ink); }
.flash-decor .section-head__title::before { background: linear-gradient(135deg, color-mix(in oklab, var(--primary) 45%, #ffffff), color-mix(in oklab, var(--primary) 75%, #ffffff)); }
.flash-decor .section-head__eyebrow { color: var(--flash-line); }
.flash-decor .section-head__link { background: color-mix(in oklab, #ffffff 10%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--flash-line) 55%, transparent); color: var(--flash-ink); }
.flash-decor .section-head__link:hover { background: var(--flash-ink); color: var(--flash-night); }
.flash-decor .flash-head .countdown { padding: 0.375rem 1rem; border-radius: var(--r-full); background: color-mix(in oklab, #ffffff 9%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--flash-line) 40%, transparent); }
.flash-decor .flash-head .countdown__cell b { color: var(--flash-ink); }
.flash-decor .flash-head .countdown__cell small { color: color-mix(in oklab, var(--flash-line) 85%, transparent); opacity: 1; }
.flash-decor .flash-head .countdown__sep { color: var(--flash-line); }

/* phones: the head stacks (title and link, then the countdown), so keep it tight and let nothing overflow */
@media (max-width: 639.98px) {
  .flash-decor .section-head { margin-block-end: var(--space-4); }
  .flash-decor .section-head__title { font-size: var(--text-xl); }
  .flash-decor .section-head__link { padding: 0.3125rem 0.75rem; font-size: var(--text-xs); }
  .flash-decor .flash-head .countdown { max-width: 100%; padding: 0.3125rem 0.75rem; }
  .flash-decor .flash-head .countdown__cell b { font-size: var(--text-lg); }
}