/* ==========================================================================
   KIAM EXPRESS — main.css
   The whole design system in one stylesheet. Cascade order matters, so the
   sections below stay in this order:

     1. TOKENS      — colour dial, type scale, spacing, radii, shadows
     2. BASE        — resets, typography, links, focus rings
     3. LAYOUT      — page shells, grids, header/footer scaffolding
     4. COMPONENTS  — buttons, cards, fields, drawer, chat, toast
     5. SECTIONS    — page-specific blocks (hero, category, cart, admin…)
     6. RESPONSIVE  — breakpoint overrides, last so they win

   Add new rules inside the section they belong to, never at the bottom.
   ========================================================================== */



/* ==========================================================================
   SECTION: TOKENS
   ========================================================================== */

/* ==========================================================================
   KIAM EXPRESS — 01 TOKENS
   Single source of truth: color, type, space, radius, shadow, motion, z-index
   ========================================================================== */

/* ==========================================================================
   ⬇⬇  THEME DIAL — CHANGE THE BRAND COLOR HERE AND NOWHERE ELSE  ⬇⬇
   Every brand shade, gradient, glow, shadow and dark section below is
   generated from these two numbers. Edit them, save, done.

     --ke-brand-h : hue        0 = red   120 = green   210 = blue   35 = amber
     --ke-brand-s : saturation 0% = grey   100% = fully vivid

   Current: hsl(0 93.5% 51.6%) = #F71010
   ========================================================================== */
:root {
  --ke-brand-h: 0;
  --ke-brand-s: 93.5%;

  /* Accent (the "express / speed" signal colour) has its own dial */
  --ke-accent-h: 37;
  --ke-accent-s: 91%;
}

:root {
  /* ---------- Brand ramp — derived, do not hand-edit ----------
     Each step is a bare "H S L" triplet so it can be used two ways:
       solid ....... var(--ke-brand-700)
       transparent . hsl(var(--ke-c-700) / 0.4)                            */
  --ke-c-950: var(--ke-brand-h) calc(var(--ke-brand-s) * 0.45) 9%;
  --ke-c-900: var(--ke-brand-h) calc(var(--ke-brand-s) * 0.55) 17%;
  --ke-c-800: var(--ke-brand-h) calc(var(--ke-brand-s) * 0.85) 35%;
  --ke-c-700: var(--ke-brand-h) var(--ke-brand-s) 51.6%;   /* ← the seed */
  --ke-c-600: var(--ke-brand-h) var(--ke-brand-s) 57%;
  --ke-c-500: var(--ke-brand-h) var(--ke-brand-s) 63%;
  --ke-c-400: var(--ke-brand-h) calc(var(--ke-brand-s) * 0.95) 71%;
  --ke-c-300: var(--ke-brand-h) calc(var(--ke-brand-s) * 0.90) 81%;
  --ke-c-200: var(--ke-brand-h) calc(var(--ke-brand-s) * 0.85) 89%;
  --ke-c-100: var(--ke-brand-h) calc(var(--ke-brand-s) * 0.85) 94%;
  --ke-c-50:  var(--ke-brand-h) calc(var(--ke-brand-s) * 0.80) 97.4%;

  --ke-brand-950: hsl(var(--ke-c-950));
  --ke-brand-900: hsl(var(--ke-c-900));
  --ke-brand-800: hsl(var(--ke-c-800));
  --ke-brand-700: hsl(var(--ke-c-700));
  --ke-brand-600: hsl(var(--ke-c-600));
  --ke-brand-500: hsl(var(--ke-c-500));
  --ke-brand-400: hsl(var(--ke-c-400));
  --ke-brand-300: hsl(var(--ke-c-300));
  --ke-brand-200: hsl(var(--ke-c-200));
  --ke-brand-100: hsl(var(--ke-c-100));
  --ke-brand-50:  hsl(var(--ke-c-50));

  /* Brand-coloured TEXT on light backgrounds (links, eyebrows, prices).
     Kept as the seed so small type matches #F71010 exactly. That pairing is
     3.99:1 on paper — just under WCAG AA (4.5:1). Swap this one line to
     var(--ke-brand-800) for 7.75:1 if you want text to pass; solid fills,
     buttons and icons stay the exact seed either way. */
  --ke-brand-ink: var(--ke-brand-700);

  /* Text/icons sitting on the dark brand sections (footer, deal, newsletter).
     A brand-tinted near-white — use with an alpha: hsl(var(--ke-c-on-dark) / .72) */
  --ke-c-on-dark: var(--ke-brand-h) calc(var(--ke-brand-s) * 0.30) 93%;
  --ke-on-dark:   hsl(var(--ke-c-on-dark));

  /* ---------- Accent ramp — derived ---------- */
  --ke-ca-500: var(--ke-accent-h) var(--ke-accent-s) 55%;
  --ke-accent-700: hsl(var(--ke-accent-h) var(--ke-accent-s) 36%);
  --ke-accent-600: hsl(var(--ke-accent-h) var(--ke-accent-s) 45%);
  --ke-accent-500: hsl(var(--ke-ca-500));
  --ke-accent-400: hsl(var(--ke-accent-h) var(--ke-accent-s) 65%);
  --ke-accent-300: hsl(var(--ke-accent-h) var(--ke-accent-s) 77%);
  --ke-accent-100: hsl(var(--ke-accent-h) calc(var(--ke-accent-s) * 0.9) 93%);

  /* ---------- Neutrals: warm paper ---------- */
  --ke-ink:        #0C1512;
  --ke-ink-soft:   #33413C;
  --ke-muted:      #6B7B75;
  --ke-line:       #E4E2DC;
  --ke-line-soft:  #F0EEE9;
  --ke-paper:      #FBFAF7;
  --ke-surface:    #FFFFFF;
  --ke-surface-2:  #F5F3EE;

  /* ---------- Support ---------- */
  --ke-success: #1F9254;
  --ke-danger:  #C5372C;
  --ke-star:    #F0A81E;

  /* ---------- Semantic aliases ---------- */
  --ke-bg:            var(--ke-paper);
  --ke-text:          var(--ke-ink);
  --ke-text-soft:     var(--ke-ink-soft);
  --ke-primary:       var(--ke-brand-700);
  --ke-primary-hover: var(--ke-brand-800);
  --ke-on-primary:    #FFFFFF;

  /* ---------- Typography ---------- */
  /* The Latin webfonts carry no Bengali block, so the taka sign ৳ (U+09F3)
     would fall back to whatever the OS picks. Naming the platform Bengali
     faces keeps that glyph predictable across macOS / Windows / Android. */
  --ke-font-bn: "Kohinoor Bangla", "Bangla MN", "Nirmala UI", "Noto Sans Bengali", sans-serif;
  /* Web fonts are off for now — these are the local fallbacks the stacks used
     to end on. To put the originals back, load Fraunces / Plus Jakarta Sans /
     IBM Plex Mono (self-hosted or from Google) and prepend the family name to
     the matching line below — nothing else has to change. */
  --ke-font-display: "Iowan Old Style", Georgia, var(--ke-font-bn), serif;
  --ke-font-body: -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, var(--ke-font-bn), sans-serif;
  --ke-font-mono: ui-monospace, SFMono-Regular, Menlo, var(--ke-font-bn), monospace;

  /* Fluid type scale — 1.25 ratio, clamped for mobile→desktop */
  --ke-fs-display: clamp(2.75rem, 1.6rem + 4.6vw, 5rem);
  --ke-fs-h1:      clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
  --ke-fs-h2:      clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
  --ke-fs-h3:      clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem);
  --ke-fs-h4:      clamp(1.075rem, 1rem + 0.35vw, 1.25rem);
  --ke-fs-lead:    clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem);
  --ke-fs-body:    1rem;
  --ke-fs-sm:      0.9375rem;
  --ke-fs-xs:      0.8125rem;
  --ke-fs-eyebrow: 0.75rem;

  --ke-lh-tight: 1.06;
  --ke-lh-snug:  1.22;
  --ke-lh-base:  1.68;

  --ke-track-display: -0.035em;
  --ke-track-tight:   -0.02em;
  --ke-track-wide:    0.14em;

  /* ---------- Spacing scale (4px base) ---------- */
  --ke-sp-1:  0.25rem;
  --ke-sp-2:  0.5rem;
  --ke-sp-3:  0.75rem;
  --ke-sp-4:  1rem;
  --ke-sp-5:  1.25rem;
  --ke-sp-6:  1.5rem;
  --ke-sp-8:  2rem;
  --ke-sp-10: 2.5rem;
  --ke-sp-12: 3rem;
  --ke-sp-16: 4rem;
  --ke-sp-20: 5rem;
  --ke-sp-24: 6rem;

  /* Floating action buttons (live chat / WhatsApp / back to top). One value
     sizes all three and positions the chat panel that sits above them. */
  --ke-fab-size: 52px;
  --ke-fab-inset: clamp(1rem, 3vw, 2rem);

  /* Vertical rhythm for sections */
  --ke-section-y:    clamp(4.5rem, 8vw, 8.5rem);
  --ke-section-y-sm: clamp(3rem, 5vw, 5rem);
  --ke-gutter:       clamp(1.25rem, 4vw, 2.5rem);
  --ke-container:    1240px;
  --ke-container-narrow: 780px;

  /* ---------- Radius ---------- */
  --ke-r-xs:   6px;
  --ke-r-sm:   10px;
  --ke-r-md:   14px;
  --ke-r-lg:   20px;
  --ke-r-xl:   28px;
  --ke-r-2xl:  40px;
  --ke-r-pill: 999px;

  /* ---------- Shadow (layered, warm-tinted) ---------- */
  --ke-sh-xs: 0 1px 2px rgba(12, 21, 18, 0.05);
  --ke-sh-sm: 0 2px 6px rgba(12, 21, 18, 0.05), 0 1px 2px rgba(12, 21, 18, 0.04);
  --ke-sh-md: 0 8px 20px -6px rgba(12, 21, 18, 0.10), 0 2px 6px rgba(12, 21, 18, 0.05);
  --ke-sh-lg: 0 20px 44px -14px rgba(12, 21, 18, 0.16), 0 6px 14px -6px rgba(12, 21, 18, 0.07);
  --ke-sh-xl: 0 36px 72px -24px hsl(var(--ke-c-900) / 0.28), 0 12px 24px -12px rgba(12, 21, 18, 0.10);
  --ke-sh-glow: 0 14px 34px -12px hsl(var(--ke-c-700) / 0.45);
  --ke-sh-ring: 0 0 0 1px var(--ke-line);

  /* ---------- Motion ---------- */
  --ke-ease:      cubic-bezier(0.22, 0.61, 0.36, 1);
  --ke-ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ke-ease-back: cubic-bezier(0.34, 1.4, 0.64, 1);
  --ke-dur-fast: 160ms;
  --ke-dur:      280ms;
  --ke-dur-slow: 620ms;

  /* ---------- Layers ---------- */
  --ke-z-base: 1;
  --ke-z-sticky: 100;
  --ke-z-header: 900;
  --ke-z-drawer: 1000;
  --ke-z-toast: 1100;

  /* ---------- Sizing ---------- */
  --ke-header-h: 76px;
}

/* Bootstrap variable bridge — keeps grid/utilities on-brand */
:root {
  --bs-body-bg: var(--ke-paper);
  --bs-body-color: var(--ke-text);
  --bs-body-font-family: var(--ke-font-body);
  --bs-body-font-size: var(--ke-fs-body);
  --bs-body-line-height: var(--ke-lh-base);
  --bs-primary: var(--ke-brand-700);
  --bs-primary-rgb: 247, 16, 16;
  --bs-border-color: var(--ke-line);
  --bs-link-color: var(--ke-brand-700);
  --bs-link-hover-color: var(--ke-brand-800);
  --bs-emphasis-color: var(--ke-ink);
  --bs-secondary-color: var(--ke-muted);
  --bs-gutter-x: var(--ke-sp-6);
}


/* ==========================================================================
   SECTION: BASE
   ========================================================================== */

/* ==========================================================================
   KIAM EXPRESS — 02 BASE
   Element defaults, typography, accessibility primitives, helper utilities
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  overflow-x: clip; /* pairs with body; kills sub-pixel bleed from decorative layers */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--ke-header-h) + var(--ke-sp-6));
}

