/* ==========================================================================
   ROTIMATIC NEXT — STYLESHEET
   Brand Colors: Warm Cream/Ivory + Terracotta Orange + Espresso Brown
   Aesthetic: Warm Organic Luxury Showroom — Clean, Authoritative, Professional
   ========================================================================== */

:root {
  /* Core Backgrounds — Warm Organic Luxury showroom atmosphere */
  --bg-base: #F6EEDF;
  --bg-surface: #FFFFFF;
  --bg-surface-2: #FAF5EC;
  --bg-surface-elevated: #FAF6EE;
  --bg-surface-hover: #F0E7D8;
  --bg-dark-section: #2B2420;

  /* Borders / Dividers */
  --border-faint: rgba(201, 187, 160, 0.35);
  --border-subtle: #C9BBA0;
  --border-medium: #B8A78A;
  --border-strong: #2B2420;
  --border-orange: rgba(168, 92, 50, 0.40);
  --border-orange-strong: rgba(168, 92, 50, 0.75);

  /* Primary Accent: Terracotta / Clay */
  --orange: #A85C32;
  --orange-hover: #924e29;
  --orange-light: #bd6c3d;
  --orange-dark: #7b3e1d;
  --orange-glow: rgba(168, 92, 50, 0.25);
  --orange-dim: rgba(168, 92, 50, 0.10);
  --orange-mid: rgba(168, 92, 50, 0.18);

  /* Secondary Accent: Warm Amber / Gold (used sparingly for glows/small highlights) */
  --gold: #E3A73E;
  --gold-bg: rgba(227, 167, 62, 0.15);

  /* Text — Primary text is deep espresso brown #2B2420 for optimal contrast on #F6EEDF */
  --text-white: #2B2420;
  --text-primary: #2B2420;
  --text-secondary: #5E524A;
  --text-muted: #7A6C62;
  --text-inverse: #F6EEDF;

  /* Status */
  --green: #16a34a;
  --green-bg: rgba(22, 163, 74, 0.12);

  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows tuned for warm light background */
  --shadow-xs: 0 1px 4px rgba(43, 36, 32, 0.08);
  --shadow-sm: 0 3px 10px rgba(43, 36, 32, 0.09);
  --shadow-md: 0 8px 24px rgba(43, 36, 32, 0.10);
  --shadow-lg: 0 18px 42px rgba(43, 36, 32, 0.12);
  --shadow-xl: 0 28px 64px rgba(43, 36, 32, 0.15);
  --glow-orange: 0 6px 22px rgba(168, 92, 50, 0.28);
  --glow-orange-lg: 0 12px 34px rgba(168, 92, 50, 0.38);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.18s var(--ease-out);
  --t-normal: 0.32s var(--ease-out);
  --t-slow: 0.55s var(--ease-out);

  /* Layout */
  --max-width: 1240px;
  --r-xs: 5px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-pill: 9999px;
}

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

/* The site toggles visibility via the `hidden` attribute/property throughout
   (app.js, dashboard.js, admin.js). Without this, any element that also
   matches an author rule setting `display` (e.g. `display: flex`) stays
   visible when hidden, because author styles beat the UA default
   `[hidden] { display: none }`. This one rule keeps `.hidden = true/false`
   authoritative everywhere, regardless of what other display rules exist. */
[hidden] {
  display: none !important;
}

html {
  font-size: 16px;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  line-height: 1.65;
  overflow-x: hidden;
  background-color: var(--bg-base);
  background-image:
    radial-gradient(ellipse at 85% 12%, rgba(168, 92, 50, 0.04) 0%, transparent 40%),
    radial-gradient(ellipse at 15% 28%, rgba(227, 167, 62, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 65%, rgba(168, 92, 50, 0.03) 0%, transparent 50%),
    linear-gradient(180deg, #F6EEDF 0%, #FAF5EC 25%, #F6EEDF 55%, #EFE5D3 100%);
  background-attachment: fixed;
  color: var(--text-primary);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  outline: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* ─── Typography Utilities ──────────────────────────────────────────────────── */
.text-center {
  text-align: center;
}

.orange-text {
  color: var(--orange);
}

.gradient-text {
  background: linear-gradient(130deg, #2B2420 20%, var(--orange) 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header {
  margin-bottom: 3.75rem;
}

.section-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-dim);
  border: 1px solid var(--border-orange);
  padding: 0.3rem 0.85rem;
  border-radius: var(--r-pill);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--text-white);
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.82rem 1.7rem;
  border-radius: var(--r-pill);
  transition: all var(--t-normal);
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-hover) 100%);
  color: #ffffff;
  box-shadow: var(--glow-orange);
  border: 1px solid var(--border-orange);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-orange-lg);
  background: linear-gradient(135deg, var(--orange-hover) 0%, #b8673a 100%);
  color: #ffffff;
}

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

.btn-secondary {
  background: rgba(43, 36, 32, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(43, 36, 32, 0.10);
  border-color: var(--border-strong);
  transform: translateY(-2px);
  color: var(--text-primary);
}

.btn-outline {
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(43, 36, 32, 0.05);
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn-lg {
  font-size: 1rem;
  padding: 0.95rem 2.1rem;
}

.btn-xl {
  font-size: 1.1rem;
  padding: 1.15rem 2.65rem;
}

.btn-block {
  width: 100%;
}

.pulse-shadow {
  animation: subtlePulse 3s infinite alternate ease-in-out;
}

@keyframes subtlePulse {
  0% {
    box-shadow: 0 4px 16px rgba(168, 92, 50, 0.25);
  }

  100% {
    box-shadow: 0 8px 30px rgba(168, 92, 50, 0.48);
  }
}

/* ==========================================================================
   OFFERS BANNER (Dark Section)
   ========================================================================== */
.offers-banner {
  background: var(--bg-dark-section);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  padding: 0.42rem 0;
  position: relative;
  z-index: 110;
}

.banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.banner-ticker {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--border-subtle);
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.78rem;
}

.banner-ticker .bullet {
  color: rgba(201, 187, 160, 0.45);
}

.banner-contact {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.banner-helpline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #F6EEDF;
  background: rgba(246, 238, 223, 0.12);
  padding: 0.24rem 0.68rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(201, 187, 160, 0.45);
  transition: all var(--t-fast);
  text-decoration: none;
}

.banner-helpline-link .icon-svg {
  stroke: #E3A73E;
  color: #E3A73E;
  flex-shrink: 0;
}

.banner-helpline-link:hover {
  background: rgba(246, 238, 223, 0.24);
  color: #ffffff;
  border-color: #ffffff;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(34, 197, 94, 0.16);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
  padding: 0.22rem 0.68rem;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.74rem;
  text-decoration: none;
  transition: all var(--t-fast);
}

.whatsapp-btn:hover {
  background: rgba(34, 197, 94, 0.26);
  transform: translateY(-1px);
  color: #ffffff;
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 238, 223, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 2px 12px rgba(43, 36, 32, 0.06);
  transition: background var(--t-normal), border-color var(--t-normal), box-shadow var(--t-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1440px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 6px rgba(168, 92, 50, 0.35));
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.brand-badge-next {
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  background: var(--orange);
  color: #ffffff;
  padding: 0.14rem 0.52rem;
  border-radius: var(--r-xs);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(43, 36, 32, 0.78);
  position: relative;
  padding: 0.4rem 0;
  letter-spacing: 0.01em;
  transition: color var(--t-fast);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link.active {
  color: var(--text-primary);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(168, 92, 50, 0.4);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-cta-btn {
  padding: 0.6rem 1.3rem;
  font-size: 0.84rem;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}

.mobile-menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer + body scroll lock while it's open (JS toggles .menu-open) */
body.menu-open {
  overflow: hidden;
}

.nav-drawer-actions {
  display: none;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 0 4.5rem;
  overflow: hidden;
  background-color: var(--bg-base);
  /* Background: showroom image with overlay gradients */
  background-image:
    /* A: Warm cream veil over left text zone — ensures dark text is razor-sharp over showroom */
    linear-gradient(108deg,
      rgba(246, 238, 223, 0.96) 0%,
      rgba(246, 238, 223, 0.91) 28%,
      rgba(246, 238, 223, 0.80) 42%,
      rgba(246, 238, 223, 0.48) 56%,
      rgba(246, 238, 223, 0.16) 68%,
      transparent 76%),
    /* B: Diagonal accent shimmer line */
    linear-gradient(111deg,
      transparent 37%,
      rgba(201, 187, 160, 0.3) 38%,
      rgba(201, 187, 160, 0.1) 39%,
      transparent 41%),
    /* C: Showroom background photo */
    url('assets/showroom-stage-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Fade bottom edge into page background smoothly */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, var(--bg-base));
  pointer-events: none;
  z-index: 1;
}

.hero-bg-lights {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Subtle warm accent glow on right side */
.studio-spotlight {
  position: absolute;
  top: 8%;
  right: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 92, 50, 0.08) 0%, rgba(227, 167, 62, 0.04) 40%, transparent 68%);
  border-radius: 50%;
  filter: blur(70px);
}

/* Subtle warm accent on left (text zone) */
.ambient-glow.orange-glow {
  position: absolute;
  top: 18%;
  left: 4%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(168, 92, 50, 0.05) 0%, transparent 60%);
  filter: blur(100px);
}

/* Warm glow at bottom center */
.ambient-glow.warm-glow {
  position: absolute;
  bottom: 14%;
  right: 30%;
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(227, 167, 62, 0.05) 0%, transparent 65%);
  filter: blur(80px);
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-text-content {
  max-width: 570px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--orange);
  background: var(--orange-dim);
  padding: 0.38rem 0.95rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-orange);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.8vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}

.hero-subheadline {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.8rem;
}

.hero-selection-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  padding: 0.52rem 1.1rem;
  border-radius: var(--r-pill);
  font-size: 0.86rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.pill-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FAF5EC;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 0 6px rgba(43, 36, 32, 0.15);
  transition: all var(--t-fast);
}

