/* ================================================================
   EXPERIENCE FLOW OPTIMIZED - STYLES
   Version: 1.2.0 - Controls Redesign (clean, no duplicates)
   ================================================================ */

:root {
  --color-primary: #0B4C18;
  --color-primary-dark: #1D3557;
  --color-accent: #B88F47;
  --color-accent-hover: #a78347;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
}

/* ==================== BASE ==================== */
.exp-flow-optimized {
  max-width: 1400px;
  margin: 0 auto;
  font-family: var(--font-body);
  padding-bottom: 100px;
}

/* ==================== UNIFIED CONTROLS ==================== */

/* ── Wrapper ─────────────────────────────────── */
.controls-unified-sticky {
  background: white;
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-xl);
  border-bottom: 3px solid var(--color-primary);
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .controls-unified-sticky {
    position: sticky;
    top: 0;
    z-index: 999;
  }
}

@media (max-width: 767px) {
  .controls-unified-sticky {
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
}

/* ── Container: fecha 2× ancho de guests ─────── */
.controls-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 2fr 1fr auto;
  gap: 0;
  align-items: stretch;
}

/* ── Bloque fecha — protagonista ─────────────── */
.control-date {
  padding: 14px 24px 16px;
  background: #f2f9f3;
  border-right: 1px solid #d4e9d6;
  position: relative;
}

/* Borde izquierdo acento */
.control-date::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--color-primary);
}

/* Eyebrow instruccional — solo CSS */
.control-date::after {
  content: 'Step 1 — pick a date to see available experiences';
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 8px;
  line-height: 1;
}

.control-date label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  margin-bottom: 10px;
  cursor: pointer;
}

.control-date .icon {
  font-size: 26px;
  line-height: 1;
}

/* Input fecha — prominente y animado */
.date-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  background: white;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
  animation: date-border-pulse 2.4s ease-in-out infinite;
}

.date-input:focus,
.date-input:not(:placeholder-shown) {
  outline: none;
  animation: none;
  box-shadow: 0 0 0 4px rgba(11, 76, 24, 0.12);
}

.date-input::placeholder {
  color: #5a8a63;
  font-weight: 600;
  font-size: 17px;
  font-family: var(--font-body);
}

@keyframes date-border-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(11, 76, 24, 0);
    border-color: var(--color-primary);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(11, 76, 24, 0.14);
    border-color: var(--color-primary);
  }
}

/* ── Bloque guests — subordinado ─────────────── */
.control-guests {
  padding: 14px 20px 16px;
  border-right: 1px solid #e8e8e8;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.control-guests label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.control-guests .icon {
  font-size: 15px;
}

.guests-selects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xs);
}

.guest-select {
  width: 100%;
  padding: 8px 10px;
  border: 1.5px solid #e0e0e0;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-body);
  background: white;
  color: #444;
  transition: border-color 0.2s ease;
  cursor: pointer;
}

.guest-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(11, 76, 24, 0.08);
}

/* ── Preview — ultra compacto ────────────────── */
.control-preview {
  padding: 14px 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
}

.preview-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.preview-amount {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-heading);
  line-height: 1;
}

/* ── Mobile ──────────────────────────────────── */
@media (max-width: 767px) {
  .controls-container {
    grid-template-columns: 1fr;
  }

  .control-date {
    padding: 14px 16px 14px 20px;
    border-right: none;
    border-bottom: 1px solid #d4e9d6;
  }

  .control-date::after {
    font-size: 9px;
  }

  .control-date label {
    font-size: 16px;
  }

  .date-input {
    font-size: 16px;
    padding: 12px 14px;
  }

  .date-input::placeholder {
    font-size: 15px;
  }

  .control-guests {
    padding: 10px 16px;
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
  }

  .control-guests label {
    font-size: 11px;
    margin-bottom: 6px;
  }

  .guest-select {
    padding: 7px 9px;
    font-size: 13px;
  }

  .control-preview {
    padding: 10px 16px 12px;
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
    justify-content: flex-start;
  }

  .preview-label { margin-bottom: 0; }
  .preview-amount { font-size: 22px; }
}

