/* ==========================================================================
   כל בו חריש | Design V1: MADE Minimal
   בהשראת made.com - מינימליזם בריטי נקי
   ========================================================================== */

:root {
  /* ─── Colors: Quiet Luxury Palette ─────────────────────── */
  --bg-primary: #FFFFFF;
  --bg-warm: #FAF7F2;
  --bg-cool: #F5F3F0;
  --ink: #1A1A1A;
  --ink-soft: #2B2B2B;
  --ink-muted: #6B6B6B;
  --ink-light: #9B9B9B;
  --accent: #B8846A;          /* Muted terracotta */
  --accent-dark: #8B5D49;
  --accent-soft: #E8D5C5;
  --border: #E8E4DD;
  --border-strong: #1A1A1A;
  --success: #4A6741;
  --error: #A84A3F;

  /* ─── Typography ─────────────────────── */
  --font-serif: 'Frank Ruhl Libre', 'Playfair Display', Georgia, serif;
  --font-sans: 'Heebo', 'Inter', -apple-system, sans-serif;

  /* ─── Spacing Scale ─────────────────────── */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* ─── Transitions ─────────────────────── */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 300ms;

  /* Bootstrap overrides */
  --primary: var(--ink);
  --secondary: var(--accent);
  --accent-color: var(--accent);
  --light: var(--bg-warm);
  --dark: var(--ink);
  --bg-light: var(--bg-primary);
}

/* ─── Base ─────────────────────── */
* { box-sizing: border-box; }

html, body { overflow-x: hidden; }

body {
  direction: rtl;
  text-align: right;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 300; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 400; }
h3 { font-size: 1.5rem; }

p { color: var(--ink-muted); line-height: 1.7; }

a { color: var(--ink); text-decoration: none; transition: opacity var(--duration) var(--ease); }
a:hover { opacity: 0.6; color: var(--ink); }

/* ─── Navbar ─────────────────────── */
.navbar {
  background-color: var(--bg-primary) !important;
  border-bottom: 1px solid var(--border);
  box-shadow: none !important;
  padding: 1rem 0;
}

.navbar-brand {
  font-family: var(--font-serif);
  font-weight: 400 !important;
  font-size: 1.5rem !important;
  color: var(--ink) !important;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  padding: 0; /* override Bootstrap's default — let the image drive height */
  line-height: 0;
}
.navbar-brand i { color: var(--accent); }

/* Brand logo image — replaces the old diamond-icon+text markup.
   The source JPEG is 1536x1024 (3:2 landscape) and carries its own
   typography inside. Heights need to be generous so the "כל בו חריש
   אונליין" wordmark inside the image stays readable. */
.navbar-brand .brand-logo {
  display: block;
  width: auto;
  height: 72px;
  max-height: 72px;
  object-fit: contain;
  transition: transform .18s ease, opacity .18s ease;
}
.navbar-brand:hover .brand-logo {
  transform: scale(1.03);
  opacity: 0.92;
}
/* Let the navbar itself breathe a little less vertical padding when the
   logo is taller than the old text-based brand. */
.navbar.navbar-expand-lg { padding-top: 0.5rem; padding-bottom: 0.5rem; }

/* Tablet: scale down proportionally */
@media (max-width: 991.98px) {
  .navbar-brand .brand-logo { height: 60px; max-height: 60px; }
}
/* Mobile: compact but still readable next to the hamburger */
@media (max-width: 575.98px) {
  .navbar-brand .brand-logo { height: 48px; max-height: 48px; }
}

.nav-link {
  color: var(--ink-soft) !important;
  font-weight: 400;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 1rem !important;
}
.nav-link:hover { color: var(--ink) !important; opacity: 1; }

.navbar-toggler { border: 1px solid var(--border); }
.navbar-toggler-icon { filter: invert(1); }

.dropdown-menu {
  border: 1px solid var(--border);
  border-radius: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  padding: 0.5rem 0;
}
.dropdown-item {
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  color: var(--ink-soft);
}
.dropdown-item:hover { background: var(--bg-warm); color: var(--ink); }

/* Search input */
.navbar input[type="search"] {
  border: 1px solid var(--border) !important;
  border-radius: 0 !important;
  background: var(--bg-warm);
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
}
.navbar input[type="search"]:focus {
  border-color: var(--ink) !important;
  box-shadow: none !important;
  background: var(--bg-primary);
}

