/* ==========================================================================
   Devaura — Main Stylesheet
   Minimalist, warm, editorial. Inspired by devaura.co.in reference.
   ========================================================================== */

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: #1a1a1a;
  background: #FAF7F2;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; }
:focus-visible { outline: 2px solid #c94937; outline-offset: 2px; }

/* CSS variables */
:root {
  --maroon-50: #fdf2f1;
  --maroon-100: #fbe5e3;
  --maroon-200: #f5c4bf;
  --maroon-300: #eba096;
  --maroon-400: #dd6f60;
  --maroon-500: #c94937;
  --maroon-600: #a8392b;
  --maroon-700: #7a2a20;
  --maroon-800: #5e1f17;
  --maroon-900: #42150e;
  --gold-300: #dec564;
  --gold-400: #cdac3d;
  --gold-500: #b8960c;
  --gold-600: #937609;
  --ivory: #FAF7F2;
  --ivory-dark: #F2EDE3;
  --border: #ebe5d5;
  --text: #1a1a1a;
  --text-muted: #6b6255;
  --text-light: #73685a;
  --success: #16a34a;
  --danger: #dc2626;
  --shadow-sm: 0 2px 4px rgba(94, 31, 23, 0.06);
  --shadow-md: 0 6px 20px -4px rgba(94, 31, 23, 0.12);
  --shadow-lg: 0 18px 40px -12px rgba(94, 31, 23, 0.18);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --container: 1200px;
  --nav-h: 76px;
}

/* Typography */
.font-serif { font-family: 'Fraunces', Georgia, serif; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  color: var(--maroon-900);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
p { color: var(--text); }

/* Layout */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; width: 100%; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; width: 100%; }
main { flex: 1; }
section { padding: 80px 0; }
.section-tight { padding: 48px 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: 14px; letter-spacing: 0.02em;
  transition: all 0.2s ease; text-align: center; white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, #dd6f60, #c94937);
  color: white;
  box-shadow: 0 4px 12px -2px rgba(201, 73, 55, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -4px rgba(201, 73, 55, 0.45); }
.btn-secondary {
  background: white; color: var(--maroon-700);
  border: 1.5px solid var(--maroon-700);
}
.btn-secondary:hover { background: var(--maroon-50); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.12); color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.22); }
.btn-dark {
  background: var(--maroon-900); color: white;
}
.btn-dark:hover { background: var(--maroon-800); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 18px 36px; font-size: 15px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* Header */
.site-header {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.logo-mark {
  width: 42px; height: 42px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.logo-text {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.65rem; font-weight: 500;
  color: var(--maroon-900); letter-spacing: -0.02em;
}
.logo-text .accent { color: var(--gold-400); }

.main-nav {
  display: flex; align-items: center; gap: 32px;
}
.main-nav a {
  font-size: 14px; font-weight: 500; color: var(--maroon-900);
  transition: color 0.15s ease;
  padding: 6px 0; position: relative;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--maroon-500);
}
.main-nav a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--gold-400);
}

.nav-actions {
  display: flex; align-items: center; gap: 12px;
}
.cart-btn, .icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ivory-dark);
  display: flex; align-items: center; justify-content: center;
  color: var(--maroon-800);
  position: relative; transition: background 0.15s ease;
}
.cart-btn:hover, .icon-btn:hover { background: var(--maroon-100); }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  background: var(--maroon-500); color: white;
  font-size: 11px; font-weight: 700;
  min-width: 20px; height: 20px; border-radius: 10px;
  padding: 0 5px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid white;
}
.cart-count.hidden { display: none; }

.user-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: white; font-weight: 600; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s ease;
}
.user-avatar:hover { transform: scale(1.05); }

.mobile-toggle {
  display: none;
  width: 40px; height: 40px; padding: 10px;
}
.mobile-toggle span {
  display: block; width: 100%; height: 2px;
  background: var(--maroon-900); margin: 4px 0;
  transition: transform 0.2s ease;
}

@media (max-width: 900px) {
  .main-nav {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: white; border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px;
    display: none;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--ivory-dark); }
  .main-nav a:last-child { border-bottom: none; }
  .mobile-toggle { display: block; }
}

