/* ==========================================================================
   ملاية و كوباية — Design System v1.0
   One stylesheet for every page. RTL-first, mobile-first, logical properties.
   Sections:
     0. Tokens            6. Header / nav / mega / drawer / bottom nav
     1. Reset & base      7. Commerce (product card, price, rating, category tile)
     2. Layout (.l-)      8. Content (section head, scroller, tabs, accordion, pagination, chips)
     3. Utilities (.u-)   9. Feedback (toast, modal, alert, empty, skeleton, loader)
     4. Primitives        10. Marketing (trust strip, newsletter, banner)
     5. Forms             11. Footer & floating WhatsApp
   Naming: .c-block__element--modifier (components), .l- (layout), .u- (utilities),
           .is-/.has- (state set by JS or markup), .t-<family> (category colour family)
   ========================================================================== */

/* ==========================================================================
   0. TOKENS
   ========================================================================== */
:root {
  /* ---- Brand primitives (measured from logo) ---- */
  --yellow-50: #fef9eb;
  --yellow-100: #fef3da;
  --yellow-200: #fde8b5;
  --yellow-300: #fcd883;
  --yellow-500: #f8b107; /* logo — glass */
  --yellow-600: #e0a006;
  --yellow-700: #886104; /* text-safe on white (5.6:1) */
  --yellow-800: #705003;
  --yellow-900: #4a3502;

  --blue-50: #ebf8fd;
  --blue-100: #daf2fb;
  --blue-200: #b4e6f7;
  --blue-300: #82d4f2;
  --blue-500: #05aae4; /* logo — bedding */
  --blue-600: #0490c2;
  --blue-700: #0477a0; /* text-safe on white (5.1:1) */
  --blue-800: #035e7d;
  --blue-900: #023344;

  --green-50: #f4f9ef;
  --green-100: #eaf3e1;
  --green-200: #d4e7c2;
  --green-300: #b8d89a;
  --green-500: #70b035; /* logo — kettle */
  --green-600: #5f962d;
  --green-700: #4e7b25; /* text-safe on white (5.0:1) */
  --green-800: #3e611d;
  --green-900: #223510;

  --red-50: #fbefef;
  --red-100: #f7e1e0;
  --red-200: #efc2c1;
  --red-300: #e49a98;
  --red-500: #ca3531; /* logo — cutlery; white text OK (5.2:1) */
  --red-600: #ac2d2a;
  --red-700: #8d2522;
  --red-800: #6f1d1b;
  --red-900: #3d100f;

  /* Warm neutrals, ending in the wordmark ink */
  --n-0: #ffffff;
  --n-25: #fbfaf7;
  --n-50: #f5f3ee;
  --n-100: #ece9e2;
  --n-200: #dedad1;
  --n-300: #c7c2b8;
  --n-400: #a19c93;
  --n-500: #77736d;
  --n-600: #5f5c57;
  --n-700: #45423e;
  --n-800: #2c2a28;
  --n-900: #1a1919; /* logo wordmark */

  /* ---- Semantic roles (components use ONLY these where possible) ---- */
  --color-bg: var(--n-25);
  --color-surface: var(--n-0);
  --color-surface-sunken: var(--n-50);
  --color-surface-inverse: var(--n-900);
  --color-text: var(--n-900);
  --color-text-muted: var(--n-600);
  --color-text-subtle: var(--n-500);
  --color-text-inverse: var(--n-0);
  --color-text-inverse-muted: var(--n-300);
  --color-border: var(--n-200);
  --color-border-subtle: var(--n-100);
  --color-border-strong: var(--n-300);

  --color-primary: var(--yellow-500);
  --color-primary-hover: var(--yellow-600);
  --color-on-primary: var(--n-900);
  --color-accent: var(--n-900);
  --color-accent-hover: var(--n-700);
  --color-on-accent: var(--n-0);

  --color-link: var(--blue-700);
  --color-link-hover: var(--blue-800);
  --color-sale: var(--red-500);
  --color-sale-text: var(--red-600);
  --color-success: var(--green-700);
  --color-success-bg: var(--green-50);
  --color-success-border: var(--green-300);
  --color-danger: var(--red-600);
  --color-danger-bg: var(--red-50);
  --color-danger-border: var(--red-300);
  --color-warning: var(--yellow-800);
  --color-warning-bg: var(--yellow-50);
  --color-warning-border: var(--yellow-300);
  --color-info: var(--blue-700);
  --color-info-bg: var(--blue-50);
  --color-info-border: var(--blue-200);
  --color-rating: var(--yellow-500);

  --color-focus: var(--blue-700);
  --color-focus-inverse: var(--yellow-500);
  --color-overlay: rgb(26 25 25 / 0.55);
  --color-whatsapp: #157f41; /* WhatsApp green darkened: white label text 5.0:1 */
  --color-whatsapp-hover: #11703a;
  --color-surface-glass: rgb(255 255 255 / 0.96); /* bottom nav behind its backdrop blur */
  --color-surface-veil: rgb(255 255 255 / 0.92);  /* round backing behind icons on photos */
  --color-ink-wash: rgb(26 25 25 / 0.08);         /* hover wash on tinted chips */

  /* ---- Typography ---- */
  --font-display: "Readex Pro", "IBM Plex Sans Arabic", system-ui, "Segoe UI", Tahoma, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Readex Pro", system-ui, "Segoe UI", Tahoma, sans-serif;

  /* Type scale. Readex Pro sets ~14% wider and ~15% darker than IBM Plex Sans Arabic
     at the same px, so this ladder sits one step below a Latin-equivalent scale.
     Measured in reviews/TYPOGRAPHY_SPEC.md (2026-09-16). */
  --fs-2xs:  0.75rem;                                        /* 12       — badges, counters, payment chips ONLY */
  --fs-xs:   0.8125rem;                                      /* 13       — meta, helper, eyebrows */
  --fs-sm:   0.875rem;                                       /* 14       — secondary text, UI labels, links */
  --fs-base: 1rem;                                           /* 16       — body, inputs, product-card names, buttons */
  --fs-md:   1.125rem;                                       /* 18       — price, lead paragraph */
  --fs-lg:   clamp(1.125rem, 1.08rem + 0.19vw, 1.25rem);     /* 18 → 20  — h4, card/block titles */
  --fs-xl:   clamp(1.25rem,  1.19rem + 0.25vw, 1.375rem);    /* 20 → 22  — h3 */
  --fs-2xl:  clamp(1.375rem, 1.26rem + 0.45vw, 1.625rem);    /* 22 → 26  — h2 / section title */
  --fs-3xl:  clamp(1.5rem,   1.31rem + 0.80vw, 1.875rem);    /* 24 → 30  — page h1 */
  --fs-4xl:  clamp(1.75rem,  1.45rem + 1.30vw, 2.375rem);    /* 28 → 38  — home hero h1 */

  /* Weights. 700 is retired: Readex Pro @600 already carries more ink than
     IBM Plex Sans Arabic @700 (measured 10.81% vs 10.46% at 14px). */
  --fw-regular:  400;   /* body, all long-form Arabic prose */
  --fw-medium:   500;   /* ALL UI chrome: buttons, labels, nav, badges, prices, table headers, chips, h4-h6 */
  --fw-semibold: 600;   /* headings only, and only at --fs-xl and above */
  --fw-bold:     700;   /* RESERVED - must not be referenced by any rule */

  /* Semantic aliases - prefer these in components so intent is reviewable */
  --fw-body:    var(--fw-regular);
  --fw-ui:      var(--fw-medium);
  --fw-heading: var(--fw-semibold);

  /* Line heights. Arabic stacks marks above and below the baseline band,
     so every value is one notch looser than its Latin equivalent. */
  --lh-display: 1.25;  /* --fs-4xl only */
  --lh-tight:   1.35;  /* headings --fs-lg … --fs-3xl */
  --lh-snug:    1.6;   /* 2–3 line UI text, card names, helper text */
  --lh-body:    1.75;  /* paragraphs, Arabic prose */
  --lh-loose:   1.8;   /* long legal / about prose */

  /* ---- Spacing (4px base) ---- */
  --sp-0: 0;
  --sp-1: 0.25rem;  /* 4 */
  --sp-2: 0.5rem;   /* 8 */
  --sp-3: 0.75rem;  /* 12 */
  --sp-4: 1rem;     /* 16 */
  --sp-5: 1.25rem;  /* 20 */
  --sp-6: 1.5rem;   /* 24 */
  --sp-8: 2rem;     /* 32 */
  --sp-10: 2.5rem;  /* 40 */
  --sp-12: 3rem;    /* 48 */
  --sp-16: 4rem;    /* 64 */
  --sp-20: 5rem;    /* 80 */
  --gutter: clamp(1rem, 4vw, 2rem);            /* side padding, never < 16px */
  --space-section: clamp(3rem, 2rem + 3vw, 4.5rem); /* 48 → 72: the ONE gap between page sections */
  --container: 82.5rem;                        /* 1320 */
  --container-narrow: 48rem;

  /* ---- Radii — the brand is four soft squares ---- */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-tile: 22%;   /* logo-square proportion; use on square elements only */
  --r-pill: 999px;

  /* ---- Shadows (warm ink, low opacity) ---- */
  --shadow-xs: 0 1px 2px rgb(26 25 25 / 0.06);
  --shadow-sm: 0 2px 6px -1px rgb(26 25 25 / 0.08);
  --shadow-md: 0 8px 20px -6px rgb(26 25 25 / 0.14);
  --shadow-lg: 0 18px 40px -12px rgb(26 25 25 / 0.22);
  --shadow-xl: 0 32px 64px -16px rgb(26 25 25 / 0.3);
  --shadow-up: 0 -6px 20px -12px rgb(26 25 25 / 0.2);           /* bars fixed to the bottom edge */
  --shadow-primary: 0 6px 16px -8px rgb(224 160 6 / 0.9);        /* primary button hover glow */
  --shadow-whatsapp: 0 10px 24px -8px rgb(21 127 65 / 0.6);
  --shadow-whatsapp-hover: 0 14px 28px -8px rgb(21 127 65 / 0.7);

  /* ---- Z-index scale ---- */
  --z-behind: -1;        /* decoration behind its positioned parent's content */
  --z-card-link: 1;      /* stretched link covering a card */
  --z-card-control: 2;   /* controls / badges that must sit above the stretched link or a photo */
  --z-base: 1;
  --z-raised: 10;
  --z-sticky: 100;
  --z-header: 200;
  --z-dropdown: 300;
  --z-fab: 350;
  --z-bottom-nav: 400;
  --z-sticky-bar: 410;   /* page bar that temporarily covers the bottom nav (product buy bar) */
  --z-overlay: 500;
  --z-drawer: 600;
  --z-modal: 700;
  --z-toast: 800;

  /* ---- Motion ---- */
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 320ms;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);

  /* ---- Component metrics ---- */
  --tap: 44px;
  --control-h: 48px;
  --header-h: 64px;
  --sticky-offset: 8rem; /* live height of the sticky .c-header, kept current by main.js (0px on pages without it) */
  --bottom-nav-h: 64px;

  /* Default family (used by .t-* and category tiles) */
  --fam-50: var(--n-50);
  --fam-100: var(--n-100);
  --fam-500: var(--n-900);
  --fam-700: var(--n-900);
  --fam-on-500: var(--n-0);

  color-scheme: light;
}