.pill-indicator.black {
  background: #2B2420;
  border: 1px solid var(--orange);
  box-shadow: 0 0 6px var(--orange);
}

.pill-title {
  color: var(--text-muted);
}

.pill-divider {
  color: var(--border-subtle);
}

.pill-price {
  font-weight: 800;
  color: var(--text-primary);
  font-size: 1rem;
}

.pill-savings {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--orange);
  background: var(--orange-dim);
  padding: 0.14rem 0.48rem;
  border-radius: var(--r-pill);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-guarantee-bar {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-faint);
  flex-wrap: wrap;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.48rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* 3D Interactive Stage */
.hero-3d-stage {
  perspective: 1200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 520px;
  width: 100%;
}

/* Stage Header Controls: Model Switcher & Mode Switcher */
.hero-stage-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 660px;
}

.stage-machine-switch {
  display: inline-flex;
  background: rgba(246, 238, 223, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-pill);
  padding: 3px;
  gap: 3px;
  box-shadow: 0 4px 14px rgba(43, 36, 32, 0.08);
}

.stage-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.95rem;
  border-radius: var(--r-pill);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--t-fast);
}

.stage-pill-btn:hover {
  color: var(--text-primary);
}

.stage-pill-btn.active {
  background: #FFFFFF;
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(43, 36, 32, 0.12);
}

.machine-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.machine-dot.dot-white {
  background: #ffffff;
  box-shadow: 0 0 0 1px var(--border-subtle);
}

.machine-dot.dot-black {
  background: #2B2420;
  border: 1.5px solid var(--orange);
}

/* Mode Switcher — a lighter, secondary-tier control under the variant switch */
.hero-mode-switcher {
  display: inline-flex;
  background: rgba(246, 238, 223, 0.88);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-pill);
  padding: 2px;
  gap: 2px;
}

.mode-pill-btn {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.36rem 0.85rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  transition: all var(--t-fast);
  cursor: pointer;
}

.mode-pill-btn:hover {
  color: var(--text-primary);
}

.mode-pill-btn.active {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

/* Product 3D Card */
.product-3d-card {
  position: relative;
  width: 100%;
  max-width: 660px;
  border-radius: var(--r-xl);
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

/* Spotlight View */
.hero-view-spotlight {
  display: none;
  width: 100%;
}

.hero-view-spotlight.active {
  display: block;
  animation: heroCrossfade 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-view-360 {
  display: none;
  width: 100%;
}

.hero-view-360.active {
  display: block;
  animation: heroCrossfade 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroCrossfade {
  from {
    opacity: 0.2;
    transform: scale(0.988);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.spotlight-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 420px;
  padding: 1.5rem;
}

.product-render-dramatic {
  width: 100%;
  height: 390px;
  max-height: 420px;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: drop-shadow(0 14px 28px rgba(43, 36, 32, 0.25));
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.product-caption {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* 360 Viewer */
.viewer-360-container {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xl);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 1.5rem;
  touch-action: pan-y;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.viewer-360-container:focus-visible {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-dim);
}

.viewer-360-container:active,
.viewer-360-container.is-dragging {
  cursor: grabbing !important;
  border-color: var(--orange);
  box-shadow: var(--glow-orange-lg);
}

.product-render-360 {
  width: 100%;
  height: 390px;
  max-height: 420px;
  object-fit: contain;
  object-position: center;
  display: block;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 14px 28px rgba(43, 36, 32, 0.25));
  will-change: transform;
}

.viewer-360-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.1rem;
}

.viewer-360-prompt {
  align-self: center;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-dark-section);
  padding: 0.44rem 1.05rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-inverse);
  font-weight: 600;
  pointer-events: auto;
  cursor: grab;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(43, 36, 32, 0.25);
}

.viewer-360-prompt:hover {
  background: #382f2a;
  border-color: var(--orange);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(168, 92, 50, 0.35);
}

.viewer-360-container.is-dragging .viewer-360-prompt {
  cursor: grabbing;
  border-color: var(--gold);
  background: #302622;
  transform: scale(0.97);
}

.prompt-icon {
  color: var(--gold);
  font-size: 1rem;
}

.angle-label-badge {
  align-self: flex-end;
  font-size: 0.72rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.92);
  padding: 0.32rem 0.75rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-subtle);
}

.angle-label-badge strong {
  color: var(--text-primary);
}

.turnaround-dots-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  pointer-events: auto;
}

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-subtle);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.t-dot:hover {
  background: var(--text-secondary);
  transform: scale(1.25);
}

.t-dot.active {
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
  width: 22px;
  border-radius: 4px;
}

/* ==========================================================================
   2. PRODUCT VARIANT SELECTOR
   ========================================================================== */
.variants-section {
  padding: 6rem 0;
  background:
    radial-gradient(ellipse at 15% 45%, rgba(168, 92, 50, 0.04) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 55%, rgba(227, 167, 62, 0.04) 0%, transparent 55%),
    linear-gradient(180deg, #F6EEDF 0%, #FAF5EC 50%, #F6EEDF 100%);
  position: relative;
}

.variants-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
  max-width: 1060px;
  margin: 0 auto;
}

/* Premium Variant Card */
.variant-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: 0;
  position: relative;
  transition: transform var(--t-normal), border-color var(--t-normal), box-shadow var(--t-normal);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(43, 36, 32, 0.08);
}

.variant-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
  box-shadow: 0 18px 42px rgba(43, 36, 32, 0.12), 0 0 24px rgba(168, 92, 50, 0.10);
}

.variant-card.active {
  border-color: var(--orange);
  box-shadow: 0 16px 40px rgba(168, 92, 50, 0.14), 0 20px 48px rgba(43, 36, 32, 0.10);
  background: #FFFFFF;
}

.variant-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem 0.5rem;
  position: relative;
  z-index: 1;
}

.variant-tag {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-pill);
}

.variant-tag.popular {
  background: var(--bg-surface-2);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.variant-tag.flagship {
  background: rgba(168, 92, 50, 0.12);
  color: var(--orange);
  border: 1px solid rgba(168, 92, 50, 0.35);
}

.guarantee-shield-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-surface-2);
  padding: 0.28rem 0.7rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-subtle);
}

.guarantee-shield-badge.gold-shield {
  color: var(--orange);
  background: rgba(168, 92, 50, 0.10);
  border-color: rgba(168, 92, 50, 0.30);
}

