:root {
      --dd-navy: #020028;
      --dd-gold: #bf9b30;
      --dd-light: #f7f7f9;
      --dd-text-muted: #6c7087;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: "Montserrat", sans-serif;
      background: var(--dd-light);
      color: #020028;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    .event-page {
      display: flex;
      min-height: 100vh;
    }

    .event-left {
      flex: 2;
      padding: 24px 64px 64px;
      background: #f4f4f8;
    }

    .event-right {
      flex: 1;
      background: var(--dd-navy);
      color: #ffffff;
      padding: 32px 40px 48px;
    }

    .return-link {
      font-size: 12px;
      margin-bottom: 10px;
    }

    .return-link a {
      text-decoration: none;
      color: #555a7a;
    }

    /* selector bar */

    .event-selector {
      border: 1px solid #dde1eb;
      border-radius: 8px;
      padding: 16px 20px;
      margin-bottom: 24px;
      background: #ffffff;
    }

    .event-selector-label {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: #8a8fa3;
      margin-bottom: 12px;
    }

    .event-icon-row {
      display: flex;
      gap: 16px;
      overflow-x: auto;
    }

    .event-icon {
      width: 56px;
      height: 56px;
      border-radius: 10px;
      border: 1px solid #dde1eb;
      background: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      flex-shrink: 0;
      transition: border 0.2s ease, box-shadow 0.2s ease,
        background 0.2s ease, transform 0.2s ease;
      font-size: 26px;
    }

.event-icon.active {
  background: #020028;
  transform: translateY(-2px);
}

.event-icon img {
  max-width: 70%;
  max-height: 70%;
  display: block;
}
    /* SINGLE MODE VIEW */

    #singleView {
      margin-top: 8px;
    }

    .event-title {
      font-size: 24px;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      margin-bottom: 6px;
      margin-top: 8px;
    }

    .event-price {
      font-size: 28px;
      font-weight: 700;
      margin-bottom: 12px;
    }

    .event-description {
      font-size: 14px;
      line-height: 1.7;
     /* max-width: 640px;*/
      margin-bottom: 24px;
      color: #464b60;
    }

    .event-main-grid {
      display: flex;
      gap: 24px;
      align-items: stretch;
      flex-wrap: wrap;
    }

    .event-image {
      width: 320px;
      height: 464px;
      border-radius: 20px;
      overflow: hidden;
      flex-shrink: 0;
      background: #ccc;
    }

    .event-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .event-info-card {
      flex: 1;
      min-width: 260px;
      height: 464px;
      background: #ffffff;
      border-radius: 20px;
      padding: 20px 24px;
      box-shadow: 0 16px 35px rgba(0, 0, 0, 0.06);
      display: flex;
      flex-direction: column;
      gap: 12px;
      overflow-y: auto;
    }

    .info-row {
      border-radius: 12px;
      border: 1px solid #f1f1f5;
      padding: 14px 16px;
      display: flex;
      align-items: flex-start;
      gap: 12px;
      background: #ffffff;
    }

    .info-icon {
      font-size: 16px;
      margin-top: 4px;
    }

    .info-body {
      flex: 1;
    }

    .info-label {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: #8a8fa3;
      margin-bottom: 3px;
    }

    .info-value {
      font-size: 14px;
      color: #202338;
    }

    ul.attractions-list {
      margin: 0;
      padding-left: 18px;
      font-size: 13px;
      color: #202338;
      line-height: 1.6;
    }

    /* COMBO MODE VIEW */

    #comboView {
      margin-top: 8px;
    }

    .combo-hero {
      border-radius: 24px;
      overflow: hidden;
      margin-bottom: 24px;
    }

    .combo-hero img {
      width: 100%;
      display: block;
      height: 220px;
      object-fit: cover;
    }

    .combo-heading {
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      margin-bottom: 10px;
    }

    .combo-list {
      background: #ffffff;
      border-radius: 16px;
      padding: 16px 0;
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
    }

    .combo-empty {
      padding: 18px 24px;
      font-size: 13px;
      color: var(--dd-text-muted);
    }

    .combo-item {
      display: grid;
      grid-template-columns: auto 120px 1fr;
      align-items: center;
      column-gap: 16px;
      padding: 12px 24px;
      border-bottom: 1px solid #f1f1f5;
    }

    .combo-item:last-of-type {
      border-bottom: none;
    }

    .combo-remove {
      width: 22px;
      height: 22px;
      border-radius: 50%;
      border: 1px solid #d1d1de;
      background: #ffffff;
      font-size: 12px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .combo-thumb img {
      width: 100%;
      height: 80px;
      object-fit: cover;
      border-radius: 14px;
      display: block;
    }

    .combo-body-title {
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 4px;
    }

    .combo-body-desc {
      font-size: 12px;
      color: var(--dd-text-muted);
      margin-bottom: 8px;
    }

    .combo-see-more {
      border-radius: 2px;
      padding: 6px 14px;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.15em;
      border: 1px solid #FCB85B;
      background: transparent;
      cursor: pointer;
    }

    /* RIGHT PANEL – headings shared */

    .booking-heading-small {
      font-size: 11px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: #d1d3f0;
      margin-bottom: 8px;
    }

    /* single summary */

    #singleSummary {
      margin-bottom: 24px;
    }

    .booking-event-name {
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--dd-gold);
      margin-bottom: 4px;
    }

    .booking-price {
      font-size: 24px;
      font-weight: 700;
      margin-bottom: 16px;
    }

    .booking-divider {
      border: none;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      margin: 12px 0 18px;
    }

    .booking-label {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: #d1d3f0;
      margin-bottom: 6px;
    }

    .quantity-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .quantity-controls {
      display: inline-flex;
      border-radius: 4px;
      border: 1px solid rgba(255, 255, 255, 0.25);
      overflow: hidden;
    }

    .qty-btn {
      background: transparent;
      border: none;
      color: #ffffff;
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      cursor: pointer;
    }

    .qty-value {
      min-width: 32px;
      text-align: center;
      line-height: 32px;
      font-size: 14px;
    }

    .qty-btn:hover {
      background: rgba(255, 255, 255, 0.1);
    }

    .booking-total {
      font-size: 14px;
      text-align: right;
      color: #d1d3f0;
    }

    .booking-total strong {
      font-size: 18px;
      color: #ffffff;
    }

    /* combo summary */

    #comboSummary {
      margin-bottom: 24px;
    }

    .summary-title {
      font-size: 20px;
      text-transform: uppercase;
      margin-bottom: 16px;
    }

    .summary-lines {
      margin-top: 4px;
    }

    .summary-line {
      display: flex;
      justify-content: space-between;
      font-size: 13px;
      padding: 4px 0;
    }

    .summary-line.total {
      border-top: 1px solid rgba(255, 255, 255, 0.2);
      margin-top: 8px;
      padding-top: 8px;
      font-weight: 700;
    }

    .summary-line.discount {
      color: #f2b5b5;
    }

    /* shared form */

    .summary-label {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: #d1d3f0;
      margin-bottom: 4px;
      margin-top: 6px;
    }