/* Cart count */
.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* ─── Hero ─────────────────────── */
.hero-section {
  background: var(--bg-warm);
  color: var(--ink);
  padding: var(--space-2xl) 0;
  margin-bottom: var(--space-2xl);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero-section h1 {
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: 1.5rem;
  color: var(--ink);
}
.hero-section .lead {
  font-size: 1.125rem;
  color: var(--ink-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}

/* ─── Buttons ─────────────────────── */
.btn {
  border-radius: 0;
  padding: 0.75rem 2rem;
  font-weight: 400;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all var(--duration) var(--ease);
  border: 1px solid transparent;
}

.btn-accent, .btn-primary {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.btn-accent:hover, .btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.btn-outline-dark {
  border-color: var(--ink) !important;
  color: var(--ink) !important;
  background: transparent;
}
.btn-outline-dark:hover {
  background: var(--ink) !important;
  color: white !important;
}

.btn-cart {
  width: 100%;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 0.65rem 1rem;
}
.btn-cart:hover {
  background: var(--ink);
  color: white;
}

.btn-lg { padding: 1rem 3rem; }

/* ─── Section Headers ─────────────────────── */
section h2 {
  margin-bottom: var(--space-xl);
  font-weight: 300;
  font-family: var(--font-serif);
}

section h2.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin-top: 1rem;
}

/* ─── Categories ─────────────────────── */
.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none !important;
  background: var(--bg-warm);
  transition: all var(--duration) var(--ease);
}
.category-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.category-card:hover img { transform: scale(1.04); }
.category-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: white;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ─── Product Cards ─────────────────────── */
.product-card {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent;
  transition: transform var(--duration) var(--ease);
}
.product-card:hover { transform: translateY(-2px); }

.product-card .card-img-top {
  width: 100%;
  height: 320px;
  object-fit: cover;
  background: var(--bg-warm);
  border-radius: 0;
  transition: opacity var(--duration) var(--ease);
}
.product-card a:hover .card-img-top { opacity: 0.85; }

.product-card .card-body {
  padding: 1.25rem 0;
  background: transparent;
}

.product-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.product-title:hover { opacity: 0.7; }

.product-price {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
}
.product-price-old {
  color: var(--ink-light);
  text-decoration: line-through;
  margin-right: 0.5rem;
  font-size: 0.875rem;
  font-weight: 300;
}

.badge-sale {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--ink);
  color: white;
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}

/* ─── Why Us Section ─────────────────────── */
.bg-white { background: var(--bg-warm) !important; }

section.bg-white h2 { color: var(--ink); font-weight: 300; }

section.bg-white i.fs-1 {
  font-size: 2rem !important;
  color: var(--accent) !important;
}

section.bg-white h5 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.125rem;
  margin-top: 1.5rem !important;
}

/* ─── Footer ─────────────────────── */
.footer {
  background: var(--ink);
  color: var(--bg-warm);
  padding: var(--space-2xl) 0 var(--space-lg);
  margin-top: var(--space-2xl);
}
.footer h5 {
  color: white;
  font-family: var(--font-serif);
  font-weight: 400;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  letter-spacing: 0.05em;
}
.footer p, .footer li, .footer a {
  color: rgba(255,255,255,0.6) !important;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 2;
}
.footer a:hover { color: white !important; opacity: 1; }
.footer ul { padding: 0; }
.footer li i { margin-left: 0.5rem; color: var(--accent); }

/* Brand lockup in the first footer column. The JPEG carries its own
   white background, so we wrap it in a light card rather than letting
   the logo collide with the dark footer. */
.footer-logo-link {
  display: inline-block;
  background: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  margin-bottom: 1rem;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.footer-logo-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}
.footer-logo {
  display: block;
  width: auto;
  height: 80px;
  max-width: 180px;
  object-fit: contain;
}
.footer-tagline {
  color: var(--accent) !important;
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: 0.05em;
  margin: 0 0 0.75rem !important;
  font-size: 0.95rem !important;
  opacity: 0.95 !important;
}

/* Error pages (404 — 500 is self-contained, see templates/500.html) */
.error-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 3rem 1rem;
}
.error-card {
  max-width: 560px;
  width: 100%;
  background: #fff;
  border: 1px solid #e6dfd7;
  border-radius: 12px;
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.error-logo {
  width: auto;
  height: 120px;
  max-width: 220px;
  object-fit: contain;
  display: block;
  margin: 0 auto 1.25rem;
}
.error-code {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin: 0.5rem 0;
}
.error-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--ink);
  margin: 0 0 0.75rem;
  font-weight: 400;
}
.error-subtitle {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 1.75rem;
}
.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.error-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--border-strong);
  color: var(--ink);
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.92rem;
  transition: background .15s ease, transform .15s ease;
}
.error-btn:hover {
  background: var(--bg-warm);
  transform: translateY(-1px);
}
.error-btn-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.error-btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ─── Forms & Alerts ─────────────────────── */
.form-control {
  border-radius: 0;
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
}
.form-control:focus {
  border-color: var(--ink);
  box-shadow: none;
}

.alert {
  border-radius: 0;
  border: 1px solid var(--border);
  border-right: 3px solid var(--accent);
  font-size: 0.9375rem;
}

/* ─── Chat Widget Override ─────────────────────── */
.chat-widget-btn { background: var(--ink) !important; }
.chat-widget-btn:hover { background: var(--accent) !important; }