/* Category colour families — mapping the 16 categories to the four logo squares.
   Apply .t-yellow / .t-blue / .t-green / .t-red on any wrapper. */
.t-yellow { --fam-50: var(--yellow-50); --fam-100: var(--yellow-100); --fam-200: var(--yellow-200); --fam-500: var(--yellow-500); --fam-700: var(--yellow-700); --fam-on-500: var(--n-900); }
.t-blue   { --fam-50: var(--blue-50);   --fam-100: var(--blue-100);   --fam-200: var(--blue-200);   --fam-500: var(--blue-500);   --fam-700: var(--blue-700);   --fam-on-500: var(--n-0); }
.t-green  { --fam-50: var(--green-50);  --fam-100: var(--green-100);  --fam-200: var(--green-200);  --fam-500: var(--green-500);  --fam-700: var(--green-700);  --fam-on-500: var(--n-0); }
.t-red    { --fam-50: var(--red-50);    --fam-100: var(--red-100);    --fam-200: var(--red-200);    --fam-500: var(--red-500);    --fam-700: var(--red-700);    --fam-on-500: var(--n-0); }
.t-ink    { --fam-50: var(--n-50);      --fam-100: var(--n-100);      --fam-200: var(--n-200);      --fam-500: var(--n-900);      --fam-700: var(--n-900);      --fam-on-500: var(--n-0); }

/* ==========================================================================
   1. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-block-start: calc(var(--sticky-offset) + var(--sp-4)); /* anchors / focused fields land below the sticky header */
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip; /* safety net: page never scrolls sideways */
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  font-weight: var(--fw-regular);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-tight);
  color: var(--color-text);
  text-wrap: balance;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); font-weight: var(--fw-medium); line-height: var(--lh-snug); }
h5 { font-size: var(--fs-md); font-weight: var(--fw-medium); line-height: var(--lh-snug); }
h6 { font-size: var(--fs-base); font-weight: var(--fw-medium); line-height: var(--lh-snug); }

p, ul, ol, dl, figure, blockquote { margin: 0; }
b, strong { font-weight: var(--fw-medium); } /* Arabic has no italic fallback: emphasis = 500 + colour, never a bold jump */
p { text-wrap: pretty; }
ul[role="list"], ol[role="list"], .u-list-reset { list-style: none; padding: 0; margin: 0; }

img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--color-link); text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
a:hover { color: var(--color-link-hover); }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }

hr { border: 0; border-block-start: 1px solid var(--color-border); margin: var(--sp-6) 0; }

::selection { background: var(--yellow-200); color: var(--n-900); }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

[hidden] { display: none !important; }

/* Latin digits for prices/phones/quantities: keep them LTR-isolated and tabular */
bdi, .u-num { unicode-bidi: isolate; font-variant-numeric: lining-nums tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   2. LAYOUT
   ========================================================================== */
.l-container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.l-container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }

.l-section { padding-block: var(--space-section); }
.l-section--tight { padding-block: calc(var(--space-section) * 0.6); }
.l-section--sunken { background: var(--color-surface-sunken); }
.l-section--surface { background: var(--color-surface); }
/* Two neighbouring sections on the same background are separated by one --space-section, not two. */
.l-section:not(.l-section--sunken, .l-section--surface) + .l-section:not(.l-section--sunken, .l-section--surface),
.l-section--sunken + .l-section--sunken,
.l-section--surface + .l-section--surface { padding-block-start: 0; }

.l-stack { display: flex; flex-direction: column; gap: var(--stack-gap, var(--sp-4)); }
.l-stack--sm { --stack-gap: var(--sp-2); }
.l-stack--lg { --stack-gap: var(--sp-8); }

.l-cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cluster-gap, var(--sp-3)); }
.l-cluster--between { justify-content: space-between; }

/* Auto-fit grid: set --min on the element to change the minimum column width */
.l-grid {
  display: grid;
  gap: var(--grid-gap, var(--sp-4));
  grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 16rem), 100%), 1fr));
}

/* Product grid: 2 → 3 → 4 → 5 columns */
.l-products {
  display: grid;
  gap: var(--sp-6) var(--sp-3);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 768px) { .l-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-8) var(--sp-5); } }
@media (min-width: 1024px) { .l-products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .l-products:not(.l-products--4) { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* Sidebar + content (listing, account). Sidebar sits at inline-start (right in RTL). */
/* Grid children may never be wider than their track (prevents min-content blowout from tables/scrollers) */
.l-grid > *, .l-products > *, .l-sidebar > * { min-inline-size: 0; }

.l-sidebar { display: grid; gap: var(--sp-8); }
@media (min-width: 1024px) { .l-sidebar { grid-template-columns: 17.5rem minmax(0, 1fr); align-items: start; } }

/* ==========================================================================
   3. UTILITIES
   ========================================================================== */
.u-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.u-skip-link {
  position: absolute; inset-inline-start: var(--sp-4); inset-block-start: var(--sp-2);
  z-index: var(--z-toast); padding: var(--sp-2) var(--sp-4); border-radius: var(--r-md);
  background: var(--n-900); color: var(--n-0); font-weight: var(--fw-medium);
  transform: translateY(-200%); transition: transform var(--dur-base) var(--ease-out);
}
.u-skip-link:focus-visible { transform: none; color: var(--n-0); outline-color: var(--color-focus-inverse); }

.u-ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.u-text-muted { color: var(--color-text-muted); }
.u-text-subtle { color: var(--color-text-subtle); }
.u-text-sm { font-size: var(--fs-sm); }
.u-text-xs { font-size: var(--fs-xs); }
.u-font-display { font-family: var(--font-display); }
.u-bold { font-weight: var(--fw-semibold); } /* headings only; 700 is retired */
.u-mt-0 { margin-block-start: 0 !important; }
.u-mt-4 { margin-block-start: var(--sp-4) !important; }
.u-mt-8 { margin-block-start: var(--sp-8) !important; }
.u-mb-4 { margin-block-end: var(--sp-4) !important; }
.u-full { width: 100%; }
@media (max-width: 767.98px) { .u-hide-mobile { display: none !important; } }
@media (min-width: 768px) { .u-hide-tablet-up { display: none !important; } }
@media (max-width: 1023.98px) { .u-hide-below-desktop { display: none !important; } }
@media (min-width: 1024px) { .u-hide-desktop { display: none !important; } }

/* ==========================================================================
   4. PRIMITIVES — icon, brand mark, ribbon, buttons, badges
   ========================================================================== */
.c-icon { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }
.c-icon--sm { width: 1.125rem; height: 1.125rem; }


/* Four-colour ribbon: the brand stripe. Use at most once per region (under announcement, above footer). */
.c-ribbon {
  display: block;
  block-size: 4px;
  /* physical "to left" on purpose: the stripe repeats the logo's colour order (yellow at the right edge), which does not mirror */
  background: linear-gradient(to left,
    var(--yellow-500) 0 25%, var(--blue-500) 25% 50%,
    var(--green-500) 50% 75%, var(--red-500) 75% 100%);
}
.c-ribbon--thin { block-size: 3px; }

/* Four-square "eyebrow" mark used before section titles */
.c-quad {
  display: inline-grid;
  grid-template-columns: repeat(2, 0.4375rem);
  gap: 2px;
  flex-shrink: 0;
}
.c-quad > i { display: block; inline-size: 0.4375rem; block-size: 0.4375rem; border-radius: 2px; }
.c-quad > i:nth-child(1) { background: var(--yellow-500); }
.c-quad > i:nth-child(2) { background: var(--blue-500); }
.c-quad > i:nth-child(3) { background: var(--green-500); }
.c-quad > i:nth-child(4) { background: var(--red-500); }

/* ---------- Buttons ---------- */
.c-btn {
  --btn-h: var(--control-h);
  --btn-px: var(--sp-6);
  --btn-bg: var(--color-primary);
  --btn-bg-hover: var(--color-primary-hover);
  --btn-fg: var(--color-on-primary);
  --btn-border: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-block-size: var(--btn-h);
  padding-inline: var(--btn-px);
  padding-block: 0;
  border: 1.5px solid var(--btn-border);
  border-radius: var(--r-md);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  line-height: var(--lh-snug); /* wrapped Arabic labels need the descender room */
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease,
    color var(--dur-fast) ease, transform var(--dur-fast) ease, box-shadow var(--dur-base) ease;
}
.c-btn:hover { background: var(--btn-bg-hover); color: var(--btn-fg); }
.c-btn:active:not(:disabled) { transform: translateY(1px) scale(0.99); }
.c-btn .c-icon { width: 1.25rem; height: 1.25rem; }

.c-btn--primary { /* default */ }
.c-btn--primary:hover { box-shadow: var(--shadow-primary); }
.c-btn--secondary { --btn-bg: var(--color-accent); --btn-bg-hover: var(--color-accent-hover); --btn-fg: var(--color-on-accent); }
.c-btn--outline { --btn-bg: transparent; --btn-bg-hover: var(--n-50); --btn-fg: var(--color-text); --btn-border: var(--color-border-strong); }
.c-btn--outline:hover { border-color: var(--n-900); }
.c-btn--ghost { --btn-bg: transparent; --btn-bg-hover: var(--n-100); --btn-fg: var(--color-text); --btn-px: var(--sp-4); }
.c-btn--danger { --btn-bg: var(--red-500); --btn-bg-hover: var(--red-600); --btn-fg: var(--n-0); }
.c-btn--whatsapp { --btn-bg: var(--color-whatsapp); --btn-bg-hover: var(--color-whatsapp-hover); --btn-fg: var(--n-0); }
.c-btn--link { --btn-bg: transparent; --btn-bg-hover: transparent; --btn-fg: var(--color-link); --btn-px: 0; text-decoration: underline; text-underline-offset: 0.3em;  font-weight: var(--fw-medium); }

.c-btn--sm { --btn-h: 36px; --btn-px: var(--sp-4); font-size: var(--fs-sm); border-radius: var(--r-sm); }
.c-btn--sm::after { content: ""; position: absolute; inset: -4px 0; } /* keeps 44px hit area */
.c-btn--lg { --btn-h: 56px; --btn-px: var(--sp-8); } /* stays --fs-base: 18px Readex carries ~20.5px of Latin mass */
.c-btn--block { display: flex; inline-size: 100%; }

.c-btn:disabled, .c-btn[aria-disabled="true"] {
  --btn-bg: var(--n-100); --btn-bg-hover: var(--n-100); --btn-fg: var(--n-500); --btn-border: transparent;
  box-shadow: none; cursor: not-allowed;
}
.c-btn.is-loading { color: transparent !important; pointer-events: none; }
.c-btn.is-loading .c-icon { opacity: 0; }
.c-btn.is-loading::before {
  content: ""; position: absolute; inset-block-start: 50%; inset-inline-start: 50%;
  inline-size: 1.25rem; block-size: 1.25rem; margin: -0.625rem;
  border: 2.5px solid var(--btn-fg); border-inline-end-color: transparent; border-radius: 50%;
  animation: mk-spin 700ms linear infinite;
}
@keyframes mk-spin { to { transform: rotate(360deg); } }

/* Icon-only button: 44×44 minimum. Always give aria-label. */
.c-icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  inline-size: var(--tap);
  block-size: var(--tap);
  padding: 0;
  border: 0;
  border-radius: var(--r-md);
  background: transparent;
  color: var(--color-text);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.c-icon-btn:hover { background: var(--n-100); color: var(--color-text); }
.c-icon-btn--round { border-radius: var(--r-pill); }
.c-icon-btn--surface { background: var(--color-surface); box-shadow: var(--shadow-sm); }
.c-icon-btn--surface:hover { background: var(--n-0); box-shadow: var(--shadow-md); }
.c-icon-btn--outline { box-shadow: inset 0 0 0 1.5px var(--color-border); }

/* Numeric counter on cart / wishlist */
.c-count {
  position: absolute;
  inset-block-start: 4px;
  inset-inline-end: 2px;
  min-inline-size: 1.25rem;
  block-size: 1.25rem;
  padding-inline: 5px;
  border-radius: var(--r-pill);
  background: var(--red-500);
  color: var(--n-0);
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: var(--fw-medium);
  line-height: 1.25rem;
  text-align: center;
  box-shadow: 0 0 0 2px var(--color-surface);
  font-variant-numeric: tabular-nums;
}
.c-count.is-bump { animation: mk-bump var(--dur-slow) var(--ease-spring); }
@keyframes mk-bump { 40% { transform: scale(1.35); } }

/* ---------- Badges ---------- */
.c-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  min-block-size: 1.5rem;
  padding: 0 var(--sp-2);
  border-radius: var(--r-sm);
  background: var(--n-100);
  color: var(--n-800);
  font-family: var(--font-display);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-medium);
  line-height: 1.2;
  white-space: nowrap;
}
.c-badge .c-icon { width: 0.875rem; height: 0.875rem; }
.c-badge--sale { background: var(--red-500); color: var(--n-0); }
.c-badge--new { background: var(--blue-100); color: var(--blue-800); }
.c-badge--hot { background: var(--yellow-500); color: var(--n-900); }
.c-badge--out { background: var(--n-900); color: var(--n-0); }
.c-badge--shipping { background: var(--green-100); color: var(--green-800); }
.c-badge--outline { background: transparent; box-shadow: inset 0 0 0 1px var(--color-border-strong); color: var(--color-text-muted); }
.c-badge--lg { min-block-size: 1.875rem; padding-inline: var(--sp-3); font-size: var(--fs-sm); }