/* Large Machine Image Box — High Clarity Showcase */
.variant-image-box {
  width: 100%;
  height: 290px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  margin: 0.75rem 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 50%, #FAF5EC 0%, #EFE5D3 100%);
  padding: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
}

.variant-image-box img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 14px 28px rgba(43, 36, 32, 0.22));
  transition: transform var(--t-slow);
}

.variant-card:hover .variant-image-box img {
  transform: scale(1.04);
}

.variant-image-box.white-machine-box {
  background: radial-gradient(ellipse at 50% 50%, #FAF5EC 0%, #EBE0CD 100%);
}

.variant-image-box.black-machine-box {
  background: radial-gradient(ellipse at 50% 50%, #FAF5EC 0%, #E8DCC8 100%);
}

/* Variant Info Area */
.variant-info {
  padding: 1.6rem 1.6rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.variant-title-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.4rem;
}

.variant-color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.variant-color-dot.white-dot {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 0 4px rgba(43, 36, 32, 0.2);
}

.variant-color-dot.black-dot {
  background: #2B2420;
  border: 1.5px solid var(--orange);
  box-shadow: 0 0 6px rgba(168, 92, 50, 0.4);
}

.variant-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.variant-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.1rem;
  min-height: 42px;
}

.variant-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border-faint);
}

.price-wrap {
  display: flex;
  align-items: flex-start;
  color: var(--text-primary);
}

.price-wrap .currency {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 0.2rem;
  margin-right: 0.15rem;
}

.price-wrap .amount {
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.original-price {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.original-price .strikethrough {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.discount-badge {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--orange);
}

/* Specifications Checklist in Product Card */
.variant-specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
  flex-grow: 1;
}

.v-spec-item {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.82rem;
  line-height: 1.45;
}

.spec-bullet {
  color: var(--orange);
  font-weight: 800;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.spec-label {
  font-weight: 700;
  color: var(--text-primary);
  min-width: 82px;
  flex-shrink: 0;
}

.spec-value {
  color: var(--text-secondary);
}

.spec-value strong {
  color: var(--text-primary);
}

.spec-value.muted-spec {
  font-style: italic;
  color: var(--text-muted);
}

/* Card Action Group */
.variant-actions-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: auto;
}

.variant-secondary-actions {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.55rem;
}

.btn-whatsapp-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: rgba(22, 163, 74, 0.12);
  border: 1px solid rgba(22, 163, 74, 0.35);
  color: #16a34a;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.72rem 0.95rem;
  border-radius: var(--r-md);
  transition: all var(--t-fast);
  cursor: pointer;
}

.btn-whatsapp-card:hover {
  background: rgba(22, 163, 74, 0.22);
  border-color: #16a34a;
  color: #ffffff;
}

.btn-outline-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.72rem 0.95rem;
  border-radius: var(--r-md);
  transition: all var(--t-fast);
  cursor: pointer;
}

.btn-outline-card:hover {
  background: #EFE5D3;
  border-color: var(--border-strong);
  color: var(--text-primary);
}

/* ==========================================================================
   3. HOW IT WORKS SECTION
   ========================================================================== */
.how-it-works-section {
  padding: 6rem 0;
  position: relative;
  background:
    radial-gradient(ellipse at 85% 35%, rgba(168, 92, 50, 0.04) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 65%, rgba(227, 167, 62, 0.04) 0%, transparent 55%),
    linear-gradient(180deg, #F6EEDF 0%, #FAF5EC 50%, #F6EEDF 100%);
}

.how-it-works-layout {
  display: grid;
  grid-template-columns: minmax(300px, 380px) 1fr;
  gap: 3.5rem;
  align-items: center;
}

/* Video Player Frame */
.video-player-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.real-video-container {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(43, 36, 32, 0.18);
  border: 1px solid var(--border-subtle);
  background: var(--bg-dark-section);
  width: 100%;
  max-width: 380px;
  aspect-ratio: 478 / 850;
  display: flex;
  align-items: center;
  justify-content: center;
}

.native-video-element {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.floating-unmute-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(43, 36, 32, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  padding: 0.38rem 0.75rem;
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-inverse);
  cursor: pointer;
  transition: all var(--t-fast);
}

.floating-unmute-btn:hover {
  border-color: var(--orange);
  color: #ffffff;
}

.video-caption-foot {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Steps */
.steps-progression-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.step-card {
  display: flex;
  gap: 1.1rem;
  padding: 1.15rem 1.35rem;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: all var(--t-normal);
  box-shadow: 0 4px 14px rgba(43, 36, 32, 0.05);
}

.step-card:hover {
  background: var(--bg-surface-2);
  border-color: var(--border-strong);
}

.step-card.active {
  background: linear-gradient(90deg, rgba(168, 92, 50, 0.08) 0%, #FFFFFF 100%);
  border-color: var(--border-orange);
}

.step-badge-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-number-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface-2);
  border: 1.5px solid var(--border-subtle);
  color: var(--text-secondary);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--t-fast);
  flex-shrink: 0;
}

.step-card.active .step-number-circle {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  box-shadow: 0 0 14px rgba(168, 92, 50, 0.35);
}

.step-connector-line {
  width: 1.5px;
  flex-grow: 1;
  background: var(--border-faint);
  margin-top: 6px;
}

.step-content {
  flex-grow: 1;
}

.step-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.step-heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.step-time-pill {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--orange);
  background: var(--orange-dim);
  padding: 0.12rem 0.45rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.step-details {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0.5rem;
}

.step-metric {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  font-size: 0.78rem;
}

.metric-label {
  color: var(--text-muted);
}

.metric-value {
  color: var(--text-primary);
  font-weight: 600;
}

.step-visual-thumb {
  margin-top: 0.75rem;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid var(--border-faint);
}

.step-visual-thumb img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.thumb-desc {
  padding: 0.5rem 0.65rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-surface-2);
}

/* ==========================================================================
   4. FEATURE HIGHLIGHTS
   ========================================================================== */
.features-section {
  padding: 6rem 0;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(168, 92, 50, 0.04) 0%, transparent 60%),
    linear-gradient(180deg, #F6EEDF 0%, #FAF5EC 50%, #F6EEDF 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: 2rem 1.65rem;
  position: relative;
  overflow: hidden;
  transition: all var(--t-normal);
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(43, 36, 32, 0.06);
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0;
  transition: opacity var(--t-normal);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
  box-shadow: 0 16px 36px rgba(43, 36, 32, 0.12);
  background: var(--bg-surface-2);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: rgba(168, 92, 50, 0.08);
  border: 1px solid rgba(168, 92, 50, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  transition: transform var(--t-fast);
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.1);
  background: rgba(168, 92, 50, 0.14);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
}

.feature-description {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.62;
  margin-bottom: 1.35rem;
  flex-grow: 1;
}

.feature-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   5. SPECS & PRICING
   ========================================================================== */
.specs-section {
  padding: 6rem 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(168, 92, 50, 0.04) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 70%, rgba(227, 167, 62, 0.04) 0%, transparent 55%),
    linear-gradient(180deg, #F6EEDF 0%, #FAF5EC 50%, #F6EEDF 100%);
}

.specs-dimensions-card {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: 2rem 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.dimensions-image-box {
  width: 180px;
  flex-shrink: 0;
  border-radius: var(--r-md);
  overflow: hidden;
}

.dimensions-image-box img {
  width: 100%;
  height: auto;
}

.dim-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.dim-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.dim-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.dim-stats-grid {
  display: flex;
  gap: 2rem;
}

.dim-stat {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.specs-table-wrapper {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  box-shadow: var(--shadow-md);
  -webkit-overflow-scrolling: touch;
}

/* Hidden by default; shown at <=1024px (see media query) where the table's
   min-width forces horizontal scroll within its own wrapper. */
.table-scroll-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0 auto 0.85rem;
  padding: 0.4rem 0.95rem;
  width: fit-content;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-pill);
}

.specs-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  text-align: left;
}

