/* Booking-specific styles */

/* ─── Bento Hero ─────────────────────────────────────── */

.booking-hero-wrap {
  padding-top: 10px;
}

.bento-hero {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 200px;
}

.bento-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.6) 80%, rgba(0,0,0,0.75) 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.bento-hero-content {
  position: relative;
  z-index: 2;
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  min-height: 200px;
}

.bento-hero-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bento-hero-icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bento-hero-title {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.bento-hero-supplier {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  text-decoration: none;
  margin-top: 3px;
  display: block;
  transition: color .15s;
}

.bento-hero-supplier:hover {
  color: #fff;
}

.bento-hero-city {
  color: rgba(255,255,255,0.6);
}

.bento-hero-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.55;
  margin: 0;
}

.bento-hero-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.bento-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--radius-full, 999px);
  font-size: 13px;
  font-weight: 600;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}

.bento-chip svg {
  color: rgba(255,255,255,0.7);
}

.bento-chip-price {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.3);
  font-weight: 800;
  font-size: 15px;
  padding: 7px 22px;
}

/* ─── Breadcrumbs override for bento (light bg) ────── */

.bento-breadcrumbs ol {
  color: var(--text-secondary, #64748b);
}

.bento-breadcrumbs {
  margin-bottom: 6px;
}

.bento-breadcrumbs li::after {
  color: var(--gray-300, #cbd5e1);
}

.bento-breadcrumbs a {
  color: var(--text-secondary, #64748b);
}

.bento-breadcrumbs a:hover {
  color: var(--primary, #4f46e5);
}

/* Legacy hero classes — keep for embed which uses the old hero */
.booking-hero { display: none; }

.booking-flow-container {
  margin-top: 26px;
}

.booking-steps {
  margin-bottom: 26px;
}

/* ─── Panel Transitions ──────────────────────────────── */

.booking-panel {
  transition: opacity 0.3s ease, transform 0.3s ease;
  min-width: 0;
  max-width: 100%;
}

.layout-sidebar-booking,
.layout-sidebar-booking > *,
.booking-panel .card,
.booking-panel .card-body-lg {
  min-width: 0;
  max-width: 100%;
}

.booking-panel .dstrip-scroll {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  box-sizing: border-box;
  overscroll-behavior-inline: contain;
}

.booking-panel.panel-enter {
  animation: panelSlideIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes panelSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.booking-alert-toast {
  animation: slideUp 0.3s ease;
}

/* ─── Voucher Hero Price (iOS Glass) ─────────────────── */

.voucher-hero-price {
  background: linear-gradient(135deg, rgba(108,92,231,0.35), rgba(232,67,147,0.2));
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-lg);
  padding: 22px 32px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.voucher-hero-price-label {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 4px;
  font-weight: 500;
}

.voucher-hero-price-value {
  font-size: 34px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* ─── Responsive ─────────────────────────────────────── */

@media (max-width: 960px) {
  #pricingSidebar {
    position: relative !important;
    top: auto !important;
  }

  .layout-sidebar-booking > :last-child {
    order: -1;
    margin-bottom: 8px;
  }
}

@media (max-width: 768px) {
  .booking-hero-wrap {
    padding-top: 10px;
  }

  .bento-breadcrumbs {
    margin-bottom: -2px;
  }

  .booking-flow-container {
    margin-top: 18px;
  }

  .booking-steps {
    margin-bottom: 18px;
  }

  .bento-hero-content {
    padding: 18px 22px;
    min-height: 168px;
    justify-content: center;
  }

  .bento-hero-title {
    font-size: 24px;
  }

  .bento-hero-chips {
    gap: 6px;
  }

  .bento-chip {
    font-size: 12px;
    padding: 5px 12px;
  }

  .bento-chip-price {
    font-size: 13px;
    padding: 5px 16px;
  }
}

@media (max-width: 480px) {
  .bento-hero {
    border-radius: 16px;
    min-height: 150px;
  }

  .bento-hero-content {
    padding: 16px 18px;
    min-height: 150px;
    gap: 10px;
  }

  .bento-hero-title {
    font-size: 22px;
  }

  .bento-hero-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .booking-steps {
    padding: 0 4px;
  }
}
