/* ============================================================
   KRRIVA - Commerce Glass Cards (cart / checkout / account)
   Loaded LAST, after style.css + krriva.css + krriva-glass.css.
   Design language ported from the reference glass storefront
   (E:\RooTest\evitalrx -> CartPage / AccountPage / PaymentsPage /
   ConfirmationPage) so the shopping flow matches the homepage.
   ============================================================ */

/* ------------------------------------------------------------
   ROUTE-SCOPED PAGE BACKDROP

   Reference spec, lifted verbatim from the evitalrx sources
   (CartPage.tsx:104-128 and AccountPage.tsx:531-552):

       min-height: 100vh;
       background-color: #faf8f2;
       + fixed layer:
           background-image: url("/cartpage-bg.png");
           background-position: center bottom;
           background-repeat: no-repeat;
           background-size: cover;
           opacity: 0.95;
           pointer-events: none;
           z-index: 0;

   The reference's own artwork (cartpage-bg.png) was never shipped in
   the evitalrx folder, so the image slot below is filled from the
   Krriva asset library. Artwork was chosen by measuring mean luminance
   and dominant palette so every page stays light enough for the dark
   ink used across these screens:

       luxury-marble-background1  avg #ded3c4  lum 0.83  (lightest)
       cream-luxury-background1   avg #d0c1a7  lum 0.76
       botanical-blur-background  avg #9d9e74  lum 0.61

   To swap in the real reference art, change --kc-bg-image only.
   ------------------------------------------------------------ */

:root {
  /* Base + layer match the reference spec exactly. */
  --kc-bg-base: #faf8f2;
  --kc-bg-image: url("/assets/backgrounds/luxury-marble-background.png");
  --kc-bg-position: center bottom;
  --kc-bg-repeat: no-repeat;
  --kc-bg-size: cover;
  --kc-bg-opacity: 0.95;
  /* Artwork in the reference is a pale cream print, so it needs only a
     token veil. The substitutions below are deeper, so each route gets a
     stronger veil + tint to reach the same lightness the reference had. */
  --kc-bg-veil: 0.2;
  --kc-bg-tint: rgba(250, 248, 242, 0);
  --kc-bg-vignette: rgba(250, 248, 242, 0.5) 0%, rgba(250, 248, 242, 0) 32%;
}

/* HOME (and shop / product / contact) keeps the reference look: the
   lightest artwork, barely tinted, focal mass sitting at the bottom. */

/* ACCOUNT — cooler and greener. Sage botanical art washed toward mint so the
   whole section reads as a garden rather than a shop. */
html[data-kc-route="account"] {
  --kc-bg-image: url("/assets/backgrounds/botanical-blur-background.png");
  --kc-bg-position: center bottom;
  --kc-bg-veil: 0.48;
  --kc-bg-tint: rgba(196, 214, 190, 0.34);
  --kc-bg-vignette: rgba(238, 245, 234, 0.55) 0%, rgba(238, 245, 234, 0) 36%;
}

/* CART — warmer and deeper. Golden cream art under an amber wash, anchored
   from the top so the focal mass sits behind the cart rows. */
html[data-kc-route="cart"] {
  --kc-bg-image: url("/assets/backgrounds/cream-luxury-background.png");
  --kc-bg-position: center top;
  --kc-bg-opacity: 0.7;
  --kc-bg-veil: 0.45;
  --kc-bg-tint: rgba(209, 168, 96, 0.55);
  --kc-bg-vignette: rgba(250, 244, 230, 0.5) 0%, rgba(250, 244, 230, 0) 34%;
}

/* Fixed artwork layer (overrides the homepage veil from krriva-glass.css) */
body {
  background: var(--kc-bg-base);
}

body::before {
  content: "";
  position: fixed;
  /* inset:0 alone sizes to the viewport; explicit viewport-width/height
     units include the scrollbar gutter and can force a horizontal scrollbar */
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image: var(--kc-bg-image);
  background-position: var(--kc-bg-position);
  background-repeat: var(--kc-bg-repeat);
  background-size: var(--kc-bg-size);
  opacity: var(--kc-bg-opacity);
  /* no blur: the reference artwork is sharp */
  filter: none;
}

/* Veil + route tint + top vignette. Keeps body ink legible over any artwork. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(180deg, var(--kc-bg-vignette) 0%, rgba(250, 248, 242, 0) 32%),
    linear-gradient(rgba(250, 248, 242, var(--kc-bg-veil)), rgba(250, 248, 242, var(--kc-bg-veil))),
    var(--kc-bg-tint);
}

/* Floating decor must not repaint the section colour */
.bg-decor { opacity: 0.5; }
html[data-kc-route="account"] .bg-decor,
html[data-kc-route="cart"] .bg-decor { opacity: 0.32; }

:root {
  --kc-deep: #153926;
  --kc-deep-2: #1d4a33;
  --kc-cream: #f1dfb8;
  --kc-cream-2: #d8c499;
  --kc-paper: #faf8f2;
  --kc-soft: #edf5ee;
  --kc-line: #e2dbcd;
  --kc-line-2: #d5cec0;
  --kc-green: #2e7d32;
  --kc-green-d: #1f6a3b;
  --kc-mint: #c2dcd0;
  --kc-muted: #6f7a72;
  --kc-red: #c93b3b;
  --kc-gold: #c9a44c;

  --kc-glass: rgba(255, 255, 255, 0.82);
  --kc-glass-2: rgba(255, 255, 255, 0.96);
  --kc-border: rgba(255, 255, 255, 0.85);
  --kc-blur: blur(18px) saturate(160%);
  --kc-shadow: 0 18px 44px -26px rgba(21, 57, 38, 0.42);
  --kc-shadow-lg: 0 34px 70px -34px rgba(21, 57, 38, 0.5);
  --kc-radius: 24px;
  --kc-radius-sm: 14px;
  --kc-font: "Plus Jakarta Sans", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ------------------------------------------------------------
   Page frame (botanical wallpaper + cream veil)
   ------------------------------------------------------------ */
.kc-page {
  position: relative;
  font-family: var(--kc-font);
  padding: 26px 20px 78px;
  min-height: 60vh;
  isolation: isolate;
}
/* Page frame: soft accent glows only. The photographic backdrop is owned by
   body::before / body::after above — this layer must stay transparent to it,
   otherwise a blurred copy of one artwork would cover every route's own art. */
.kc-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 620px at 88% -8%, var(--kc-page-glow-a, rgba(216, 196, 157, 0.4)), transparent 58%),
    radial-gradient(820px 560px at -10% 22%, var(--kc-page-glow-b, rgba(194, 220, 208, 0.34)), transparent 58%);
  opacity: 0.55;
}
html[data-kc-route="account"] .kc-page::before {
  --kc-page-glow-a: rgba(176, 205, 172, 0.44);
  --kc-page-glow-b: rgba(206, 230, 214, 0.38);
}
html[data-kc-route="cart"] .kc-page::before {
  --kc-page-glow-a: rgba(226, 189, 122, 0.44);
  --kc-page-glow-b: rgba(240, 219, 182, 0.34);
}
.kc-wrap { max-width: 1220px; margin: 0 auto; position: relative; z-index: 1; }
.kc-wrap-narrow { max-width: 1080px; }

/* ------------------------------------------------------------
   Glass primitives
   ------------------------------------------------------------ */
.kc-card {
  background: var(--kc-glass);
  backdrop-filter: var(--kc-blur);
  -webkit-backdrop-filter: var(--kc-blur);
  border: 1px solid var(--kc-border);
  border-radius: var(--kc-radius);
  box-shadow: var(--kc-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.kc-card-pad { padding: 28px; }
.kc-card-tight { padding: 20px 22px; }

.kc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

/* Button group on the right of a .kc-head (wishlist bulk actions) */
.kc-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.kc-head-actions .kc-btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
.kc-head h2,
.kc-head h3 {
  margin: 0;
  color: var(--kc-deep);
  font-weight: 800;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.kc-head h2 { font-size: 22px; }
.kc-head h3 { font-size: 18px; }
.kc-head p { margin: 5px 0 0; font-size: 13px; color: var(--kc-muted); }
.kc-leaf { color: #7ea38b; flex: none; }

.kc-eyebrow {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: var(--kc-cream);
  display: flex;
  align-items: center;
  gap: 7px;
}

/* Dark green band (points / hero strip) */
.kc-band {
  background: linear-gradient(120deg, #1b422f 0%, var(--kc-deep) 48%, #265c40 100%);
  border-radius: 22px;
  color: #fff;
  padding: 22px 28px;
  margin-bottom: 22px;
  box-shadow: 0 20px 44px -22px rgba(21, 57, 38, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.kc-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px 200px at 88% 0%, rgba(241, 223, 184, 0.18), transparent 62%);
}
.kc-band-title { font-size: 23px; font-weight: 800; line-height: 1.15; }
.kc-band-sub { margin: 6px 0 0; font-size: 12.5px; color: var(--kc-mint); }
.kc-band-stat {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(241, 223, 184, 0.28);
  border-radius: 16px;
  padding: 13px 18px;
  min-width: 232px;
  position: relative;
  z-index: 1;
}
.kc-band-num { font-size: 22px; font-weight: 800; }
.kc-band-num small { font-size: 12px; font-weight: 500; color: var(--kc-mint); }

/* Meter / progress */
.kc-meter {
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
  margin: 9px 0 7px;
}
.kc-meter > i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--kc-cream-2), var(--kc-cream));
  transition: width 0.45s var(--ease);
}
.kc-meter-foot {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #b9d4c6;
  gap: 12px;
  flex-wrap: wrap;
}
.kc-meter-foot button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--kc-cream);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  font-size: 11px;
}

/* Free-delivery pill */
.kc-freeship {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 26px;
  padding: 11px 24px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(237, 244, 238, 0.94), rgba(226, 242, 230, 0.9));
  border: 1px solid #d2e4d6;
  box-shadow: 0 10px 24px -16px rgba(21, 57, 38, 0.5);
  color: var(--kc-deep);
  font-size: 13px;
  font-weight: 600;
}
.kc-freeship .kc-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--kc-green);
  color: #fff;
  flex: none;
}
.kc-freeship.done { background: linear-gradient(120deg, #e6f4e8, #d5ecda); border-color: #bcdfc4; }
.kc-bar {
  width: 124px;
  height: 6px;
  border-radius: 4px;
  background: #cce0d2;
  overflow: hidden;
  flex: none;
}
.kc-bar > i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--kc-deep);
  transition: width 0.45s var(--ease);
}
.kc-freeship.done .kc-bar > i { background: var(--kc-green); }

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.kc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1.5px solid var(--kc-deep);
  background: transparent;
  color: var(--kc-deep);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.kc-btn:hover { transform: translateY(-1px); }
