/* =============================================
   SOUTH INDIAN WEDDING PLANNER - STYLE.CSS
   Themes: Kanjivaram · Jasmine Bloom · Marigold Sunrise
   ============================================= */

/* ─── THEME: Kanjivaram Silk (default) ─────────────────────────────
   Inspired by the deep crimson & gold of Kanjivaram silk sarees.
   ─────────────────────────────────────────────────────────────────── */
:root {
  --maroon: #800000;
  --maroon-dark: #5A0000;
  --maroon-light: #A52A2A;
  --gold: #D4AF37;
  --gold-light: #F1D37E;
  --gold-pale: #F9E7B3;
  --cream: #FFFDF5;
  --cream-dark: #F5F0E1;
  --saffron: #DAA520;
  --green-accent: #2D7D46;
  --text-dark: #2C1810;
  --text-mid: #5C4033;
  --text-light: #8B7355;
  --white: #FFFFFF;
  --header-bg: #800000;
  --header-text: #FFFDF5;
  --pill-active: #800000;
  --card-border: rgba(212, 175, 55, 0.25);
  --card-sel-bg: #FFFCF0;
  --body-grad1: rgba(212, 175, 55, 0.08);
  --body-grad2: rgba(128, 0, 0, 0.05);
  --shadow-color: 128, 0, 0;
  --shadow-sm: 0 2px 8px rgba(128, 0, 0, 0.12);
  --shadow-md: 0 6px 24px rgba(128, 0, 0, 0.18);
  --shadow-lg: 0 12px 48px rgba(128, 0, 0, 0.22);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ─── THEME: Jasmine Bloom ──────────────────────────────────────────
   Inspired by fresh jasmine garlands, banana leaves & vibhuti white.
   Forest green header, ivory body, gold accents.
   ─────────────────────────────────────────────────────────────────── */
[data-theme="jasmine"] {
  --maroon: #1A5C2E;
  --maroon-dark: #0F3D1E;
  --maroon-light: #2D8045;
  --gold: #B8860B;
  --gold-light: #D4A81A;
  --gold-pale: #F0DFA0;
  --cream: #F4FAF5;
  --cream-dark: #E1F0E4;
  --saffron: #C9922A;
  --green-accent: #1A5C2E;
  --text-dark: #0F2E18;
  --text-mid: #2D5A3A;
  --text-light: #5A8A68;
  --white: #FFFFFF;
  --header-bg: #1A5C2E;
  --header-text: #F4FAF5;
  --pill-active: #1A5C2E;
  --card-border: rgba(26, 92, 46, 0.22);
  --card-sel-bg: #EDFBF1;
  --body-grad1: rgba(26, 92, 46, 0.07);
  --body-grad2: rgba(184, 134, 11, 0.07);
  --shadow-color: 26, 92, 46;
  --shadow-sm: 0 2px 8px rgba(26, 92, 46, 0.12);
  --shadow-md: 0 6px 24px rgba(26, 92, 46, 0.16);
  --shadow-lg: 0 12px 48px rgba(26, 92, 46, 0.20);
}

/* ─── THEME: Marigold Sunrise ───────────────────────────────────────
   Inspired by marigold flower strings, turmeric & temple saffron.
   Burnt amber header, warm cream body, terracotta accents.
   ─────────────────────────────────────────────────────────────────── */
[data-theme="marigold"] {
  --maroon: #B5451B;
  --maroon-dark: #8A2E0D;
  --maroon-light: #D4622E;
  --gold: #E8961A;
  --gold-light: #F5B830;
  --gold-pale: #FDEAB0;
  --cream: #FFFAEE;
  --cream-dark: #F5EDCC;
  --saffron: #C9501A;
  --green-accent: #4A7C59;
  --text-dark: #2E1505;
  --text-mid: #6B3A1F;
  --text-light: #A06030;
  --white: #FFFFFF;
  --header-bg: #B5451B;
  --header-text: #FFFAEE;
  --pill-active: #B5451B;
  --card-border: rgba(181, 69, 27, 0.22);
  --card-sel-bg: #FFF8EC;
  --body-grad1: rgba(232, 150, 26, 0.10);
  --body-grad2: rgba(181, 69, 27, 0.08);
  --shadow-color: 181, 69, 27;
  --shadow-sm: 0 2px 8px rgba(181, 69, 27, 0.12);
  --shadow-md: 0 6px 24px rgba(181, 69, 27, 0.18);
  --shadow-lg: 0 12px 48px rgba(181, 69, 27, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("https://vliyer.com/lp/lp-rangoli-white.png");
  opacity: 0.4;
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 0%, var(--body-grad1) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, var(--body-grad2) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* ---- UTILITIES ---- */
.hidden {
  display: none !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--maroon);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--gold-pale), transparent);
}

