/* ============================================================
   Kiwi TopUp — Fresh & Modern Digital Store
   Kiwi-inspired, Deep Green Atmosphere & Frosted Glass
   Fonts: Plus Jakarta Sans, Tajawal, Syne — loaded in includes/site-head.php (avoid @import here).
   ============================================================ */

/* ─── Variables ─────────────────────────────────────────────── */
:root {
  /* Kiwi Deep Green Atmospheres */
  --clr-bg:          #060C07;
  --clr-bg-2:        #0C1610;
  --clr-bg-card:     rgba(12, 26, 15, 0.65);
  
  --clr-surface:     rgba(18, 40, 22, 0.45);
  --clr-surface-high:rgba(26, 56, 32, 0.6);
  --clr-border:      rgba(255, 255, 255, 0.07);
  --clr-border-glow: rgba(74, 222, 128, 0.3);

  --clr-primary:     #4ADE80; /* Kiwi Green */
  --clr-primary-glow:#86EFAC; /* Light Kiwi */
  --clr-accent:      #A3E635; /* Chartreuse / Kiwi Flesh */
  --clr-success:     #34D399; /* Emerald */
  --clr-danger:      #FF453A;
  --clr-warning:     #FBBF24; /* Kiwi seed gold */

  --clr-text:        #F0FDF4; /* barely-green white */
  --clr-text-muted:  #6B7C6E;
  --clr-text-sub:    #94A89A;

  /* Kiwi gradients */
  --grad-primary:    linear-gradient(135deg, #22C55E 0%, #A3E635 100%);
  --grad-hero:       radial-gradient(circle at 75% -10%, rgba(74,222,128,0.12) 0%, transparent 55%), 
                     radial-gradient(circle at 20% 110%, rgba(163,230,53,0.10) 0%, transparent 55%);
  --grad-card:       linear-gradient(160deg, rgba(16,36,20,0.75) 0%, rgba(8,18,10,0.95) 100%);
  --grad-glow:       radial-gradient(circle at 50% 0%, rgba(74,222,128,0.06) 0%, transparent 60%);

  /* Typography */
  --font-body:       'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-arabic:     'Tajawal', 'Plus Jakarta Sans', sans-serif;

  /* Corners */
  --radius-sm:  12px;
  --radius-md:  18px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-2xl: 40px;
  --radius-full: 9999px;

  --shadow-card: 0 16px 32px -12px rgba(0,0,0,0.6);
  --shadow-btn:  0 8px 16px -4px rgba(74,222,128,0.35);
  
  --ease: cubic-bezier(0.25, 1, 0.2, 1);
  --nav-h: 90px;

  /* Stacking (public shell) */
  --z-fab: 1500;
  --z-cart-overlay: 2000;
  --z-cart: 2010;
  --z-toast: 2500;
  --z-modal: 3000;
  --z-search: 5000;
}

html.light {
  --clr-bg:       #F0FDF4;
  --clr-bg-2:     #FFFFFF;
  --clr-bg-card:  rgba(255,255,255,0.88);
  --clr-surface:  rgba(220,252,231,0.6);
  --clr-surface-high:rgba(187,247,208,0.7);
  --clr-border:   rgba(0, 0, 0, 0.06);
  --clr-border-glow: rgba(74,222,128,0.2);
  --clr-text:     #052E16;
  --clr-text-muted:#4B7A5E;
  --clr-text-sub: #166534;

  --clr-primary:  #16A34A; /* darker green for light mode contrast */
  --clr-primary-glow: #22C55E;
  --clr-accent:   #65A30D;
  --grad-card:    linear-gradient(160deg, rgba(255,255,255,0.95) 0%, rgba(240,253,244,0.7) 100%);
  --shadow-card:  0 12px 24px -10px rgba(0,0,0,0.08);
  --shadow-btn:   0 8px 16px -4px rgba(22,163,74,0.3);
  --grad-hero:    radial-gradient(circle at 75% -10%, rgba(74,222,128,0.08) 0%, transparent 55%), 
                  radial-gradient(circle at 20% 110%, rgba(163,230,53,0.06) 0%, transparent 55%);
}

/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-family: var(--font-body);
  background: var(--clr-bg);
  color: var(--clr-text);
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-tap-highlight-color: transparent;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
  letter-spacing: -0.015em;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;

  overscroll-behavior-y: contain;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}

/* Allow users to highlight actual readable text and input fields */
p, h1, h2, h3, input, textarea, .contact-value, .pm-input {
  -webkit-user-select: text;
  user-select: text;
}
html[lang="ar"], html[dir="rtl"] { font-family: var(--font-arabic); }

body {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  line-height: 1.5;
  position: relative;
  background: var(--clr-bg);
}

/* Safari ≤15 / older engines without overflow: clip */
@supports not (overflow: clip) {
  body { overflow-x: hidden; }
}

/* iOS: avoid automatic input zoom (keep form controls ≥ 16px) */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="color"]):not([type="file"]):not([type="hidden"]):not([type="image"]),
select,
textarea {
  font-size: max(16px, 1em);
}

embed, iframe, img, object, svg, video {
  max-width: 100%;
  height: auto;
}
iframe {
  border: 0;
}

/* Keyboard / touch: visible focus without mouse ring clutter */
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--clr-primary);
  outline-offset: 2px;
}

body.scroll-locked {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

/* Fixed hero gradient without background-attachment: fixed (expensive repaints while scrolling). */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: var(--grad-hero);
  background-repeat: no-repeat;
  background-size: 100% min(100vh, 100%);
  background-position: top center;
  transform: translateZ(0);
  backface-visibility: hidden;
}

img { max-width: 100%; display: block; border-radius: inherit; }
a { color: var(--clr-primary); text-decoration: none; transition: all 0.25s var(--ease); }
button { cursor: pointer; font-family: inherit; border: none; background: none; outline: none; transition: all 0.25s var(--ease); }
ul { list-style: none; }

::selection { background: var(--clr-primary); color: #fff; }

/* ─── Animations ─────────────────────────────────────────── */
@keyframes revealUp { 
  from { opacity: 0; transform: translateY(30px) scale(0.98); } 
  to { opacity: 1; transform: translateY(0) scale(1); } 
}
@keyframes float { 
  0%, 100% { transform: translateY(0); } 
  50% { transform: translateY(-8px); } 
}

.reveal { animation: revealUp 0.8s var(--ease) forwards; opacity: 0; }
.float { animation: float 5s ease-in-out infinite; }

.skeleton-card {
  height: 380px; 
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.skeleton-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ─── Layout ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: min(1200px, 100%);
  margin: 0 auto;
  padding-left: max(clamp(16px, 4vw, 24px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(16px, 4vw, 24px), env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

.section { padding: clamp(48px, 8vw, 120px) 0; }
@media (max-width: 768px) {
  :root {
    --nav-h: 78px;
  }
}

.section-header { text-align: center; margin-bottom: clamp(32px, 5vw, 50px); }

/* ─── Multi-Step Request Form ────────────────────────────── */
.request-form-container {
  max-width: 640px; margin: 0 auto;
  background: var(--clr-bg-card);
  backdrop-filter: blur(25px) saturate(160%); -webkit-backdrop-filter: blur(25px) saturate(160%);
  border: 1px solid var(--clr-border); border-radius: 32px;
  padding: 40px; box-shadow: var(--shadow-xl);
  position: relative; overflow: hidden;
}
@media (max-width: 768px) { .request-form-container { padding: 30px 20px; border-radius: 28px; } }

.form-steps-indicator {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 40px;
}
.step-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.1); transition: all 0.4s var(--ease);
}
.step-dot.active { background: var(--clr-primary); transform: scale(1.4); box-shadow: 0 0 12px rgba(74,222,128,0.5); }
.step-dot.completed { background: var(--clr-success); }
.step-line { width: 30px; height: 2px; background: rgba(255,255,255,0.05); }

.form-step {
  display: none; animation: stepIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.form-step.active { display: block; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.step-title {
  font-size: 1.2rem; font-weight: 800; color: var(--clr-text);
  margin-bottom: 24px; text-transform: uppercase; letter-spacing: 0.05em;
  display: flex; align-items: center; gap: 10px;
}
.step-title::before { content: ''; width: 4px; height: 20px; background: var(--clr-primary); border-radius: 2px; }

.step-nav { display: flex; gap: 12px; margin-top: 32px; }
.btn-step-next, .btn-step-prev {
  padding: 16px 24px; border-radius: 16px; font-weight: 700; font-size: 1rem;
  transition: all 0.3s var(--ease); -webkit-tap-highlight-color: transparent;
}
.btn-step-next { background: var(--clr-primary); color: #fff; flex: 2; box-shadow: 0 8px 20px rgba(74,222,128,0.2); }
.btn-step-prev { background: var(--clr-surface); color: var(--clr-text-sub); flex: 1; border: 1px solid var(--clr-border); }
.btn-step-next:active, .btn-step-prev:active { transform: scale(0.96); opacity: 0.8; }

.slider-ticks { display: flex; justify-content: space-between; font-size: .75rem; color: var(--clr-text-muted); margin-top: 8px; font-weight: 600; }

.section-title {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--clr-text);
  margin-bottom: 12px;
  font-family: 'Syne', sans-serif;
}
.section-sub {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: var(--clr-text-sub);
  max-width: min(600px, 100%);
  margin: 0 auto;
  line-height: 1.55;
}

/* ─── Navbar ─────────────────────────────────────────────── */
/* Floating bar — centered nav on desktop via 3-column grid */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  width: calc(100% - 32px);
  max-width: min(1200px, 100% - 32px);
  min-height: 58px;
  z-index: 1000;
  border-radius: 999px;
  background: rgba(12, 14, 20, 0.78);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 4px 20px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.05);
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
  display: flex;
  align-items: center;
}
.navbar.scrolled {
  background: rgba(12, 14, 20, 0.92);
  border-color: rgba(74,222,128,0.14);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  box-shadow:
    0 8px 40px rgba(0,0,0,0.4),
    0 0 0 1px rgba(74,222,128,0.08),
    inset 0 1px 0 rgba(255,255,255,0.07);
}
html.light .navbar {
  background: rgba(255,255,255,0.84);
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.8);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
}
html.light .navbar.scrolled {
  background: rgba(255,255,255,0.94);
  border-color: rgba(74,222,128,0.2);
  box-shadow: 0 8px 40px rgba(0,0,0,0.12), 0 0 0 1px rgba(74,222,128,0.12);
  backdrop-filter: blur(8px) saturate(130%);
  -webkit-backdrop-filter: blur(8px) saturate(130%);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  flex: 1;
  min-width: 0;
}

@media (min-width: 961px) {
  .navbar-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
  }
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
@media (min-width: 961px) {
  .nav-logo { justify-self: start; }
}

.nav-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.38rem;
  line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  flex-shrink: 0;
}

.nav-logo-wordmark {
  display: flex;
  align-items: baseline;
  gap: 0;
  letter-spacing: -0.045em;
  font-family: 'Syne', var(--font-body);
  white-space: nowrap;
}
.nav-logo-text {
  font-size: 1.14rem;
  font-weight: 800;
  color: var(--clr-text);
}
.nav-logo-accent {
  font-size: 1.14rem;
  font-weight: 800;
  color: var(--clr-primary);
  opacity: 0.95;
}

/* Center: pill nav row (desktop only) */
.nav-center-wrap {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}
@media (max-width: 960px) {
  .nav-center-wrap { display: none; }
}
@media (min-width: 961px) {
  .nav-center-wrap { justify-self: center; }
}

.nav-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

@media (max-width: 1180px) and (min-width: 961px) {
.nav-links a {
    padding-left: 12px;
    padding-right: 12px;
    font-size: 0.78rem;
  }
  .nav-link-services {
    padding-left: 10px !important;
    padding-right: 12px !important;
  }
}

html.light .nav-links {
  background: transparent;
  border: none;
  box-shadow: none;
}

.nav-links li {
  margin: 0;
  padding: 0;
  display: flex;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: none;
  color: rgba(246,247,251,0.62);
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--clr-text);
  background: rgba(255,255,255,0.09);
}

html.light .nav-links a {
  color: rgba(15,23,42,0.52);
}
html.light .nav-links a:hover {
  color: var(--clr-text);
  background: rgba(0,0,0,0.06);
}

.nav-links a:focus-visible {
  outline: 2px solid var(--clr-primary);
  outline-offset: 2px;
}

/* Services — emphasized slot inside the pill */
.nav-link-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 8px;
  background: linear-gradient(135deg, var(--clr-primary), #22c55e);
  box-shadow: 0 0 0 4px rgba(74,222,128,0.15);
}
.nav-link-services {
  background: linear-gradient(
    155deg,
    rgba(74,222,128,0.18) 0%,
    rgba(34,197,94,0.09) 100%
  );
  border: 1px solid rgba(74,222,128,0.35);
  color: #b6f7c9;
  padding: 8px 16px 8px 12px;
  font-weight: 700 !important;
  letter-spacing: 0.025em !important;
  box-shadow: 0 0 20px -6px rgba(74,222,128,0.45);
}

html.light .nav-link-services {
  color: #15803d;
  box-shadow: 0 0 18px -8px rgba(74,222,128,0.5);
}