body {
  margin: 0;
  background: var(--ke-bg);
  color: var(--ke-text);
  font-family: var(--ke-font-body);
  font-size: var(--ke-fs-body);
  line-height: var(--ke-lh-base);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; /* clip (not hidden) so the sticky header keeps working */
  font-optical-sizing: auto;
}

body.is-locked { overflow: hidden; }

/* ---------- Headings ---------- */
h1, h2, h3, h4, h5, h6,
.ke-display {
  font-family: var(--ke-font-display);
  color: var(--ke-ink);
  font-weight: 600;
  line-height: var(--ke-lh-snug);
  letter-spacing: var(--ke-track-tight);
  margin: 0 0 var(--ke-sp-4);
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 40;
}

.ke-display {
  font-size: var(--ke-fs-display);
  line-height: var(--ke-lh-tight);
  letter-spacing: var(--ke-track-display);
  font-weight: 600;
}

h1 { font-size: var(--ke-fs-h1); line-height: var(--ke-lh-tight); letter-spacing: var(--ke-track-display); }
h2 { font-size: var(--ke-fs-h2); }
h3 { font-size: var(--ke-fs-h3); }
h4 { font-size: var(--ke-fs-h4); }

p { margin: 0 0 var(--ke-sp-4); color: var(--ke-text-soft); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--ke-brand-ink);
  text-decoration: none;
  transition: color var(--ke-dur-fast) var(--ke-ease);
}
a:hover { color: var(--ke-brand-500); }

ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

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

/* Sprite icons inherit text size by default; any component rule overrides it
   (element selector = specificity 0,0,1, always beaten by .class svg). */
svg {
  display: block;
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
}

/* UA chrome off by default; every button component re-declares what it needs */
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

hr {
  border: 0;
  border-top: 1px solid var(--ke-line);
  opacity: 1;
  margin: var(--ke-sp-8) 0;
}

::selection {
  background: var(--ke-brand-700);
  color: #fff;
}

/* ---------- Focus visibility ---------- */
:focus-visible {
  outline: 2px solid var(--ke-brand-600);
  outline-offset: 3px;
  border-radius: var(--ke-r-xs);
}
:focus:not(:focus-visible) { outline: none; }

.ke-skip-link {
  position: absolute;
  left: var(--ke-sp-4);
  top: -100px;
  z-index: var(--ke-z-toast);
  background: var(--ke-brand-800);
  color: #fff;
  padding: var(--ke-sp-3) var(--ke-sp-5);
  border-radius: var(--ke-r-sm);
  font-weight: 600;
  transition: top var(--ke-dur) var(--ke-ease);
}
.ke-skip-link:focus { top: var(--ke-sp-4); color: #fff; }

.ke-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Section rhythm ---------- */
.ke-section { padding: var(--ke-section-y) 0; position: relative; }
.ke-section--tight { padding: var(--ke-section-y-sm) 0; }
.ke-section--flush-top { padding-top: 0; }
.ke-section--flush-bottom { padding-bottom: 0; }
.ke-section--paper { background: var(--ke-paper); }
.ke-section--surface { background: var(--ke-surface); }
.ke-section--tinted { background: var(--ke-brand-50); }
.ke-section--dark {
  background: var(--ke-brand-900);
  color: var(--ke-brand-100);
}
.ke-section--dark h2,
.ke-section--dark h3,
.ke-section--dark h4 { color: #fff; }
.ke-section--dark p { color: hsl(var(--ke-c-on-dark) / 0.76); }

/* ---------- Section heading block ---------- */
.ke-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--ke-sp-2);
  font-family: var(--ke-font-body);
  font-size: var(--ke-fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--ke-track-wide);
  text-transform: uppercase;
  color: var(--ke-brand-600);
  margin-bottom: var(--ke-sp-4);
}
.ke-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ke-accent-500), var(--ke-brand-500));
}
.ke-eyebrow--center::before { display: none; }
.ke-section--dark .ke-eyebrow { color: var(--ke-accent-400); }

.ke-section-head { max-width: 660px; margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.ke-section-head--center { margin-inline: auto; text-align: center; }
.ke-section-head p { font-size: var(--ke-fs-lead); margin-bottom: 0; }
.ke-section-head h2 { margin-bottom: var(--ke-sp-4); }
/* A page's own <h1> sits inside .ke-section-head on pages that have no hero
   (shop, new-in, best-sellers, ...) — keep it sized like the h2 it replaces. */
.ke-section-head h1 {
  font-size: var(--ke-fs-h2);
  line-height: var(--ke-lh-snug);
  letter-spacing: var(--ke-track-tight);
  margin-bottom: var(--ke-sp-4);
}

.ke-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--ke-sp-8);
  flex-wrap: wrap;
  margin-bottom: clamp(2.25rem, 3.5vw, 3.25rem);
}
.ke-head-row .ke-section-head { margin-bottom: 0; }

/* ---------- Text helpers ---------- */
.ke-lead { font-size: var(--ke-fs-lead); color: var(--ke-text-soft); }
.ke-text-muted { color: var(--ke-muted); }
.ke-text-brand { color: var(--ke-brand-600); }
.ke-text-accent { color: var(--ke-accent-600); }
.ke-mono {
  font-family: var(--ke-font-mono);
  font-size: var(--ke-fs-xs);
  letter-spacing: 0.02em;
}

/* Ink underline flourish on key words */
.ke-mark {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  isolation: isolate; /* keeps the z-index:-1 highlight above section backgrounds */
}
.ke-mark::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0.06em;
  height: 0.34em;
  background: linear-gradient(90deg, var(--ke-accent-300), var(--ke-accent-500));
  border-radius: var(--ke-r-pill);
  opacity: 0.5;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left center;
  animation: ke-mark-in 900ms var(--ke-ease-out) 350ms forwards;
}
@keyframes ke-mark-in { to { transform: scaleX(1); } }

.ke-italic-serif {
  font-family: var(--ke-font-display);
  font-style: italic;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 40;
}

/* ---------- Scroll reveal (JS adds .is-in) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity var(--ke-dur-slow) var(--ke-ease-out),
    transform var(--ke-dur-slow) var(--ke-ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="zoom"]  { transform: scale(0.94); }

/* ---------- Custom scrollbar ---------- */
@supports selector(::-webkit-scrollbar) {
  ::-webkit-scrollbar { width: 11px; height: 11px; }
  ::-webkit-scrollbar-track { background: var(--ke-surface-2); }
  ::-webkit-scrollbar-thumb {
    background: var(--ke-brand-300);
    border-radius: var(--ke-r-pill);
    border: 3px solid var(--ke-surface-2);
  }
  ::-webkit-scrollbar-thumb:hover { background: var(--ke-brand-500); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .ke-mark::after { transform: scaleX(1); }
}


/* ==========================================================================
   SECTION: LAYOUT
   ========================================================================== */

/* ==========================================================================
   KIAM EXPRESS — 03 LAYOUT
   Container, announcement bar, header, navigation, mobile drawer, footer
   ========================================================================== */

/* ---------- Container ---------- */
.ke-container {
  width: 100%;
  max-width: calc(var(--ke-container) + (var(--ke-gutter) * 2));
  margin-inline: auto;
  padding-inline: var(--ke-gutter);
}
.ke-container--wide { max-width: calc(1440px + (var(--ke-gutter) * 2)); }
.ke-container--narrow { max-width: calc(var(--ke-container-narrow) + (var(--ke-gutter) * 2)); }

/* Bootstrap container alignment with our gutter system */
.container, .container-fluid, .container-lg, .container-xl {
  --bs-gutter-x: calc(var(--ke-gutter) * 2);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.ke-header {
  position: sticky;
  top: 0;
  z-index: var(--ke-z-header);
  background: rgba(251, 250, 247, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    background var(--ke-dur) var(--ke-ease),
    box-shadow var(--ke-dur) var(--ke-ease),
    border-color var(--ke-dur) var(--ke-ease);
}
.ke-header.is-stuck {
  background: rgba(251, 250, 247, 0.95);
  border-bottom-color: var(--ke-line);
  box-shadow: var(--ke-sh-sm);
}

.ke-header__inner {
  height: var(--ke-header-h);
  display: flex;
  align-items: center;
  gap: var(--ke-sp-8);
  transition: height var(--ke-dur) var(--ke-ease);
}
.ke-header.is-stuck .ke-header__inner { height: 66px; }

/* ---------- Logo ---------- */
.ke-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  flex: 0 0 auto;
  color: var(--ke-ink);
}
.ke-logo:hover { color: var(--ke-ink); }
.ke-logo__img {
  height: 38px;
  width: auto;
  display: block;
  transition: transform var(--ke-dur) var(--ke-ease-back);
}
.ke-logo:hover .ke-logo__img { transform: scale(1.04); }

/* Footer / dark surfaces: the mark keeps its own red + green, so it sits on a
   paper chip rather than fighting the dark ground. */
.ke-logo--chip {
  background: var(--ke-surface);
  border-radius: var(--ke-r-md);
  padding: 10px 16px;
  box-shadow: var(--ke-sh-sm);
}
.ke-logo--chip .ke-logo__img { height: 44px; }

.ke-logo__name {
  font-family: var(--ke-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.ke-logo__tag {
  font-size: 0.625rem;
  letter-spacing: var(--ke-track-wide);
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ke-muted);
  margin-top: 4px;
}

/* ---------- Primary nav ---------- */
.ke-nav { flex: 1 1 auto; }
.ke-nav__list {
  display: flex;
  align-items: center;
  gap: var(--ke-sp-1);
}
.ke-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: var(--ke-sp-2) var(--ke-sp-4);
  border-radius: var(--ke-r-pill);
  font-size: var(--ke-fs-sm);
  font-weight: 600;
  color: var(--ke-ink-soft);
  white-space: nowrap;
  position: relative;
  transition: color var(--ke-dur-fast) var(--ke-ease), background var(--ke-dur-fast) var(--ke-ease);
}
.ke-nav__link:hover,
.ke-nav__item.is-open > .ke-nav__link { color: var(--ke-brand-800); background: var(--ke-brand-100); }
.ke-nav__link[aria-current="page"] { color: var(--ke-brand-800); }
.ke-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--ke-accent-500);
  transform: translateX(-50%);
}
.ke-nav__caret {
  width: 12px;
  height: 12px;
  transition: transform var(--ke-dur) var(--ke-ease);
}
.ke-nav__item.is-open .ke-nav__caret { transform: rotate(180deg); }

/* ---------- Mega menu ---------- */
.ke-nav__item { position: relative; }
.ke-mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, 10px);
  width: min(720px, 84vw);
  background: var(--ke-surface);
  border: 1px solid var(--ke-line);
  border-radius: var(--ke-r-xl);
  box-shadow: var(--ke-sh-xl);
  padding: var(--ke-sp-6);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--ke-sp-3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--ke-dur) var(--ke-ease),
    transform var(--ke-dur) var(--ke-ease-out),
    visibility var(--ke-dur);
}
.ke-nav__item.is-open .ke-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.ke-mega__link {
  display: flex;
  align-items: flex-start;
  gap: var(--ke-sp-3);
  padding: var(--ke-sp-3);
  border-radius: var(--ke-r-md);
  transition: background var(--ke-dur-fast) var(--ke-ease);
  min-width: 0;
}
.ke-mega__link:hover { background: var(--ke-brand-50); }
.ke-mega__link > span { min-width: 0; flex: 1 1 auto; }
.ke-mega__icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: var(--ke-r-sm);
  background: var(--ke-brand-100);
  color: var(--ke-brand-ink);
  display: grid;
  place-items: center;
}
.ke-mega__icon svg { width: 18px; height: 18px; }
.ke-mega__title {
  display: block;
  font-weight: 700;
  font-size: var(--ke-fs-sm);
  color: var(--ke-ink);
  font-family: var(--ke-font-body);
}
.ke-mega__desc {
  display: block;
  font-size: var(--ke-fs-xs);
  color: var(--ke-muted);
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Header actions ---------- */
.ke-header__actions {
  display: flex;
  align-items: center;
  gap: var(--ke-sp-2);
  flex: 0 0 auto;
}
.ke-icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  background: transparent;
  border-radius: var(--ke-r-pill);
  color: var(--ke-ink-soft);
  cursor: pointer;
  position: relative;
  transition:
    background var(--ke-dur-fast) var(--ke-ease),
    color var(--ke-dur-fast) var(--ke-ease),
    transform var(--ke-dur-fast) var(--ke-ease);
}
.ke-icon-btn:hover {
  background: var(--ke-brand-100);
  color: var(--ke-brand-800);
  transform: translateY(-1px);
}
.ke-icon-btn svg { width: 20px; height: 20px; }
.ke-icon-btn__count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: var(--ke-r-pill);
  background: var(--ke-accent-500);
  color: var(--ke-brand-950);
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid var(--ke-paper);
}