/* Hero */
.hero {
  position: relative;
  background: #42150e;
  color: white;
  overflow: hidden;
  min-height: 640px;
  display: flex; align-items: center;
}
.hero-video, .hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(66, 21, 14, 0.85) 0%, rgba(94, 31, 23, 0.55) 60%, rgba(122, 42, 32, 0.25) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; padding: 80px 24px; }
.hero-content { max-width: 720px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  font-size: 13px; margin-bottom: 24px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
}
.hero h1 { color: white; margin-bottom: 20px; }
.hero h1 .accent { color: var(--gold-400); }
.hero-lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.65;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 24px;
  font-size: 13px; color: rgba(255, 255, 255, 0.8);
}
.hero-trust span::before { content: '✓ '; color: var(--gold-400); font-weight: 700; }

/* Section headers */
.section-header {
  text-align: center;
  max-width: 620px; margin: 0 auto 48px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--maroon-500); margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p {
  color: var(--text-muted); font-size: 1.05rem;
}

/* Cards */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--maroon-200);
}
.card-img {
  width: 100%; aspect-ratio: 4 / 3;
  object-fit: cover;
  background: linear-gradient(135deg, var(--maroon-100), var(--maroon-200));
  color: transparent; /* hides alt text on broken images */
}
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-meta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.05em;
  color: var(--maroon-500); text-transform: uppercase; margin-bottom: 10px;
}
.card h3 {
  font-size: 1.35rem; margin-bottom: 8px;
}
.card-desc {
  color: var(--text-muted); font-size: 0.9rem;
  margin-bottom: 16px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-rating {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 16px;
}
.card-rating .stars { color: var(--gold-400); }
.card-footer {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding-top: 16px; margin-top: auto;
  border-top: 1px solid var(--ivory-dark);
}
.card-price-label { font-size: 11px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.05em; }
.card-price {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem; font-weight: 600; color: var(--maroon-900);
}

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Trust band */
.trust-band {
  background: var(--ivory-dark);
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}
.trust-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.5rem; font-weight: 600;
  color: var(--maroon-700);
  line-height: 1;
}
.trust-label {
  font-size: 13px; color: var(--text-muted);
  margin-top: 6px;
}

/* Steps (how it works) */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.step {
  text-align: center;
}
.step-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon-50), var(--maroon-100));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.75rem;
}
.step h4 { font-size: 1.15rem; color: var(--maroon-800); margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--text-muted); }

/* Footer */
.site-footer {
  background: #2d0f09;
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 24px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand { max-width: 300px; }
.footer-brand p { font-size: 0.9rem; margin-top: 16px; color: rgba(255,255,255,0.6); }
.footer-brand .logo-text { color: white; }
.footer-heading {
  color: white;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-list { list-style: none; }
.footer-list li { margin-bottom: 10px; }
.footer-list a {
  color: rgba(255, 255, 255, 0.65); font-size: 14px;
  transition: color 0.15s ease;
}
.footer-list a:hover { color: var(--gold-400); }
.footer-socials { display: flex; gap: 12px; margin-top: 16px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease;
}
.footer-socials a:hover { background: var(--maroon-600); }
.newsletter-form {
  display: flex; gap: 8px;
  margin-top: 12px;
}
.newsletter-form input {
  flex: 1; padding: 10px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px; color: white; font-size: 14px;
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.5); }
.newsletter-form button {
  padding: 10px 18px;
  background: var(--gold-400); color: var(--maroon-900);
  border-radius: 8px; font-weight: 600; font-size: 14px;
}
.newsletter-form button:hover { background: var(--gold-300); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
}

/* Page header (for sub-pages) */
.page-header {
  background: linear-gradient(135deg, var(--maroon-800), var(--maroon-900));
  color: white;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: 'ॐ';
  font-family: 'Tiro Devanagari Hindi', serif;
  position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  font-size: 24rem; line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}
.page-header h1 { color: white; margin-bottom: 12px; position: relative; }
.page-header p { color: rgba(255, 255, 255, 0.8); font-size: 1.1rem; max-width: 640px; position: relative; }
.breadcrumb {
  font-size: 13px; color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px; position: relative;
}
.breadcrumb a { color: var(--gold-400); }
.breadcrumb a:hover { color: white; }

/* Product detail layout */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: flex-start;
}
.product-media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--maroon-100), var(--maroon-200));
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 8rem;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { margin-bottom: 12px; }
.product-info-meta {
  display: flex; gap: 16px; margin: 16px 0 24px;
  font-size: 14px; color: var(--text-muted);
}
.product-info-meta span { display: flex; align-items: center; gap: 6px; }
.product-info-desc {
  color: var(--text-muted); font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 32px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}