.specs-table th,
.specs-table td {
  padding: 1.1rem 1.65rem;
  border-bottom: 1px solid var(--border-faint);
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.col-spec-feature {
  width: 34%;
  font-size: 0.92rem;
  color: var(--text-secondary);
  background: var(--bg-surface-2);
}

.col-variant-white {
  width: 33%;
  background: #FFFFFF;
}

.col-variant-black.featured-col {
  width: 33%;
  background: linear-gradient(180deg, rgba(168, 92, 50, 0.06) 0%, rgba(250, 245, 236, 0.9) 100%);
}

.th-variant-header {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  position: relative;
}

.popular-ribbon {
  position: absolute;
  top: -10px;
  right: 0;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--orange);
  color: #fff;
  padding: 0.18rem 0.55rem;
  border-radius: var(--r-pill);
}

.edition-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.edition-price {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--text-primary);
}

.edition-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
}

.edition-badge.gold {
  color: var(--orange);
}

.spec-name {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.spec-val {
  font-size: 0.9rem;
  color: var(--text-primary);
}

.price-highlight {
  font-size: 1.1rem;
  font-weight: 800;
}

.spec-val del {
  color: var(--text-muted);
  margin-left: 0.35rem;
  font-size: 0.84rem;
}

.badge-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  border-radius: var(--r-xs);
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.badge-tag.gold {
  background: var(--orange-dim);
  color: var(--orange);
  border: 1px solid var(--border-orange);
}

.specs-table tfoot td {
  padding: 1.75rem 1.65rem;
  border-bottom: none;
}

/* ==========================================================================
   LIFESTYLE SECTION
   ========================================================================== */
.lifestyle-section {
  padding: 6rem 0;
}

.lifestyle-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.lifestyle-image-col {
  position: relative;
  height: 100%;
  min-height: 380px;
}

.lifestyle-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lifestyle-text-col {
  padding: 2.5rem 2.5rem 2.5rem 0;
}

.lifestyle-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.lifestyle-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.lifestyle-features-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.l-feat-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9rem;
}

.l-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange-dim);
  border: 1px solid var(--border-orange);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.l-feat-item div {
  color: var(--text-secondary);
  line-height: 1.5;
}

.l-feat-item strong {
  color: var(--text-primary);
}

/* ==========================================================================
   6. REVIEWS SECTION
   ========================================================================== */
.reviews-section {
  padding: 6rem 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(168, 92, 50, 0.04) 0%, transparent 55%),
    linear-gradient(180deg, #F6EEDF 0%, #FAF5EC 50%, #F6EEDF 100%);
}

.google-rating-card {
  max-width: 800px;
  margin: 0 auto 3.5rem;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: 1.75rem 2.25rem;
  display: flex;
  align-items: center;
  gap: 2.25rem;
  box-shadow: 0 10px 30px rgba(43, 36, 32, 0.08);
}

.google-badge-left {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.google-rating-numbers {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.rating-score {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}

.stars-row {
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.google-badge-divider {
  width: 1px;
  height: 56px;
  background: var(--border-subtle);
  flex-shrink: 0;
}

.google-badge-right {
  flex: 1;
}

.rating-verdict {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.4rem;
}

.rating-subtext {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
}

.rating-tags {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.rtag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--r-pill);
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: 1.65rem 1.75rem;
  transition: all var(--t-normal);
  box-shadow: 0 8px 24px rgba(43, 36, 32, 0.06);
}

.testimonial-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(43, 36, 32, 0.10);
  background: var(--bg-surface-2);
}

.testimonial-card.featured-review {
  border-color: var(--border-orange);
  box-shadow: 0 8px 24px rgba(168, 92, 50, 0.10);
}

.t-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-primary);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.avatar-circle.gold {
  background: var(--orange-dim);
  border-color: var(--border-orange);
  color: var(--orange);
}

.t-meta {
  flex: 1;
}

.t-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

.t-location {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.t-rating {
  color: var(--gold);
  font-size: 0.85rem;
}

.t-quote {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1rem;
  font-style: italic;
}

.t-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.t-verified-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
}

.t-date {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================================================
   BOTTOM CTA BANNER
   ========================================================================== */
.bottom-cta-banner {
  padding: 5rem 0;
}

.bottom-cta-card {
  background: var(--bg-dark-section);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-2xl);
  padding: 3rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  box-shadow: 0 20px 60px rgba(43, 36, 32, 0.35);
  position: relative;
  overflow: hidden;
}

.bottom-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, rgba(227, 167, 62, 0.6) 50%, transparent 100%);
}

.cta-card-content {
  flex: 1;
  max-width: 580px;
}

.cta-pill {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-bg);
  border: 1px solid rgba(227, 167, 62, 0.35);
  padding: 0.28rem 0.72rem;
  border-radius: var(--r-pill);
  margin-bottom: 1rem;
}

.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: var(--text-inverse);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.22;
}

.cta-text {
  font-size: 0.95rem;
  color: #E2D7C5;
  line-height: 1.65;
  margin-bottom: 1.35rem;
}

.cta-perks {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.cta-perks span {
  font-size: 0.82rem;
  color: var(--border-subtle);
  font-weight: 600;
}

.cta-card-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}


/* ==========================================================================
   FOOTER (Dark Section)
   ========================================================================== */
.site-footer {
  background: var(--bg-dark-section);
  border-top: 1px solid var(--border-subtle);
  padding-top: 4.5rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(201, 187, 160, 0.25);
}

.footer-logo {
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.footer-logo .brand-name,
.site-footer .brand-name {
  color: #F6EEDF;
}

.footer-logo:hover .brand-name {
  color: #FFFFFF;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--border-subtle);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.footer-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-inverse);
  background: rgba(246, 238, 223, 0.08);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.75rem;
  border-radius: var(--r-pill);
}

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links-list a {
  font-size: 0.84rem;
  color: #E2D7C5;
  transition: color var(--t-fast);
}

.footer-links-list a:hover {
  color: #ffffff;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.footer-contact-list .label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--border-subtle);
}

.footer-contact-list .val {
  font-size: 0.84rem;
  color: #E2D7C5;
}

.footer-contact-list a.val {
  transition: color var(--t-fast);
}

.footer-contact-list a.val:hover {
  color: #ffffff;
}

.orange-link {
  color: var(--gold) !important;
}

.footer-address {
  font-size: 0.82rem;
  color: var(--border-subtle);
  line-height: 1.65;
  font-style: normal;
  margin-bottom: 1.25rem;
}

.social-links-row {
  display: flex;
  gap: 0.65rem;
}

.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(246, 238, 223, 0.08);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inverse);
  transition: all var(--t-fast);
}

.social-icon:hover {
  background: rgba(246, 238, 223, 0.18);
  border-color: #ffffff;
  color: #ffffff;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  gap: 1.5rem;
}

.copyright {
  font-size: 0.78rem;
  color: var(--border-subtle);
}