/* Burger */
.ke-burger { display: none; }
.ke-burger__bars {
  width: 20px;
  height: 14px;
  position: relative;
}
.ke-burger__bars span {
  position: absolute;
  left: 0;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--ke-dur) var(--ke-ease), opacity var(--ke-dur-fast) var(--ke-ease);
}
.ke-burger__bars span:nth-child(1) { top: 0; }
.ke-burger__bars span:nth-child(2) { top: 6px; width: 70%; }
.ke-burger__bars span:nth-child(3) { top: 12px; }
.ke-burger[aria-expanded="true"] .ke-burger__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.ke-burger[aria-expanded="true"] .ke-burger__bars span:nth-child(2) { opacity: 0; }
.ke-burger[aria-expanded="true"] .ke-burger__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   MOBILE DRAWER
   ========================================================================== */
.ke-scrim {
  position: fixed;
  inset: 0;
  background: rgba(5, 19, 15, 0.5);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  z-index: calc(var(--ke-z-drawer) - 1);
  transition: opacity var(--ke-dur) var(--ke-ease), visibility var(--ke-dur);
}
.ke-scrim.is-open { opacity: 1; visibility: visible; }

.ke-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(390px, 88vw);
  background: var(--ke-surface);
  z-index: var(--ke-z-drawer);
  transform: translateX(102%);
  transition: transform var(--ke-dur-slow) var(--ke-ease-out);
  display: flex;
  flex-direction: column;
  box-shadow: var(--ke-sh-xl);
}
.ke-drawer.is-open { transform: none; }
.ke-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--ke-sp-5) var(--ke-sp-6);
  border-bottom: 1px solid var(--ke-line);
}
.ke-drawer__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: var(--ke-sp-4) var(--ke-sp-6) var(--ke-sp-8);
  overscroll-behavior: contain;
}
.ke-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ke-sp-3);
  padding: var(--ke-sp-4) 0;
  border-bottom: 1px solid var(--ke-line-soft);
  font-family: var(--ke-font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ke-ink);
  letter-spacing: var(--ke-track-tight);
}
.ke-drawer__link:hover { color: var(--ke-brand-600); }
.ke-drawer__link svg { width: 16px; height: 16px; color: var(--ke-muted); }
.ke-drawer__foot {
  padding: var(--ke-sp-6);
  border-top: 1px solid var(--ke-line);
  display: grid;
  gap: var(--ke-sp-3);
  background: var(--ke-surface-2);
}
.ke-drawer__meta {
  display: flex;
  align-items: center;
  gap: var(--ke-sp-2);
  font-size: var(--ke-fs-xs);
  color: var(--ke-muted);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.ke-footer {
  /* Brand-950 on its own reads as flat black. Carrying the brand red across
     the whole panel — a 900→950 rake plus a warm bloom in each far corner —
     keeps it dark enough for reversed text while still reading as red. */
  background:
    radial-gradient(56% 66% at 92% 0%, hsl(var(--ke-c-700) / 0.38), transparent 64%),
    radial-gradient(54% 64% at 0% 100%, hsl(var(--ke-c-700) / 0.34), transparent 64%),
    linear-gradient(168deg, hsl(var(--ke-c-900)), hsl(var(--ke-c-900)) 34%, hsl(var(--ke-c-950)));
  color: hsl(var(--ke-c-on-dark) / 0.72);
  padding-top: clamp(3.5rem, 6vw, 6rem);
  position: relative;
  overflow: hidden;
}
.ke-footer::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, hsl(var(--ke-c-500) / 0.38), transparent 68%);
  pointer-events: none;
}
.ke-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
  position: relative;
}
.ke-footer h4 { color: #fff; }
.ke-footer__about { max-width: 34ch; }
.ke-footer__about p { color: hsl(var(--ke-c-on-dark) / 0.66); font-size: var(--ke-fs-sm); }

.ke-footer__title {
  font-family: var(--ke-font-body);
  font-size: var(--ke-fs-xs);
  font-weight: 700;
  letter-spacing: var(--ke-track-wide);
  text-transform: uppercase;
  color: var(--ke-accent-400);
  margin-bottom: var(--ke-sp-5);
}
.ke-footer__links { display: grid; gap: var(--ke-sp-3); }
.ke-footer__links a {
  color: hsl(var(--ke-c-on-dark) / 0.72);
  font-size: var(--ke-fs-sm);
  width: fit-content;
  position: relative;
}
.ke-footer__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--ke-accent-400);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--ke-dur) var(--ke-ease);
}
.ke-footer__links a:hover { color: #fff; }
.ke-footer__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.ke-social { display: flex; gap: var(--ke-sp-2); margin-top: var(--ke-sp-6); }
.ke-social a i { font-size: 17px; line-height: 1; }
.ke-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--ke-r-sm);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: hsl(var(--ke-c-on-dark) / 0.8);
  transition: all var(--ke-dur) var(--ke-ease);
}
.ke-social a:hover {
  background: var(--ke-accent-500);
  color: var(--ke-brand-950);
  border-color: transparent;
  transform: translateY(-3px);
}
.ke-social svg { width: 17px; height: 17px; }

.ke-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: var(--ke-sp-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ke-sp-5);
  flex-wrap: wrap;
  font-size: var(--ke-fs-xs);
  position: relative;
}
.ke-footer__pay { display: flex; align-items: center; gap: var(--ke-sp-2); }
.ke-pay-chip {
  height: 28px;
  padding: 0 var(--ke-sp-3);
  border-radius: var(--ke-r-xs);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: hsl(var(--ke-c-on-dark) / 0.85);
  text-transform: uppercase;
}

/* ---------- Floating actions (live chat / WhatsApp / back to top) ----------
   One stack owns the corner. Every button inherits its size from --ke-fab-size
   so the three stay identical — change the size here, not per button. */
.ke-fab-dock {
  position: fixed;
  right: var(--ke-fab-inset);
  bottom: var(--ke-fab-inset);
  z-index: var(--ke-z-drawer);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--ke-sp-3);
  /* The dock is as tall as the chat panel even while that panel is hidden, so
     it must not swallow clicks on the page behind it — only its children take
     pointer events. */
  pointer-events: none;
}
.ke-fab-dock > * { pointer-events: auto; }
.ke-fabs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ke-sp-3);
}
.ke-fab {
  width: var(--ke-fab-size);
  height: var(--ke-fab-size);
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--ke-sh-lg);
  transition: transform var(--ke-dur) var(--ke-ease-out), background var(--ke-dur) var(--ke-ease);
}
.ke-fab:hover { transform: scale(1.08); }
.ke-fab svg { width: 24px; height: 24px; }

.ke-fab--chat { background: var(--ke-brand-700); color: #fff; }
.ke-fab--chat:hover { background: var(--ke-brand-800); color: #fff; }
.ke-fab--chat.is-active { background: var(--ke-brand-900); color: #fff; }

.ke-fab--wa { background: #25D366; color: #fff; }
.ke-fab--wa:hover { color: #fff; }

/* Scroll-gated. display:none rather than a fade, so it claims no slot in the
   stack until it is actually there — the other two never sit off-axis. */
.ke-fab--top {
  display: none;
  border-color: var(--ke-line);
  background: var(--ke-surface);
  color: var(--ke-brand-800);
}
.ke-fab--top.is-visible { display: grid; animation: ke-fab-in var(--ke-dur) var(--ke-ease-out) both; }
.ke-fab--top:hover { background: var(--ke-brand-800); color: #fff; border-color: transparent; }
.ke-fab--top svg { width: 18px; height: 18px; }

@keyframes ke-fab-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ke-fab:hover { transform: none; }
  .ke-fab--top.is-visible { animation: none; }
}


/* ==========================================================================
   SECTION: COMPONENTS
   ========================================================================== */

/* ==========================================================================
   KIAM EXPRESS — 04 COMPONENTS
   Buttons, badges, chips, ratings, cards, forms, marquee, media objects
   ========================================================================== */

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.ke-btn {
  --btn-bg: var(--ke-brand-700);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ke-sp-2);
  padding: 0.9rem 1.6rem;
  border-radius: var(--ke-r-pill);
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--ke-font-body);
  font-size: var(--ke-fs-sm);
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1;
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform var(--ke-dur-fast) var(--ke-ease),
    box-shadow var(--ke-dur) var(--ke-ease),
    background var(--ke-dur-fast) var(--ke-ease),
    color var(--ke-dur-fast) var(--ke-ease),
    border-color var(--ke-dur-fast) var(--ke-ease);
}
.ke-btn svg { width: 17px; height: 17px; flex: 0 0 auto; }
.ke-btn:hover { color: var(--btn-fg); transform: translateY(-2px); }
.ke-btn:active { transform: translateY(0); }

/* Sheen sweep */
.ke-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.24) 48%, transparent 66%);
  transform: translateX(-120%);
  transition: transform var(--ke-dur-slow) var(--ke-ease);
}
.ke-btn:hover::after { transform: translateX(120%); }

.ke-btn--primary { box-shadow: var(--ke-sh-glow); }
.ke-btn--primary:hover { --btn-bg: var(--ke-brand-800); box-shadow: 0 18px 40px -12px hsl(var(--ke-c-700) / 0.55); }

.ke-btn--accent {
  --btn-bg: var(--ke-accent-500);
  --btn-fg: var(--ke-brand-950);
  box-shadow: 0 14px 32px -12px hsl(var(--ke-ca-500) / 0.6);
}
.ke-btn--accent:hover { --btn-bg: var(--ke-accent-400); }

.ke-btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ke-ink);
  --btn-bd: var(--ke-line);
}
.ke-btn--ghost:hover { --btn-bg: var(--ke-surface); --btn-bd: var(--ke-brand-300); box-shadow: var(--ke-sh-md); }

.ke-btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--ke-brand-900);
  box-shadow: var(--ke-sh-md);
}
.ke-btn--light:hover { --btn-bg: var(--ke-brand-50); }

.ke-btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.32);
}
.ke-btn--outline-light:hover { --btn-bd: #fff; --btn-bg: rgba(255, 255, 255, 0.08); }

.ke-btn--sm { padding: 0.65rem 1.15rem; font-size: var(--ke-fs-xs); }
.ke-btn--lg { padding: 1.075rem 2rem; font-size: var(--ke-fs-body); }
.ke-btn--block { width: 100%; }

/* Text link with arrow */
.ke-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--ke-sp-2);
  font-weight: 700;
  font-size: var(--ke-fs-sm);
  color: var(--ke-brand-ink);
}
.ke-link-arrow svg {
  width: 16px; height: 16px;
  transition: transform var(--ke-dur) var(--ke-ease-back);
}
.ke-link-arrow:hover svg { transform: translateX(5px); }

/* ==========================================================================
   BADGES / CHIPS / PILLS
   ========================================================================== */
.ke-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: var(--ke-r-pill);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--ke-brand-100);
  color: var(--ke-brand-800);
  line-height: 1.4;
}
.ke-badge--accent { background: var(--ke-accent-100); color: var(--ke-accent-700); }
.ke-badge--sale   { background: #FCEBE9; color: var(--ke-danger); }
.ke-badge--new    { background: var(--ke-brand-800); color: #fff; }
.ke-badge--soft   { background: var(--ke-surface-2); color: var(--ke-ink-soft); }

.ke-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--ke-sp-2);
  padding: 8px 15px;
  border-radius: var(--ke-r-pill);
  background: var(--ke-surface);
  border: 1px solid var(--ke-line);
  font-size: var(--ke-fs-xs);
  font-weight: 600;
  color: var(--ke-ink-soft);
  box-shadow: var(--ke-sh-xs);
}
.ke-chip svg { width: 15px; height: 15px; color: var(--ke-brand-600); }
.ke-chip--dark {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  color: hsl(var(--ke-c-on-dark) / 0.86);
  box-shadow: none;
}
.ke-chip--dark svg { color: var(--ke-accent-400); }