/* ─── Utility ─────────────────────── */
.text-muted { color: var(--ink-muted) !important; }
.shadow-sm { box-shadow: none !important; }
.text-primary { color: var(--ink) !important; }

/* ─── Scrollbar ─────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border); }
::-webkit-scrollbar-thumb:hover { background: var(--ink-light); }

/* ==========================================================================
   Conversion Optimizers — V1 Minimal
   5 Upgrades inspired by V2's winning signup patterns
   ========================================================================== */

/* 1. Prominent Register Button in Navbar (V2 learning) */
.nav-link.btn-register-v1 {
  background: var(--ink) !important;
  color: var(--bg-primary) !important;
  padding: 0.5rem 1.5rem !important;
  margin-inline-start: 0.5rem;
  border: 1px solid var(--ink);
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: all var(--duration) var(--ease);
}
.nav-link.btn-register-v1:hover {
  background: var(--accent) !important;
  border-color: var(--accent);
  opacity: 1;
}

/* 2. Sticky Bottom Mobile CTA — hidden on desktop, visible only when not logged in */
.sticky-mobile-cta {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  background: var(--ink);
  color: var(--bg-primary);
  padding: 0.75rem 0.875rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  display: none;
  z-index: 1040;
  border-top: 1px solid var(--ink);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
}
.sticky-mobile-cta-inner {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  max-width: 500px;
  margin: 0 auto;
}
.sticky-mobile-cta-text {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.25;
  flex: 1;
  min-width: 0; /* allow shrink */
}
.sticky-mobile-cta-text strong {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 0.95rem;
  display: block;
  color: var(--bg-primary);
}
.sticky-mobile-cta-sub {
  display: block;
  opacity: 0.75;
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-mobile-cta .btn {
  background: var(--accent);
  color: var(--bg-primary);
  border: 1px solid var(--accent);
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}
.sticky-mobile-cta .btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--bg-primary);
}
.sticky-mobile-cta-close {
  background: transparent;
  border: none;
  color: var(--bg-primary);
  opacity: 0.55;
  padding: 0.25rem 0.375rem;
  cursor: pointer;
  line-height: 1;
  flex-shrink: 0;
  font-size: 0.9rem;
  order: -1; /* keep close button at the start of the row (right in RTL) */
}
.sticky-mobile-cta-close:hover { opacity: 1; }
@media (max-width: 767.98px) {
  .sticky-mobile-cta.active { display: block; }
  body.has-sticky-cta { padding-bottom: 76px; }
}
/* Hide the sub-line on very narrow phones so nothing wraps */
@media (max-width: 359.98px) {
  .sticky-mobile-cta-sub { display: none; }
  .sticky-mobile-cta .btn { padding: 0.5rem 0.85rem; }
}

/* 3. Exit-Intent Popup — minimal white card */
.exit-popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.72);
  z-index: 1050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}
.exit-popup-backdrop.active {
  display: flex;
  animation: fadeIn 220ms var(--ease);
}
.exit-popup {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  max-width: 460px;
  width: 100%;
  padding: 3rem 2.5rem;
  position: relative;
  text-align: center;
}
.exit-popup-close {
  position: absolute;
  inset-block-start: 1rem;
  inset-inline-end: 1rem;
  background: transparent;
  border: none;
  color: var(--ink-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  width: 32px;
  height: 32px;
}
.exit-popup-badge {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 500;
}
.exit-popup h3 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  line-height: 1.15;
}
.exit-popup-discount {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--accent);
  font-weight: 400;
  line-height: 1;
  margin: 1rem 0;
}
.exit-popup p {
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.exit-popup .form-control {
  border: 1px solid var(--border-strong);
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  text-align: right;
}
.exit-popup .btn-submit {
  width: 100%;
  background: var(--ink);
  color: var(--bg-primary);
  border: 1px solid var(--ink);
  padding: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
.exit-popup .btn-submit:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-primary);
}
.exit-popup-fineprint {
  font-size: 0.7rem;
  color: var(--ink-light);
  margin-top: 1rem;
  letter-spacing: 0.05em;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* 4. Social Login Buttons */
.social-login-stack {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}
.btn-social {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-strong);
  color: var(--ink);
  padding: 0.75rem 1rem;
  font-weight: 400;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  transition: all var(--duration) var(--ease);
  letter-spacing: 0.02em;
}
.btn-social:hover {
  background: var(--ink);
  color: var(--bg-primary);
  border-color: var(--ink);
}
.btn-social i {
  font-size: 1.1rem;
}
.btn-social.btn-google:hover { background: #DB4437; border-color: #DB4437; }
.btn-social.btn-apple:hover { background: #000; border-color: #000; }
.btn-social.btn-facebook:hover { background: #1877F2; border-color: #1877F2; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--ink-light);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  border-top: 1px solid var(--border);
}

/* 5. Trust Badges Row */
.trust-badges-row {
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  margin: 0;
}
.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  text-align: center;
}
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: var(--ink-soft);
}
.trust-badge i {
  font-size: 1.5rem;
  color: var(--accent);
}
.trust-badge-label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}
.trust-payments {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.trust-payment-chip {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  padding: 0.4rem 0.875rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 400;
}
.trust-payment-chip i { margin-inline-end: 0.35rem; color: var(--accent-soft); }

/* Compact Auth Form */
.auth-card-v1 {
  max-width: 460px;
  margin: 3rem auto;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  padding: 3rem 2.5rem;
}
/* Brand logo above the auth card title — Shopify/Amazon pattern.
   The logo links back to the homepage (escape hatch for users who
   landed on the auth page directly, e.g. from an email link). */
.auth-card-v1 .auth-logo-link {
  display: block;
  width: fit-content;
  margin: 0 auto 1.5rem;
  transition: transform .2s ease, opacity .2s ease;
}
.auth-card-v1 .auth-logo-link:hover {
  transform: scale(1.02);
  opacity: 0.92;
}
.auth-card-v1 .auth-logo {
  display: block;
  width: auto;
  height: 110px;
  max-width: 240px;
  object-fit: contain;
}
@media (max-width: 575.98px) {
  .auth-card-v1 .auth-logo { height: 84px; max-width: 200px; }
}
.auth-card-v1 h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.5rem;
}
.auth-card-v1 .auth-subtitle {
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}
.auth-card-v1 .form-control {
  border: 1px solid var(--border-strong);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  margin-bottom: 0.875rem;
  border-radius: 0;
  text-align: right;
}
.auth-card-v1 label {
  font-size: 0.8rem;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}