.nav-link-services:hover {
  background: linear-gradient(
    155deg,
    rgba(74,222,128,0.28) 0%,
    rgba(34,197,94,0.14) 100%
  ) !important;
  border-color: rgba(74,222,128,0.55) !important;
}

/* ── Toolbar: theme / search · cart / account ── */
.nav-actions-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}
@media (min-width: 961px) {
  .nav-actions-bar { justify-self: end; }
}

html.light .nav-actions-bar {
  background: transparent;
  border: none;
}

.nav-action-cluster {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

/* Theme lives in desktop bar + drawer on mobile — keeps the pill bar minimal */
.nav-desktop-tools {
  display: inline-flex;
  align-items: center;
  gap: 0;
}
@media (max-width: 960px) {
  .nav-desktop-tools {
    display: none !important;
  }
}

.nav-action-divider {
  width: 1px;
  height: 26px;
  align-self: center;
  border-radius: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255,255,255,0.18),
    transparent
  );
}
html.light .nav-action-divider {
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(0,0,0,0.12),
    transparent
  );
}

/* Icon buttons */
.theme-toggle,
.nav-search-btn,
.cart-btn,
.hamburger-btn {
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: transparent;
  border: none;
  color: var(--clr-text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, color 0.15s;
  flex-shrink: 0;
}
.theme-toggle:hover,
.nav-search-btn:hover,
.cart-btn:hover,
.hamburger-btn:hover {
  background: rgba(255,255,255,0.12);
  color: var(--clr-text);
}
html.light .theme-toggle:hover,
html.light .nav-search-btn:hover,
html.light .cart-btn:hover,
html.light .hamburger-btn:hover {
  background: rgba(0,0,0,0.07);
}

.theme-toggle:active,
.nav-search-btn:active,
.cart-btn:active,
.hamburger-btn:active {
  transform: scale(0.92);
}

@media (min-width: 961px) {
  .hamburger-btn {
    display: none !important;
  }
}

@media (max-width: 960px) {
  .nav-action-divider {
    display: none;
  }
  .navbar-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    min-width: 0;
    justify-content: space-between;
    align-items: center;
  }

  .navbar {
    top: max(12px, env(safe-area-inset-top, 0px));
    width: calc(100% - 20px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
    max-width: min(100vw - 20px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px), 100%);
    box-sizing: border-box;
    min-height: 50px;
    border-radius: 999px;
    /* Allow profile dropdown below the pill bar (desktop menu on mobile taps). */
    overflow-x: clip;
    overflow-y: visible;
  }

  .nav-logo {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
  }
  .nav-logo-wordmark {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1 1 auto;
    white-space: nowrap;
    display: block;
    line-height: 1.22;
  }
  .nav-logo-icon {
    font-size: 1.28rem;
    flex-shrink: 0;
  }
  .nav-logo-text,
  .nav-logo-accent {
    font-size: 1.08rem;
    display: inline;
    white-space: inherit;
    font-weight: 800;
  }

  /* Bar: search · cart · account · menu only — slightly smaller controls */
  .nav-search-btn,
  .cart-btn,
  .hamburger-btn {
    min-width: 38px;
    min-height: 38px;
    width: 38px;
    height: 38px;
  }
  .nav-search-btn svg,
  .cart-btn svg,
  .hamburger-btn svg {
    width: 17px;
    height: 17px;
  }

  .nav-actions-bar {
    margin-left: auto;
    gap: 0;
    padding: 2px 4px;
    flex: 0 0 auto;
    flex-shrink: 0;
    min-width: 0;
    max-width: 100%;
  }

  .nav-action-cluster {
    gap: 0;
  }

  .nav-account-btn {
    min-width: 38px;
    min-height: 38px;
    width: 38px;
    height: 38px;
  }
  .nav-account-btn svg {
    width: 16px;
    height: 16px;
  }
  .nav-account-avatar {
    width: 28px;
    height: 28px;
    font-size: 0.67rem;
  }

  .cart-count {
    min-width: 16px;
    height: 16px;
    font-size: 0.58rem;
    top: -2px;
    right: -2px;
  }
}

/* Older browsers: `overflow-x: clip` can still clip overflowing dropdowns → allow vertical spill. */
@supports not (overflow: clip) {
  @media (max-width: 960px) {
    .navbar {
      overflow: visible;
    }
  }
}

@media (max-width: 480px) {
  .navbar .container.navbar-container {
    padding-left: max(8px, env(safe-area-inset-left, 0px));
    padding-right: max(8px, env(safe-area-inset-right, 0px));
    gap: 6px;
  }
}

@media (max-width: 400px) {
  .navbar .container.navbar-container {
    gap: 4px;
    padding-left: max(6px, env(safe-area-inset-left, 0px));
    padding-right: max(6px, env(safe-area-inset-right, 0px));
  }
  .nav-logo-icon {
    font-size: 1.18rem;
  }
  .nav-logo-text,
  .nav-logo-accent {
    font-size: 0.96rem;
  }
  .nav-search-btn,
  .cart-btn,
  .hamburger-btn {
    min-width: 35px;
    min-height: 35px;
    width: 35px;
    height: 35px;
  }
  .nav-search-btn svg,
  .cart-btn svg,
  .hamburger-btn svg {
    width: 15px;
    height: 15px;
  }
  .nav-actions-bar {
    padding: 2px 3px;
  }
  .nav-account-btn {
    min-width: 35px;
    min-height: 35px;
    width: 35px;
    height: 35px;
  }
  .nav-account-btn svg {
    width: 14px;
    height: 14px;
  }
  .nav-account-avatar {
    width: 25px;
    height: 25px;
    font-size: 0.62rem;
  }
}

@media (max-width: 340px) {
  .nav-logo-icon {
    font-size: 1.08rem;
  }
  .nav-logo-text,
  .nav-logo-accent {
    font-size: 0.88rem;
  }
}
.cart-btn {
  position: relative;
}
.cart-count {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 19px;
  height: 19px;
  border-radius: 10px;
  background: var(--clr-danger);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(18,22,29,0.95);
  box-shadow: 0 2px 6px rgba(255,69,58,0.45);
}
html.light .cart-count {
  border-color: rgba(252,252,254,1);
}

/* ─── Mobile drawer (≤960px) + backdrop ──────────────────────── */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1095;
  background: rgba(4, 9, 6, 0.52);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.34s var(--ease),
    visibility 0.34s;
}
.mobile-menu-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
html.light .mobile-menu-backdrop {
  background: rgba(15, 23, 42, 0.38);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  height: 100dvh;
  width: min(360px, 92vw);
  max-width: 100vw;
  z-index: 1105;
  display: flex;
  flex-direction: column;
  background: rgba(11, 14, 12, 0.97);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-left: 1px solid rgba(74, 222, 128, 0.12);
  box-shadow:
    -12px 0 48px rgba(0, 0, 0, 0.45),
    inset 1px 0 0 rgba(255, 255, 255, 0.04);
  border-radius: 22px 0 0 22px;
  padding: 0;
  overflow: hidden;
  transform: translate3d(100%, 0, 0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.26s var(--ease),
    visibility 0.26s;
}
html.light .mobile-menu {
  background: rgba(252, 252, 253, 0.98);
  border-left-color: rgba(74, 222, 128, 0.2);
  box-shadow:
    -8px 0 40px rgba(15, 23, 42, 0.12),
    inset 1px 0 0 rgba(255, 255, 255, 0.9);
}
.mobile-menu.open {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}




.mm-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding:
    calc(14px + env(safe-area-inset-top, 0px))
    14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
html.light .mm-top {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

.mm-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.mm-brand-emoji {
  font-size: 1.55rem;
  line-height: 1;
}
.mm-brand-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.mm-brand-name {
  font-family: Syne, var(--font-body);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--clr-text);
}
.mm-brand-tag {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mm-close {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--clr-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s,
    color 0.2s;
}
html.light .mm-close {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.1);
}
.mm-close:active {
  transform: scale(0.96);
}

.mm-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding:
    10px 14px calc(22px + env(safe-area-inset-bottom, 0px))
    max(14px, env(safe-area-inset-right, 0px));
  scrollbar-width: thin;
}

/* Minimal sheet lists (mobile drawer body) */
.mm-sheet:first-of-type {
  margin-top: 2px;
}
.mm-sheet + .mm-sheet {
  margin-top: 16px;
}
.mm-sheet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
}
html.light .mm-sheet-list {
  border-color: rgba(15, 23, 42, 0.09);
  background: rgba(15, 23, 42, 0.025);
}
.mm-sheet--subtle .mm-sheet-list {
  border-color: rgba(255, 255, 255, 0.055);
  background: rgba(255, 255, 255, 0.015);
}
html.light .mm-sheet--subtle .mm-sheet-list {
  border-color: rgba(15, 23, 42, 0.07);
  background: rgba(15, 23, 42, 0.02);
}
.mm-sheet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  text-decoration: none;
  color: var(--clr-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  transition:
    background 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.16s cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-tap-highlight-color: transparent;
}
.mm-sheet-row:last-child {
  border-bottom: none;
}
.mm-sheet-row:active {
  background: rgba(74, 222, 128, 0.07);
}
html.light .mm-sheet-row {
  border-bottom-color: rgba(15, 23, 42, 0.06);
}
.mm-sheet-label {
  font-size: 0.91rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.mm-sheet-row--quiet .mm-sheet-label {
  font-weight: 650;
  font-size: 0.875rem;
  color: var(--clr-text-muted);
}
.mm-sheet-row--accent .mm-sheet-label {
  color: var(--clr-primary);
}
.mm-sheet-arrow {
  flex-shrink: 0;
  opacity: 0.28;
}

.mm-sheet-row-main {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.mm-sheet-ico {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(74, 222, 128, 0.12);
  color: var(--clr-primary);
  font-size: 0.75rem;
  transition:
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.2s ease;
}
.mm-sheet-row--accent .mm-sheet-ico {
  background: rgba(74, 222, 128, 0.18);
}
.mm-sheet-row--quiet .mm-sheet-ico {
  background: rgba(255, 255, 255, 0.06);
  color: var(--clr-text-muted);
}
html.light .mm-sheet-row--quiet .mm-sheet-ico {
  background: rgba(15, 23, 42, 0.06);
}
.mm-sheet-row:active .mm-sheet-ico {
  transform: scale(0.94);
}

.mm-account-signed {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}
html.light .mm-account-signed {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.55);
}

.mm-account-signed-meta {
  padding: 12px 14px 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

html.light .mm-account-signed-meta {
  border-bottom-color: rgba(15, 23, 42, 0.06);
}

.mm-account-signed-head {
  padding: 0;
  margin: 0;
  font-size: 0.91rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--clr-text);
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mm-account-signed-email {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mm-account-signed .mm-sheet-row:last-child {
  border-bottom: none;
}

.mm-account-signout-btn {
  width: 100%;
  font: inherit;
  cursor: pointer;
  background: transparent;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mm-account-signout-btn .mm-sheet-ico--signout {
  background: rgba(239, 68, 68, 0.12);
  color: #fecaca;
}
.mm-account-signout-btn:hover .mm-sheet-ico--signout {
  background: rgba(239, 68, 68, 0.18);
}
.mm-account-signout-btn .mm-sheet-label {
  color: #fecaca;
}

@media (prefers-reduced-motion: reduce) {
  .mm-sheet-row,
  #nav-account-menu:not([hidden]) {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .mm-sheet-row:active .mm-sheet-ico {
    transform: none;
  }
}

.mm-theme-strip {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition:
    border-color 0.2s,
    background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
html.light .mm-theme-strip {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.72);
}
.mm-theme-strip:active {
  transform: scale(0.995);
}
.mm-theme-strip-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--clr-text-muted);
  letter-spacing: 0.02em;
}
.mm-theme-strip-slot {
  flex-shrink: 0;
  width: 46px;
  height: 28px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.38);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
html.light .mm-theme-strip-slot {
  background: rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.12);
}
.mm-theme-strip-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f5f8f7, #b8cbc0);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
html.light .mm-theme-strip-knob {
  background: linear-gradient(180deg, #fffbf0 0%, #fde68a 100%);
}
.mm-theme-strip.mm-theme-strip--light .mm-theme-strip-knob {
  transform: translateX(18px);
}

.mm-wa-quiet {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 650;
  color: var(--clr-text-muted);
  text-decoration: none;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(37, 211, 102, 0.22);
  background: rgba(37, 211, 102, 0.055);
  transition:
    border-color 0.2s,
    background 0.2s;
}
.mm-wa-quiet:active {
  background: rgba(37, 211, 102, 0.1);
}

.mm-sheet-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  padding-top: 18px;
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
html.light .mm-sheet-foot {
  border-top-color: rgba(15, 23, 42, 0.07);
}
.mm-sheet-foot a {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--clr-text-muted);
  text-decoration: none;
}
.mm-sheet-foot-dot {
  opacity: 0.45;
  font-weight: 700;
}

@media (max-width: 380px) {
  .mobile-menu {
    width: min(340px, 94vw);
    border-radius: 18px 0 0 18px;
  }
}