/* Filter pills */
.ke-pills { display: flex; flex-wrap: wrap; gap: var(--ke-sp-2); }
.ke-pill {
  padding: 9px 18px;
  border-radius: var(--ke-r-pill);
  border: 1px solid var(--ke-line);
  background: var(--ke-surface);
  font-size: var(--ke-fs-xs);
  font-weight: 700;
  color: var(--ke-ink-soft);
  cursor: pointer;
  transition: all var(--ke-dur-fast) var(--ke-ease);
}
.ke-pill:hover { border-color: var(--ke-brand-400); color: var(--ke-brand-ink); }
.ke-pill.is-active {
  background: var(--ke-brand-800);
  border-color: var(--ke-brand-800);
  color: #fff;
  box-shadow: var(--ke-sh-glow);
}

/* ==========================================================================
   RATING
   ========================================================================== */
.ke-rating { display: inline-flex; align-items: center; gap: 3px; }
.ke-rating svg { width: 14px; height: 14px; color: var(--ke-star); }
.ke-rating__count {
  margin-left: 5px;
  font-size: var(--ke-fs-xs);
  color: var(--ke-muted);
  font-weight: 500;
}

/* ==========================================================================
   CARD BASE
   ========================================================================== */
.ke-card {
  background: var(--ke-surface);
  border: 1px solid var(--ke-line);
  border-radius: var(--ke-r-lg);
  box-shadow: var(--ke-sh-sm);
  transition:
    transform var(--ke-dur) var(--ke-ease-out),
    box-shadow var(--ke-dur) var(--ke-ease),
    border-color var(--ke-dur) var(--ke-ease);
}
.ke-card--hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--ke-sh-lg);
  border-color: var(--ke-brand-200);
}

/* ==========================================================================
   PRODUCT CARD
   ========================================================================== */
.ke-prod {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--ke-surface);
  border: 1px solid var(--ke-line);
  border-radius: var(--ke-r-lg);
  overflow: hidden;
  position: relative;
  transition:
    transform var(--ke-dur) var(--ke-ease-out),
    box-shadow var(--ke-dur) var(--ke-ease),
    border-color var(--ke-dur) var(--ke-ease);
}
.ke-prod:hover {
  transform: translateY(-7px);
  box-shadow: var(--ke-sh-lg);
  border-color: var(--ke-brand-200);
}

.ke-prod__media {
  position: relative;
  aspect-ratio: 4 / 3.4;
  background: var(--ke-surface-2);
  overflow: hidden;
  display: grid;
  place-items: center;
}
/* Generated product artwork — no external image assets */
.ke-prod__art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 90% at 22% 12%, rgba(255, 255, 255, 0.9), transparent 60%),
    linear-gradient(150deg, var(--art-a, var(--ke-brand-100)), var(--art-b, var(--ke-brand-200)));
  transition: transform var(--ke-dur-slow) var(--ke-ease-out);
}
.ke-prod:hover .ke-prod__art { transform: scale(1.06) rotate(-1.2deg); }
.ke-prod__art svg {
  width: 45%;
  height: 45%;
  color: var(--art-fg, var(--ke-brand-800));
  opacity: 0.92;
  filter: drop-shadow(0 12px 22px rgba(12, 21, 18, 0.16));
}
.ke-prod__art::before {
  content: "";
  position: absolute;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  filter: blur(2px);
}
.ke-prod__art > svg { position: relative; z-index: 1; }

/* Real product photography — no icon, no gradient, no floating disc */
.ke-prod__art--photo { background: var(--ke-surface-2); }
.ke-prod__art--photo::before { display: none; }
.ke-prod__art--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.ke-prod__flags {
  position: absolute;
  top: var(--ke-sp-3);
  left: var(--ke-sp-3);
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}
.ke-prod__wish {
  position: absolute;
  top: var(--ke-sp-3);
  right: var(--ke-sp-3);
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--ke-line);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ke-ink-soft);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-6px);
  transition: all var(--ke-dur) var(--ke-ease);
}
.ke-prod:hover .ke-prod__wish { opacity: 1; transform: none; }
.ke-prod__wish:hover { background: var(--ke-danger); color: #fff; border-color: transparent; }
.ke-prod__wish.is-on { background: var(--ke-danger); color: #fff; border-color: transparent; opacity: 1; transform: none; }
.ke-prod__wish svg { width: 16px; height: 16px; }

/* Slide-up quick action */
.ke-prod__quick {
  position: absolute;
  left: var(--ke-sp-3);
  right: var(--ke-sp-3);
  bottom: var(--ke-sp-3);
  z-index: 2;
  opacity: 0;
  transform: translateY(120%);
  transition: all var(--ke-dur) var(--ke-ease-out);
}
.ke-prod:hover .ke-prod__quick,
.ke-prod:focus-within .ke-prod__quick { opacity: 1; transform: none; }

.ke-prod__body {
  padding: var(--ke-sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--ke-sp-2);
  flex: 1 1 auto;
}
.ke-prod__cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ke-muted);
}
.ke-prod__name {
  font-family: var(--ke-font-body);
  font-size: var(--ke-fs-body);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin: 0;
}
.ke-prod__name a { color: var(--ke-ink); }
.ke-prod__name a:hover { color: var(--ke-brand-600); }
.ke-prod__foot {
  margin-top: auto;
  padding-top: var(--ke-sp-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ke-sp-3);
}
.ke-price { display: flex; align-items: baseline; gap: var(--ke-sp-2); }
.ke-price__now {
  font-family: var(--ke-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ke-ink);
  letter-spacing: -0.02em;
}
.ke-price__was {
  font-size: var(--ke-fs-xs);
  color: var(--ke-muted);
  text-decoration: line-through;
}
.ke-prod__stock {
  font-size: 11px;
  font-weight: 700;
  color: var(--ke-success);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ke-prod__stock::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(31, 146, 84, 0.15);
}

/* ==========================================================================
   CATEGORY CARD
   ========================================================================== */
.ke-cat {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 230px;
  padding: var(--ke-sp-6);
  border-radius: var(--ke-r-xl);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(160deg, var(--cat-a, var(--ke-brand-600)), var(--cat-b, var(--ke-brand-900)));
  isolation: isolate;
  transition: transform var(--ke-dur) var(--ke-ease-out), box-shadow var(--ke-dur) var(--ke-ease);
}
.ke-cat:hover { transform: translateY(-6px); box-shadow: var(--ke-sh-xl); color: #fff; }
.ke-cat::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(90% 70% at 85% 8%, rgba(255, 255, 255, 0.22), transparent 62%);
}
.ke-cat::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -46px;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, 0.26);
  z-index: -1;
  transition: transform var(--ke-dur-slow) var(--ke-ease-out);
}
.ke-cat:hover::after { transform: scale(1.16) rotate(28deg); }
.ke-cat__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--ke-r-md);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  margin-bottom: auto;
  backdrop-filter: blur(4px);
}
.ke-cat__icon svg { width: 22px; height: 22px; }
.ke-cat__title {
  font-size: 1.3rem;
  color: #fff;
  margin: var(--ke-sp-5) 0 4px;
}
.ke-cat__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ke-sp-3);
  font-size: var(--ke-fs-xs);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}
.ke-cat__meta svg {
  width: 17px; height: 17px;
  transition: transform var(--ke-dur) var(--ke-ease-back);
}
.ke-cat:hover .ke-cat__meta svg { transform: translateX(5px); }
.ke-cat--tall { min-height: 100%; }

/* Photo-backed variant. The image sits at z-index -2, i.e. below the two
   decoration layers but above the card's own gradient, which stays as the
   fallback if the photo fails to load. ::before is re-declared as a dark
   bottom-up scrim so the white title holds up over any photograph. */
.ke-cat__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ke-dur-slow) var(--ke-ease-out);
}
.ke-cat--photo::before {
  background:
    radial-gradient(90% 60% at 85% 6%, rgba(255, 255, 255, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(8, 6, 6, 0.12) 0%, rgba(8, 6, 6, 0.44) 46%, rgba(8, 6, 6, 0.84) 100%);
}
.ke-cat--photo:hover .ke-cat__img { transform: scale(1.06); }

/* Glass chip and a taller tile so the image gets room to be a picture rather
   than a strip. The dashed-circle motif stays — it reads as the card's "go
   there" cue — just brightened so it holds up over a photograph. */
.ke-cat--photo { min-height: 300px; }
.ke-cat--photo::after {
  border-color: rgba(255, 255, 255, 0.42);
  border-width: 2px;
}
.ke-cat--photo .ke-cat__icon {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
}
.ke-cat--photo .ke-cat__title { letter-spacing: -0.01em; }
.ke-cat--photo .ke-cat__meta { color: rgba(255, 255, 255, 0.86); }

@media (prefers-reduced-motion: reduce) {
  .ke-cat--photo:hover .ke-cat__img { transform: none; }
}

/* ==========================================================================
   FEATURE CARD
   ========================================================================== */
.ke-feature {
  height: 100%;
  padding: var(--ke-sp-8) var(--ke-sp-6);
  background: var(--ke-surface);
  border: 1px solid var(--ke-line);
  border-radius: var(--ke-r-lg);
  position: relative;
  overflow: hidden;
  transition: transform var(--ke-dur) var(--ke-ease-out), box-shadow var(--ke-dur) var(--ke-ease), border-color var(--ke-dur) var(--ke-ease);
}
.ke-feature::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--ke-accent-500), var(--ke-brand-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ke-dur-slow) var(--ke-ease-out);
}
.ke-feature:hover { transform: translateY(-5px); box-shadow: var(--ke-sh-lg); border-color: var(--ke-brand-200); }
.ke-feature:hover::before { transform: scaleX(1); }
.ke-feature__icon {
  width: 54px;
  height: 54px;
  border-radius: var(--ke-r-md);
  background: var(--ke-brand-50);
  border: 1px solid var(--ke-brand-100);
  color: var(--ke-brand-ink);
  display: grid;
  place-items: center;
  margin-bottom: var(--ke-sp-5);
  transition: all var(--ke-dur) var(--ke-ease-back);
}
.ke-feature:hover .ke-feature__icon {
  background: var(--ke-brand-800);
  border-color: transparent;
  color: #fff;
  transform: rotate(-8deg) scale(1.06);
}
.ke-feature__icon svg { width: 24px; height: 24px; }
/* Icon-font icons (Line Awesome / Font Awesome) from the section builder */
.ke-feature__icon i { font-size: 24px; line-height: 1; }
.ke-feature h3 { font-size: 1.125rem; font-family: var(--ke-font-body); font-weight: 700; margin-bottom: var(--ke-sp-2); }
.ke-feature p { font-size: var(--ke-fs-sm); margin: 0; }

/* ==========================================================================
   STEP CARD
   ========================================================================== */
.ke-step { position: relative; padding-top: var(--ke-sp-4); }
.ke-step__num {
  font-family: var(--ke-font-display);
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--ke-brand-300);
  margin-bottom: var(--ke-sp-4);
  transition: color var(--ke-dur) var(--ke-ease);
}
.ke-step:hover .ke-step__num { color: var(--ke-accent-300); }
.ke-step h3 { font-size: 1.2rem; margin-bottom: var(--ke-sp-2); }
.ke-step p { font-size: var(--ke-fs-sm); margin: 0; }
.ke-step__rule {
  position: absolute;
  top: 2.2rem;
  left: 4.5rem;
  right: -2rem;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--ke-brand-200) 0 7px, transparent 7px 15px);
}

/* ==========================================================================
   TESTIMONIAL
   ========================================================================== */