/* ---- BUTTONS ---- */
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--saffron));
  color: var(--white);
  border: 1px solid var(--gold-light);
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 146, 42, 0.45);
}

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

.btn-gold.btn-full {
  width: 100%;
  font-size: 1.05rem;
  padding: 14px;
  margin-top: 8px;
}

.btn-outline {
  background: transparent;
  color: var(--maroon);
  border: 2px solid var(--maroon);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--maroon);
  color: var(--white);
}

.btn-text {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 0.88rem;
  margin-top: 12px;
  text-decoration: underline;
  width: 100%;
  text-align: center;
}

.btn-text:hover {
  color: var(--maroon);
}

/* ---- HEADER ---- */
.site-header {
  background-color: var(--maroon);
  background-image: url("https://vliyer.com/lp/lp-rangoli-white.png");
  background-size: 500px;
  background-repeat: repeat-x;
  background-blend-mode: soft-light;
  color: var(--header-text);
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
  border-bottom: 2px solid var(--gold);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  font-size: 2rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.brand-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1.2;
  border: 2px solid var(--gold);
  padding: 4px 12px;
  display: inline-block;
  letter-spacing: 1px;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--gold-pale);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 4px;
}

.header-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-items: center;
  flex-wrap: wrap;
}

/* Make outline buttons readable on the dark maroon header */
.site-header .btn-outline {
  color: var(--cream);
  border-color: rgba(255, 255, 255, 0.45);
}

.site-header .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-color: var(--white);
}

/* ---- SETUP MODAL ---- */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 26, 14, 0.72);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.setup-modal {
  background: var(--white);
  border-radius: 24px;
  padding: 48px 40px;
  max-width: 500px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 1px solid var(--gold-pale);
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.setup-icon {
  font-size: 3.5rem;
  margin-bottom: 12px;
}

.setup-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--maroon);
  margin-bottom: 8px;
}

.setup-sub {
  color: var(--text-light);
  font-size: 0.92rem;
  margin-bottom: 28px;
  line-height: 1.5;
}

.setup-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: 0.3px;
}

.label-hint {
  font-weight: 400;
  color: var(--text-light);
  font-size: 0.8rem;
}

.form-group input,
.form-group select {
  padding: 12px 16px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201, 146, 42, 0.15);
}

.input-hint {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* ---- MAIN APP ---- */
.app-main {
  padding-bottom: 60px;
}

/* ---- DASHBOARD ---- */
.dashboard-section {
  background: linear-gradient(160deg, var(--maroon-dark), var(--maroon));
  padding: 36px 0 40px;
  position: relative;
  overflow: hidden;
}

.dashboard-section::before {
  content: '🌺 🪷 🌺 🪷 🌺 🪷 🌺 🪷 🌺 🪷 🌺';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  letter-spacing: 12px;
  opacity: 0.2;
  white-space: nowrap;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.budget-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.budget-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.15);
}

.budget-card::after {
  content: attr(data-glow);
  position: absolute;
  bottom: -10px;
  right: -10px;
  font-size: 4rem;
  opacity: 0.08;
}