.auth-card-v1 .btn-submit-auth {
  width: 100%;
  background: var(--ink);
  color: var(--bg-primary);
  border: 1px solid var(--ink);
  padding: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-top: 0.5rem;
}
.auth-card-v1 .btn-submit-auth:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* ==========================================================================
   Phase 2 Conversion Upgrades — Items #6-#15 from 100-avatar evaluation
   ========================================================================== */

/* #1 — WhatsApp Floating Widget (bottom-right, opposite chat which is bottom-left) */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 25px;
  z-index: 9998;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  text-decoration: none;
  border: 2px solid #fff;
}
.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  color: white;
  opacity: 1;
}
.whatsapp-fab::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulseRing 2.2s ease-out infinite;
  opacity: 0;
}
.whatsapp-fab-tooltip {
  position: absolute;
  inset-inline-end: 70px;
  inset-block-end: 14px;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.875rem;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 200ms ease, transform 200ms ease;
  transform: translateX(8px);
  pointer-events: none;
  letter-spacing: 0.02em;
}
.whatsapp-fab:hover .whatsapp-fab-tooltip {
  opacity: 1;
  transform: translateX(0);
}
@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.6; }
  80% { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (max-width: 767.98px) {
  .whatsapp-fab {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
    bottom: 16px;
    right: 16px;
  }
  body.has-sticky-cta .whatsapp-fab { bottom: 88px; }
  .whatsapp-fab::after { display: none; } /* remove pulse ring on mobile — too noisy */
}

/* #2 — Social Proof Ticker (bottom-left toast, rotating signups) */
.social-proof-toast {
  position: fixed;
  bottom: 95px;
  left: 25px;
  z-index: 1030;
  background: var(--bg-primary);
  border: 1px solid var(--border-strong);
  padding: 0.75rem 1rem;
  display: none;
  align-items: center;
  gap: 0.625rem;
  max-width: 320px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.4;
  animation: slideUpIn 400ms var(--ease);
}
.social-proof-toast.active { display: flex; }
.social-proof-toast.hiding { animation: slideDownOut 300ms var(--ease) forwards; }
.social-proof-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 500;
  flex-shrink: 0;
}
.social-proof-text strong { font-weight: 500; color: var(--ink); }
.social-proof-text small { color: var(--ink-light); display: block; font-size: 0.7rem; margin-top: 2px; letter-spacing: 0.03em; }
.social-proof-close {
  background: transparent;
  border: none;
  color: var(--ink-light);
  padding: 0;
  margin-inline-start: auto;
  cursor: pointer;
  line-height: 1;
  align-self: flex-start;
}
@keyframes slideUpIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideDownOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(20px); }
}
@media (max-width: 767.98px) {
  .social-proof-toast {
    left: 12px;
    right: 12px;
    max-width: calc(100% - 24px);
    bottom: 140px;
  }
  /* When sticky CTA is active on mobile the screen is already busy —
     hide the toast to keep the bottom area clean. */
  body.has-sticky-cta .social-proof-toast { display: none !important; }
}