@media (min-width: 961px) {
  .mobile-menu-backdrop {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu-backdrop,
  .mobile-menu {
    transition: none !important;
  }
}


.nav-inline-ic { display: inline-flex; margin-right: 6px; vertical-align: middle; }
.nav-inline-ic i[class^='fi-sr-'] { font-size: 0.9em; color: inherit; opacity: 0.95; }
.nav-link-reviews { display: inline-flex !important; align-items: center !important; gap: 6px; }
.nav-link-reviews .nav-inline-ic i[class^='fi-sr-'] { color: #fbbf24; }

/* iOS Segmented Control for Lang (Removed per requirement, keeping class just in case) */
.lang-switcher {
  display: flex; gap: 2px;
  background: var(--clr-surface);
  border-radius: var(--radius-full); padding: 4px; border: 1px solid var(--clr-border);
}
@media(max-width: 520px) { .lang-switcher { display: none; } }
.lang-btn {
  padding: 6px 12px; border-radius: var(--radius-full);
  font-size: 0.75rem; font-weight: 700; color: var(--clr-text-muted);
}
.lang-btn.active {
  background: var(--clr-text); color: var(--clr-bg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ─── Hero App Store Style ────────────────────────────────── */
.hero {
  min-height: 90vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 60px;
}

/* Ambient Blurry Orbs */
.ambient-glow {
  position: fixed; width: 100vw; height: 100vh; top: 0; left: 0;
  z-index: -1; pointer-events: none; overflow: hidden;
}
.ambient-glow::before, .ambient-glow::after {
  content: ''; position: absolute; border-radius: 50%;
  filter: blur(72px); opacity: 0.45; animation: orbFloat 28s infinite alternate cubic-bezier(0.5, 0, 0.5, 1);
}
.ambient-glow::before {
  width: 50vw; height: 50vw; min-width: 400px; min-height: 400px;
  background: rgba(10, 132, 255, 0.4); /* Apple Blue */
  top: -10%; left: -10%;
}
.ambient-glow::after {
  width: 40vw; height: 40vw; min-width: 300px; min-height: 300px;
  background: rgba(94, 92, 230, 0.3); /* Indigo */
  bottom: -20%; right: 10%;
  animation-duration: 25s; animation-direction: alternate-reverse;
}

/* Extra decorative orbs for "merge" effect */
.ambient-glow-extra {
  position: absolute; border-radius: 50%;
  filter: blur(56px); opacity: 0.22; pointer-events: none;
  z-index: -1; animation: orbFloat 36s infinite alternate ease-in-out;
}
.orb-1 { width: 35vw; height: 35vw; background: rgba(50, 215, 75, 0.15); top: 40%; left: 60%; }
.orb-2 { width: 45vw; height: 45vw; background: rgba(255, 55, 95, 0.1); top: 70%; left: -10%; animation-duration: 40s; }

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(15%, -10%) scale(1.1); }
  100% { transform: translate(-5%, 15%) scale(0.95); }
}

@media (max-width: 960px) {
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 60px); }
  .ambient-glow::before { width: 80vw; height: 80vw; filter: blur(48px); left: 10%; top: -5%; }
  .ambient-glow::after { width: 70vw; height: 70vw; filter: blur(48px); right: -10%; bottom: 10%; }
}

.hero-content { position: relative; z-index: 1; text-align: center; max-width: 800px; margin: 0 auto; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.2); border-radius: var(--radius-full);
  margin-bottom: 24px; color: var(--clr-primary); font-weight: 700; font-size: 0.85rem;
}

.hero-title {
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  font-weight: 900; line-height: 1.05; letter-spacing: -0.04em;
  margin-bottom: 24px; color: var(--clr-text);
}
.hero-title .grad {
  background: var(--grad-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem); color: var(--clr-text-sub);
  max-width: 580px; margin: 0 auto 40px; line-height: 1.5; font-weight: 500;
}

.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Big Pill Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 36px; border-radius: var(--radius-full);
  font-weight: 700; font-size: 1.1rem;
  letter-spacing: -0.01em;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.95); }

.btn-primary {
  background: var(--clr-text); color: var(--clr-bg);
  box-shadow: 0 8px 24px rgba(255,255,255,0.15);
}
html.light .btn-primary { background: var(--clr-text); color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,255,255,0.25); }

.btn-outline {
  background: var(--clr-surface); color: var(--clr-text); border: 1px solid var(--clr-border);
}
.btn-outline:hover { background: var(--clr-surface-high); transform: translateY(-2px); }

/* Quick Status row (Counters) */
.hero-stats {
  display: flex; justify-content: center; gap: 20px; margin-top: 60px; flex-wrap: wrap;
}
.stat-item {
  background: var(--clr-surface); border: 1px solid var(--clr-border);
  padding: 24px 32px; border-radius: var(--radius-xl);
  text-align: center; min-width: 160px;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.stat-num { font-size: 2.4rem; font-weight: 900; color: var(--clr-text); line-height: 1; margin-bottom: 4px; }
.stat-num span { color: var(--clr-primary); }
.stat-label { font-size: 0.95rem; color: var(--clr-text-sub); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
@media(max-width:480px) {
  .hero-stats { gap: 12px; }
  .stat-item { padding: 16px 20px; min-width: calc(50% - 6px); flex: 1; }
  .stat-num { font-size: 1.8rem; }
  .stat-item:last-child { min-width: 100%; } /* full width for odd last item on mobile */
}

/* ─── About Section Layout ────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

.about-overline {
  font-size: 0.85rem; font-weight: 700; color: var(--clr-primary);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px;
}
.about-h2 { font-size: 2.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 24px; color: var(--clr-text); }
.about-p { font-size: 1.1rem; color: var(--clr-text-muted); line-height: 1.6; margin-bottom: 20px; }

.payment-label { font-size: 0.8rem; font-weight: 700; color: var(--clr-text-sub); margin: 32px 0 12px; letter-spacing: 0.05em; }
.payment-chips { display: flex; gap: 12px; flex-wrap: wrap; }
.payment-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--radius-full);
  background: var(--clr-surface); border: 1px solid var(--clr-border);
  font-size: 0.9rem; font-weight: 700; color: var(--clr-text);
}

.feature-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
@media (max-width: 600px) { .feature-cards { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--clr-surface); padding: 24px; border-radius: var(--radius-xl);
  border: 1px solid var(--clr-border); display: flex; flex-direction: column; gap: 16px;
}
.feature-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(74,222,128,0.1); color: var(--clr-primary);
  display: flex; align-items: center; justify-content: center;
}
.feature-text h3 { font-size: 1.1rem; font-weight: 800; color: var(--clr-text); margin-bottom: 4px; }
.feature-text p { font-size: 0.9rem; color: var(--clr-text-muted); line-height: 1.4; }

/* ─── Cart Navigation Base (Sidebar & Overlay) ──────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-cart-overlay);
  background: rgba(4, 9, 6, 0.52);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 0.32s var(--ease),
    visibility 0s linear 0.32s,
    backdrop-filter 0.2s ease;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition:
    opacity 0.32s var(--ease),
    visibility 0s linear 0s,
    backdrop-filter 0.28s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
html.light .cart-overlay {
  background: rgba(15, 23, 42, 0.35);
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  z-index: var(--z-cart);
  display: flex;
  flex-direction: column;
  background: rgba(14, 17, 15, 0.94);
  border-left: 1px solid var(--clr-border);
  box-shadow: -16px 0 56px rgba(0, 0, 0, 0.42);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.42s,
    backdrop-filter 0.2s ease;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html.light .cart-sidebar {
  background: rgba(252, 252, 254, 0.96);
  box-shadow: -12px 0 40px rgba(15, 23, 42, 0.08);
}

.cart-sidebar-inner {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .cart-sidebar {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    max-width: 100%;
    height: min(88dvh, calc(100dvh - env(safe-area-inset-top, 0px)));
    max-height: min(88vh, calc(100dvh - env(safe-area-inset-top, 0px)));
    border-left: none;
    border-top: 1px solid var(--clr-border);
    border-radius: 24px 24px 0 0;
    /* Fully clear home-indicator / Liquid Glass inset — extra px avoids subpixel peel */
    transform: translateY(calc(100% + env(safe-area-inset-bottom, 0px) + 24px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.28);
  }
  html.light .cart-sidebar {
    box-shadow: 0 -8px 36px rgba(15, 23, 42, 0.12);
  }
}
.cart-sidebar.open {
  transform: translate(0, 0);
  visibility: visible;
  pointer-events: auto;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s,
    backdrop-filter 0.35s ease;
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
}

.cart-header {
  flex-shrink: 0;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--clr-border);
}
.cart-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--clr-text);
  min-width: 0;
}
.cart-title-icon {
  flex-shrink: 0;
  display: flex;
  color: var(--clr-primary);
  opacity: 0.92;
}

.cart-close {
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
  color: var(--clr-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.cart-close:hover {
  background: var(--clr-surface-high);
  color: var(--clr-text);
}
.cart-close:active {
  transform: scale(0.94);
}

.cart-items {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  margin: auto;
  position: relative;
}
.cart-empty-ring {
  position: absolute;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 1px solid rgba(74, 222, 128, 0.18);
  background: radial-gradient(circle at 50% 40%, rgba(74, 222, 128, 0.12), transparent 62%);
  opacity: 0.85;
}
.cart-empty-icon {
  position: relative;
  font-size: 2.75rem;
  opacity: 0.42;
  margin-bottom: 14px;
  filter: grayscale(0.35);
}
.cart-empty-text {
  position: relative;
  font-size: 0.98rem;
  color: var(--clr-text-muted);
  font-weight: 650;
  line-height: 1.45;
  max-width: 240px;
  margin: 0;
}
.cart-empty-cta {
  position: relative;
  margin-top: 20px;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
  color: var(--clr-text);
  font-size: 0.88rem;
  font-weight: 750;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.15s;
}
.cart-empty-cta:active {
  transform: scale(0.97);
}
.cart-empty-cta:hover {
  border-color: rgba(74, 222, 128, 0.35);
  background: rgba(74, 222, 128, 0.08);
}

.cart-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px 12px;
  padding: 12px 12px 12px 14px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 16px;
}
@media (max-width: 380px) {
  .cart-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
  }
  .cart-row-thumb {
    grid-row: 1 / span 2;
    align-self: center;
  }
  .cart-row-main {
    grid-column: 2;
    grid-row: 1;
  }
  .cart-row-remove {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
  }
  .cart-row-stepper {
    grid-column: 2 / -1;
    grid-row: 2;
    justify-self: end;
  }
}
.cart-row-thumb {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--clr-surface-high);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  flex-shrink: 0;
}
.cart-row-main {
  min-width: 0;
}
.cart-row-title {
  font-size: 0.92rem;
  font-weight: 750;
  color: var(--clr-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-row-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--clr-primary);
  margin-top: 3px;
}
.cart-row-qty-note {
  font-weight: 650;
  opacity: 0.55;
  font-size: 0.82rem;
}
.cart-row-meta {
  font-size: 0.72rem;
  color: var(--clr-text-muted);
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-row--needs-email .cart-row-main {
  min-width: 0;
}
.cart-row-emails {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.cart-row-emails-lbl {
  font-size: 0.68rem;
  font-weight: 650;
  color: var(--clr-text-muted);
  line-height: 1.3;
}
.cart-email-input {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--clr-text);
  font-size: 0.78rem;
  font-family: inherit;
}
html.light .cart-email-input {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.04);
}
.cart-email-input:focus {
  outline: none;
  border-color: var(--clr-accent, #4ade80);
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.15);
}
.cart-email-input--missing {
  border-color: rgba(255, 159, 10, 0.55);
}
.cart-email-input--missing:focus {
  border-color: var(--clr-accent, #4ade80);
}

.cart-row-stepper {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
html.light .cart-row-stepper {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.08);
}
.cart-row-qty-val {
  min-width: 22px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--clr-text-muted);
  padding: 0 4px;
}

.cart-row-remove {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: none;
  background: rgba(255, 69, 58, 0.1);
  color: var(--clr-danger);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    background 0.18s,
    transform 0.15s;
}
.cart-row-remove:active {
  transform: scale(0.9);
  background: var(--clr-danger);
  color: #fff;
}

.cart-footer {
  flex-shrink: 0;
  padding: 18px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--clr-border);
  background: var(--clr-bg-2);
}

.cart-gc-block {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--clr-border);
}
.cart-gc-toggle {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--clr-primary);
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.cart-gc-toggle:active {
  opacity: 0.85;
}

.cart-gc-input-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
  margin-top: 10px;
}
.cart-gc-pin {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  background: var(--clr-bg-card);
  color: var(--clr-text);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}
.cart-gc-apply {
  min-height: 44px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  background: var(--clr-surface-high);
  color: var(--clr-text);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
}
.cart-gc-apply:active {
  transform: scale(0.98);
}

.cart-gc-applied {
  margin-top: 10px;
  font-size: 0.82rem;
}
.cart-gc-applied-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.cart-gc-applied-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--clr-success);
  font-weight: 700;
}
#gc-discount-display.cart-gc-discount {
  color: var(--clr-success);
  font-weight: 800;
}
.cart-gc-disclaimer {
  margin: 8px 0 0;
  font-size: 0.72rem;
  line-height: 1.35;
  font-style: italic;
  color: var(--clr-danger);
}
.cart-gc-remove {
  margin-top: 8px;
  padding: 0;
  border: none;
  background: none;
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--clr-text-muted);
  text-decoration: underline;
  cursor: pointer;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}