.ke-quote {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--ke-sp-5);
  padding: var(--ke-sp-8) var(--ke-sp-6) var(--ke-sp-6);
  background: var(--ke-surface);
  border: 1px solid var(--ke-line);
  border-radius: var(--ke-r-lg);
  position: relative;
  transition: transform var(--ke-dur) var(--ke-ease-out), box-shadow var(--ke-dur) var(--ke-ease);
}
.ke-quote:hover { transform: translateY(-5px); box-shadow: var(--ke-sh-lg); }
.ke-quote__glyph {
  position: absolute;
  top: var(--ke-sp-5);
  right: var(--ke-sp-6);
  font-family: var(--ke-font-display);
  font-size: 4.5rem;
  line-height: 0.6;
  color: var(--ke-brand-100);
  pointer-events: none;
}
.ke-quote p {
  font-size: var(--ke-fs-sm);
  color: var(--ke-ink-soft);
  margin: 0;
  flex: 1 1 auto;
}
.ke-quote__author {
  display: flex;
  align-items: center;
  gap: var(--ke-sp-3);
  padding-top: var(--ke-sp-5);
  border-top: 1px solid var(--ke-line-soft);
}
.ke-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--ke-font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(145deg, var(--av-a, var(--ke-brand-500)), var(--av-b, var(--ke-brand-900)));
  flex: 0 0 auto;
  letter-spacing: -0.02em;
}
.ke-quote__name { display: block; font-weight: 700; font-size: var(--ke-fs-sm); color: var(--ke-ink); line-height: 1.3; }
.ke-quote__role { display: block; font-size: var(--ke-fs-xs); color: var(--ke-muted); }

/* ==========================================================================
   STAT
   ========================================================================== */
.ke-stat { text-align: center; padding: var(--ke-sp-4) var(--ke-sp-2); }
.ke-stat__num {
  font-family: var(--ke-font-display);
  font-size: clamp(2.25rem, 1.4rem + 3vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.ke-stat__suffix { color: var(--ke-accent-400); }
.ke-stat__label {
  margin-top: var(--ke-sp-3);
  font-size: var(--ke-fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--ke-c-on-dark) / 0.66);
}

/* ==========================================================================
   FORMS
   ========================================================================== */
.ke-field {
  width: 100%;
  padding: 0.95rem 1.2rem;
  border-radius: var(--ke-r-pill);
  border: 1px solid var(--ke-line);
  background: var(--ke-surface);
  color: var(--ke-ink);
  font-family: var(--ke-font-body);
  font-size: var(--ke-fs-sm);
  transition: border-color var(--ke-dur-fast) var(--ke-ease), box-shadow var(--ke-dur-fast) var(--ke-ease);
}
.ke-field::placeholder { color: var(--ke-muted); }
.ke-field:focus {
  outline: none;
  border-color: var(--ke-brand-500);
  box-shadow: 0 0 0 4px hsl(var(--ke-c-500) / 0.14);
}
.ke-field--dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.ke-field--dark::placeholder { color: hsl(var(--ke-c-on-dark) / 0.55); }
.ke-field--dark:focus {
  border-color: var(--ke-accent-400);
  box-shadow: 0 0 0 4px hsl(var(--ke-ca-500) / 0.18);
}

.ke-inline-form {
  display: flex;
  gap: var(--ke-sp-2);
  flex-wrap: wrap;
}
.ke-inline-form .ke-field { flex: 1 1 220px; }
.ke-form-note { font-size: var(--ke-fs-xs); color: var(--ke-muted); margin: var(--ke-sp-3) 0 0; }

/* Search popover in header */
.ke-search {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--ke-surface);
  border-bottom: 1px solid var(--ke-line);
  box-shadow: var(--ke-sh-md);
  padding: var(--ke-sp-5) 0;
  transform: translateY(-14px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--ke-dur) var(--ke-ease);
}
.ke-search.is-open { transform: none; opacity: 1; visibility: visible; }
.ke-search__row { display: flex; gap: var(--ke-sp-3); align-items: center; }
.ke-search__suggest {
  display: flex;
  gap: var(--ke-sp-2);
  flex-wrap: wrap;
  margin-top: var(--ke-sp-4);
  align-items: center;
}
.ke-search__suggest span { font-size: var(--ke-fs-xs); color: var(--ke-muted); font-weight: 600; }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.ke-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ke-marquee__track {
  display: flex;
  align-items: center;
  gap: var(--ke-sp-12);
  width: max-content;
  animation: ke-scroll 34s linear infinite;
}
.ke-marquee:hover .ke-marquee__track { animation-play-state: paused; }
@keyframes ke-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ke-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: var(--ke-sp-3);
  font-family: var(--ke-font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ke-muted);
  white-space: nowrap;
  transition: color var(--ke-dur) var(--ke-ease);
}
.ke-marquee__item:hover { color: var(--ke-brand-ink); }
.ke-marquee__item svg { width: 20px; height: 20px; opacity: 0.75; }

/* ==========================================================================
   HORIZONTAL SCROLL RAIL
   ========================================================================== */
.ke-rail {
  display: flex;
  gap: var(--ke-sp-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: var(--ke-sp-2) var(--ke-sp-1) var(--ke-sp-6);
  margin-inline: calc(var(--ke-sp-1) * -1);
  scrollbar-width: thin;
}
.ke-rail > * {
  flex: 0 0 clamp(240px, 26vw, 300px);
  scroll-snap-align: start;
}
.ke-rail-nav { display: flex; gap: var(--ke-sp-2); }
.ke-rail-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--ke-line);
  background: var(--ke-surface);
  color: var(--ke-ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all var(--ke-dur-fast) var(--ke-ease);
}
.ke-rail-nav button:hover { background: var(--ke-brand-800); color: #fff; border-color: transparent; transform: translateY(-2px); }
.ke-rail-nav button:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }
.ke-rail-nav svg { width: 18px; height: 18px; }

/* ==========================================================================
   MISC
   ========================================================================== */
.ke-divider-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ke-brand-300);
  display: inline-block;
}

.ke-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, calc(100% + 40px)); /* fully clear of the viewport at rest */
  z-index: var(--ke-z-toast);
  background: var(--ke-brand-900);
  color: #fff;
  padding: 0.85rem 1.4rem;
  border-radius: var(--ke-r-pill);
  box-shadow: var(--ke-sh-xl);
  font-size: var(--ke-fs-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--ke-sp-2);
  transition: transform var(--ke-dur) var(--ke-ease-back);
}
.ke-toast.is-open { transform: translate(-50%, 0); }
.ke-toast svg { width: 17px; height: 17px; color: var(--ke-accent-400); }


/* ==========================================================================
   SECTION: SECTIONS
   ========================================================================== */

/* ==========================================================================
   KIAM EXPRESS — 05 SECTIONS
   Composition-level styles unique to each page block
   ========================================================================== */

/* ==========================================================================
   HERO
   ========================================================================== */
.ke-hero {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.75rem) 0 clamp(2rem, 3.5vw, 3rem);
  overflow: hidden;
  background:
    radial-gradient(70% 55% at 88% 4%, var(--ke-brand-100), transparent 62%),
    radial-gradient(55% 45% at 4% 92%, var(--ke-accent-100), transparent 60%),
    var(--ke-paper);
}
/* Subtle grid texture */
.ke-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--ke-line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--ke-line-soft) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(78% 68% at 50% 22%, #000, transparent 78%);
  mask-image: radial-gradient(78% 68% at 50% 22%, #000, transparent 78%);
  opacity: 0.75;
  pointer-events: none;
}
.ke-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.ke-hero__copy { max-width: 40ch; }
.ke-hero h1 { margin-bottom: var(--ke-sp-4); }
.ke-hero .ke-lead { margin-bottom: var(--ke-sp-6); max-width: 46ch; }
.ke-hero__cta {
  display: flex;
  gap: var(--ke-sp-3);
  flex-wrap: wrap;
  margin-bottom: var(--ke-sp-6);
}
.ke-hero__trust {
  display: flex;
  align-items: center;
  gap: var(--ke-sp-5);
  flex-wrap: wrap;
  padding-top: var(--ke-sp-4);
  border-top: 1px solid var(--ke-line);
}
.ke-hero__trust-item { display: flex; align-items: center; gap: var(--ke-sp-3); }
.ke-hero__trust-num {
  display: block;
  font-family: var(--ke-font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ke-ink);
  line-height: 1;
}
.ke-hero__trust-label {
  display: block;
  font-size: var(--ke-fs-xs);
  color: var(--ke-muted);
  line-height: 1.35;
  max-width: 14ch;
}
.ke-hero__stack {
  display: flex;
  margin-right: var(--ke-sp-1);
}
.ke-hero__stack .ke-avatar {
  width: 34px;
  height: 34px;
  font-size: 0.75rem;
  border: 2px solid var(--ke-paper);
  margin-left: -10px;
}
.ke-hero__stack .ke-avatar:first-child { margin-left: 0; }

/* --- Hero visual --- */
.ke-hero__visual { position: relative; }
.ke-hero__frame {
  position: relative;
  border-radius: var(--ke-r-2xl);
  padding: clamp(1rem, 2vw, 1.75rem);
  background: linear-gradient(155deg, var(--ke-brand-700), var(--ke-brand-950) 72%);
  box-shadow: var(--ke-sh-xl);
  overflow: hidden;
  isolation: isolate;
}
.ke-hero__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 45% at 82% 6%, hsl(var(--ke-ca-500) / 0.34), transparent 62%),
    radial-gradient(50% 40% at 8% 96%, hsl(var(--ke-c-400) / 0.36), transparent 62%);
}
.ke-hero__frame-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ke-sp-4);
  margin-bottom: var(--ke-sp-3);
}
.ke-hero__frame-label {
  font-size: var(--ke-fs-xs);
  font-weight: 700;
  letter-spacing: var(--ke-track-wide);
  text-transform: uppercase;
  color: var(--ke-accent-400);
}
.ke-hero__showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: var(--ke-sp-3);
  /* --lift raises every other card by 12px, which eats the row gap entirely on
     the column where a lifted card sits below an unlifted one. Pay that 12px
     back here so the tight side still clears. */
  row-gap: calc(var(--ke-sp-3) + 12px);
}
.ke-showcase-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--ke-r-lg);
  padding: var(--ke-sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--ke-sp-2);
  box-shadow: var(--ke-sh-md);
  transition: transform var(--ke-dur) var(--ke-ease-out);
}
.ke-showcase-card:hover { transform: translateY(-5px) scale(1.015); }
.ke-showcase-card--lift { transform: translateY(-12px); }
.ke-showcase-card--lift:hover { transform: translateY(-18px) scale(1.015); }
.ke-showcase-card__art {
  aspect-ratio: 1 / 0.68;
  border-radius: var(--ke-r-md);
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--art-a), var(--art-b));
}
.ke-showcase-card__art svg { width: 44%; height: 44%; color: var(--art-fg, var(--ke-brand-800)); }
.ke-showcase-card__art--photo { overflow: hidden; }
.ke-showcase-card__art--photo img { width: 100%; height: 100%; object-fit: cover; }
.ke-showcase-card__name {
  font-size: var(--ke-fs-xs);
  font-weight: 700;
  color: var(--ke-ink);
  line-height: 1.35;
}
.ke-showcase-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ke-sp-2);
}
.ke-showcase-card__price {
  font-family: var(--ke-font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ke-ink);
}

/* Floating info cards */
.ke-float {
  position: absolute;
  z-index: 3;
  background: var(--ke-surface);
  border: 1px solid var(--ke-line);
  border-radius: var(--ke-r-md);
  box-shadow: var(--ke-sh-lg);
  padding: var(--ke-sp-3) var(--ke-sp-4);
  display: flex;
  align-items: center;
  gap: var(--ke-sp-3);
  animation: ke-bob 6s var(--ke-ease) infinite;
}
.ke-float--a { left: clamp(-3rem, -3vw, -1.25rem); top: 7%; }
.ke-float--b { right: clamp(-3rem, -3vw, -1.25rem); bottom: -1.25rem; animation-delay: -3s; }
.ke-float__icon {
  width: 34px; height: 34px;
  border-radius: var(--ke-r-sm);
  display: grid;
  place-items: center;
  background: var(--ke-brand-100);
  color: var(--ke-brand-ink);
  flex: 0 0 auto;
}
.ke-float__icon--accent { background: var(--ke-accent-100); color: var(--ke-accent-700); }
.ke-float__icon svg { width: 17px; height: 17px; }
.ke-float__icon i { font-size: 17px; line-height: 1; }
.ke-float__title { display: block; font-size: var(--ke-fs-xs); font-weight: 800; color: var(--ke-ink); line-height: 1.2; }
.ke-float__sub { display: block; font-size: 11px; color: var(--ke-muted); }
@keyframes ke-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-11px); }
}