/* ==========================================================================
   5. FORMS
   ========================================================================== */
.c-field { display: flex; flex-direction: column; gap: var(--sp-2); min-inline-size: 0; }
.c-label { font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--color-text); }
.c-label .c-req { color: var(--color-danger); margin-inline-start: 2px; }
.c-help { font-size: var(--fs-xs); color: var(--color-text-muted); line-height: var(--lh-snug); }
.c-msg { display: flex; align-items: center; gap: var(--sp-1); font-size: var(--fs-xs); font-weight: var(--fw-medium); line-height: var(--lh-snug); }
.c-msg .c-icon { width: 1rem; height: 1rem; }
.c-msg--error { color: var(--color-danger); }
.c-msg--success { color: var(--color-success); }

.c-input, .c-select select, .c-textarea {
  display: block;
  inline-size: 100%;
  min-block-size: var(--control-h);
  padding: var(--sp-2) var(--sp-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-md);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: var(--fs-base); /* ≥16px prevents iOS zoom */
  line-height: 1.6;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
  -webkit-appearance: none;
  appearance: none;
}
.c-textarea { min-block-size: 7.5rem; resize: vertical; padding-block: var(--sp-3); }
.c-input::placeholder, .c-textarea::placeholder { color: var(--n-500); opacity: 1; }
.c-input:hover, .c-select select:hover, .c-textarea:hover { border-color: var(--n-400); }
.c-input:focus, .c-select select:focus, .c-textarea:focus {
  border-color: var(--color-focus);
  box-shadow: 0 0 0 3px var(--blue-100);
  outline: none;
}
.c-input:disabled, .c-select select:disabled, .c-textarea:disabled { background: var(--n-50); color: var(--n-500); cursor: not-allowed; }
.c-input[type="tel"], .c-input[type="email"], .c-input.u-ltr { direction: ltr; text-align: end; } /* typed LTR, aligned like RTL text */
.c-input[type="tel"]::placeholder, .c-input[type="email"]::placeholder { text-align: end; }

.c-input.is-invalid, .c-input[aria-invalid="true"], .c-select.is-invalid select, .c-textarea[aria-invalid="true"] { border-color: var(--red-500); }
.c-input.is-invalid:focus, .c-input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px var(--red-100); }
.c-input.is-valid { border-color: var(--green-600); }

/* Input with leading icon */
.c-input-group { position: relative; }
.c-input-group > .c-icon { position: absolute; inset-inline-start: var(--sp-3); inset-block-start: 50%; translate: 0 -50%; color: var(--n-500); pointer-events: none; width: 1.25rem; height: 1.25rem; }
.c-input-group > .c-input { padding-inline-start: 2.75rem; }

/* Select: wrapper draws the chevron at inline-end */
.c-select { position: relative; }
.c-select select { padding-inline-end: 2.75rem; cursor: pointer; }
.c-select::after {
  content: "";
  position: absolute;
  inset-inline-end: var(--sp-4);
  inset-block-start: 50%;
  inline-size: 0.5rem; block-size: 0.5rem;
  margin-block-start: -0.375rem;
  border-right: 2px solid var(--n-700);  /* physical on purpose: a down-chevron is direction-independent */
  border-bottom: 2px solid var(--n-700);
  transform: rotate(45deg);
  pointer-events: none;
}

/* Checkbox & radio (native inputs, restyled) */
.c-check { display: inline-flex; align-items: center; gap: var(--sp-3); min-block-size: var(--tap); cursor: pointer; font-size: var(--fs-base); line-height: var(--lh-snug); }
.c-check input {
  -webkit-appearance: none; appearance: none;
  flex-shrink: 0;
  inline-size: 1.375rem; block-size: 1.375rem;
  margin: 0;
  border: 1.5px solid var(--n-400);
  border-radius: 6px;
  background: var(--color-surface) center / 0.875rem no-repeat;
  cursor: pointer;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.c-check input[type="radio"] { border-radius: 50%; }
.c-check:hover input:not(:disabled) { border-color: var(--n-900); }
.c-check input:checked { border-color: var(--n-900); background-color: var(--yellow-500);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1919' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.c-check input[type="radio"]:checked { background-image: none; box-shadow: inset 0 0 0 4px var(--yellow-500); background-color: var(--n-900); }
.c-check input:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.c-check input:disabled { background-color: var(--n-100); border-color: var(--n-300); cursor: not-allowed; }
.c-check input:disabled + span { color: var(--n-500); }
.c-check__count { margin-inline-start: auto; color: var(--color-text-subtle); font-size: var(--fs-xs); }

/* Selectable option card (shipping / payment method) */
.c-option {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  padding: var(--sp-4); border: 1.5px solid var(--color-border); border-radius: var(--r-lg);
  background: var(--color-surface); cursor: pointer;
  transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.c-option:hover { border-color: var(--n-400); }
.c-option:has(input:checked) { border-color: var(--n-900); background: var(--yellow-50); }
.c-option:has(input:disabled) { cursor: not-allowed; background: var(--n-50); color: var(--n-500); }
.c-option:has(input:disabled):hover { border-color: var(--color-border); }
.c-option input { margin-block-start: 2px; }

/* Quantity stepper — DOM order: [+] [input] [−]  (renders + on the right in RTL) */
.c-qty {
  display: inline-flex;
  align-items: stretch;
  block-size: var(--control-h);
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-md);
  background: var(--color-surface);
  overflow: hidden;
}
.c-qty__btn {
  display: grid; place-items: center;
  inline-size: var(--tap);
  border: 0; background: transparent; color: var(--color-text);
  transition: background-color var(--dur-fast) ease;
}
.c-qty__btn .c-icon { width: 1.125rem; height: 1.125rem; }
.c-qty__btn:hover:not(:disabled) { background: var(--n-100); }
.c-qty__btn:disabled { color: var(--n-300); }
.c-qty__btn:focus-visible { outline-offset: -3px; }
.c-qty__input {
  inline-size: 3rem;
  border: 0; border-inline: 1px solid var(--color-border-subtle);
  background: transparent;
  text-align: center;
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}
.c-qty__input::-webkit-outer-spin-button, .c-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.c-qty__input:focus-visible { outline-offset: -3px; border-radius: 0; }
.c-qty--sm { block-size: 40px; }
.c-qty--sm .c-qty__btn { inline-size: 40px; }
.c-qty--sm .c-qty__input { inline-size: 2.5rem; }

/* ==========================================================================
   6. HEADER, NAVIGATION, MEGA MENU, DRAWER, BOTTOM NAV, BREADCRUMBS
   ========================================================================== */

/* ---------- Announcement bar ---------- */
.c-announce { background: var(--color-surface-inverse); color: var(--color-text-inverse); font-size: var(--fs-xs); }
.c-announce__inner { display: flex; align-items: center; justify-content: center; gap: var(--sp-4); min-block-size: 2.25rem; padding-block: var(--sp-1); }
.c-announce__msg { display: flex; align-items: center; gap: var(--sp-2); text-align: center; font-weight: var(--fw-medium); }
.c-announce__msg .c-icon { width: 1rem; height: 1rem; color: var(--yellow-500); }
.c-announce__side { display: none; align-items: center; gap: var(--sp-5); margin-inline-start: auto; }
.c-announce a { color: var(--color-text-inverse); text-decoration: none; display: inline-flex; align-items: center; gap: var(--sp-1); min-block-size: var(--tap); }
.c-announce a:hover { color: var(--yellow-500); }
.c-announce a .c-icon { width: 1rem; height: 1rem; }
.c-announce :focus-visible { outline-color: var(--color-focus-inverse); }
@media (min-width: 1024px) {
  .c-announce__inner { justify-content: space-between; padding-block: 0; }
  .c-announce__side { display: flex; }
}

/* ---------- Header ---------- */
.c-header {
  position: sticky;
  inset-block-start: 0;
  z-index: var(--z-header);
  background: var(--color-surface);
  border-block-end: 1px solid var(--color-border-subtle);
  transition: box-shadow var(--dur-base) ease;
}
.c-header.is-scrolled { box-shadow: var(--shadow-sm); }

.c-header__main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "menu logo actions"
    "search search search";
  align-items: center;
  column-gap: var(--sp-1);
  row-gap: var(--sp-2);
  padding-block: var(--sp-2) var(--sp-3);
  transition: padding var(--dur-base) var(--ease-out);
}
.c-header__menu { grid-area: menu; margin-inline-start: calc(var(--sp-2) * -1); }
.c-header__logo { grid-area: logo; display: inline-flex; align-items: center; justify-self: start; border-radius: var(--r-sm); }
.c-header__logo img { block-size: 2.625rem; inline-size: auto; transition: block-size var(--dur-base) var(--ease-out); }
.c-header__search { grid-area: search; }
.c-header__actions { grid-area: actions; display: flex; align-items: center; gap: 2px; margin-inline-end: calc(var(--sp-2) * -1); }

.c-header__account { display: none; }
.c-header__account-text { display: flex; flex-direction: column; line-height: 1.3; text-align: start; }
.c-header__account-text small { font-size: var(--fs-2xs); color: var(--color-text-muted); }
.c-header__account-text b { font-family: var(--font-display); font-size: var(--fs-sm); font-weight: var(--fw-medium); }

@media (min-width: 768px) {
  .c-header__logo img { block-size: 3rem; }
}
@media (min-width: 1024px) {
  .c-header__main {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "logo search actions";
    column-gap: var(--sp-8);
    padding-block: var(--sp-4);
  }
  .c-header__menu { display: none; }
  .c-header__search { max-inline-size: 44rem; inline-size: 100%; justify-self: center; }
  .c-header__logo img { block-size: 3.5rem; }
  .c-header__account {
    display: inline-flex; align-items: center; gap: var(--sp-2);
    min-block-size: var(--tap); padding-inline: var(--sp-2) var(--sp-3);
    border-radius: var(--r-md); color: var(--color-text); text-decoration: none;
  }
  .c-header__account:hover { background: var(--n-100); color: var(--color-text); }
  .c-header.is-scrolled .c-header__main { padding-block: var(--sp-2); }
  .c-header.is-scrolled .c-header__logo img { block-size: 2.75rem; }
}

/* ---------- Search ---------- */
.c-search {
  display: flex;
  align-items: stretch;
  block-size: 3rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-md);
  background: var(--color-surface-sunken);
  transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.c-search:focus-within { border-color: var(--n-900); background: var(--color-surface); box-shadow: 0 0 0 3px var(--yellow-200); }
.c-search__cat { display: none; position: relative; flex-shrink: 0; }
.c-search__cat select {
  block-size: 100%;
  max-inline-size: 11rem;
  padding-inline: var(--sp-4) 2.25rem;
  border: 0;
  border-inline-end: 1px solid var(--color-border);
  border-start-start-radius: var(--r-md);
  border-end-start-radius: var(--r-md);
  background: transparent;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text);
  -webkit-appearance: none; appearance: none;
  cursor: pointer;
}
.c-search__cat::after {
  content: ""; position: absolute; inset-inline-end: 0.875rem; inset-block-start: 50%;
  inline-size: 0.4375rem; block-size: 0.4375rem; margin-block-start: -0.3125rem;
  border-right: 1.75px solid var(--n-700); border-bottom: 1.75px solid var(--n-700); /* physical on purpose: rotated down-chevron, direction-independent */
  transform: rotate(45deg); pointer-events: none;
}
.c-search__cat select:focus-visible { outline-offset: -3px; border-radius: var(--r-md); }
.c-search__input {
  flex: 1;
  min-inline-size: 0;
  padding-inline: var(--sp-4);
  border: 0;
  background: transparent;
  font-size: var(--fs-base);
}
.c-search__input::placeholder { color: var(--n-600); } /* n-500 is only 4.25:1 on the sunken search field */
.c-search__input:focus { outline: none; }
.c-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.c-search__submit {
  display: grid; place-items: center;
  flex-shrink: 0;
  inline-size: 3rem;
  margin: 3px;
  border: 0;
  border-radius: 9px;
  background: var(--color-primary);
  color: var(--color-on-primary);
  transition: background-color var(--dur-fast) ease;
}
.c-search__submit:hover { background: var(--color-primary-hover); }
.c-search__submit .c-icon { width: 1.25rem; height: 1.25rem; }
@media (min-width: 1024px) {
  .c-search__cat { display: block; }
  .c-search { block-size: 3.25rem; }
}