.info-item {
  background: white; padding: 16px;
  border: 1px solid var(--border); border-radius: var(--radius);
}
.info-item-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-light); margin-bottom: 4px;
}
.info-item-value {
  font-weight: 600; color: var(--maroon-900);
}

.inclusions {
  background: white;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}
.inclusions h3 { margin-bottom: 20px; }
.inclusions ul { list-style: none; }
.inclusions li {
  padding-left: 32px; position: relative;
  margin-bottom: 12px; color: var(--text);
}
.inclusions li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: #dcfce7; color: #16a34a;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}

.sidebar {
  position: sticky; top: calc(var(--nav-h) + 16px);
  display: flex; flex-direction: column; gap: 16px;
}
.sidebar-card {
  background: white;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.sidebar-card h4 {
  font-size: 1.1rem; margin-bottom: 14px;
}

/* Day type selector */
.daytype-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
}
.daytype-btn {
  padding: 12px 8px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: white;
  font-size: 12px;
  transition: all 0.15s ease;
  text-align: center;
}
.daytype-btn:hover { border-color: var(--maroon-300); }
.daytype-btn.active {
  border-color: var(--maroon-600);
  background: var(--maroon-50);
  color: var(--maroon-900);
}
.daytype-btn strong { display: block; font-weight: 600; }
.daytype-btn small { font-size: 10px; opacity: 0.7; }

/* Toggle */
.toggle-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 12px;
}
.toggle-row-info { flex: 1; }
.toggle-title { font-weight: 600; color: var(--maroon-900); font-size: 15px; }
.toggle-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.toggle {
  width: 48px; height: 26px; background: #d4c9b8;
  border-radius: 999px; position: relative;
  transition: background 0.2s ease; cursor: pointer;
  flex-shrink: 0;
}
.toggle.on { background: var(--maroon-500); }
.toggle::after {
  content: ''; position: absolute; top: 2px; left: 2px;
  width: 22px; height: 22px; background: white; border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  transition: left 0.2s ease;
}
.toggle.on::after { left: 24px; }

/* Package cards */
.package-list {
  display: flex; flex-direction: column; gap: 12px;
}
.package-card {
  padding: 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s ease;
  background: white;
  position: relative;
}
.package-card:hover { border-color: var(--maroon-300); }
.package-card.selected {
  border-color: var(--gold-400);
  background: #fbf8ec;
  box-shadow: 0 0 0 4px rgba(205, 172, 61, 0.15);
}
.package-card.popular { border-color: var(--maroon-500); }
.package-card .badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--maroon-500), var(--maroon-600));
  color: white; font-size: 11px; font-weight: 600;
  padding: 4px 12px; border-radius: 999px;
  white-space: nowrap;
}
.package-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 6px;
}
.package-name { font-family: 'Fraunces', serif; font-size: 1.15rem; font-weight: 600; color: var(--maroon-900); }
.package-desc { font-size: 12px; color: var(--text-muted); }
.package-price {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem; font-weight: 600; color: var(--maroon-900);
  text-align: right;
}
.package-price small { display: block; font-size: 10px; color: var(--text-light); font-weight: 400; font-family: 'Plus Jakarta Sans', sans-serif; }

/* Price breakdown */
.price-breakdown { font-size: 14px; }
.price-line {
  display: flex; justify-content: space-between;
  padding: 6px 0;
  color: var(--text);
}
.price-line .muted { color: var(--text-muted); }
.price-line.total {
  border-top: 1px solid var(--border);
  margin-top: 8px; padding-top: 12px;
  font-family: 'Fraunces', serif;
  font-size: 1.35rem; font-weight: 600;
  color: var(--maroon-900);
}
.pill {
  display: inline-flex; align-items: center;
  padding: 2px 8px; border-radius: 999px;
  font-size: 10px; font-weight: 600;
  background: var(--maroon-500); color: white;
  margin-left: 4px;
}