.cart-total-label {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  font-weight: 650;
}
.cart-total-value {
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--clr-text);
}

.cart-checkout-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cart-checkout-actions {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
}
.cart-checkout-actions .cart-checkout {
  flex: 1;
  min-width: 0;
}
.cart-copy-order-btn {
  flex-shrink: 0;
  width: 50px;
  border-radius: 999px;
  border: 1px solid var(--clr-border);
  background: var(--clr-surface-high);
  color: var(--clr-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.cart-copy-order-btn:hover {
  border-color: color-mix(in srgb, var(--clr-primary) 35%, var(--clr-border));
  color: var(--clr-primary);
}
.cart-copy-order-btn:disabled {
  opacity: 0.9;
  cursor: default;
}
.cart-checkout {
  width: 100%;
  padding: 16px 18px;
  border-radius: var(--radius-full);
  border: none;
  background: var(--clr-primary);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.15s, filter 0.2s;
}
.cart-checkout:active {
  transform: scale(0.98);
}
.cart-wa-note {
  text-align: center;
  font-size: 0.76rem;
  color: var(--clr-text-muted);
  margin: 0;
  line-height: 1.4;
}

.qty-btn {
  min-width: 40px;
  min-height: 40px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--clr-text);
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.qty-btn:active {
  background: var(--clr-primary);
  color: #fff;
}
html.light .qty-btn {
  background: rgba(15, 23, 42, 0.06);
}

/* In-Cart Terms & Conditions */
.cart-tc-container { display: flex; flex-direction: column; gap: 8px; margin: 16px 0 12px; position: relative; }
.cart-tc-header { font-size: 0.85rem; font-weight: 800; color: var(--clr-text); text-transform: uppercase; letter-spacing: 0.05em; }

/* ─── Gift Cards Homepage ───────────────────────────────────── */
/* Gift card dark variant — keeps the purple gradient */
.gc-type-card {
  --sc-accent: #a78bfa;
  background: linear-gradient(135deg, #1e0a38 0%, #0f001e 100%);
  border-color: rgba(167,139,250,.25);
}
.gc-type-card .sc-top-bar { background: linear-gradient(90deg,#a78bfa,#c084fc); }
.gc-type-card .sc-glow { background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(167,139,250,.2), transparent 70%); }
.gc-type-card .sc-name { color: #fff; }
.gc-type-card .sc-desc { color: rgba(255,255,255,.7); }
.gc-type-card .sc-price-main { color: #fff; }
.gc-type-card .sc-price-sub { color: rgba(255,255,255,.5); }
.gc-type-card .sc-footer { border-top-color: rgba(255,255,255,.1); }
.gc-type-card .sc-feats li { color: rgba(255,255,255,.65); }
.gc-type-card .sc-cart-btn { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.15); color: #fff; }

html.light .gc-type-card {
  background: linear-gradient(135deg, #f2e6ff 0%, #ead4ff 100%);
  border-color: rgba(167,139,250,.35);
}
html.light .gc-type-card .sc-name { color: #1a0533; }
html.light .gc-type-card .sc-desc { color: rgba(26,5,51,.65); }
html.light .gc-type-card .sc-price-main { color: #1a0533; }
html.light .gc-type-card .sc-footer { border-top-color: rgba(0,0,0,.1); }
html.light .gc-type-card .sc-cart-btn { background: rgba(167,139,250,.15); border-color: rgba(167,139,250,.25); color: #7c3aed; }
.tc-mini-box {
  background: var(--clr-surface); border: 1px solid var(--clr-border);
  border-radius: var(--radius-md); padding: 12px 14px;
  max-height: 110px; overflow-y: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  font-size: 0.75rem; color: var(--clr-text-muted); line-height: 1.5;
}
.tc-mini-box::-webkit-scrollbar { display: none; }
.tc-mini-box h3 { font-size: 0.8rem; font-weight: 800; color: var(--clr-text); margin: 8px 0 4px; }
.tc-mini-box p { margin-bottom: 6px; }
.tc-mini-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 32px;
  background: linear-gradient(to top, var(--clr-bg-card), transparent); pointer-events: none; border-radius: 0 0 var(--radius-md) var(--radius-md);
}

/* ─── Advanced Cards & Filtering ────────────────────────────── */
.services-sticky-header {
  position: sticky; top: var(--nav-h); z-index: 90;
  background: rgba(17, 19, 26, 0.65);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  margin: 0 -24px 20px -24px; padding: 12px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.3s;
}
@media (max-width: 480px) {
  .services-sticky-header { margin: 0 -20px 20px -20px; padding: 12px 20px; }
}
html.light .services-sticky-header {
  background: rgba(245, 245, 247, 0.7); border-bottom-color: rgba(0,0,0,0.05);
}
.services-sticky-header .filter-bar { padding: 0 0 12px 0; }
.services-sticky-header .svc-search-wrap { margin-bottom: 0; }


.filter-bar { padding: 10px 0 20px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.filter-bar::-webkit-scrollbar { display: none; }
.filter-btns { display: flex; gap: 12px; width: max-content; }
.filter-btn {
  padding: 10px 20px; border-radius: var(--radius-full);
  background: var(--clr-surface); color: var(--clr-text-muted);
  font-weight: 600; font-size: 0.95rem; border: 1px solid transparent;
}
.filter-btn.active {
  background: var(--clr-text); color: var(--clr-bg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ═══════════════════════════════════════════════════════════
   SERVICES GRID
═══════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 20px; margin-top: 20px;
}
@media (max-width: 540px) { .services-grid { grid-template-columns: 1fr; gap: 14px; } }

/* ── Base card ─────────────────────────────────────────────── */
.service-card {
  --sc-accent: #4ade80;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: 22px;
  padding: 22px 22px 20px;
  display: flex; flex-direction: column;
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform .28s var(--ease), border-color .28s, box-shadow .28s;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  -webkit-tap-highlight-color: transparent;
}

/* Radial glow — reveals on hover */
.sc-glow {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, color-mix(in srgb, var(--sc-accent) 14%, transparent), transparent 70%);
  opacity: 0; transition: opacity .4s;
}

/* Coloured top accent bar */
.sc-top-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--sc-accent);
  border-radius: 22px 22px 0 0;
  opacity: .7; transition: opacity .3s;
}

.service-card:hover {
  border-color: rgba(74,222,128,.4);
  border-color: color-mix(in srgb, var(--sc-accent) 45%, transparent);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,.13);
  box-shadow: 0 16px 40px rgba(0,0,0,.13), 0 0 0 1px color-mix(in srgb, var(--sc-accent) 20%, transparent);
}
.service-card:hover .sc-glow { opacity: 1; }
.service-card:hover .sc-top-bar { opacity: 1; }
.service-card:active { transform: scale(.98) translateY(-2px); }

/* ── Head ──────────────────────────────────────────────────── */
.sc-head {
  display: flex; align-items: flex-start;
  justify-content: space-between; margin-bottom: 18px;
  position: relative; z-index: 2;
}

/* Emoji bubble — tinted with accent color */
.sc-emoji-bubble {
  width: 58px; height: 58px; border-radius: 16px; flex-shrink: 0;
  /* fallback for browsers without color-mix */
  background: rgba(74,222,128,.1);
  background: color-mix(in srgb, var(--sc-accent) 12%, var(--clr-surface));
  border: 1px solid rgba(74,222,128,.2);
  border-color: color-mix(in srgb, var(--sc-accent) 22%, transparent);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.service-card:hover .sc-emoji-bubble {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 8px 24px rgba(74,222,128,.22);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--sc-accent) 30%, transparent);
}
.sc-emoji {
  font-size: 1.9rem; line-height: 1;
  font-family: 'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;
}

/* Badge */
.sc-badge-wrap { padding-top: 2px; }
.badge { padding: 4px 10px; border-radius: 8px; font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.badge-primary { background: rgba(74,222,128,.15); color: var(--clr-primary); border: 1px solid rgba(74,222,128,.2); }
.badge-warning { background: rgba(255,159,10,.15); color: var(--clr-warning); border: 1px solid rgba(255,159,10,.2); }
.badge-success { background: rgba(50,215,75,.15); color: var(--clr-success); border: 1px solid rgba(50,215,75,.2); }
.badge-danger  { background: rgba(255,69,58,.15); color: var(--clr-danger); border: 1px solid rgba(255,69,58,.2); }

/* ── Body ──────────────────────────────────────────────────── */
.sc-body { flex: 1; display: flex; flex-direction: column; position: relative; z-index: 2; }
.sc-name {
  font-size: 1.1rem; font-weight: 800; line-height: 1.2;
  color: var(--clr-text); margin-bottom: 6px; letter-spacing: -.02em;
}
.sc-desc {
  font-size: .85rem; color: var(--clr-text-muted);
  line-height: 1.55; margin-bottom: 14px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Feature checklist */
.sc-feats {
  list-style: none; display: flex; flex-direction: column; gap: 5px;
  margin-bottom: 16px;
}
.sc-feats li {
  display: flex; align-items: center; gap: 7px;
  font-size: .78rem; font-weight: 600; color: var(--clr-text-sub);
}
.sc-feats li svg { flex-shrink: 0; color: var(--sc-accent); }

/* Product ID — subtle catalogue handle (reviews / linking) */
.kiwi-product-id-chip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 4px 0 6px;
}
.kiwi-product-id-val {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  background: transparent;
  border: none;
  border-bottom: 1px dashed color-mix(in srgb, var(--clr-text-muted) 45%, transparent);
  padding: 0 0 1px;
  border-radius: 0;
  word-break: break-all;
  line-height: 1.35;
}
html.light .kiwi-product-id-val {
  border-bottom-color: color-mix(in srgb, var(--clr-text-muted) 35%, transparent);
}

/* ── Footer ────────────────────────────────────────────────── */
.sc-footer {
  display: flex; align-items: center;
  justify-content: space-between; gap: 10px;
  border-top: 1px solid var(--clr-border);
  padding-top: 16px; margin-top: auto;
  position: relative; z-index: 2;
}
.sc-price { display: flex; flex-direction: column; }
.sc-price-main {
  font-size: 1.55rem; font-weight: 900;
  color: var(--clr-text); line-height: 1; letter-spacing: -.03em;
  display: flex; align-items: baseline; gap: 3px;
}
.sc-from {
  font-size: .6rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; opacity: .6; margin-right: 3px;
}
.sc-price-sub {
  font-size: .72rem; color: var(--clr-text-muted); margin-top: 3px; font-weight: 600;
}

/* Actions */
.sc-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* Square cart icon-only button */
.sc-cart-btn {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: var(--clr-surface-high); border: 1px solid var(--clr-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-text-sub); transition: all .2s;
}
.sc-cart-btn:hover { background: rgba(74,222,128,.1); border-color: rgba(74,222,128,.3); color: var(--clr-primary); }
.sc-cart-btn.added { background: rgba(74,222,128,.12); border-color: rgba(74,222,128,.4); color: var(--clr-primary); }

/* Primary "View →" pill button */
.sc-view-btn {
  height: 36px; padding: 0 16px; border-radius: 999px;
  background: var(--clr-surface-high);
  background: color-mix(in srgb, var(--sc-accent) 10%, var(--clr-surface-high));
  border: 1px solid rgba(74,222,128,.25);
  border-color: color-mix(in srgb, var(--sc-accent) 25%, transparent);
  color: var(--sc-accent);
  font-size: .82rem; font-weight: 800;
  display: inline-flex; align-items: center; gap: 5px;
  transition: all .2s; white-space: nowrap;
}
.sc-view-btn:hover {
  background: var(--sc-accent); color: #fff;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--sc-accent) 30%, transparent);
  transform: translateY(-1px);
}

/* Gift card view btn */
.gc-view-btn { --sc-accent: #fbbf24; }

/* Sold-out overlay */
.sc-soldout-overlay {
  position: absolute; inset: 0; border-radius: inherit;
  background: rgba(0,0,0,.55); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; z-index: 10;
}
.sc-soldout-overlay span {
  padding: 8px 22px; border-radius: 999px;
  background: rgba(255,69,58,.18); border: 1px solid rgba(255,69,58,.4);
  color: #ff6b6b; font-size: .85rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase;
}
.service-card.sold-out { opacity: .75; }

/* Light mode adjustments */
html.light .sc-emoji-bubble { border-color: color-mix(in srgb, var(--sc-accent) 30%, transparent); }
html.light .service-card:hover { box-shadow: 0 16px 40px rgba(0,0,0,.09), 0 0 0 1px color-mix(in srgb, var(--sc-accent) 25%, transparent); }

/* Keep old aliases alive for anything that still references them */
.card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.card-emoji { font-size: 2.5rem; line-height: 1; font-family: 'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif; }

/* Listed products — emoji from CMS (`emoji` field). Gift-card SKUs always use `fi-sr-gift` (see main.js `kiwiGiftCardIconSpan`). */
.product-emoji {
  display: inline-block;
  font-family: 'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;
  line-height: 1;
}
.card-badges { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.service-name { font-size: 1.1rem; font-weight: 800; color: var(--clr-text); margin-bottom: 6px; }
.service-desc { font-size: .85rem; color: var(--clr-text-muted); margin-bottom: 14px; flex: 1; }
.card-footer { display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px solid var(--clr-border); padding-top: 16px; }
.svc-price { display: flex; flex-direction: column; }
.price-main { font-size: 1.55rem; font-weight: 900; color: var(--clr-text); line-height: 1; }
.price-sub  { font-size: .72rem; color: var(--clr-text-muted); margin-top: 3px; font-weight: 600; }
.btn-add-cart {
  height: 36px; padding: 0 16px; border-radius: 999px;
  background: var(--clr-surface-high); color: var(--clr-text);
  font-weight: 700; font-size: .85rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-add-cart:hover { background: var(--clr-primary); color: #fff; }
.btn-add-cart.added { background: var(--clr-success); color: #fff; }

/* ─── Offers Carousel — premium deal cards ─────────────────── */
@keyframes offer-shine-sweep {
  0% {
    transform: translateX(-120%) skewX(-14deg);
    opacity: 0;
  }
  12% {
    opacity: 0.55;
  }
  28% {
    transform: translateX(120%) skewX(-14deg);
    opacity: 0;
  }
  100% {
    transform: translateX(120%) skewX(-14deg);
    opacity: 0;
  }
}

@keyframes offer-card-glow-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(167, 139, 250, 0.12),
      0 26px 52px rgba(0, 0, 0, 0.55),
      0 0 0 0 rgba(74, 222, 128, 0);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(251, 191, 36, 0.28),
      0 32px 60px rgba(0, 0, 0, 0.62),
      0 0 48px rgba(74, 222, 128, 0.12);
  }
}

#exclusive-offers {
  scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 84px);
}
.offers-carousel-section.exclusive-offers--landed .offers-section-head {
  animation: exclusiveOffersHeadPop 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes exclusiveOffersHeadPop {
  0% {
    transform: translateY(10px);
    opacity: 0.65;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.offers-carousel-section.exclusive-offers--landed::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  animation: exclusiveOffersRing 2.4s ease-out forwards;
  box-shadow: inset 0 0 0 2px rgba(74, 222, 128, 0.5);
  opacity: 0;
}
@keyframes exclusiveOffersRing {
  0% {
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.offers-carousel-section {
  position: relative;
  padding: clamp(44px, 6vw, 72px) 0 20px;
  overflow: hidden;
}
.offers-carousel-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 50% at 50% -15%, rgba(124, 58, 237, 0.2), transparent 55%),
    radial-gradient(ellipse 55% 45% at 95% 40%, rgba(251, 191, 36, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 40% at 5% 60%, rgba(74, 222, 128, 0.06), transparent 45%);
  pointer-events: none;
}
html.light .offers-carousel-section::before {
  opacity: 0.45;
}
.offers-carousel-inner {
  position: relative;
  z-index: 1;
}

.offers-section-head {
  margin-bottom: clamp(22px, 4vw, 32px);
  max-width: 640px;
}
.offers-title {
  font-family: 'Syne', var(--font-body), system-ui, sans-serif;
  font-size: clamp(1.55rem, 4.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 10px;
  color: var(--clr-text);
  line-height: 1.15;
}
.offers-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(251, 191, 36, 0.22), rgba(124, 58, 237, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 14px 36px rgba(0, 0, 0, 0.28);
  font-size: 1.6rem;
  line-height: 1;
}
html.light .offers-icon {
  background: linear-gradient(145deg, rgba(251, 191, 36, 0.28), rgba(139, 92, 246, 0.12));
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}
.offers-title-line1 {
  background: linear-gradient(118deg, #fde68a 0%, #fbbf24 35%, #fb923c 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}
html.light .offers-title-line1 {
  background: linear-gradient(118deg, #ca8a04 0%, #ea580c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.offers-title-line2 {
  color: var(--clr-text);
}
.offers-section-sub {
  margin: 0;
  padding-left: 68px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--clr-text-muted);
  font-weight: 600;
  max-width: 42ch;
}
@media (max-width: 520px) {
  .offers-section-sub {
    padding-left: 0;
  }
}

.offers-track-wrapper {
  margin: 0 -24px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
@media (max-width: 480px) {
  .offers-track-wrapper {
    margin: 0 -20px;
  }
}
.offers-track-wrapper::-webkit-scrollbar {
  display: none;
}
.offers-track {
  display: flex;
  gap: clamp(18px, 3vw, 26px);
  padding: 8px 24px 28px;
  width: max-content;
}
@media (max-width: 480px) {
  .offers-track {
    padding: 8px 20px 28px;
  }
}

.offer-card {
  --offer-radius: clamp(22px, 5vw, 26px);
  width: clamp(308px, 82vw, 360px);
  flex-shrink: 0;
  scroll-snap-align: center;
  position: relative;
  isolation: isolate;
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--offer-radius);
  color: var(--clr-text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.07) 0%, transparent 42%),
    linear-gradient(210deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.76) 100%);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow:
    0 0 0 1px rgba(167, 139, 250, 0.08),
    0 26px 52px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 0.42s cubic-bezier(0.25, 0.9, 0.25, 1),
    border-color 0.35s ease,
    box-shadow 0.42s ease;
  display: flex;
  flex-direction: column;
}
html.light .offer-card {
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.85) 0%, rgba(250, 250, 250, 0.72) 100%);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow:
    0 0 0 1px rgba(124, 58, 237, 0.1),
    0 22px 48px rgba(0, 0, 0, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.offer-card--skeleton {
  pointer-events: none;
  animation: none;
}
.offer-card--skeleton.offer-card:hover {
  transform: none;
  box-shadow: inherit;
}

.offer-card:focus {
  outline: none;
}
.offer-card:focus-visible {
  outline: 2px solid rgba(251, 191, 36, 0.85);
  outline-offset: 4px;
}

.offer-card:not(.offer-card--skeleton):hover {
  transform: translateY(-8px);
  border-color: rgba(251, 191, 36, 0.35);
  box-shadow:
    0 0 0 1px rgba(251, 191, 36, 0.2),
    0 38px 70px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(124, 58, 237, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
html.light .offer-card:not(.offer-card--skeleton):hover {
  box-shadow:
    0 0 0 1px rgba(251, 191, 36, 0.35),
    0 32px 56px rgba(0, 0, 0, 0.1),
    0 0 40px rgba(74, 222, 128, 0.12);
}

.offer-card:not(.offer-card--skeleton):active {
  transform: translateY(-3px) scale(0.99);
}

.offer-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 24px 24px 22px;
  min-height: 100%;
}

.offer-card-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.offer-media {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.2), transparent 55%),
    linear-gradient(145deg, rgba(124, 58, 237, 0.45), rgba(74, 222, 128, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
html.light .offer-media {
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.9), transparent 55%),
    linear-gradient(145deg, rgba(167, 139, 250, 0.25), rgba(74, 222, 128, 0.15));
  border-color: rgba(0, 0, 0, 0.06);
}

.offer-media-ring {
  position: absolute;
  inset: -6px;
  border-radius: 26px;
  border: 1px dashed rgba(251, 191, 36, 0.35);
  opacity: 0.75;
  pointer-events: none;
  animation: offer-ring-spin 22s linear infinite;
}
@keyframes offer-ring-spin {
  to {
    transform: rotate(360deg);
  }
}

.offer-media--skeleton {
  background: var(--clr-surface-high);
  border-color: transparent;
}

.offer-chip {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  background: linear-gradient(120deg, #fde047 0%, #f59e0b 45%, #ea580c 100%);
  color: #1c1410;
  border: 1px solid rgba(253, 230, 138, 0.5);
  box-shadow:
    0 10px 24px rgba(245, 158, 11, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.offer-chip-skel {
  width: 108px;
  height: 30px !important;
  border-radius: 999px !important;
  flex-shrink: 0;
}

.offer-card-shine {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}
.offer-card-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  width: 52%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.16),
    rgba(251, 191, 36, 0.12),
    transparent
  );
  animation: offer-shine-sweep 7.5s ease-in-out infinite;
}

.offer-card-vignette {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% -10%, transparent 55%, rgba(0, 0, 0, 0.25) 100%);
}
html.light .offer-card-vignette {
  background: radial-gradient(120% 90% at 50% -10%, transparent 60%, rgba(0, 0, 0, 0.04) 100%);
}

.offer-card-corner {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 112px;
  height: 112px;
  pointer-events: none;
  background: linear-gradient(210deg, rgba(251, 191, 36, 0.2) 0%, transparent 55%);
  opacity: 0.55;
}

.offer-name {
  font-family: 'Syne', var(--font-body), system-ui, sans-serif;
  font-size: clamp(1.22rem, 3.8vw, 1.42rem);
  font-weight: 800;
  line-height: 1.18;
  margin: 0 0 10px;
  color: var(--clr-text);
  letter-spacing: -0.025em;
}

.offer-card-body > .kiwi-product-id-chip {
  margin-bottom: 6px;
  margin-top: -2px;
}

.offer-tagline {
  margin: 0 0 18px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--clr-text-muted);
  max-height: 2.95em;
  overflow: hidden;
}

.offer-price-stack {
  margin-bottom: auto;
  padding-bottom: 20px;
}
.offer-original-wrap {
  margin-bottom: 6px;
}

.offer-old-price {
  font-size: 1rem;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(239, 68, 68, 0.45);
  color: var(--clr-text-muted);
  font-weight: 700;
}

.offer-price {
  font-size: clamp(1.65rem, 5vw, 2.05rem);
  font-weight: 950;
  line-height: 1.08;
  color: #ecfccb;
  text-shadow:
    0 0 32px rgba(74, 222, 128, 0.5),
    0 2px 0 rgba(0, 0, 0, 0.35);
}
html.light .offer-price {
  color: #15803d;
  text-shadow: none;
}

.offer-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
html.light .offer-card-actions {
  border-top-color: rgba(0, 0, 0, 0.06);
}

.offer-btn {
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: none;
  width: 100%;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  color: #0f172a;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  background: linear-gradient(
    125deg,
    #fef08a 0%,
    #facc15 18%,
    #4ade80 52%,
    #059669 100%
  );
  box-shadow:
    0 12px 28px rgba(34, 197, 94, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition:
    transform 0.22s ease,
    box-shadow 0.26s ease;
}
.offer-btn svg {
  flex-shrink: 0;
}

.offer-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 36px rgba(34, 197, 94, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.offer-btn:active {
  transform: translateY(0);
}

.offer-btn.added {
  background: linear-gradient(125deg, #4ade80, #15803d);
  color: #fff;
  box-shadow: 0 10px 26px rgba(34, 197, 94, 0.4);
}

.offer-btn-skel {
  width: 100% !important;
  height: 48px !important;
  border-radius: 999px !important;
  margin-bottom: 0 !important;
}

.offer-card-hint {
  font-size: 0.71rem;
  font-weight: 700;
  text-align: center;
  color: var(--clr-text-muted);
  opacity: 0.72;
}

/* Legacy selectors still used elsewhere */
.offer-price-row {
  margin-bottom: 18px;
}
.offer-badge {
  display: none;
}

/* Optional subtle idle glow on standout cards — disabled under reduced-motion below */
.offer-card:not(.offer-card--skeleton) {
  animation: offer-card-glow-pulse 10s ease-in-out infinite;
}
/* .reveal sets opacity:0 + revealUp; rule above replaces animation → revealUp never ran (invisible cards). */
.offer-card.reveal:not(.offer-card--skeleton) {
  animation:
    offer-card-glow-pulse 10s ease-in-out infinite,
    revealUp 0.85s var(--ease) forwards;
}
.offer-card.offer-card--skeleton.reveal {
  opacity: 1;
  animation: revealUp 0.5s var(--ease) forwards;
}
@media (prefers-reduced-motion: reduce) {
  .offer-chip-skel {
    animation: none !important;
  }
  .offer-media-ring {
    animation: none !important;
  }
  .offer-card:not(.offer-card--skeleton) {
    animation: none !important;
  }
  .offer-card.reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .offer-card-shine::after {
    animation: none !important;
    opacity: 0;
  }
  .offer-card:not(.offer-card--skeleton):hover {
    transform: none !important;
  }
}

/* ─── Hot & Trending — compact horizontal ticker cards ──────── */
.hot-carousel-section {
  padding: 32px 0 0;
  overflow: hidden;
}
.hot-title {
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.hot-track-wrapper {
  margin: 0 -24px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 480px) {
  .hot-track-wrapper { margin: 0 -20px; }
}
.hot-track-wrapper::-webkit-scrollbar { display: none; }
.hot-track {
  display: flex;
  gap: 10px;
  padding: 0 24px 16px;
  width: max-content;
}
@media (max-width: 480px) {
  .hot-track { padding: 0 20px 16px; gap: 8px; }
}
.hot-track::after {
  content: '';
  flex-shrink: 0;
  width: 2px;
}

.hot-card {
  width: clamp(208px, 52vw, 232px);
  flex-shrink: 0;
  scroll-snap-align: start;
  position: relative;
  border-radius: 14px;
  padding: 0;
  cursor: pointer;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.045) 0%, transparent 45%),
    var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.22s var(--ease), border-color 0.22s, box-shadow 0.22s;
  -webkit-tap-highlight-color: transparent;
}
html.light .hot-card {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.92) 0%, rgba(250,251,253,1) 100%);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}
.hot-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 0 4px 4px 0;
  opacity: 0.85;
  pointer-events: none;
}
.hot-card--fire::before {
  background: linear-gradient(180deg, #f97316 0%, #ea580c 55%, var(--clr-primary) 100%);
}
.hot-card--pop::before {
  background: linear-gradient(180deg, #a78bfa 0%, var(--clr-primary) 100%);
}

.hot-card-body {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 10px 13px;
  min-height: 72px;
  box-sizing: border-box;
}
.hot-card-thumb {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, rgba(74,222,128,0.12) 0%, rgba(74,222,128,0.04) 100%);
  border: 1px solid rgba(74, 222, 128, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 4px 12px rgba(0, 0, 0, 0.06);
}
html.light .hot-card-thumb {
  background: linear-gradient(155deg, rgba(74,222,128,0.18) 0%, rgba(74,222,128,0.06) 100%);
  border-color: rgba(34, 197, 94, 0.2);
}
.hot-card-thumb .product-emoji {
  font-size: 1.42rem;
  line-height: 1;
}

.hot-card-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  justify-content: center;
}

.hot-card-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  align-self: flex-start;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hot-card--fire .hot-card-chip {
  color: rgba(251, 191, 36, 0.95);
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.26);
}
.hot-card--pop .hot-card-chip {
  color: rgba(147, 197, 253, 0.98);
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.26);
}
html.light .hot-card--fire .hot-card-chip {
  color: #c2410c;
  background: rgba(251, 191, 36, 0.16);
}
html.light .hot-card--pop .hot-card-chip {
  color: #1d4ed8;
  background: rgba(96, 165, 250, 0.16);
}

.hot-card-chip-emoji {
  font-size: 0.72em;
}

.hot-card-name {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--clr-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hot-card-info .kiwi-product-id-chip {
  margin-bottom: 2px;
  margin-top: 0;
}
.hot-card-info .kiwi-product-id-val {
  font-size: 0.6rem;
}

.hot-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
}

.hot-card-price {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--clr-primary);
  letter-spacing: -0.01em;
}

.hot-card-period {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hot-card-go {
  flex-shrink: 0;
  align-self: center;
  opacity: 0.28;
  color: var(--clr-text-muted);
  transition: opacity 0.2s;
}
.hot-card:hover .hot-card-go,
.hot-card:focus-visible .hot-card-go {
  opacity: 0.55;
  color: var(--clr-primary);
}

.hot-card:hover {
  transform: translateY(-2px);
  border-color: rgba(74, 222, 128, 0.28);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
html.light .hot-card:hover {
  border-color: rgba(74, 222, 128, 0.35);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}

.hot-card:focus-visible {
  outline: none;
}
.hot-card:focus-visible::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  border: 2px solid var(--clr-primary);
  pointer-events: none;
}

.hot-card:active {
  transform: scale(0.98) translateY(0);
}

.hot-card--skeleton {
  pointer-events: none;
  overflow: hidden;
}
.hot-card--skeleton.hot-card:hover {
  transform: none;
}
.hot-skel-thumb {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
html.light .hot-skel-thumb {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.06);
}
.hot-skel-info {
  gap: 6px;
}
.hot-skel-bar {
  height: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  position: relative;
  overflow: hidden;
}
html.light .hot-skel-bar {
  background: rgba(15, 23, 42, 0.08);
}
.hot-skel-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  animation: shimmer 1.3s infinite;
}
html.light .hot-skel-bar::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
}
.hot-skel-bar--chip { width: 46%; height: 6px; opacity: 0.85; }
.hot-skel-bar--title { width: 94%; height: 8px; }
.hot-skel-bar--price { width: 62%; opacity: 0.75; }
.hot-card.hot-card--skeleton::before { opacity: 0.35; }

@media (prefers-reduced-motion: reduce) {
  .hot-card,
  .hot-card-go {
    transition: none;
  }
  .hot-card:hover {
    transform: none;
  }
  .hot-skel-bar::after {
    animation: none !important;
  }
}

/* ─── Home reviews marquee ─────────────────────────────────── */
.tp-marquee {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.tp-marquee--home {
  user-select: none;
  -webkit-user-select: none;
}
.tp-marquee-viewport {
  overflow: hidden;
  touch-action: none;
}
.tp-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.tp-marquee-track--ready {
  animation: homeReviewsMarquee var(--marquee-duration, 60s) linear infinite;
}
.tp-marquee-strip {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
}
.tp-marquee-empty {
  padding: 28px 20px;
  color: var(--clr-text-muted);
  font-weight: 600;
  text-align: center;
  min-width: min(100%, 420px);
}
.tp-card {
  width: min(340px, 82vw);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 188px;
  background: var(--clr-surface);
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid var(--clr-border);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  pointer-events: none;
}
.tp-card--skeleton {
  min-height: 188px;
  background: linear-gradient(
    110deg,
    var(--clr-surface) 8%,
    var(--clr-surface-high) 18%,
    var(--clr-surface) 33%
  );
  background-size: 200% 100%;
  animation: tpSkeletonShimmer 1.4s ease-in-out infinite;
}
@keyframes tpSkeletonShimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}
.tp-product-link {
  pointer-events: auto;
  text-decoration: none;
  color: inherit;
  display: block;
}
.tp-product-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 8px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.14), rgba(74, 222, 128, 0.04));
  border: 1px solid rgba(74, 222, 128, 0.28);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.tp-product-link:hover .tp-product-chip,
.tp-product-link:focus-visible .tp-product-chip {
  border-color: rgba(74, 222, 128, 0.55);
  background: rgba(74, 222, 128, 0.16);
  transform: translateY(-1px);
}
.tp-product-chip-ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  background: rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}
html.light .tp-product-chip-ic {
  background: rgba(15, 23, 42, 0.06);
}
.tp-product-chip-copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.tp-product-chip-lbl {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--clr-primary);
  opacity: 0.9;
}
.tp-product-chip-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--clr-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tp-product-chip-arrow {
  flex-shrink: 0;
  color: var(--clr-primary);
  opacity: 0.85;
}
.tp-store-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--clr-border);
}
.tp-store-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-text-muted);
  opacity: 0.7;
}
.tp-card-stars {
  color: #fbbf24;
  font-size: 0.95rem;
  letter-spacing: 2px;
  line-height: 1;
}
.tp-card-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--clr-text);
  line-height: 1.3;
  margin: 0;
}
.tp-card-body {
  font-size: 0.86rem;
  color: var(--clr-text-sub);
  line-height: 1.55;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tp-card-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 4px;
}
.tp-card-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.tp-card-author {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--clr-text);
}
.tp-card-verified {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--clr-primary);
}
.tp-card-when {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 650;
  color: var(--clr-text-muted);
}
@keyframes homeReviewsMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(var(--marquee-shift, -50%), 0, 0);
  }
}