/* ---------- Desktop nav bar ---------- */
.c-nav { display: none; border-block-start: 1px solid var(--color-border-subtle); background: var(--color-surface); }
@media (min-width: 1024px) { .c-nav { display: block; } }
.c-nav__inner { position: relative; display: flex; align-items: center; gap: var(--sp-2); min-block-size: 3.25rem; }
/* Links that don't fit wrap onto a hidden second row, so an item is never half-clipped */
.c-nav__links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; list-style: none; margin: 0; padding: 0; min-inline-size: 0; flex: 1; max-block-size: var(--tap); overflow: hidden; }
.c-nav__link {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  min-block-size: var(--tap); padding-inline: var(--sp-3);
  border-radius: var(--r-sm);
  color: var(--color-text); text-decoration: none;
  font-family: var(--font-display); font-size: var(--fs-sm); font-weight: var(--fw-medium);
  white-space: nowrap;
}
.c-nav__link:hover { background: var(--n-50); color: var(--color-text); }
.c-nav__link[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--color-primary); border-radius: 0; }
.c-nav__link--sale { color: var(--color-sale-text); }
.c-nav__link--sale:hover { color: var(--red-700); background: var(--red-50); }
.c-nav__dot { inline-size: 0.5rem; block-size: 0.5rem; border-radius: 2px; background: var(--fam-500); }
/* ---------- Mega menu ---------- */
.c-mega { position: static; }
.c-mega__trigger {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  min-block-size: 2.5rem; padding-inline: var(--sp-4) var(--sp-3);
  border: 0; border-radius: var(--r-sm);
  background: var(--n-900); color: var(--n-0);
  font-family: var(--font-display); font-size: var(--fs-sm); font-weight: var(--fw-medium);
  white-space: nowrap; flex-shrink: 0;
}
.c-mega__trigger:hover { background: var(--n-700); }
.c-mega__trigger .c-icon { width: 1.125rem; height: 1.125rem; }
.c-mega__trigger .c-mega__chev { transition: transform var(--dur-base) var(--ease-out); }
.c-mega.is-open .c-mega__chev { transform: rotate(180deg); }

.c-mega__panel {
  position: absolute;
  inset-inline: var(--gutter);
  inset-block-start: calc(100% + 1px);
  z-index: var(--z-dropdown);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.1fr);
  gap: var(--sp-6);
  padding: var(--sp-8);
  border: 1px solid var(--color-border-subtle);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  background: var(--color-surface);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility 0s linear var(--dur-base);
}
.c-mega.is-open .c-mega__panel,
html:not(.js) .c-mega:hover .c-mega__panel,
html:not(.js) .c-mega:focus-within .c-mega__panel {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility 0s;
}
.c-mega__group-title { display: flex; align-items: center; gap: var(--sp-3); margin-block-end: var(--sp-3); font-family: var(--font-display); font-size: var(--fs-base); font-weight: var(--fw-medium); line-height: 1.4; }
/* Outline icon only, no filled box (owner request 2026-09-16); family colour kept on the stroke. */
.c-mega__swatch { display: grid; place-items: center; flex-shrink: 0; color: var(--fam-700); }
.c-mega__swatch .c-icon { width: 1.5rem; height: 1.5rem; }
.c-mega__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.c-mega__list a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2);
  min-block-size: 2.5rem; padding-inline: var(--sp-3);
  border-radius: var(--r-sm);
  color: var(--color-text); text-decoration: none; font-size: var(--fs-sm);
}
.c-mega__list a:hover { background: var(--fam-50); color: var(--fam-700); }
.c-mega__list a .c-icon { width: 1.125rem; height: 1.125rem; color: var(--fam-700); opacity: 0; transition: opacity var(--dur-fast) ease, transform var(--dur-fast) ease; }
.c-mega__list a:hover .c-icon { opacity: 1; transform: translateX(-3px); } /* nudge toward inline-end (left in RTL) */
.c-mega__list a:hover .c-icon:dir(ltr) { transform: translateX(3px); }
.c-mega__promo {
  display: flex; flex-direction: column; justify-content: flex-end; gap: var(--sp-2);
  min-block-size: 15rem; padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--yellow-100);
  color: var(--n-900); text-decoration: none;
  position: relative; overflow: hidden;
}
.c-mega__promo:hover { color: var(--n-900); }
.c-mega__promo img { position: absolute; inset-block-start: var(--sp-3); inset-inline-end: var(--sp-3); inline-size: 55%; mix-blend-mode: multiply; transition: transform var(--dur-slow) var(--ease-out); }
.c-mega__promo:hover img { transform: scale(1.05) rotate(-2deg); }
.c-mega__promo b { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: var(--fw-medium); position: relative; }
.c-mega__promo span { font-size: var(--fs-sm); position: relative; display: inline-flex; align-items: center; gap: var(--sp-1); font-weight: var(--fw-medium); }

/* ---------- Off-canvas drawer (native <dialog>) ---------- */
.c-drawer {
  --slide: 100%;
  position: fixed;
  inset-block: 0;
  inset-inline-start: 0;
  inset-inline-end: auto;
  z-index: var(--z-drawer);
  inline-size: min(88vw, 24rem);
  max-inline-size: none;
  block-size: 100dvh;
  max-block-size: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: translateX(var(--slide));
  transition: transform var(--dur-slow) var(--ease-out), overlay var(--dur-slow) allow-discrete, display var(--dur-slow) allow-discrete;
}
.c-drawer:dir(ltr) { --slide: -100%; }
.c-drawer[open] { display: flex; flex-direction: column; transform: none; }
@starting-style { .c-drawer[open] { transform: translateX(var(--slide)); } }
.c-drawer::backdrop { background: var(--color-overlay); opacity: 0; transition: opacity var(--dur-slow) ease, overlay var(--dur-slow) allow-discrete, display var(--dur-slow) allow-discrete; }
.c-drawer[open]::backdrop { opacity: 1; }
@starting-style { .c-drawer[open]::backdrop { opacity: 0; } }

