/* ============================================================
   J-BROK GAT-JET — GLOBAL STYLES v3.0
   Aesthetic: Warm Glassmorphism + Neumorphic Warmth
   Fonts: Nunito (display) + Nunito Sans (body) + JetBrains Mono (code)
   Light First | Full CMS Ready | Supabase-powered
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Nunito+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* ── DESIGN TOKENS (note.html warm glassmorphism) ─────────── */
:root {
  /* Backgrounds */
  --bg:             #f0ede8;
  --bg-2:           #e8e4dd;
  --bg-3:           #dedad2;
  /* Surfaces */
  --card:           rgba(255,255,255,0.72);
  --card-border:    rgba(255,255,255,0.92);
  --glass:          rgba(255,255,255,0.58);
  --glass2:         rgba(255,255,255,0.38);
  /* Shadows — neumorphic */
  --sh-up:          6px 6px 18px rgba(175,165,148,0.45), -4px -4px 12px rgba(255,255,255,0.88);
  --sh-in:          inset 3px 3px 8px rgba(175,165,148,0.32), inset -3px -3px 8px rgba(255,255,255,0.82);
  --sh-card:        8px 8px 24px rgba(155,145,128,0.38), -5px -5px 16px rgba(255,255,255,0.92);
  --sh-modal:       0 20px 60px rgba(100,90,76,0.28), 0 4px 20px rgba(100,90,76,0.12);
  /* Accent / brand */
  --primary:        #c0533a;
  --primary-h:      #b0492f;
  --primary-dim:    rgba(192,83,58,0.12);
  --accent:         #c0533a;
  --accent2:        rgba(192,83,58,0.12);
  --accent3:        rgba(192,83,58,0.06);
  /* Semantic colors */
  --teal:           #2a9d8f;
  --blue:           #4a7fa5;
  --amber:          #c97d30;
  --green:          #4caf7d;
  --yellow:         #e8b84b;
  --red:            #c0533a;
  --white:          #ffffff;
  /* Text */
  --text:           #3a3530;
  --text-muted:     #7a7168;
  --text-faint:     #b0a898;
  /* Legacy aliases used across pages */
  --card-border-legacy: rgba(175,165,148,0.28);
  /* Nav */
  --nav-bg:         rgba(240,237,232,0.94);
  /* Gradients */
  --gradient:       linear-gradient(135deg, #c0533a, #b0492f);
  /* Shadows (legacy names) */
  --shadow:         var(--sh-card);
  --shadow-lg:      var(--sh-modal);
  /* Fonts */
  --font-display:   'Nunito', sans-serif;
  --font-body:      'Nunito Sans', sans-serif;
  --font-mono:      'JetBrains Mono', monospace;
  /* Radius */
  --radius:         22px;
  --radius-sm:      14px;
  --radius-xs:      10px;
  /* Misc */
  --transition:     all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --ticker-bg:      #3a3530;
  --ticker-text:    #f0ede8;
  --sidebar-w:      260px;
}

/* ── DARK MODE ───────────────────────────────────────────── */
[data-theme="dark"] {
  --bg:             #1e1a16;
  --bg-2:           #261f19;
  --bg-3:           #2e261e;
  --card:           rgba(40,32,26,0.88);
  --card-border:    rgba(255,255,255,0.09);
  --glass:          rgba(255,255,255,0.06);
  --glass2:         rgba(255,255,255,0.04);
  --sh-up:          4px 4px 14px rgba(0,0,0,0.5), -3px -3px 10px rgba(255,255,255,0.04);
  --sh-in:          inset 3px 3px 8px rgba(0,0,0,0.4), inset -3px -3px 8px rgba(255,255,255,0.04);
  --sh-card:        6px 6px 20px rgba(0,0,0,0.5), -4px -4px 14px rgba(255,255,255,0.04);
  --sh-modal:       0 20px 60px rgba(0,0,0,0.6), 0 4px 20px rgba(0,0,0,0.4);
  --primary:        #d4664a;
  --primary-h:      #e07058;
  --primary-dim:    rgba(192,83,58,0.18);
  --accent:         #d4664a;
  --accent2:        rgba(212,102,74,0.18);
  --accent3:        rgba(212,102,74,0.08);
  --text:           #e8e2da;
  --text-muted:     #9a8e84;
  --text-faint:     #5a5048;
  --nav-bg:         rgba(22,18,14,0.96);
  --gradient:       linear-gradient(135deg, #d4664a, #b85038);
  --shadow:         var(--sh-card);
  --shadow-lg:      var(--sh-modal);
  --ticker-bg:      #d4664a;
  --ticker-text:    #ffffff;
}



/* ── RESET ───────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

a {
  text-decoration: none;
  color: inherit;
}

.nav-hide-desktop {
  display: none !important;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

input,
textarea,
select {
  font-family: var(--font-body);
  outline: none;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-2);
}

::-webkit-scrollbar-thumb {
  background: var(--card-border);
  border-radius: 100px;
}

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  line-height: 1.1;
  color: var(--text);
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(3rem, 7vw, 6rem);
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

h3 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0;
}

h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

/* ── LAYOUT ──────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--bg-2);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 580px;
  margin: 14px auto 0;
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
  padding: 5px 14px;
  background: var(--primary-dim);
  border: 1px solid rgba(192,83,58,0.3);
  border-radius: 100px;
}

.section-cta {
  text-align: center;
  margin-top: 52px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ── IMAGE PLACEHOLDERS ──────────────────────────────────── */
.img-placeholder {
  width: 100%;
  background: var(--bg-3);
  border: 2px dashed var(--card-border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0, 0, 0, 0.02) 10px, rgba(0, 0, 0, 0.02) 20px);
}

.img-placeholder i {
  font-size: 2rem;
  opacity: 0.4;
}

.img-placeholder span {
  opacity: 0.6;
  z-index: 1;
}

.img-placeholder.tall {
  height: 320px;
}

.img-placeholder.medium {
  height: 220px;
}

.img-placeholder.short {
  height: 160px;
}

.img-placeholder.square {
  height: 260px;
}

.img-placeholder.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(192,83,58,0.32);
}

.btn-primary:hover {
  background: var(--primary-h);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(192,83,58,0.42);
}

.btn-primary:active {
  transform: scale(0.97);
  box-shadow: none;
}