.kc-btn-primary {
  background: linear-gradient(130deg, #1e4832, var(--kc-deep));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 30px -16px rgba(21, 57, 38, 0.85);
}
.kc-btn-primary:hover { box-shadow: 0 20px 38px -16px rgba(21, 57, 38, 0.9); }
.kc-btn-soft { background: rgba(255, 255, 255, 0.92); color: var(--kc-deep); }
.kc-btn-danger { border-color: #f0d3d3; background: #fff4f4; color: var(--kc-red); }
.kc-btn-block { width: 100%; }
.kc-btn-sm { padding: 9px 16px; font-size: 12px; border-radius: 10px; }
.kc-btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ------------------------------------------------------------
   Cart page
   ------------------------------------------------------------ */
.kc-cart-grid {
  display: grid;
  grid-template-columns: 1fr 372px;
  gap: 26px;
  align-items: start;
}
.kc-cart-head {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 42px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #ece5d8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: #8b9089;
}
.kc-cart-row {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 42px;
  align-items: center;
  gap: 10px;
  padding: 18px 0;
  border-bottom: 1px solid #f2ede4;
}
.kc-cart-row:last-child { border-bottom: 0; }
.kc-cart-thumb {
  width: 68px;
  height: 68px;
  min-width: 68px;
  border-radius: 16px;
  background: linear-gradient(150deg, #faf6ee, #f1ead9);
  border: 1px solid #eae3d5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.kc-cart-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kc-cart-name { font-size: 14.5px; font-weight: 700; color: var(--kc-deep); margin: 0 0 3px; }
.kc-cart-size { font-size: 11.5px; color: var(--kc-muted); display: block; margin-bottom: 6px; }
.kc-chip {
  display: inline-block;
  background: #edf4ee;
  color: #3b6b4c;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 3px 10px;
  border-radius: 999px;
}
.kc-cell { text-align: center; font-size: 13.5px; font-weight: 700; color: #2b332d; }
.kc-cell-strong { color: var(--kc-deep); font-weight: 800; }
.kc-cell-head {
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: #8b9089;
}
.kc-stepper {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px 8px;
  border-radius: 10px;
  border: 1px solid var(--kc-line-2);
  background: #faf8f5;
}
.kc-stepper button {
  background: none;
  border: 0;
  cursor: pointer;
  color: #555;
  padding: 2px 7px;
  display: inline-flex;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1;
  font-family: inherit;
}
.kc-stepper button:hover { background: #efe9dd; color: var(--kc-deep); }
.kc-stepper span { padding: 0 8px; font-size: 13px; font-weight: 700; color: var(--kc-deep); min-width: 18px; text-align: center; }
.kc-icon-btn {
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--kc-red);
  padding: 7px;
  border-radius: 8px;
  display: inline-flex;
  transition: background 0.2s var(--ease);
}
.kc-icon-btn:hover { background: #fff2f2; }
.kc-cart-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #f2ede4;
}
.kc-clear {
  background: none;
  border: 0;
  color: var(--kc-red);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Summary card rows */
.kc-rows { display: flex; flex-direction: column; gap: 12px; font-size: 13.5px; }
.kc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: #4a524c; }
.kc-row > b { font-weight: 700; color: #232a25; }
.kc-row.free > b, .kc-row.free > span { color: var(--kc-green-d); font-weight: 800; }
.kc-row-disc > b { color: var(--kc-green-d); }
.kc-rule { height: 1px; background: #eae3d5; margin: 4px 0; }
.kc-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 4px;
}
.kc-total span { font-size: 14px; font-weight: 800; color: var(--kc-deep); }
.kc-total span small { font-size: 11px; font-weight: 500; color: var(--kc-muted); }
.kc-total b { font-size: 22px; font-weight: 900; color: var(--kc-deep); letter-spacing: -0.4px; }

.kc-nudge {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #faf8f2;
  border: 1.5px dashed var(--kc-line-2);
  border-radius: 14px;
  padding: 13px 15px;
  margin-top: 6px;
  font-size: 12px;
  color: #555;
  line-height: 1.45;
}
.kc-nudge b { color: var(--kc-deep); }

.kc-paynote {
  margin-top: 22px;
  text-align: center;
}
.kc-paynote > span {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-weight: 800;
  color: #8b9089;
  margin-bottom: 10px;
}
.kc-paynote-row { display: flex; justify-content: center; align-items: center; gap: 13px; opacity: 0.88; flex-wrap: wrap; }
.kc-paynote-row span { font-size: 11.5px; font-weight: 800; color: #47514a; }
.kc-mc {
  width: 22px;
  height: 14px;
  border-radius: 3px;
  display: inline-block;
  background: linear-gradient(90deg, #eb001b 50%, #f79e1b 50%);
}

/* Trust strip */
.kc-trust {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(212px, 1fr));
  gap: 18px;
  align-items: center;
}
.kc-trust-item { display: flex; align-items: center; gap: 12px; }
.kc-trust-ico {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 11px;
  background: var(--kc-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--kc-deep);
}
.kc-trust-item b { display: block; font-size: 12.5px; color: var(--kc-deep); }
.kc-trust-item small { display: block; font-size: 11px; color: var(--kc-muted); margin-top: 2px; }

/* Empty state */
.kc-empty { text-align: center; padding: 54px 20px; }
.kc-empty h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; color: var(--kc-deep); }
.kc-empty p { margin: 0 0 22px; color: var(--kc-muted); font-size: 13px; }

/* ------------------------------------------------------------
   Checkout
   ------------------------------------------------------------ */
.kc-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 26px;
  padding: 14px;
  border-radius: 999px;
  background: var(--kc-glass);
  border: 1px solid var(--kc-border);
  backdrop-filter: var(--kc-blur);
  -webkit-backdrop-filter: var(--kc-blur);
  box-shadow: var(--kc-shadow);
  flex-wrap: wrap;
}
.kc-step {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: #8b9089;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 999px;
  transition: 0.2s var(--ease);
}
.kc-step + .kc-step::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--kc-line-2);
  margin-right: 6px;
}
.kc-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  background: #f1ede3;
  color: #9aa09a;
  border: 1px solid var(--kc-line-2);
}
.kc-step.active { color: var(--kc-deep); }
.kc-step.active .kc-step-num {
  background: linear-gradient(130deg, #1e4832, var(--kc-deep));
  color: var(--kc-cream);
  border-color: transparent;
  box-shadow: 0 6px 14px -6px rgba(21, 57, 38, 0.7);
}
.kc-step.done { color: var(--kc-green-d); cursor: pointer; }
.kc-step.done .kc-step-num { background: var(--kc-soft); color: var(--kc-green-d); border-color: #c7e0cf; }

.kc-co-grid {
  display: grid;
  grid-template-columns: 1.32fr 0.86fr;
  gap: 26px;
  align-items: start;
}
.kc-co-side { position: sticky; top: 116px; display: flex; flex-direction: column; gap: 18px; }

/* Sits directly on the page backdrop (not inside a glass card), so it needs a
   darker ink than --kc-muted plus its own scrim to stay legible on every route. */
.kc-crumb {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-size: 12px;
  color: #5c6660;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(250, 248, 242, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px -12px rgba(21, 57, 38, 0.4);
}
.kc-crumb a { color: #5c6660; text-decoration: none; }
.kc-crumb a:hover { color: var(--kc-deep); }
.kc-crumb b { color: var(--kc-deep); font-weight: 700; }

/* Saved address cards */
.kc-addr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); gap: 12px; margin-bottom: 20px; }
.kc-addr {
  position: relative;
  display: block;
  border: 1px solid var(--kc-line);
  background: #fff;
  border-radius: 16px;
  padding: 14px 15px;
  cursor: pointer;
  transition: 0.2s var(--ease);
}
.kc-addr input { position: absolute; opacity: 0; pointer-events: none; }
.kc-addr:hover { border-color: var(--kc-line-2); box-shadow: 0 12px 24px -18px rgba(21, 57, 38, 0.6); }
.kc-addr.selected { border-color: var(--kc-deep); background: #f7fbf8; box-shadow: 0 0 0 2px rgba(21, 57, 38, 0.14); }
.kc-addr-label { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; color: var(--kc-deep); margin-bottom: 5px; }
.kc-addr-text { font-size: 12px; color: #5c655f; line-height: 1.5; }
.kc-flag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--kc-cream);
  color: #7a6330;
  border-radius: 999px;
  padding: 2px 8px;
}

/* Forms */
.kc-fields { display: flex; flex-direction: column; gap: 14px; }
.kc-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kc-field label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: #4a524c;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}
.kc-field label .kc-opt { font-weight: 500; color: #9aa09a; }
.kc-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--kc-line-2);
  background: rgba(255, 255, 255, 0.94);
  font-family: inherit;
  font-size: 13.5px;
  color: #232a25;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.kc-input:focus { border-color: var(--kc-deep); box-shadow: 0 0 0 3px rgba(21, 57, 38, 0.1); }
textarea.kc-input { resize: vertical; min-height: 76px; }
.kc-input.bad { border-color: var(--kc-red); box-shadow: 0 0 0 3px rgba(201, 59, 59, 0.12); }
.kc-input.invalid { border-color: var(--kc-red); box-shadow: 0 0 0 3px rgba(201, 59, 59, 0.12); }
.kc-field .field-error { font-size: 11px; color: var(--kc-red); margin: 5px 0 0; }
.kc-err { display: block; font-size: 11px; color: var(--kc-red); margin-top: 5px; }
.kc-hint { font-size: 11.5px; color: #8b9089; margin: 6px 0 0; }
.kc-check { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #4a524c; cursor: pointer; }
.kc-check input { accent-color: var(--kc-deep); width: 15px; height: 15px; padding: 0; box-sizing: border-box; }

.kc-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.kc-actions.right { justify-content: space-between; }

/* Payment method cards */
.kc-pm-list { display: flex; flex-direction: column; gap: 13px; }
.kc-pm {
  border: 1px solid #e0d9cb;
  border-radius: 18px;
  background: #faf9f5;
  padding: 17px 18px;
  cursor: pointer;
  transition: 0.22s var(--ease);
}
.kc-pm:hover { border-color: var(--kc-line-2); }
.kc-pm.selected { border-color: var(--kc-deep); background: #f7fbf8; box-shadow: 0 0 0 2px rgba(21, 57, 38, 0.1); }
.kc-pm-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.kc-pm-label { display: flex; align-items: center; gap: 11px; }
.kc-pm-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #bbb;
  background: #fff;
  box-sizing: border-box;
  flex: none;
  transition: 0.2s var(--ease);
}
.kc-pm.selected .kc-pm-radio { border: 5.5px solid var(--kc-deep); }
.kc-pm-name { font-size: 13.5px; font-weight: 800; color: var(--kc-deep); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.kc-pm-desc { font-size: 11.5px; color: var(--kc-muted); margin-top: 2px; }
.kc-pm-ico { color: var(--kc-deep); flex: none; }
.kc-pm-body { margin-top: 15px; padding-top: 14px; border-top: 1px solid #e8e2d5; }
.kc-tag {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--kc-soft);
  color: var(--kc-green-d);
  padding: 3px 8px;
  border-radius: 7px;
}
.kc-tag-gold { background: #fbf3dd; color: #8a6d1f; }

/* Review blocks */
.kc-rev { display: flex; flex-direction: column; gap: 12px; }
.kc-rev-card {
  border: 1px solid var(--kc-line);
  background: #fff;
  border-radius: 18px;
  padding: 17px 19px;
}
.kc-rev-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.kc-rev-head h4 { margin: 0; font-size: 13px; font-weight: 800; color: var(--kc-deep); letter-spacing: 0.3px; }
.kc-rev-line { margin: 0; font-size: 13px; color: #4a524c; line-height: 1.6; }
.kc-rev-line + .kc-rev-line { margin-top: 3px; }

/* Summary items */
.kc-sum-items { display: flex; flex-direction: column; gap: 12px; max-height: 268px; overflow-y: auto; padding-right: 4px; }
.kc-sum-item { display: flex; align-items: center; gap: 11px; }
.kc-sum-thumb {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 12px;
  background: var(--kc-soft);
  border: 1px solid #e4eee6;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kc-sum-thumb img { width: 100%; height: 100%; object-fit: cover; }
.kc-sum-info { min-width: 0; flex: 1; }
.kc-sum-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--kc-deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kc-sum-sub { font-size: 11px; color: var(--kc-muted); margin-top: 2px; }
.kc-sum-price { font-size: 12.5px; font-weight: 800; color: var(--kc-deep); white-space: nowrap; }

/* Coupon */
.kc-coupon { margin-top: 18px; padding-top: 16px; border-top: 1px solid #f0ebe1; }
.kc-coupon-box { display: flex; gap: 9px; }
.kc-coupon-box .kc-input { flex: 1; letter-spacing: 1px; text-transform: uppercase; }
.kc-coupon-on {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--kc-soft);
  border: 1.5px solid var(--kc-green);
  border-radius: 14px;
  padding: 12px 15px;
}
.kc-coupon-on b { font-size: 12.5px; color: var(--kc-green-d); display: flex; align-items: center; gap: 7px; }
.kc-coupon-on small { display: block; font-size: 11px; color: #1b5e20; margin-top: 2px; }
.kc-coupon-off { background: none; border: 0; font-family: inherit; font-size: 11.5px; font-weight: 800; color: var(--kc-green-d); cursor: pointer; text-decoration: underline; }

/* Address preview strip */
.kc-addr-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 20px;
  border-radius: 18px;
  flex-wrap: wrap;
}
.kc-addr-strip-main { display: flex; align-items: center; gap: 13px; }
.kc-addr-strip-ico {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--kc-soft);
  color: var(--kc-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.kc-addr-strip b { display: block; font-size: 13px; font-weight: 800; color: var(--kc-deep); }
.kc-addr-strip small { display: block; font-size: 12px; color: #6f7a72; margin-top: 2px; }
.kc-addr-strip a { font-size: 12px; font-weight: 700; color: var(--kc-deep); text-decoration: underline; }

/* ------------------------------------------------------------
   Account
   ------------------------------------------------------------ */
.kc-acc-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 28px 32px;
  border-radius: var(--kc-radius);
  margin-bottom: 24px;
  color: #fff;
  background: linear-gradient(120deg, #1b422f 0%, var(--kc-deep) 46%, #265c40 100%);
  box-shadow: 0 26px 56px -28px rgba(21, 57, 38, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.13);
  position: relative;
  overflow: hidden;
}
.kc-acc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(520px 260px at 92% -10%, rgba(241, 223, 184, 0.2), transparent 62%);
}
.kc-acc-who { display: flex; align-items: center; gap: 18px; }
.kc-acc-avatar {
  width: 70px;
  height: 70px;
  min-width: 70px;
  border-radius: 50%;
  background: var(--kc-cream);
  color: var(--kc-deep);
  font-size: 27px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.4);
}
.kc-acc-hi { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; }
.kc-acc-hi h1 { margin: 0; font-size: 23px; font-weight: 800; letter-spacing: -0.3px; color: #fff; }
.kc-acc-tier {
  background: rgba(241, 223, 184, 0.14);
  border: 1px solid rgba(241, 223, 184, 0.34);
  color: var(--kc-cream);
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.kc-acc-mail { margin: 5px 0 0; font-size: 12.5px; color: var(--kc-mint); }
.kc-acc-mail b { color: var(--kc-cream); }

.kc-acc-grid {
  display: grid;
  grid-template-columns: 272px 1fr;
  gap: 24px;
  align-items: start;
}
.kc-acc-side { display: flex; flex-direction: column; gap: 16px; }
.kc-acc-nav { padding: 15px; display: flex; flex-direction: column; gap: 5px; }
.kc-acc-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: #333;
  padding: 13px 15px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.2s var(--ease);
}
.kc-acc-link:hover { background: #f7f4ec; }
.kc-acc-link.active {
  background: linear-gradient(130deg, #1e4832, var(--kc-deep));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 24px -14px rgba(21, 57, 38, 0.9);
}
.kc-acc-link-main { display: flex; align-items: center; gap: 10px; }
.kc-acc-link.active .kc-acc-link-main svg { color: var(--kc-cream); }
.kc-acc-badge {
  background: var(--kc-cream);
  color: var(--kc-deep);
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 999px;
}
.kc-acc-link.active .kc-acc-badge { background: var(--kc-cream); color: var(--kc-deep); }
.kc-acc-link.out { color: var(--kc-red); }
.kc-acc-link.out:hover { background: #fff4f4; }
.kc-acc-rule { height: 1px; background: #eae5d9; margin: 6px 4px; }

.kc-acc-tip { padding: 20px 18px; text-align: center; }
.kc-acc-tip-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--kc-deep);
  color: var(--kc-cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.kc-acc-tip h4 { margin: 0 0 6px; font-size: 14.5px; font-weight: 800; color: var(--kc-deep); }
.kc-acc-tip p { margin: 0; font-size: 12px; color: #4a6b57; line-height: 1.55; }

.kc-acc-body { padding: 30px 28px; min-height: 430px; }

/* Profile tiles */
.kc-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kc-tile { background: #faf9f5; border: 1px solid #ebe5d8; border-radius: 16px; padding: 17px 19px; }
.kc-tile dt {
  font-size: 10.5px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #8b9089;
  margin: 0 0 6px;
}
.kc-tile dd {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  color: #222;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-wrap: anywhere;
}
.kc-tile dd svg { color: #7ea38b; flex: none; }

.kc-note {
  margin-top: 26px;
  padding: 18px 21px;
  border-radius: 18px;
  background: var(--kc-soft);
  border: 1px solid #c7e0cf;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.kc-note-main { display: flex; align-items: center; gap: 14px; }
.kc-note-ico {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 11px;
  background: var(--kc-deep);
  color: var(--kc-cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.kc-note h4 { margin: 0; font-size: 14.5px; font-weight: 800; color: var(--kc-deep); }
.kc-note p { margin: 4px 0 0; font-size: 12.5px; color: #446851; }

/* Order cards */
.kc-order {
  border: 1px solid var(--kc-line);
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 30px -22px rgba(21, 57, 38, 0.4);
}
.kc-order + .kc-order { margin-top: 18px; }
.kc-order-top {
  background: #faf8f2;
  border-bottom: 1px solid #e8e2d5;
  padding: 15px 21px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.kc-order-kv { display: flex; flex-direction: column; gap: 2px; }
.kc-order-kv span { font-size: 10.5px; text-transform: uppercase; font-weight: 800; letter-spacing: 0.6px; color: #8b9089; }
.kc-order-kv b { font-size: 13.5px; font-weight: 800; color: var(--kc-deep); }
.kc-order-kv b.date { font-size: 12.5px; font-weight: 600; color: #333; }

.kc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  background: #e8f5e9;
  color: var(--kc-green-d);
  border: 1px solid #c9e6cd;
}
.kc-badge.grey { background: #f1f1ee; color: #6f7a72; border-color: #e2e0d8; }
.kc-badge.amber { background: #fdf3dc; color: #8a6d1f; border-color: #f0dfb6; }
.kc-badge.red { background: #fdecec; color: var(--kc-red); border-color: #f3cfcf; }

/* Tracking stepper */
.kc-track { padding: 24px 22px 16px; }
.kc-track-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin: 6px 8px;
}
/* 6 nodes -> first/last dot centres sit at 1/12 and 11/12 of the row. */
.kc-track-line::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 8.3333%;
  right: 8.3333%;
  height: 3px;
  background: #e5dfd2;
}
.kc-track-fill {
  position: absolute;
  top: 15px;
  left: 8.3333%;
  height: 3px;
  width: calc(83.3333% * var(--kc-track-pct, 0) / 100);
  background: linear-gradient(90deg, var(--kc-deep), var(--kc-green));
  border-radius: 3px;
  transition: width 0.5s var(--ease);
  z-index: 1;
}
.kc-track-node {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.kc-track-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  background: #fff;
  border: 2px solid var(--kc-line-2);
  color: #999;
}
.kc-track-dot.done {
  background: var(--kc-deep);
  border-color: transparent;
  color: var(--kc-cream);
  box-shadow: 0 6px 14px -7px rgba(21, 57, 38, 0.8);
}
.kc-track-dot.now { background: var(--kc-green); border: 3px solid var(--kc-cream); color: #fff; }
.kc-track-dot.off { background: #fff; border-color: var(--kc-line-2); color: #999; }
.kc-track-node b { font-size: 12px; font-weight: 700; margin-top: 8px; color: var(--kc-deep); }
.kc-track-node b.off { color: #999; }
.kc-track-node small { font-size: 10px; color: var(--kc-muted); margin-top: 2px; }

.kc-order-goods {
  padding: 16px 21px;
  border-top: 1px solid #f2ede4;
  background: #fdfcf9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.kc-order-list { display: flex; flex-direction: column; gap: 10px; }
.kc-order-line { display: flex; align-items: center; gap: 13px; }
.kc-order-line-img {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: var(--kc-soft);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kc-order-line-img img { width: 100%; height: 100%; object-fit: cover; }
.kc-order-line b { display: block; font-size: 12.5px; font-weight: 700; color: var(--kc-deep); }
.kc-order-line small { font-size: 11px; color: var(--kc-muted); }
.kc-order-cta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* Rewards */
.kc-vouchers { display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); gap: 14px; }
.kc-voucher {
  border-radius: 18px;
  padding: 17px 18px;
  border: 1px solid;
  position: relative;
  overflow: hidden;
}
.kc-voucher::after {
  content: "";
  position: absolute;
  right: -22px;
  top: -22px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}
.kc-voucher b { display: block; font-size: 13px; font-weight: 800; color: var(--kc-deep); }
.kc-voucher h4 { margin: 4px 0 6px; font-size: 14.5px; font-weight: 800; color: #222; }
.kc-voucher small { display: block; font-size: 11px; color: #5c655f; line-height: 1.5; }
.kc-voucher-code {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px dashed var(--kc-line-2);
  border-radius: 10px;
  padding: 6px 11px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--kc-deep);
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.kc-voucher-code.done { background: #e6f4e8; border-color: var(--kc-green); color: var(--kc-green-d); }

.kc-tiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 6px; }
.kc-tier-card {
  border: 1px solid var(--kc-line);
  background: #fff;
  border-radius: 20px;
  padding: 19px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.kc-tier-tag {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: #fbf3dd;
  color: #8a6d1f;
  padding: 3px 9px;
  border-radius: 999px;
}
.kc-tier-card h4 { margin: 0; font-size: 14.5px; font-weight: 800; color: var(--kc-deep); }
.kc-tier-card p { margin: 0; font-size: 11.5px; color: var(--kc-muted); line-height: 1.55; flex: 1; }
.kc-tier-cost {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: 12px;
  color: var(--kc-deep);
}
.kc-tier-cost b { font-size: 20px; font-weight: 900; }

/* Address cards */
.kc-addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 14px; }
.kc-addr-card {
  border: 1px solid var(--kc-line);
  border-radius: 20px;
  background: #fff;
  padding: 18px 19px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.kc-addr-card.default { border-color: var(--kc-deep); box-shadow: 0 0 0 2px rgba(21, 57, 38, 0.1); }
.kc-addr-card .kc-addr-label { margin-bottom: 3px; }
.kc-addr-card .kc-addr-text b { color: #2b332d; font-size: 12.5px; }
.kc-addr-cta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

/* ------------------------------------------------------------
   Confirmation
   ------------------------------------------------------------ */
.kc-done-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 4px;
}
.kc-done-lockup { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.kc-done-ring {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.94), rgba(241, 223, 184, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 54px -26px rgba(21, 57, 38, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--kc-green-d);
  animation: kcPop 0.5s var(--ease) both;
}
@keyframes kcPop {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.kc-done-word {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 5px;
  color: var(--kc-deep);
}
.kc-done-word span { color: var(--kc-gold); }
.kc-done-tag {
  font-size: 10.5px;
  font-style: italic;
  letter-spacing: 1.6px;
  color: #52735e;
  text-transform: uppercase;
}
.kc-divider { display: flex; align-items: center; gap: 8px; width: min(300px, 100%); margin: 10px auto 2px; }
.kc-divider i { flex: 1; height: 1.5px; background: linear-gradient(90deg, transparent, rgba(201, 164, 76, 0.75)); }
.kc-divider i + i { background: linear-gradient(90deg, rgba(201, 164, 76, 0.75), transparent); }
.kc-divider b { width: 5px; height: 5px; border-radius: 50%; background: var(--kc-gold); box-shadow: 0 0 8px rgba(201, 164, 76, 0.8); }

.kc-done-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(130deg, #1e4832, var(--kc-deep));
  color: var(--kc-cream);
  border-radius: 999px;
  padding: 8px 24px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 12px 26px -14px rgba(21, 57, 38, 0.7);
  margin: 14px 0 10px;
}
.kc-done-h1 { margin: 4px 0 4px; font-size: 27px; font-weight: 800; color: var(--kc-deep); letter-spacing: -0.4px; }
.kc-done-sub { margin: 0 0 6px; font-size: 14px; font-weight: 700; color: #8a6d1f; }
.kc-done-id { font-size: 13.5px; font-weight: 800; color: var(--kc-deep); letter-spacing: 0.4px; }
.kc-done-copy { margin: 4px 0 0; font-size: 13px; color: #6f7a72; line-height: 1.55; max-width: 520px; }

.kc-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 100%;
  padding: 12px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(225, 218, 202, 0.72);
  backdrop-filter: var(--kc-blur);
  -webkit-backdrop-filter: var(--kc-blur);
  box-shadow: 0 10px 26px -20px rgba(21, 57, 38, 0.35);
  margin-top: 18px;
}
.kc-meta-col { display: flex; align-items: center; gap: 10px; position: relative; }
.kc-meta-col:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 16%;
  height: 68%;
  width: 1px;
  background: rgba(213, 205, 190, 0.6);
}
.kc-meta-ico { color: var(--kc-gold); flex: none; }
.kc-meta-col span {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #8a6d1f;
}
.kc-meta-col b { display: block; font-size: 13.5px; font-weight: 800; color: var(--kc-deep); margin-top: 2px; }

.kc-earn {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(225, 218, 202, 0.7);
  backdrop-filter: var(--kc-blur);
  -webkit-backdrop-filter: var(--kc-blur);
  font-size: 13px;
  color: var(--kc-deep);
  flex-wrap: wrap;
}
.kc-earn-main { display: flex; align-items: center; gap: 11px; }
.kc-earn-ico {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  background: var(--kc-gold);
  color: var(--kc-cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ------------------------------------------------------------
   Cart drawer (restyled)
   ------------------------------------------------------------ */
.cart-drawer { background: rgba(255, 253, 248, 0.94); }
.cart-drawer .cart-head h3 { font-family: var(--kc-font); color: var(--kc-deep); }
.cart-drawer .cart-item { background: rgba(255, 255, 255, 0.72); border: 1px solid var(--kc-border); border-radius: 16px; padding: 12px 13px; margin-bottom: 10px; }
.cart-drawer .cart-item .name { font-weight: 700; color: var(--kc-deep); font-family: var(--kc-font); }
.cart-drawer .cart-item img { border-radius: 12px; background: var(--kc-soft); }
.cart-drawer .cart-item .qty {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--kc-line-2);
  border-radius: 9px;
  background: #faf8f5;
  padding: 2px 6px;
  margin-top: 8px;
}
.cart-drawer .cart-item .qty button {
  background: none;
  border: 0;
  cursor: pointer;
  color: #555;
  padding: 1px 6px;
  font-family: inherit;
  font-size: 13px;
}
.cart-drawer .cart-item .qty button:hover { color: var(--kc-deep); }
.cart-drawer .free-ship-note {
  background: var(--kc-soft);
  border: 1px solid #d2e4d6;
  color: var(--kc-deep);
  border-radius: 14px;
  padding: 10px 13px;
  font-size: 12px;
  margin-bottom: 12px;
}
.cart-drawer .free-ship-note.done { background: #e6f4e8; border-color: #bcdfc4; color: var(--kc-green-d); }
.cart-drawer .cart-foot .total { color: var(--kc-deep); font-size: 16px; }
.drawer-link {
  display: block;
  text-align: center;
  margin-top: 9px;
  font-size: 12px;
  font-weight: 700;
  color: var(--kc-deep);
  text-decoration: underline;
  font-family: var(--kc-font);
}
.cart-drawer .btn-brand {
  background: linear-gradient(130deg, #1e4832, var(--kc-deep));
  color: #fff;
  border-radius: 12px;
  font-family: var(--kc-font);
  font-weight: 700;
  letter-spacing: 0.3px;
}
.cart-drawer .cart-empty { font-family: var(--kc-font); color: var(--kc-muted); }
.cart-drawer .cart-empty .icon { color: var(--kc-sage, #7d8f6f); }

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1040px) {
  .kc-cart-grid { grid-template-columns: 1fr; }
  .kc-co-grid { grid-template-columns: 1fr; }
  .kc-co-side { position: static; }
  .kc-acc-grid { grid-template-columns: 1fr; }
  .kc-acc-side { flex-direction: row; flex-wrap: wrap; }
  .kc-acc-nav { flex: 1 1 100%; }
  .kc-acc-tip { flex: 1 1 100%; }
}

@media (max-width: 780px) {
  .kc-page { padding: 18px 14px 60px; }
  .kc-card-pad { padding: 22px 18px; }
  .kc-acc-body { padding: 22px 18px; }
  .kc-band { padding: 18px 20px; }
  .kc-band-stat { min-width: 0; width: 100%; }
  .kc-tiles { grid-template-columns: 1fr; }
  .kc-field-row { grid-template-columns: 1fr; }
  .kc-meta { grid-template-columns: 1fr 1fr; }
  .kc-meta-col::after { display: none; }
  .kc-cart-head { display: none; }
  .kc-cart-row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "thumb remove" "meta total" "qty qty";
    gap: 12px;
  }
  .kc-cart-row > .kc-c-product { grid-area: thumb; }
  .kc-cart-row > .kc-c-price { display: none; }
  .kc-cart-row > .kc-c-qty { grid-area: qty; justify-self: start; }
  .kc-cart-row > .kc-c-total { grid-area: total; text-align: right; }
  .kc-cart-row > .kc-c-del { grid-area: remove; text-align: right; }
  .kc-track-line { flex-wrap: wrap; gap: 16px; }
  .kc-track-line::before, .kc-track-fill { display: none; }
  .kc-track-node { flex: 1 1 40%; }
  .kc-freeship { border-radius: 24px; }
}

@media (max-width: 460px) {
  .kc-meta { grid-template-columns: 1fr; }
  .kc-acc-hi h1 { font-size: 19px; }
  .kc-steps { border-radius: 24px; gap: 2px; }
  .kc-step { padding: 5px 7px; font-size: 11px; }
  .kc-step + .kc-step::before { width: 12px; }
}
/* ============================================================
   Contact page
   ============================================================ */

.kc-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding-bottom: 60px;
}

.kc-contact-form .kc-head { margin-bottom: 20px; }
.kc-contact-form h2 { display: flex; align-items: center; gap: 9px; }
.kc-contact-form .kc-head p { margin-top: 6px; }

.kc-contact-form form { display: flex; flex-direction: column; gap: 15px; }

.kc-topic-set {
  border: 1px solid var(--kc-line-2);
  border-radius: 14px;
  padding: 14px 16px 4px;
  margin: 0;
  background: rgba(255, 255, 255, 0.72);
}
.kc-topic-set legend {
  font-size: 11.5px;
  font-weight: 700;
  color: #4a524c;
  letter-spacing: 0.3px;
  padding: 0 6px;
}
.kc-radio-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 9px 2px;
  cursor: pointer;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.kc-topic-set .kc-radio-row:last-child { border-bottom: 0; }
.kc-radio-row input {
  margin: 2px 0 0;
  width: 15px;
  height: 15px;
  accent-color: var(--kc-deep);
  flex: 0 0 auto;
  cursor: pointer;
}
.kc-radio-row span { display: block; }
.kc-radio-row b { display: block; font-size: 13px; font-weight: 600; color: #232a25; }
.kc-radio-row small { display: block; font-size: 11.5px; color: #8b938c; margin-top: 2px; }
.kc-radio-row:hover b { color: var(--kc-deep); }

.kc-hint { font-size: 11.5px; color: #9aa09a; }
.kc-field .kc-hint { display: block; text-align: right; margin-top: 5px; }

.kc-form-error {
  margin: 0;
  padding: 10px 13px;
  border-radius: 11px;
  background: rgba(201, 59, 59, 0.08);
  border: 1px solid rgba(201, 59, 59, 0.28);
  color: #9c2f2f;
  font-size: 12.5px;
  font-weight: 600;
}
.kc-form-error[hidden] { display: none; }

.kc-contact-aside { display: flex; flex-direction: column; gap: 14px; }
.kc-contact-aside .kc-card h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.kc-contact-aside .kc-card p { margin-bottom: 13px; }
.kc-contact-note h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #6d7a6f;
  margin-bottom: 6px;
}
.kc-contact-note p { margin: 0; }

#ct-send[disabled] { opacity: 0.6; cursor: not-allowed; }

@media (max-width: 900px) {
  .kc-contact-grid { grid-template-columns: 1fr; gap: 18px; }
  .kc-contact-aside { flex-direction: row; flex-wrap: wrap; }
  .kc-contact-aside > .kc-card { flex: 1 1 240px; }
}

@media (max-width: 560px) {
  .kc-card-pad { padding: 20px 17px; }
  .kc-contact-form .kc-field-row { grid-template-columns: 1fr; }
  .kc-contact-aside { flex-direction: column; }
  #ct-send { width: 100%; }
}
/* ==================================================================
   CATALOG PAGE (shop / category) - premium collection view
   ================================================================== */
.kc-shop { padding: 6px 0 64px; }
.kc-shop-head { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.kc-shop-head .kc-eyebrow {
  display: inline-block; font-family: "Poppins", sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--kr-sage);
  background: rgba(105,140,110,.10); border: 1px solid rgba(105,140,110,.18);
  padding: 6px 15px; border-radius: 999px; margin-bottom: 16px;
}
.kc-shop-title {
  font-family: "Cormorant Garamond", serif; font-weight: 700;
  font-size: clamp(34px, 5vw, 56px); line-height: 1.04; letter-spacing: .5px;
  color: var(--kr-green); margin: 0 0 12px;
}
.kc-shop-sub { color: var(--kr-muted); font-size: 15px; line-height: 1.6; max-width: 520px; margin: 0 auto; }

/* ---- category chips ---- */
.kc-chips {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin: 0 auto 32px; max-width: 900px;
}
.kc-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Poppins", sans-serif; font-size: 12.5px; font-weight: 600;
  color: var(--kr-ink); background: #fffdf8; border: 1px solid var(--kr-border);
  border-radius: 999px; padding: 9px 16px; text-decoration: none;
  box-shadow: 0 2px 8px rgba(47,62,46,.05); transition: color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.kc-chip:hover { border-color: rgba(199,162,74,.6); color: var(--kr-green); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(47,62,46,.10); }
.kc-chip.active {
  color: #fff; background: linear-gradient(135deg, #b8903a, #8c6f2d);
  border-color: transparent; box-shadow: 0 8px 20px rgba(140,111,45,.32);
}
.kc-chip-cnt { font-size: 11px; font-weight: 700; background: rgba(47,62,46,.08); border-radius: 999px; padding: 2px 8px; }
.kc-chip.active .kc-chip-cnt { background: rgba(255,255,255,.24); }

/* ---- layout ---- */
.kc-shop-layout { grid-template-columns: 250px minmax(0,1fr); gap: 36px; align-items: start; }
.kc-filters {
  position: sticky; top: 120px;
  background: linear-gradient(180deg, #fffefa, #fdfaf2);
  border: 1px solid var(--kr-border); border-radius: 20px;
  padding: 22px 20px; box-shadow: 0 12px 30px -18px rgba(47,62,46,.22);
}
.kc-filter-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.kc-filter-head span { font-family: "Poppins", sans-serif; font-size: 14px; font-weight: 700; color: var(--kr-green); }
.kc-filters .filter-block h4 {
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  color: var(--kr-sage); margin-bottom: 10px;
}
.kc-filters .filter-block { margin-bottom: 24px; }
.kc-filters .filter-block:last-child { margin-bottom: 0; }
.kc-filters .opt { padding: 6px 0; }
.kc-filters .opt input { accent-color: var(--kr-green); width: 16px; height: 16px; flex: none; }
.kc-filters .opt label { display: flex; align-items: center; gap: 8px; color: var(--kr-ink); }
.kc-clear-all {
  border: 0; background: none; cursor: pointer; padding: 4px 0;
  color: var(--kr-sage); font-size: 12.5px; font-weight: 600; text-decoration: underline;
  text-underline-offset: 3px; font-family: "Poppins", sans-serif;
}
.kc-clear-all:hover { color: var(--kr-green); }
.kc-cnt {
  margin-left: auto; background: rgba(105,140,110,.10); color: var(--kr-sage);
  font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 8px;
}

/* ---- toolbar ---- */
.kc-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin-bottom: 22px; padding: 14px 18px;
  background: #fffdf8; border: 1px solid var(--kr-border); border-radius: 16px;
  box-shadow: 0 10px 24px -20px rgba(47,62,46,.18);
}
.kc-tool-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.kc-filter-toggle {
  display: none; align-items: center; gap: 7px;
  font-family: "Poppins", sans-serif; font-size: 12.5px; font-weight: 700;
  color: var(--kr-green); background: linear-gradient(#fff, #fdfaf2);
  border: 1px solid var(--kr-border); border-radius: 12px; padding: 9px 14px;
  cursor: pointer; transition: border-color .18s, box-shadow .18s;
}
.kc-filter-toggle:hover, .kc-filter-toggle.active { border-color: rgba(199,162,74,.6); box-shadow: 0 4px 12px rgba(47,62,46,.08); }
.shop-result-count { font-size: 13.5px; color: var(--kr-muted); }
.shop-result-count strong { font-size: 15px; font-weight: 700; color: var(--kr-green); }
.kc-range { color: var(--kr-border); font-weight: 600; letter-spacing: .3px; }
.kc-sort { gap: 10px; }
.kc-sort > span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--kr-sage); }
.kc-sort select {
  appearance: none; -webkit-appearance: none;
  border: 1px solid var(--kr-border); border-radius: 12px; padding: 10px 36px 10px 14px;
  font-family: "Poppins", sans-serif; font-size: 13px; font-weight: 600; color: var(--kr-ink);
  background: linear-gradient(#fff, #fdfaf2)
    url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%238c6f2d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/%3E%3C/svg%3E")
    no-repeat right 13px center; cursor: pointer; transition: border-color .18s, box-shadow .18s;
}
.kc-sort select:focus { outline: none; border-color: rgba(199,162,74,.7); box-shadow: 0 0 0 3px rgba(199,162,74,.15); }

/* ---- active filter chips ---- */
.kc-active { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: -6px 0 20px; }
.kc-active-label {
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--kr-sage);
}
.kc-active-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: "Poppins", sans-serif; font-size: 12.5px; font-weight: 600; color: var(--kr-green);
  background: #f4efe2; border: 1px solid #e6dcc2; border-radius: 999px;
  padding: 6px 12px; cursor: pointer; transition: background .18s, border-color .18s;
}
.kc-active-chip:hover { background: #ecdfc2; border-color: #cfb989; }
.kc-active-chip span { font-size: 14px; line-height: 1; opacity: .7; }

/* ---- empty state ---- */
.kc-shop-empty { padding: 72px 20px; }
.kc-shop-empty .icon {
  width: 72px; height: 72px; display: flex; align-items: center; justify-content: center;
  color: var(--kr-sage); background: rgba(105,140,110,.08); border-radius: 50%;
}

/* ---- responsive ---- */
@media (max-width: 1100px) {
  .kc-shop-layout { grid-template-columns: 1fr; gap: 20px; }
  .kc-shop-layout .shop-filters {
    position: static; display: none;
    flex-direction: column; gap: 24px; width: 100%; margin-bottom: 6px;
  }
  .kc-shop-layout .shop-filters.open { display: flex; }
  .kc-shop-layout .filter-block { width: 100%; }
  .kc-filter-toggle { display: inline-flex; }
}
@media (max-width: 640px) {
  .kc-shop { padding-top: 0; }
  .kc-shop-head { margin-bottom: 22px; }
  .kc-chips { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; scrollbar-width: none; }
  .kc-chips::-webkit-scrollbar { display: none; }
  .kc-chip { flex: none; }
  .kc-toolbar { padding: 12px 14px; }
}/* ---- catalog: Filters + Sort share one toolbar; filter panel collapsible ---- */
.kc-filter-toggle { display: inline-flex; }
.kc-shop-layout { grid-template-columns: minmax(0, 1fr); }
.kc-shop-layout.kc-filters-on { grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; }
.kc-shop-layout .shop-filters { display: none; }
.kc-shop-layout .shop-filters.open { display: flex; }

/* ---- sidebar overflow hardening (text must never escape the panel) ---- */
.kc-filters { overflow-x: hidden; overflow-y: auto; max-height: calc(100dvh - 150px); }
.kc-filters .opt { min-width: 0; flex-wrap: wrap; }
.kc-filters .opt label { flex: 1 1 auto; min-width: 0; flex-wrap: wrap; row-gap: 2px; overflow-wrap: anywhere; }
.kc-filters .opt label .kc-cnt { flex-shrink: 0; margin-left: auto; }
.kc-filters .filter-block { min-width: 0; }
.kc-filters h4 { overflow-wrap: anywhere; }
.kc-filters .opt input { flex: none; }

@media (max-width: 1100px) {
  .kc-shop-layout.kc-filters-on { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .kc-shop-layout .shop-filters { position: static; width: 100%; flex-direction: column; gap: 24px; margin-bottom: 6px; }
}/* ==== top filterbar: Category + Price + Sort in one card above the grid ==== */
.kc-filterbar {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 26px;
  padding: 16px 18px;
  background: linear-gradient(180deg, #fffefa, #fdf9f0);
  border: 1px solid var(--kr-border, #eee4d6);
  border-radius: 18px;
  box-shadow: 0 14px 30px -24px rgba(47, 62, 46, 0.28);
}
.kc-fb-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 180px;
  min-width: 170px;
}
.kc-fb-group.kc-fb-sort { max-width: 240px; }
.kc-fb-label {
  font-family: "Poppins", sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--kr-sage, #7b8a6f);
}
.kc-fb-select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--kr-border, #eee4d6);
  border-radius: 12px;
  padding: 11px 38px 11px 14px;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--kr-ink, #26271f);
  background:
    linear-gradient(#fff, #fdfaf2) padding-box,
    linear-gradient(#fff, #fdfaf2) border-box;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a8893a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.kc-fb-select:hover { border-color: rgba(199, 162, 74, 0.55); }
.kc-fb-select:focus {
  outline: none;
  border-color: rgba(199, 162, 74, 0.7);
  box-shadow: 0 0 0 3px rgba(199, 162, 74, 0.15);
}
.kc-fb-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  padding-bottom: 4px;
}
.kc-filterbar .shop-result-count {
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--kr-muted, #8a8b7a);
  white-space: nowrap;
}
.kc-filterbar .shop-result-count strong { color: var(--kr-gold, #a8893a); font-weight: 800; }
.kc-filterbar .kc-range { color: #b7b49f; font-size: 12px; }

@media (max-width: 860px) {
  .kc-filterbar { align-items: stretch; padding: 14px; gap: 12px; }
  .kc-fb-group { flex: 1 1 100%; min-width: 0; }
  .kc-fb-group.kc-fb-sort { max-width: none; }
  .kc-fb-right { margin-left: 0; padding-bottom: 0; width: 100%; justify-content: space-between; }
}/* ==== Our Philosophy — product rotator ==== */
.xh-philosophy { padding: 10px; }
.xh-philosophy .xh-rot-stage {
  position: relative;
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 253, 248, 0.5), rgba(243, 234, 216, 0.35));
}
.xh-philosophy .xh-rot-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 32, 24, 0.18), transparent 34%, transparent 62%, rgba(30, 32, 24, 0.2));
  pointer-events: none;
}
.xh-philosophy .xh-rot-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.14);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.xh-philosophy .xh-rot-img.in {
  opacity: 1;
  transform: scale(1.02);
}
.xh-philosophy .xh-rot-num {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
  padding: 9px 13px;
  border-radius: 12px;
  background: linear-gradient(160deg, #c7a24a, #a8893a);
  box-shadow: 0 12px 24px -10px rgba(168, 137, 58, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.xh-philosophy .xh-rot-meta { padding: 16px 8px 6px; text-align: left; }
.xh-philosophy .xh-rot-meta > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  transition-delay: calc(var(--n, 0) * 60ms);
}
.xh-philosophy .xh-rot-meta > :nth-child(1) { --n: 0; }
.xh-philosophy .xh-rot-meta > :nth-child(2) { --n: 1; }
.xh-philosophy .xh-rot-meta > :nth-child(3) { --n: 2; }
.xh-philosophy.meta-in .xh-rot-meta > * { opacity: 1; transform: none; }
.xh-philosophy .xh-rot-cat {
  font-family: "Poppins", sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--kr-gold, #a8893a);
}
.xh-philosophy .xh-rot-name {
  margin: 7px 0 3px;
  font-family: "Marcellus", serif;
  font-size: 19px;
  line-height: 1.25;
  color: var(--gl-ink-2, #2c2630);
}
.xh-philosophy .xh-rot-price {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--gl-green, #3c5a3b);
}
.xh-philosophy .xh-rot-price s {
  margin-left: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #b9b6a0;
}
.xh-philosophy .xh-rot-dots {
  display: flex;
  gap: 6px;
  padding: 8px 8px 4px;
}
.xh-philosophy .xh-rot-dot {
  width: 6px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(47, 62, 46, 0.22);
  cursor: pointer;
  transition: width 0.3s ease, background-color 0.3s ease;
}
.xh-philosophy .xh-rot-dot.active {
  width: 20px;
  background: linear-gradient(90deg, #c7a24a, #e3c98a);
}
.xh-philosophy .xh-rot-progress {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  height: 2px;
  border-radius: 999px;
  background: rgba(47, 62, 46, 0.12);
  overflow: hidden;
}
.xh-philosophy .xh-rot-progress i {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #c7a24a, #e3c98a);
  transform-origin: left;
  animation: xhFill 4s linear infinite;
}
@keyframes xhFill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@media (max-width: 900px) {
  .xh-philosophy .xh-rot-name { font-size: 16px; }
  .xh-philosophy .xh-rot-progress { bottom: 10px; left: 12px; right: 12px; }
}/* ==== Philosophy rotator — richer cinematic animation, no numbering ==== */
.xh-philosophy .xh-rot-stage::after {
  background: linear-gradient(180deg, rgba(30, 32, 24, 0.2), transparent 36%, transparent 60%, rgba(30, 32, 24, 0.24));
}
.xh-philosophy .xh-rot-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.22);
  filter: blur(12px) saturate(1.25);
  transition: none;
}
.xh-philosophy .xh-rot-img.in {
  opacity: 1;
  transform: scale(1.03);
  filter: none;
  animation: xhImgIn 1.05s cubic-bezier(0.2, 0.85, 0.24, 1);
}
@keyframes xhImgIn {
  0%   { opacity: 0; transform: scale(1.22); filter: blur(12px) saturate(1.25); }
  55%  { opacity: 1; }
  100% { opacity: 1; transform: scale(1.03); filter: none; }
}
/* light sheen that sweeps across the photo on every change */
.xh-philosophy .xh-rot-sheen {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.5) 46%,
    rgba(255, 255, 255, 0.14) 52%,
    transparent 68%);
  transform: translateX(-120%) skewX(-8deg);
}
.xh-philosophy.xh-stage-go .xh-rot-sheen { animation: xhSheen 1.1s cubic-bezier(0.4, 0, 0.2, 1) 0.15s; }
.xh-philosophy.xh-stage-go .xh-rot-img { animation: xhKen 9s linear 1.2s forwards; }
@keyframes xhSheen {
  0%   { transform: translateX(-120%) skewX(-8deg); }
  100% { transform: translateX(140%) skewX(-8deg); }
}
@keyframes xhKen {
  from { transform: scale(1.03); }
  to   { transform: scale(1.1); }
}
/* meta: stronger staggered rise + unblur */
.xh-philosophy .xh-rot-meta > * {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(8px);
  transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.2, 0.85, 0.24, 1), filter 0.5s ease;
  transition-delay: calc(var(--n, 0) * 80ms);
}
.xh-philosophy.meta-in .xh-rot-meta > * {
  opacity: 1;
  transform: none;
  filter: none;
}
.xh-philosophy .xh-rot-num { display: none !important; }/* ==== Product page — description under image, ingredients & benefits, ratings last ==== */
.pd-desc {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--kr-border, #eee4d6);
  background: linear-gradient(160deg, #fffefa, #fbf6ea);
}
.pd-desc h3 {
  margin: 0 0 8px;
  font-family: "Marcellus", serif;
  font-size: 17px;
  color: var(--gl-ink-2, #2c2630);
  letter-spacing: 0.3px;
}
.pd-desc p {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--kr-muted, #6d6f5d);
}
.pd-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin: 38px 0 10px;
}
.pd-panel {
  padding: 26px 28px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(160deg, rgba(255, 253, 248, 0.72), rgba(245, 236, 220, 0.45));
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 24px 52px -30px rgba(68, 58, 34, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.pd-panel h3 {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 16px;
  font-family: "Marcellus", serif;
  font-size: 20px;
  letter-spacing: 0.3px;
  color: var(--gl-ink-2, #2c2630);
}
.pd-pico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(160deg, #c7a24a, #a8893a);
  box-shadow: 0 10px 20px -10px rgba(168, 137, 58, 0.85);
}
.pd-panel-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.pd-panel-body li {
  position: relative;
  padding-left: 30px;
  font-family: "Poppins", sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--gl-ink-2, #2c2630);
}
.pd-panel-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 7px;
  background: linear-gradient(160deg, #e3c98a, #c7a24a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.pd-panel-body li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 10px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

@media (max-width: 700px) {
  .pd-details { grid-template-columns: 1fr; }
  .pd-panel { padding: 22px 20px; }
}/* ==== Product page — conversion / trust polish ==== */
.pd-cat {
  background: linear-gradient(160deg, #c7a24a, #a8893a);
  color: #fff;
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  font-family: "Poppins", sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
.pd-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 14px;
}
.pd-badge {
  font-family: "Poppins", sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #4a6645;
  background: rgba(74, 102, 69, 0.1);
  border: 1px solid rgba(74, 102, 69, 0.18);
}
.pd-badge.sale {
  color: #fff;
  background: linear-gradient(160deg, #cf5c2f, #a93e1a);
  border-color: transparent;
  box-shadow: 0 8px 18px -8px rgba(169, 62, 26, 0.8);
}
.pd-badge.gold {
  color: #a8893a;
  background: rgba(199, 162, 74, 0.12);
  border-color: rgba(199, 162, 74, 0.3);
}
.pd-price .now {
  font-size: clamp(30px, 4vw, 38px);
  background: linear-gradient(120deg, #a8893a, #c7a24a 60%, #e3c98a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 6px rgba(199, 162, 74, 0.25));
}
.pd-price .save {
  display: inline-block;
  margin-top: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(160deg, #cf5c2f, #a93e1a);
  box-shadow: 0 8px 18px -8px rgba(169, 62, 26, 0.7);
}
.pd-buyrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 20px 0 14px;
}
.pd-buyrow .pd-buy {
  flex: 1 1 150px;
  padding: 15px 22px;
  font-size: 15px;
  border-radius: 16px;
  background: linear-gradient(160deg, #a8893a, #c7a24a);
  color: #fff;
  border: none;
  box-shadow: 0 16px 30px -14px rgba(168, 137, 58, 0.9);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.pd-buyrow .pd-buy:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -14px rgba(168, 137, 58, 0.95); }
.pd-buyrow .pd-add {
  flex: 1 1 150px;
  padding: 14px 22px;
  font-size: 14px;
  border-radius: 16px;
  background: #fffefa;
  color: #a8893a;
  border: 1.5px solid rgba(199, 162, 74, 0.45);
  cursor: pointer;
  transition: 0.18s ease;
}
.pd-buyrow .pd-add:hover { border-color: #a8893a; background: #fffdf6; }
.pd-buyrow .wish-btn {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1.5px solid rgba(199, 162, 74, 0.45);
  background: #fffefa;
  color: #a8893a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.18s ease;
}
.pd-buyrow .wish-btn.wished { background: linear-gradient(160deg, #c7a24a, #a8893a); color: #fff; border-color: transparent; }
.pd-actions { margin: 14px 0 22px; }
.pd-actions .qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 14px;
  border: 1px solid var(--kr-border, #eee4d6);
  background: #fffefa;
  overflow: hidden;
}
.pd-actions .qty-stepper button {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  font-size: 20px;
  color: #a8893a;
  cursor: pointer;
}
.pd-actions .qty-stepper span {
  min-width: 40px;
  text-align: center;
  font-weight: 700;
}
.pd-trust {
  list-style: none;
  margin: 0 0 14px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px 14px;
  border-radius: 18px;
  border: 1px solid rgba(74, 102, 69, 0.16);
  background: linear-gradient(160deg, rgba(255, 254, 250, 0.9), rgba(247, 240, 226, 0.7));
}
.pd-trust li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--kr-muted, #6d6f5d);
}
.pd-trust li span {
  width: 26px;
  height: 26px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: #a8893a;
  background: rgba(199, 162, 74, 0.14);
}
.pd-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--kr-muted, #6d6f5d);
}
.pd-note-ok {
  color: #4a6645;
  font-weight: 800;
}
@media (max-width: 560px) {
  .pd-buyrow .pd-buy, .pd-buyrow .pd-add { flex: 1 1 120px; padding: 13px 14px; }
}/* ==== Product page — hidden / subtle reiki watermark marks ==== */
.pd-layout, .pd-details { position: relative; }
.pd-layout > div, .pd-layout > .pd-details, .pd-panel { position: relative; z-index: 1; }
.pd-reiki {
  position: absolute;
  pointer-events: none;
  user-select: none;
  color: rgba(199, 162, 74, 0.07);
  z-index: 0;
}
.pd-reiki svg { display: block; width: 100%; height: 100%; }
.pd-reiki-a {
  width: 180px;
  height: 180px;
  top: 6%;
  left: 46%;
  transform: rotate(-14deg);
}
.pd-reiki-b {
  width: 140px;
  height: 140px;
  bottom: 8%;
  right: 34%;
  transform: rotate(9deg);
  opacity: 0.75;
}
.pd-reiki-c {
  width: 220px;
  height: 220px;
  top: -30px;
  left: 50%;
  margin-left: -110px;
  transform: rotate(6deg);
  opacity: 0.5;
}
/* ==== wishlist heart without box/circle ==== */
.pd-buyrow .wish-btn { border: none; background: transparent; box-shadow: none; width: 46px; height: 46px; color: #a8893a; }
.pd-buyrow .wish-btn:hover, .pd-buyrow .wish-btn.wished { background: transparent; border: none; color: #c96a5a; }
.pd-buyrow .wish-btn svg { width: 24px; height: 24px; }

/* ==== product image static (video comes later); no glass behind ingredients ==== */
.pd-gallery .pd-main-img img { animation: none; }
.pd-thumb { transition: none; }
.pd-thumb:hover { transform: none; }
.pd-reiki-c { display: none !important; }

/* ==== KRRIVA AI Assistant (local rule-based) ==== */
.kc-ai-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  width: 60px;
  height: 60px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: linear-gradient(160deg, #c7a24a, #a8893a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 18px 40px -14px rgba(168, 137, 58, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.kc-ai-btn svg { width: 27px; height: 27px; }
.kc-ai-btn:hover { transform: translateY(-3px) scale(1.04); }
.kc-ai-ping {
  position: absolute;
  top: 6px; right: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #46c07a;
  border: 2px solid #fff;
  animation: kcPing 2s ease-in-out infinite;
}
@keyframes kcPing {
  0%, 100% { box-shadow: 0 0 0 0 rgba(70, 192, 122, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(70, 192, 122, 0); }
}
.kc-ai-panel {
  position: fixed;
  right: 22px;
  bottom: 96px;
  z-index: 1199;
  width: 384px;
  max-width: calc(100vw - 28px);
  max-height: min(620px, calc(100dvh - 130px));
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(170deg, #fffefb, #faf3e3);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 40px 90px -34px rgba(47, 62, 46, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
}
.kc-ai-panel.open {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.kc-ai-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(199, 162, 74, 0.18);
  background: linear-gradient(160deg, rgba(199, 162, 74, 0.14), rgba(199, 162, 74, 0.06));
}
.kc-ai-logo {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: "Marcellus", serif;
  font-size: 20px;
  color: #fff;
  background: linear-gradient(160deg, #c7a24a, #a8893a);
  box-shadow: 0 10px 22px -10px rgba(168, 137, 58, 0.9);
}
.kc-ai-title {
  display: flex;
  flex-direction: column;
  font-family: "Poppins", sans-serif;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--gl-ink-2, #2c2630);
}
.kc-ai-sub { font-size: 10.5px; font-weight: 500; color: var(--kr-muted, #8a8b7a); }
.kc-ai-close {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 11px;
  background: rgba(47, 62, 46, 0.07);
  color: var(--gl-ink-2, #2c2630);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.kc-ai-close svg { width: 15px; height: 15px; }
.kc-ai-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}
.kc-ai-msg {
  max-width: 86%;
  border-radius: 18px;
  padding: 11px 14px;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  line-height: 1.55;
  color: var(--gl-ink-2, #2c2630);
  box-shadow: 0 8px 20px -12px rgba(47, 62, 46, 0.25);
  animation: kcMsgIn 0.3s ease;
}
@keyframes kcMsgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.kc-ai-bot {
  align-self: flex-start;
  background: linear-gradient(160deg, #fff, #f7efdc);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-bottom-left-radius: 6px;
}
.kc-ai-us {
  align-self: flex-end;
  color: #fff;
  background: linear-gradient(160deg, #a8893a, #c7a24a);
  border-bottom-right-radius: 6px;
}
.kc-ai-msg a { color: #a8893a; font-weight: 700; }
.kc-ai-pick {
  align-self: flex-start;
  width: 100%;
}
.kc-ai-pick-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(199, 162, 74, 0.22);
  box-shadow: 0 12px 26px -16px rgba(68, 58, 34, 0.35);
  transition: 0.2s ease;
}
.kc-ai-pick-card:hover { transform: translateY(-2px); border-color: #c7a24a; }
.kc-ai-pick-card img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  background: #f6efe0;
  flex: none;
}
.kc-ai-pick-card div { min-width: 0; flex: 1; }
.kc-ai-pick-card b {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 12.5px;
  color: var(--gl-ink-2, #2c2630);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kc-ai-pick-card small { font-size: 11.5px; color: #a8893a; font-weight: 700; }
.kc-ai-pick-card .kc-ai-view {
  margin-left: auto;
  flex: none;
  font-size: 10.5px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 11px;
  background: linear-gradient(160deg, #c7a24a, #a8893a);
  box-shadow: 0 8px 16px -8px rgba(168, 137, 58, 0.8);
}
.kc-ai-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.kc-ai-chips button {
  font-family: "Poppins", sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  color: #a8893a;
  background: rgba(199, 162, 74, 0.1);
  border: 1px solid rgba(199, 162, 74, 0.3);
  border-radius: 999px;
  padding: 7px 13px;
  cursor: pointer;
  transition: 0.18s ease;
}
.kc-ai-chips button:hover { background: rgba(199, 162, 74, 0.2); border-color: #c7a24a; }
.kc-ai-dots {
  display: inline-flex;
  gap: 4px;
  padding: 4px 2px;
}
.kc-ai-dots i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #c7a24a;
  animation: kcDot 1s ease-in-out infinite;
}
.kc-ai-dots i:nth-child(2) { animation-delay: 0.15s; }
.kc-ai-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes kcDot { 0%, 100% { opacity: 0.25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.kc-ai-form {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid rgba(199, 162, 74, 0.18);
  background: #fffefb;
}
.kc-ai-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(199, 162, 74, 0.35);
  border-radius: 14px;
  padding: 11px 14px;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  outline: none;
  background: #fff;
  color: var(--gl-ink-2, #2c2630);
}
.kc-ai-form input:focus { border-color: #c7a24a; box-shadow: 0 0 0 3px rgba(199, 162, 74, 0.15); }
.kc-ai-form button {
  width: 46px;
  height: 46px;
  flex: none;
  border: none;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(160deg, #c7a24a, #a8893a);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 20px -10px rgba(168, 137, 58, 0.85);
}
.kc-ai-form button svg { width: 19px; height: 19px; }
@media (max-width: 480px) {
  .kc-ai-panel { width: calc(100vw - 24px); right: 12px; bottom: 88px; }
}
/* ==== product image inline with details (sticky removed) ==== */
.pd-gallery { position: static !important; }

/* ==== Product discovery — ritual, bundle, strips ==== */
.kc-rec-section { padding-bottom: 0; }
.kc-eb {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gl-gold, #a8893a);
  margin-bottom: 6px;
}
.kc-ritual {
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.85), rgba(246, 240, 226, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--gl-soft, 0 24px 60px -34px rgba(68, 58, 34, 0.5));
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}
.kc-rit-step {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 170px;
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(199, 162, 74, 0.2);
  border-radius: 16px;
  padding: 10px 12px;
  position: relative;
}
.kc-rit-num {
  position: absolute;
  top: -9px;
  left: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 800 11px/1 "Poppins", sans-serif;
  color: #fff;
  background: linear-gradient(160deg, #c7a24a, #a8893a);
  box-shadow: 0 6px 12px -6px rgba(168, 137, 58, 0.9);
}
.kc-rit-step img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
  background: #f6efe0;
  flex: none;
}
.kc-rit-info { min-width: 0; display: flex; flex-direction: column; }
.kc-rit-info em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a8893a;
}
.kc-rit-info b {
  font-family: "Poppins", sans-serif;
  font-size: 12.5px;
  color: var(--gl-ink-2, #2c2630);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kc-rit-info small { font-size: 11.5px; font-weight: 700; color: #a8893a; }
.kc-rit-arrow { align-self: center; color: #c7a24a; font-size: 18px; font-weight: 700; flex: none; }
.kc-rit-add { align-self: center; margin-left: auto; flex: none; }
.kc-combo {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(246, 240, 226, 0.75));
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  padding: 18px 20px;
  box-shadow: var(--gl-soft, 0 24px 60px -34px rgba(68, 58, 34, 0.5));
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}
.kc-combo-thumbs { display: flex; flex: none; }
.kc-combo-thumbs img {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid #fff;
  background: #f6efe0;
  box-shadow: 0 8px 16px -10px rgba(68, 58, 34, 0.35);
}
.kc-combo-thumbs img + img { margin-left: -12px; }
.kc-combo-mid { flex: 1 1 260px; min-width: 0; }
.kc-combo-mid > b {
  font-family: "Poppins", sans-serif;
  font-size: 14.5px;
  color: var(--gl-ink-2, #2c2630);
}
.kc-combo-mid ul { list-style: none; margin: 8px 0 6px; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.kc-combo-mid ul li {
  font-family: "Poppins", sans-serif;
  font-size: 12.5px;
  color: var(--kr-muted, #6b6d5c);
  display: flex;
  gap: 6px;
  min-width: 0;
}
.kc-combo-mid ul li span { color: #46a66f; font-weight: 800; }
.kc-combo-mid ul li em { font-style: normal; font-weight: 700; color: #2c2630; margin-left: auto; white-space: nowrap; }
.kc-combo-price { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.kc-combo-price .now {
  font-size: 19px;
  font-weight: 800;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(150deg, #a8893a, #c7a24a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.kc-combo-price .was { color: #9a978a; text-decoration: line-through; font-size: 13px; }
.kc-combo-price .save {
  font-size: 11.5px;
  font-weight: 800;
  color: #46a66f;
  background: rgba(70, 166, 111, 0.12);
  padding: 3px 9px;
  border-radius: 999px;
}
.kc-cat-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}
.kc-cat-strip-label {
  font-family: "Poppins", sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--kr-muted, #8a8b7a);
}
.kc-cat-chip {
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  color: #a8893a;
  background: rgba(199, 162, 74, 0.1);
  border: 1px solid rgba(199, 162, 74, 0.3);
  border-radius: 999px;
  padding: 7px 14px;
  transition: 0.18s ease;
}
.kc-cat-chip:hover, .kc-cat-chip.on {
  background: linear-gradient(160deg, #c7a24a, #a8893a);
  color: #fff;
  border-color: transparent;
}
.kc-see-all { flex: none; }
@media (max-width: 640px) {
  .kc-rit-arrow { display: none; }
  .kc-rit-add { margin: 4px 0 0; width: 100%; }
  .kc-combo > .kc-btn { width: 100%; justify-content: center; }
}
/* ==== Description: uniform collapsed height with Read more ==== */
.pd-desc {
  position: relative;
  max-height: 142px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.pd-desc.open { max-height: none; overflow: visible; }
.pd-desc.clipped::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58px;
  background: linear-gradient(to top, #fbf6ea, rgba(251, 246, 234, 0));
  pointer-events: none;
}
.pd-desc.open::after { display: none; }
.pd-desc-toggle {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  border: none;
  background: none;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: #a8893a;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 4px 6px;
  border-radius: 8px;
}
.pd-desc-toggle:hover { background: rgba(199, 162, 74, 0.1); }
.pd-desc.open .pd-desc-toggle { position: static; margin-top: 10px; }
/* ==== AI assistant: New chat button ==== */
.kc-ai-new {
  width: 34px;
  height: 34px;
  flex: none;
  border: none;
  border-radius: 11px;
  background: rgba(199, 162, 74, 0.12);
  color: #a8893a;
  cursor: pointer;
  display: grid;
  place-items: center;
  margin-left: auto;
}
.kc-ai-new:hover { background: rgba(199, 162, 74, 0.22); }
.kc-ai-new svg { width: 15px; height: 15px; }
.kc-ai-head .kc-ai-close { margin-left: 6px; }
/* ==== Order review modal ==== */
.krm-x {
  width: 32px;
  height: 32px;
  flex: none;
  border: none;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.05);
  color: #5a5560;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}
.krm-x:hover { background: rgba(0, 0, 0, 0.1); }
#review-modal .modal { padding: 24px; }
#review-modal .review-form { margin-bottom: 0; }
#review-modal .review-form .star-picker { margin-bottom: 8px; }
#review-modal .kc-order-line-img { flex: none; }
#review-modal [data-saved] { display: inline-flex; align-items: center; gap: 5px; }
/* ==== My Orders — minimal card, expands on click ==== */
.kc-order-mini-head {
  width: 100%;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding: 16px 20px;
  transition: background 0.18s ease;
}
.kc-order-mini-head:hover { background: #faf7f0; }
.kc-order-mini-cell { display: flex; flex-direction: column; gap: 2px; }
.kc-order-mini-cell small {
  font-size: 10.5px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #8b9089;
}
.kc-order-mini-cell b { font-size: 13.5px; font-weight: 800; color: var(--kc-deep); }
.kc-order-mini-items { flex-direction: row; align-items: center; gap: 9px; }
.kc-order-mini-items > small { order: 2; }
.kc-order-mini-thumbs { display: flex; align-items: center; gap: 4px; }
.kc-order-mini-thumb {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--kc-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.kc-order-mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.kc-order-mini-more { font-size: 11px; font-weight: 800; color: var(--kc-muted); }
.kc-order-mini-total { text-align: right; }
.kc-order-mini-chev { color: var(--kc-muted); display: flex; margin-left: auto; }
.kc-order-mini-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 20px;
  border-top: 1px solid #f2ede4;
  background: #fdfbf6;
}
.kc-order-mini-hint { font-size: 11.5px; color: var(--kc-muted); }
@media (max-width: 640px) {
  .kc-order-mini-chev { display: none; }
  .kc-order-mini-hint { display: none; }
  .kc-order-mini-head { gap: 10px 18px; }
  .kc-order-mini-foot { justify-content: flex-end; }
}
/* ==== Profile avatar image (account page) ==== */
.acc-ava-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--kr-gold, #c7a24a);
  background: var(--kr-cream-deep, #efe6cf);
  color: var(--kr-green, #48633f);
  font-family: "Poppins", sans-serif;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}
.acc-ava-lg.has-photo { background: #fff; }
.acc-ava-lg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kc-photo-hero { justify-content: center; padding: 22px; }
.kc-photo-hero .acc-ava-lg { width: 96px; height: 96px; font-size: 34px; border-width: 3px; }
@media (max-width: 620px) {
  .kc-photo-hero .acc-ava-lg { width: 84px; height: 84px; font-size: 30px; }
}
/* ==== Top navigation avatar: no golden ring / border ==== */
.header-action .account-ava,
.account-ava,
.account-ava.has-photo,
.account-ava-lg {
  border: none !important;
  box-shadow: none !important;
}
/* ==== Avatars: rounded-square glass tiles (no ring) ==== */
.account-ava {
  border-radius: 10px;
  background: linear-gradient(150deg, rgba(255, 253, 248, 0.92), rgba(255, 253, 248, 0.6));
  border: none !important;
}
.account-ava.has-photo { border-radius: 10px; background: #fff; }
.account-ava-lg { border-radius: 14px; }
.account-ava img { border-radius: inherit; }
.acc-ava-lg {
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(255, 253, 248, 0.92), rgba(255, 253, 248, 0.6));
}
.acc-ava-lg.has-photo { background: #fff; }
.acc-ava-lg img { border-radius: inherit; }
.kc-photo-hero .acc-ava-lg { border-radius: 26px; }
/* ==== Account hero avatar: profile image (glass tile) ==== */
.kc-acc-avatar {
  border-radius: 22px;
  overflow: hidden;
}
.kc-acc-avatar.has-photo { background: #fff; }
.kc-acc-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* ==== Profile photo cropper ==== */
.kc-crop-stage {
  position: relative;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: #f2ede4;
  touch-action: none;
  cursor: grab;
}
.kc-crop-stage:active { cursor: grabbing; }
.kc-crop-stage canvas { display: block; }
.kc-crop-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.78), inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
#crop-modal #kc-crop-zoom { accent-color: #a8893a; }
#crop-modal .modal { overflow: visible; }
/* ==== Crop tools: zoom + rotate rows ==== */
.kc-crop-tools { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.kc-crop-lab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  min-width: 58px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-500, #6d6f5d);
}
.kc-crop-tools input[type="range"] { flex: 1; accent-color: #a8893a; }
.kc-crop-rotbtn {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--kc-line, #e8e2d5);
  border-radius: 10px;
  background: #fff;
  color: #7a6a3a;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.kc-crop-rotbtn:hover { background: #faf7f0; }
.kc-crop-rotbtn:active { transform: scale(0.94); }
.kc-crop-rotbtn.flip svg { transform: scaleX(-1); }
/* ==== AI assistant button -> round golden coin ==== */
.kc-ai-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at 32% 26%, #ffeaa8 0%, #ecca6c 30%, #cda445 62%, #9c7b2a 100%);
  color: #6b520f;
  box-shadow:
    0 16px 34px -12px rgba(168, 137, 58, 0.85),
    inset 0 2px 3px rgba(255, 255, 255, 0.75),
    inset 0 -4px 7px rgba(120, 90, 20, 0.45),
    inset 0 0 0 3px rgba(255, 255, 255, 0.26);
}
.kc-ai-btn::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.55);
  pointer-events: none;
}
.kc-ai-btn svg { width: 26px; height: 26px; }
.kc-ai-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 20px 40px -12px rgba(168, 137, 58, 0.9),
    inset 0 2px 3px rgba(255, 255, 255, 0.8),
    inset 0 -4px 7px rgba(120, 90, 20, 0.5),
    inset 0 0 0 3px rgba(255, 255, 255, 0.3);
}
.kc-ai-btn .kc-ai-ping { top: 5px; right: 5px; }
/* ==== AI assistant button -> golden genie lamp ==== */
.kc-ai-btn {
  width: 76px;
  height: 70px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #9c7b2a;
}
.kc-ai-btn::before { display: none; }
.kc-ai-btn:hover { transform: translateY(-3px) scale(1.05); box-shadow: none; }
.kc-ai-btn svg.kc-ai-lamp {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 12px 18px rgba(168, 137, 58, 0.5));
  animation: kcLampFloat 3.6s ease-in-out infinite;
}
.kc-ai-btn .kc-ai-ping { top: 8px; right: 13px; }
@keyframes kcLampFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
/* ==== AI assistant button -> golden genie character ==== */
.kc-ai-btn {
  width: 78px;
  height: 78px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.kc-ai-btn::before { display: none; }
.kc-ai-btn:hover { transform: translateY(-3px) scale(1.05); box-shadow: none; }
.kc-ai-btn svg.kc-ai-genie {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 12px 18px rgba(120, 150, 170, 0.45));
  animation: kcGenieFloat 3.6s ease-in-out infinite;
}
.kc-ai-btn .kc-ai-ping { top: 11px; right: 15px; }
@keyframes kcGenieFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
/* ==== AI assistant button -> refined golden genie ==== */
.kc-ai-btn {
  width: 80px;
  height: 80px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}
.kc-ai-btn::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 64%, rgba(126, 176, 205, 0.4), rgba(126, 176, 205, 0) 68%);
  z-index: -1;
}
.kc-ai-btn:hover { transform: translateY(-3px) scale(1.05); box-shadow: none; }
.kc-ai-btn svg.kc-ai-genie {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 11px 16px rgba(120, 150, 170, 0.42));
  animation: kcGenieFloat 3.6s ease-in-out infinite;
}
.kc-ai-btn .kc-ai-ping { top: 12px; right: 16px; }
@keyframes kcGenieFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
/* ==== Product page — delivery serviceability ==== */
.pd-deliv {
  margin: 0 0 22px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(74, 102, 69, 0.16);
  background: linear-gradient(160deg, rgba(255, 254, 250, 0.92), rgba(247, 240, 226, 0.72));
}
.pd-deliv-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.pd-deliv-ico {
  width: 30px;
  height: 30px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #a8893a;
  background: rgba(199, 162, 74, 0.14);
}
.pd-deliv-title { display: flex; flex-direction: column; line-height: 1.25; }
.pd-deliv-title strong { font-family: "Poppins", sans-serif; font-size: 13px; font-weight: 700; color: var(--ink-900, #2f3326); }
.pd-deliv-title span { font-size: 11.5px; color: var(--kr-muted, #6d6f5d); }
.pd-deliv-row { display: flex; gap: 8px; }
.pd-pin {
  flex: 1;
  min-width: 0;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-900, #2f3326);
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--kc-line, #e8e2d5);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.pd-pin:focus { outline: none; border-color: #c7a24a; box-shadow: 0 0 0 3px rgba(199, 162, 74, 0.18); }
.pd-pin::placeholder { letter-spacing: 0; font-weight: 500; color: #b6b0a0; }
.pd-pin-btn {
  flex: none;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  padding: 11px 20px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(160deg, #c7a24a, #a8893a);
  box-shadow: 0 12px 24px -12px rgba(168, 137, 58, 0.8);
  transition: transform 0.15s, box-shadow 0.15s;
}
.pd-pin-btn:hover { transform: translateY(-1px); box-shadow: 0 16px 28px -12px rgba(168, 137, 58, 0.9); }
.pd-pin-btn:active { transform: translateY(0); }
.pd-deliv-result:not(:empty) { margin-top: 11px; }
.pd-svc { font-family: "Poppins", sans-serif; font-size: 12.5px; }
.pd-svc p,
.pd-svc.ok,
.pd-svc.no,
.pd-svc.warn { display: flex; align-items: center; gap: 6px; }
.pd-svc.ok { flex-direction: column; align-items: flex-start; color: #3f6b3a; }
.pd-svc.ok p { width: 100%; }
.pd-svc strong { color: #2f3326; }
.pd-svc-sub { color: var(--kr-muted, #6d6f5d); font-weight: 500; }
.pd-svc.no { color: #b3502f; }
.pd-svc.warn { color: #9a7a2c; }
.pd-svc svg { flex: none; }
.pd-deliv-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.pd-deliv-foot:not(:empty) { padding-top: 10px; border-top: 1px dashed rgba(74, 102, 69, 0.18); }
.pd-deliv-at { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--kr-muted, #6d6f5d); margin-right: 4px; }
.pd-deliv-at strong { color: #2f3326; }
.pd-deliv-link {
  cursor: pointer;
  border: none;
  background: none;
  padding: 2px 4px;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #a8893a;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.pd-deliv-link:hover { color: #8a6d24; text-decoration: underline; }
@media (max-width: 420px) {
  .pd-deliv-row { flex-wrap: wrap; }
  .pd-pin-btn { flex: 1; }
}

/* ---- Sold-out: Notify me when available ---- */
#pd-buy-area .pd-notify {
  flex: 1 1 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 22px;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: 16px;
  border: 1.5px solid rgba(168, 137, 58, 0.5);
  background: linear-gradient(160deg, #fffbef, #fdf3dd);
  color: #8a6d28;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
#pd-buy-area .pd-notify:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -16px rgba(168, 137, 58, 0.7);
  border-color: #a8893a;
}
#pd-buy-area .pd-notify:disabled {
  cursor: default;
  transform: none;
  box-shadow: none;
  background: #f2eee4;
  border-color: rgba(0, 0, 0, 0.08);
  color: #7a7466;
}
.pd-soldout-note {
  margin: 2px 0 22px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #8a8070;
}
.pd-notify-hero {
  width: 64px;
  height: 64px;
  margin: 8px auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a8893a;
  background: radial-gradient(circle at 50% 35%, #fff5dc, #f3e2b4);
  box-shadow: inset 0 0 0 1px rgba(168, 137, 58, 0.25);
}
.pd-notify-text {
  font-size: 13px;
  line-height: 1.6;
  color: #6b6252;
  margin: 0 0 16px;
  text-align: center;
}
.pd-notify-text strong { color: #4a4335; }


/* ---- Delivery serviceability: loading state ---- */
.pd-svc.load {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--kr-muted, #6d6f5d);
}

/* Account: address card location line */
.kc-addr-loc { display: inline-block; margin-top: 4px; font-size: 12px; color: var(--kc-muted, #6d6f5d); }

/* Account: styled select used in the address form */
select.kc-input.kc-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a8893a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
/* Account: friendly add-address form */
.kc-af-lead { margin: 0 0 14px; font-size: 12.5px; color: var(--kc-muted, #6d6f5d); }
.kc-af-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.kc-af-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--kc-line, #e8e2d5);
  background: #fffefa;
  color: #6b6252;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.16s ease;
}
.kc-af-chip:hover { border-color: rgba(199, 162, 74, 0.5); }
.kc-af-chip.on {
  background: linear-gradient(160deg, #c7a24a, #a8893a);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 20px -12px rgba(168, 137, 58, 0.8);
}
.kc-af-chip svg { flex: none; }
.kc-af-loc { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 12.5px; color: #3f6b3a; font-weight: 600; }
.kc-af-loc svg { flex: none; }
/* Checkout / account: save-as-default checkbox */
.kc-check.kc-check-default {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  line-height: 1.3;
  color: #4a4636;
  cursor: pointer;
  font-weight: 500;
  user-select: none;
}
.kc-check.kc-check-default input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  width: 19px;
  height: 19px;
  border: 1.6px solid #cfc6b0;
  border-radius: 6px;
  background: #fffefa;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px;
}
.kc-check.kc-check-default input[type="checkbox"]:hover { border-color: #c7a24a; }
.kc-check.kc-check-default input[type="checkbox"]:checked {
  background-color: #a8893a;
  border-color: #a8893a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}
.kc-check.kc-check-default input[type="checkbox"]:focus-visible {
  outline: 2px solid rgba(199, 162, 74, 0.7);
  outline-offset: 2px;
}
/* ---- Payment step: available coupons + botanical points ---- */
.kc-pm-perk .kc-head h3 { display:flex; align-items:center; gap:6px; }
.kc-cpn {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  border:1px dashed #e3d9c2; background:#fffdf8; border-radius:12px;
  padding:10px 12px; margin-bottom:8px;
}
.kc-cpn.on { border-style:solid; border-color:#cfe6d3; background:#f3f8f4; }
.kc-cpn.off { opacity:.6; }
.kc-cpn-l { display:flex; flex-direction:column; gap:2px; min-width:0; }
.kc-cpn-code {
  font-weight:700; letter-spacing:.5px; font-size:12.5px; color:var(--kc-deep);
  display:inline-flex; align-items:center; gap:5px;
}
.kc-cpn.on .kc-cpn-code { color:#3e7d4a; }
.kc-cpn-desc { font-size:11.5px; color:var(--kc-muted); }
.kc-cpn .kc-btn { flex:none; }
.kc-cpn .kc-btn[disabled] { opacity:.55; cursor:not-allowed; }
.kc-cpn-manual { display:flex; gap:8px; margin-top:10px; }
.kc-cpn-manual .kc-input { flex:1; min-width:0; }

.kc-pts-top { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.kc-pts-bal { display:inline-flex; align-items:center; gap:6px; font-size:12.5px; color:var(--kc-deep); }
.kc-pts-bal b { color:#3e7d4a; }
.kc-pts-worth {
  font-size:11.5px; color:#3e7d4a; background:#e6f2e8; border-radius:999px;
  padding:3px 9px; white-space:nowrap;
}
.kc-pts-ctrl { display:flex; flex-direction:column; gap:10px; }
.kc-pts-ctrl input[type="range"] { width:100%; accent-color:#a8893a; }
.kc-pts-row { display:flex; gap:8px; align-items:center; }
.kc-pts-row .kc-input { flex:1; min-width:0; }
.kc-pts-row .kc-btn { flex:none; }
.kc-pts-save-row {
  display:flex; align-items:center; justify-content:space-between;
  margin-top:10px; padding-top:10px; border-top:1px solid #dbe8dc;
  font-size:12.5px; color:var(--kc-muted);
}
.kc-pts-save-row b { color:#3e7d4a; font-size:14px; }

/* ============================================================
   Skin Quiz, family profiles & quiz CTA  (appended)
   ============================================================ */

/* Homepage CTA band */
.kc-quiz-cta { padding: 8px 0 4px; }
.kc-quiz-cta-card {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  background: linear-gradient(135deg, #f3f8f4, #eef3e6 60%, #fbf3dd);
  border: 1px solid #dce7d5; border-radius: 26px; padding: 34px 40px;
  box-shadow: 0 22px 50px -34px rgba(47, 62, 46, .45);
}
.kc-quiz-cta-copy { flex: 1 1 340px; }
.kc-quiz-cta-copy .xh-h2 { margin: 6px 0 10px; }
.kc-quiz-cta-copy p { margin: 0 0 18px; color: #55624f; max-width: 560px; }
.kc-quiz-cta-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.kc-quiz-cta-remember {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600;
  color: #2f6b47; background: #fff; border: 1px solid #cfe3d3; border-radius: 999px; padding: 7px 14px;
}
.kc-quiz-cta-visual { position: relative; width: 120px; height: 120px; flex: 0 0 auto; display: grid; place-items: center; color: #b8912f; }
.kc-quiz-cta-ico { display: grid; place-items: center; }
.kc-quiz-cta-ico.small { position: absolute; bottom: 6px; right: 6px; color: #2f6b47; }
@media (max-width: 640px) {
  .kc-quiz-cta-card { padding: 26px 22px; }
  .kc-quiz-cta-visual { display: none; }
}

/* Quiz page */
.kc-quiz-page { padding: 28px 0 60px; }
.kc-quiz-card { max-width: 720px; margin: 0 auto; }
.kc-quiz-progress { height: 6px; border-radius: 999px; background: #ece6d8; overflow: hidden; margin: 6px 0 12px; }
.kc-quiz-progress i { display: block; height: 100%; background: linear-gradient(90deg, #c7a24a, #2f6b47); border-radius: inherit; transition: width .3s ease; }
.kc-quiz-count { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #8a6d1f; }
.kc-quiz-title { font-size: 26px; margin: 8px 0 6px; color: #253a2a; line-height: 1.2; }
.kc-quiz-sub { color: #5a6a55; margin: 0 0 22px; }
.kc-quiz-opts { display: grid; gap: 12px; }
.kc-quiz-opt {
  display: flex; align-items: center; gap: 14px; text-align: left; width: 100%;
  background: #fffdf8; border: 1.5px solid #e8e2d5; border-radius: 16px;
  padding: 15px 16px; cursor: pointer; transition: border-color .18s, box-shadow .18s, transform .18s;
}
.kc-quiz-opt:hover { border-color: rgba(199, 162, 74, .7); transform: translateY(-1px); box-shadow: 0 10px 24px -18px rgba(47, 62, 46, .5); }
.kc-quiz-opt.on { border-color: #2f6b47; box-shadow: 0 0 0 3px rgba(47, 107, 71, .12); }
.kc-quiz-opt-ico { width: 42px; height: 42px; border-radius: 12px; background: #f2efe3; color: #8a6d1f; display: grid; place-items: center; flex: 0 0 auto; }
.kc-quiz-opt-txt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.kc-quiz-opt-txt b { color: #253a2a; font-size: 15px; }
.kc-quiz-opt-txt small { color: #7c8a76; font-size: 12.5px; }
.kc-quiz-opt-tick { width: 24px; height: 24px; border-radius: 999px; display: grid; place-items: center; color: #fff; background: #2f6b47; opacity: 0; transition: opacity .18s; flex: 0 0 auto; }
.kc-quiz-opt.on .kc-quiz-opt-tick { opacity: 1; }
.kc-quiz-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* "Taking this quiz for" profile picker */
.kc-quiz-for { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid #ece6d8; }
.kc-quiz-for-label { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: #5a6a55; }
.kc-quiz-for-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.kc-quiz-for-chip {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: #fffdf8; border: 1.5px solid #e8e2d5; border-radius: 999px;
  padding: 6px 14px 6px 6px; font-weight: 600; font-size: 13px; color: #253a2a;
  transition: border-color .18s, box-shadow .18s;
}
.kc-quiz-for-chip img, .kc-quiz-for-chip span {
  width: 24px; height: 24px; border-radius: 999px; object-fit: cover;
  display: grid; place-items: center; background: #f2efe3; color: #8a6d1f; font-size: 11px; font-weight: 700;
}
.kc-quiz-for-chip.on { border-color: #2f6b47; box-shadow: 0 0 0 3px rgba(47, 107, 71, .12); }

/* Quiz result */
.kc-quiz-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 22px; }
.kc-quiz-chip { display: inline-flex; align-items: center; gap: 6px; background: #f3f8f4; border: 1px solid #d4e6d9; color: #2f6b47; border-radius: 999px; padding: 6px 13px; font-size: 12.5px; font-weight: 600; }
.kc-quiz-routine { display: grid; gap: 12px; }
.kc-quiz-item { display: flex; align-items: center; gap: 14px; background: #fffdf8; border: 1px solid #e8e2d5; border-radius: 16px; padding: 12px 14px; }
.kc-quiz-item-thumb { width: 52px; height: 52px; border-radius: 12px; overflow: hidden; background: #f2efe3; flex: 0 0 auto; display: grid; place-items: center; }
.kc-quiz-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.kc-quiz-item-info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.kc-quiz-item-info small { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a6d1f; }
.kc-quiz-item-info b { color: #253a2a; font-size: 14.5px; }
.kc-quiz-item-info span { color: #2f6b47; font-weight: 600; font-size: 13px; }
.kc-quiz-total { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 12px; padding-top: 16px; border-top: 1px dashed #ddd6c6; }
.kc-quiz-total small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: #8a6d1f; font-weight: 700; }
.kc-quiz-total b { color: #253a2a; }
.kc-quiz-total-amt { font-size: 22px; font-weight: 700; color: #253a2a; }
.kc-quiz-note { display: flex; align-items: center; gap: 7px; margin: 14px 0 4px; font-size: 12.5px; color: #5a6a55; }
.kc-quiz-note a { color: #2f6b47; font-weight: 600; }
.kc-quiz-sub-head { margin: 26px 0 12px; font-weight: 700; color: #253a2a; }
.kc-quiz-extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kc-quiz-extra { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; background: #fffdf8; border: 1px solid #e8e2d5; border-radius: 16px; padding: 14px; }
.kc-quiz-extra-thumb { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: #f2efe3; display: grid; place-items: center; }
.kc-quiz-extra-thumb img { width: 100%; height: 100%; object-fit: cover; }
.kc-quiz-extra b { font-size: 13.5px; color: #253a2a; }
.kc-quiz-extra span { color: #2f6b47; font-weight: 600; font-size: 13px; }
@media (max-width: 620px) { .kc-quiz-extras { grid-template-columns: 1fr; } }

/* Family profiles (account tab) */
.kc-fam-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.kc-fam-card { display: flex; align-items: flex-start; gap: 14px; background: #fffdf8; border: 1px solid #e8e2d5; border-radius: 18px; padding: 16px; }
.kc-fam-self { border-color: #cfe3d3; background: linear-gradient(135deg, #f6fbf7, #eef5ee); }
.kc-fam-ava { width: 56px; height: 56px; border-radius: 999px; overflow: hidden; background: #f2efe3; color: #8a6d1f; display: grid; place-items: center; font-weight: 700; flex: 0 0 auto; }
.kc-fam-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kc-fam-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.kc-fam-info b { color: #253a2a; }
.kc-fam-tag { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #2f6b47; background: #e4f1e7; border-radius: 999px; padding: 2px 8px; margin-left: 6px; }
.kc-fam-rel { font-size: 12px; color: #7c8a76; }
.kc-fam-skin { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.kc-fam-empty { font-size: 12px; color: #a0aa9b; font-style: italic; }
.kc-fam-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.kc-fam-form { margin-top: 18px; }
.kc-fam-opt { color: #a0aa9b; font-weight: 500; }
.kc-fam-form .kc-chips { justify-content: flex-start; margin: 0; max-width: none; gap: 8px; }
.kc-chip.on { color: #fff; background: linear-gradient(135deg, #2f6b47, #1f4d34); border-color: transparent; }
@media (max-width: 720px) { .kc-fam-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Build-your-own combo + offers showcase  (appended)
   ============================================================ */

/* Homepage combo band */
.kc-combo-band { padding: 8px 0 4px; }
.kc-combo-band-card {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  background: linear-gradient(135deg, #fdf7e8, #f6efe0 55%, #eef3e6);
  border: 1px solid #ecdcb6; border-radius: 26px; padding: 34px 40px;
  box-shadow: 0 22px 50px -34px rgba(138, 109, 31, .5);
}
.kc-combo-band-copy { flex: 1 1 360px; }
.kc-combo-band-copy .xh-h2 { margin: 6px 0 10px; }
.kc-combo-band-copy p { margin: 0 0 16px; color: #55624f; max-width: 560px; }
.kc-combo-band-tiers { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.kc-combo-band-visual { color: #b8912f; flex: 0 0 auto; display: grid; place-items: center; width: 110px; height: 110px; }
@media (max-width: 640px) { .kc-combo-band-card { padding: 26px 22px; } .kc-combo-band-visual { display: none; } }

/* Shared combo tier pill */
.kc-combo-tier {
  display: inline-flex; flex-direction: column; gap: 1px; text-align: left;
  background: #fff; border: 1px solid #ecdcb6; border-radius: 14px; padding: 9px 16px;
}
.kc-combo-tier b { color: #8a6d1f; font-size: 15px; }
.kc-combo-tier small { color: #8a8a76; font-size: 11.5px; font-weight: 600; }
.kc-combo-tier.on { border-color: #2f6b47; box-shadow: 0 0 0 3px rgba(47, 107, 71, .12); }

/* Offers band */
.kc-offers { padding: 8px 0 10px; }
.kc-offers-band { display: grid; gap: 14px; }
.kc-offer-combo {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; text-decoration: none;
  background: linear-gradient(135deg, #f3f8f4, #e9f2ea); border: 1px solid #cfe3d3;
  border-radius: 20px; padding: 18px 22px; transition: transform .18s, box-shadow .18s;
}
.kc-offer-combo:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -22px rgba(47, 62, 46, .6); }
.kc-offer-combo-ico { width: 46px; height: 46px; border-radius: 14px; background: #fff; color: #2f6b47; display: grid; place-items: center; flex: 0 0 auto; }
.kc-offer-combo-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kc-offer-combo-txt b { color: #253a2a; font-size: 15.5px; }
.kc-offer-combo-txt small { color: #5a6a55; font-size: 12.5px; }
.kc-offer-combo-cta { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: #2f6b47; white-space: nowrap; }
.kc-offer-coupons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kc-offer-coupon {
  display: flex; flex-direction: column; gap: 6px; padding: 18px;
  background: #fffdf8; border: 1px dashed #d9c78f; border-radius: 18px;
}
.kc-offer-coupon b { color: #8a6d1f; font-size: 17px; }
.kc-offer-coupon h4 { margin: 0; font-size: 14px; letter-spacing: .04em; color: #253a2a; }
.kc-offer-coupon small { color: #7c8a76; font-size: 11.5px; }
.kc-offer-coupon .kc-voucher-code { margin-top: auto; }
@media (max-width: 900px) { .kc-offer-coupons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .kc-offer-coupons { grid-template-columns: 1fr; } }

/* Combo builder page */
.kc-combo-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin: 6px 0 22px;
}
.kc-combo-head h1 { font-size: 30px; margin: 8px 0 6px; color: #253a2a; }
.kc-combo-head p { margin: 0; color: #5a6a55; max-width: 620px; }
.kc-combo-tiers { display: flex; gap: 10px; flex-wrap: wrap; }
.kc-combo-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.kc-combo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.kc-combo-pick {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center; cursor: pointer; padding: 18px 14px 14px;
  background: #fffdf8; border: 1.5px solid #e8e2d5; border-radius: 18px;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.kc-combo-pick:hover { border-color: rgba(199, 162, 74, .7); transform: translateY(-2px); box-shadow: 0 12px 26px -20px rgba(47, 62, 46, .6); }
.kc-combo-pick.on { border-color: #2f6b47; box-shadow: 0 0 0 3px rgba(47, 107, 71, .14); }
.kc-combo-check {
  position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 999px;
  display: grid; place-items: center; color: #fff; background: #2f6b47; opacity: 0; transition: opacity .18s;
}
.kc-combo-pick.on .kc-combo-check { opacity: 1; }
.kc-combo-thumb { width: 96px; height: 96px; border-radius: 14px; overflow: hidden; background: #f2efe3; display: grid; place-items: center; }
.kc-combo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.kc-combo-name { color: #253a2a; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.kc-combo-price { color: #2f6b47; font-weight: 700; font-size: 14px; }
.kc-combo-price em { color: #a0aa9b; font-style: normal; font-size: 11px; font-weight: 600; }
.kc-combo-side { position: sticky; top: 100px; }
.kc-combo-summary .kc-head { margin-bottom: 12px; }
.kc-combo-list { display: grid; gap: 8px; margin-bottom: 6px; max-height: 260px; overflow: auto; }
.kc-combo-li { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: #3d4a38; }
.kc-combo-li b { color: #253a2a; white-space: nowrap; }
@media (max-width: 1024px) {
  .kc-combo-layout { grid-template-columns: 1fr; }
  .kc-combo-side { position: static; }
}
@media (max-width: 620px) { .kc-combo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Combo offer banner (cart page + drawer) */
.kc-combo-offer {
  border: 1px dashed #e2cf95; background: #fffdf6; border-radius: 16px;
  padding: 14px 16px; margin: 12px 0;
}
.kc-combo-offer.on { border-style: solid; border-color: #2f6b47; background: #f3f9f4; }
.kc-combo-offer-head { display: flex; align-items: center; gap: 8px; color: #8a6d1f; font-size: 13.5px; }
.kc-combo-offer-head b { font-size: 13.5px; }
.kc-combo-offer-head a {
  margin-left: auto; color: #2f6b47; font-weight: 600; font-size: 12.5px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
}
.kc-combo-offer-head a:hover { text-decoration: underline; }
.kc-combo-offer-tiers { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 6px; }
.kc-combo-offer-tiers .kc-combo-tier { padding: 6px 12px; border-radius: 12px; }
.kc-combo-offer-note { margin: 4px 0 0; font-size: 12px; color: #5a6a55; display: flex; align-items: center; gap: 6px; }
.kc-combo-offer.on .kc-combo-offer-note { color: #2f6b47; font-weight: 600; }
.cart-row.combo span:last-child { color: #2f6b47; font-weight: 600; }
.drawer-foot .kc-combo-offer { margin: 10px 0; padding: 12px; }


/* ---- Combo Rituals page (curated + custom builder) ---- */
.kc-rituals-head { text-align: center; max-width: 640px; margin: 0 auto 20px; }
.kc-rituals-head h2 { margin: 6px 0 6px; font-family: "Cormorant Garamond", serif; font-size: 30px; letter-spacing: .2px; color: var(--kc-ink, #243024); }
.kc-rituals-head p { margin: 0; color: var(--kc-muted, #6b7568); font-size: 14.5px; }
.kc-rituals { margin: 8px 0 34px; }
.kc-combo-builder { margin-top: 8px; padding-top: 26px; border-top: 1px solid var(--kc-line, #e7e2d4); }

.kc-ritual-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 18px; }
.kc-ritual {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--kc-line, #e7e2d4);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(36, 48, 36, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.kc-ritual:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(36, 48, 36, .12); }
.kc-ritual-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--kc-ritual-accent, #b8912f); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.kc-ritual-media {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 132px; padding: 20px 14px 8px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--kc-ritual-accent, #b8912f) 12%, #fff), #fff);
}
.kc-ritual-thumb {
  width: 62px; height: 62px; flex: 0 0 auto; border-radius: 14px; overflow: hidden;
  display: grid; place-items: center; background: #fff;
  border: 1px solid rgba(36, 48, 36, .08); box-shadow: 0 4px 10px rgba(36, 48, 36, .06);
}
.kc-ritual-thumb img { width: 100%; height: 100%; object-fit: cover; }
.kc-ritual-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 18px; flex: 1; }
.kc-ritual-body h3 { margin: 0; font-family: "Cormorant Garamond", serif; font-size: 23px; color: var(--kc-ink, #243024); }
.kc-ritual-tag { margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; color: var(--kc-ritual-accent, #b8912f); }
.kc-ritual-desc { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--kc-muted, #6b7568); }
.kc-ritual-items { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 4px; }
.kc-ritual-item { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #40503f; background: #f4f6f1; border-radius: 999px; padding: 4px 9px; }
.kc-ritual-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.kc-ritual-now { font-size: 22px; font-weight: 800; color: var(--kc-ink, #243024); }
.kc-ritual-mrp { font-size: 14px; color: #9aa39a; text-decoration: line-through; }
.kc-ritual-save { font-size: 12px; font-weight: 700; color: #2f6b47; background: #eaf4ee; padding: 3px 9px; border-radius: 999px; }
.kc-ritual .kc-btn { margin-top: 10px; }

@media (max-width: 640px) {
  .kc-rituals-head h2 { font-size: 25px; }
  .kc-ritual-grid { grid-template-columns: 1fr; }
}


/* ==== Shop-by-category "Combo Rituals" glass tile ==== */
.category-card.category-card-combo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  aspect-ratio: 1 / 1.04;
  padding: 26px 18px;
  text-align: center;
  background: linear-gradient(150deg, rgba(199, 162, 74, 0.24), rgba(47, 107, 71, 0.16));
  border-color: rgba(199, 162, 74, 0.45);
}
.category-card-combo .cc-combo-visual {
  width: 74px; height: 74px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(160deg, #c7a24a, #a8893a);
  box-shadow: 0 16px 30px -12px rgba(168, 137, 58, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.category-card-combo .cc-combo-visual svg { width: 40px; height: 40px; }
.category-card-combo .label {
  position: static;
  left: auto; right: auto; bottom: auto;
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-family: "Cormorant Garamond", serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .2px;
  color: var(--kc-ink, #243024);
  text-align: center;
}
.category-card-combo .cc-combo-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .2px;
  color: #2f6b47;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 7px 14px;
  box-shadow: 0 10px 22px -14px rgba(30, 42, 28, 0.6);
  transition: transform .28s ease;
}
.category-card-combo .cc-combo-visual { transition: transform .32s ease; }
.category-card-combo:hover .cc-combo-cta { transform: translateX(3px); }
.category-card-combo:hover .cc-combo-visual { transform: translateY(-2px) scale(1.04); }


/* ==== Homepage "Curated Rituals" section ==== */
.kc-home-rituals { padding: clamp(44px, 6vw, 76px) 0; }
.kc-home-rituals .kc-ritual-grid { margin-top: 26px; }
.kc-home-rituals .kc-rituals-head { margin-bottom: 0; }
@media (max-width: 640px) {
  .kc-home-rituals { padding: 38px 0; }
}


/* ==== Homepage rituals + offers hub (compact, above Shop by Category) ==== */
.kc-ritual-hub { padding: clamp(40px, 6vw, 72px) 0; }
.kc-ritual-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.kc-ritual-mini {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--kc-line, #e7e2d4);
  border-radius: 16px; padding: 12px 14px;
  box-shadow: 0 8px 22px rgba(36, 48, 36, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.kc-ritual-mini:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(36, 48, 36, .12); }
.kc-ritual-mini-media { display: flex; flex: 0 0 auto; }
.kc-ritual-mini-thumb {
  width: 42px; height: 42px; border-radius: 50%; overflow: hidden; flex: 0 0 auto;
  display: grid; place-items: center; background: #f4f6f1; color: #8a9a83;
  border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .1); margin-left: -12px;
}
.kc-ritual-mini-thumb:first-child { margin-left: 0; }
.kc-ritual-mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.kc-ritual-mini-body { flex: 1 1 auto; min-width: 0; }
.kc-ritual-mini-body h3 { margin: 0 0 3px; font-family: "Cormorant Garamond", serif; font-size: 18px; line-height: 1.15; color: var(--kc-ink, #243024); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc-ritual-mini-price { display: flex; align-items: baseline; gap: 8px; }
.kc-ritual-mini .kc-btn { flex: 0 0 auto; }
.kc-ritual-offers { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--kc-line, #e7e2d4); }
.kc-ritual-offers-head {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 14px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: #2f6b47;
}
@media (max-width: 560px) {
  .kc-ritual-grid.compact { grid-template-columns: 1fr; }
}

/* ==== Combo page tabs ==== */
.kc-combo-tabs { display: inline-flex; gap: 6px; background: #f1f3ee; border-radius: 999px; padding: 5px; margin: 2px 0 24px; }
.kc-combo-tab {
  display: inline-flex; align-items: center; gap: 7px;
  border: 0; background: transparent; color: #55604f; font: inherit;
  font-weight: 700; font-size: 13.5px; padding: 9px 18px; border-radius: 999px;
  cursor: pointer; transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}
.kc-combo-tab:hover { color: #243024; }
.kc-combo-tab.on { background: #fff; color: #243024; box-shadow: 0 4px 12px rgba(36, 48, 36, .12); }


/* ==== Compact ritual card â€” cleaner vertical layout (overrides) ==== */
.kc-ritual-mini {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.kc-ritual-mini:hover {
  border-color: color-mix(in srgb, var(--kc-ritual-accent, #b8912f) 42%, var(--kc-line, #e7e2d4));
}
.kc-ritual-mini-media {
  align-items: center;
  justify-content: center;
  height: 110px;
  padding: 0 18px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--kc-ritual-accent, #b8912f) 15%, #fff), #fff);
}
.kc-ritual-mini-thumb {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  margin-left: -16px;
  box-shadow: 0 8px 16px rgba(36, 48, 36, .1);
  transition: transform .25s ease;
}
.kc-ritual-mini:hover .kc-ritual-mini-thumb { transform: translateY(-3px); }
.kc-ritual-mini-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 16px;
}
.kc-ritual-mini-info { min-width: 0; }
.kc-ritual-mini-body h3 {
  margin: 0 0 4px;
  font-size: 19px;
  line-height: 1.15;
}
.kc-ritual-mini .kc-btn { flex: 0 0 auto; }

.cat-band,
.kc-quiz-cta,
.xh-featured,
.kc-ritual-hub,
.kc-offers,
.xh-notes,
.xh-ingredients,
.xh-story,
.xh-testi,
.xh-news,
.xh-benefits,
.xh-quote {
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: clamp(42px, 5vw, 70px);
  padding-bottom: clamp(42px, 5vw, 70px);
}

.cat-band,
.featured,
.testimonials {
  background: transparent;
  background-image: none;
  border-top-color: rgba(255, 255, 255, 0.6);
}

.xh-sechead { margin-bottom: clamp(26px, 3.2vw, 40px); gap: 18px; }
.xh-sechead .xh-eyebrow { margin: 0; }
.xh-sechead :is(.section-title, .xh-h2) {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0;
  color: #22301f;
  margin: 10px 0 0;
}
.xh-sechead :is(.section-subtitle, .section-text, p) {
  color: #6a6e62;
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.6;
}

.category-card,
.product-card,
.kc-ritual,
.xh-note,
.xh-ing,
.xh-testimonial {
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s cubic-bezier(.22,.61,.36,1), border-color .35s ease;
}
.category-card:hover,
.product-card:hover,
.kc-ritual:hover,
.xh-note:hover,
.xh-ing:hover,
.xh-testimonial:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 54px -26px rgba(47, 62, 46, .42);
}

.btn,
.view-all,
.kc-btn {
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}
.btn:active,
.kc-btn:active,
.view-all:active { transform: translateY(1px) scale(.985); }
.btn:focus-visible,
.kc-btn:focus-visible,
.view-all:focus-visible { outline: 2px solid #b3925f; outline-offset: 2px; }
.btn-brand:hover,
.btn-brand-line:hover,
.kc-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -16px rgba(47, 62, 46, .55);
}

.reveal { transition-duration: .8s; }
.reveal-stagger > * { transition-duration: .65s; }

@media (max-width: 760px) {
  .cat-band,
  .kc-quiz-cta,
  .xh-featured,
  .kc-ritual-hub,
  .kc-offers,
  .xh-notes,
  .xh-ingredients,
  .xh-story,
  .xh-testi,
  .xh-news,
  .xh-benefits,
  .xh-quote {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .xh-sechead { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
  .xh-sechead :is(.section-title, .xh-h2) { font-size: clamp(24px, 7vw, 32px); }
  .kc-ritual-grid { gap: 14px; }
  .product-grid.reveal-stagger, .cat-grid.reveal-stagger { gap: 14px; }
}

.kc-ritual,
.kc-offer-coupon {
  background: linear-gradient(160deg, rgba(255, 253, 248, 0.75), rgba(255, 253, 248, 0.45));
  backdrop-filter: blur(16px) saturate(155%);
  -webkit-backdrop-filter: blur(16px) saturate(155%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 24px 52px -26px rgba(68, 58, 34, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.kc-quiz-cta-card,
.kc-offer-combo {
  background: linear-gradient(160deg, rgba(243, 248, 244, 0.72), rgba(251, 243, 221, 0.5));
  backdrop-filter: blur(16px) saturate(155%);
  -webkit-backdrop-filter: blur(16px) saturate(155%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 24px 52px -26px rgba(68, 58, 34, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

/* Homepage "Build your routine" -> "Suggested for your skin" side panel */
.kc-quiz-cta-suggest { display: inline-flex; align-items: center; gap: 8px; }
.kc-quiz-cta-card.suggest-on .kc-quiz-cta-visual { display: none; }
.kc-quiz-suggest {
  flex: 1 1 320px; min-width: 260px; max-width: 440px;
  background: linear-gradient(160deg, rgba(255, 253, 248, 0.82), rgba(255, 253, 248, 0.6));
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px; padding: 16px 18px;
  box-shadow: 0 22px 50px -34px rgba(47, 62, 46, 0.5);
}
.kc-hs-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kc-hs-title { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14.5px; color: #234734; }
.kc-hs-close {
  flex: 0 0 auto; width: 26px; height: 26px; border: none; border-radius: 50%;
  background: rgba(18, 63, 52, 0.08); color: #234734; display: grid; place-items: center; cursor: pointer;
}
.kc-hs-close:hover { background: rgba(18, 63, 52, 0.16); }
.kc-hs-sub { margin: 4px 0 12px; font-size: 12.5px; color: #6a7562; }
.kc-hs-list { display: flex; flex-direction: column; gap: 10px; }
.kc-hs-item { display: flex; align-items: center; gap: 10px; }
.kc-hs-thumb {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; overflow: hidden;
  background: #fff; display: grid; place-items: center; border: 1px solid #e3ecdd;
}
.kc-hs-thumb img { width: 100%; height: 100%; object-fit: cover; }
.kc-hs-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.kc-hs-info b { font-size: 13px; color: #1f3327; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc-hs-info span { font-size: 12px; color: #7a8a72; }
.kc-hs-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12.5px; font-weight: 700; color: #2f6b47; }
@media (max-width: 640px) {
  .kc-quiz-suggest { max-width: none; }
  .kc-quiz-cta-suggest { width: 100%; justify-content: center; }
}


/* Simple content pages for shipping information and common questions. */
.kc-info-head { margin: 0 0 18px; }
.kc-info-list { display: grid; gap: 14px; }
.kc-info-card h3 { color: #234734; margin: 0 0 8px; }
.kc-info-card p { color: #657064; line-height: 1.7; margin: 0 0 10px; }
.kc-info-card p:last-of-type { margin-bottom: 14px; }

/* Mobile storefront todo fixes */
@media (max-width: 640px) {
  .kc-shop .kc-chips {
    flex-wrap: wrap;
    overflow: visible;
    justify-content: flex-start;
  }

  .kc-contact-grid { grid-template-columns: minmax(0, 1fr); }
  .kc-contact-form,
  .kc-topic-set { min-width: 0; max-width: 100%; }
  .kc-radio-row span { flex: 1 1 0; min-width: 0; overflow-wrap: anywhere; }

  .kc-ai-btn {
    width: 48px;
    height: 48px;
    right: 12px;
    bottom: 12px;
  }
  .kc-ai-btn svg.kc-ai-genie { width: 48px; height: 48px; }
}

.category-card .combo-category-art {
  width: 100%;
  aspect-ratio: 1 / 1.02;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px 18px 72px;
  background: radial-gradient(ellipse at 50% 68%, rgba(255,255,255,.82), rgba(244,237,219,.28) 70%);
}
.category-card .combo-category-art img {
  width: 39%;
  height: 78%;
  flex: 0 1 39%;
  object-fit: contain;
  transition: transform 700ms var(--ease, ease);
}
.category-card .combo-category-art img + img { margin-left: -10%; }
.category-card:hover .combo-category-art img { transform: translateY(-3px); }

#mobile-cats a {
  display: block;
  width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Keep floating shortcuts clear of mobile shopping controls and product cards. */
@media (max-width: 640px) {
  body:has(#app .kc-shop) .kc-ai-btn,
  body:has(#app .kc-shop) #kc-quiz-fab,
  body:has(#app .pd-layout) .kc-ai-btn,
  body:has(#app .pd-layout) #kc-quiz-fab,
  body:has(#app .kc-contact-grid) .kc-ai-btn,
  body:has(#app .kc-contact-grid) #kc-quiz-fab,
  body:has(#app .kc-combo-head) .kc-ai-btn,
  body:has(#app .kc-combo-head) #kc-quiz-fab {
    display: none !important;
  }
}

/* Footer brand lockup: clear leaf mark, wordmark, and tagline at every width. */
.footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  max-width: 100%;
  margin: 0 0 14px;
  color: inherit;
  text-decoration: none;
}
.footer-brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(232, 210, 151, .58);
  border-radius: 15px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 5px 16px rgba(0, 0, 0, .16);
}
.footer-brand-mark img { display: block; width: 39px; height: 39px; object-fit: contain; }
.footer-brand-copy { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.footer-brand-name {
  color: #f3ecd8;
  font-family: "Cormorant Garamond", serif;
  font-size: 31px;
  font-weight: 700;
  letter-spacing: 2.2px;
  line-height: .95;
  white-space: nowrap;
}
.footer-brand-name .tm { font-family: inherit; font-size: .43em; vertical-align: top; letter-spacing: 0; }
.footer-brand-tag {
  color: rgba(243, 236, 216, .78);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.65px;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
}
.footer-brand-lockup:focus-visible { outline: 2px solid #e8d297; outline-offset: 4px; border-radius: 4px; }
.footer-brand p { max-width: 300px; }
@media (max-width: 480px) {
  .footer-brand-lockup { gap: 9px; margin-bottom: 12px; }
  .footer-brand-mark { flex-basis: 42px; width: 42px; height: 42px; border-radius: 13px; }
  .footer-brand-mark img { width: 34px; height: 34px; }
  .footer-brand-name { font-size: 28px; letter-spacing: 1.7px; }
  .footer-brand-tag { font-size: 7px; letter-spacing: 1.35px; }
}

/* A more recognizable KRRIVA genie: rising from a gold lamp, softly animated. */
.kc-ai-btn svg.kc-ai-genie { overflow: visible; filter: drop-shadow(0 8px 12px rgba(22, 69, 55, .28)); }
.kc-genie-spirit { transform-origin: 37px 40px; animation: kcGenieRise 3.2s ease-in-out infinite; }
.kc-genie-aura { transform-origin: 36px 42px; animation: kcGenieGlow 3.2s ease-in-out infinite; }
.kc-genie-sparkles { transform-origin: 36px 30px; animation: kcGenieTwinkle 2.4s ease-in-out infinite; }
.kc-genie-lamp { transform-origin: 36px 57px; animation: kcGenieLamp 3.2s ease-in-out infinite; }
@keyframes kcGenieRise { 0%, 100% { transform: translateY(1px) rotate(-1deg); } 50% { transform: translateY(-3px) rotate(1deg); } }
@keyframes kcGenieGlow { 0%, 100% { opacity: .55; transform: scale(.94); } 50% { opacity: .9; transform: scale(1.04); } }
@keyframes kcGenieTwinkle { 0%, 100% { opacity: .6; } 50% { opacity: 1; } }
@keyframes kcGenieLamp { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(1px); } }
@media (prefers-reduced-motion: reduce) {
  .kc-ai-btn svg.kc-ai-genie, .kc-genie-spirit, .kc-genie-aura, .kc-genie-sparkles, .kc-genie-lamp { animation: none !important; }
}

@media (max-width: 640px) {
  .kc-ai-btn { width: 58px; height: 58px; right: 10px; bottom: 10px; }
  .kc-ai-btn svg.kc-ai-genie { width: 58px; height: 58px; }
}

/* Use the KRRIVA K-ring as the floating assistant shortcut. */
.kc-ai-btn {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.kc-ai-btn::before { display: none; }
.kc-ai-btn .kc-ai-logo-ring {
  display: block;
  width: 162%;
  height: 162%;
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 5px 8px rgba(22, 54, 38, .28));
  transition: transform .2s ease, filter .2s ease;
}
.kc-ai-btn:hover .kc-ai-logo-ring {
  transform: scale(1.06);
  filter: drop-shadow(0 7px 11px rgba(22, 54, 38, .34));
}
.kc-ai-btn .kc-ai-ping { display: none; }
@media (prefers-reduced-motion: reduce) {
  .kc-ai-btn, .kc-ai-btn .kc-ai-logo-ring { transition: none; }
}
@media (max-width: 640px) {
  .kc-ai-btn { width: 58px; height: 58px; right: 10px; bottom: 10px; }
  .kc-ai-btn .kc-ai-logo-ring { width: 162%; height: 162%; }
}

/* KRRIVA assistant button remains the only floating shortcut. */
@media (min-width: 561px) { .kc-ai-btn { right: 22px; bottom: 22px; width: 80px; height: 80px; } }
@media (max-width: 560px) { .kc-ai-btn { right: 12px; bottom: 12px; width: 58px; height: 58px; } }
.kc-idle-hint {
  position: absolute;
  right: 50%;
  bottom: calc(100% + 9px);
  z-index: 3;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 999px;
  background: #173d2a;
  color: #fff;
  box-shadow: 0 8px 20px rgba(22,54,38,.24);
  font: 700 12px/1.2 "Poppins", sans-serif;
  letter-spacing: .15px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(50%, 5px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.kc-idle-hint::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 50%;
  width: 8px;
  height: 8px;
  background: #173d2a;
  border-right: 1px solid rgba(255,255,255,.75);
  border-bottom: 1px solid rgba(255,255,255,.75);
  transform: translate(50%, -4px) rotate(45deg);
}
.kc-idle-hint-visible .kc-idle-hint { opacity: 1; visibility: visible; transform: translate(50%, 0); }
.kc-ai-logo { font-weight: 900; -webkit-text-stroke: .35px currentColor; }
.kc-ai-title { font-weight: 800; letter-spacing: .1px; }
@media (prefers-reduced-motion: reduce) { .kc-idle-hint { transition: none; } }

/* Skin quiz entry lives in the assistant, beside its chat experience. */
.kc-ai-quiz-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 14px 0;
  padding: 13px 14px;
  border: 1px solid #d9e7d9;
  border-radius: 16px;
  background: linear-gradient(135deg, #f4faf4, #fffaf0);
  color: #234734;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.kc-ai-quiz-entry:hover { border-color: #a8c4a9; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(39,79,54,.1); }
.kc-ai-quiz-entry:focus-visible { outline: 2px solid #2f6b47; outline-offset: 2px; }
.kc-ai-quiz-copy { display: flex; flex-direction: column; min-width: 0; gap: 3px; }
.kc-ai-quiz-copy strong { font-size: 12.5px; font-weight: 800; line-height: 1.35; }
.kc-ai-quiz-copy small { color: #657464; font-size: 10.5px; line-height: 1.4; }
.kc-ai-quiz-action { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; color: #2f6b47; font-size: 11px; font-weight: 800; white-space: nowrap; }
.kc-ai-quiz-action b { font-size: 16px; }
@media (max-width: 480px) {
  .kc-ai-quiz-entry { margin: 10px 12px 0; padding: 11px 12px; gap: 8px; }
  .kc-ai-quiz-copy strong { font-size: 12px; }
  .kc-ai-quiz-copy small { font-size: 10px; }
  .kc-ai-quiz-action { font-size: 10.5px; }
}
.kc-ai-gate { border: 1px solid #e5dcc3; }
.kc-ai-login-btn {
  margin-top: 10px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  background: #2f6b47;
  color: #fff;
  font: 700 12px/1.2 "Poppins", sans-serif;
  cursor: pointer;
}
.kc-ai-login-btn:hover { background: #234f37; }
.kc-ai-login-btn:focus-visible { outline: 2px solid #c7a24a; outline-offset: 2px; }
.auth-password-wrap { position: relative; display: flex; align-items: center; }
.auth-password-wrap > input { width: 100%; padding-right: 64px; }
.auth-password-wrap .auth-password-toggle { position: absolute; right: 10px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #52694f; cursor: pointer; padding: 7px; }
.auth-password-wrap .auth-password-toggle:hover { background: rgba(49, 92, 60, .08); }
.auth-password-wrap .auth-password-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.auth-form .auth-remember { display: inline-flex; align-items: center; gap: 8px; width: max-content; max-width: 100%; margin: 0 0 14px; color: var(--kc-muted, #697568); font-size: 13px; line-height: 1.35; white-space: nowrap; cursor: pointer; }
.auth-form .auth-remember input { appearance: auto; accent-color: #315c3c; width: 16px; height: 16px; flex: 0 0 16px; margin: 0; padding: 0; border-radius: 3px; }

/* ==== Mobile storefront header, hero and category readability ==== */
.mobile-search-toggle { display: none; }
.site-header .header-search:focus-within {
  border-color: #e1ddce;
  box-shadow: none;
  background: #fff;
}
.site-header .header-search input:focus,
.site-header .header-search input:focus-visible { outline: none; box-shadow: none; }
@media (max-width: 620px) {
  .site-header .header-inner {
    display: flex;
    position: relative;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 10px;
    padding: 10px 12px;
    border-radius: 22px;
  }

  .site-header .menu-toggle { flex: 0 0 auto; padding: 4px; }
  .site-header .logo { flex: 0 1 auto; min-width: 0; }
  .site-header .logo-initial { width: 38px; height: 40px; margin-right: -6px; }
  .site-header .logo-name { font-size: 28px; letter-spacing: 2px; }
  .site-header .logo-tag { font-size: 7px; letter-spacing: 2px; }
  .site-header .header-actions { flex: 0 0 auto; margin-left: auto; gap: 2px; }
  .site-header .header-actions .header-action { min-width: 36px; height: 38px; padding: 0 7px; }
  .site-header #account-drop { display: none; }
  .site-header .mobile-search-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-header .mobile-search-toggle svg { width: 20px; height: 20px; }

  .site-header .header-center {
    display: none;
    position: absolute;
    top: calc(100% + 7px);
    left: 12px;
    right: 12px;
    z-index: 80;
    width: auto;
    min-width: 0;
    padding: 7px;
    border: 1px solid rgba(208, 198, 170, .72);
    border-radius: 18px;
    background: rgba(255, 253, 248, .98);
    box-shadow: 0 14px 34px rgba(34, 52, 38, .20);
  }
  .site-header.mobile-search-open .header-center { display: block; }
  .site-header .search-wrap { width: 100%; max-width: none; }
  .site-header .header-search {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    border-color: #e1ddce;
    border-radius: 14px;
    background: #fff;
  }
  .site-header .header-search input { min-width: 0; padding: 11px 13px; font-size: 13px; }
  .site-header .header-search input::placeholder { color: #7a8175; }
  .site-header .header-search button { flex: 0 0 40px; width: 40px; height: 40px; margin: 3px; padding: 0; border-radius: 12px; }
  .site-header .search-dropdown { margin-top: 8px; border-radius: 14px; box-shadow: 0 12px 28px rgba(34, 52, 38, .16); }
  .mobile-menu-panel { overflow-y: auto; }
  .mobile-menu-section {
    margin: 12px 8px 2px;
    padding-top: 12px;
    border-top: 1px solid rgba(47, 62, 46, .14);
    color: var(--kr-muted, #758071);
    font: 700 11px/1.3 "Poppins", sans-serif;
    letter-spacing: 1.5px;
    text-transform: uppercase;
  }
  #mobile-menu-account { display: flex; flex-direction: column; gap: 0; }
  #mobile-menu-account [hidden] { display: none !important; }
}

@media (max-width: 480px) {
  .banner-carousel.xh-hero { height: clamp(420px, 72svh, 520px); }
  @supports not (height: 1svh) {
    .banner-carousel.xh-hero { height: clamp(420px, 72vh, 520px); }
  }
  .xh-hero-inner { padding: 22px 16px; }
  .xh-card {
    width: min(100%, 460px);
    padding: 22px 18px;
    background: rgba(255, 253, 248, 0.94);
    border-color: rgba(255, 255, 255, 0.98);
  }
  .xh-card .xh-eyebrow { color: #80622d; }
  .xh-title { color: #173b2a; }
  .xh-card :is(p, .xh-copy, .xh-description) { color: #34443a; }
  .xh-sechead :is(.section-title, .xh-h2) { color: #173b2a; }
  .xh-sechead .xh-eyebrow { color: #596b3b; }
  .xh-sechead :is(.section-subtitle, .section-text, p) { color: #4d584d; }
}

/* Mobile brand and category contrast polish */
@media (max-width: 620px) {
  .site-header .logo-name,
  .site-header .logo-text { color: #f3ecd8 !important; }
  .site-header .logo-initial {
    background-color: #f3ecd8;
    -webkit-mask-image: url("/images/brand/k-logo.png");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-image: url("/images/brand/k-logo.png");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
  }
  .cat-band .xh-sechead .section-title {
    color: #153926 !important;
    font-weight: 700;
    text-shadow: 0 1px 1px rgba(255, 253, 248, .55);
  }
  .cat-band .xh-sechead .xh-eyebrow { color: #435c37 !important; font-weight: 700; }
  .cat-band .xh-sechead .section-subtitle { color: #34443a !important; font-weight: 500; }
}
@media (max-width: 620px) {
  .cat-band.reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .cat-band .xh-sechead .section-title { color: #153926 !important; font-weight: 700; text-shadow: 0 1px 1px rgba(255, 253, 248, .55); }
  .cat-band .xh-sechead .xh-eyebrow { color: #435c37 !important; font-weight: 700; }
  .cat-band .xh-sechead .section-subtitle { color: #34443a !important; font-weight: 500; }
}
/* Mobile wordmark alignment and legibility */
@media (max-width: 620px) {
  .site-header .logo-text {
    align-items: flex-start;
    color: #173b2a !important;
  }
  .site-header .logo-name {
    color: #173b2a !important;
    font-size: 30px;
    letter-spacing: 2.2px;
    line-height: 1;
  }
  .site-header .logo-tag {
    align-self: flex-start;
    margin-left: 0;
    color: #173b2a !important;
    font-size: 8px;
    letter-spacing: 2.35px;
    line-height: 1.35;
    white-space: nowrap;
  }
  .site-header .logo-initial {
    background-color: #173b2a;
  }
}

/* Slightly larger mobile leaf K in the header */
@media (max-width: 620px) {
  .site-header .logo-initial {
    width: 44px;
    height: 46px;
    margin-right: -7px;
  }
}

/* Storefront readability pass: preserve the marble wallpaper and translucent cards. */
#app :is(.xh-sechead, .kc-combo-head, .kc-rituals-head, .kc-offers-head) .xh-eyebrow,
#app :is(.xh-sechead, .kc-combo-head, .kc-rituals-head, .kc-offers-head) > .eyebrow {
  color: #4b5b3e !important;
  opacity: 1 !important;
  text-shadow: 0 1px 0 rgba(255, 253, 248, .45);
}
#app .xh-sechead :is(.section-title, .xh-h2),
#app :is(.kc-combo-head, .kc-rituals-head, .kc-offers-head) :is(h1, h2, .xh-h2) {
  color: #203b2b !important;
  text-shadow: 0 1px 0 rgba(255, 253, 248, .4);
}
#app .xh-sechead :is(.section-subtitle, .section-text, p),
#app :is(.kc-combo-head, .kc-rituals-head, .kc-offers-head) > p {
  color: #3e4b40 !important;
  opacity: 1 !important;
  text-shadow: 0 1px 0 rgba(255, 253, 248, .55);
}

/* Keep the combo artwork on the same soft glass palette as the card. */
#app .kc-ritual-media {
  background: linear-gradient(145deg, rgba(255, 253, 248, .82), rgba(232, 237, 222, .58)) !important;
}
#app .kc-ritual-body :is(h3, .kc-ritual-tag, .kc-ritual-desc, .kc-ritual-now),
#app .kc-ritual-body .kc-ritual-items,
#app .kc-ritual-body .kc-ritual-items .kc-ritual-item {
  opacity: 1 !important;
}
#app .kc-ritual-body h3 { color: #203b2b !important; }
#app .kc-ritual-body .kc-ritual-desc { color: #3e4b40 !important; }
#app .kc-ritual-body .kc-ritual-tag { color: #73591f !important; }
#app .kc-ritual-items .kc-ritual-item { color: #314337 !important; }

/* Sharpen supporting copy on glass panels without making those panels opaque. */
#app :is(.kc-quiz-cta-card, .kc-offer-combo, .kc-offer-coupon, .xh-testimonial, .xh-note, .xh-ing, .xh-benefit) :is(p, small, .section-subtitle, .kc-voucher small) {
  color: #414b40 !important;
  opacity: 1 !important;
}
#app .kc-offer-coupon :is(.kc-voucher h4, .kc-voucher b) { color: #263b2e !important; }
#app .kc-offer-coupon .kc-voucher-code {
  background: rgba(255, 253, 248, .9) !important;
  color: #254431 !important;
  border-color: rgba(64, 84, 62, .38) !important;
  text-shadow: none !important;
}
#app .kc-offer-coupon .kc-voucher-code.done { background: #e6f4e8 !important; }
#app :is(.xh-testimonial, .xh-ing, .xh-note) :is(h3, h4, .xh-h3, .xh-h2) { color: #203b2b !important; opacity: 1 !important; }

@media (max-width: 620px) {
  #app .xh-sechead :is(.section-title, .xh-h2) { color: #203b2b !important; }
  #app .xh-sechead .xh-eyebrow { color: #43583c !important; }
  #app .xh-sechead :is(.section-subtitle, .section-text, p) { color: #3e4b40 !important; }
}

/* Product details were inheriting cream-on-glass colors from an older dark styling pass. */
#app .product-body :is(.product-cat, .product-name, .product-rating .val, .product-price .now, .product-price .was, .product-stock) {
  opacity: 1 !important;
  text-shadow: none !important;
}
#app .product-body .product-cat { color: #705b31 !important; }
#app .product-body .product-name { color: #263b2e !important; }
#app .product-body .product-rating .val,
#app .product-body .product-price .was { color: #535d53 !important; }
#app .product-body .product-price .now { color: #28583d !important; }
#app .product-body .product-stock.in { color: #315c3c !important; }
#app .product-body .product-stock.out { color: #a84338 !important; }

/* Render the leaf K in the desktop header as well as mobile. */
.site-header .logo-initial {
  display: block;
  flex: none;
  background-color: #173b2a;
  -webkit-mask-image: url("/images/brand/k-logo.png");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: url("/images/brand/k-logo.png");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}
