/* ─────────────────────────────────────────────────────────────
   Booking — Skincare by Diana Ciobanu
   Stil comun pentru toate cele 5 ecrane (SPA single page)
   Paleta: copper + burgundy + crem-cald + accente Cormorant
   ───────────────────────────────────────────────────────────── */

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #efd5b8;
  color: #3d2c20;
  line-height: 1.5;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ─── LAYOUT ─── */
.container {
  max-width: 480px;
  margin: 0 auto;
  background: #faecd6;
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(120, 60, 30, 0.15);
  display: flex;
  flex-direction: column;
}

/* ─── HEADER FULL (pas 1, 2) ─── */
.header-full {
  padding: 28px 20px 18px;
  text-align: center;
  border-bottom: 1px solid rgba(199, 112, 19, 0.18);
  position: sticky;
  top: 0;
  background: rgba(250, 236, 214, 0.96);
  backdrop-filter: blur(10px);
  z-index: 10;
}
.header-full .logo {
  width: 64px; height: 64px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8c178 0%, #c77013 50%, #9b2c40 100%);
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 700;
  letter-spacing: 1.5px;
  box-shadow: 0 4px 14px rgba(155, 60, 30, 0.35), inset 0 -2px 4px rgba(0,0,0,0.08);
}
.header-full h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 25px; font-weight: 700;
  background: linear-gradient(135deg, #c77013 0%, #9b2c40 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.5px;
}
.header-full .subtitle {
  font-size: 11px; color: #c77013;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* ─── HEADER MINI (pas 3, 4, 5) ─── */
.header-mini {
  padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid rgba(199, 112, 19, 0.15);
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 236, 214, 0.96);
  backdrop-filter: blur(10px);
}
.back-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(199, 112, 19, 0.1);
  color: #c77013;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  transition: all 0.2s;
}
.back-btn:hover { background: rgba(199, 112, 19, 0.2); color: #9b2c40; }
.header-mini-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px; font-weight: 700;
  background: linear-gradient(135deg, #c77013 0%, #9b2c40 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.3px;
  flex: 1;
  text-align: center;
  margin-right: 38px;
}

/* ─── PROGRESS BAR ─── */
.progress {
  padding: 14px 20px;
  background: linear-gradient(180deg, #efd5b8 0%, #e8c598 100%);
  border-bottom: 1px solid rgba(199, 112, 19, 0.18);
}
.progress-bar {
  height: 5px;
  background: rgba(120, 60, 30, 0.18);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #c77013 0%, #9b2c40 100%);
  border-radius: 3px;
  transition: width 0.4s ease;
  box-shadow: 0 0 8px rgba(199, 112, 19, 0.4);
}
.progress-text {
  font-size: 12px; color: #7a5a3a;
  text-align: center; letter-spacing: 0.6px;
  font-weight: 500;
}
.progress-text strong { color: #c77013; font-weight: 700; }

/* ─── HERO (titlu pas) ─── */
.hero {
  padding: 28px 24px 16px;
  text-align: center;
  position: relative;
}
.hero::after {
  content: '';
  display: block;
  width: 50px; height: 2px;
  background: linear-gradient(90deg, transparent, #c9a25a 30%, #c77013 70%, transparent);
  margin: 14px auto 0;
}
.hero.no-divider::after { display: none; }
.hero h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 700;
  color: #6a2030;
  line-height: 1.2;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}
.hero p {
  font-size: 14px; color: #8a6040;
  max-width: 320px;
  margin: 0 auto;
  line-height: 1.5;
}
.hero .timezone {
  font-size: 11px; color: #9a6540;
  margin-top: 4px;
}
.hero .category-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(199, 112, 19, 0.12);
  color: #c77013;
  border-radius: 12px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ─── CARD CATEGORIE/SERVICIU (pas 1, 2) ─── */
.list { padding: 12px 16px 32px; }
.card-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #fdf4e3 0%, #f7e3c5 100%);
  border: 1px solid rgba(199, 112, 19, 0.2);
  border-radius: 16px;
  transition: all 0.25s ease;
  width: 100%;
  text-align: left;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(120, 60, 30, 0.18), 0 2px 4px rgba(120, 60, 30, 0.1);
}
.card-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #c77013, #9b2c40);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.card-item:hover, .card-item:active {
  border-color: #c77013;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(120, 60, 30, 0.25), 0 4px 8px rgba(199, 112, 19, 0.18);
}
.card-item:hover::before { opacity: 1; }

.card-cover {
  width: 68px; height: 68px;
  border-radius: 12px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  background-color: #fce0c5;
  box-shadow: 0 2px 8px rgba(199, 112, 19, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
/* Generăm gradient-uri unice prin index pentru fallback fără imagine */
.card-cover.gen-1 { background-image: linear-gradient(135deg, #fcd5b8, #e08a4a); }
.card-cover.gen-2 { background-image: linear-gradient(135deg, #fdd0c0, #c77013); }
.card-cover.gen-3 { background-image: linear-gradient(135deg, #f0d8c0, #a07050); }
.card-cover.gen-4 { background-image: linear-gradient(135deg, #fce0c5, #c89860); }
.card-cover.gen-5 { background-image: linear-gradient(135deg, #f5c8a8, #b05828); }
.card-cover.gen-6 { background-image: linear-gradient(135deg, #fdd8c0, #c97050); }
.card-cover.gen-7 { background-image: linear-gradient(135deg, #ecdcc0, #8a6840); }
.card-cover.gen-8 { background-image: linear-gradient(135deg, #fcc8a8, #c86040); }
.card-cover.gen-9 { background-image: linear-gradient(135deg, #f0d0a8, #a87040); }
.card-cover.gen-10 { background-image: linear-gradient(135deg, #fcc8b0, #b85040); }
.card-cover.gen-11 { background-image: linear-gradient(135deg, #e8c0a0, #825030); }
.card-cover.gen-12 { background-image: linear-gradient(135deg, #fcd0b8, #a85830); }

.card-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px; font-weight: 700;
  color: #3a2520;
  margin-bottom: 4px;
  line-height: 1.25;
  letter-spacing: 0.3px;
}
.card-meta {
  font-size: 13px; color: #9a6540;
  font-weight: 500; letter-spacing: 0.2px;
}
.card-meta .price { color: #9b2c40; font-weight: 600; }
.card-meta .dot { color: #c9a25a; margin: 0 4px; }
.card-arrow {
  color: #c77013;
  font-size: 24px;
  flex-shrink: 0;
  font-weight: 300;
  transition: transform 0.2s ease;
}
.card-item:hover .card-arrow { transform: translateX(3px); }

/* ─── CARD SERVICIU PAS 2 (cu descriere + buton +) ─── */
.svc-item {
  /* extends .card-item but with vertical layout: cover left, content middle, +/✓ right */
}
.svc-cover {
  width: 86px; height: 86px;
  border-radius: 12px;
  flex-shrink: 0;
  background-size: cover; background-position: center;
  background-color: #fce0c5;
  box-shadow: 0 2px 8px rgba(199, 112, 19, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.svc-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.svc-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; font-weight: 700;
  color: #3a2520;
  line-height: 1.2;
  margin-bottom: 5px;
  letter-spacing: 0.2px;
}
.svc-desc {
  font-size: 12px; color: #7a5a40;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.svc-meta {
  display: flex; align-items: center; gap: 10px;
  margin-top: auto;
  flex-wrap: wrap;
}
.svc-duration {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; color: #9a6540;
  font-weight: 500;
}
.svc-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 700;
  color: #9b2c40;
}
.svc-price-old {
  font-size: 12px; color: #b8957a;
  text-decoration: line-through;
  margin-right: 4px;
  font-weight: 400;
}
.svc-discount-badge {
  background: linear-gradient(135deg, #c77013, #9b2c40);
  color: white;
  font-size: 10px; font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.5px;
}
.svc-add {
  align-self: flex-start;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c77013, #9b2c40);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 300;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 3px 8px rgba(199, 112, 19, 0.3);
  transition: all 0.2s;
}
.card-item.selected { border-color: #c77013; background: linear-gradient(135deg, #fff5e0 0%, #fae0bb 100%); }
.card-item.selected::before { opacity: 1; }
.card-item.selected .svc-add { background: linear-gradient(135deg, #9b2c40, #6a2030); }

/* ─── BREADCRUMB serviciu ales (pas 3, 4) ─── */
.selected-service {
  margin: 16px 16px 0;
  padding: 12px 14px;
  background: linear-gradient(135deg, #fdf4e3 0%, #f7e3c5 100%);
  border: 1px solid rgba(199, 112, 19, 0.18);
  border-radius: 14px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 3px 8px rgba(120, 60, 30, 0.1);
}
.selected-service-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fdd0c0, #e08a4a);
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(199, 112, 19, 0.18);
}
.selected-service-info { flex: 1; min-width: 0; }
.selected-service-label {
  font-size: 10px; color: #c77013;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 1px;
}
.selected-service-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px; font-weight: 700;
  color: #3a2520;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.selected-service-meta { font-size: 11px; color: #9a6540; margin-top: 2px; }
.selected-service-price { color: #9b2c40; font-weight: 600; }

/* ─── PAS 3: month picker + day strip + slots ─── */
.month-picker { padding: 14px 20px 8px; display: flex; justify-content: center; }
.month-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px;
  background: linear-gradient(135deg, #fdf4e3, #f7e3c5);
  border: 1px solid rgba(199, 112, 19, 0.25);
  border-radius: 22px;
  font-size: 14px; font-weight: 600;
  color: #6a2030;
  box-shadow: 0 3px 8px rgba(120, 60, 30, 0.12);
}
.day-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 20px 12px; gap: 8px;
}
.day-nav-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  color: #c77013;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700;
  background: rgba(199, 112, 19, 0.08);
  flex-shrink: 0;
  transition: all 0.2s;
}
.day-nav-btn:hover:not(.disabled) {
  background: linear-gradient(135deg, #c77013, #9b2c40);
  color: white;
}
.day-nav-btn.disabled { opacity: 0.3; cursor: not-allowed; }
.day-current {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 700;
  color: #6a2030;
  text-align: center;
  flex: 1;
  letter-spacing: 0.3px;
}
.day-strip {
  display: flex; gap: 8px;
  padding: 0 16px 16px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.day-strip::-webkit-scrollbar { display: none; }
.day-card {
  flex-shrink: 0;
  width: calc((100% - 32px) / 5);
  min-width: 64px;
  aspect-ratio: 0.85;
  border-radius: 14px;
  background: linear-gradient(135deg, #fdf4e3 0%, #f7e3c5 100%);
  border: 1px solid rgba(199, 112, 19, 0.18);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 6px 4px;
  transition: all 0.2s;
  box-shadow: 0 3px 8px rgba(120, 60, 30, 0.1);
  scroll-snap-align: start;
}
.day-card-month {
  font-size: 10px; color: #c77013;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 2px;
}
.day-card-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 700;
  color: #3a2520;
  line-height: 1;
  margin-bottom: 2px;
}
.day-card-name {
  font-size: 11px; color: #9a6540;
  text-transform: lowercase;
  font-weight: 500;
}
.day-card:hover:not(.closed):not(.full) {
  border-color: #c77013;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(120, 60, 30, 0.18);
}
.day-card.selected {
  background: linear-gradient(135deg, #fff5e0 0%, #fae0bb 100%);
  border: 2px solid #c77013;
  box-shadow: 0 6px 16px rgba(199, 112, 19, 0.22), 0 2px 6px rgba(155, 44, 64, 0.1);
  transform: translateY(-2px);
}
/* Pe selected păstrăm culorile default (text închis) — efect subtil & elegant */
.day-card.closed, .day-card.full {
  opacity: 0.45;
  cursor: not-allowed;
  background: rgba(199, 112, 19, 0.04);
}
.day-card.closed .day-card-num { text-decoration: line-through; }

.slots-section { padding: 8px 16px 20px; flex: 1; }
.slots-empty { padding: 32px 20px; text-align: center; }
.slots-empty-icon { font-size: 36px; margin-bottom: 8px; opacity: 0.5; }
.slots-empty-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 600;
  color: #9a6540;
  margin-bottom: 4px;
}
.slots-empty-sub { font-size: 12px; color: #b8957a; }
.slots-list { display: flex; flex-direction: column; gap: 8px; }
.slot-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(135deg, #fdf4e3 0%, #f7e3c5 100%);
  border: 1px solid rgba(199, 112, 19, 0.18);
  border-radius: 14px;
  transition: all 0.2s;
  box-shadow: 0 3px 8px rgba(120, 60, 30, 0.1);
  text-align: left;
  width: 100%;
}
.slot-time {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 700;
  color: #3a2520;
  letter-spacing: 0.5px;
}
.slot-meta { font-size: 12px; color: #9a6540; font-weight: 500; }
.slot-card:hover:not(.selected) {
  border-color: #c77013;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(120, 60, 30, 0.18);
}
.slot-card.selected {
  background: linear-gradient(135deg, #fff5e0 0%, #fae0bb 100%);
  border: 2px solid #c77013;
  box-shadow: 0 6px 16px rgba(199, 112, 19, 0.22), 0 2px 6px rgba(155, 44, 64, 0.1);
}
/* Pe selected păstrăm culorile default — text închis pe fond cremă, mai elegant */

/* ─── PAS 4: form fields ─── */
.summary {
  margin: 10px 16px 18px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #fdf4e3 0%, #f7e3c5 100%);
  border: 1px solid rgba(199, 112, 19, 0.2);
  border-radius: 16px;
  box-shadow: 0 6px 14px rgba(120, 60, 30, 0.15);
  position: relative;
}
.summary-badge {
  position: absolute;
  top: -10px; left: 18px;
  padding: 3px 10px;
  background: linear-gradient(135deg, #c77013, #9b2c40);
  color: white;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(155, 44, 64, 0.3);
}
.summary-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(199, 112, 19, 0.15);
}
.summary-row:last-child { border-bottom: none; padding-bottom: 0; }
.summary-row:first-child { padding-top: 4px; }
.summary-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(199,112,19,0.12), rgba(155,44,64,0.12));
  background-size: cover;
  background-position: center;
  color: #c77013;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(199, 112, 19, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.summary-content { flex: 1; min-width: 0; }
.summary-label {
  font-size: 10px; color: #c77013;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 1px;
}
.summary-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px; font-weight: 700;
  color: #3a2520;
  line-height: 1.3;
}
.summary-sub {
  font-size: 12px; color: #9a6540;
  margin-top: 2px;
  white-space: nowrap;
  font-weight: 500;
}
.summary-sub .price-inline,
.summary-value .price-inline { color: #9b2c40; font-weight: 700; }

.form { padding: 0 16px 16px; }
.form-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px; font-weight: 700;
  color: #6a2030;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
  padding-left: 4px;
}
.form-grid { display: grid; gap: 13px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { position: relative; }
.field-label {
  display: block;
  font-size: 11px; color: #9a6540;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 6px;
  padding-left: 4px;
}
.field-label .required {
  color: #e53935;
  margin-left: 2px;
  font-size: 14px; font-weight: 700;
}
.field-input, .field-select {
  width: 100%;
  padding: 14px 16px;
  background: #fff8eb;
  border: 1.5px solid #d4a574;
  border-radius: 12px;
  font-size: 15px;
  color: #3a2520;
  transition: all 0.2s;
  box-shadow: inset 0 1px 2px rgba(120, 60, 30, 0.05);
  -webkit-appearance: none;
  appearance: none;
}
.field-input::placeholder { color: #b8957a; font-weight: 400; }
.field-input:focus, .field-select:focus {
  outline: none;
  border-color: #c77013;
  background: #fffcf6;
  box-shadow: 0 0 0 3px rgba(199, 112, 19, 0.18), 0 4px 12px rgba(120, 60, 30, 0.12);
}
.field-input.error, .field-select.error { border-color: #e53935; }
.field-error {
  font-size: 11px; color: #e53935;
  margin-top: 4px;
  padding-left: 4px;
  font-weight: 500;
  display: none;
}
.field-error.visible { display: block; }
textarea.field-input { resize: none; min-height: 80px; line-height: 1.5; }
.field-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23c77013' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 42px;
  cursor: pointer;
}
.field-select.placeholder { color: #b8957a; }

/* honeypot field — invisible pentru utilizator, vizibil pentru bots */
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important; height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ─── PHONE GROUP cu prefix dropdown custom ─── */
.phone-group {
  display: flex; align-items: stretch;
  background: #fff8eb;
  border: 1.5px solid #d4a574;
  border-radius: 12px;
  transition: all 0.2s;
  box-shadow: inset 0 1px 2px rgba(120, 60, 30, 0.05);
  position: relative;
}
.phone-group.focused, .phone-group:focus-within {
  border-color: #c77013;
  background: #fffcf6;
  box-shadow: 0 0 0 3px rgba(199, 112, 19, 0.18), 0 4px 12px rgba(120, 60, 30, 0.12);
}
.phone-prefix-btn {
  display: flex; align-items: center; gap: 4px;
  padding: 14px 12px 14px 14px;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(199, 112, 19, 0.25);
  border-radius: 11px 0 0 11px;
  font-size: 15px; color: #c77013;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}
.phone-prefix-btn:hover { background: rgba(199, 112, 19, 0.08); }
.phone-prefix-btn .prefix-chevron {
  font-size: 9px;
  margin-left: 2px;
  color: #c77013;
  opacity: 0.7;
  transition: transform 0.2s;
}
.phone-prefix-btn.open .prefix-chevron { transform: rotate(180deg); }
.phone-input-num {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 16px;
  font-size: 15px;
  color: #3a2520;
  outline: none;
  min-width: 0;
  border-radius: 0 11px 11px 0;
}
.phone-input-num::placeholder { color: #b8957a; font-weight: 400; }

.phone-prefix-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 280px;
  max-width: calc(100vw - 32px);
  background: #fdf4e3;
  border: 1.5px solid #d4a574;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(120, 60, 30, 0.25), 0 4px 10px rgba(120, 60, 30, 0.15);
  max-height: 300px;
  overflow-y: auto;
  z-index: 50;
  display: none;
  padding: 6px;
}
.phone-prefix-dropdown.open { display: block; }
.phone-prefix-dropdown::-webkit-scrollbar { width: 6px; }
.phone-prefix-dropdown::-webkit-scrollbar-track { background: transparent; }
.phone-prefix-dropdown::-webkit-scrollbar-thumb { background: rgba(199, 112, 19, 0.3); border-radius: 3px; }
.prefix-option {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  background: transparent;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s;
  color: #3a2520;
}
.prefix-option:hover { background: linear-gradient(135deg, rgba(199, 112, 19, 0.12), rgba(155, 44, 64, 0.08)); }
.prefix-option.selected {
  background: linear-gradient(135deg, #c77013, #9b2c40);
  color: white;
}
.prefix-option .opt-name { font-weight: 500; color: inherit; }
.prefix-option .opt-code {
  font-weight: 700;
  color: #c77013;
  font-size: 13px;
  flex-shrink: 0;
  margin-left: 12px;
}
.prefix-option:hover .opt-code { color: #9b2c40; }
.prefix-option.selected .opt-code { color: white; }

/* ─── POLITICA DE ANULARE ─── */
.policy {
  margin: 18px 16px 0;
  padding: 16px 18px 18px;
  background: linear-gradient(135deg, #fdf4e3 0%, #f7e3c5 100%);
  border: 1px solid rgba(199, 112, 19, 0.2);
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(120, 60, 30, 0.1);
}
.policy-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; font-weight: 700;
  color: #9b2c40;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 6px;
}
.policy-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.policy-item { display: flex; gap: 10px; align-items: flex-start; }
.policy-item-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(199,112,19,0.15), rgba(155,44,64,0.15));
  color: #c77013;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  font-weight: 700;
  margin-top: 1px;
}
.policy-item-text {
  font-size: 13px; color: #5a4030;
  line-height: 1.5;
  flex: 1;
}
.policy-item-text strong { color: #9b2c40; font-weight: 700; }

/* ─── ACORD CHECKBOX ─── */
.agreement {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 14px;
  margin: 16px 16px 0;
  background: linear-gradient(135deg, #fdf4e3 0%, #f7e3c5 100%);
  border: 1px solid rgba(199, 112, 19, 0.18);
  border-radius: 12px;
  cursor: pointer;
}
.agreement-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border: 2px solid rgba(199, 112, 19, 0.45);
  border-radius: 6px;
  background: white;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 1px;
  position: relative;
  transition: all 0.2s;
}
.agreement-checkbox:hover { border-color: #c77013; }
.agreement-checkbox:checked {
  background: linear-gradient(135deg, #c77013, #9b2c40);
  border-color: transparent;
}
.agreement-checkbox:checked::after {
  content: '✓';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 14px; font-weight: 700;
}
.agreement-text {
  font-size: 12px; color: #5a4030;
  line-height: 1.5;
  flex: 1;
}
.agreement-text a { color: #9b2c40; text-decoration: underline; font-weight: 600; }

.delivery-info {
  margin: 14px 16px 0;
  padding: 12px 14px;
  background: rgba(199, 112, 19, 0.06);
  border-radius: 12px;
  display: flex; gap: 10px;
  align-items: flex-start;
}
.delivery-info-icon { font-size: 16px; flex-shrink: 0; color: #c77013; }
.delivery-info-text { font-size: 12px; color: #6a4530; line-height: 1.5; }
.delivery-info-text strong { color: #9b2c40; }

/* ─── BOTTOM BAR (sticky) ─── */
.bottom-bar {
  position: sticky;
  bottom: 0;
  background: rgba(250, 236, 214, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(199, 112, 19, 0.2);
  padding: 14px 20px 16px;
  box-shadow: 0 -4px 16px rgba(120, 60, 30, 0.12);
  z-index: 5;
  margin-top: auto;
}
.bottom-total {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding-bottom: 12px; padding-top: 2px;
}
.bottom-total-label {
  font-size: 13px; color: #5a3020;
  font-weight: 700;
  letter-spacing: 0.4px;
}
.bottom-total-divider {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #c77013;
  opacity: 0.6;
}
.bottom-total-value {
  font-size: 19px; font-weight: 700;
  color: #9b2c40;
  letter-spacing: 0.2px;
}
.bottom-btn {
  width: 100%;
  padding: 14px 20px;
  border-radius: 28px;
  background: linear-gradient(135deg, #d49a6a, #b08090);
  color: white;
  font-size: 15px; font-weight: 600;
  box-shadow: 0 4px 14px rgba(176, 128, 144, 0.32);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: all 0.2s;
  letter-spacing: 0.3px;
  white-space: pre-line;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
.bottom-btn:hover:not(.disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(176, 128, 144, 0.42);
}
.bottom-btn.disabled {
  background: linear-gradient(135deg, #c0a890, #a08870);
  cursor: not-allowed;
  box-shadow: 0 2px 8px rgba(120, 60, 30, 0.15);
  text-shadow: none;
}
/* Stare „erori" — fond cremă discret + TEXT roșu (nu buton roșu) */
.bottom-btn.error-state {
  background: linear-gradient(135deg, #fdf4e3 0%, #f5d8b0 100%);
  color: #c93545;
  border: 1.5px solid rgba(232, 93, 106, 0.45);
  cursor: not-allowed;
  box-shadow: 0 3px 10px rgba(199, 112, 19, 0.18);
  text-shadow: none;
  font-weight: 700;
}
.bottom-btn.error-state:hover { transform: none; }

/* ─── BANNER ERORI FORMULAR ─── */
.form-errors-banner {
  margin: 0 16px 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #ffe5e8, #ffd0d6);
  border: 1.5px solid #e85d6a;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(201, 53, 69, 0.18);
  display: none;
}
.form-errors-banner.visible { display: block; }
.form-errors-title {
  font-size: 13px;
  font-weight: 700;
  color: #c93545;
  margin-bottom: 6px;
  display: flex; align-items: center; gap: 6px;
}
.form-errors-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.form-errors-list li {
  font-size: 12px;
  color: #8a2030;
  padding-left: 18px;
  position: relative;
  line-height: 1.45;
}
.form-errors-list li::before {
  content: '•';
  position: absolute;
  left: 6px;
  color: #c93545;
  font-weight: 700;
}

/* selection bar pas 2 (after slot click) */
.selection-bar {
  position: sticky; bottom: 0;
  background: rgba(250, 236, 214, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(199, 112, 19, 0.2);
  padding: 14px 20px;
  display: none;
  align-items: center; justify-content: space-between; gap: 12px;
  z-index: 5;
  box-shadow: 0 -4px 16px rgba(120, 60, 30, 0.12);
}
.selection-bar.visible { display: flex; }
.selection-summary { flex: 1; min-width: 0; }
.selection-summary-label {
  font-size: 11px; color: #9a6540;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
  font-weight: 600;
}
.selection-summary-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px; font-weight: 700;
  color: #3a2520;
  line-height: 1.2;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.selection-next {
  padding: 12px 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, #d49a6a, #b08090);
  color: white;
  font-size: 14px; font-weight: 600;
  box-shadow: 0 4px 12px rgba(176, 128, 144, 0.32);
  display: inline-flex; align-items: center; gap: 6px;
  transition: all 0.2s;
  flex-shrink: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
.selection-next:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(176, 128, 144, 0.42); }

/* ─── PAS 5: success + actions ─── */
.hero-success {
  padding: 36px 24px 24px;
  text-align: center;
  position: relative;
}
.success-icon {
  width: 84px; height: 84px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8c178 0%, #c77013 50%, #9b2c40 100%);
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 42px; font-weight: 700;
  box-shadow: 0 8px 24px rgba(155, 60, 30, 0.4), inset 0 -3px 6px rgba(0,0,0,0.1);
  position: relative;
  animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.success-icon::before {
  content: '';
  position: absolute; inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 112, 19, 0.3), transparent 70%);
  z-index: -1;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes scaleIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.6; } 50% { transform: scale(1.15); opacity: 0.3; } }

.summary-footer {
  padding-top: 14px; margin-top: 12px;
  border-top: 1px dashed rgba(199, 112, 19, 0.25);
  display: flex; flex-direction: column; gap: 12px;
}
.summary-id {
  font-family: 'Inter', monospace;
  font-size: 11px; color: #b08454;
  letter-spacing: 0.5px;
  text-align: center;
}
.summary-id strong { color: #9b2c40; font-weight: 700; }
.summary-modify {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px;
  background: linear-gradient(135deg, #fff8eb 0%, #f5d8b0 100%);
  color: #9b2c40;
  font-size: 14px; font-weight: 700;
  border: 1.5px solid #c77013;
  border-radius: 24px;
  text-decoration: none;
  transition: all 0.2s;
  width: 100%;
  box-shadow: 0 3px 8px rgba(199, 112, 19, 0.15);
  letter-spacing: 0.2px;
}
.summary-modify:hover {
  background: linear-gradient(135deg, #c77013, #9b2c40);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(155, 44, 64, 0.3);
}

.next-steps {
  margin: 0 16px 14px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #fdf4e3 0%, #f7e3c5 100%);
  border: 1px solid rgba(199, 112, 19, 0.2);
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(120, 60, 30, 0.1);
  display: flex; align-items: flex-start; gap: 12px;
}
.next-steps-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
}
.next-steps-icon svg { width: 22px; height: 22px; fill: white; }
.next-steps-content { flex: 1; min-width: 0; }
.next-steps-title { font-size: 13px; font-weight: 700; color: #5a3020; margin-bottom: 3px; }
.next-steps-text { font-size: 12px; line-height: 1.5; color: #7a5a3a; }
.next-steps-text strong { color: #25a455; font-weight: 700; }

.info-list { margin: 0 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.info-card {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #fdf4e3 0%, #f7e3c5 100%);
  border: 1px solid rgba(199, 112, 19, 0.18);
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(120, 60, 30, 0.1);
}
.info-card-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(199,112,19,0.15), rgba(155,44,64,0.15));
  color: #c77013;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.info-card-content { flex: 1; min-width: 0; }
.info-card-title { font-size: 13px; font-weight: 700; color: #5a3020; margin-bottom: 2px; }
.info-card-text { font-size: 12px; color: #7a5a3a; line-height: 1.5; }
.info-card-text strong { color: #9b2c40; font-weight: 700; }

.actions {
  margin: 4px 16px 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.action-btn {
  padding: 14px 12px;
  background: linear-gradient(135deg, #fdf4e3 0%, #f7e3c5 100%);
  border: 1px solid rgba(199, 112, 19, 0.22);
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(120, 60, 30, 0.1);
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
}
.action-btn:hover { transform: translateY(-2px); border-color: #c77013; box-shadow: 0 8px 18px rgba(120, 60, 30, 0.18); }
.action-btn-icon { font-size: 22px; color: #c77013; }
.action-btn-label { font-size: 12px; font-weight: 600; color: #5a3020; text-align: center; line-height: 1.2; }

.location-card {
  margin: 0 16px 18px;
  padding: 22px 22px 18px;
  background: linear-gradient(135deg, #fdf4e3 0%, #f7e3c5 100%);
  border: 1px solid rgba(199, 112, 19, 0.22);
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(120, 60, 30, 0.15), 0 2px 6px rgba(120, 60, 30, 0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.location-card::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(135deg, transparent 48%, rgba(199, 112, 19, 0.04) 49%, rgba(199, 112, 19, 0.04) 51%, transparent 52%),
    linear-gradient(45deg, transparent 48%, rgba(199, 112, 19, 0.03) 49%, rgba(199, 112, 19, 0.03) 51%, transparent 52%);
  background-size: 40px 40px, 60px 60px;
  pointer-events: none;
  opacity: 0.7;
}
.location-card > * { position: relative; z-index: 1; }
.location-label {
  display: inline-block;
  font-size: 10px; color: #c77013;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  padding: 4px 12px;
  background: rgba(199, 112, 19, 0.1);
  border-radius: 12px;
  margin-bottom: 14px;
}
.location-pin {
  width: 64px; height: 64px;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  filter: drop-shadow(0 6px 12px rgba(234, 67, 53, 0.35));
}
.location-pin svg { width: 100%; height: 100%; }
.location-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px; font-weight: 700;
  color: #3a2520;
  line-height: 1.2;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}
.location-address {
  font-size: 13px; color: #6a4530;
  line-height: 1.5;
  font-weight: 500;
}
.location-divider {
  width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(199, 112, 19, 0.4), transparent);
  margin: 12px auto;
}
.location-hint {
  font-size: 12px; color: #8a6040;
  line-height: 1.5;
  margin-bottom: 16px;
  font-style: italic;
}
.location-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  background: linear-gradient(135deg, #c77013, #9b2c40);
  color: white;
  font-size: 14px; font-weight: 600;
  border-radius: 24px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(155, 44, 64, 0.35);
  transition: all 0.2s;
  letter-spacing: 0.2px;
}
.location-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(155, 44, 64, 0.45); }
.location-btn-icon-svg { width: 16px; height: 16px; flex-shrink: 0; }

.policy-reminder {
  margin: 0 16px 24px;
  padding: 12px 14px;
  background: rgba(199, 112, 19, 0.06);
  border-radius: 12px;
  display: flex; gap: 10px; align-items: flex-start;
}
.policy-reminder-icon { font-size: 14px; flex-shrink: 0; color: #c77013; }
.policy-reminder-text { font-size: 11px; color: #6a4530; line-height: 1.5; }
.policy-reminder-text a { color: #9b2c40; font-weight: 600; text-decoration: underline; }

.final-bar {
  margin-top: auto;
  padding: 18px 20px 24px;
  background: rgba(250, 236, 214, 0.97);
  border-top: 1px solid rgba(199, 112, 19, 0.2);
  backdrop-filter: blur(10px);
}
.final-btn {
  width: 100%;
  padding: 14px 20px;
  border-radius: 28px;
  background: linear-gradient(135deg, #fdf4e3 0%, #f7e3c5 100%);
  color: #5c2030;
  font-size: 14px; font-weight: 600;
  border: 1.5px solid rgba(199, 112, 19, 0.3);
  transition: all 0.2s;
  text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.final-btn:hover { border-color: #c77013; background: linear-gradient(135deg, #fff8eb 0%, #fae0bb 100%); }

/* ─── FOOTER pas 1, 2 ─── */
.footer {
  padding: 24px 20px 32px;
  text-align: center;
  border-top: 1px solid rgba(199, 112, 19, 0.18);
  background: #ecc8a0;
}
.footer-contact { font-size: 12px; color: #7a5a3a; margin-bottom: 14px; }
.footer-actions { display: flex; gap: 10px; justify-content: center; }
.footer-btn {
  padding: 10px 18px;
  border-radius: 24px;
  background: white;
  border: 1px solid rgba(199, 112, 19, 0.25);
  font-size: 13px;
  color: #5c2030;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all 0.2s;
}
.footer-btn:hover { border-color: #c77013; color: #9b2c40; background: #fff5ec; }

/* ─── STEP NAV (show/hide) ─── */
.step { display: none; }
.step.active { display: block; }

/* ─── LOADING + ERROR overlays ─── */
.loading {
  text-align: center;
  padding: 40px 20px;
  color: #c77013;
}
.loading-spinner {
  width: 36px; height: 36px;
  margin: 0 auto 12px;
  border: 3px solid rgba(199, 112, 19, 0.2);
  border-top-color: #c77013;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px; font-weight: 600;
  color: #9b2c40;
}

.error-banner {
  margin: 16px 16px 0;
  padding: 12px 16px;
  background: #ffe4e1;
  border: 1px solid #e53935;
  border-radius: 12px;
  color: #b71c1c;
  font-size: 13px;
  display: flex; align-items: center; gap: 10px;
}
.error-banner-icon { font-size: 18px; flex-shrink: 0; }

/* ─── FALLBACK BANNER ─── */
/* Apare DOAR când algoritm detectează probleme (2+ erori sau EW down). */
/* Pozitionat fix bottom — discret, nu intrusiv. */
.fallback-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 460px;
  width: calc(100% - 32px);
  padding: 14px 44px 14px 16px;
  background: linear-gradient(135deg, #fff8eb, #fae0bb);
  border: 1.5px solid rgba(199, 112, 19, 0.4);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(120, 60, 30, 0.25), 0 2px 6px rgba(120, 60, 30, 0.15);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  z-index: 100;
  animation: fallbackSlideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes fallbackSlideUp {
  from { transform: translate(-50%, 60px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}
.fallback-banner-icon {
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1;
}
.fallback-banner-content {
  flex: 1;
  min-width: 0;
}
.fallback-banner-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-weight: 700;
  color: #6a2030;
  margin-bottom: 2px;
  letter-spacing: 0.2px;
}
.fallback-banner-text {
  font-size: 12px;
  color: #5a4030;
  line-height: 1.45;
}
.fallback-banner-text a {
  color: #9b2c40;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.fallback-banner-text a:hover {
  color: #c77013;
}
.fallback-banner-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  color: #8a6040;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}
.fallback-banner-close:hover {
  background: rgba(199, 112, 19, 0.15);
  color: #6a2030;
}

/* ─── DESKTOP TWEAKS ─── */
@media (min-width: 768px) {
  .container {
    max-width: 540px;
    margin-top: 24px;
    margin-bottom: 24px;
    border-radius: 24px;
    min-height: auto;
    overflow: hidden;
  }
  body {
    background: linear-gradient(180deg, #efd5b8 0%, #dcb280 100%);
  }
}

/* ─── SERVICE DETAIL MODAL ─── */
.svc-desc-trunc {
  font-size: 12px; color: #7a5a40;
  line-height: 1.4;
  margin-bottom: 8px;
}
.svc-read-more {
  color: #c77013;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  font-size: 12px;
}
.svc-read-more:hover { color: #9b2c40; }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(60, 30, 15, 0.55);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal-overlay.open { display: flex; }
.modal-content {
  background: #faecd6;
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  margin: auto;
  box-shadow: 0 20px 60px rgba(60, 30, 15, 0.4);
  overflow: hidden;
  position: relative;
  animation: modalIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modalIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: #6a2030;
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: all 0.2s;
}
.modal-close:hover { background: white; transform: scale(1.05); }
.modal-image {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  background-color: #fce0c5;
}
.modal-image.placeholder {
  background-image: linear-gradient(135deg, #fdd0c0, #c77013);
  display: flex; align-items: center; justify-content: center;
  font-size: 64px; color: rgba(255,255,255,0.5);
}
.modal-body {
  padding: 22px 24px 16px;
}
.modal-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 23px; font-weight: 700;
  color: #3a2520;
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}
.modal-meta {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px dashed rgba(199, 112, 19, 0.25);
}
.modal-meta-item { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: #7a5a3a; font-weight: 500; }
.modal-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 700;
  color: #9b2c40;
  margin-left: auto;
}
.modal-description {
  font-size: 13.5px;
  color: #4a3520;
  line-height: 1.65;
  white-space: pre-line;
}
.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px 20px 20px;
  background: rgba(199, 112, 19, 0.05);
  border-top: 1px solid rgba(199, 112, 19, 0.15);
}
.modal-btn {
  padding: 13px 16px;
  border-radius: 24px;
  font-size: 14px; font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.modal-btn-secondary {
  background: linear-gradient(135deg, #fff8eb, #f5d8b0);
  color: #9b2c40;
  border: 1.5px solid rgba(199, 112, 19, 0.4);
}
.modal-btn-secondary:hover { border-color: #c77013; }
.modal-btn-primary {
  background: linear-gradient(135deg, #c77013, #9b2c40);
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(199, 112, 19, 0.3);
}
.modal-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(155, 44, 64, 0.4); }

body.modal-open { overflow: hidden; }

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