/* Decorative motion: respect OS “reduce motion”; keep transitions on UI controls untouched. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tp-marquee-track,
  .tp-marquee-track--ready {
    animation: none !important;
  }
  .tp-card--skeleton {
    animation: none !important;
  }
  .reveal,
  .float,
  .skeleton-card::after {
    animation: none !important;
  }
  .ambient-glow::before,
  .ambient-glow::after {
    animation: none !important;
    filter: blur(40px);
    opacity: 0.35;
    transform: none;
  }
  .ambient-glow-extra {
    animation: none !important;
    opacity: 0.12;
    filter: blur(32px);
  }
  .showcase-ring {
    animation: none !important;
    will-change: auto;
  }
  .eyebrow-dot,
  .hero-title .grad,
  .showcase-center,
  .sc-card,
  .sc-badge,
  .hero-scroll,
  .hero-scroll-wheel {
    animation: none !important;
  }
}

/* ─── Product Modal ──────────────────────────────────────────── */
.product-modal-grid { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.product-modal-header { display: flex; gap: 16px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--clr-border); }
.pm-emoji { width: 76px; height: 76px; background: linear-gradient(135deg, var(--clr-surface-high), var(--clr-surface)); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 2.8rem; box-shadow: 0 8px 24px rgba(0,0,0,0.15); border: 1px solid var(--clr-border); flex-shrink: 0; }
.pm-title { font-size: 1.5rem; font-weight: 800; color: var(--clr-text); line-height: 1.2; margin-bottom: 6px; }
.pm-price { display: flex; align-items: baseline; gap: 6px; }
.pm-price .price-big { font-size: 1.4rem; font-weight: 900; color: var(--clr-primary); }
.pm-price .price-sub { font-size: 0.85rem; color: var(--clr-text-muted); font-weight: 600; }
.pm-desc { font-size: 0.95rem; color: var(--clr-text-sub); line-height: 1.5; margin-bottom: 8px; }
.pm-features-title { font-size: 0.9rem; font-weight: 800; color: var(--clr-text); text-transform: uppercase; letter-spacing: 0.05em; display: flex; align-items: center; gap: 8px; margin-top: 8px; opacity: 0.9; }