/* ==================== LAYOUT ==================== */
.flow-content-optimized {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  padding: 0 var(--space-md);
}

@media (min-width: 1024px) {
  .flow-content-optimized {
    grid-template-columns: 1fr 350px;
  }
}

/* ==================== SECTION HEADERS ==================== */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header h1,
.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 42px);
  color: var(--color-primary-dark);
  margin: 0 0 var(--space-sm) 0;
  line-height: 1.2;
}

.section-header p {
  font-size: 16px;
  color: #666;
  margin: 0;
}

.section-accommodation .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}

.btn-skip {
  padding: 10px 20px;
  background: transparent;
  border: 2px solid #ccc;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-skip:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ==================== LOADERS ==================== */
.loader-section {
  text-align: center;
  padding: var(--space-xl) 0;
}

.spinner-loader {
  width: 48px;
  height: 48px;
  border: 4px solid #f0f0f0;
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto var(--space-md);
}

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

.loader-section p {
  color: #666;
  font-size: 15px;
  margin: 0;
}

/* ==================== EMPTY STATE ==================== */
.empty-state {
  text-align: center;
  padding: var(--space-xl);
  background: #f8f9fa;
  border-radius: var(--radius-lg);
}

.empty-icon { font-size: 64px; margin-bottom: var(--space-md); }

.empty-state h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-primary-dark);
  margin: 0 0 var(--space-sm) 0;
}

.empty-state p { color: #666; margin: 0; }

/* ==================== EXPERIENCES GRID ==================== */
.experiences-grid-optimized {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-lg);
}