.footer-credit {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.footer-credit-logo {
  height: 14px;
  width: auto;
  vertical-align: middle;
}

.footer-credit-link {
  display: inline-flex;
  align-items: center;
}

.legal-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.legal-links a {
  font-size: 0.76rem;
  color: var(--border-subtle);
  transition: color var(--t-fast);
}

.legal-links a:hover {
  color: var(--text-inverse);
}

/* ==========================================================================
   CHECKOUT MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 5, 7, 0.88);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.active {
  display: flex;
}

.checkout-modal-container {
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-2xl);
  box-shadow: 0 30px 80px rgba(43, 36, 32, 0.35);
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: var(--border-subtle) transparent;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  background: #FFFFFF;
  z-index: 10;
}

.modal-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.modal-brand-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
}

.modal-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-fast);
}

.modal-close-btn:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.checkout-steps-bar {
  display: flex;
  align-items: center;
  padding: 1.25rem 2rem;
  gap: 0;
  border-bottom: 1px solid var(--border-faint);
}

.c-step-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.c-step-item.active {
  color: var(--orange);
}

.c-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.c-step-divider {
  flex: 1;
  height: 1px;
  background: var(--border-faint);
  margin: 0 0.75rem;
}

.modal-body-step {
  display: none;
}

.modal-body-step.active {
  display: block;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0;
}

.checkout-panel-left {
  padding: 2rem;
  border-right: 1px solid var(--border-faint);
}

.checkout-panel-right {
  padding: 2rem;
}

.panel-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.modal-variant-selector {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.modal-radio-card {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  background: #FFFFFF;
  transition: all var(--t-fast);
}

.modal-radio-card:hover {
  border-color: var(--border-medium);
}

.modal-radio-card input[type="radio"] {
  display: none;
}

.radio-card-content {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
}

.radio-thumb {
  width: 72px;
  height: 60px;
  overflow: hidden;
  flex-shrink: 0;
}

.radio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.radio-info {
  padding: 0.6rem 0.9rem;
  flex: 1;
}

.radio-info strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.2rem;
}

.radio-price {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.radio-price del {
  color: var(--text-muted);
  margin-left: 0.3rem;
}

.radio-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: var(--r-xs);
  background: var(--bg-surface-2);
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.radio-badge.gold {
  background: var(--orange-dim);
  color: var(--orange);
}

.modal-radio-card:has(input:checked) {
  border-color: var(--border-orange);
  background: rgba(168, 92, 50, 0.05);
}

.quantity-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.qty-label {
  font-weight: 600;
}

.qty-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-pill);
  overflow: hidden;
}

.qty-btn {
  width: 34px;
  height: 34px;
  background: var(--bg-surface-2);
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t-fast);
}

.qty-btn:hover {
  background: var(--bg-surface-hover);
}

.qty-display {
  width: 36px;
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
  background: #FFFFFF;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.form-group input,
.form-group select {
  background: #FAF5EC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  padding: 0.62rem 0.85rem;
  font-size: 0.88rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  transition: border-color var(--t-fast);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--border-orange);
  box-shadow: 0 0 0 3px var(--orange-dim);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

/* Order Summary */
.order-summary-box {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: 1.5rem;
}

.summary-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.1rem;
}

.summary-item-preview {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-faint);
}

.summary-item-preview img {
  width: 68px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--r-sm);
}

.summary-item-text h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.summary-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.summary-single-price {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 0.15rem;
}

.summary-cost-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.cost-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.free-text {
  color: var(--green);
  font-weight: 700;
}

.cost-divider {
  height: 1px;
  background: var(--border-faint);
  margin: 0.35rem 0;
}

.total-line {
  font-weight: 800;
  font-size: 1rem;
}

.total-amount {
  color: var(--orange);
  font-size: 1.2rem;
  font-weight: 900;
}

.summary-perks {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.perk-row {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Payment Step */
.payment-step-container {
  padding: 2rem;
}

.demo-client-notice {
  display: flex;
  gap: 0.85rem;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.notice-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.notice-body {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.notice-body strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.25rem;
}

.payment-action-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  align-items: center;
  padding-top: 0.5rem;
}

/* Payment method selector (Razorpay vs. UPI/QR) */
.payment-method-selector {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.payment-method-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 0.85rem 1.1rem;
  cursor: pointer;
  transition: all var(--t-fast);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  background: #FFFFFF;
}

.payment-method-option:hover {
  border-color: var(--border-medium);
}

.payment-method-option:has(input:checked) {
  border-color: var(--border-orange);
  background: rgba(168, 92, 50, 0.06);
  color: var(--text-primary);
}

.payment-method-option input[type="radio"] {
  accent-color: var(--orange);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.payment-method-option:has(input:disabled) {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Scan & Pay (manual UPI/QR) */
.qr-payment-box {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.qr-payment-image {
  width: 148px;
  height: 148px;
  object-fit: contain;
  background: #fff;
  border-radius: var(--r-sm);
  padding: 6px;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
}

.qr-payment-details {
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Confirmation */
.order-confirmation-wrap {
  padding: 3rem 2rem;
  text-align: center;
}

.conf-success-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green-bg);
  border: 2px solid rgba(22, 163, 74, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.conf-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.conf-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.order-details-ticket {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-align: left;
  margin-bottom: 2rem;
}

.ticket-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border-faint);
}

.ticket-row:last-child {
  border-bottom: none;
}

.ticket-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  width: 140px;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-top: 1px;
}

.ticket-val {
  font-size: 0.88rem;
  color: var(--text-primary);
}

.conf-actions-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 38px;
  padding: 0 1.25rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-hover) 100%);
  border: 1px solid var(--border-orange);
  color: #ffffff;
  box-shadow: var(--glow-orange);
  white-space: nowrap;
  transition: all var(--t-fast);
  cursor: pointer;
}

.nav-cta-btn:hover {
  background: linear-gradient(135deg, var(--orange-hover) 0%, #8A4620 100%);
  box-shadow: 0 6px 24px rgba(168, 92, 50, 0.45);
  transform: translateY(-1px);
  color: #ffffff;
}

.nav-cta-btn .arrow-icon {
  transition: transform var(--t-fast);
}

.nav-cta-btn:hover .arrow-icon {
  transform: translateX(3px);
}

.btn-whatsapp-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-pill);
  transition: all var(--t-fast);
  cursor: pointer;
}

.btn-whatsapp-hero svg {
  color: #16a34a;
}

.btn-whatsapp-hero:hover {
  background: rgba(22, 163, 74, 0.08);
  border-color: #16a34a;
  color: var(--text-primary);
}

.badge-saving {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  padding: 0.15rem 0.45rem;
  border-radius: var(--r-pill);
  margin-left: 0.4rem;
  color: var(--text-primary);
}

.badge-saving.orange {
  background: var(--orange-dim);
  border-color: var(--border-orange);
  color: var(--orange-light);
}

.table-action-stack {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

/* Floating Contact Dock */
.floating-contact-dock {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}

.dock-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65);
  cursor: pointer;
  position: relative;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.dock-btn:hover {
  transform: scale(1.08);
}

.dock-whatsapp {
  background: #25d366;
  color: #ffffff;
}

.dock-whatsapp:hover {
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.dock-call {
  background: #2B2420;
  color: #FAF5EC;
  border-color: var(--border-subtle);
}

.dock-call:hover {
  background: #3D332D;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(43, 36, 32, 0.4);
}

.dock-tooltip {
  position: absolute;
  right: 64px;
  background: #2B2420;
  color: #FAF5EC;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.38rem 0.8rem;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(43, 36, 32, 0.25);
}

.dock-btn:hover .dock-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Product Enquiry Modal */
.enquiry-modal-container {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  width: 92%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px -10px rgba(43, 36, 32, 0.35);
  padding: 2rem;
  color: var(--text-primary);
}

.enquiry-intro {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.4rem;
}

.form-select {
  width: 100%;
  background: #FAF5EC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  color: var(--text-primary);
  padding: 0.7rem 0.9rem;
  font-size: 0.88rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--t-fast);
}

.form-select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-dim);
}

.enquiry-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
}

.toast-msg {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--r-pill);
  padding: 0.6rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  white-space: nowrap;
}

.toast-msg.orange {
  border-color: var(--border-orange);
  color: var(--orange-light);
}

/* ==========================================================================
   RESPONSIVE — MOBILE
   ========================================================================== */