/* Forms */
.form-group { margin-bottom: 20px; }
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
label {
  display: block;
  font-size: 13px; font-weight: 500;
  color: var(--maroon-900); margin-bottom: 6px;
}
input[type="text"], input[type="email"], input[type="password"],
input[type="tel"], input[type="date"], input[type="number"],
textarea, select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
  font-size: 14px;
  color: var(--text);
  transition: border 0.15s ease, box-shadow 0.15s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--maroon-500);
  box-shadow: 0 0 0 3px rgba(201, 73, 55, 0.12);
}
textarea { resize: vertical; min-height: 96px; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.form-error {
  background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c;
  padding: 12px 14px; border-radius: 10px; font-size: 13px;
  margin-bottom: 16px;
}
.form-success {
  background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d;
  padding: 12px 14px; border-radius: 10px; font-size: 13px;
  margin-bottom: 16px;
}
.checkbox-row {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 16px 0;
}
.checkbox-row input[type="checkbox"] {
  margin-top: 4px; width: 16px; height: 16px; accent-color: var(--maroon-500);
}
.checkbox-row label {
  font-size: 13px; color: var(--text-muted); font-weight: 400;
  line-height: 1.5; margin: 0;
}
.checkbox-row label a { color: var(--maroon-600); text-decoration: underline; }

/* Auth pages */
.auth-page {
  min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center; justify-content: center;
  padding: 40px 24px;
  background: linear-gradient(135deg, var(--ivory) 0%, var(--ivory-dark) 100%);
}
.auth-card {
  width: 100%; max-width: 440px;
  background: white;
  padding: 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.auth-header { text-align: center; margin-bottom: 32px; }
.auth-header .logo-mark { margin: 0 auto 16px; width: 64px; height: 64px; }
.auth-header h1 { font-size: 1.75rem; margin-bottom: 8px; }
.auth-header p { color: var(--text-muted); font-size: 0.95rem; }
.auth-footer {
  text-align: center;
  margin-top: 20px; padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 14px; color: var(--text-muted);
}
.auth-footer a {
  color: var(--maroon-700); font-weight: 600;
  text-decoration: none;
}
.auth-footer a:hover { color: var(--maroon-500); }

/* Booking flow */
.progress-bar {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 720px; margin: 0 auto 40px;
}
.progress-step {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-light); font-size: 13px; font-weight: 500;
}
.progress-step.active { color: var(--maroon-700); }
.progress-step.done { color: var(--success); }
.progress-num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--ivory-dark); color: var(--text-light);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 14px;
  transition: all 0.2s ease;
}
.progress-step.active .progress-num {
  background: var(--maroon-700); color: white;
}
.progress-step.done .progress-num {
  background: var(--success); color: white;
}
.progress-line {
  flex: 1; height: 2px; background: var(--ivory-dark);
  margin: 0 12px;
}
.progress-line.done { background: var(--success); }
@media (max-width: 640px) {
  .progress-step span { display: none; }
}

.booking-panel {
  max-width: 720px; margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.booking-panel h2 { margin-bottom: 8px; }
.booking-panel > p { color: var(--text-muted); margin-bottom: 32px; }

.date-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px;
}
.date-btn {
  padding: 10px 4px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: white;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.date-btn:hover { border-color: var(--maroon-300); }
.date-btn.active {
  border-color: var(--maroon-600);
  background: var(--maroon-50);
  color: var(--maroon-900);
}
.date-btn small { font-size: 10px; color: var(--text-muted); display: block; }
.date-btn strong { font-size: 15px; font-weight: 600; color: var(--maroon-900); display: block; }
.date-btn .month { font-size: 10px; color: var(--text-muted); display: block; }

.time-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px;
}
.time-btn {
  padding: 10px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: white;
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}
.time-btn:hover { border-color: var(--maroon-300); }
.time-btn.active {
  border-color: var(--maroon-600);
  background: var(--maroon-50);
  color: var(--maroon-900);
}
.time-btn:disabled {
  opacity: 0.4; cursor: not-allowed;
  text-decoration: line-through;
}

.booking-mode-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px;
}
.booking-mode-btn {
  padding: 20px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: white;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}
.booking-mode-btn:hover { border-color: var(--maroon-300); }
.booking-mode-btn.active {
  border-color: var(--maroon-600);
  background: var(--maroon-50);
}
.booking-mode-btn strong { display: block; color: var(--maroon-900); font-size: 15px; margin-bottom: 4px; }
.booking-mode-btn small { color: var(--text-muted); font-size: 12px; }

.booking-actions {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 32px;
}

.review-summary {
  background: var(--ivory);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}