.btn-ghost {
  background: var(--bg);
  color: var(--text-muted);
  border: 1px solid var(--card-border);
  box-shadow: var(--sh-up);
}

.btn-ghost:hover {
  color: var(--text);
  box-shadow: var(--sh-card);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.82rem;
}

.btn-xs {
  padding: 6px 12px;
  font-size: 0.74rem;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-sm);
  justify-content: center;
}

.btn-danger {
  background: rgba(192, 83, 58, 0.12);
  color: var(--red);
  border: 1px solid rgba(192,83,58,0.2);
}

.btn-danger:hover {
  background: var(--red);
  color: #fff;
}

.btn-success {
  background: rgba(39, 223, 160, 0.12);
  color: var(--green);
  border: 1px solid rgba(39, 223, 160, 0.2);
}

.btn-success:hover {
  background: var(--green);
  color: #fff;
}

/* ── THEME TOGGLE ────────────────────────────────────────── */
.theme-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  cursor: pointer;
}

.theme-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-track {
  position: absolute;
  inset: 0;
  background: var(--bg-3);
  border-radius: 100px;
  border: 1.5px solid var(--card-border);
  transition: var(--transition);
}

.toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.theme-toggle input:checked+.toggle-track {
  background: var(--primary);
  border-color: var(--primary);
}

.theme-toggle input:checked+.toggle-track .toggle-thumb {
  transform: translateX(20px);
  background: #fff;
}

/* ── NAVBAR ──────────────────────────────────────────────── */
/* ── NAVBAR REDESIGN v3.0 ─────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: var(--nav-bg);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border-bottom: 1px solid rgba(200,190,175,0.35);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--sh-card); }

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 64px;
}

/* Logo */
.nav-logo { display: flex; align-items: center; flex-shrink: 0; margin-right: 8px; }
.nav-logo .logo-dark { display: block; }
.nav-logo .logo-light { display: none; }
[data-theme="light"] .nav-logo .logo-dark { display: none; }
[data-theme="light"] .nav-logo .logo-light { display: block; }

/* Nav links wrapper */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

/* Base link style — used for plain links AND dropdown triggers */
.nav-link {
  padding: 6px 11px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-xs);
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--accent3);
}
.nav-caret {
  font-size: 0.65rem;
  opacity: 0.6;
  transition: transform 0.2s;
}
.nav-dropdown.open .nav-caret { transform: rotate(180deg); }

/* ── Dropdown ──────────────────────────── */
.nav-dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(248,245,241,0.97);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255,255,255,0.92);
  border-radius: var(--radius);
  min-width: 200px;
  padding: 6px;
  box-shadow: var(--sh-modal);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 200;
}
/* Arrow tip */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 9px; height: 9px;
  background: rgba(248,245,241,0.97);
  border-left: 1px solid rgba(255,255,255,0.92);
  border-top: 1px solid rgba(255,255,255,0.92);
}

/* Open via hover (desktop) */
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  padding: 4px 10px 6px;
  opacity: 0.7;
}
.dropdown-divider {
  height: 1px;
  background: var(--card-border);
  margin: 4px 6px;
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  font-size: 0.855rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-xs);
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.dropdown-menu a i {
  width: 16px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--primary);
  opacity: 0.8;
}
.dropdown-menu a:hover {
  background: var(--bg-3);
  color: var(--text);
}
.dropdown-menu a:hover i { opacity: 1; }

/* ── Right-side action buttons ─────────── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-shrink: 0;
}

/* Generic icon button (theme, cart, user) */
.nav-icon-btn {
  background: none;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-icon-btn:hover { color: var(--text); background: var(--bg-3); }

/* Cart badge */
.cart-count {
  position: absolute;
  top: 4px; right: 4px;
  background: var(--primary);
  color: #fff;
  width: 16px; height: 16px;
  border-radius: 50%;
  font-size: 0.6rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
}

/* User icon — green dot when logged in */
.nav-user-btn { display: none; } /* hidden by default, shown via JS */
.nav-user-dot {
  position: absolute;
  bottom: 6px; right: 6px;
  width: 7px; height: 7px;
  background: var(--green, #27dfa0);
  border-radius: 50%;
  border: 1.5px solid var(--nav-bg, var(--bg));
}

/* Book Now — compact rectangle */
.nav-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff !important;
  padding: 7px 14px;
  border-radius: var(--radius-xs);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 6px;
}
.nav-book-btn:hover {
  background: var(--primary-dark, #c0303b);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(192,83,58,0.4);
}
.nav-book-btn.active { box-shadow: 0 0 0 2px rgba(192,83,58,0.4); }



/* ── Responsive: hide desktop-only items on mobile ── */
@media (max-width: 900px) {
  .nav-hide-mobile { display: none !important; }
  .nav-inner { gap: 4px; }
}

/* Legacy theme toggle compat */
.theme-minimal-btn {
  background: none; border: none;
  width: 38px; height: 38px;
  border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 1rem;
  cursor: pointer; transition: var(--transition);
}
.theme-minimal-btn:hover { color: var(--text); background: var(--bg-3); }

/* nav-cta kept for backward compat on any page still using it */
.nav-links .nav-cta {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--primary); color: #fff !important;
  padding: 7px 14px; border-radius: var(--radius-xs);
  font-weight: 700; font-size: .8rem;
  text-decoration: none; transition: var(--transition);
}
.nav-links .nav-cta:hover { opacity: .9; transform: translateY(-1px); }

/* nav-user-btn kept for compat */
.nav-user-btn {
  background: none; border: none;
  width: 38px; height: 38px;
  border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 1rem;
  cursor: pointer; transition: var(--transition);
  text-decoration: none; position: relative;
}
.nav-user-btn:hover { color: var(--primary); background: var(--bg-3); }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--card-border) 1px, transparent 1px), linear-gradient(90deg, var(--card-border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

/* ── HERO SLIDER ────────────────────────────────────────── */
.hero-slider-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 0.6;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), var(--bg));
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(192,83,58,0.15), transparent 70%);
  top: -10%;
  right: -5%;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(244, 162, 97, 0.1), transparent 70%);
  bottom: 10%;
  left: 5%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: var(--primary-dim);
  border: 1px solid rgba(192,83,58,0.3);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1
  }

  50% {
    transform: scale(1.4);
    opacity: 0.6
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.hero-title .highlight {
  color: var(--primary);
  display: block;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 460px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--card-border);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
}