.pm-label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--clr-text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.pm-select, .pm-input {
  width: 100%; padding: 16px; border-radius: 12px;
  background: var(--clr-surface); border: 1px solid var(--clr-border);
  color: var(--clr-text); font-family: inherit; font-weight: 600; font-size: 1rem;
  transition: border-color 0.2s;
}
.pm-select:focus, .pm-input:focus { border-color: var(--clr-primary); outline: none; }
.product-modal-feat-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* ─── Modals Genral ────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: var(--z-modal);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease);
  padding: 20px;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }

.modal {
  background: rgba(17, 19, 26, 0.95);
  backdrop-filter: blur(40px) saturate(200%); -webkit-backdrop-filter: blur(40px) saturate(200%);
  width: 100%; max-width: 480px;
  max-height: min(85vh, 100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 24px);
  display: flex; flex-direction: column;
  border-radius: var(--radius-2xl); border: 1px solid var(--clr-border);
  transform: scale(0.95) translateY(20px); opacity: 0; transition: all 0.4s var(--ease);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  position: relative; overflow: hidden;
  min-height: 0;
}
@media (max-width: 768px) {
  .modal-overlay {
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .modal {
    max-height: min(90dvh, 100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    border-radius: 32px 32px 0 0;
    align-self: flex-end;
    transform: translateY(100%);
    margin-bottom: 0;
  }
  .modal-overlay.open .modal {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
html.light .modal { background: rgba(255, 255, 255, 0.95); }
html.light .pm-emoji { background: linear-gradient(135deg, rgba(255,255,255,1), rgba(240,240,245,1)); border-color: rgba(0,0,0,0.08); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }

/* Desktop: centered zoom-in */
@media (min-width: 769px) {
  .modal-overlay.open .modal {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.modal-title { padding: 24px 24px 16px; font-size: 1.4rem; font-weight: 800; border-bottom: 1px solid var(--clr-border); position: sticky; top: 0; z-index: 5; background: inherit; }


.modal-close {
  position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 18px;
  background: var(--clr-surface); color: var(--clr-text-muted); z-index: 10;
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--clr-surface-high); color: var(--clr-text); }
.modal-close:active { transform: scale(0.9); }

/* ─── Forms ─────────────────────────────────────────────────── */
.form-group { margin-bottom: 24px; }
.form-label { display: block; font-weight: 700; color: var(--clr-text); margin-bottom: 8px; font-size: 0.95rem; }
.form-input, .form-textarea, .form-checkbox {
  width: 100%; padding: 16px; border-radius: 14px;
  background: var(--clr-surface); border: 1px solid var(--clr-border);
  color: var(--clr-text); font-family: inherit; font-size: 1rem;
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-input:focus, .form-textarea:focus { border-color: var(--clr-primary); outline: none; background: var(--clr-surface-high); }

/* ─── Cart Page Overrides ────────────────────────────────────── */
@media (max-width: 480px) {
  .cart-page .cart-sidebar { width: 100%; border-radius: 0; right: 0; box-shadow: none; border-left: none; }
  .cart-page .cart-items { max-height: calc(100vh - 400px); }
  .cart-page .cart-footer { padding: 16px; }
  .cart-page .cart-checkout { padding: 14px; font-size: 1rem; }
}

/* ─── Toast Notifications ────────────────────────────────────── */
#toast-container {
  position: fixed; z-index: var(--z-toast);
  left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none;
  /* Desktop: top center */
  top: 24px; bottom: auto;
  width: max-content; max-width: min(440px, 90vw);
}
@media (max-width: 600px) {
  /* Mobile: bottom snackbar */
  #toast-container { top: auto; bottom: 32px; flex-direction: column-reverse; }
}
.hc-toast {
  background: var(--clr-bg-card);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  color: var(--clr-text);
  border: 1px solid var(--clr-border);
  border-radius: 20px; padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  pointer-events: auto; width: 100%;
  animation: toastSlideInTop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
@media (max-width: 600px) {
  .hc-toast {
    border-radius: 20px;
    animation-name: toastSlideInBottom;
  }
}
.hc-toast-icon { font-size: 2rem; flex-shrink: 0; line-height: 1; font-family: 'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif; }
.hc-toast-body { display: flex; flex-direction: column; min-width: 0; }
.hc-toast-title { font-size: 0.8rem; font-weight: 700; color: var(--clr-text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.hc-toast-name { font-size: 1rem; font-weight: 700; color: var(--clr-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.hc-toast.fade-out { opacity: 0; transform: scale(0.95) translateY(-8px); }
@media (max-width: 600px) { .hc-toast.fade-out { transform: scale(0.95) translateY(8px); } }
@keyframes toastSlideInTop {
  from { opacity: 0; transform: translateY(-16px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toastSlideInBottom {
  from { opacity: 0; transform: translateY(16px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ─── Search Overlay ─────────────────────────────────────────── */
.search-overlay {
  position: fixed; inset: 0; z-index: var(--z-search);
  background: rgba(17, 19, 26, 0.5); 
  backdrop-filter: blur(40px) saturate(210%);
  -webkit-backdrop-filter: blur(40px) saturate(210%);
  display: flex; flex-direction: column;
  transform: translateY(100%); opacity: 0;
  pointer-events: none; visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.25s ease, visibility 0.25s;
}
.search-overlay.open { transform: translateY(0); opacity: 1; pointer-events: auto; visibility: visible; }
@media (min-width: 769px) {
  .search-overlay { inset: 0; border-radius: 0; transform: scale(0.98) translateY(20px); }
  .search-overlay.open { transform: scale(1) translateY(0); }
}

html.light .search-overlay {
  background: rgba(255, 255, 255, 0.5);
}

.search-overlay-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; padding-top: max(env(safe-area-inset-top, 16px), 16px);
  border-bottom: 1px solid var(--clr-border);
  background: transparent;
}
.search-overlay-input-wrap {
  flex: 1; display: flex; align-items: center; gap: 10px;
  background: var(--clr-surface); border: 1px solid var(--clr-border);
  border-radius: 14px; padding: 12px 16px;
}
.search-overlay-input-wrap svg { color: var(--clr-text-muted); flex-shrink: 0; }
.search-overlay-input {
  flex: 1; background: transparent; border: none; outline: none;
  font-size: 1.05rem; font-weight: 600; color: var(--clr-text);
  font-family: inherit;
}
.search-overlay-input::placeholder { color: var(--clr-text-muted); font-weight: 500; }
.search-overlay-cancel {
  background: none; border: none; color: var(--clr-primary);
  font-size: 1rem; font-weight: 700; cursor: pointer; white-space: nowrap; padding: 8px 4px;
}

.search-overlay-body {
  flex: 1; overflow-y: auto; padding: 24px 20px;
  -webkit-overflow-scrolling: touch;
}

.search-section-title {
  font-size: 0.85rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--clr-text-muted); margin-bottom: 16px;
}
.search-popular-tags {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.search-tag {
  padding: 10px 16px; border-radius: var(--radius-full);
  background: var(--clr-surface); border: 1px solid var(--clr-border);
  color: var(--clr-text); font-weight: 600; font-size: 0.9rem;
  cursor: pointer; transition: all 0.2s;
}
.search-tag:active { transform: scale(0.95); }

.search-result-item {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--clr-border);
  cursor: pointer; transition: opacity 0.2s;
}
.search-result-item:active { opacity: 0.7; }
.search-result-emoji {
  width: 48px; height: 48px;
  background: var(--clr-surface); border: 1px solid var(--clr-border);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; flex-shrink: 0;
}
.search-result-info { flex: 1; min-width: 0; }
.search-result-name { font-size: 1rem; font-weight: 700; color: var(--clr-text); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-result-sub { font-size: 0.85rem; color: var(--clr-text-muted); font-weight: 500; }
.search-result-info .kiwi-product-id-chip { margin-top: 4px; margin-bottom: 0; }
.search-result-price { font-size: 1.15rem; font-weight: 900; color: var(--clr-primary); flex-shrink: 0; }
.search-no-results { text-align: center; padding: 60px 20px; color: var(--clr-text-muted); }
.search-no-results .search-empty-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.5; }

.slider-wrap {
  background: var(--clr-surface); padding: 20px; border-radius: 14px; border: 1px solid var(--clr-border);
}
#duration-slider { width: 100%; appearance: none; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.1); outline: none; }
#duration-slider::-webkit-slider-thumb {
  appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.3); border: 2px solid var(--clr-primary);
  cursor: pointer;
}

.form-submit {
  width: 100%; padding: 18px; border-radius: var(--radius-full);
  background: var(--clr-text); color: var(--clr-bg);
  font-weight: 800; font-size: 1.1rem; margin-top: 10px;
}
.form-submit:active { transform: scale(0.97); }
html.light .form-submit { background: var(--clr-text); color: #fff; }

.checkbox-group { display: flex; align-items: center; gap: 12px; }
.checkbox-label { font-size: 0.9rem; color: var(--clr-text-muted); }
.form-checkbox { width: 24px; height: 24px; accent-color: var(--clr-primary); }

/* ─── Contact Info Cards ────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--clr-surface); padding: 32px; border-radius: var(--radius-xl);
  text-align: center; border: 1px solid var(--clr-border); transition: transform 0.3s;
}
.contact-card:hover { transform: translateY(-4px); border-color: var(--clr-border-glow); }
.contact-card:active { transform: scale(0.97); }
.contact-icon {
  width: 64px; height: 64px; border-radius: 20px; margin: 0 auto 20px;
  background: var(--clr-surface-high); color: var(--clr-primary);
  display: flex; align-items: center; justify-content: center;
}
.contact-label { font-size: 0.9rem; font-weight: 700; color: var(--clr-text-sub); text-transform: uppercase; margin-bottom: 8px;}
.contact-value { font-size: 1.2rem; font-weight: 800; color: var(--clr-text); }

/* ─── Site footer (public) ──────────────────────────────────── */
.footer.kf-ft {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0 calc(7rem + env(safe-area-inset-bottom, 0px));
  background: transparent;
  text-align: left;
}

.kf-ft-top-accent {
  position: absolute; left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74,222,128,.55), transparent);
  opacity: .85;
  pointer-events: none;
}

.kf-ft-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 5vw, 3rem);
  align-items: start;
}

@media (max-width: 992px) {
  .kf-ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kf-ft-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .kf-ft-grid { grid-template-columns: 1fr; }
}

.footer-logo-icon {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--grad-primary);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.15rem; line-height: 1;
  font-family: 'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;
  box-shadow: 0 3px 10px rgba(74,222,128,0.35);
}

.kf-ft-brand-head {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 6px;
  text-decoration: none; color: var(--clr-text);
  transition: opacity .15s;
}
.kf-ft-brand-head:hover { opacity: .88; color: var(--clr-text); }
.kf-ft-brand-name {
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: clamp(1.22rem, 2.5vw, 1.4rem);
  letter-spacing: -0.03em;
}
.kf-ft-tag {
  margin: 0 0 16px;
  font-size: 0.93rem;
  line-height: 1.62;
  color: var(--clr-text-muted);
  max-width: 38ch;
}
.kf-ft-chip {
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(74,222,128,.09);
  color: color-mix(in srgb, var(--clr-primary) 88%, var(--clr-text));
  border: 1px solid rgba(74,222,128,.18);
}

html.light .kf-ft-chip {
  background: rgba(22,163,74,.07);
  border-color: rgba(22,163,74,.22);
}

.kf-ft-col { min-width: 0; }

.kf-ft-col-connect {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.kf-ft-heading {
  margin: 0 0 14px;
  font-family: Syne, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-text-sub);
}

.kf-ft-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.kf-ft-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  text-decoration: none;
  display: inline-block;
  transition: color .14s ease, transform .14s ease;
}

.kf-ft-link:hover {
  color: var(--clr-text);
  transform: translateX(3px);
}

.kf-ft-link-btn {
  display: inline-block;
  align-self: flex-start;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  font: inherit;
  text-align: left;
}

.kf-ft-socials-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px;
  background: var(--clr-surface); border-radius: var(--radius-full);
  border: 1px solid var(--clr-border);
  font-size: 0.85rem; font-weight: 700; color: var(--clr-text);
  text-decoration: none;
  transition: background .14s ease, border-color .14s ease, transform .14s ease;
}

.social-pill:hover {
  background: var(--clr-surface-high);
  border-color: var(--clr-border-glow);
  color: var(--clr-text);
  transform: translateY(-2px);
}

.social-pill-compact { padding: 8px 16px; font-size: 0.81rem; }
.social-pill-accent {
  background: rgba(50,215,75,.09);
  border-color: rgba(50,215,75,.38);
}

html.light .social-pill-accent {
  background: rgba(22,163,74,.08);
}

.kf-ft-email-ico { font-family: inherit; line-height: 1; flex-shrink: 0; }

.kf-ft-bar {
  margin-top: clamp(2.25rem, 5vw, 3rem);
  padding-top: clamp(1.35rem, 3vw, 1.85rem);
  border-top: 1px solid var(--clr-border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.footer-copy {
  margin: 0;
  flex: 1;
  min-width: min(100%, 220px);
  color: var(--clr-text-sub);
  font-size: 0.84rem;
  line-height: 1.5;
}

.kf-ft-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}

.kf-ft-legal-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--clr-text-muted);
  text-decoration: none;
}

.kf-ft-legal-link:hover { color: var(--clr-primary); }

/* Footer legacy aliases (avoid breaking older markup) */
.footer-logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.footer-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.footer-links a { font-weight: 600; color: var(--clr-text-muted); }
.footer-links a:hover { color: var(--clr-text); }
.footer-socials { display: flex; justify-content: center; gap: 12px; margin-bottom: 32px; }

/* Category Filter Skeletons */
.filter-skeleton-wrapper { display: flex; gap: 12px; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.filter-skeleton-wrapper::-webkit-scrollbar { display: none; }
.filter-skeleton {
  width: 90px; height: 38px; border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}
html.light .filter-skeleton { background: rgba(0, 0, 0, 0.05); }

/* Floating WA Button */
.float-wa {
  position: fixed; bottom: max(30px, env(safe-area-inset-bottom, 0px)); right: max(30px, env(safe-area-inset-right, 0px)); z-index: var(--z-fab);
  width: 60px; height: 60px; border-radius: 30px; background: #32D74B;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(50,215,75,0.4);
  transition: all 0.3s var(--ease); -webkit-tap-highlight-color: transparent;
}
.float-wa:hover { transform: scale(1.08); }
.float-wa:active { transform: scale(0.92); }
@media (max-width: 768px) {
  .float-wa {
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    right: max(16px, env(safe-area-inset-right, 0px));
    width: 54px;
    height: 54px;
  }
}

/* Live Viewer Bubble */
.live-viewers {
  position: fixed;
  bottom: 30px; left: 30px;
  z-index: 1400;
  display: flex; align-items: center; gap: 8px;
  background: rgba(16, 18, 27, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 999px;
  padding: 10px 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
  animation: livePopIn 0.5s cubic-bezier(0.34,1.56,0.64,1) 1.5s both;
  cursor: default;
  user-select: none;
}
@keyframes livePopIn {
  from { opacity:0; transform: scale(0.7) translateY(10px); }
  to   { opacity:1; transform: scale(1) translateY(0); }
}
.live-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #30D158; flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(48,209,88,0.6);
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(48,209,88,0.6); }
  60%  { box-shadow: 0 0 0 7px rgba(48,209,88,0); }
  100% { box-shadow: 0 0 0 0 rgba(48,209,88,0); }
}
.live-text {
  font-size: 0.8rem; font-weight: 700;
  color: rgba(245,245,247,0.85);
  letter-spacing: -0.01em; white-space: nowrap;
}
#viewer-count { color: #fff; }
@media (max-width: 768px) {
  .live-viewers {
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    left: max(16px, env(safe-area-inset-left, 0px));
    padding: 8px 14px;
  }
}

/* T&C Body text */
.tc-modal-body {
  flex: 1; overflow-y: auto; padding: 24px; -webkit-overflow-scrolling: touch;
  font-size: 0.95rem; color: var(--clr-text-sub); line-height: 1.6;
}
.tc-modal-body h3 { color: var(--clr-text); font-size: 1.1rem; margin: 24px 0 8px; }
.tc-modal-body p { margin-bottom: 12px; }

/* Shared terms partial (modal + /terms page) */
.tc-modal-body .terms-doc-meta {
  margin-bottom: 12px;
}
.tc-modal-body .terms-doc-sections {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--clr-text-muted);
}
.tc-modal-body .terms-doc-sections h3 {
  color: var(--clr-text);
  font-size: 1rem;
  margin: 16px 0 8px;
}
.tc-modal-body .terms-doc-sections h3:first-child {
  margin-top: 0;
}
.tc-modal-body .terms-doc-sections p {
  margin-bottom: 12px;
}

#tc-checkout-footer {
  padding: 20px 24px; border-top: 1px solid var(--clr-border);
  background: inherit; position: sticky; bottom: 0; z-index: 5;
}
#tc-accept-btn:disabled { opacity: 0.5; background: var(--clr-surface); color: var(--clr-text-muted); transform: none; box-shadow: none;}

/* ─── FAQ Section ─────────────────────────────────────────── */
.faq-section { position: relative; }

/* Category pill scroller */
.faq-cats {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(to right, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, black 90%, transparent);
}
.faq-cats::-webkit-scrollbar { display: none; }

.faq-cat-btn {
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-text-muted);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.faq-cat-btn:active { transform: scale(0.93); }
.faq-cat-btn.active {
  background: var(--clr-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(10, 132, 255, 0.25);
}

/* FAQ content pane */
.faq-pane { display: none; flex-direction: column; gap: 10px; }
.faq-pane.active { display: flex; animation: revealUp 0.4s var(--ease) forwards; }

/* Individual accordion card */
.faq-item {
  background: var(--clr-bg-card);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.faq-item.open {
  border-color: rgba(10, 132, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.faq-question {
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-weight: 700;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  color: var(--clr-text);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}
.faq-question:active { opacity: 0.8; }

.faq-question-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--clr-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-muted);
  transition: all 0.35s var(--ease);
}
.faq-item.open .faq-question-icon {
  background: rgba(10, 132, 255, 0.12);
  color: var(--clr-primary);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease), padding 0.3s;
}
.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer p {
  padding: 0 22px 22px;
  color: var(--clr-text-sub);
  line-height: 1.65;
  font-size: 0.97rem;
  border-top: 1px solid var(--clr-border);
  padding-top: 16px;
}

@media (max-width: 768px) {
  .faq-question { padding: 18px 18px; font-size: 0.95rem; }
  .faq-answer p { padding: 14px 18px 20px; }
}

/* ─── Services Search Bar ─────────────────────────────────── */
.svc-search-wrap {
  margin: 0 0 20px;
}
.svc-search-inner {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--clr-surface);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-full);
  padding: 0 18px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.svc-search-inner:focus-within {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.12);
}
.svc-search-icon {
  flex-shrink: 0;
  color: var(--clr-text-muted);
  margin-right: 12px;
}
.svc-search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: 15px 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--clr-text);
}
.svc-search-input::placeholder { color: var(--clr-text-muted); }
/* suppress browser's native X on search input */
.svc-search-input::-webkit-search-cancel-button { display: none; }
.svc-search-clear {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--clr-surface-high);
  color: var(--clr-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.svc-search-clear:hover { background: var(--clr-danger); color: #fff; }
.svc-search-clear:active { transform: scale(0.88); }

/* ══════════════════════════════════════════════════════════════
   ACCOUNT CTA BAND (homepage)
══════════════════════════════════════════════════════════════ */
.account-cta-band {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 24px;
  margin: 0 0 72px;
  overflow: hidden;
  position: relative;
}
.account-cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(74,222,128,.07) 0%, transparent 60%);
  pointer-events: none;
}
.account-cta-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px 36px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.account-cta-icon {
  font-size: 2.6rem;
  flex-shrink: 0;
  animation: center-float 4s ease-in-out infinite;
}
.account-cta-copy { flex: 1; min-width: min(100%, 220px); }
.account-cta-copy h3 {
  font-family: Syne, sans-serif;
  font-size: clamp(1.1rem, 2.8vw, 1.45rem);
  font-weight: 800;
  margin: 0 0 6px;
}
.account-cta-copy p { color: var(--clr-text-sub); font-size: .88rem; margin: 0; line-height: 1.5; }
.account-cta-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}
@media (min-width: 640px) {
  .account-cta-btns { width: auto; }
}
.account-cta-btns .btn { min-height: 44px; padding-left: 18px; padding-right: 18px; }
@media (max-width: 600px) {
  .account-cta-inner { padding: 22px 18px; gap: 18px; }
  .account-cta-band { margin: 0 0 48px; border-radius: 18px; }
  .account-cta-btns .btn { flex: 1 1 calc(50% - 8px); justify-content: center; }
}