@media (max-width: 1024px) {

  /* The comparison table (two full variant columns) is wider than fits at
     this size and scrolls horizontally within its own wrapper (no page
     overflow) — this fade is just a visual hint that there's more to the
     right, since the crop otherwise lands mid-word with no other cue. */
  .specs-table-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 28px;
    background: linear-gradient(to right, transparent, var(--bg-surface));
    pointer-events: none;
  }

  .table-scroll-hint {
    display: inline-flex;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-text-content {
    /* Capped rather than 100%: past this width the copy runs into the
       less-covered part of the diagonal background veil, where the photo
       shows through more and text contrast drops. */
    max-width: 620px;
  }

  /* Single-column layout puts the copy over a wider share of the showroom
     photo than the two-column desktop layout does, so the veil needs to
     stay opaque further across to keep text contrast readable. */
  .hero-section {
    background-image:
      linear-gradient(108deg,
        rgba(246, 238, 223, 0.97) 0%,
        rgba(246, 238, 223, 0.95) 50%,
        rgba(246, 238, 223, 0.85) 68%,
        rgba(246, 238, 223, 0.42) 82%,
        transparent 94%),
      linear-gradient(111deg,
        transparent 37%,
        rgba(201, 187, 160, 0.3) 38%,
        rgba(201, 187, 160, 0.1) 39%,
        transparent 41%),
      url('assets/showroom-stage-bg.jpg');
  }

  .hero-3d-stage {
    min-height: 420px;
  }

  .product-3d-card {
    max-width: 560px;
    margin: 0 auto;
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-it-works-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1040px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    height: calc(100dvh - 64px);
    max-height: calc(100vh - 64px);
    padding: 0.25rem 1.25rem 1.5rem;
    background: rgba(246, 238, 223, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 995;
    animation: navDrawerIn 0.22s var(--ease-out);
  }

  @keyframes navDrawerIn {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-links.is-open .nav-link {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0 0.15rem;
    border-bottom: 1px solid var(--border-faint);
    font-size: 0.98rem;
  }

  .nav-links.is-open .nav-link.active::after {
    display: none;
  }

  .nav-links.is-open .nav-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
  }

  .nav-drawer-account {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0 0.15rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
  }

  .nav-drawer-account .nav-account-icon {
    color: var(--orange);
    flex-shrink: 0;
  }

  .nav-drawer-cta {
    min-height: 48px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.1rem;
  }

  .brand-badge-next {
    display: none;
  }

  .brand-name {
    font-size: 1.05rem;
    gap: 0.3rem;
  }

  .nav-cta-btn {
    padding: 0 0.95rem;
    font-size: 0.78rem;
    height: 34px;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .variants-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .lifestyle-card {
    grid-template-columns: 1fr;
  }

  .lifestyle-text-col {
    padding: 1.75rem;
  }

  .bottom-cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
  }

  .cta-card-action {
    width: 100%;
    align-items: stretch;
  }

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

  .checkout-panel-left {
    border-right: none;
    border-bottom: 1px solid var(--border-faint);
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .google-rating-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }

  .google-badge-divider {
    width: 100%;
    height: 1px;
  }

  .banner-ticker {
    display: none;
  }

  .hero-guarantee-bar {
    gap: 1.25rem;
    flex-wrap: wrap;
  }

  .specs-dimensions-card {
    flex-direction: column;
    padding: 1.5rem;
  }

  .dimensions-image-box {
    width: 100%;
    max-width: 240px;
  }

  .dim-stats-grid {
    flex-wrap: wrap;
    gap: 1.25rem;
  }

  .hero-stage-controls {
    flex-direction: column;
    gap: 0.5rem;
  }

  .product-render-dramatic,
  .product-render-360 {
    height: 280px;
  }

  .spotlight-frame,
  .viewer-360-container {
    min-height: 300px;
    padding: 1rem;
  }

  .variant-image-box {
    height: 230px;
  }

  .floating-contact-dock {
    bottom: 1.25rem;
    right: 1.25rem;
    gap: 0.55rem;
  }

  .dock-btn {
    width: 46px;
    height: 46px;
  }

  .dock-tooltip {
    display: none;
  }

  .payment-action-buttons {
    flex-direction: column;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .conf-actions-row {
    flex-direction: column;
  }

  .modal-backdrop {
    padding: 0.75rem;
  }

  /* Touch targets & readable form sizing (also prevents iOS Safari
     auto-zoom-on-focus, which triggers below a 16px input font-size).
     .account-form-field input and .admin-toolbar input/.admin-detail-modal
     select are handled in their own sections below — their base rules are
     declared further down in this file, so an override here would lose
     the cascade tie to that later, unconditional rule. */
  .form-group input,
  .form-group select,
  .form-select {
    min-height: 44px;
    font-size: 16px;
  }

  .qty-btn {
    width: 44px;
    height: 44px;
  }

  .modal-close-btn {
    width: 44px;
    height: 44px;
  }

  .btn-small {
    min-height: 44px;
  }

  .checkout-panel-left,
  .checkout-panel-right,
  .payment-step-container,
  .order-confirmation-wrap {
    padding: 1.25rem 1rem;
  }

  .modal-header {
    padding: 1.1rem 1.25rem;
  }

  .checkout-steps-bar {
    padding: 1rem 1.25rem;
  }

  .specs-table th,
  .specs-table td {
    padding: 0.75rem 0.9rem;
  }

  .table-scroll-hint {
    display: inline-flex;
  }
}

/* True mobile phones only — tablets (e.g. 768px iPad) keep the 2-column
   grids set at the 1024px breakpoint above. */
@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 0.7rem;
  }

  .nav-actions {
    gap: 0.35rem;
  }

  .nav-cta-btn {
    padding: 0.5rem 0.6rem;
  }

  .nav-cta-btn .arrow-icon {
    display: none;
  }

  .mobile-menu-toggle span {
    width: 19px;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 2.3rem;
  }

  .hero-selection-pill {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0.65rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-perks {
    flex-direction: column;
    gap: 0.5rem;
  }

  .banner-helpline-link span,
  .whatsapp-btn span {
    display: none;
  }

  .stage-machine-switch {
    flex-direction: column;
    width: 100%;
  }

  .stage-pill-btn {
    justify-content: center;
  }

  .hero-mode-switcher {
    width: 100%;
  }

  .mode-pill-btn {
    flex: 1;
    text-align: center;
  }
}

/* ==========================================================================
   ACCOUNT, AUTHENTICATION & DASHBOARD
   ========================================================================== */
.nav-account-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 38px;
  padding: 0 0.95rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-pill);
  color: var(--text-primary);
  background: var(--bg-surface-2);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: all var(--t-fast);
  text-decoration: none;
  cursor: pointer;
}

.nav-account-link .nav-account-icon {
  color: var(--orange);
  flex-shrink: 0;
  transition: transform var(--t-fast);
}

.nav-account-link:hover {
  background: var(--orange-dim);
  border-color: var(--border-orange);
  color: var(--orange);
  transform: translateY(-1px);
}

.nav-account-link:hover .nav-account-icon {
  transform: scale(1.1);
}

.nav-account-link.is-auth {
  border-color: var(--border-orange);
  background: var(--orange-dim);
  color: var(--text-primary);
}

/* Placed after the base .nav-account-link rule above (not in the earlier
   RESPONSIVE — MOBILE block) so these mobile overrides actually win the
   cascade tie instead of being defeated by that later, unconditional rule. */
@media (max-width: 768px) {
  .nav-account-link {
    height: 34px;
    padding: 0 0.65rem;
    font-size: 0.74rem;
  }
}

@media (max-width: 480px) {
  /* Frees up header space for the brand logo, compact Buy Now button, and
     hamburger — full account access remains at the top of the mobile
     drawer via .nav-drawer-account. */
  .nav-account-link {
    display: none;
  }
}

.account-page {
  min-height: 100vh;
  background-color: var(--bg-base);
  color: var(--text-primary);
}

.auth-shell {
  width: min(100% - 2.25rem, 480px);
  margin: 0 auto;
  padding: 3.25rem 0 4rem;
}

.auth-brand,
.dashboard-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}

.auth-brand small,
.dashboard-brand small {
  color: var(--orange);
  font-size: 0.58em;
  letter-spacing: 0.12em;
  margin-left: 0.15rem;
}

.auth-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
}

.auth-panel {
  margin-top: 2.2rem;
  padding: 2.5rem;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  box-shadow: 0 16px 40px rgba(43, 36, 32, 0.08);
}

.auth-panel-heading h1,
.dashboard-heading h1 {
  margin: 0.2rem 0 0.65rem;
  font-family: var(--font-display);
  color: var(--text-primary);
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.05;
}

.auth-panel-heading p,
.dashboard-heading p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.auth-panel .section-kicker {
  margin-bottom: 0.65rem;
}