.hero-img-main {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}

.hero-float-cards {
  position: absolute;
  bottom: -20px;
  left: -20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  white-space: nowrap;
}

.float-card i {
  color: var(--primary);
}

/* ── TICKER ──────────────────────────────────────────────── */
.ticker-wrap {
  background: var(--ticker-bg);
  color: var(--ticker-text);
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ticker {
  display: flex;
  gap: 0;
  animation: ticker 30s linear infinite;
  width: max-content;
}

.ticker span {
  padding: 0 36px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.ticker span::before {
  content: '◆';
  margin-right: 36px;
  opacity: 0.4;
  font-size: 0.6rem;
}

@keyframes ticker {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

.ticker-wrap:hover .ticker {
  animation-play-state: paused;
}

/* ── CARDS ───────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--sh-card);
  transition: var(--transition);
}

.card:hover {
  border-color: rgba(192,83,58,0.2);
  box-shadow: 10px 10px 28px rgba(155,145,128,0.42), -5px -5px 18px rgba(255,255,255,0.95);
}

.card-lg {
  padding: 32px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.card-title {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-action {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  text-decoration: none;
}

.card-action:hover {
  text-decoration: underline;
}

/* ── SERVICE CARDS ───────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  opacity: 0.04;
}

.service-card.featured {
  border-color: rgba(192,83,58,0.3);
  background: linear-gradient(135deg, var(--card), rgba(192,83,58,0.04));
}

.service-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 100px;
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-icon i {
  font-size: 1.2rem;
  color: var(--primary);
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.service-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── BLOG CARDS ──────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(192,83,58,0.2);
}

.blog-img-wrap {
  position: relative;
  overflow: hidden;
}

.blog-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  background: var(--primary-dim);
  padding: 3px 10px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 12px;
}

.blog-card h3 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.blog-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.blog-meta {
  font-size: 0.75rem;
  color: var(--text-faint);
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── REVIEW CARDS ────────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.review-stars {
  color: var(--accent);
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.review-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar-wrap {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.reviewer strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
}

.reviewer span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── PRODUCT CARDS ───────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-img {
  position: relative;
  overflow: hidden;
}

.product-body {
  padding: 18px;
}

.product-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.product-badge.new {
  background: rgba(75, 145, 255, 0.15);
  color: var(--blue);
}

.product-badge.sale {
  background: rgba(192,83,58,0.15);
  color: var(--red);
}

.product-card h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--primary);
  letter-spacing: 0.02em;
  display: block;
  margin-bottom: 14px;
}

.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--card-border);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ── FORMS ───────────────────────────────────────────────── */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.form-control {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid rgba(200,190,175,0.38);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 0.88rem;
  color: var(--text);
  box-shadow: var(--sh-in);
  transition: border-color .18s, box-shadow .18s;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: var(--sh-in), 0 0 0 3px rgba(192,83,58,0.1);
  outline: none;
}

.form-control::placeholder {
  color: var(--text-faint);
}

select.form-control {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%23b0a898' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 34px;
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-hint {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.input-group {
  position: relative;
}

.input-group .form-control {
  padding-left: 44px;
}

.input-group .input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-faint);
  font-size: 0.9rem;
  pointer-events: none;
}

/* ── ALERTS ──────────────────────────────────────────────── */
.alert {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  margin: 16px 0;
}

.alert-success {
  background: rgba(39, 223, 160, 0.1);
  border: 1px solid rgba(39, 223, 160, 0.3);
  color: var(--green);
}

.alert-error {
  background: rgba(192,83,58,0.1);
  border: 1px solid rgba(192,83,58,0.3);
  color: var(--red);
}

.alert-info {
  background: rgba(75, 145, 255, 0.1);
  border: 1px solid rgba(75, 145, 255, 0.3);
  color: var(--blue);
}

/* ── BADGES ──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge-red,
.badge-diagnosing {
  background: rgba(192,83,58,0.15);
  color: var(--red);
}

.badge-orange,
.badge-repairing {
  background: rgba(244, 162, 97, 0.2);
  color: var(--accent);
}

.badge-blue,
.badge-testing {
  background: rgba(75, 145, 255, 0.15);
  color: var(--blue);
}

.badge-green,
.badge-ready,
.badge-delivered {
  background: rgba(39, 223, 160, 0.15);
  color: var(--green);
}

.badge-muted,
.badge-cancelled {
  background: var(--bg-3);
  color: var(--text-muted);
}

.badge-purple {
  background: rgba(155, 107, 255, 0.15);
  color: #9b6bff;
}

.badge-yellow,
.badge-pending {
  background: rgba(255, 211, 64, 0.15);
  color: var(--yellow);
}

.badge-confirmed {
  background: rgba(39, 223, 160, 0.15);
  color: var(--green);
}

.badge-normal {
  background: var(--bg-3);
  color: var(--text-muted);
}

.badge-high {
  background: rgba(244, 162, 97, 0.2);
  color: var(--accent);
}

.badge-urgent {
  background: rgba(192,83,58,0.15);
  color: var(--red);
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: rgba(192,83,58,0.3);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  gap: 12px;
}

.faq-question i {
  color: var(--primary);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 22px 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ── BOOKING STEPPER ─────────────────────────────────────── */
.booking-steps-wrap {
  max-width: 700px;
  margin: 0 auto;
}

.step-bar {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.step-indicator {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--card);
  transition: var(--transition);
  flex-shrink: 0;
  z-index: 1;
}

.step-indicator.active {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-dim);
}

.step-indicator.done {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.step-line {
  flex: 1;
  height: 2px;
  background: var(--card-border);
  margin: 0 8px;
}

.step-line.done {
  background: var(--primary);
}

.step-progress-bar {
  height: 3px;
  background: var(--primary-dim);
  border-radius: 100px;
  margin-bottom: 40px;
}

.step-progress-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 100px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.booking-step {
  display: none;
  animation: fadeIn 0.3s ease;
}

.booking-step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--card-border);
  font-size: 0.9rem;
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-row span {
  color: var(--text-muted);
}

.summary-row strong {
  text-align: right;
}

/* ── CART DRAWER ─────────────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ── DESKTOP: compact dropdown from top-right ─── */
.cart-drawer {
  position: fixed;
  right: 20px;
  top: 70px;
  width: 340px;
  max-height: 500px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px) scale(0.96);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: top right;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.cart-drawer.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--card-border);
}