/* ══════════════════════════════════════════════════════════════
   GLOBAL MOBILE — containment (prefer layout fixes over masking)
══════════════════════════════════════════════════════════════ */
@media (max-width: 540px) {
  .section { padding: clamp(40px, 10vw, 80px) 0; }

  /* FAQ category filter — horizontal scroll row, no wrap overflow ─ */
  .faq-cats {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }
  .faq-cats::-webkit-scrollbar { display: none; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-links { gap: 14px; }

  .tp-card { width: min(280px, 86vw); padding: 18px; box-sizing: border-box; }
}

/* ── Navbar: tiny phones — trim wordmark, match menu offset ── */
@media (max-width: 380px) {
  .nav-logo-accent {
    display: none;
  }
  .nav-actions-bar .nav-action-cluster {
    gap: 0;
  }
}

/* ── Flaticon UIcons — component polish ───────────────────────── */
.search-tag { display: inline-flex; align-items: center; gap: 8px; vertical-align: middle; }
.confetti-particle .uic { font-size: 18px; }
.confetti-particle .uic i[class^='fi-sr-'] { font-size: inherit; color: inherit; }

/* ── Site preloader (see includes/site-preloader.php) ─────────── */
body.site-preloader-active {
  overflow: hidden;
}

.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 100500;
  display: grid;
  place-items: center;
  background: var(--clr-bg);
  transition: opacity 0.38s var(--ease, ease), visibility 0.38s step-end;
}