.review-summary-head { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.review-summary h3 { font-size: 1.25rem; }
.review-summary small { color: var(--text-muted); font-size: 13px; }
.review-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px;
  margin-bottom: 20px;
}
.review-item {
  background: white;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
}
.review-item small { display: block; color: var(--text-light); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.review-item strong { font-weight: 600; color: var(--maroon-900); }

.payment-mode-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.payment-mode-btn {
  padding: 14px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: white;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}
.payment-mode-btn.active {
  border-color: var(--maroon-600); background: var(--maroon-50);
}
.payment-mode-btn strong { display: block; color: var(--maroon-900); font-size: 14px; }
.payment-mode-btn small { color: var(--text-muted); font-size: 12px; }

/* Confirmation */
.confirmation-hero {
  text-align: center;
  padding: 60px 20px;
}
.confirmation-icon {
  width: 96px; height: 96px; border-radius: 50%;
  background: #dcfce7; color: #16a34a;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
  margin: 0 auto 24px;
}
.confirmation-hero h1 { margin-bottom: 12px; }
.confirmation-hero p { color: var(--text-muted); font-size: 1.1rem; }
.booking-id {
  display: inline-block;
  background: var(--maroon-50); color: var(--maroon-700);
  padding: 8px 20px; border-radius: 999px;
  font-weight: 500; font-size: 14px;
  margin-top: 16px;
}

/* Profile */
.profile-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: flex-start;
}
.profile-sidebar {
  position: sticky; top: calc(var(--nav-h) + 24px);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.profile-user {
  padding: 32px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, var(--maroon-50), var(--ivory-dark));
}
.profile-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: white; font-size: 28px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.profile-user h4 { font-family: 'Fraunces', serif; font-size: 1.1rem; color: var(--maroon-900); }
.profile-user small { display: block; margin-top: 4px; color: var(--text-muted); font-size: 12px; word-break: break-all; }
.profile-nav { padding: 12px; }
.profile-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  color: var(--text); font-size: 14px; font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.profile-nav-item:hover { background: var(--ivory-dark); }
.profile-nav-item.active { background: var(--maroon-700); color: white; }
.profile-nav-item.danger { color: #b91c1c; }
.profile-content {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.profile-content h2 { font-size: 1.75rem; margin-bottom: 24px; }
.profile-section { display: none; }
.profile-section.active { display: block; animation: fadeIn 0.3s ease; }

@media (max-width: 800px) {
  .profile-layout { grid-template-columns: 1fr; }
  .profile-sidebar { position: static; }
}

/* Booking cards in profile */
.booking-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 12px;
}
.booking-card-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  margin-bottom: 8px;
}
.booking-card-id { font-size: 11px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.05em; }
.booking-card h4 { font-size: 1.1rem; color: var(--maroon-900); margin: 4px 0; }
.status-badge {
  display: inline-block;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
  white-space: nowrap;
}
.status-confirmed { background: #dcfce7; color: #166534; }
.status-pending { background: #fef3c7; color: #92400e; }
.status-completed { background: #dbeafe; color: #1e40af; }
.status-cancelled { background: #fee2e2; color: #991b1b; }

/* Empty states */
.empty {
  text-align: center; padding: 60px 20px;
  color: var(--text-muted);
}
.empty-icon { font-size: 3rem; margin-bottom: 16px; }
.empty h3 { color: var(--maroon-900); font-size: 1.25rem; margin-bottom: 8px; }
.empty p { margin-bottom: 20px; }

/* Shop / product grid */
.shop-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  margin-bottom: 32px;
}
.shop-count { color: var(--text-muted); font-size: 14px; }
.shop-sort select { padding: 8px 12px; width: auto; }
.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--maroon-200);
}
.product-card-img {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--ivory-dark), var(--maroon-100));
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  overflow: hidden;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card-body { padding: 20px; }
.product-card h4 {
  font-family: 'Fraunces', serif; font-size: 1.05rem;
  color: var(--maroon-900); margin-bottom: 8px;
  min-height: 42px;
}
.product-card-price {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem; font-weight: 600; color: var(--maroon-900);
  margin-bottom: 12px;
}