.cart-head h3 {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-head h3::before {
  content: '🛒';
  font-size: 1rem;
}

.cart-close {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-3);
  border: none;
  border-radius: 50%;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.15s;
}

.cart-close:hover {
  background: var(--primary-dim);
  color: var(--primary);
}

.cart-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-2);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 0.82rem;
  font-weight: 600;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 700;
}

.cart-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  flex-shrink: 0;
  transition: color 0.15s, background 0.15s;
}

.cart-remove:hover {
  color: var(--red);
  background: rgba(192,83,58,0.1);
}

.cart-foot {
  padding: 14px 16px;
  border-top: 1px solid var(--card-border);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 0.84rem;
}

.cart-total-row span:last-child {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.cart-foot .btn {
  padding: 9px 16px;
  font-size: 0.81rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.cart-foot-btns {
  display: flex;
  gap: 8px;
}

.cart-foot-btns .btn {
  flex: 1;
}

.empty-cart {
  text-align: center;
  padding: 40px 16px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ── MOBILE: bottom sheet ────────────────────────── */
@media (max-width: 640px) {
  .cart-overlay {
    /* Slightly lighter on mobile for bottom sheet feel */
    background: rgba(0,0,0,0.6);
  }

  .cart-drawer {
    /* Reset desktop positioning */
    right: 0;
    top: auto;
    left: 0;
    bottom: 0;
    width: 100%;
    max-height: 82svh;
    border-radius: 20px 20px 0 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-top: 1px solid var(--card-border);
    /* Bottom sheet animation: slide up */
    transform: translateY(100%);
    transform-origin: bottom center;
    opacity: 1; /* always visible, slide controls it */
    box-shadow: 0 -8px 40px rgba(0,0,0,0.4);
  }

  .cart-drawer::before {
    content: '';
    display: block;
    width: 36px;
    height: 4px;
    background: var(--card-border);
    border-radius: 4px;
    margin: 10px auto -2px;
    flex-shrink: 0;
  }

  .cart-drawer.open {
    transform: translateY(0);
    opacity: 1;
  }

  .cart-head {
    padding: 12px 16px 12px;
  }

  .cart-head h3 {
    font-size: 0.9rem;
  }

  .cart-list {
    padding: 10px 14px;
    gap: 8px;
    /* Safe area padding for home-bar devices */
    padding-bottom: env(safe-area-inset-bottom, 8px);
  }

  .cart-item {
    padding: 10px 12px;
    gap: 10px;
  }

  .cart-item-name {
    font-size: 0.84rem;
    white-space: normal;
  }

  .cart-foot {
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--card-border);
  }

  .cart-foot-btns {
    flex-direction: row;
    gap: 8px;
  }

  .cart-foot .btn {
    padding: 11px 12px;
    font-size: 0.83rem;
    border-radius: 12px;
  }

  .cart-total-row {
    margin-bottom: 10px;
    font-size: 0.86rem;
  }

  .cart-total-row span:last-child {
    font-size: 1.1rem;
  }

  .empty-cart {
    padding: 32px 16px;
  }
}

/* ── TRACK REPAIR ────────────────────────────────────────── */
.track-hero {
  padding: 72px 24px 56px;
  text-align: center;
}

.track-hero h1 {
  font-family: var(--font-display);
  font-size: 3.2rem;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.track-hero h1 span {
  color: var(--primary);
}

.track-hero p {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 auto 32px;
}

.search-wrap {
  max-width: 560px;
  margin: 0 auto;
}

.search-inner {
  display: flex;
  background: var(--card);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.search-inner:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(192,83,58,0.1);
}

.s-ico {
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
}

.s-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 15px 0;
  font-size: 0.92rem;
  color: var(--text);
  font-family: var(--font-body);
}

.s-btn {
  background: var(--gradient);
  color: #fff;
  border: none;
  padding: 0 28px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition);
}

.s-btn:hover {
  opacity: 0.9;
}

.track-result {
  max-width: 680px;
  margin: 36px auto;
  display: none;
}

.repair-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.repair-card-head {
  padding: 24px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.repair-id {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
}

.repair-card-body {
  padding: 24px;
}

.repair-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.meta-item label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 3px;
}

.meta-item span {
  font-size: 0.9rem;
  font-weight: 600;
}

.status-timeline {
  margin-top: 24px;
}

.timeline-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 24px;
  position: relative;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-step::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: var(--card-border);
}

.timeline-step:last-child::before {
  display: none;
}

.t-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  background: var(--card);
  z-index: 1;
}

.t-dot.done {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.t-dot.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  animation: pulse 2s infinite;
}

.t-info strong {
  font-size: 0.88rem;
  display: block;
  margin-bottom: 2px;
}

.t-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--card-border);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}



.social-btn {
  width: 36px;
  height: 36px;
  background: var(--bg-3);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.86rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-contact-item i {
  color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* Mobile Minimal Footer */
.footer-mobile-minimal {
  display: none;
  padding: 15px 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--card-border);
}

@media (max-width: 768px) {

  .footer-grid,
  .footer-bottom {
    display: none !important;
  }

  .footer-mobile-minimal {
    display: block;
  }

  .footer {
    padding: 20px 0;
  }
}

/* ── NEWSLETTER ──────────────────────────────────────────── */
.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 400px;
}

.newsletter-form input {
  flex: 1;
  background: var(--bg-3);
  border: 1.5px solid var(--card-border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 11px 16px;
  font-size: 0.88rem;
  color: var(--text);
  font-family: var(--font-body);
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--primary);
}

.newsletter-form button {
  background: var(--gradient);
  color: #fff;
  border: none;
  padding: 0 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
}

/* ── FLOATING ACTION BUTTON (AI + WA) ────────────────────── */
.fab-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 990;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 12px;
}

.fab-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(192,83,58,0.3);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 995;
  animation: fabPulse 3s ease-in-out infinite;
}

.fab-btn:hover {
  transform: scale(1.1);
  opacity: 1;
  box-shadow: 0 6px 24px rgba(192,83,58,0.4);
  animation: none;
}

.fab-icon-main {
  transition: opacity .2s, transform .3s;
}

.fab-icon-close {
  position: absolute;
  opacity: 0;
  transform: rotate(-90deg);
  transition: opacity .2s, transform .3s;
}

.fab-container.open .fab-icon-main {
  opacity: 0;
  transform: rotate(90deg);
}