/* ==========================================================================
   TRUST / MARQUEE STRIP
   ========================================================================== */
.ke-strip {
  border-block: 1px solid var(--ke-line);
  background: var(--ke-surface);
  padding: var(--ke-sp-3) 0;
}

/* ==========================================================================
   CATEGORY GRID (asymmetric bento)
   ========================================================================== */
.ke-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--ke-sp-5);
}
.ke-bento > *:nth-child(1) { grid-column: span 2; }
.ke-bento > *:nth-child(4) { grid-column: span 2; }
.ke-bento > *:nth-child(5) { grid-column: span 2; }
.ke-bento > *:nth-child(8) { grid-column: span 2; }
/* Condensed homepage preview: 4 even tiles, no asymmetric spans */
.ke-bento--compact > * { grid-column: span 1 !important; }
/* Six-category grid (cookware taxonomy): two even rows of wide+narrow+narrow */
.ke-bento--six > *:nth-child(5) { grid-column: span 1; }
/* Seven-category grid: two rows of wide+narrow+narrow, then the wide tile alone */
.ke-bento--seven > *:nth-child(5) { grid-column: span 1; }
.ke-bento--seven > *:nth-child(7) { grid-column: span 2; }

/* ==========================================================================
   DEAL / PROMO SPLIT
   ========================================================================== */
.ke-deal {
  position: relative;
  border-radius: var(--ke-r-2xl);
  overflow: hidden;
  background: linear-gradient(120deg, var(--ke-brand-900), var(--ke-brand-700) 58%, var(--ke-brand-600));
  color: #fff;
  isolation: isolate;
}
.ke-deal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(48% 70% at 92% 12%, hsl(var(--ke-ca-500) / 0.36), transparent 64%),
    radial-gradient(40% 60% at 4% 100%, rgba(255, 255, 255, 0.14), transparent 62%);
}
.ke-deal__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2.25rem, 5vw, 4.25rem);
}
.ke-deal h2 { color: #fff; margin-bottom: var(--ke-sp-4); }
.ke-deal p { color: hsl(var(--ke-c-on-dark) / 0.8); margin-bottom: var(--ke-sp-6); max-width: 44ch; }

.ke-countdown { display: flex; gap: var(--ke-sp-3); margin-bottom: var(--ke-sp-8); }
.ke-count-box {
  min-width: 74px;
  padding: var(--ke-sp-3) var(--ke-sp-2);
  border-radius: var(--ke-r-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
  backdrop-filter: blur(6px);
}
.ke-count-box__val {
  font-family: var(--ke-font-display);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.ke-count-box__lab {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(var(--ke-c-on-dark) / 0.66);
  margin-top: 6px;
  font-weight: 700;
}

.ke-deal__panel {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--ke-r-xl);
  padding: var(--ke-sp-6);
  box-shadow: var(--ke-sh-xl);
  color: var(--ke-ink);
}
.ke-deal__panel h3 { font-size: 1.15rem; font-family: var(--ke-font-body); font-weight: 700; }
.ke-deal__list { display: grid; gap: var(--ke-sp-3); margin: var(--ke-sp-5) 0; }
.ke-deal__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--ke-sp-3);
  font-size: var(--ke-fs-sm);
  color: var(--ke-ink-soft);
}
.ke-deal__list svg { width: 18px; height: 18px; color: var(--ke-brand-600); flex: 0 0 auto; margin-top: 2px; }
.ke-deal__code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ke-sp-3);
  padding: var(--ke-sp-3) var(--ke-sp-4);
  border: 1.5px dashed var(--ke-brand-300);
  border-radius: var(--ke-r-md);
  background: var(--ke-brand-50);
}
.ke-deal__code code {
  font-family: var(--ke-font-mono);
  font-weight: 700;
  font-size: var(--ke-fs-sm);
  color: var(--ke-brand-800);
  letter-spacing: 0.08em;
}

/* ==========================================================================
   STATS BAND
   ========================================================================== */
.ke-stats-band {
  background: var(--ke-brand-900);
  position: relative;
  overflow: hidden;
}
.ke-stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 80% at 12% 0%, hsl(var(--ke-c-500) / 0.4), transparent 62%),
    radial-gradient(40% 80% at 88% 100%, hsl(var(--ke-ca-500) / 0.18), transparent 62%);
  pointer-events: none;
}
.ke-stats-band .ke-container { position: relative; }
.ke-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--ke-sp-6);
}
.ke-stats-grid > * + * { border-left: 1px solid rgba(255, 255, 255, 0.1); }

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.ke-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
}
.ke-steps > *:last-child .ke-step__rule { display: none; }

/* ==========================================================================
   NEWSLETTER
   ========================================================================== */
.ke-news {
  border-radius: var(--ke-r-2xl);
  background: var(--ke-brand-950);
  color: #fff;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.ke-news::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(48% 60% at 50% -6%, hsl(var(--ke-c-500) / 0.45), transparent 66%),
    radial-gradient(30% 45% at 92% 100%, hsl(var(--ke-ca-500) / 0.24), transparent 62%);
  pointer-events: none;
}
.ke-news__inner { position: relative; max-width: 600px; margin-inline: auto; }
.ke-news h2 { color: #fff; }
.ke-news p { color: hsl(var(--ke-c-on-dark) / 0.74); }
.ke-news .ke-inline-form { margin-top: var(--ke-sp-8); }
.ke-news .ke-form-note { color: hsl(var(--ke-c-on-dark) / 0.55); }

/* ==========================================================================
   GUARANTEE STRIP (above footer)
   ========================================================================== */
.ke-guarantee {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--ke-sp-5);
}
.ke-guarantee__item {
  display: flex;
  align-items: center;
  gap: var(--ke-sp-4);
}
.ke-guarantee__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--ke-r-sm);
  background: var(--ke-brand-50);
  color: var(--ke-brand-ink);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--ke-brand-100);
}
.ke-guarantee__icon svg { width: 21px; height: 21px; }
.ke-guarantee__icon i { font-size: 21px; line-height: 1; }
.ke-guarantee__title { display: block; font-weight: 700; font-size: var(--ke-fs-sm); color: var(--ke-ink); line-height: 1.3; }
.ke-guarantee__sub { display: block; font-size: var(--ke-fs-xs); color: var(--ke-muted); }

/* ==========================================================================
   EDITORIAL SPLIT (brand story)
   ========================================================================== */
.ke-story {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.ke-story__art {
  position: relative;
  border-radius: var(--ke-r-2xl);
  aspect-ratio: 4 / 4.2;
  background: linear-gradient(160deg, var(--ke-brand-100), var(--ke-surface-2) 55%, var(--ke-accent-100));
  border: 1px solid var(--ke-line);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.ke-story__art::before {
  content: "";
  position: absolute;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px dashed var(--ke-brand-300);
  animation: ke-spin 46s linear infinite;
}
.ke-story__art::after {
  content: "";
  position: absolute;
  width: 84%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--ke-brand-200);
}
@keyframes ke-spin { to { transform: rotate(360deg); } }
.ke-story__seal {
  position: relative;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--ke-brand-700), var(--ke-brand-950));
  display: grid;
  place-items: center;
  box-shadow: var(--ke-sh-xl);
  color: var(--ke-accent-400);
}
.ke-story__seal svg { width: 42%; height: 42%; }
.ke-story__badge {
  position: absolute;
  bottom: var(--ke-sp-6);
  left: var(--ke-sp-6);
  right: var(--ke-sp-6);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid var(--ke-line);
  border-radius: var(--ke-r-md);
  padding: var(--ke-sp-4);
  display: flex;
  align-items: center;
  gap: var(--ke-sp-4);
  box-shadow: var(--ke-sh-md);
}
.ke-story__list { display: grid; gap: var(--ke-sp-4); margin-top: var(--ke-sp-6); }
.ke-story__list li {
  display: flex;
  gap: var(--ke-sp-4);
  align-items: flex-start;
}
.ke-story__list-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--ke-brand-800);
  color: #fff;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.ke-story__list-icon svg { width: 15px; height: 15px; }
/* The builder supplies this badge as a Line Awesome <i>, not an svg. */
.ke-story__list-icon i { font-size: 15px; line-height: 1; }
.ke-story__list strong { display: block; color: var(--ke-ink); font-size: var(--ke-fs-sm); margin-bottom: 2px; }
.ke-story__list span { font-size: var(--ke-fs-sm); color: var(--ke-text-soft); }
/* The icon badge is a <span> too, so the muted body colour above outranked its
   own `color: #fff` and left the glyph unreadable on the dark circle. */
.ke-story__list .ke-story__list-icon { color: #fff; }

/* ==========================================================================
   PRODUCT DETAIL (PDP)
   ========================================================================== */
.ke-crumbs { margin-bottom: var(--ke-sp-6); }
.ke-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ke-sp-2);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--ke-fs-xs);
  color: var(--ke-muted);
}
.ke-crumbs li + li::before {
  content: "/";
  margin-right: var(--ke-sp-2);
  color: var(--ke-line);
}
.ke-crumbs a { color: var(--ke-muted); text-decoration: none; }
.ke-crumbs a:hover { color: var(--ke-brand-700); }
.ke-crumbs [aria-current] { color: var(--ke-ink); font-weight: 600; }

.ke-pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

/* ---------- Gallery ---------- */
.ke-gallery__stage {
  position: relative;
  border-radius: var(--ke-r-xl);
  overflow: hidden;
  background: var(--ke-surface);
  border: 1px solid var(--ke-line);
  aspect-ratio: 1 / 1;
}
.ke-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Cross-faded by initGallery: it drops .is-swapping once the new src decodes */
  transition: opacity var(--ke-dur) var(--ke-ease);
}
.ke-gallery__img.is-swapping { opacity: 0; }
.ke-gallery__flag { position: absolute; top: var(--ke-sp-4); left: var(--ke-sp-4); }
.ke-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--ke-sp-3);
  margin-top: var(--ke-sp-3);
}
.ke-gallery__thumb {
  padding: 0;
  border: 1.5px solid var(--ke-line);
  border-radius: var(--ke-r-md);
  overflow: hidden;
  background: var(--ke-surface);
  cursor: pointer;
  aspect-ratio: 1 / 1;
  transition: border-color var(--ke-dur) var(--ke-ease), transform var(--ke-dur) var(--ke-ease-out);
}
.ke-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ke-gallery__thumb:hover { transform: translateY(-2px); }
.ke-gallery__thumb.is-active { border-color: var(--ke-brand-700); }

/* ---------- Buy box ---------- */
.ke-buy__title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: var(--ke-sp-2) 0 var(--ke-sp-3); }
.ke-buy__meta {
  display: flex;
  align-items: center;
  gap: var(--ke-sp-3);
  flex-wrap: wrap;
  font-size: var(--ke-fs-xs);
  color: var(--ke-muted);
}
.ke-buy__price { margin: var(--ke-sp-5) 0; align-items: baseline; gap: var(--ke-sp-3); }
.ke-buy__price .ke-price__now { font-size: 2.1rem; }
.ke-buy__desc { margin-bottom: var(--ke-sp-5); }
.ke-buy__points { display: grid; gap: var(--ke-sp-3); list-style: none; margin: 0 0 var(--ke-sp-5); padding: 0; }
.ke-buy__points li { display: flex; gap: var(--ke-sp-3); font-size: var(--ke-fs-sm); }
.ke-buy__points svg { width: 18px; height: 18px; color: var(--ke-brand-600); flex: 0 0 auto; margin-top: 3px; }
.ke-buy__stock {
  display: flex;
  align-items: center;
  gap: var(--ke-sp-2);
  font-size: var(--ke-fs-sm);
  font-weight: 600;
  color: var(--ke-ink);
  margin-bottom: var(--ke-sp-5);
}
.ke-buy__dot { width: 8px; height: 8px; border-radius: 50%; background: #17A673; flex: 0 0 auto; }
.ke-buy__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ke-sp-3);
  padding-bottom: var(--ke-sp-6);
  border-bottom: 1px solid var(--ke-line);
}
.ke-buy__actions .ke-btn--primary { flex: 1 1 190px; }
.ke-buy__wish { padding-inline: var(--ke-sp-5); }
.ke-buy__wish.is-on { color: var(--ke-brand-700); border-color: var(--ke-brand-700); }
.ke-buy__assure { display: grid; gap: var(--ke-sp-3); list-style: none; margin: var(--ke-sp-6) 0 0; padding: 0; }
.ke-buy__assure li { display: flex; gap: var(--ke-sp-3); font-size: var(--ke-fs-sm); color: var(--ke-muted); }
.ke-buy__assure svg { width: 19px; height: 19px; color: var(--ke-ink); flex: 0 0 auto; }

