/* ═══════════════════════════════════════
   PACKAGE BOOKING — Package selection + form
   ═══════════════════════════════════════ */

/* ── Hero ──────────────────── */
.pkg-hero {
  position: relative;
  overflow: hidden;
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pkg-hero__inner {
  max-width: 48rem;
  text-align: center;
  position: relative;
}

.pkg-hero__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: var(--y-weight-bold);
  margin-top: var(--y-space-l);
  margin-bottom: var(--y-space-m);
}

.pkg-hero__subtitle {
  font-size: var(--y-font-l);
}

/* ── Form Section ──────────── */
.pkg-form-section {
  padding: var(--y-space-3xl) 0 var(--y-space-5xl);
}

.pkg-form-wrap {
  max-width: 64rem;
}

/* ── Steps Progress ────────── */
.steps-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--y-space-3xl);
  padding: 0 var(--y-space-l);
}

.step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--y-weight-bold);
  font-size: var(--y-font-s);
  transition: all var(--y-transition-smooth);
  flex-shrink: 0;
}

.step-circle.active {
  background: linear-gradient(135deg, var(--y-color-primary), var(--y-color-primary-subtle));
  color: var(--y-color-white);
  box-shadow: 0 4px 12px rgba(139, 105, 20, 0.3);
}

.step-circle.inactive {
  background: var(--y-color-bg-warm2);
  color: var(--y-color-text-muted);
}

.step-line {
  height: 3px;
  width: clamp(32px, 6vw, 80px);
  border-radius: var(--y-radius-full);
  transition: background var(--y-transition-smooth);
  flex-shrink: 0;
}

.step-line.active {
  background: linear-gradient(to left, var(--y-color-primary), var(--y-color-secondary));
}

.step-line.inactive {
  background: var(--y-color-bg-warm2);
}

/* Step labels */
.step-label {
  margin-top: var(--y-space-s);
  white-space: nowrap;
  color: var(--muted);
}

.step-label.active {
  color: var(--gold);
  font-weight: 600;
}

/* ── Layout (main + sidebar) ── */
.pkg-layout {
  display: flex;
  gap: var(--y-space-xxl);
  align-items: flex-start;
}

.pkg-layout__main {
  flex: 1;
  min-width: 0;
}

.pkg-layout__sidebar {
  width: 320px;
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--y-header-height) + var(--y-space-xxl));
}

/* ── Booking Card ──────────── */
.booking-card {
  background: var(--y-color-white);
  border-radius: var(--y-radius-2xl);
  padding: var(--y-space-3xl);
  border: 1px solid var(--y-color-border);
  box-shadow: var(--y-shadow-s);
}

/* ── Step Header ───────────── */
.step-header {
  display: flex;
  align-items: center;
  gap: var(--y-space-m);
  margin-bottom: var(--y-space-xxl);
  padding-bottom: var(--y-space-l);
  border-bottom: 1px solid var(--y-color-border);
}

.step-header h3 {
  font-weight: 700;
  font-size: 1.25rem;
}

.step-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(139, 105, 20, 0.1), rgba(107, 29, 58, 0.05));
  border-radius: var(--y-radius-l);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--y-color-primary);
  font-size: var(--y-font-xl);
  flex-shrink: 0;
}

.step-icon i,
.step-icon svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ── Form Labels ───────────── */
.pkg-form-label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.pkg-form-label i,
.pkg-form-label svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ── Package Cards ─────────── */
.pkg-cards-grid {
  margin-bottom: 1.5rem;
}

.pkg-card {
  padding: var(--y-space-xl);
  border-radius: var(--y-radius-xl);
  border: 2px solid var(--y-color-border);
  background: var(--y-color-white);
  cursor: pointer;
  transition: all var(--y-transition-fast);
  position: relative;
  text-align: right;
}

.pkg-card:hover {
  border-color: rgba(139, 105, 20, 0.3);
  box-shadow: var(--y-shadow-m);
}

.pkg-card.popular {
  border-color: var(--y-color-primary);
  background: rgba(139, 105, 20, 0.03);
}

.pkg-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  background: var(--bg-warm);
}

.pkg-card h4 {
  font-weight: 700;
}

.pkg-card-price {
  font-size: 1.125rem;
  font-weight: 800;
}

.pkg-card-price--silver {
  color: #94a3b8;
}