.c-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); border-block-end: 1px solid var(--color-border-subtle); }
.c-drawer__head img { block-size: 2.5rem; inline-size: auto; }
.c-drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: var(--sp-4); }
.c-drawer__foot { padding: var(--sp-4); border-block-start: 1px solid var(--color-border-subtle); background: var(--color-surface-sunken); display: grid; gap: var(--sp-3); }
.c-drawer__section-title { margin-block: var(--sp-5) var(--sp-2); font-size: var(--fs-xs); font-weight: var(--fw-medium); color: var(--color-text-muted); }
.c-drawer__link {
  display: flex; align-items: center; gap: var(--sp-3);
  min-block-size: 3rem; padding-inline: var(--sp-2);
  border-radius: var(--r-md); color: var(--color-text); text-decoration: none; font-weight: var(--fw-medium);
}
.c-drawer__link:hover { background: var(--n-50); color: var(--color-text); }
.c-drawer__link .c-icon { color: var(--color-text-muted); }
/* Drawer category groups use .c-accordion (see §8) with .c-accordion--menu */

/* Filter drawer variant opens from the other side on listing pages */
.c-drawer--end { inset-inline-start: auto; inset-inline-end: 0; --slide: -100%; }
.c-drawer--end:dir(ltr) { --slide: 100%; }

/* ---------- Mobile bottom navigation ---------- */
.c-bottom-nav {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: var(--z-bottom-nav);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block-end: env(safe-area-inset-bottom, 0);
  background: var(--color-surface-glass);
  border-block-start: 1px solid var(--color-border);
  box-shadow: var(--shadow-up);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
}
.c-bottom-nav__item {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-block-size: var(--bottom-nav-h);
  padding: 0;
  border: 0; background: transparent;
  color: var(--color-text-muted); text-decoration: none;
  font-family: var(--font-display); font-size: 0.6875rem; font-weight: var(--fw-medium);
  -webkit-tap-highlight-color: transparent;
}
.c-bottom-nav__item:hover { color: var(--color-text); }
.c-bottom-nav__icon { position: relative; display: grid; place-items: center; inline-size: 3rem; block-size: 1.875rem; border-radius: var(--r-pill); transition: background-color var(--dur-base) ease; }
.c-bottom-nav__item[aria-current="page"] { color: var(--color-text); }
.c-bottom-nav__item[aria-current="page"] .c-bottom-nav__icon { background: var(--yellow-200); }
.c-bottom-nav__item .c-count { inset-block-start: -4px; inset-inline-end: 2px; box-shadow: 0 0 0 2px var(--n-0); }
.c-bottom-nav__item:focus-visible { outline-offset: -4px; }
body:has(.c-bottom-nav) { padding-block-end: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 1024px) {
  .c-bottom-nav { display: none; }
  body:has(.c-bottom-nav) { padding-block-end: 0; }
}

/* ---------- Breadcrumbs ---------- */
.c-breadcrumbs { padding-block: var(--sp-4); font-size: var(--fs-sm); }
.c-breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-1) var(--sp-2); list-style: none; margin: 0; padding: 0; }
.c-breadcrumbs li { display: inline-flex; align-items: center; gap: var(--sp-2); min-inline-size: 0; }
.c-breadcrumbs li + li::before {
  content: ""; inline-size: 0.875rem; block-size: 0.875rem; flex-shrink: 0; background: var(--n-400);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 6-6 6 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 6-6 6 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.c-breadcrumbs li:dir(ltr) + li::before { transform: scaleX(-1); }
.c-breadcrumbs a { color: var(--color-text-muted); text-decoration: none; display: inline-flex; align-items: center; min-block-size: 2rem; }
.c-breadcrumbs a:hover { color: var(--color-text); text-decoration: underline; }
.c-breadcrumbs [aria-current="page"] { color: var(--color-text); font-weight: var(--fw-medium); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-inline-size: 60vw; }

/* ==========================================================================
   7. COMMERCE — price, rating, product card, category tile
   ========================================================================== */
.c-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--sp-2); font-family: var(--font-display); line-height: 1.35; }
.c-price__now { font-size: var(--fs-md); font-weight: var(--fw-medium); color: var(--color-text); font-variant-numeric: lining-nums tabular-nums; } /* emphasis = colour + tabular numerals */
.c-price__cur { font-size: 0.75em; font-weight: var(--fw-regular); margin-inline-start: 2px; }
.c-price__old { font-size: var(--fs-sm); font-weight: var(--fw-regular); color: var(--color-text-subtle); text-decoration: line-through; text-decoration-thickness: 1px; font-variant-numeric: tabular-nums; }
.c-price--sale .c-price__now { color: var(--color-sale-text); }
.c-price--lg .c-price__now { font-size: var(--fs-xl); }
.c-price--lg .c-price__old { font-size: var(--fs-sm); }

/* Rating: set --rating (0–5) inline. Stars fill from the inline-start edge. */
.c-rating { display: inline-flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-xs); color: var(--color-text-muted); }
.c-rating__stars {
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 3.2 2.7 5.5 6 .9-4.35 4.25 1.03 6-5.38-2.83-5.38 2.83 1.03-6L3.3 9.6l6-.9z'/%3E%3C/svg%3E");
  inline-size: 5.5em; block-size: 1.1em; font-size: 0.9375rem;
  /* physical left/right on purpose: stars fill from the inline-start edge, which is the right in RTL; :dir(ltr) mirrors it below */
  background: linear-gradient(to left, var(--color-rating) calc(var(--rating, 0) / 5 * 100%), var(--n-200) 0);
  -webkit-mask: var(--star) right center / 1.1em 1.1em repeat-x;
          mask: var(--star) right center / 1.1em 1.1em repeat-x;
}
.c-rating__stars:dir(ltr) { background: linear-gradient(to right, var(--color-rating) calc(var(--rating, 0) / 5 * 100%), var(--n-200) 0); -webkit-mask-position: left center; mask-position: left center; }
.c-rating__value { font-family: var(--font-display); font-weight: var(--fw-medium); color: var(--color-text); }

/* ---------- Product card ---------- */
.c-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  min-inline-size: 0;
  container-type: inline-size;
}
.c-product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  background: var(--color-surface-sunken);
  overflow: hidden;
  /* No `isolation: isolate` here: it would make __media its own stacking context, trapping anything placed in it
     with z-index 2 (badges, apptura_badges rows) below the stretched name link (::after, z-index 1). The card is
     already a stacking context (container-type implies layout containment) and __media's opaque background is the
     only backdrop the multiply-blended photo sees, so the blend result is unchanged. */
}
.c-product-card__media img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
  padding: 6%;
  mix-blend-mode: multiply; /* white product backgrounds melt into the porcelain surface */
  transition: transform var(--dur-slow) var(--ease-out);
}
@media (hover: hover) {
  .c-product-card:hover .c-product-card__media img { transform: scale(1.045); }
}
.c-product-card__badges {
  position: absolute; inset-block-start: var(--sp-2); inset-inline-start: var(--sp-2); z-index: var(--z-card-control);
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-1);
  pointer-events: none;
}