.summary-qty-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.summary-qty-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  width: 22px;
  height: 22px;
  border-radius: 3px;
  color: #ffffff;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 0;
}

.summary-qty-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.summary-qty-value {
  min-width: 18px;
  text-align: center;
  font-size: 13px;
}

.summary-qty-price {
  margin-left: 4px;
  font-size: 13px;
}

    .booking-input {
      width: 100%;
      padding: 10px 12px;
      border-radius: 4px;
      border: 1px solid rgba(255, 255, 255, 0.3);
      background: transparent;
      font-size: 14px;
      color: #ffffff;
      outline: none;
      margin-bottom: 8px;
    }

    .booking-input::placeholder {
      color: rgba(255, 255, 255, 0.6);
    }

    .booking-input:focus {
      border-color: var(--dd-gold);
    }

    .error-message {
      font-size: 11px;
      color: #ffb3b3;
      margin-top: -4px;
      margin-bottom: 6px;
      display: none;
    }

    .error-message.show {
      display: block;
    }

    .pay-button {
  margin-top: 10px;
  width: 100%;
  border: none;
  padding: 14px 18px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--dd-gold);
  color: var(--dd-navy);
  cursor: pointer;
  border-radius: 3px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.1s ease, opacity 0.2s ease;
}

.pay-button:hover:not([disabled]) {
  background: #d3b45b;
  transform: translateY(-1px);
}

.pay-button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* optional: small spinner dot */
.pay-button.is-loading::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 8px;
  border-radius: 50%;
  border: 2px solid rgba(2, 0, 40, 0.4);
  border-top-color: rgba(2, 0, 40, 1);
  animation: dd-spinner 0.6s linear infinite;
}