/* Social Proof Counter (static, in hero/banner) */
.social-proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-warm);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.social-proof-badge .avatar-stack {
  display: inline-flex;
}
.social-proof-badge .avatar-stack span {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent-soft);
  border: 2px solid var(--bg-primary);
  margin-inline-start: -8px;
  font-size: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  color: var(--accent-dark);
}
.social-proof-badge .avatar-stack span:first-child { margin-inline-start: 0; }
.social-proof-badge strong { font-weight: 500; color: var(--ink); }

/* #3 — GeoIP Harish Bonus Banner */
.harish-geobanner {
  position: fixed;
  top: 50%;
  inset-inline-end: 0;
  transform: translateY(-50%);
  z-index: 1035;
  background: var(--ink);
  color: #fff;
  padding: 1.25rem 1.5rem;
  max-width: 320px;
  border-inline-start: 3px solid var(--accent);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  display: none;
  animation: slideInRight 400ms var(--ease);
}
.harish-geobanner.active { display: block; }
.harish-geobanner-close {
  position: absolute;
  inset-block-start: 0.5rem;
  inset-inline-start: 0.5rem;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  font-size: 1.2rem;
}
.harish-geobanner-label {
  font-size: 0.7rem;
  color: var(--accent-soft);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.harish-geobanner h4 {
  font-family: var(--font-serif);
  color: #fff;
  font-weight: 300;
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
  line-height: 1.2;
}
.harish-geobanner p {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.harish-geobanner .btn {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  padding: 0.55rem 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  border-radius: 0;
  width: 100%;
}
.harish-geobanner .btn:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
@keyframes slideInRight {
  from { opacity: 0; transform: translate(40px, -50%); }
  to { opacity: 1; transform: translate(0, -50%); }
}
@media (max-width: 767.98px) {
  .harish-geobanner { top: auto; bottom: 155px; transform: none; inset-inline: 10px; max-width: none; }
  body.has-sticky-cta .harish-geobanner { bottom: 220px; }
  @keyframes slideInRight {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* #4 — Countdown Bar (enhanced announcement) */
.countdown-bar {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 0.625rem 2.25rem 0.625rem 1rem; /* extra inline-end space for close button in RTL */
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.countdown-bar strong { color: var(--accent-soft); font-weight: 500; }
.countdown-timer {
  display: inline-flex;
  gap: 0.25rem;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.countdown-timer span {
  background: rgba(255,255,255,0.1);
  padding: 0.15rem 0.4rem;
  min-width: 28px;
  display: inline-block;
  text-align: center;
  border-radius: 2px;
}
.countdown-timer span small {
  display: block;
  font-size: 0.55rem;
  opacity: 0.6;
  letter-spacing: 0.08em;
  margin-top: 2px;
  text-transform: uppercase;
}

/* Dismiss button — always on the inline-start of the bar (left edge in RTL) */
.countdown-bar-close {
  position: absolute;
  inset-inline-start: 0.375rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #fff;
  opacity: 0.55;
  font-size: 1.15rem;
  line-height: 1;
  padding: 0.25rem 0.4rem;
  cursor: pointer;
  border-radius: 3px;
}
.countdown-bar-close:hover,
.countdown-bar-close:focus-visible {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

/* Mobile / desktop variants — show exactly one depending on viewport */
.cb-mobile { display: none; }
.cb-desktop { display: inline-flex; align-items: center; }

@media (max-width: 767.98px) {
  .countdown-bar {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    gap: 0.4rem;
    flex-wrap: nowrap;      /* single line */
    white-space: nowrap;    /* don't break */
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .cb-desktop { display: none !important; }
  .cb-mobile {
    display: inline-flex;
    align-items: baseline;
    gap: 0.3rem;
    white-space: nowrap;
  }
  .cb-mobile strong {
    font-family: var(--font-serif);
    font-weight: 500;
  }
  .cb-mobile-timer {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.03em;
    margin: 0 0.1rem;
  }
  .countdown-bar-close { font-size: 1rem; inset-inline-start: 0.25rem; }
}

/* #5 — Free Shipping Progress Bar (in cart) */
.free-shipping-progress {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.free-shipping-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.free-shipping-label strong { color: var(--accent-dark); }
.free-shipping-bar {
  height: 8px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.free-shipping-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 100%);
  transition: width 600ms var(--ease);
}
.free-shipping-achieved {
  color: var(--success);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

/* #6 — Wishlist Auth Prompt Modal */
.wishlist-prompt-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.72);
  z-index: 1055;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}
.wishlist-prompt-backdrop.active { display: flex; animation: fadeIn 220ms var(--ease); }
.wishlist-prompt-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  max-width: 420px;
  width: 100%;
  padding: 2.75rem 2.5rem;
  text-align: center;
  position: relative;
}
.wishlist-prompt-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.wishlist-prompt-card h3 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
.wishlist-prompt-card p {
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.wishlist-prompt-card .btn-primary-wishlist {
  display: block;
  width: 100%;
  background: var(--ink);
  color: var(--bg-primary);
  border: 1px solid var(--ink);
  padding: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
  text-decoration: none;
  margin-bottom: 0.625rem;
}
.wishlist-prompt-card .btn-primary-wishlist:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-primary);
}
.wishlist-prompt-card .btn-secondary-wishlist {
  display: block;
  width: 100%;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-strong);
  padding: 0.85rem;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  text-decoration: none;
}
.wishlist-prompt-close {
  position: absolute;
  inset-block-start: 0.75rem;
  inset-inline-end: 0.75rem;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: var(--ink-muted);
  cursor: pointer;
  line-height: 1;
}

/* Wishlist heart on product card */
.product-card-wishlist-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  cursor: pointer;
  z-index: 2;
  transition: all var(--duration) var(--ease);
  font-size: 0.95rem;
}
.product-card-wishlist-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: scale(1.08);
}
.product-card-wishlist-btn.active {
  background: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
}

/* #7 — UGC Carousel (Customer Homes) */
.ugc-section {
  padding: 4rem 0;
  background: var(--bg-warm);
}
.ugc-heading {
  text-align: center;
  margin-bottom: 2rem;
}
.ugc-heading .section-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
  font-weight: 500;
}
.ugc-heading h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  margin-bottom: 0.5rem;
}
.ugc-heading p {
  color: var(--ink-muted);
  font-size: 0.92rem;
  max-width: 560px;
  margin: 0 auto;
}
.ugc-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.625rem;
}
.ugc-tile {
  aspect-ratio: 1 / 1;
  background: var(--bg-cool);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.ugc-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.ugc-tile:hover img { transform: scale(1.08); }
.ugc-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.55) 100%);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}
.ugc-tile:hover::after { opacity: 1; }
.ugc-tile-caption {
  position: absolute;
  bottom: 10px;
  inset-inline: 12px;
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(6px);
  transition: all var(--duration) var(--ease);
  z-index: 2;
}
.ugc-tile:hover .ugc-tile-caption { opacity: 1; transform: translateY(0); }
.ugc-cta {
  text-align: center;
  margin-top: 2rem;
}
.ugc-cta a {
  display: inline-block;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}