.fab-container.open .fab-icon-close {
  opacity: 1;
  transform: rotate(0);
}

.fab-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 14px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 100px;
  color: var(--text);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  white-space: nowrap;
  transition: var(--transition);
  backdrop-filter: blur(12px);
}

.fab-option:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateX(-4px);
}

.fab-option i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
}

.fab-option:first-child i {
  background: var(--primary-dim);
  color: var(--primary);
}

.fab-option.fab-wa i {
  background: rgba(37, 211, 102, .12);
  color: #25d366;
}

@keyframes fabPulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(192, 83, 58, .4)
  }

  50% {
    box-shadow: 0 4px 20px rgba(192, 83, 58, .4), 0 0 0 8px rgba(192, 83, 58, .1)
  }
}

.fab-container.open .fab-btn {
  animation: none;
}

/* ── AI CHAT WIDGET ─────────────────────────────────────── */
.aiw-panel {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 400px;
  height: 520px;
  z-index: 1050;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 48px rgba(0, 0, 0, .35);
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(.92);
  transition: opacity .3s, transform .3s cubic-bezier(.4, 0, .2, 1)
}

.aiw-panel.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1)
}

@media(max-width:480px) {
  .aiw-panel {
    bottom: 84px;
    right: 16px;
    width: calc(100% - 32px);
    height: auto;
    max-height: calc(100vh - 160px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  }
}

.aiw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--gradient);
  color: #fff;
  flex-shrink: 0
}

.aiw-header-left {
  display: flex;
  align-items: center;
  gap: 10px
}

.aiw-orb {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem
}

.aiw-name {
  font-weight: 800;
  font-size: .88rem
}

.aiw-status {
  font-size: .68rem;
  opacity: .8;
  display: flex;
  align-items: center;
  gap: 4px
}

.aiw-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
  animation: waPulse 2s infinite
}

.aiw-header-actions {
  display: flex;
  gap: 4px
}

.aiw-hbtn {
  background: rgba(255, 255, 255, .15);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  transition: background .2s;
  text-decoration: none
}

.aiw-hbtn:hover {
  background: rgba(255, 255, 255, .3)
}

.aiw-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  scroll-behavior: smooth
}

.aiw-welcome {
  text-align: center;
  padding: 32px 16px
}

.aiw-msg {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  animation: aiwIn .25s ease both
}

.aiw-msg.user {
  flex-direction: row-reverse
}

@keyframes aiwIn {
  from {
    opacity: 0;
    transform: translateY(6px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.aiw-msg-av {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .58rem;
  font-weight: 800;
  background: var(--gradient);
  color: #fff;
  margin-top: 2px
}

.aiw-user-av {
  background: var(--bg-3) !important;
  color: var(--text-muted) !important
}

.aiw-msg-bub {
  padding: 10px 14px;
  border-radius: 2px 12px 12px 12px;
  background: var(--card);
  border: 1px solid var(--card-border);
  font-size: .82rem;
  line-height: 1.55;
  max-width: 270px
}

.aiw-msg-bub p {
  margin: 0 0 6px
}

.aiw-msg-bub p:last-child {
  margin: 0
}

.aiw-msg-bub ul {
  margin: 4px 0;
  padding-left: 16px
}

.aiw-msg-bub li {
  margin: 2px 0
}

.aiw-msg.user .aiw-msg-bub {
  background: var(--primary);
  color: #fff;
  border-radius: 12px 2px 12px 12px;
  border: none
}

.aiw-msg-time {
  font-size: .62rem;
  color: var(--text-muted);
  margin-top: 4px
}

.aiw-msg.user .aiw-msg-time {
  text-align: right
}

.aiw-dots {
  display: flex;
  gap: 4px;
  padding: 4px 0
}

.aiw-dots span {
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: tdot 1.2s ease infinite
}

.aiw-dots span:nth-child(2) {
  animation-delay: .2s
}

.aiw-dots span:nth-child(3) {
  animation-delay: .4s
}

@keyframes tdot {

  0%,
  60%,
  100% {
    transform: translateY(0)
  }

  30% {
    transform: translateY(-5px)
  }
}

.aiw-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px 10px;
  flex-shrink: 0
}

.aiw-chip {
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--card-border);
  background: var(--card);
  color: var(--text);
  font-size: .72rem;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap
}

.aiw-chip:hover {
  border-color: var(--primary);
  color: var(--primary)
}

.aiw-input-wrap {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px 12px 14px;
  border-top: 1px solid var(--card-border);
  background: var(--bg);
  flex-shrink: 0
}

.aiw-textarea {
  flex: 1;
  resize: none;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: .82rem;
  font-family: var(--font-body);
  background: var(--bg-2);
  color: var(--text);
  outline: none;
  max-height: 80px;
  transition: border-color .2s
}

.aiw-textarea:focus {
  border-color: var(--primary)
}

.aiw-send {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--gradient);
  border: none;
  color: #fff;
  font-size: .82rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .1s
}

.aiw-send:hover {
  transform: scale(1.08)
}

.aiw-send:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none
}

/* Removed full-screen mobile takeover - now a floating modal */


/* ── MOBILE BOTTOM NAV ──────────────────────────────────── */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background: rgba(240,237,232,0.95);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border-top: 1px solid rgba(200,190,175,0.45);
  padding: 4px 0 env(safe-area-inset-bottom, 4px);
  justify-content: space-around;
  align-items: center;
  transform: translateZ(0);
  will-change: transform;
  -webkit-transform: translateZ(0);
  touch-action: none;
}

.mobile-bottom-nav a,
.mobile-bottom-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 5px 6px;
  cursor: pointer;
  transition: color .15s;
  text-decoration: none;
  text-transform: uppercase;
  min-width: 42px
}

.mobile-bottom-nav a i,
.mobile-bottom-nav button i {
  font-size: 1.05rem
}

.mobile-bottom-nav a.active,
.mobile-bottom-nav a:hover,
.mobile-bottom-nav button.active,
.mobile-bottom-nav button:hover {
  color: var(--primary)
}

/* Center Book Now bubble */
.mobile-bottom-nav .bnav-book {
  position: relative;
  top: -10px;
  background: var(--gradient);
  color: #fff !important;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  padding: 0;
  justify-content: center;
  gap: 0;
  font-size: 0;
  box-shadow: 0 4px 18px rgba(192,83,58,0.4);
  border: 3px solid var(--nav-bg);
  flex-shrink: 0
}