.card-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.card-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.card-icon {
  font-size: 1.4rem;
  position: absolute;
  top: 20px;
  right: 20px;
  opacity: 0.8;
}

.card-remaining .card-value {
  color: #7BF0A2;
}

.card-remaining.over-budget .card-value {
  color: #FF7B7B;
}

/* ---- PROGRESS BAR ---- */
.progress-section {
  margin-bottom: 28px;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  margin-bottom: 8px;
  font-weight: 500;
}

.progress-bar-track {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  height: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-light), var(--saffron));
  border-radius: 50px;
  width: 0%;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.progress-bar-fill.over {
  background: linear-gradient(90deg, #FF7B7B, #D63031);
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 8px;
  right: 8px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50px;
}

.budget-warning {
  margin-top: 12px;
  background: rgba(214, 48, 49, 0.25);
  border: 1px solid rgba(255, 100, 100, 0.5);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  color: #FFB3B3;
  font-size: 0.9rem;
  text-align: center;
}

/* ---- CHART ---- */
.chart-section {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.chart-section .section-title {
  color: var(--gold-light);
  margin-bottom: 16px;
}

.chart-section .section-title::after {
  background: linear-gradient(to right, rgba(232, 184, 75, 0.3), transparent);
}

.chart-container {
  position: relative;
  max-height: 300px;
  display: flex;
  justify-content: center;
}

.chart-container canvas {
  max-height: 280px;
}

.chart-empty {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  margin: 40px auto;
  text-align: center;
}

/* ---- FILTER SECTION ---- */
.filter-section {
  padding: 28px 0 0;
}

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 14px;
}

.filter-header .section-title {
  margin-bottom: 0;
}

.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  padding: 6px 18px;
  border-radius: 50px;
  border: 2px solid var(--cream-dark);
  background: var(--white);
  color: var(--text-mid);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.pill:hover {
  border-color: var(--maroon);
  color: var(--maroon);
}

.pill.active {
  background: var(--maroon);
  color: var(--white);
  border-color: var(--maroon);
}

.guest-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-mid);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 10px 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 2px solid var(--cream-dark);
  width: fit-content;
}

.inline-input {
  width: 80px;
  border: 1px solid var(--cream-dark);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  text-align: center;
}

.title-input {
  width: 250px;
  text-align: left;
}

.filter-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---- SERVICES GRID ---- */
.services-section {
  padding: 48px 0;
  background-color: #FFFDE7;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--gold-pale);
  border-bottom: 1px solid var(--gold-pale);
}

.services-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://vliyer.com/lp/lp-rangoli-white.png");
  background-size: 500px;
  opacity: 0.1;
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* ---- SERVICE CARD ---- */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  border: 2px solid var(--cream-dark);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--saffron));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  border-color: var(--gold-pale);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card.selected {
  border-color: var(--maroon);
  background: linear-gradient(135deg, #FFF5F5, #FFF9F0);
  box-shadow: 0 4px 20px rgba(123, 28, 28, 0.2);
}

.service-card.selected::before {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--maroon), var(--maroon-light));
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.card-category-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--gold);
  padding: 3px 10px;
  border-radius: 50px;
  flex-shrink: 0;
}

.card-toggle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2.5px solid var(--cream-dark);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  margin-top: 2px;
}

.service-card.selected .card-toggle {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--white);
}

.card-toggle-check {
  display: none;
  font-size: 0.75rem;
  color: var(--white);
}

.service-card.selected .card-toggle-check {
  display: block;
}

.card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.card-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 14px;
}

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

.card-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--maroon);
  font-family: 'Playfair Display', serif;
}

.card-unit {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 500;
  background: var(--cream-dark);
  padding: 2px 8px;
  border-radius: 50px;
}

.card-total-cost {
  font-size: 0.8rem;
  color: var(--maroon);
  font-weight: 600;
  margin-top: 8px;
  background: rgba(123, 28, 28, 0.07);
  border-radius: 6px;
  padding: 4px 10px;
  display: none;
}