/* ---------- Quantity stepper ---------- */
.ke-qty {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--ke-line);
  border-radius: var(--ke-r-pill);
  overflow: hidden;
  background: var(--ke-paper);
}
.ke-qty button {
  width: 44px;
  height: 52px;
  border: 0;
  background: transparent;
  font-size: 1.15rem;
  color: var(--ke-ink);
  cursor: pointer;
  transition: background var(--ke-dur) var(--ke-ease);
}
.ke-qty button:hover { background: var(--ke-brand-50); }
.ke-qty input {
  width: 46px;
  height: 52px;
  border: 0;
  background: transparent;
  text-align: center;
  font: inherit;
  font-weight: 700;
  color: var(--ke-ink);
  -moz-appearance: textfield;
  appearance: textfield;
}
.ke-qty input::-webkit-outer-spin-button,
.ke-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- Description + specs ---------- */
.ke-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.ke-detail h3 { margin: var(--ke-sp-6) 0 var(--ke-sp-4); }
.ke-specs {
  background: var(--ke-paper);
  border: 1px solid var(--ke-line);
  border-radius: var(--ke-r-lg);
  padding: var(--ke-sp-6);
}
.ke-specs h3 { margin-top: 0; }
.ke-spec-table { width: 100%; border-collapse: collapse; font-size: var(--ke-fs-sm); }
.ke-spec-table th,
.ke-spec-table td { padding: var(--ke-sp-3) 0; border-bottom: 1px solid var(--ke-line); text-align: left; }
.ke-spec-table tr:last-child th,
.ke-spec-table tr:last-child td { border-bottom: 0; }
.ke-spec-table th { color: var(--ke-muted); font-weight: 500; width: 45%; }
.ke-spec-table td { color: var(--ke-ink); font-weight: 600; }

/* ==========================================================================
   CART / CHECKOUT
   ========================================================================== */
.ke-cart-empty {
  text-align: center;
  max-width: 46ch;
  margin-inline: auto;
  padding: var(--ke-sp-12) 0;
}
.ke-cart-empty .ke-feature__icon { margin-inline: auto; margin-bottom: var(--ke-sp-5); }
.ke-cart-empty p { margin-bottom: var(--ke-sp-6); }

.ke-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

/* ---------- Line items ---------- */
.ke-cart-list { list-style: none; margin: 0 0 var(--ke-sp-8); padding: 0; }
.ke-cart-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: var(--ke-sp-4);
  align-items: center;
  padding: var(--ke-sp-4) 0;
  border-bottom: 1px solid var(--ke-line);
}
.ke-cart-row:first-child { border-top: 1px solid var(--ke-line); }
.ke-cart-row__img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: var(--ke-r-md);
  background: var(--ke-surface);
}
.ke-cart-row__name { font-size: 1.05rem; margin: 2px 0 4px; }
.ke-cart-row__unit { font-size: var(--ke-fs-xs); color: var(--ke-muted); }
.ke-cart-row__controls {
  display: flex;
  align-items: center;
  gap: var(--ke-sp-4);
}
.ke-cart-row__line { font-weight: 700; min-width: 6ch; text-align: right; }
.ke-cart-row__remove {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: var(--ke-fs-xs);
  color: var(--ke-muted);
  text-decoration: underline;
  cursor: pointer;
}
.ke-cart-row__remove:hover { color: var(--ke-brand-700); }
.ke-cart-row .ke-qty button { width: 34px; height: 40px; }
.ke-cart-row .ke-qty input { width: 38px; height: 40px; }

/* ---------- Delivery form ---------- */
.ke-checkout__heading { font-size: 1.45rem; margin-bottom: var(--ke-sp-5); }
.ke-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ke-sp-4);
}
.ke-field-group { margin-bottom: var(--ke-sp-4); display: grid; gap: 6px; }
.ke-field-group label { font-size: var(--ke-fs-sm); font-weight: 600; color: var(--ke-ink); }
.ke-field-group label span[aria-hidden] { color: var(--ke-brand-700); }
.ke-field-opt { font-weight: 400; color: var(--ke-muted); }
.ke-field-group textarea.ke-field { resize: vertical; min-height: 84px; }
.ke-field.is-invalid { border-color: var(--ke-brand-700); }
.ke-field-error {
  font-size: var(--ke-fs-xs);
  color: var(--ke-brand-700);
  min-height: 1em;
}

/* ---------- Summary ---------- */
.ke-summary {
  background: var(--ke-paper);
  border: 1px solid var(--ke-line);
  border-radius: var(--ke-r-lg);
  padding: var(--ke-sp-6);
  position: sticky;
  top: calc(var(--ke-header-h) + var(--ke-sp-5));
}
.ke-summary h2 { font-size: 1.25rem; margin-bottom: var(--ke-sp-5); }
.ke-summary__rows { margin: 0; }
.ke-summary__rows > div {
  display: flex;
  justify-content: space-between;
  gap: var(--ke-sp-3);
  padding: var(--ke-sp-2) 0;
  font-size: var(--ke-fs-sm);
}
.ke-summary__rows dt { color: var(--ke-muted); }
.ke-summary__rows dd { margin: 0; font-weight: 600; }
.ke-summary__hint { font-size: var(--ke-fs-xs); color: var(--ke-muted); margin: var(--ke-sp-2) 0 0; }
.ke-summary__hint:empty { display: none; }
.ke-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--ke-sp-3);
  margin: var(--ke-sp-4) 0 var(--ke-sp-5);
  padding-top: var(--ke-sp-4);
  border-top: 1px solid var(--ke-line);
  font-family: var(--ke-font-display);
  font-size: 1.5rem;
  font-weight: 700;
}
.ke-summary__fine { font-size: var(--ke-fs-xs); color: var(--ke-muted); margin: var(--ke-sp-4) 0 0; }
.ke-summary .ke-buy__assure { margin-top: var(--ke-sp-5); padding-top: var(--ke-sp-5); border-top: 1px solid var(--ke-line); }

/* ---------- Confirmation ---------- */
.ke-confirm { text-align: center; max-width: 52ch; margin-inline: auto; padding: var(--ke-sp-12) 0; }
.ke-confirm__tick {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto var(--ke-sp-5);
  background: var(--ke-brand-50);
  color: var(--ke-brand-700);
}
.ke-confirm__tick svg { width: 30px; height: 30px; }
.ke-confirm__sync { font-size: var(--ke-fs-sm); color: var(--ke-muted); }
.ke-confirm__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ke-sp-3);
  justify-content: center;
  margin-top: var(--ke-sp-6);
}

/* ==========================================================================
   ADMIN — order cards
   ========================================================================== */
.ke-note {
  display: flex;
  gap: var(--ke-sp-4);
  padding: var(--ke-sp-5);
  border-radius: var(--ke-r-lg);
  margin-bottom: var(--ke-sp-8);
  font-size: var(--ke-fs-sm);
}
.ke-note svg { width: 22px; height: 22px; flex: 0 0 auto; }
.ke-note p { margin: 0; }
.ke-note--warn {
  background: var(--ke-accent-100, #FFF3DC);
  border: 1px solid var(--ke-accent-400, #F5A623);
  color: var(--ke-ink);
}

.ke-orders { display: grid; gap: var(--ke-sp-5); }
.ke-order {
  border: 1px solid var(--ke-line);
  border-radius: var(--ke-r-lg);
  background: var(--ke-surface);
  padding: var(--ke-sp-5);
}
.ke-order__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--ke-sp-4);
  padding-bottom: var(--ke-sp-4);
  border-bottom: 1px solid var(--ke-line);
}
.ke-order__ref { display: block; font-family: var(--ke-font-mono); font-weight: 600; }
.ke-order__when { display: block; font-size: var(--ke-fs-xs); color: var(--ke-muted); }
.ke-order__status.is-confirmed { background: var(--ke-brand-100); color: var(--ke-brand-800); }
.ke-order__status.is-dispatched { background: #DCF5EA; color: #0B6B4A; }
.ke-order__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ke-sp-6);
  padding: var(--ke-sp-5) 0;
}
.ke-order__grid h3 { font-size: var(--ke-fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--ke-muted); margin-bottom: var(--ke-sp-3); }
.ke-order__grid p { font-size: var(--ke-fs-sm); margin-bottom: var(--ke-sp-3); }
.ke-order__pay { font-size: var(--ke-fs-sm); }
.ke-order__items { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--ke-sp-2); font-size: var(--ke-fs-sm); }
.ke-order__items li { display: flex; justify-content: space-between; gap: var(--ke-sp-3); }
.ke-order__totals { margin-top: var(--ke-sp-3); padding-top: var(--ke-sp-3); border-top: 1px solid var(--ke-line); }
.ke-order__foot { display: flex; flex-wrap: wrap; gap: var(--ke-sp-2); padding-top: var(--ke-sp-4); border-top: 1px solid var(--ke-line); }

/* ==========================================================================
   WHATSAPP FLOAT
   ========================================================================== */
/* Sizing and placement now live with the rest of the stack, in the LAYOUT section
   (.ke-fabs / .ke-fab). Only the brand shadow is specific to WhatsApp. */
.ke-fab--wa { box-shadow: 0 12px 28px -10px rgba(37, 211, 102, 0.75); }

/* ---------- Bundle contents: the four products, shown ---------- */
.ke-deal__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ke-sp-3);
  list-style: none;
  margin: var(--ke-sp-5) 0 var(--ke-sp-3);
  padding: 0;
}
.ke-deal__items a {
  display: grid;
  gap: 4px;
  text-decoration: none;
  color: inherit;
}
.ke-deal__item-art {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--ke-r-md);
  overflow: hidden;
  background: var(--ke-surface);
  border: 1px solid var(--ke-line);
}
.ke-deal__item-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ke-dur-slow) var(--ke-ease-out);
}
.ke-deal__items a:hover .ke-deal__item-art img { transform: scale(1.07); }
.ke-deal__item-name {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ke-ink);
}
.ke-deal__item-price {
  display: block;
  font-size: var(--ke-fs-xs);
  color: var(--ke-muted);
}
/* Individual prices add up to this, so the 30% claim is checkable on the page */
.ke-deal__sum {
  font-size: var(--ke-fs-xs);
  color: var(--ke-muted);
  margin: 0 0 var(--ke-sp-4);
}
/* `.ke-deal p` paints the copy on the dark side of the split near-white, and it
   outranks `.ke-deal__sum`, so the "bought separately" line was rendering white
   on the light panel. The panel opts its own paragraphs back out. */
.ke-deal__panel p {
  color: var(--ke-muted);
  margin-bottom: var(--ke-sp-4);
  max-width: none;
}

@media (prefers-reduced-motion: reduce) {
  .ke-deal__items a:hover .ke-deal__item-art img { transform: none; }
}

/* ==========================================================================
   CATEGORY LANDING BANNER
   Full-bleed masthead at the top of every generated category page. Ships as
   a brand gradient; set `img` on the category in build.js and the photo
   layers in underneath the scrim without any other change.
   ========================================================================== */
.ke-cathero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(280px, 34vw, 420px);
  padding-block: var(--ke-sp-12) var(--ke-sp-10);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(150deg, var(--cat-a, var(--ke-brand-600)), var(--cat-b, var(--ke-brand-950)));
  isolation: isolate;
}
/* Same highlight + dashed ring the category tiles use, so the banner reads as
   the big sibling of the card you clicked to get here. */