.mobile-bottom-nav .bnav-book i {
  font-size: 1.15rem;
  color: #fff
}

/* More button */
.mobile-bottom-nav .bnav-more {
  color: var(--text-muted);
}

/* ── MORE MENU MODAL (replaces top hamburger) ─────────────── */
.bnav-more-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 820;
  background: var(--bg-2);
  border-top: 1px solid var(--card-border);
  border-radius: 22px 22px 0 0;
  padding: 0 0 env(safe-area-inset-bottom, 0);
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 -10px 50px rgba(0,0,0,.3);
  max-height: 90dvh;
  overflow-y: auto
}

.bnav-more-menu.open {
  transform: translateY(0)
}

.bmm-drag-handle {
  width: 36px;
  height: 4px;
  background: var(--card-border);
  border-radius: 2px;
  margin: 12px auto 0;
  flex-shrink: 0
}

.bmm-inner {
  padding: 16px 20px 28px
}

.bmm-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text-muted);
  margin-bottom: 18px
}

.bmm-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  font-size: .78rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .13s
}

.bmm-close:hover {
  background: var(--primary-dim);
  border-color: var(--primary);
  color: var(--primary)
}

/* Full nav list rows */
.bmm-nav-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 4px
}

.bmm-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  font-size: .88rem;
  font-weight: 600;
  transition: .13s
}

.bmm-nav-item i {
  width: 20px;
  text-align: center;
  font-size: .95rem;
  color: var(--primary);
  opacity: .8
}

.bmm-nav-item:hover,
.bmm-nav-item.active {
  background: var(--primary-dim);
  color: var(--primary)
}

.bmm-nav-item.active i {
  opacity: 1
}

.bmm-divider {
  height: 1px;
  background: var(--card-border);
  margin: 14px 0
}

/* Quick links grid */
.bmm-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 18px
}

.bmm-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 12px 6px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: .55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: .14s
}

.bmm-item i {
  font-size: 1.1rem;
  color: var(--primary)
}

.bmm-item:hover,
.bmm-item:active {
  background: var(--primary-dim);
  border-color: var(--primary);
  color: var(--primary)
}

/* Book a Repair CTA */
.bmm-book-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--gradient);
  color: #fff;
  font-size: .88rem;
  font-weight: 800;
  border-radius: 12px;
  text-decoration: none;
  letter-spacing: .02em;
  box-shadow: 0 4px 18px rgba(192,83,58,0.3);
  transition: .14s
}

.bmm-book-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px)
}

.bnav-more-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 815;
  background: rgba(0,0,0,.70);
  backdrop-filter: blur(4px)
}

.bnav-more-overlay.open {
  display: block
}

@media(max-width:768px) {
  .mobile-bottom-nav {
    display: flex
  }

  body {
    padding-bottom: 72px
  }

  .fab-container {
    bottom: 82px
  }

  .install-banner {
    bottom: 82px
  }
}

/* ── INSTALL BANNER ──────────────────────────────────────── */
.install-banner {
  position: fixed;
  bottom: 96px;
  right: 28px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 988;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  max-width: 320px;
}

.install-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.install-banner p {
  font-size: 0.82rem;
  line-height: 1.4;
  flex: 1;
}

.install-banner p strong {
  display: block;
  margin-bottom: 2px;
}

.install-banner .btn-primary {
  padding: 8px 14px;
  font-size: 0.78rem;
}

.install-dismiss {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 4px;
}

/* ── TOAST ───────────────────────────────────────────────── */
#toast {
  position: fixed;
  bottom: 90px;
  right: 28px;
  z-index: 9999;
  background: rgba(248,245,241,0.97);
  border: 1px solid rgba(200,190,175,0.55);
  color: var(--text);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(100,90,76,0.22);
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
  opacity: 0;
  transform: translateY(14px);
  border-left: 3.5px solid var(--primary);
  white-space: nowrap;
}

/* ── MODAL ───────────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(50,44,38,0.42);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal.open,
.modal[open] {
  display: flex;
}

.modal-box {
  background: rgba(248,245,241,0.97);
  backdrop-filter: blur(32px) saturate(220%);
  -webkit-backdrop-filter: blur(32px) saturate(220%);
  border: 1px solid rgba(255,255,255,0.94);
  border-radius: var(--radius);
  padding: 32px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--sh-modal);
  animation: modalPop 0.28s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes modalPop {
  from { transform: scale(0.90) translateY(18px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

.modal-box.modal-lg {
  max-width: 780px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg);
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: var(--sh-up);
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--primary);
  transform: rotate(90deg);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 24px;
  color: var(--text);
}

/* ── TABLE ───────────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background: var(--bg-2);
}

thead th {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  white-space: nowrap;
}

tbody tr {
  border-top: 1px solid var(--card-border);
  transition: var(--transition);
}

tbody tr:hover {
  background: var(--bg-2);
}

tbody td {
  padding: 12px 16px;
  font-size: 0.88rem;
  vertical-align: middle;
}

/* ── SIDEBAR (Admin/Repair Dash) ─────────────────────────── */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-right: 1px solid rgba(200,190,175,0.4);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 200;
  overflow-y: auto;
  transition: transform 0.3s ease;
}

.sidebar-logo {
  padding: 22px 18px 16px;
  border-bottom: 1px solid rgba(200,190,175,0.35);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(192,83,58,0.3);
}

.sidebar-logo-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
}

.sidebar-logo-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 1px;
}

.nav-section {
  padding: 14px 10px 4px;
}

.nav-label {
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  padding: 0 8px;
  margin-bottom: 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius-xs);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  text-decoration: none;
}

.nav-item:hover {
  background: var(--accent3);
  color: var(--primary);
}

.nav-item.active {
  background: var(--accent2);
  color: var(--primary);
  font-weight: 700;
  box-shadow: var(--sh-up);
}

.nav-item i {
  width: 16px;
  text-align: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.nav-item .nav-badge {
  margin-left: auto;
  background: var(--primary);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
}

.admin-main {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-height: 100vh;
}

.admin-topbar {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(200,190,175,0.35);
  padding: 0 28px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
}

.topbar-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-content {
  padding: 28px;
}

.page-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.page-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.section-page {
  display: none;
}

.section-page.active {
  display: block;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--card-border);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
}