.c-product-card__body { display: flex; flex-direction: column; gap: var(--sp-1); flex: 1; min-inline-size: 0; padding-inline: 2px; }
.c-product-card__cat { font-size: var(--fs-xs); color: var(--color-text-muted); line-height: 1.4; }
.c-product-card__name {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  line-height: 1.6;
  min-block-size: calc(1.6em * 2);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-wrap: pretty;
}
.c-product-card__name a { color: var(--color-text); text-decoration: none; }
.c-product-card__name a::after { content: ""; position: absolute; inset: 0; z-index: var(--z-card-link); } /* whole card clickable */
.c-product-card__name a:hover { color: var(--color-text); text-decoration: underline; text-decoration-color: var(--yellow-500); text-decoration-thickness: 2px; }
.c-product-card__name a:focus-visible { outline: none; }
.c-product-card:has(.c-product-card__name a:focus-visible) .c-product-card__media { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.c-product-card__foot { display: flex; flex-direction: column; gap: var(--sp-3); margin-block-start: auto; padding-block-start: var(--sp-1); }
/* Grid of cards = many identical CTAs; a soft fill keeps the grid calm, hover/focus turns it solid brand yellow. */
.c-product-card__cta { position: relative; z-index: var(--z-card-control); --btn-bg: var(--yellow-200); --btn-bg-hover: var(--yellow-500); }
.c-product-card__cta:hover { box-shadow: none; }
/* CTA row (O-143): the CTA takes the room, the wishlist heart is a square of the CTA's height at its inline end
   (left on the Arabic store). Same yellow family as the CTA, as an outline. 36px visible like .c-btn--sm, with the
   same 4px hit-area extension (44px). Saved state: theme.css A10 (.is-saved, [data-saved-now]). */
/* The row is its own inline-size container: the narrow-card steps below follow the room of the row itself, so they
   also hold where the card is wide but its body narrow (listing list view). */
.c-product-card__actions { display: flex; align-items: stretch; gap: var(--sp-2); min-inline-size: 0; container-type: inline-size; }
.c-product-card__actions > .c-product-card__cta { flex: 1 1 auto; min-inline-size: 0; }
.c-product-card__wish {
  position: relative; z-index: var(--z-card-control);
  flex: none; display: grid; place-items: center;
  inline-size: 2.25rem; min-block-size: 2.25rem;
  padding: 0; border: 1.5px solid var(--yellow-200); border-radius: var(--r-sm);
  background: transparent; color: var(--n-800);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.c-product-card__wish::after { content: ""; position: absolute; inset: -4px; } /* keeps a 44px hit area */
.c-product-card__wish:hover { background: var(--yellow-50); border-color: var(--yellow-500); }
.c-product-card__wish .c-icon { width: 1.25rem; height: 1.25rem; }
.c-product-card__wish .c-icon--on { display: none; color: var(--red-500); }
.c-product-card__wish.is-loading { pointer-events: none; opacity: 0.6; }
/* Narrow cards (2-up on phones, 4-up beside the filters, the home scrollers): the CTA drops its bag icon, then
   most of its padding and a step of font size, so label + heart stay on one row. The CTA keeps its 36px height (the heart's square follows
   it); a label that still does not fit (English "Currently unavailable" on narrow cards) goes on two lines inside
   those 36px rather than overflowing. */
.c-product-card__actions > .c-product-card__cta { block-size: var(--btn-h); }
.c-product-card__cta-label {
  min-inline-size: 0;
  overflow: hidden;
  white-space: normal;
  line-height: 1.2;
  text-align: center;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
@container (max-width: 195px) {
  .c-product-card__actions > .c-product-card__cta { --btn-px: var(--sp-2); }
  .c-product-card__actions > .c-product-card__cta .c-icon { display: none; }
}
@container (max-width: 156px) {
  /* 4px gap: a container query cannot style the container itself, so the heart pulls in by 4px instead. */
  .c-product-card__actions > .c-product-card__wish { margin-inline-start: calc(var(--sp-1) - var(--sp-2)); }
  .c-product-card__actions > .c-product-card__cta { --btn-px: var(--sp-1); font-size: var(--fs-xs); }
}
@container (max-width: 136px) {
  .c-product-card__actions > .c-product-card__cta { --btn-px: 2px; }
}
/* Any other control a page puts in the card body (remove button, option select…) must also sit above the stretched link. */
.c-product-card__body :where(button, input, select, textarea, label, a:not(.c-product-card__name a)) { position: relative; z-index: var(--z-card-control); }
.c-product-card__stock { display: inline-flex; align-items: center; gap: var(--sp-1); font-size: var(--fs-xs); color: var(--color-success); font-weight: var(--fw-medium); }
.c-product-card__stock::before { content: ""; inline-size: 0.4375rem; block-size: 0.4375rem; border-radius: 2px; background: var(--green-500); }
@container (min-width: 220px) {
  .c-product-card__name { font-size: var(--fs-base); }
}

.c-product-card.is-out .c-product-card__media img { opacity: 0.5; filter: grayscale(0.7); }
.c-product-card.is-out .c-price__now { color: var(--color-text-muted); }

/* Horizontal card (cart rows, search suggestions, mini-cart) */
.c-product-row { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) auto; gap: var(--sp-3); align-items: center; padding-block: var(--sp-3); }
.c-product-row + .c-product-row { border-block-start: 1px solid var(--color-border-subtle); }
.c-product-row__media { aspect-ratio: 1; border-radius: var(--r-md); background: var(--color-surface-sunken); overflow: hidden; }
.c-product-row__media img { inline-size: 100%; block-size: 100%; object-fit: contain; padding: 6%; mix-blend-mode: multiply; }
.c-product-row__name { font-size: var(--fs-sm); font-weight: var(--fw-medium); line-height: var(--lh-snug); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

/* ---------- Category tile ---------- */
.c-cat-tile {
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-2);
  color: var(--color-text); text-decoration: none; text-align: center;
  -webkit-tap-highlight-color: transparent;
}
.c-cat-tile:hover { color: var(--color-text); }
.c-cat-tile__box { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.c-cat-tile__label { font-family: var(--font-display); font-size: var(--fs-sm); font-weight: var(--fw-medium); line-height: 1.4; }
.c-cat-tile:focus-visible { outline: none; }
.c-cat-tile:focus-visible .c-cat-tile__box { outline: 3px solid var(--color-focus); outline-offset: 3px; }

/* Photo variant (the only tile look since the owner's 2026-09-15 review): real product photo in a circle with a
   family-tinted gradient ring; hover lifts it and the ring turns solid family colour.
   Markup: a.c-cat-tile.c-cat-tile--photo.t-* > span.c-cat-tile__box > span.c-cat-tile__photo > img  (+ __label, optional __meta)
   Icon fallback (category without a photo): span.c-cat-tile__box > span.c-cat-tile__glyph > svg.c-icon
   --cat-zoom (inline on __photo, default 1) crops the white side padding OpenCart adds when it squares a
   portrait/landscape product photo, so the photo fills the circle. */
.c-cat-tile--photo { gap: var(--sp-2); padding-block-start: var(--sp-1); }
.c-cat-tile--photo .c-cat-tile__box {
  inline-size: 100%; max-inline-size: 9rem; margin-inline: auto;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--fam-500), var(--fam-200) 70%, var(--fam-100));
  box-shadow: var(--shadow-sm);
  overflow: visible;
  transition: background-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-spring);
}
.c-cat-tile--photo .c-cat-tile__photo,
.c-cat-tile--photo .c-cat-tile__glyph {
  display: grid; place-items: center;
  inline-size: 100%; block-size: 100%;
  aspect-ratio: 1;
  border: 2px solid var(--color-surface);
  border-radius: 50%;
  background: var(--color-surface);
  overflow: hidden;
}
.c-cat-tile--photo .c-cat-tile__photo img {
  inline-size: 100%; block-size: 100%;
  object-fit: cover;
  mix-blend-mode: normal;
  scale: var(--cat-zoom, 1);
  transition: scale var(--dur-slow) var(--ease-out);
}
.c-cat-tile--photo .c-cat-tile__glyph { background: var(--fam-50); color: var(--fam-700); }
.c-cat-tile--photo .c-cat-tile__glyph .c-icon { width: 42%; height: 42%; }
.c-cat-tile__meta { margin-block-start: calc(var(--sp-1) * -1); font-size: var(--fs-xs); line-height: 1.4; color: var(--color-text-subtle); }
@media (hover: hover) {
  .c-cat-tile--photo:hover .c-cat-tile__box { background: var(--fam-500); box-shadow: var(--shadow-md); transform: translateY(-3px); }
  .c-cat-tile--photo:hover .c-cat-tile__photo img { scale: calc(var(--cat-zoom, 1) * 1.05); }
}

.c-cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-5) var(--sp-3); }
@media (min-width: 768px) { .c-cat-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .c-cat-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: var(--sp-6) var(--sp-5); } }

/* Category rail: horizontal scroll-snap row under 768px (bleeds to the screen edge inside .l-container),
   centred wrapping grid above: 6 per row, 8 per row at ≥1280. Orphans on the last row are centred. */
.c-cat-rail {
  --cols: 6; --cat-gap: var(--sp-5);
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--sp-6) var(--cat-gap);
  margin: 0; padding: 0; list-style: none;
}
.c-cat-rail > * { flex: 0 0 calc((100% - var(--cat-gap) * (var(--cols) - 1)) / var(--cols)); min-inline-size: 0; }
@media (max-width: 767.98px) {
  .c-cat-rail:is(ul, ol, div) { /* :is() lifts specificity over the ul[role="list"] reset (padding/margin 0) */
    --per-view: 3.6; --cat-gap: var(--sp-3);
    flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1); padding: var(--sp-1) var(--gutter) var(--sp-3);
    scrollbar-width: none;
  }
  .c-cat-rail::-webkit-scrollbar { display: none; }
  .c-cat-rail > * { flex-basis: calc((100% - var(--cat-gap) * (var(--per-view) - 1)) / var(--per-view)); scroll-snap-align: start; }
}
@media (min-width: 480px) and (max-width: 767.98px) { .c-cat-rail:is(ul, ol, div) { --per-view: 4.6; } }
@media (min-width: 1280px) { .c-cat-rail { --cols: 8; } }

/* ==========================================================================
   8. CONTENT — section head, scroller, tabs, accordion, pagination, chips
   ========================================================================== */
.c-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-4); margin-block-end: var(--sp-6); }
@media (min-width: 1024px) { .c-section-head { margin-block-end: var(--sp-8); } }
.c-section-head__titles { display: flex; flex-direction: column; gap: var(--sp-1); min-inline-size: 0; }
.c-section-head__eyebrow { display: inline-flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-xs); font-weight: var(--fw-medium); color: var(--color-text-muted); }
.c-section-head__title { font-size: var(--fs-2xl); font-weight: var(--fw-semibold); }
.c-section-head__sub { font-size: var(--fs-sm); color: var(--color-text-muted); }
.c-section-head__more {
  display: inline-flex; align-items: center; gap: var(--sp-1);
  flex-shrink: 0; min-block-size: var(--tap); padding-inline: var(--sp-2);
  margin-inline-end: calc(var(--sp-2) * -1);
  border-radius: var(--r-sm);
  color: var(--color-text); font-family: var(--font-display); font-size: var(--fs-sm); font-weight: var(--fw-medium);
  text-decoration: none; white-space: nowrap;
}
.c-section-head__more .c-icon { width: 1.125rem; height: 1.125rem; transition: transform var(--dur-fast) ease; }
.c-section-head__more:hover { color: var(--color-text); text-decoration: underline; text-decoration-color: var(--yellow-500); text-decoration-thickness: 2px; }
.c-section-head__more:hover .c-icon { transform: translateX(-3px); } /* nudge toward inline-end (left in RTL) */
.c-section-head__more:hover .c-icon:dir(ltr) { transform: translateX(3px); }

/* ---------- Scroller (CSS scroll-snap carousel) ---------- */
.c-scroller { --per-view: 2.25; --gap: var(--sp-3); position: relative; }
.c-scroller__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - var(--gap) * (var(--per-view) - 1)) / var(--per-view));
  gap: var(--gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1); /* bleed to screen edge inside .l-container */
  padding-block: var(--sp-1) var(--sp-3);
  list-style: none;
  scrollbar-width: none;
}
.c-scroller__track::-webkit-scrollbar { display: none; }
.c-scroller__track > * { scroll-snap-align: start; min-inline-size: 0; }
.c-scroller__track:focus-visible { outline-offset: -3px; }
@media (min-width: 480px) { .c-scroller { --per-view: 2.6; } }
@media (min-width: 768px) { .c-scroller { --per-view: 3.4; --gap: var(--sp-5); } }
@media (min-width: 1024px) {
  .c-scroller { --per-view: 4; }
  .c-scroller__track { padding-inline: 0; margin-inline: 0; scroll-padding-inline: 0; }
}
@media (min-width: 1280px) { .c-scroller { --per-view: 5; } }

/* Category row: one horizontal row of round photo tiles at every width (owner request 2026-09-16). */
.c-scroller--cats { --per-view: 3.6; --gap: var(--sp-3); }
@media (min-width: 480px) { .c-scroller--cats { --per-view: 4.6; } }
@media (min-width: 768px) { .c-scroller--cats { --per-view: 6; --gap: var(--sp-5); } }
@media (min-width: 1024px) { .c-scroller--cats { --per-view: 7; } }
@media (min-width: 1280px) { .c-scroller--cats { --per-view: 8; } }
.c-scroller__controls { display: none; gap: var(--sp-2); }
@media (min-width: 1024px) { .c-scroller__controls { display: flex; } }
.c-scroller__btn { box-shadow: inset 0 0 0 1.5px var(--color-border); border-radius: var(--r-pill); }
.c-scroller__btn:disabled { opacity: 0.35; background: transparent; }

/* ---------- Tabs ---------- */
.c-tabs__list {
  display: flex; gap: var(--sp-1);
  overflow-x: auto; scrollbar-width: none;
  border-block-end: 1px solid var(--color-border);
  margin-block-end: var(--sp-6);
}
.c-tabs__list::-webkit-scrollbar { display: none; }
.c-tabs__tab {
  position: relative; flex-shrink: 0;
  min-block-size: 3rem; padding-inline: var(--sp-4);
  border: 0; background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font-display); font-size: var(--fs-base); font-weight: var(--fw-medium);
  white-space: nowrap;
  transition: color var(--dur-fast) ease;
}
.c-tabs__tab::after {
  content: ""; position: absolute; inset-inline: var(--sp-3); inset-block-end: -1px; block-size: 3px;
  border-radius: 3px 3px 0 0; background: var(--color-primary);
  transform: scaleX(0); transition: transform var(--dur-base) var(--ease-out);
}
.c-tabs__tab:hover { color: var(--color-text); }
.c-tabs__tab[aria-selected="true"] { color: var(--color-text); }
.c-tabs__tab[aria-selected="true"]::after { transform: scaleX(1); }
.c-tabs__tab:focus-visible { outline-offset: -3px; }
.c-tabs__panel:focus-visible { outline-offset: 4px; }
/* Pill variant for product-section filters on home */
.c-tabs--pills .c-tabs__list { border: 0; gap: var(--sp-2); }
.c-tabs--pills .c-tabs__tab { min-block-size: 2.5rem; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1.5px var(--color-border); font-size: var(--fs-sm); }
.c-tabs--pills .c-tabs__tab::after { display: none; }
.c-tabs--pills .c-tabs__tab[aria-selected="true"] { background: var(--n-900); color: var(--n-0); box-shadow: none; }