.ke-cathero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(70% 80% at 88% 6%, rgba(255, 255, 255, 0.2), transparent 62%);
}
.ke-cathero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, 0.24);
  z-index: -1;
}
.ke-cathero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Only needed when a photo is present — without it the gradient is the scrim. */
.ke-cathero:has(.ke-cathero__img)::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.62)),
    radial-gradient(70% 80% at 88% 6%, rgba(255, 255, 255, 0.14), transparent 62%);
}
.ke-cathero__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--ke-r-md);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  margin-bottom: var(--ke-sp-4);
  backdrop-filter: blur(4px);
}
.ke-cathero__icon svg { width: 24px; height: 24px; }
.ke-cathero__title {
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 var(--ke-sp-3);
}
.ke-cathero__desc {
  max-width: 52ch;
  margin: 0;
  font-size: var(--ke-fs-lead);
  color: rgba(255, 255, 255, 0.84);
}
/* The shared breadcrumb is tuned for the white PDP page — relight it here. */
.ke-cathero .ke-crumbs ol { color: rgba(255, 255, 255, 0.72); }
.ke-cathero .ke-crumbs a { color: rgba(255, 255, 255, 0.72); }
.ke-cathero .ke-crumbs a:hover { color: #fff; }
.ke-cathero .ke-crumbs li + li::before { color: rgba(255, 255, 255, 0.4); }
.ke-cathero .ke-crumbs [aria-current] { color: #fff; }

/* ==========================================================================
   LIVE CHAT PANEL
   Anchored to the same corner as .ke-fabs and sized to clear the stack.
   ========================================================================== */
/* Placed by .ke-fab-dock (LAYOUT section) — it sits directly above the button
   column, so nothing here needs to know how many buttons are showing. */
.ke-chat {
  width: min(340px, calc(100vw - 2rem));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--ke-r-xl);
  border: 1px solid var(--ke-line);
  background: var(--ke-surface);
  box-shadow: var(--ke-sh-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity var(--ke-dur) var(--ke-ease), transform var(--ke-dur) var(--ke-ease-out), visibility var(--ke-dur);
}
.ke-chat.is-open { opacity: 1; visibility: visible; transform: none; }

/* Identity step gates the thread until a name/number is on file. */
.ke-chat:not(.has-identity) .ke-chat__body,
.ke-chat:not(.has-identity) .ke-chat__form { display: none; }
.ke-chat.has-identity .ke-chat__identity { display: none; }

.ke-chat__head {
  display: flex;
  align-items: center;
  gap: var(--ke-sp-3);
  padding: var(--ke-sp-4);
  background: linear-gradient(135deg, var(--ke-brand-700), var(--ke-brand-900));
  color: #fff;
}
.ke-chat__avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
}
.ke-chat__avatar svg { width: 19px; height: 19px; }
.ke-chat__title { display: block; font-size: var(--ke-fs-sm); line-height: 1.3; }
.ke-chat__status {
  display: flex;
  align-items: center;
  gap: var(--ke-sp-2);
  font-size: var(--ke-fs-xs);
  color: rgba(255, 255, 255, 0.82);
}
.ke-chat__status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35D07F;
  box-shadow: 0 0 0 3px rgba(53, 208, 127, 0.28);
}
.ke-chat__close {
  margin-left: auto;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
}
.ke-chat__close:hover { background: rgba(255, 255, 255, 0.28); }
.ke-chat__close svg { width: 15px; height: 15px; }

.ke-chat__identity {
  display: flex;
  flex-direction: column;
  gap: var(--ke-sp-3);
  padding: var(--ke-sp-4);
  background: var(--ke-bg);
}
.ke-chat__identity-lead { margin: 0; font-size: var(--ke-fs-sm); color: var(--ke-text-soft); }
.ke-chat__identity form { display: flex; flex-direction: column; gap: var(--ke-sp-2); }

.ke-chat__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--ke-sp-2);
  padding: var(--ke-sp-4);
  max-height: 46vh;
  overflow-y: auto;
  background: var(--ke-bg);
}
.ke-chat__msg {
  max-width: 88%;
  margin: 0;
  padding: var(--ke-sp-3) var(--ke-sp-4);
  border-radius: var(--ke-r-lg);
  border-bottom-left-radius: var(--ke-sp-1);
  background: var(--ke-surface);
  border: 1px solid var(--ke-line);
  font-size: var(--ke-fs-sm);
  color: var(--ke-text-soft);
}
/* Visitor's own messages mirror to the other side. */
.ke-chat__msg--out {
  align-self: flex-end;
  border-bottom-left-radius: var(--ke-r-lg);
  border-bottom-right-radius: var(--ke-sp-1);
  background: var(--ke-brand-700);
  border-color: transparent;
  color: #fff;
}

.ke-chat__form {
  display: flex;
  gap: var(--ke-sp-2);
  padding: var(--ke-sp-3);
  border-top: 1px solid var(--ke-line);
  background: var(--ke-surface);
}
.ke-chat__form .ke-field { flex: 1 1 auto; min-width: 0; }
.ke-chat__form .ke-btn { flex: 0 0 auto; padding-inline: var(--ke-sp-4); }
.ke-chat__form .ke-btn svg { width: 18px; height: 18px; }


/* ==========================================================================
   SECTION: RESPONSIVE
   ========================================================================== */

/* ==========================================================================
   KIAM EXPRESS — 06 RESPONSIVE
   Breakpoints follow Bootstrap 5: 1399 / 1199 / 991 / 767 / 575
   Mobile-first tokens already fluid; these are structural reflows only.
   ========================================================================== */

/* ---------- ≤1399px : large desktop ---------- */
@media (max-width: 1399.98px) {
  .ke-float--a { left: -0.75rem; }
  .ke-float--b { right: -0.75rem; }
}

/* ---------- ≤1199px : small desktop / landscape tablet ---------- */
@media (max-width: 1199.98px) {
  :root { --ke-container: 1080px; }

  .ke-nav__list { gap: 0; }
  .ke-nav__link { padding-inline: var(--ke-sp-3); }

  .ke-bento { grid-template-columns: repeat(2, 1fr); }
  .ke-bento > *:nth-child(n) { grid-column: span 1; }
  .ke-bento > *:nth-child(1),
  .ke-bento > *:nth-child(8) { grid-column: span 2; }

  .ke-guarantee { grid-template-columns: repeat(2, 1fr); gap: var(--ke-sp-6); }
}

/* ---------- ≤991px : tablet — nav collapses to drawer ---------- */
@media (max-width: 991.98px) {
  :root { --ke-header-h: 68px; }

  .ke-nav { display: none; }
  .ke-burger { display: grid; }

  .ke-hero__grid { grid-template-columns: 1fr; gap: var(--ke-sp-12); }
  .ke-hero__copy { max-width: 60ch; }
  .ke-hero__visual { max-width: 620px; margin-inline: auto; width: 100%; }

  .ke-deal__grid { grid-template-columns: 1fr; }

  .ke-story { grid-template-columns: 1fr; }
  .ke-story__art { max-width: 460px; margin-inline: auto; aspect-ratio: 1; }
  .ke-story__order-first { order: -1; }

  .ke-steps { grid-template-columns: 1fr; gap: var(--ke-sp-8); }
  .ke-step__rule { display: none; }

  .ke-stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--ke-sp-8) var(--ke-sp-4); }
  .ke-stats-grid > * + * { border-left: 0; }
  .ke-stats-grid > *:nth-child(2n) { border-left: 1px solid rgba(255, 255, 255, 0.1); }

  .ke-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--ke-sp-10) var(--ke-sp-8); }
  .ke-footer__about { grid-column: 1 / -1; max-width: 52ch; }

  .ke-head-row { align-items: flex-start; }
}

/* ---------- ≤767px : phablet ---------- */
@media (max-width: 767.98px) {
  :root {
    --ke-section-y: clamp(3.25rem, 11vw, 4.5rem);
  }

  .ke-header__inner { gap: var(--ke-sp-3); }
  .ke-logo__tag { display: none; }
  .ke-logo__img { height: 30px; }

  .ke-hero { padding-top: var(--ke-sp-6); }
  /* The hero lead is desktop-only copy — on phones it pushes the CTAs and the
     product visual well below the fold, so the headline carries the message. */
  .ke-hero .ke-lead { display: none; }
  /* CTAs stay side by side on small screens; min-width:0 lets them shrink
     past their text width so the row never wraps to a stack. */
  .ke-hero__cta { flex-wrap: nowrap; gap: var(--ke-sp-2); }
  .ke-hero__cta .ke-btn {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: var(--ke-sp-3);
    font-size: var(--ke-fs-sm);
  }

  .ke-float { padding: var(--ke-sp-2) var(--ke-sp-3); }
  .ke-float--a { top: -0.85rem; left: -0.4rem; }
  .ke-float--b { bottom: -0.85rem; right: -0.4rem; }

  .ke-bento { grid-template-columns: 1fr; gap: var(--ke-sp-4); }
  .ke-bento > *:nth-child(n) { grid-column: span 1; }
  .ke-cat { min-height: 190px; }

  .ke-deal__grid { padding: var(--ke-sp-8) var(--ke-sp-5); }
  .ke-countdown { gap: var(--ke-sp-2); }
  .ke-count-box { min-width: 0; flex: 1 1 0; }

  .ke-section-head { margin-bottom: var(--ke-sp-8); }
  .ke-head-row { gap: var(--ke-sp-5); margin-bottom: var(--ke-sp-8); }
  .ke-head-row .ke-btn { width: 100%; }

  .ke-guarantee { grid-template-columns: 1fr; gap: var(--ke-sp-5); }

  .ke-inline-form { flex-direction: column; }
  .ke-inline-form .ke-btn { width: 100%; }

  .ke-footer__bottom { justify-content: center; text-align: center; }
}

/* ---------- ≤575px : phone ---------- */
@media (max-width: 575.98px) {
  :root { --ke-gutter: 1.125rem; }

  .ke-prod__body { padding: var(--ke-sp-4); }
  .ke-prod__foot { flex-direction: column; align-items: flex-start; gap: var(--ke-sp-2); }
  .ke-prod__quick { opacity: 1; transform: none; }

  .ke-stats-grid { grid-template-columns: 1fr; }
  .ke-stats-grid > *:nth-child(n) { border-left: 0; }
  .ke-stats-grid > * + * { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: var(--ke-sp-6); }

  .ke-footer__grid { grid-template-columns: 1fr; }
  .ke-footer__about { grid-column: auto; }

  .ke-hero__showcase { gap: var(--ke-sp-3); }
  .ke-showcase-card--lift { transform: none; }
  .ke-showcase-card--lift:hover { transform: translateY(-5px); }

  .ke-quote { padding: var(--ke-sp-6) var(--ke-sp-5); }
  .ke-news { padding: var(--ke-sp-8) var(--ke-sp-5); }

  .ke-rail > * { flex-basis: 76vw; }
}

/* ---------- Coarse pointer: reveal hover-only affordances ---------- */
@media (hover: none) {
  .ke-prod__wish,
  .ke-prod__quick { opacity: 1; transform: none; }
  .ke-btn::after { display: none; }
}

/* ---------- Print ---------- */
@media print {
  .ke-header, .ke-fabs, .ke-chat, .ke-drawer, .ke-scrim, .ke-news { display: none !important; }
  body { background: #fff; }
  .ke-section { padding: 1.5rem 0; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------- PDP: stack gallery over buy box ---------- */
@media (max-width: 991.98px) {
  .ke-pdp,
  .ke-detail { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .ke-buy__actions .ke-btn--primary { flex: 1 1 100%; order: 3; }
  .ke-gallery__thumbs { gap: var(--ke-sp-2); }
}

/* ---------- Cart / checkout / admin ---------- */
@media (max-width: 991.98px) {
  .ke-checkout { grid-template-columns: 1fr; }
  .ke-summary { position: static; }
  .ke-order__grid { grid-template-columns: 1fr; gap: var(--ke-sp-5); }
}
@media (max-width: 575.98px) {
  .ke-field-row { grid-template-columns: 1fr; gap: 0; }
  .ke-cart-row {
    grid-template-columns: 72px minmax(0, 1fr);
    row-gap: var(--ke-sp-3);
  }
  .ke-cart-row__img { width: 72px; height: 72px; }
  .ke-cart-row__controls { grid-column: 1 / -1; justify-content: space-between; }
  /* One variable resizes all three floats together — never size them apart. */
  :root { --ke-fab-size: 46px; }
  .ke-fab svg { width: 21px; height: 21px; }
  .ke-fab--top svg { width: 16px; height: 16px; }
}