.site-preloader--out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  padding: 24px;
}

.site-preloader-mark {
  position: relative;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
}

.site-preloader-pulse {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: radial-gradient(circle at 50% 40%, rgba(74, 222, 128, 0.22), transparent 65%);
  border: 1px solid var(--clr-border-glow);
  animation: sitePreloaderPulse 1.35s ease-in-out infinite;
}

.site-preloader-icon {
  position: relative;
  z-index: 1;
  font-size: 2rem;
  line-height: 1;
  font-family: 'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;
  filter: drop-shadow(0 4px 12px rgba(74, 222, 128, 0.35));
}

.site-preloader-text {
  font-family: 'Syne', var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-text-sub);
}

.site-preloader-track {
  width: min(220px, 70vw);
  height: 3px;
  border-radius: 999px;
  background: var(--clr-border);
  overflow: hidden;
}

.site-preloader-bar {
  display: block;
  height: 100%;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  animation: sitePreloaderBar 0.95s ease-in-out infinite;
}

@keyframes sitePreloaderPulse {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.06); opacity: 1; }
}

@keyframes sitePreloaderBar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(340%); }
}

@media (prefers-reduced-motion: reduce) {
  .site-preloader-pulse,
  .site-preloader-bar { animation: none; }
  .site-preloader-bar { width: 100%; transform: none; opacity: 0.85; }
  .site-preloader { transition-duration: 0.15s; }
}

/* ─── Auth & guest checkout modals ──────────────────────────── */
.auth-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10050;
  align-items: center;
  justify-content: center;
  padding: max(18px, env(safe-area-inset-top))
    max(16px, env(safe-area-inset-right))
    max(18px, env(safe-area-inset-bottom))
    max(16px, env(safe-area-inset-left));
  box-sizing: border-box;
  background: rgba(2, 8, 4, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
html.light .auth-overlay {
  background: rgba(240, 253, 244, 0.88);
}
.auth-overlay.open {
  display: flex;
  animation: authOvIn 0.22s var(--ease) both;
}
@keyframes authOvIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.auth-sheet {
  position: relative;
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-xl);
  background: var(--grad-card);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-card), 0 0 40px rgba(74, 222, 128, 0.06);
  overflow: clip;
  animation: authSheetIn 0.3s var(--ease) both;
}
@keyframes authSheetIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-sheet-accent {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--grad-primary);
  opacity: 0.95;
}

.auth-sheet-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  color: var(--clr-text-sub);
  cursor: pointer;
}
.auth-sheet-close:hover {
  border-color: var(--clr-border-glow);
  background: var(--clr-surface-high);
  color: var(--clr-text);
}

.auth-sheet-inner {
  padding: 26px 24px 24px;
}

.auth-sheet-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  font-family: 'Syne', var(--font-body);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
  color: var(--clr-text-muted);
}

.auth-sheet-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(74, 222, 128, 0.22);
  background: var(--clr-surface);
  font-size: 1.25rem;
  line-height: 1;
  font-family: 'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;
}

.auth-seg {
  display: flex;
  gap: 3px;
  padding: 4px;
  margin-bottom: 22px;
  border-radius: var(--radius-full);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
}

.auth-seg-btn {
  flex: 1;
  padding: 10px 10px;
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--clr-text-muted);
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}
.auth-seg-btn.active {
  background: var(--clr-primary);
  color: #031109;
  box-shadow: var(--shadow-btn);
}
html.light .auth-seg-btn.active {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.auth-panel {
  display: none;
}
.auth-panel.active {
  display: block;
}

.auth-heading {
  font-family: 'Syne', var(--font-body);
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-align: center;
  margin: 0 0 6px;
  line-height: 1.15;
}

.auth-lead {
  margin: 0 0 20px;
  font-size: 0.84rem;
  line-height: 1.48;
  text-align: center;
  color: var(--clr-text-muted);
}

.auth-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 4px;
}

.auth-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.71rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--clr-text-muted);
}
.auth-label-hint {
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--clr-text-muted);
}

.auth-field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 0.93rem;
  color: var(--clr-text);
  background: rgba(0, 0, 0, 0.22);
  border: 1.5px solid var(--clr-border);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
html.light .auth-field input {
  background: rgba(255, 255, 255, 0.75);
}
.auth-field input::placeholder {
  color: var(--clr-text-sub);
  opacity: 0.72;
}
.auth-field input:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.14);
}

.auth-pw {
  position: relative;
}
.auth-pw input {
  padding-right: 46px;
}
.auth-pw-toggle {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--clr-text-muted);
  cursor: pointer;
}
.auth-pw-toggle:hover {
  color: var(--clr-primary);
}
.auth-pw-toggle .uic i {
  font-size: 0.92rem;
}

.auth-error {
  min-height: 1.35em;
  margin: -2px 0 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-danger);
  text-align: center;
}

.auth-submit {
  width: 100%;
  margin-top: 6px;
  padding: 14px 16px;
  border: none;
  border-radius: var(--radius-full);
  font-family: 'Syne', var(--font-body);
  font-size: 0.94rem;
  font-weight: 800;
  color: #04210f;
  background: var(--grad-primary);
  box-shadow: var(--shadow-btn);
  cursor: pointer;
}
html.light .auth-submit {
  color: #fff;
}
.auth-submit:hover:not(:disabled) {
  opacity: 0.92;
  transform: translateY(-2px);
}
.auth-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.auth-switch {
  margin-top: 16px;
  font-size: 0.82rem;
  text-align: center;
  color: var(--clr-text-muted);
}
.auth-switch a {
  margin-left: 4px;
  font-weight: 800;
  color: var(--clr-primary);
  text-decoration: none;
}
.auth-switch a:hover {
  text-decoration: underline;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--clr-border);
}
.auth-divider span {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-text-muted);
}

.auth-submit-ghost {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.86rem;
  color: var(--clr-text);
  background: transparent;
  border: 1.5px solid var(--clr-border);
  cursor: pointer;
  font-family: inherit;
}
.auth-submit-ghost:hover {
  border-color: var(--clr-border-glow);
  background: var(--clr-surface);
}

/* Header account button — aligns with navbar icon rhythm */
.nav-account-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--clr-text);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.2s, transform 0.15s;
  flex-shrink: 0;
}

.nav-account-btn:hover {
  background: rgba(255,255,255,0.12);
}

html.light .nav-account-btn:hover {
  background: rgba(0,0,0,0.07);
}

.nav-account-btn:focus-visible {
  outline: 2px solid var(--clr-primary);
  outline-offset: 2px;
}

.nav-account-avatar {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: 'Syne', var(--font-body);
  font-weight: 800;
  font-size: 0.75rem;
  color: #fff;
  background: linear-gradient(
    140deg,
    var(--clr-primary) 0%,
    var(--clr-accent) 100%
  );
  box-shadow: 0 2px 10px rgba(74,222,128,0.35);
}

.nav-account-btn:active {
  transform: scale(0.92);
}

.nav-account-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 4;
}

.nav-account-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 280px;
  max-width: min(340px, calc(100vw - 28px));
  padding: 10px;
  border-radius: 18px;
  border: 1px solid var(--clr-border);
  background: var(--clr-bg-card);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  z-index: 6;
}

html.light .nav-account-menu {
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.16);
}

#nav-account-menu:not([hidden]) {
  animation: kiwiNavAcctMenuReveal 0.26s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes kiwiNavAcctMenuReveal {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.nav-account-menu-user {
  padding: 10px 12px 14px;
  border-bottom: 1px solid var(--clr-border);
  margin-bottom: 8px;
}

.nav-account-menu-name {
  display: block;
  font-weight: 800;
  font-size: 0.93rem;
  letter-spacing: -0.02em;
}

.nav-account-menu-email {
  display: block;
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  margin-top: 4px;
  word-break: break-word;
}

.nav-account-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--clr-text);
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition:
    background 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.18s ease;
  box-sizing: border-box;
}

.nav-account-menu-link:hover {
  background: rgba(74, 222, 128, 0.11);
}

.nav-account-menu-link--featured {
  color: var(--clr-primary);
}

.nav-account-menu-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(74, 222, 128, 0.14);
  color: var(--clr-primary);
  flex-shrink: 0;
}

.nav-account-menu-signout {
  margin-top: 4px;
  color: #fecaca !important;
}

.nav-account-menu-signout:hover {
  background: rgba(239, 68, 68, 0.14) !important;
}

@media (prefers-reduced-motion: reduce) {
  .auth-overlay.open,
  .auth-sheet {
    animation: none;
  }
  .auth-submit:hover:not(:disabled) {
    transform: none;
  }
}