@keyframes dd-spinner {
  to {
    transform: rotate(360deg);
  }
}

    .booking-note {
      margin-top: 10px;
      font-size: 11px;
      color: rgba(255, 255, 255, 0.6);
      line-height: 1.6;
    }

    /* modal */

    .modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.90); /* darker overlay */
 --bs-backdrop-opacity: 0.95;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
    }

    .modal-backdrop.show {
      display: flex;
    }

    .modal-card {
      background: #ffffff;
      border-radius: 20px;
      max-width: 640px;
      width: 90%;
      max-height: 90vh;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 14px 18px;
      border-bottom: 1px solid #f1f1f5;
    }

    .modal-title {
      font-size: 16px;
      font-weight: 600;
    }

    .modal-close {
      border: none;
      background: transparent;
      font-size: 18px;
      cursor: pointer;
    }

    .modal-body {
      padding: 16px 20px 20px;
      overflow-y: auto;
    }

    .modal-body-inner {
      display: flex;
      gap: 18px;
      flex-wrap: wrap;
    }

    .modal-img {
      width: 220px;
      height: 160px;
      border-radius: 16px;
      overflow: hidden;
      flex-shrink: 0;
    }

    .modal-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .modal-info {
      flex: 1;
      min-width: 220px;
    }
/* confirmation modal quick styles */
.confirm-backdrop {
  position: fixed;
  inset: 0;
  font-family: "Montserrat", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.7);
  z-index: 1200;
}
.confirm-card {
  background: #fff;
  color: #111;
  width: 92%;
  max-width: 560px;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  position: relative;
}
.confirm-close {
  position: absolute;
  right: 12px;
  top: 8px;
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}
.confirm-body { margin-top: 6px; line-height:1.4; }
.confirm-details { margin: 10px 0; background: #f7f7f7; padding: 10px; border-radius: 8px; }
.confirm-details div { margin-bottom: 6px; }
.mini-btn { margin-left:8px; padding:4px 8px; font-size:12px; cursor:pointer; }
.confirm-actions { display:flex; gap:8px; margin-top:12px; }

  /* Ticket Type Selector Styles */
    .ticket-type-selector {
      margin: 20px 0;
      padding: 16px;
      background: #f8f9fa;
      border-radius: 12px;
      border: 1px solid #e0e0e8;
    }
    
    .ticket-type-label {
      font-weight: 600;
      margin-bottom: 12px;
      color: #333;
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 0.1em;
    }
    
    .ticket-options {
      display: flex;
      gap: 12px;
    }
    
    .ticket-option {
      flex: 1;
      padding: 14px 16px;
      border: 2px solid #ddd;
      border-radius: 10px;
      background: white;
      cursor: pointer;
      transition: all 0.25s ease;
      text-align: center;
      position: relative;
    }
    
    .ticket-option:hover {
      border-color: var(--dd-gold);
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    }
    
    .ticket-option.active {
      border-color: var(--dd-gold);
      background: var(--dd-navy);
      color: white;
      box-shadow: 0 8px 20px rgba(2, 0, 40, 0.15);
    }
    
    .ticket-option-name {
      font-weight: 700;
      font-size: 15px;
      margin-bottom: 6px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }
    
    .ticket-option-price {
      font-size: 16px;
      font-weight: 600;
      opacity: 0.75;
    }
    
    .ticket-option.active .ticket-option-price {
      opacity: 1;
      color: var(--dd-gold);
    }
    
    /* Combo ticket selector */
    .combo-ticket-selector {
      margin-top: 12px;
      padding: 12px;
      background: #f5f5f8;
      border-radius: 8px;
      border: 1px solid #e8e8ee;
    }
    
    .combo-ticket-selector .ticket-type-label {
      font-size: 11px;
      margin-bottom: 10px;
      color: #555;
    }
    
    .combo-ticket-selector .ticket-options {
      gap: 10px;
    }
    
    .combo-ticket-selector .ticket-option {
      padding: 10px 12px;
      font-size: 12px;
    }
    
    .combo-ticket-selector .ticket-option-name {
      font-size: 13px;
      margin-bottom: 4px;
    }
    
    .combo-ticket-selector .ticket-option-price {
      font-size: 13px;
    }

    /* responsive */

    @media (max-width: 1024px) {
      .event-page {
        flex-direction: column;
      }

      .event-left {
        padding: 20px 20px 40px;
      }

      .event-right {
        padding: 24px 20px 40px;
      }

      .event-main-grid {
        flex-direction: column;
      }

      .event-image,
      .event-info-card {
        width: 100%;
        height: auto;
      }
    }

    @media (max-width: 640px) {
     .combo-item {
    display: grid;
    grid-template-columns: 1fr auto;   /* content + small column for the X */
    grid-template-rows: auto auto;     /* row 1: image, row 2: text */
    row-gap: 8px;
    column-gap: 8px;
  }

  /* image first, full width */
  .combo-thumb {
    grid-column: 1 / 3;   /* spans both columns */
    grid-row: 1;
  }

  /* text below the image, full width */
  .combo-body {
    grid-column: 1 / 3;
    grid-row: 2;
  }

  /* X button sits on top-right of the image */
  .combo-remove {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
  }
    }