/* Cart */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
}
.cart-items {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--ivory-dark), var(--maroon-100));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}
.cart-item-info h5 { font-family: 'Fraunces', serif; color: var(--maroon-900); margin-bottom: 4px; }
.cart-item-info small { color: var(--text-muted); font-size: 12px; }
.qty-control {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); border-radius: 8px;
  padding: 4px;
}
.qty-btn {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--ivory-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; color: var(--maroon-700);
}
.qty-btn:hover { background: var(--maroon-100); }
.qty-num { min-width: 30px; text-align: center; font-weight: 600; }
.cart-item-price {
  font-family: 'Fraunces', serif; font-weight: 600;
  color: var(--maroon-900);
}
.cart-item-remove {
  color: var(--text-light); font-size: 12px;
  margin-top: 4px;
}
.cart-item-remove:hover { color: var(--danger); }

.cart-summary {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky; top: calc(var(--nav-h) + 24px);
}
.cart-summary h3 { margin-bottom: 20px; }

@media (max-width: 800px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 60px 1fr; gap: 12px; }
  .cart-item-img { width: 60px; height: 60px; }
  .qty-control, .cart-item-price { grid-column: 1 / -1; }
  .product-detail { grid-template-columns: 1fr; }
}

/* Contact page */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}
.contact-info {
  background: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.contact-info h3 { margin-bottom: 24px; }
.contact-detail {
  display: flex; gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.contact-detail:last-child { border-bottom: none; padding-bottom: 0; }
.contact-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--maroon-50); color: var(--maroon-700);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}
.contact-detail h5 { color: var(--maroon-900); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; margin-bottom: 2px; }
.contact-detail p { color: var(--text-muted); font-size: 14px; margin: 0; }

@media (max-width: 800px) {
  .contact-layout { grid-template-columns: 1fr; gap: 24px; }
}

/* About page */
.about-hero {
  padding: 80px 0;
}
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-hero-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.about-hero-images img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-hero-images img:first-child { transform: translateY(-16px); }
.about-content h2 { margin-bottom: 20px; }
.about-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.testimonial {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--gold-400);
  max-width: 720px; margin: 0 auto;
}
.testimonial-quote {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  color: var(--maroon-900);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
}
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon-200), var(--maroon-300));
  display: flex; align-items: center; justify-content: center;
  color: var(--maroon-800); font-weight: 600;
}
.testimonial-author strong { display: block; color: var(--maroon-900); }
.testimonial-author small { color: var(--text-muted); font-size: 12px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.3s ease;
}
.gallery-grid img:hover { transform: scale(1.02); }

@media (max-width: 800px) {
  .about-hero-grid { grid-template-columns: 1fr; }
  .about-hero-images img:first-child { transform: none; }
}

/* Email preview */
.email-preview-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: flex-start;
}
.email-list {
  display: flex; flex-direction: column; gap: 6px;
}
.email-list-item {
  padding: 14px 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.email-list-item:hover { border-color: var(--maroon-300); }
.email-list-item.active {
  background: var(--maroon-700);
  color: white;
  border-color: var(--maroon-700);
}
.email-list-item strong { display: block; font-size: 13px; margin-bottom: 4px; }
.email-list-item small { font-size: 11px; color: var(--text-muted); }
.email-list-item.active small { color: rgba(255,255,255,0.7); }
.email-preview-panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.email-when {
  background: var(--maroon-50);
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--maroon-800);
}
.email-header {
  padding: 24px;
  border-bottom: 1px solid var(--border);
}
.email-header small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-light); margin-bottom: 4px; }
.email-header h3 { font-size: 1.15rem; color: var(--maroon-900); }
.email-body {
  padding: 24px;
  font-size: 14px;
  line-height: 1.75;
  white-space: pre-wrap;
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
@media (max-width: 800px) {
  .email-preview-layout { grid-template-columns: 1fr; }
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--maroon-900);
  color: white;
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  font-size: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  max-width: 340px;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

/* Utilities */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--maroon-700); color: white;
  padding: 10px 20px; border-radius: 0 0 8px 8px;
  font-weight: 600; font-size: 14px; z-index: 200;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.35s ease-out; }

/* Print */
@media print {
  .site-header, .site-footer, .btn { display: none !important; }
  body { background: white; }
}

/* Mobile fixes — placed last so they win the cascade over base rules above */
@media (max-width: 640px) {
  .booking-panel { padding: 24px 16px; border-radius: var(--radius-lg); }
  .auth-card { padding: 28px 20px; }
  .date-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .date-btn { padding: 8px 2px; }
}
@media (max-width: 420px) {
  .date-grid { grid-template-columns: repeat(3, 1fr); }
}