.pkg-card-price--gold {
  color: #8B6914;
}

.pkg-card-price--royal {
  color: #6B1D3A;
}

.popular-tag {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--y-color-primary);
  color: var(--y-color-white);
  padding: var(--y-space-xs) var(--y-space-m);
  border-radius: var(--y-radius-full);
  font-size: var(--y-font-xs);
  font-weight: var(--y-weight-semibold);
  white-space: nowrap;
}

/* ── Package Details Panel ─── */
.pkg-details-panel {
  background: linear-gradient(to left, var(--bg-warm), #faf8f5);
  border-radius: 0.75rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.pkg-details-panel p {
  margin-bottom: 0.75rem;
}

/* ── Halls List ────────────── */
.halls-scroll-list {
  max-height: 280px;
  overflow-y: auto;
  margin-bottom: 1.5rem;
}

.hall-option-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem;
  border-radius: 0.75rem;
  border: 2px solid var(--border);
  margin-bottom: 0.5rem;
  text-align: right;
  cursor: pointer;
  background: var(--bg-warm);
  transition: all var(--y-transition-fast);
}

.hall-option-btn:hover,
.hall-option-btn.active {
  border-color: var(--y-color-primary);
}

.hall-option-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  flex-shrink: 0;
}

.hall-option-icon i,
.hall-option-icon svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hall-option-name {
  font-weight: 600;
  display: block;
}

/* ── Addon Buttons ─────────── */
.addons-grid {
  margin-bottom: 1.5rem;
}

.addon-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--y-space-m) var(--y-space-l);
  border-radius: var(--y-radius-l);
  border: 2px solid var(--y-color-border);
  background: var(--y-color-bg-subtle);
  cursor: pointer;
  transition: all var(--y-transition-fast);
  width: 100%;
  text-align: right;
}

.addon-btn:hover {
  border-color: rgba(139, 105, 20, 0.3);
}

.addon-btn.active {
  border-color: var(--y-color-primary);
  background: rgba(139, 105, 20, 0.05);
}

.addon-check {
  width: 22px;
  height: 22px;
  border-radius: var(--y-radius-s);
  border: 2px solid var(--y-color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--y-transition-fast);
}

.addon-btn.active .addon-check {
  background: var(--y-color-primary);
  border-color: var(--y-color-primary);
}

.addon-price {
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
  font-size: var(--y-font-xs);
}

/* ── Next Button ───────────── */
.pkg-next-btn {
  margin-top: 1rem;
}

/* ── Event Type Buttons ────── */
.event-types-grid {
  margin-bottom: 0.5rem;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
}

.event-type-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: var(--y-space-m) var(--y-space-l);
  border-radius: var(--y-radius-xl);
  border: 2px solid var(--y-color-border);
  background: var(--y-color-bg-subtle);
  cursor: pointer;
  transition: all var(--y-transition-fast);
  font-size: var(--y-font-s);
  text-align: center;
}

.event-type-btn span {
  font-size: 1.125rem;
}

.event-type-btn:hover {
  border-color: rgba(139, 105, 20, 0.3);
  background: rgba(139, 105, 20, 0.05);
}

.event-type-btn.active {
  border-color: var(--y-color-primary);
  background: rgba(139, 105, 20, 0.08);
  color: var(--y-color-primary);
  font-weight: var(--y-weight-semibold);
}

/* ── Form Icons ────────────── */
.form-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.form-icon-sm {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ── Form Grid Spacing ─────── */
.form-grid-mt {
  margin-top: 1rem;
}

/* ── Contact Section ───────── */
.contact-section-divider {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-top: 0.5rem;
}

.contact-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-section-icon {
  width: 32px;
  height: 32px;
  background: rgba(107, 29, 58, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--burgundy);
  flex-shrink: 0;
}

.contact-section-icon i,
.contact-section-icon svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.contact-section-title {
  font-weight: 700;
  font-size: 1.125rem;
}

/* ── Notes Textarea ────────── */
.notes-textarea {
  height: 96px;
  resize: none;
}

/* ── Step Navigation ───────── */
.step-nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.step-nav i,
.step-nav svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.step-nav--end {
  margin-top: 2rem;
}

/* ── Cost Sidebar ──────────── */
.cost-sidebar {
  background: var(--y-color-white);
  border-radius: var(--y-radius-2xl);
  padding: var(--y-space-xxl);
  border: 1px solid var(--y-color-border);
  box-shadow: var(--y-shadow-s);
}

.cost-sidebar h3 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.sidebar-empty {
  padding: 1rem 0;
  text-align: center;
}

/* ── Total Bar ─────────────── */
.pkg-total-bar {
  background: var(--dark);
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pkg-total-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-bright);
}