/* ==================== EXPERIENCE CARD ==================== */
.exp-card-optimized {
  background: white;
  border: 2px solid #e8e8e8;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.exp-card-optimized:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.exp-card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}

.exp-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.exp-card-optimized:hover .exp-card-image img {
  transform: scale(1.05);
}

.img-gallery-hint {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
  color: white;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 24px 12px 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.exp-card-optimized:hover .img-gallery-hint,
.suite-card-optimized:hover .img-gallery-hint { opacity: 1; }

@media (max-width: 767px) {
  .img-gallery-hint { opacity: 1; }
}

.exp-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: #FFD447;
  color: #333;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.exp-card-body {
  padding: var(--space-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.exp-card-body h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-primary-dark);
  margin: 0 0 var(--space-sm) 0;
  line-height: 1.3;
}

.exp-card-meta {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: 14px;
  color: #888;
  flex-wrap: wrap;
}

.exp-card-meta span { display: flex; align-items: center; gap: 4px; }

.exp-card-price-from {
  background: linear-gradient(135deg, #f8faf9 0%, #f0f4f1 100%);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  text-align: center;
}

.price-from-label { font-size: 13px; color: #666; display: block; margin-bottom: 4px; }

.price-from-amount {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.price-from-per { font-size: 14px; color: #888; }

/* ==================== DATE PILLS ==================== */
.exp-card-dates { margin-bottom: var(--space-md); }

.exp-card-dates-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-xs);
  display: block;
}

.dates-pills { display: flex; flex-wrap: wrap; gap: 6px; }

.date-pill {
  padding: 6px 12px;
  background: #f0f0f0;
  border: 2px solid transparent;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.date-pill:hover { background: #e8f5e9; border-color: var(--color-primary); }
.date-pill.selected { background: var(--color-primary); color: white; border-color: var(--color-primary); }
.date-pill.unavailable { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }

/* ==================== CARD ACTIONS ==================== */
.exp-card-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.btn-select-exp {
  width: 100%;
  padding: 14px 20px;
  background: var(--color-accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-select-exp:hover:not(:disabled) {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(184, 143, 71, 0.3);
}

.btn-select-exp:disabled {
  background: #d0d0d0;
  color: #888;
  cursor: not-allowed;
  transform: none;
  letter-spacing: 0;
  text-transform: none;
  font-size: 14px;
}

.btn-select-exp:not(:disabled) {
  animation: btn-ready-pulse 1.8s ease-in-out 3;
}

@keyframes btn-ready-pulse {
  0%, 100% { box-shadow: 0 4px 12px rgba(184, 143, 71, 0.3); }
  50% {
    box-shadow: 0 4px 24px rgba(184, 143, 71, 0.65), 0 0 0 4px rgba(184, 143, 71, 0.18);
    transform: translateY(-1px);
  }
}

.btn-read-more {
  width: 100%;
  padding: 10px;
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-read-more:hover { background: #e8f5e9; }

/* ==================== ACCOMMODATION ==================== */
.section-accommodation {
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 3px solid #f0f0f0;
}

.experience-timeline {
  background: linear-gradient(135deg, #FFF9E6 0%, #FFE5B4 100%);
  border: 2px solid #FFD447;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.timeline-item { display: flex; align-items: center; gap: var(--space-md); }

.timeline-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.timeline-label {
  font-size: 12px;
  color: #997404;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.timeline-date {
  font-size: 18px;
  font-weight: 700;
  color: #664d03;
  font-family: var(--font-heading);
}

.guests-notice {
  background: #e3f2fd;
  border: 2px solid #2196F3;
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  margin-bottom: var(--space-lg);
  display: flex;
  gap: var(--space-md);
}

.notice-icon { font-size: 24px; flex-shrink: 0; }
.notice-content strong { display: block; color: #1976D2; margin-bottom: 4px; }
.notice-content p { margin: 0; color: #0d47a1; font-size: 14px; }

.accommodation-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.control-group { display: flex; flex-direction: column; }

.control-group label {
  font-weight: 600;
  font-size: 14px;
  color: #333;
  margin-bottom: var(--space-xs);
}

.control-group input,
.control-group select {
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-sm);
  font-size: 15px;
  transition: border-color 0.2s;
}

.control-group input:focus,
.control-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(11, 76, 24, 0.1);
}

.control-group input[readonly] { background: #f8f8f8; cursor: pointer; }

.btn-search {
  padding: 12px 24px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-search:hover {
  background: #1e4620;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(11, 76, 24, 0.3);
}

/* ==================== SUITES GRID ==================== */
.suites-grid-optimized {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.suite-card-optimized {
  background: white;
  border: 2px solid #e8e8e8;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.suite-card-optimized:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.suite-card-optimized.selected {
  border-color: var(--color-primary);
  background: linear-gradient(135deg, #f8fdf9 0%, #f0f8f1 100%);
  box-shadow: var(--shadow-md);
}

.suite-card-optimized.selected::before {
  content: '✓ SELECTED';
  position: absolute;
  top: 12px; left: 12px;
  background: var(--color-primary);
  color: white;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 700;
  z-index: 10;
}

.suite-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}

.suite-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.suite-card-optimized:hover .suite-card-image img { transform: scale(1.05); }

.suite-card-content { padding: var(--space-lg); }

.suite-card-content h4 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-primary-dark);
  margin: 0 0 var(--space-sm) 0;
}

.suite-card-content p { font-size: 14px; color: #666; margin: 0 0 var(--space-md) 0; }

.suite-meta { display: flex; justify-content: space-between; padding: var(--space-sm) 0; font-size: 14px; color: #888; }

.suite-price {
  background: linear-gradient(135deg, #f8faf9 0%, #f0f4f1 100%);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  margin-top: var(--space-md);
  text-align: center;
}

.suite-price-amount { font-size: 24px; font-weight: 700; color: var(--color-primary); }
.suite-price-label { font-size: 13px; color: #666; margin-top: 4px; }

.suite-book-hint {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  text-align: center;
  margin-top: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.suite-card-optimized:hover .suite-book-hint { opacity: 1; }

/* ==================== STICKY SUMMARY (Desktop) ==================== */
.flow-sidebar-optimized { display: none; }

@media (min-width: 1024px) {
  .flow-sidebar-optimized { display: block; }
}

.summary-sticky {
  position: sticky;
  top: 100px;
  background: white;
  border: 2px solid #e8e8e8;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.summary-header h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-primary-dark);
  margin: 0 0 var(--space-md) 0;
  padding-bottom: var(--space-md);
  border-bottom: 2px solid #f0f0f0;
}

.summary-empty { text-align: center; padding: var(--space-xl) 0; color: #999; }
.summary-empty p { margin: 0; font-size: 15px; }
.summary-empty span { font-size: 13px; color: #bbb; }

.summary-item {
  background: #f8f9fa;
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
}

.summary-item-header { display: flex; justify-content: space-between; margin-bottom: var(--space-xs); }
.summary-item-name { font-weight: 600; color: var(--color-primary-dark); font-size: 14px; }
.summary-item-price { font-weight: 700; color: var(--color-primary); font-size: 14px; }
.summary-item-details { font-size: 12px; color: #666; line-height: 1.5; }

.summary-footer {
  border-top: 2px solid #e8e8e8;
  padding-top: var(--space-md);
  margin-top: var(--space-md);
}

.summary-total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; margin-bottom: var(--space-md); }
.total-amount { color: var(--color-primary); font-size: 24px; }

.btn-checkout {
  width: 100%;
  padding: 14px;
  background: var(--color-accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-checkout:hover { background: var(--color-accent-hover); transform: translateY(-2px); }

/* ==================== MOBILE STICKY FOOTER ==================== */
.mobile-summary-footer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: white;
  border-top: 3px solid var(--color-primary);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  z-index: 998;
  display: none;
}

@media (max-width: 1023px) {
  .mobile-summary-footer { display: block; }
}

.footer-content {
  padding: var(--space-md) var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.footer-info { display: flex; flex-direction: column; gap: 4px; }
.item-count { font-size: 13px; color: #666; }
.total-price { font-size: 24px; font-weight: 700; color: var(--color-primary); }

.btn-mobile-checkout {
  padding: 12px 32px;
  background: var(--color-accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

/* ==================== MODALS ==================== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: var(--space-md);
}

.modal-dialog {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalAppear 0.3s ease;
}

.modal-dialog.modal-compact { max-width: 480px; }

@keyframes modalAppear {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

.modal-close {
  position: absolute;
  top: var(--space-md); right: var(--space-md);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #f0f0f0;
  border: none;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover { background: #e0e0e0; transform: rotate(90deg); }
.modal-content { padding: var(--space-xl) var(--space-lg); }

/* ==================== GALLERY LIGHTBOX ==================== */
.gallery-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.94);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
}

body.gallery-open { overflow: hidden; }

.gallery-close-btn {
  position: absolute;
  top: 14px; right: 16px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: white;
  font-size: 26px;
  cursor: pointer;
  z-index: 11;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.gallery-close-btn:hover { background: rgba(255,255,255,0.3); transform: rotate(90deg); }

.gallery-title-bar {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.9);
  font-family: var(--font-heading);
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 65%;
  pointer-events: none;
}

.gallery-main-wrap {
  position: relative;
  width: 100%;
  max-width: 920px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 64px 12px;
  flex: 1;
  min-height: 0;
}

.gallery-main-img {
  max-width: 100%;
  max-height: calc(100vh - 200px);
  object-fit: contain;
  border-radius: 8px;
  user-select: none;
  display: block;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.18);
  border: 2px solid rgba(255,255,255,0.38);
  border-radius: 50%;
  color: white;
  font-size: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.1s;
  user-select: none;
  z-index: 5;
}

.gallery-nav-btn:hover { background: rgba(255,255,255,0.36); transform: translateY(-50%) scale(1.08); }
.gallery-nav-btn.prev { left: 10px; }
.gallery-nav-btn.next { right: 10px; }

.gallery-counter {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  letter-spacing: 1px;
  pointer-events: none;
}

.gallery-thumbs-strip {
  display: flex;
  gap: 8px;
  padding: 12px 20px 20px;
  overflow-x: auto;
  max-width: 920px;
  width: 100%;
  justify-content: center;
  flex-shrink: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.25) transparent;
}

.gallery-thumbs-strip::-webkit-scrollbar { height: 4px; }
.gallery-thumbs-strip::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.25); border-radius: 2px; }

.gallery-thumb-item {
  width: 72px; height: 72px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.5;
  border: 3px solid transparent;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.gallery-thumb-item:hover { opacity: 0.8; }
.gallery-thumb-item.active { opacity: 1; border-color: var(--color-accent); }

@media (max-width: 767px) {
  .gallery-main-wrap { padding: 56px 44px 8px; }
  .gallery-main-img { max-height: calc(100vh - 220px); }
  .gallery-nav-btn { width: 38px; height: 38px; font-size: 22px; }
  .gallery-nav-btn.prev { left: 4px; }
  .gallery-nav-btn.next { right: 4px; }
  .gallery-thumb-item { width: 58px; height: 58px; }
  .gallery-thumbs-strip { justify-content: flex-start; }
}

/* ==================== MOBILE QUICK-BOOK BAR ==================== */
.mobile-quick-book {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: white;
  border-top: 3px solid var(--color-accent);
  box-shadow: 0 -6px 28px rgba(0,0,0,0.22);
  z-index: 997;
  transform: translateY(100%);
  transition: transform 0.36s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
}

.mobile-quick-book.visible { transform: translateY(0); }

@media (min-width: 768px) {
  .mobile-quick-book { display: none !important; }
}

.mqb-info { flex: 1; min-width: 0; }

.mqb-name {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--color-primary-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.mqb-date {
  display: block;
  font-size: 11px;
  color: #666;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mqb-price {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-heading);
  line-height: 1;
}

.mqb-btn {
  background: var(--color-accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}

.mqb-btn:hover { background: var(--color-accent-hover); }

/* ==================== RESPONSIVE ==================== */
/* NOTE: .controls-container intentionally NOT overridden here —
   the 2fr 1fr auto grid holds until 767px where the mobile block kicks in */
@media (max-width: 1023px) {
  .control-preview { text-align: left; }

  .section-accommodation .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .btn-skip { align-self: flex-start; }
}

@media (max-width: 768px) {
  .experiences-grid-optimized,
  .suites-grid-optimized { grid-template-columns: 1fr; }

  .guests-selects { grid-template-columns: 1fr; }
  .accommodation-controls { grid-template-columns: 1fr; }
  .exp-flow-optimized { padding-bottom: 120px; }
}

/* ==================== UTILITIES ==================== */
.text-center { text-align: center; }
.hidden { display: none !important; }

/* ==================== RICH TEXT ==================== */
.exp-description,
.modal-description { line-height: 1.6; color: #555; }

.exp-description p,
.modal-description p { margin-bottom: 12px; }

.exp-description p:last-child,
.modal-description p:last-child { margin-bottom: 0; }

.exp-description strong, .exp-description b,
.modal-description strong, .modal-description b { font-weight: 600; color: #1D3557; }

.exp-description em, .exp-description i,
.modal-description em, .modal-description i { font-style: italic; color: #666; }

.exp-description ul, .exp-description ol,
.modal-description ul, .modal-description ol { margin: 10px 0 12px 20px; padding-left: 0; }

.exp-description li,
.modal-description li { margin-bottom: 6px; line-height: 1.5; }

.exp-description a,
.modal-description a { color: #2c5f2d; text-decoration: underline; }

.exp-description a:hover,
.modal-description a:hover { color: #234d23; }

.exp-description h3, .exp-description h4,
.modal-description h3, .modal-description h4 { margin: 15px 0 10px 0; font-weight: 600; color: #1D3557; }

.exp-description h3, .modal-description h3 { font-size: 18px; }
.exp-description h4, .modal-description h4 { font-size: 16px; }