.account-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.account-form-field label,
.field-label {
  color: var(--text-primary);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.account-form-field label span {
  color: var(--text-muted);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.account-form-field input {
  width: 100%;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  background: #FAF5EC;
  color: var(--text-primary);
  padding: 0.72rem 0.85rem;
  font: inherit;
  font-size: 0.88rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

@media (max-width: 768px) {
  .account-form-field input {
    min-height: 44px;
    font-size: 16px;
  }
}

.account-form-field input:focus {
  outline: none;
  border-color: var(--border-orange);
  box-shadow: 0 0 0 3px var(--orange-dim);
}

.checkout-address-message {
  min-height: 1.35rem;
  color: var(--text-secondary);
  font-size: 0.76rem;
}

.checkout-address-message a,
.checkout-dashboard-link {
  color: var(--orange);
  font-weight: 700;
}

.checkout-dashboard-link {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.76rem;
}

.order-review-step {
  max-width: 720px;
  margin: 0 auto;
}

.order-review-summary {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.order-review-summary .panel-heading {
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.account-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.field-hint {
  color: var(--text-muted);
  font-size: 0.73rem;
}

.form-message,
.dashboard-message,
.inline-message {
  min-height: 1.45rem;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.form-message.error,
.dashboard-message.error,
.inline-message.error {
  color: #dc2626;
}

.form-message.success,
.dashboard-message.success,
.inline-message.success {
  color: #16a34a;
}

.auth-panel .form-message {
  margin: 1rem 0 0.2rem;
}

.auth-switch {
  margin-top: 1.4rem;
  color: var(--text-secondary);
  font-size: 0.82rem;
  text-align: center;
}

.auth-switch a,
.auth-back-link {
  color: var(--orange);
  font-weight: 700;
}

.auth-switch a:hover,
.auth-back-link:hover {
  color: var(--orange-hover);
}

.auth-back-link {
  display: block;
  margin-top: 1.5rem;
  font-size: 0.78rem;
  text-align: center;
  color: var(--text-secondary);
}

.btn-small {
  padding: 0.6rem 1rem;
  font-size: 0.78rem;
}

.btn:disabled,
button:disabled {
  cursor: wait;
  opacity: 0.6;
  transform: none;
}

.dashboard-page {
  min-height: 100vh;
  background-color: var(--bg-base);
  color: var(--text-primary);
}

.dashboard-loading {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  background-color: var(--bg-base);
}

.loading-ring {
  width: 18px;
  height: 18px;
  display: inline-block;
  border: 2px solid var(--border-subtle);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: accountSpin 0.8s linear infinite;
}

@keyframes accountSpin {
  to {
    transform: rotate(360deg);
  }
}

.loading-error {
  color: #dc2626;
}

.dashboard-topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(1.5rem, calc((100vw - var(--max-width)) / 2));
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(246, 238, 223, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.dashboard-top-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dashboard-home-link {
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
}

.dashboard-home-link:hover {
  color: var(--text-primary);
}

.logout-button {
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-pill);
  color: var(--text-primary);
  background: var(--bg-surface-2);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--t-fast);
}

.logout-button:hover {
  border-color: var(--border-orange);
  color: var(--orange);
  background: var(--orange-dim);
}

.dashboard-layout {
  width: min(100% - 3rem, 1240px);
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  gap: 3.5rem;
  margin: 0 auto;
  padding: 3.5rem 0 5rem;
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dashboard-user-mini {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-faint);
}

.dashboard-user-mini strong,
.dashboard-user-mini span:not(.avatar-circle) {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-user-mini strong {
  color: var(--text-primary);
  font-size: 0.82rem;
}

.dashboard-user-mini div>span {
  color: var(--text-muted);
  font-size: 0.7rem;
  margin-top: 0.1rem;
}

.avatar-circle,
.avatar-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--orange-dim);
  border: 1px solid var(--border-orange);
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 800;
}

.avatar-circle {
  width: 36px;
  height: 36px;
  font-size: 0.75rem;
}

.avatar-large {
  width: 54px;
  height: 54px;
  font-size: 1.1rem;
}

.dashboard-nav {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.5rem 0;
}

.dashboard-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.8rem;
  border-radius: var(--r-sm);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: left;
  transition: all var(--t-fast);
  background: transparent;
  border: none;
  cursor: pointer;
}

.dashboard-nav-link:hover,
.dashboard-nav-link.active {
  background: var(--orange-dim);
  color: var(--orange);
}

.sidebar-note {
  margin-top: auto;
  color: var(--text-muted);
  font-size: 0.7rem;
  line-height: 1.6;
}

.dashboard-main {
  min-width: 0;
}

.dashboard-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--border-faint);
}

.dashboard-heading h1 {
  margin-top: 0.1rem;
}

.account-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #16a34a;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.account-status span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 9px rgba(22, 163, 74, 0.4);
}

.dashboard-view {
  padding-top: 2.25rem;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.dashboard-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 1.45rem;
  box-shadow: 0 4px 16px rgba(43, 36, 32, 0.05);
}

.profile-summary-card {
  min-height: 230px;
}

.orders-summary-card {
  grid-column: 1 / -1;
}

.card-heading-row,
.section-panel-heading,
.address-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.card-eyebrow {
  display: block;
  color: var(--orange);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.dashboard-card h2,
.section-panel-heading h2 {
  margin-top: 0.25rem;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.dashboard-card h3 {
  color: var(--text-primary);
  font-size: 0.95rem;
}

.text-action {
  color: var(--orange);
  font-size: 0.73rem;
  font-weight: 800;
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
}

.text-action:hover {
  color: var(--orange-hover);
}

.danger-action {
  color: #dc2626;
}

.profile-summary-body {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 1.7rem 0 1.35rem;
}

.profile-summary-body p {
  color: var(--text-secondary);
  font-size: 0.78rem;
  margin-top: 0.12rem;
}

.summary-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border-faint);
  color: var(--text-muted);
  font-size: 0.72rem;
}

.summary-meta-row strong {
  color: var(--text-primary);
}

.overview-address-summary {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  min-height: 92px;
  padding: 1.4rem 0 0.7rem;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.overview-address-summary p {
  line-height: 1.55;
}

.overview-address-summary strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.mini-icon,
.orders-icon,
.empty-state-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-orange);
  border-radius: 50%;
  color: var(--orange);
  font-weight: 800;
}

.empty-orders {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
  margin-top: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.orders-icon {
  font-size: 1.35rem;
}

.section-panel-heading {
  margin-bottom: 1.5rem;
}

.section-panel-heading p {
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

.profile-panel {
  max-width: 720px;
}

.profile-readonly-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-faint);
}

.profile-readonly-grid strong,
.profile-readonly-grid small {
  display: block;
  margin-top: 0.35rem;
}

.profile-readonly-grid strong {
  color: var(--text-primary);
  font-size: 0.87rem;
  overflow-wrap: anywhere;
}

.profile-readonly-grid small {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 0.4rem;
}

.section-loading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 100px;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.address-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.address-card-heading h3 {
  margin-top: 0.25rem;
}

.default-badge {
  display: inline-flex;
  padding: 0.25rem 0.5rem;
  border-radius: var(--r-pill);
  background: var(--orange-dim);
  border: 1px solid var(--border-orange);
  color: var(--orange-light);
  font-size: 0.62rem;
  font-weight: 800;
  white-space: nowrap;
}

.address-card-details {
  min-height: 140px;
  padding: 1.25rem 0;
  color: var(--text-secondary);
  font-size: 0.79rem;
  line-height: 1.65;
}

.address-card-details p:first-child {
  color: var(--text-primary);
  font-weight: 700;
}

.address-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border-faint);
}

.empty-state,
.orders-empty-panel {
  text-align: center;
  padding: 3rem 1.5rem;
}

.empty-state-mark {
  margin-bottom: 0.8rem;
}

.empty-state p,
.orders-empty-panel p {
  margin: 0.4rem auto 1.2rem;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.overview-orders-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 1.2rem 0 0.4rem;
}

.overview-orders-summary strong {
  display: block;
  color: var(--text-primary);
}