.service-card.selected .card-total-cost {
  display: block;
}

/* Catalogue button on service card */
.btn-catalogue {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  border: 1.5px solid var(--gold-pale);
  border-radius: 50px;
  padding: 4px 12px;
  text-decoration: none;
  background: rgba(201, 146, 42, 0.08);
  transition: all 0.2s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.btn-catalogue:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(201, 146, 42, 0.3);
}

/* ---- LOADING / EMPTY ---- */
.loading-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--cream-dark);
  border-top-color: var(--maroon);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.empty-state {
  text-align: center;
  padding: 40px;
  color: var(--text-light);
}

/* ---- CUSTOM SERVICE ---- */
.custom-section {
  padding: 0 0 28px;
  border-top: 1px dashed var(--cream-dark);
  padding-top: 28px;
}

.custom-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  border: 2px dashed var(--gold-pale);
}

.custom-input {
  padding: 10px 14px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  flex: 1;
  min-width: 130px;
  outline: none;
  transition: var(--transition);
}

.custom-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 146, 42, 0.1);
}

/* ---- SUMMARY ---- */
.summary-section {
  padding-bottom: 40px;
}

.summary-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-empty {
  color: var(--text-light);
  font-size: 0.9rem;
  text-align: center;
  padding: 30px;
}

.summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  border-left: 4px solid var(--maroon);
  box-shadow: var(--shadow-sm);
  gap: 12px;
}

.summary-item-name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.summary-item-cat {
  font-size: 0.75rem;
  color: var(--text-light);
}

.summary-item-cost {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--maroon);
  font-size: 1.05rem;
  white-space: nowrap;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--maroon-dark);
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 20px;
  font-size: 0.82rem;
}

/* ---- PER-GUEST CARD ROW ---- */
.card-guest-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 146, 42, 0.07);
  border: 1px solid rgba(201, 146, 42, 0.2);
  border-radius: 8px;
  padding: 7px 12px;
  margin-bottom: 12px;
  cursor: default;
}

.card-guest-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-mid);
  white-space: nowrap;
}

.card-guest-input {
  width: 70px;
  border: 1px solid var(--cream-dark);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  text-align: center;
  color: var(--maroon);
  font-weight: 600;
  background: var(--white);
  outline: none;
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.card-guest-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201, 146, 42, 0.15);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
  }

  .header-actions {
    width: 100%;
  }

  .btn-outline,
  .btn-gold {
    font-size: 0.8rem;
    padding: 9px 16px;
  }

  .setup-modal {
    padding: 32px 24px;
  }

  .setup-title {
    font-size: 1.5rem;
  }

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

  .card-value {
    font-size: 1.4rem;
  }

  .filter-header {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .custom-form {
    flex-direction: column;
  }

  .custom-input {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .summary-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ---- PRINT / PDF STYLES ---- */
@media print {
  body {
    background: white !important;
  }

  .site-header,
  .setup-modal,
  .dashboard-section,
  .filter-section,
  .custom-section,
  .site-footer,
  .header-actions,
  .pill,
  .service-card.selected .card-toggle,
  .btn-catalogue {
    display: none !important;
  }

  .app-main {
    padding: 0 !important;
  }

  .summary-section {
    width: 100% !important;
    margin: 0 !important;
  }

  .summary-item {
    border: 1px solid #eee;
    break-inside: avoid;
  }

  .pdf-cover {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    page-break-after: always;
  }

  .pdf-om {
    font-size: 80px;
    margin-bottom: 20px;
    color: var(--maroon);
  }

  .pdf-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 40px;
  }

  .pdf-branding {
    font-size: 18px;
    color: var(--text-light);
  }

  .summary-print-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
  }

  .summary-print-table th,
  .summary-print-table td {
    border-bottom: 1px solid #eee;
    padding: 12px;
    text-align: left;
  }

  .summary-catalogue-link {
    font-size: 12px;
    color: var(--gold);
    text-decoration: none;
  }
}

.pdf-cover {
  display: none;
}