.pkg-total-currency {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-right: 0.25rem;
}

/* ── Review Panel ──────────── */
.pkg-review-panel {
  background: var(--bg-warm);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.pkg-review-title {
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* ═══════════════════════════════════════
   RESPONSIVE — Large desktops
   ═══════════════════════════════════════ */

@media (max-width: 1200px) {
  .pkg-hero {
    height: 30vh;
  }

  .pkg-layout__sidebar {
    width: 280px;
  }

  .booking-card {
    padding: var(--y-space-xxl);
  }

  .cost-sidebar {
    padding: var(--y-space-xl);
  }

  .step-circle {
    width: 40px;
    height: 40px;
  }
}

/* ═══════════════════════════════════════
   RESPONSIVE — Tablets
   ═══════════════════════════════════════ */

@media (max-width: 992px) {
  .pkg-layout {
    flex-direction: column;
    align-items: center;
  }

  .pkg-layout__sidebar {
    width: 100%;
    position: static;
    order: -1;
  }
}

@media (max-width: 768px) {
  .pkg-hero {
    height: 20vh;
  }

  .pkg-hero__title {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
  }

  .pkg-hero__subtitle {
    font-size: var(--y-font-m);
  }

  .pkg-form-section {
    padding: var(--y-space-l) 0 var(--y-space-xxl);
  }

  .pkg-layout__sidebar {
    width: 100%;
    margin-top: var(--y-space-l);
    order: 1;
  }

  .booking-card {
    padding: var(--y-space-xl);
    border-radius: var(--y-radius-xl);
  }

  .steps-progress {
    margin-bottom: var(--y-space-xxl);
  }

  .step-circle {
    width: 36px;
    height: 36px;
    font-size: var(--y-font-xs);
  }

  .step-header {
    gap: var(--y-space-s);
    margin-bottom: var(--y-space-l);
  }

  .step-icon {
    width: 40px;
    height: 40px;
    font-size: var(--y-font-l);
  }

  .addon-btn {
    padding: var(--y-space-s) var(--y-space-m);
    font-size: var(--y-font-s);
  }

  .event-type-btn {
    padding: var(--y-space-s) var(--y-space-m);
    font-size: var(--y-font-xs);
  }
}

/* ═══════════════════════════════════════
   RESPONSIVE — Small phones
   ═══════════════════════════════════════ */

@media (max-width: 480px) {


  .pkg-hero {
    height: 30vh;
    overflow: hidden;
  }

  .pkg-hero__title {
    font-size: 1.25rem;
    margin-top: var(--y-space-m);
  }

  .pkg-hero__subtitle {
    font-size: var(--y-font-s);
  }

  .pkg-form-section {
    padding: var(--y-space-l) 0 var(--y-space-xxl);
  }

  .pkg-form-wrap {
    padding: 0 var(--y-space-m);
  }

  .booking-card {
    padding: var(--y-space-l);
    border-radius: var(--y-radius-l);
  }

  .cost-sidebar {
    padding: var(--y-space-l);
    border-radius: var(--y-radius-l);
  }

  .steps-progress {
    margin-bottom: var(--y-space-l);
    padding: 0;
  }

  .step-circle {
    width: 32px;
    height: 32px;
    font-size: 0.6875rem;
  }

  .step-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--y-space-s);
  }

  .step-icon {
    width: 36px;
    height: 36px;
  }

  .addon-btn {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--y-space-s);
    padding: var(--y-space-m);
  }

  .addon-check {
    width: 20px;
    height: 20px;
  }

  .event-type-btn {
    padding: var(--y-space-s);
    font-size: 0.6875rem;
    border-radius: var(--y-radius-l);
  }

  .pkg-card {
    padding: var(--y-space-l);
    border-radius: var(--y-radius-l);
  }

  .popular-tag {
    font-size: 0.625rem;
    padding: 2px var(--y-space-s);
  }
}