@media (max-width: 767.98px) {
  .ugc-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Testimonial-video carousel — single row, horizontal scroll */
.ugc-carousel-wrap {
  position: relative;
  margin: 0 auto;
}
.ugc-carousel {
  display: flex;
  gap: 0.625rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0;
  scrollbar-width: none;       /* Firefox */
}
.ugc-carousel::-webkit-scrollbar { display: none; } /* WebKit */
.ugc-carousel__item {
  flex: 0 0 270px;          /* fixed 270px tiles on desktop */
  scroll-snap-align: start;
  aspect-ratio: 1 / 1;      /* square */
}
@media (max-width: 767.98px) {
  .ugc-carousel__item { flex-basis: 220px; } /* slightly smaller on mobile */
}
@media (max-width: 479.98px) {
  .ugc-carousel__item { flex-basis: 75%; }   /* 1+peek on small mobile */
}
.ugc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 200ms ease, background 200ms ease;
}
.ugc-arrow:hover { background: var(--ink); color: #fff; }
.ugc-arrow:disabled { opacity: 0.35; cursor: not-allowed; }
.ugc-arrow--prev { left: -22px; }    /* swapped: prev = left edge */
.ugc-arrow--next { right: -22px; }   /* swapped: next = right edge */
@media (max-width: 767.98px) {
  .ugc-arrow--prev { left: 4px; }
  .ugc-arrow--next { right: 4px; }
}

/* Lightbox modal — full-size video */
.ugc-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 2rem;
  opacity: 0;
  transition: opacity 250ms ease;
}
.ugc-lightbox.is-open {
  display: flex;
  opacity: 1;
}
.ugc-lightbox__video {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  background: #000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border-radius: 8px;
}
.ugc-lightbox__close {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms ease, transform 200ms ease;
  z-index: 1;
}
.ugc-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.05);
}
@media (max-width: 480px) {
  .ugc-lightbox { padding: 1rem; }
  .ugc-lightbox__close { top: 0.75rem; left: 0.75rem; width: 40px; height: 40px; }
}

/* Testimonial-video tile */
.ugc-tile--video {
  cursor: pointer;
  background: #1c1917;
}
.ugc-tile--video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.ugc-tile--video:hover video { transform: scale(1.04); }
.ugc-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  z-index: 3;
  transition: opacity 0.3s ease;
}
.ugc-tile--video.is-playing .ugc-play { opacity: 0; pointer-events: none; }
.ugc-play svg { filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3)); }