/* ---------- Accordion (native <details>) ---------- */
.c-accordion { border-block-start: 1px solid var(--color-border); }
.c-accordion__item { border-block-end: 1px solid var(--color-border); }
.c-accordion__head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  min-block-size: 3.5rem; padding-block: var(--sp-3);
  cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: var(--fs-base); font-weight: var(--fw-medium);
  -webkit-tap-highlight-color: transparent;
}
.c-accordion__head::-webkit-details-marker { display: none; }
.c-accordion__head::marker { content: ""; }
.c-accordion__head:focus-visible { outline-offset: 2px; }
.c-accordion__chev { width: 1.25rem; height: 1.25rem; color: var(--color-text-muted); transition: transform var(--dur-base) var(--ease-out); }
.c-accordion__item[open] > .c-accordion__head .c-accordion__chev { transform: rotate(180deg); }
.c-accordion__body { padding-block-end: var(--sp-5); color: var(--color-text-muted); }
.c-accordion__item[open] > .c-accordion__body { animation: mk-fade-down var(--dur-base) var(--ease-out); }
@keyframes mk-fade-down { from { opacity: 0; transform: translateY(-4px); } }
/* Menu variant (drawer categories) */
.c-accordion--menu { border: 0; }
.c-accordion--menu .c-accordion__item { border: 0; }
.c-accordion--menu .c-accordion__head { min-block-size: 3rem; padding: var(--sp-1) var(--sp-2); border-radius: var(--r-md); font-size: var(--fs-base); justify-content: flex-start; }
.c-accordion--menu .c-accordion__head:hover { background: var(--n-50); }
.c-accordion--menu .c-accordion__chev { margin-inline-start: auto; }
.c-accordion--menu .c-accordion__body { padding: 0 0 var(--sp-2); color: inherit; }
.c-accordion--menu .c-mega__swatch { inline-size: 2rem; block-size: 2rem; border-radius: 8px; }
.c-accordion--menu .c-mega__list a { min-block-size: 2.75rem; padding-inline-start: 3.25rem; font-size: var(--fs-base); }

/* ---------- Pagination ---------- */
.c-pagination { display: flex; justify-content: center; margin-block-start: var(--sp-10); }
.c-pagination ul { display: flex; align-items: center; gap: var(--sp-1); list-style: none; margin: 0; padding: 0; }
.c-pagination__link {
  display: grid; place-items: center;
  min-inline-size: var(--tap); block-size: var(--tap); padding-inline: var(--sp-2);
  border-radius: var(--r-md);
  color: var(--color-text); text-decoration: none;
  font-family: var(--font-display); font-weight: var(--fw-medium); font-variant-numeric: tabular-nums;
}
.c-pagination__link:hover { background: var(--n-100); color: var(--color-text); }
.c-pagination__link[aria-current="page"] { background: var(--n-900); color: var(--n-0); }
.c-pagination__link[aria-disabled="true"] { color: var(--n-300); pointer-events: none; }
.c-pagination__gap { min-inline-size: 1.5rem; text-align: center; color: var(--color-text-subtle); }
@media (max-width: 479.98px) { .c-pagination__hide-xs { display: none; } }

/* ---------- Chips ---------- */
.c-chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.c-chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-block: 2px; }
.c-chips--scroll::-webkit-scrollbar { display: none; }
.c-chip {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  flex-shrink: 0;
  min-block-size: 2.5rem; padding-inline: var(--sp-4);
  border: 0; border-radius: var(--r-pill);
  background: var(--color-surface);
  box-shadow: inset 0 0 0 1.5px var(--color-border);
  color: var(--color-text); text-decoration: none;
  font-size: var(--fs-sm); font-weight: var(--fw-medium);
  white-space: nowrap;
  transition: box-shadow var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.c-chip:hover { box-shadow: inset 0 0 0 1.5px var(--n-900); color: var(--color-text); }
.c-chip[aria-pressed="true"], .c-chip.is-active { background: var(--n-900); color: var(--n-0); box-shadow: none; }
.c-chip__dot { inline-size: 0.625rem; block-size: 0.625rem; border-radius: 3px; background: var(--fam-500); }
.c-chip--removable { padding-inline-end: var(--sp-1); background: var(--yellow-100); box-shadow: none; }
.c-chip--removable:hover { box-shadow: none; }
.c-chip__remove {
  display: grid; place-items: center; inline-size: 2rem; block-size: 2rem;
  padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--n-800);
}
.c-chip__remove:hover { background: var(--color-ink-wash); }
.c-chip__remove .c-icon { width: 1rem; height: 1rem; }

/* Generic surface card */
.c-card { background: var(--color-surface); border: 1px solid var(--color-border-subtle); border-radius: var(--r-lg); padding: var(--sp-5); }
.c-card--flat { border: 0; background: var(--color-surface-sunken); }
@media (min-width: 768px) { .c-card { padding: var(--sp-6); } }

/* ==========================================================================
   9. FEEDBACK — toast, modal, alert, empty state, skeleton, loader
   ========================================================================== */
.c-toast-region {
  position: fixed;
  inset-inline: var(--sp-4);
  inset-block-end: calc(var(--bottom-nav-h) + 5.5rem + env(safe-area-inset-bottom, 0px)); /* clears bottom nav + WhatsApp FAB */
  z-index: var(--z-toast);
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-2);
  pointer-events: none;
}
@media (min-width: 1024px) { .c-toast-region { inset-block-end: var(--sp-6); inset-inline: var(--sp-6) auto; align-items: flex-start; } } /* inline-start: FAB owns inline-end */
.c-toast {
  display: flex; align-items: center; gap: var(--sp-3);
  inline-size: min(100%, 26rem);
  padding-block: var(--sp-3);
  padding-inline: var(--sp-4) var(--sp-2);
  border-radius: var(--r-lg);
  background: var(--n-900); color: var(--n-0);
  box-shadow: var(--shadow-lg);
  font-size: var(--fs-sm); line-height: var(--lh-snug);
  pointer-events: auto;
  animation: mk-toast-in var(--dur-slow) var(--ease-spring);
}
.c-toast.is-leaving { animation: mk-toast-out var(--dur-base) ease forwards; }
@keyframes mk-toast-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
@keyframes mk-toast-out { to { opacity: 0; transform: translateY(8px); } }
.c-toast__icon { display: grid; place-items: center; inline-size: 2rem; block-size: 2rem; flex-shrink: 0; border-radius: 9px; background: var(--n-700); }
.c-toast__icon .c-icon { width: 1.125rem; height: 1.125rem; }
.c-toast--success .c-toast__icon { background: var(--green-500); color: var(--n-900); }
.c-toast--error .c-toast__icon { background: var(--red-500); color: var(--n-0); }
.c-toast--info .c-toast__icon { background: var(--blue-500); color: var(--n-900); }
.c-toast__text { flex: 1; min-inline-size: 0; }
.c-toast__text b { display: block; font-family: var(--font-display); font-weight: var(--fw-medium); }
.c-toast__action { color: var(--yellow-500); font-weight: var(--fw-medium); text-decoration: none; white-space: nowrap; }
.c-toast__action:hover { color: var(--yellow-300); }
.c-toast .c-icon-btn { color: var(--n-300); }
.c-toast .c-icon-btn:hover { background: var(--n-800); color: var(--n-0); }
.c-toast :focus-visible { outline-color: var(--color-focus-inverse); }

/* Modal (native <dialog>) */
.c-modal {
  inline-size: min(calc(100vw - 2rem), 32rem);
  max-block-size: min(calc(100dvh - 2rem), 48rem);
  padding: 0;
  border: 0;
  border-radius: var(--r-xl);
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity var(--dur-base) ease, transform var(--dur-base) var(--ease-out), overlay var(--dur-base) allow-discrete, display var(--dur-base) allow-discrete;
}
.c-modal[open] { display: flex; flex-direction: column; opacity: 1; transform: none; }
@starting-style { .c-modal[open] { opacity: 0; transform: translateY(12px) scale(0.98); } }
.c-modal::backdrop { background: var(--color-overlay); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.c-modal--lg { inline-size: min(calc(100vw - 2rem), 56rem); }
.c-modal__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-4) var(--sp-5) var(--sp-3); }
.c-modal__title { font-size: var(--fs-lg); font-weight: var(--fw-medium); }
.c-modal__body { padding: 0 var(--sp-5) var(--sp-5); overflow-y: auto; }
.c-modal__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--sp-3); padding: var(--sp-4) var(--sp-5); border-block-start: 1px solid var(--color-border-subtle); background: var(--color-surface-sunken); }
@media (max-width: 479.98px) {
  /* bottom sheet on small phones */
  .c-modal { inline-size: 100vw; max-inline-size: 100vw; margin: auto 0 0; border-end-start-radius: 0; border-end-end-radius: 0; transform: translateY(100%); }
  .c-modal[open] { transform: none; }
  @starting-style { .c-modal[open] { transform: translateY(100%); } }
  .c-modal__foot > .c-btn { flex: 1; }
}

/* Inline alert */
.c-alert {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--color-info-border); border-radius: var(--r-md);
  background: var(--color-info-bg); color: var(--n-900);
  font-size: var(--fs-sm); line-height: var(--lh-snug);
}
.c-alert > .c-icon { width: 1.25rem; height: 1.25rem; margin-block-start: 1px; color: var(--color-info); }
.c-alert--success { border-color: var(--color-success-border); background: var(--color-success-bg); }
.c-alert--success > .c-icon { color: var(--color-success); }
.c-alert--warning { border-color: var(--color-warning-border); background: var(--color-warning-bg); }
.c-alert--warning > .c-icon { color: var(--color-warning); }
.c-alert--danger { border-color: var(--color-danger-border); background: var(--color-danger-bg); }
.c-alert--danger > .c-icon { color: var(--color-danger); }
.c-alert b { font-family: var(--font-display); font-weight: var(--fw-medium); }

/* Free-shipping progress (cart) */
.c-progress { block-size: 0.5rem; border-radius: var(--r-pill); background: var(--n-100); overflow: hidden; }
.c-progress__bar { block-size: 100%; inline-size: var(--value, 0%); border-radius: inherit; background: var(--green-500); transition: inline-size var(--dur-slow) var(--ease-out); }