.overview-orders-summary p {
  margin-top: 0.2rem;
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.order-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-card-heading {
  margin-bottom: 1rem;
}

.order-card-heading h3 {
  margin-top: 0.25rem;
}

.order-card-items {
  padding: 0.9rem 0;
  border-top: 1px solid var(--border-faint);
  border-bottom: 1px solid var(--border-faint);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.order-card-items .cost-line {
  font-size: 0.79rem;
}

.order-card-total {
  padding-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.order-card-total strong {
  color: var(--text-primary);
}

.dashboard-modal {
  z-index: 1200;
}

.address-modal {
  width: min(100%, 620px);
  max-height: 90vh;
  overflow: auto;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  box-shadow: 0 25px 60px rgba(43, 36, 32, 0.25);
}

.address-modal .modal-header {
  position: sticky;
  top: 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
}

.address-form {
  padding: 1.5rem 2rem 2rem;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-secondary);
  font-size: 0.8rem;
  cursor: pointer;
}

.checkbox-field input {
  accent-color: var(--orange);
  width: 16px;
  height: 16px;
}

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

@media (max-width: 900px) {
  .dashboard-layout {
    gap: 2rem;
  }

  .dashboard-sidebar {
    grid-column: 1 / -1;
  }

  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-user-mini {
    display: none;
  }

  .dashboard-nav {
    flex-direction: row;
    padding: 0;
    overflow-x: auto;
  }

  .dashboard-nav-link {
    flex: 0 0 auto;
  }

  .sidebar-note {
    display: none;
  }
}

@media (max-width: 600px) {
  .auth-shell {
    padding-top: 1.75rem;
  }

  .auth-panel {
    padding: 1.5rem;
  }

  .account-form-grid,
  .overview-grid,
  .address-grid,
  .profile-readonly-grid {
    grid-template-columns: 1fr;
  }

  .orders-summary-card {
    grid-column: auto;
  }

  .dashboard-topbar {
    padding: 0 1.1rem;
  }

  .dashboard-home-link {
    display: none;
  }

  .dashboard-layout {
    width: min(100% - 2.2rem, 1240px);
    padding-top: 2rem;
  }

  .dashboard-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-view {
    padding-top: 1.5rem;
  }

  .section-panel-heading {
    flex-direction: column;
  }

  .section-panel-heading>.btn {
    align-self: flex-start;
  }

  .address-form {
    padding: 1.2rem 1rem 1.5rem;
  }

  .address-modal .modal-header {
    padding: 1.1rem 1rem;
  }
}

/* =====================================================================
   ADMIN CONSOLE
   ===================================================================== */
.admin-page {
  min-height: 100vh;
  background-color: var(--bg-base);
  color: var(--text-primary);
}

.admin-shell {
  min-height: 100vh;
}

.admin-layout {
  width: min(100% - 3rem, 1240px);
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 3rem;
  margin: 0 auto;
  padding: 3.25rem 0 5rem;
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  min-height: 520px;
  min-width: 0;
}

.admin-sidebar h1 {
  margin-top: .35rem;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  margin-top: 2rem;
}

.admin-nav-link {
  padding: .75rem .85rem;
  border-radius: var(--r-sm);
  color: var(--text-secondary);
  font-size: .82rem;
  font-weight: 800;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--t-fast);
}

.admin-nav-link:hover,
.admin-nav-link.active {
  background: var(--orange-dim);
  color: var(--orange);
}

.admin-main {
  min-width: 0;
}

.admin-section {
  padding-top: .25rem;
}

.admin-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-faint);
}

.admin-heading h2 {
  margin-top: .25rem;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 2rem;
}

.admin-heading p {
  margin-top: .35rem;
  color: var(--text-secondary);
  font-size: .82rem;
}

.admin-toolbar {
  display: flex;
  gap: .5rem;
}

.admin-toolbar input,
.admin-detail-modal select {
  min-height: 38px;
  padding: .55rem .7rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  background: #FAF5EC;
  color: var(--text-primary);
  font: inherit;
  font-size: .78rem;
}

.admin-toolbar input:focus,
.admin-detail-modal select:focus {
  outline: none;
  border-color: var(--border-orange);
  box-shadow: 0 0 0 3px var(--orange-dim);
}

@media (max-width: 768px) {
  .admin-toolbar input,
  .admin-detail-modal select {
    min-height: 44px;
    font-size: 16px;
  }
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
}

.admin-stat-card strong {
  display: block;
  margin-top: 1rem;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 2rem;
}

.admin-table-wrap {
  margin-top: 1.5rem;
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  background: #FFFFFF;
  box-shadow: 0 4px 16px rgba(43, 36, 32, 0.05);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.admin-table th,
.admin-table td {
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--border-faint);
  color: var(--text-secondary);
  font-size: .76rem;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--text-muted);
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--bg-surface-2);
  border-bottom: 1px solid var(--border-subtle);
}

.admin-table tr[data-order-id],
.admin-table tr[data-customer-id] {
  cursor: pointer;
}

.admin-table tbody tr:hover {
  background: rgba(168, 92, 50, .06);
}

.admin-table strong,
.admin-table small {
  display: block;
}

.admin-table strong {
  color: var(--text-primary);
}

.admin-table small {
  margin-top: .2rem;
  color: var(--text-muted);
  font-size: .68rem;
}

.admin-status {
  display: inline-flex;
  padding: .25rem .5rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-pill);
  color: var(--text-primary);
  font-size: .65rem;
  font-weight: 800;
}

.status-confirmed,
.status-delivered {
  color: #16a34a;
  border-color: rgba(22, 163, 74, .35);
  background: rgba(22, 163, 74, .08);
}

.status-cancelled {
  color: #dc2626;
  border-color: rgba(220, 38, 38, .35);
  background: rgba(220, 38, 38, .08);
}

.status-pending {
  color: var(--orange);
  border-color: var(--border-orange);
  background: var(--orange-dim);
}

.status-processing,
.status-shipped {
  color: #2563eb;
  border-color: rgba(37, 99, 235, .35);
  background: rgba(37, 99, 235, .08);
}

.admin-empty {
  padding: 2rem !important;
  text-align: center !important;
}

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  padding: 1.2rem 0;
  color: var(--text-secondary);
  font-size: .75rem;
}

.admin-modal {
  z-index: 1300;
}

.admin-detail-modal {
  width: min(100%, 760px);
  max-height: 90vh;
  overflow: auto;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  box-shadow: 0 25px 60px rgba(43, 36, 32, 0.25);
}

.admin-detail-body {
  padding: 1.5rem 2rem 2rem;
  color: var(--text-secondary);
  font-size: .8rem;
}

.admin-detail-body h3 {
  margin: 1.5rem 0 .6rem;
  color: var(--text-primary);
  font-family: var(--font-display);
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.admin-detail-grid span,
.admin-detail-grid strong,
.admin-detail-grid small {
  display: block;
}

.payment-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 1rem 1.1rem;
  margin-bottom: .75rem;
  background: var(--bg-surface-2);
}

.payment-card .cost-line {
  font-size: .78rem;
  padding: .15rem 0;
  color: var(--text-secondary);
}

.payment-card-actions {
  display: flex;
  gap: .6rem;
  padding-top: .75rem;
}

.payment-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
}

.payment-settings-hint {
  margin-top: .5rem;
  color: var(--text-muted);
  font-size: .68rem;
  line-height: 1.5;
}

.payment-settings-form {
  max-width: 480px;
  margin-top: 1.5rem;
}

.qr-image-preview-wrap {
  margin: .5rem 0 1rem;
}

.qr-image-preview-wrap img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  background: #fff;
  border-radius: var(--r-sm);
  padding: 6px;
  border: 1px solid var(--border-subtle);
}

@media (max-width: 520px) {
  .payment-settings-grid {
    grid-template-columns: 1fr;
  }
}

.admin-detail-grid span {
  color: var(--text-muted);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-detail-grid strong {
  margin-top: .3rem;
  color: var(--text-primary);
}

.admin-detail-grid small {
  margin-top: .25rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.admin-detail-grid select {
  display: block;
  margin: .45rem 0;
}

@media (max-width: 800px) {
  .admin-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-top: 2rem;
  }

  .admin-sidebar {
    min-height: 0;
  }

  .admin-nav {
    flex-direction: row;
    margin-top: 1rem;
    overflow-x: auto;
    min-width: 0;
  }

  .admin-nav-link {
    flex: 0 0 auto;
  }

  .admin-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .admin-layout {
    width: min(100% - 2.2rem, 1240px);
  }

  .admin-stat-grid,
  .admin-detail-grid {
    grid-template-columns: 1fr;
  }

  .admin-toolbar {
    width: 100%;
  }

  .admin-toolbar input {
    flex: 1;
    min-width: 0;
  }

  .admin-detail-body {
    padding: 1.2rem 1rem 1.5rem;
  }
}