/* ── STAT CARDS ──────────────────────────────────────────── */
.stat-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--sh-card);
}

.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--stat-color, var(--primary));
  border-radius: 0 0 var(--radius) var(--radius);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 10px 10px 28px rgba(155,145,128,0.42), -5px -5px 18px rgba(255,255,255,0.95);
}

.stat-icon {
  width: 40px;
  height: 40px;
  background: rgba(192, 83, 58, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: var(--sh-up);
}

.stat-icon i {
  font-size: 1rem;
  color: var(--stat-color, var(--primary));
}

.stat-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-change {
  font-size: 0.72rem;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
}

.stat-change.up {
  color: var(--green);
}

.stat-change.down {
  color: var(--red);
}

/* ── KANBAN ──────────────────────────────────────────────── */
.kanban-board {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 16px;
}

.kanban-col {
  min-width: 270px;
  max-width: 300px;
  flex-shrink: 0;
}

.kanban-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-2);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border: 1px solid rgba(200,190,175,0.4);
  border-bottom: none;
  margin-bottom: 0;
}

.kanban-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.kanban-col-count {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 10px;
}

.kanban-cards {
  background: var(--bg-2);
  border: 1px solid var(--card-border);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 120px;
}

.kanban-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.kanban-card:hover {
  border-color: rgba(192,83,58,0.3);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.kanban-card-id {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.kanban-card-name {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.kanban-card-device {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.kanban-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── NOTES ───────────────────────────────────────────────── */
.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.note-card {
  border-radius: var(--radius-sm);
  padding: 18px;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

.note-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.note-card.pinned {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.note-pin {
  position: absolute;
  top: -8px;
  right: 14px;
  color: var(--primary);
  font-size: 0.9rem;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width:1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 60px 20px;
  }

  .hero-visual {
    display: none;
  }

  .hero-title {
    font-size: clamp(2.8rem, 10vw, 4.5rem);
  }



  .navbar {
    padding: 0 16px;
  }

  .nav-inner {
    padding: 0;
    justify-content: space-between;
  }

  .nav-hide-desktop {
    display: flex !important;
  }

  .nav-hide-mobile {
    display: none !important;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .admin-main {
    margin-left: 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .admin-content {
    padding: 16px;
  }

  .kanban-board {
    flex-direction: column;
  }

  .kanban-col {
    min-width: unset;
    max-width: unset;
  }

  .cart-drawer {
    width: 100%;
  }

  .repair-meta {
    grid-template-columns: 1fr;
  }

  .step-bar {
    display: none;
  }

  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
  }
}

@media (max-width:480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 64px 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .search-inner {
    display: grid;
    grid-template-columns: 48px 1fr;
    border-radius: var(--radius);
  }

  .s-input {
    padding: 14px 0;
  }

  .s-btn {
    grid-column: span 2;
    padding: 14px;
    border-radius: 0 0 var(--radius) var(--radius);
  }
}

/* ── MISC UTILITIES ──────────────────────────────────────── */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gap-2 {
  gap: 8px;
}

.gap-3 {
  gap: 12px;
}

.gap-4 {
  gap: 16px;
}

.mt-2 {
  margin-top: 8px;
}

.mt-3 {
  margin-top: 12px;
}

.mb-3 {
  margin-bottom: 12px;
}

.mb-4 {
  margin-bottom: 16px;
}

.text-sm {
  font-size: 0.82rem;
}

.text-xs {
  font-size: 0.72rem;
}

.text-muted {
  color: var(--text-muted);
}

.text-primary {
  color: var(--primary);
}

.text-center {
  text-align: center;
}

.font-mono {
  font-family: var(--font-mono);
}

.w-full {
  width: 100%;
}

.hidden {
  display: none !important;
}

.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

.loading-dots::after {
  content: '...';
  animation: dots 1.2s steps(4, end) infinite;
}

@keyframes dots {

  0%,
  20% {
    content: '.'
  }

  40% {
    content: '..'
  }

  60%,
  100% {
    content: '...'
  }
}

.divider {
  border: none;
  border-top: 1px solid var(--card-border);
  margin: 24px 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--bg-3);
  border: 1px solid var(--card-border);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}

.empty-state i {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 16px;
  opacity: 0.3;
}

.empty-state p {
  font-size: 0.9rem;
}

.qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--bg-2);
  border-radius: var(--radius-sm);
}

.skeleton {
  background: linear-gradient(90deg, var(--bg-3) 25%, var(--bg-2) 50%, var(--bg-3) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-xs);
}

@keyframes shimmer {
  0% {
    background-position: 200% 0
  }

  100% {
    background-position: -200% 0
  }
}

.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ── RESPONSIVE TABLES (mobile card view) ────────────────── */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--card-border)
}

@media(max-width:640px) {
  .table-responsive table thead {
    display: none
  }

  .table-responsive table,
  .table-responsive table tbody,
  .table-responsive table tr,
  .table-responsive table td {
    display: block;
    width: 100%
  }

  .table-responsive table tr {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    padding: 12px 14px
  }

  .table-responsive table td {
    border: none;
    padding: 4px 0;
    font-size: .85rem;
    display: flex;
    justify-content: space-between;
    align-items: center
  }

  .table-responsive table td::before {
    content: attr(data-label);
    font-weight: 700;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
    margin-right: 12px;
    flex-shrink: 0
  }
}

/* ── TOUCH-FRIENDLY TARGETS ─────────────────────────────── */
@media(max-width:768px) {
  .btn {
    min-height: 44px
  }

  .form-control {
    min-height: 44px;
    font-size: 16px
  }

  select.form-control {
    min-height: 44px
  }

  .modal-close {
    min-width: 44px;
    min-height: 44px
  }

  .filter-btn {
    min-height: 40px
  }

  .faq-question {
    min-height: 52px
  }
}

/* ══════════════════════════════════════════════════════
   J-BROK v4.0 — Mobile App Layer + New Components
   ══════════════════════════════════════════════════════ */

/* ── BOOKING PROGRESS ──────────────────────────────── */
.booking-progress {
  display: flex;
  align-items: center;
  margin-bottom: 28px;
  gap: 0;
}

.bp-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  transition: color .3s;
  flex-shrink: 0;
}

.bp-step span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 2px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 800;
  transition: all .3s;
}

.bp-step.active {
  color: var(--primary);
}