/* Empty state */
.c-empty { display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); max-inline-size: 26rem; margin-inline: auto; padding-block: var(--sp-12); text-align: center; }
.c-empty__art { position: relative; display: grid; place-items: center; inline-size: 6.5rem; block-size: 6.5rem; margin-block-end: var(--sp-3); border-radius: var(--r-tile); background: var(--fam-100); color: var(--fam-700); }
.c-empty__art .c-icon { width: 2.75rem; height: 2.75rem; }
.c-empty__art .c-quad { position: absolute; inset-block-start: -0.5rem; inset-inline-end: -0.5rem; }
.c-empty__title { font-size: var(--fs-xl); font-weight: var(--fw-semibold); }
.c-empty__text { color: var(--color-text-muted); }
.c-empty .c-btn { margin-block-start: var(--sp-3); }

/* Skeleton loaders */
.c-skeleton {
  display: block;
  border-radius: var(--r-sm);
  background: linear-gradient(90deg, var(--n-100) 0%, var(--n-50) 40%, var(--n-100) 80%) 0 0 / 300% 100%;
  animation: mk-shimmer 1.4s ease-in-out infinite;
}
@keyframes mk-shimmer { from { background-position: 100% 0; } to { background-position: -50% 0; } }
.c-skeleton--media { aspect-ratio: 1; border-radius: var(--r-lg); }
.c-skeleton--text { block-size: 0.875rem; }
.c-skeleton--title { block-size: 1.25rem; inline-size: 70%; }
.c-skeleton--btn { block-size: var(--control-h); border-radius: var(--r-md); }
.c-skeleton--w60 { inline-size: 60%; }
.c-skeleton--w40 { inline-size: 40%; }
.c-skeleton-card { display: flex; flex-direction: column; gap: var(--sp-3); }
@media (prefers-reduced-motion: reduce) { .c-skeleton { animation: none; background: var(--n-100); } }

/* Brand loader: the four squares light up in logo order */
.c-loader { display: inline-grid; grid-template-columns: repeat(2, var(--loader-size, 0.875rem)); gap: calc(var(--loader-size, 0.875rem) * 0.22); }
.c-loader > i { display: block; aspect-ratio: 1; border-radius: 28%; animation: mk-loader 1.2s var(--ease-in-out) infinite; }
.c-loader > i:nth-child(1) { background: var(--yellow-500); }
.c-loader > i:nth-child(2) { background: var(--blue-500); animation-delay: 0.15s; }
.c-loader > i:nth-child(4) { background: var(--red-500); animation-delay: 0.3s; }
.c-loader > i:nth-child(3) { background: var(--green-500); animation-delay: 0.45s; }
@keyframes mk-loader { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.6); opacity: 0.45; } }
.c-loader--lg { --loader-size: 1.5rem; }

/* ==========================================================================
   10. MARKETING — trust strip, newsletter, banner
   ========================================================================== */
.c-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
@media (min-width: 1024px) { .c-trust { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-5); } }
.c-trust__item {
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-3);
  padding: var(--sp-4);
  border-radius: var(--r-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
}
@media (min-width: 768px) { .c-trust__item { flex-direction: row; align-items: center; padding: var(--sp-5); } }
.c-trust__icon { display: grid; place-items: center; flex-shrink: 0; inline-size: 3rem; block-size: 3rem; border-radius: 13px; background: var(--fam-500); color: var(--fam-on-500); }
.c-trust__title { font-family: var(--font-display); font-size: var(--fs-sm); font-weight: var(--fw-medium); line-height: 1.4; }
.c-trust__text { font-size: var(--fs-xs); color: var(--color-text-muted); line-height: var(--lh-snug); margin-block-start: 2px; }
@media (min-width: 768px) { .c-trust__title { font-size: var(--fs-base); } .c-trust__text { font-size: var(--fs-sm); } }

.c-newsletter {
  position: relative;
  display: grid; gap: var(--sp-5);
  padding: var(--sp-8) var(--sp-5);
  border-radius: var(--r-xl);
  background: var(--yellow-100);
  overflow: hidden;
  isolation: isolate;
}
@media (min-width: 768px) { .c-newsletter { padding: var(--sp-10); } }
@media (min-width: 1024px) { .c-newsletter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: var(--sp-10); padding: var(--sp-12); } }
.c-newsletter__decor { position: absolute; inset-block-end: -2.5rem; inset-inline-end: -2.5rem; inline-size: 12rem; opacity: 0.18; z-index: var(--z-behind); transform: rotate(-12deg); }
@media (min-width: 1024px) { .c-newsletter__decor { inline-size: 16rem; inset-inline-end: 40%; inset-block-end: -5rem; } }
.c-newsletter__title { font-size: var(--fs-2xl); font-weight: var(--fw-semibold); }
.c-newsletter__text { margin-block-start: var(--sp-2); color: var(--n-700); }
.c-newsletter__form { display: flex; flex-direction: column; gap: var(--sp-3); }
@media (min-width: 480px) { .c-newsletter__form { flex-direction: row; } .c-newsletter__form .c-input { flex: 1; } }
.c-newsletter__form .c-input { border-color: transparent; box-shadow: var(--shadow-xs); }
.c-newsletter__note { font-size: var(--fs-xs); color: var(--n-700); }

/* Image banner */
.c-banner { position: relative; display: block; border-radius: var(--r-xl); overflow: hidden; background: var(--color-surface-sunken); }
.c-banner img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.c-banner:hover img { transform: scale(1.015); }
.c-banner:focus-visible { outline-offset: 3px; border-radius: var(--r-xl); }

/* ==========================================================================
   11. FOOTER & FLOATING WHATSAPP
   ========================================================================== */
.c-footer { background: var(--color-surface-inverse); color: var(--color-text-inverse-muted); font-size: var(--fs-sm); }
.c-footer__main { display: grid; gap: var(--sp-8); padding-block: var(--sp-12) var(--sp-10); }
@media (min-width: 480px) { .c-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .c-footer__main { grid-template-columns: 1.5fr repeat(2, minmax(0, 0.8fr)) 1.2fr; gap: var(--sp-10); padding-block: var(--sp-16) var(--sp-12); } }
.c-footer__brand { display: flex; flex-direction: column; gap: var(--sp-4); }
@media (min-width: 480px) { .c-footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .c-footer__brand { grid-column: auto; } }
.c-footer__logo { display: inline-flex; align-items: center; gap: var(--sp-3); color: var(--n-0); text-decoration: none; }
.c-footer__logo img { block-size: 3.5rem; inline-size: auto; }
.c-footer__about { max-inline-size: 26rem; line-height: var(--lh-loose); }
.c-footer__title { margin-block-end: var(--sp-4); font-size: var(--fs-base); font-weight: var(--fw-medium); color: var(--n-0); } /* light-on-dark blooms: one step lighter, not heavier */
.c-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.c-footer__links a { display: inline-flex; align-items: center; gap: var(--sp-2); min-block-size: 2.25rem; color: var(--color-text-inverse-muted); text-decoration: none; }
.c-footer__links a:hover { color: var(--yellow-500); }
.c-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.c-footer__contact li { display: flex; align-items: flex-start; gap: var(--sp-3); line-height: 1.6; }
.c-footer__contact li:has(> a) { align-items: center; }
.c-footer__contact li:has(> a) .c-icon { margin-block-start: 0; }
.c-footer__contact .c-icon { width: 1.25rem; height: 1.25rem; margin-block-start: 2px; color: var(--yellow-500); }
.c-footer__contact a { display: inline-flex; align-items: center; min-block-size: var(--tap); color: var(--n-0); text-decoration: none; font-family: var(--font-display); font-weight: var(--fw-medium); }
.c-footer__contact a:hover { color: var(--yellow-500); }
.c-footer__social { display: flex; gap: var(--sp-2); }
.c-footer__social a { display: grid; place-items: center; inline-size: var(--tap); block-size: var(--tap); border-radius: var(--r-md); background: var(--n-800); color: var(--n-0); }
.c-footer__social a:hover { background: var(--yellow-500); color: var(--n-900); }
.c-footer__social .c-icon { width: 1.25rem; height: 1.25rem; }
.c-footer__bottom { border-block-start: 1px solid var(--n-800); }
.c-footer__bottom-inner { display: flex; flex-direction: column; align-items: center; gap: var(--sp-4); padding-block: var(--sp-5); text-align: center; font-size: var(--fs-xs); }
@media (min-width: 768px) { .c-footer__bottom-inner { flex-direction: row; justify-content: space-between; text-align: start; } }
@media (min-width: 1024px) { .c-footer__bottom-inner { padding-inline-end: 13rem; } } /* keep payment chips clear of the fixed WhatsApp button */
.c-footer :focus-visible { outline-color: var(--color-focus-inverse); }

.c-payments { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2); list-style: none; margin: 0; padding: 0; }
.c-payments li {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-1);
  min-inline-size: 3.5rem; block-size: 2rem; padding-inline: var(--sp-2);
  border-radius: 6px; background: var(--n-0); color: var(--n-900);
  font-family: var(--font-display); font-size: 0.6875rem; font-weight: var(--fw-medium); line-height: 1.2;
}
.c-payments svg { block-size: 1.125rem; inline-size: auto; }
.c-payments .c-icon { inline-size: 1.125rem; }

/* Floating WhatsApp
   Per-page control, set on <body> (never inside the FOOTER partial):
   - style="--fab-offset: 4.5rem"  lifts the button above a page's own fixed bottom bar (added to the bottom-nav clearance).
   - data-fab="hide-mobile"        hides it below 1024px (forms, sticky buy/checkout bars, or an in-page WhatsApp CTA).
   - data-fab="hide"               hides it at every width. */
.c-fab {
  position: fixed;
  inset-inline-end: var(--sp-4);
  inset-block-end: calc(var(--bottom-nav-h) + var(--sp-4) + var(--fab-offset, 0px) + env(safe-area-inset-bottom, 0px));
  z-index: var(--z-fab);
  display: inline-flex; align-items: center; gap: var(--sp-2);
  block-size: 3.5rem; min-inline-size: 3.5rem;
  padding-inline: 0.875rem;
  border-radius: var(--r-pill);
  background: var(--color-whatsapp); color: var(--n-0);
  box-shadow: var(--shadow-whatsapp);
  text-decoration: none;
  font-family: var(--font-display); font-weight: var(--fw-medium); font-size: var(--fs-sm);
  transition: transform var(--dur-base) var(--ease-spring), box-shadow var(--dur-base) ease;
}
.c-fab:hover { color: var(--n-0); transform: translateY(-2px); box-shadow: var(--shadow-whatsapp-hover); }
.c-fab .c-icon { width: 1.75rem; height: 1.75rem; }
.c-fab__label { display: none; padding-inline-end: var(--sp-2); }
@media (min-width: 1024px) {
  .c-fab { inset-block-end: calc(var(--sp-6) + var(--fab-offset, 0px)); inset-inline-end: var(--sp-6); }
  .c-fab__label { display: inline; }
}
[data-fab="hide"] .c-fab { display: none; }
@media (max-width: 1023.98px) {
  [data-fab="hide-mobile"] .c-fab { display: none; }
}