/* #9 — Payment Methods on Checkout */
.payment-methods-section {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.payment-methods-section h6 {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.875rem;
  font-family: var(--font-sans);
  font-weight: 500;
}
.payment-method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
}
.payment-method-option {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem;
  border: 1px solid var(--border-strong);
  background: var(--bg-primary);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  font-size: 0.88rem;
  position: relative;
}
.payment-method-option:hover {
  background: var(--bg-warm);
}
.payment-method-option input[type="radio"] {
  accent-color: var(--accent);
}
.payment-method-option input[type="radio"]:checked ~ span {
  color: var(--ink);
  font-weight: 500;
}
.payment-method-option:has(input:checked) {
  background: var(--bg-warm);
  border-color: var(--ink);
}
.payment-method-option .badge-pay {
  margin-inline-start: auto;
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  background: var(--accent-soft);
  color: var(--accent-dark);
  letter-spacing: 0.05em;
}

/* Manual-only payment notice (flag OFF) */
.payment-manual-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.125rem;
  background: var(--bg-warm);
  border: 1px solid var(--border-strong);
  border-right: 3px solid var(--accent);
}

/* Coupon form (checkout — flag-gated) */
.coupon-form {
  padding: 0.75rem 0.875rem;
  background: var(--bg-warm);
  border: 1px solid var(--border-strong);
  border-right: 3px solid var(--accent);
}
.coupon-feedback {
  font-size: 0.875rem;
}
.coupon-feedback.success { color: #1f7a3a; }
.coupon-feedback.error   { color: #b02a37; }

/* Static pages (Terms & Returns) */
.static-page {
  max-width: 780px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}
.static-page h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  margin-bottom: 0.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
}
.static-page .lead {
  color: var(--ink-muted);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.static-page h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
.static-page p, .static-page li {
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}
.static-page ul, .static-page ol { padding-inline-start: 1.25rem; }

/* ==========================================================================
   ACCESSIBILITY (נגישות) — Israeli Standard ת"י 5568 / WCAG 2.0 AA
   תקנה 35 של תקנות שוויון זכויות לאנשים עם מוגבלות, תשע"ג-2013
   ========================================================================== */

/* Skip to Content Link (hidden until focused with keyboard) */
.skip-to-content {
  position: absolute;
  top: -60px;
  inset-inline-start: 1rem;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 10000;
  border: 2px solid var(--accent);
  transition: top 200ms ease;
}
.skip-to-content:focus {
  top: 1rem;
  color: #fff;
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Global Focus Visible (keyboard navigation indicator — WCAG 2.4.7) */
*:focus-visible {
  outline: 3px solid var(--accent) !important;
  outline-offset: 2px !important;
  border-radius: 2px;
}
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--accent) !important;
  outline-offset: 2px !important;
}

/* Accessibility FAB (floating button, always visible) */
.a11y-fab {
  position: fixed;
  bottom: 95px;
  left: 25px;
  z-index: 9997;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #1a4a8a;
  color: #fff;
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(26, 74, 138, 0.4);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.a11y-fab:hover, .a11y-fab:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 6px 22px rgba(26, 74, 138, 0.55);
}
.a11y-fab:focus-visible {
  outline: 3px solid #FFD700 !important;
  outline-offset: 3px !important;
}
@media (max-width: 767.98px) {
  .a11y-fab {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
    bottom: 74px; /* sits directly above .chat-fab (chat at 16, size 48, gap 10) */
    left: 18px;   /* slight offset so it's visually centered with the 48px chat fab below */
  }
  body.has-sticky-cta .a11y-fab { bottom: 146px; }
}

/* Accessibility Panel (slides in from left-bottom) */
.a11y-panel {
  position: fixed;
  bottom: 95px;
  left: 90px;
  width: 320px;
  max-height: calc(100vh - 110px);
  background: #fff;
  color: #111;
  border: 2px solid #1a4a8a;
  z-index: 9998;
  display: none;
  flex-direction: column;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.a11y-panel.active { display: flex; animation: a11yFadeIn 250ms ease; }
@keyframes a11yFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.a11y-panel-header {
  background: #1a4a8a;
  color: #fff;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
}
.a11y-panel-header h3 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.a11y-panel-close {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}
.a11y-panel-close:hover, .a11y-panel-close:focus-visible { background: #fff; color: #1a4a8a; }
.a11y-panel-body {
  padding: 1rem;
  overflow-y: auto;
  flex: 1;
}
.a11y-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #444;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 1rem 0 0.5rem;
  padding: 0 0.25rem;
}
.a11y-section-title:first-child { margin-top: 0; }
.a11y-controls-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.a11y-btn {
  background: #f3f3f3;
  color: #111;
  border: 2px solid #d0d0d0;
  padding: 0.625rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  text-align: center;
  transition: all 150ms ease;
  line-height: 1.2;
  font-family: var(--font-sans);
  min-height: 58px;
}
.a11y-btn i {
  font-size: 1.2rem;
  color: #1a4a8a;
}
.a11y-btn:hover {
  background: #e8eef7;
  border-color: #1a4a8a;
}
.a11y-btn:focus-visible {
  outline: 3px solid #FFD700 !important;
  outline-offset: 2px !important;
}
.a11y-btn.active {
  background: #1a4a8a;
  color: #fff;
  border-color: #1a4a8a;
}
.a11y-btn.active i { color: #fff; }
.a11y-btn-reset {
  background: #c82333;
  color: #fff;
  border-color: #c82333;
  grid-column: 1 / -1;
  flex-direction: row;
  min-height: 44px;
}
.a11y-btn-reset:hover { background: #a71d2a; border-color: #a71d2a; }
.a11y-btn-reset i { color: #fff; }
.a11y-statement-link {
  display: block;
  background: #f3f3f3;
  color: #1a4a8a;
  padding: 0.75rem;
  text-align: center;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.85rem;
  border: 2px solid #d0d0d0;
  margin-top: 0.5rem;
}
.a11y-statement-link:hover {
  background: #1a4a8a;
  color: #fff;
  border-color: #1a4a8a;
}

/* === Accessibility MODES (applied on <body>) === */

/* Font size scaling (root font-size base is 15px; scale proportionally) */
body.a11y-font-110 { font-size: 16.5px !important; }
body.a11y-font-120 { font-size: 18px !important; }
body.a11y-font-130 { font-size: 19.5px !important; }
body.a11y-font-140 { font-size: 21px !important; }
body.a11y-font-150 { font-size: 22.5px !important; }
body.a11y-font-160 { font-size: 24px !important; }
body.a11y-font-90 { font-size: 13.5px !important; }

/* High Contrast (white text on black) */
body.a11y-high-contrast,
body.a11y-high-contrast * {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
body.a11y-high-contrast a,
body.a11y-high-contrast a * { color: #FFFF00 !important; text-decoration: underline !important; }
body.a11y-high-contrast button,
body.a11y-high-contrast .btn,
body.a11y-high-contrast input,
body.a11y-high-contrast textarea,
body.a11y-high-contrast select {
  background-color: #000 !important;
  color: #fff !important;
  border: 2px solid #fff !important;
}
body.a11y-high-contrast img,
body.a11y-high-contrast video { filter: grayscale(1) contrast(1.2); }
body.a11y-high-contrast .a11y-panel,
body.a11y-high-contrast .a11y-panel * { background-color: #000 !important; color: #fff !important; }

/* Inverted / Light mode (black text on white, high contrast) */
body.a11y-bright-contrast,
body.a11y-bright-contrast * {
  background-color: #fff !important;
  color: #000 !important;
  border-color: #000 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
body.a11y-bright-contrast a { color: #0000EE !important; text-decoration: underline !important; }

/* Grayscale */
body.a11y-grayscale { filter: grayscale(100%) !important; }

/* Highlight Links */
body.a11y-highlight-links a {
  background-color: #FFFF00 !important;
  color: #000 !important;
  text-decoration: underline !important;
  padding: 2px 4px !important;
  border: 1px solid #000 !important;
}

/* Readable Font (Arial, heavier, tighter for dyslexia) */
body.a11y-readable-font,
body.a11y-readable-font * {
  font-family: Arial, Verdana, sans-serif !important;
  letter-spacing: 0.02em !important;
  word-spacing: 0.05em !important;
  line-height: 1.75 !important;
}
body.a11y-readable-font h1,
body.a11y-readable-font h2,
body.a11y-readable-font h3,
body.a11y-readable-font h4,
body.a11y-readable-font h5,
body.a11y-readable-font h6 {
  font-weight: 700 !important;
}

/* Pause Animations (WCAG 2.2.2) */
body.a11y-pause-animations *,
body.a11y-pause-animations *::before,
body.a11y-pause-animations *::after {
  animation-duration: 0.001ms !important;
  animation-delay: 0ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  transition-delay: 0ms !important;
}
body.a11y-pause-animations video { display: none !important; }
body.a11y-pause-animations .whatsapp-fab::after { display: none !important; }

/* Large Cursor */
body.a11y-large-cursor,
body.a11y-large-cursor * {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'><path fill='%23000' stroke='%23fff' stroke-width='2' d='M6 4l28 22-12 2 6 14-6 2-6-14-10 6z'/></svg>") 4 4, auto !important;
}
body.a11y-large-cursor a,
body.a11y-large-cursor button,
body.a11y-large-cursor [role='button'],
body.a11y-large-cursor input[type='submit'] {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'><path fill='%23ff0' stroke='%23000' stroke-width='2' d='M16 4v28l8-6 8 12 6-4-8-12 10 0z'/></svg>") 8 4, pointer !important;
}

/* Accessibility Statement Page Specific */
.accessibility-page .statement-box {
  background: var(--bg-warm);
  border: 2px solid var(--accent);
  padding: 1.5rem;
  margin: 2rem 0;
}
.accessibility-page .statement-box h3 {
  color: var(--accent-dark);
  font-family: var(--font-serif);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.accessibility-page .compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin: 1rem 0;
}
.accessibility-page .compliance-badge i { color: var(--accent-soft); font-size: 1.2rem; }