.bp-step.active span {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.bp-step.done span {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.bp-line {
  flex: 1;
  height: 2px;
  background: var(--card-border);
  margin: 0 6px;
  margin-bottom: 16px;
}

/* ── MOBILE APP FEEL — bottom safe area ────────────── */
@supports (padding: env(safe-area-inset-bottom)) {
  .mobile-bottom-nav {
    padding-bottom: calc(6px + env(safe-area-inset-bottom));
  }
}

/* ── LOGO IMG THEME SWITCHING ───────────────────────── */
[data-theme="dark"] .logo-light {
  display: none;
}

[data-theme="dark"] .logo-dark {
  display: block;
}

[data-theme="light"] .logo-dark {
  display: none;
}

[data-theme="light"] .logo-light {
  display: block;
}

.logo-img {
  display: none;
}

[data-theme="dark"] .logo-dark {
  display: block;
}

.theme-minimal-btn {
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.15rem;
  transition: var(--transition);
  border-radius: 50%;
}

.theme-minimal-btn:hover {
  color: var(--primary);
  background: var(--primary-dim);
}

/* ── AI CHAT WIDGET ─────────────────────────────────── */

/* Theme switch slider removed for minimal icon button */

/* ── INSTALL BANNER ─────────────────────────────────── */
.install-banner {
  position: fixed;
  bottom: 80px;
  left: 16px;
  right: 16px;
  z-index: 900;
  transform: translateY(120%);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}

.install-banner.show {
  transform: translateY(0);
}

.install-banner-inner {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
}

/* ── FOOTER ENHANCEMENTS ────────────────────────────── */
.footer {
  background: #07070f;
  border-top: 1px solid rgba(255, 255, 255, .05);
  padding: 64px 0 32px;
  position: relative;
  overflow: hidden;
}

.footer-map-bg {
  position: absolute;
  inset: 0;
  background-image: url('media/footer/map.png');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  filter: grayscale(100%);
  z-index: 0;
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: .88rem;
  margin: 14px 0 20px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 36px;
  height: 36px;
  background: var(--bg-3);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: .85rem;
  transition: all .2s;
}

.social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.footer-col h4 {
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: .88rem;
  transition: color .2s;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  font-size: .88rem;
}

.footer-contact li i {
  color: var(--primary);
  margin-top: 2px;
  width: 14px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .05);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: .82rem;
}

.footer-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-badges span {
  font-size: .72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-badges span i {
  color: var(--primary);
}

.footer-badges a {
  transition: var(--transition);
}

.footer-badges a:hover span {
  color: var(--primary);
  opacity: 0.8;
}

@media(max-width:768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Cart mobile styles handled by 640px breakpoint in base styles */
}

@media(max-width:480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ── MOBILE APP ENHANCEMENTS ────────────────────────── */
@media(max-width:768px) {
  .section {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  h2 {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
  }

  /* Touch-optimized cards */
  .service-card,
  .review-card,
  .blog-card,
  .product-card {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  /* Better mobile form inputs */
  .form-control {
    font-size: 16px !important;
  }

  /* Prevent iOS zoom */

  /* Mobile summary row in booking */
  .summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--bg-2);
    border-radius: var(--radius-xs);
    font-size: .88rem;
    gap: 12px;
  }

  .summary-row strong {
    color: var(--text);
    text-align: right;
  }

  /* Booking progress on mobile */
  .bp-step span {
    width: 28px;
    height: 28px;
    font-size: .78rem;
  }

  .bp-step {
    font-size: .6rem;
  }

  /* Hero mobile */
  .hero-inner {
    flex-direction: column;
    gap: 32px;
  }

  .hero-visual {
    display: none;
  }

  .hero-content {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }
}

/* ── MOBILE APP STATUS BAR FEEL ─────────────────────── */
@media(max-width:768px) {
  .navbar {
    padding: 0;
  }

  .nav-inner {
    padding: 0 16px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-logo {
    flex-shrink: 0;
  }

  .nav-links {
    display: none !important;
  }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 0;
  }

  .theme-minimal-btn,
  .nav-cart-btn {
    width: 38px;
    height: 38px;
  }
}

/* ── QUICK ACCESS CARDS (mobile home) ───────────────── */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.quick-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 16px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  transition: all .2s;
  cursor: pointer;
}

.quick-card:hover {
  border-color: var(--primary);
  background: var(--primary-dim);
}

.quick-card i {
  font-size: 1.4rem;
  color: var(--primary);
}

.quick-card span {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
}

@media(max-width:480px) {
  .quick-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .quick-card {
    padding: 12px 6px;
  }

  .quick-card i {
    font-size: 1.2rem;
  }

  .quick-card span {
    font-size: .6rem;
  }
}

/* ── AI CHAT WIDGET ─────────────────────────────────── */
.ai-chat-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 990;
  width: 52px;
  height: 52px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 4px 16px rgba(192,83,58,0.3);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  opacity: 0.6;
  animation: fabPulse 3s ease-in-out infinite;
}

.ai-chat-fab:hover {
  transform: scale(1.1);
  opacity: 1;
  animation: none;
}

.ai-chat-window {
  position: fixed;
  bottom: 90px;
  right: 28px;
  width: min(340px, calc(100vw - 32px));
  max-height: 480px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 990;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(.9) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
  transform-origin: bottom right;
}

.ai-chat-window.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.ai-chat-header {
  padding: 14px 16px;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: .88rem;
}

.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-msg {
  max-width: 85%;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: .84rem;
  line-height: 1.5;
}

.ai-msg.bot {
  background: var(--bg-2);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.ai-msg.user {
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.ai-chat-input {
  padding: 10px 12px;
  border-top: 1px solid var(--card-border);
  display: flex;
  gap: 8px;
}

.ai-chat-input input {
  flex: 1;
  background: var(--bg-2);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: .84rem;
  color: var(--text);
}

.ai-chat-input button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  cursor: pointer;
}

@media(max-width:768px) {
  .ai-chat-fab {
    bottom: 84px;
    right: 16px;
  }

  .ai-chat-window {
    right: 16px;
    bottom: 84px;
    width: min(340px, calc(100vw - 32px));
  }
}

/* ── BOOKING PROGRESS STEP DONE STATE ───────────────── */
.bp-line.done {
  background: var(--green);
}

.bp-step.done span {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.bp-step.done {
  color: var(--green);
}