.et-booking {
  --et-accent: #0f4c81;
  --et-accent-soft: #e8f2fb;
  --et-accent-dark: #0a3558;
  --et-success: #0f7b4b;
  --et-border: #d7e3f0;
  --et-text: #1a2b3c;
  --et-muted: #5b6f82;
  --et-bg: #f4f8fc;
  --et-radius: 16px;
  --et-shadow: 0 10px 30px rgba(15, 76, 129, 0.08);
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1rem 6.5rem;
  color: var(--et-text);
  font-family: inherit;
}

.et-booking__hero {
  text-align: center;
  margin: 0 0 1.25rem;
}

.et-booking__eyebrow {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--et-accent);
  font-weight: 700;
}

.et-booking__headline {
  margin: 0.35rem 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.2;
}

.et-booking__lead {
  margin: 0;
  color: var(--et-muted);
  font-size: 0.98rem;
}

.et-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
  position: sticky;
  top: 0.5rem;
  z-index: 5;
}

.et-step {
  display: block;
  background: #fff;
  border: 1px solid var(--et-border);
  border-radius: 999px;
  padding: 0.45rem 0.65rem;
  font-size: 0.78rem;
  color: var(--et-muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.et-step:hover,
.et-step:focus-visible {
  border-color: var(--et-accent);
  color: var(--et-accent-dark);
  outline: none;
  box-shadow: 0 0 0 2px rgba(15, 76, 129, 0.15);
}

.et-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--et-bg);
  margin-right: 0.25rem;
  font-weight: 700;
}

.et-step--active {
  border-color: var(--et-accent);
  color: var(--et-accent-dark);
  background: var(--et-accent-soft);
}

.et-panel {
  background: #fff;
  border: 1px solid var(--et-border);
  border-radius: var(--et-radius);
  box-shadow: var(--et-shadow);
  padding: 1rem;
  margin-bottom: 1rem;
  scroll-margin-top: 4.5rem;
}

.et-panel__title--sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.et-panel--tickets {
  position: relative;
}

.et-panel__title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.et-ticket-cards {
  display: grid;
  gap: 0.75rem;
}

.et-ticket-card {
  border: 1px solid var(--et-border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.et-ticket-card.is-open,
.et-ticket-card.has-selection {
  border-color: var(--et-accent);
  box-shadow: 0 6px 18px rgba(15, 76, 129, 0.1);
}

.et-ticket-card__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.et-ticket-card__main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.et-ticket-card__title {
  font-size: 1rem;
}

.et-ticket-card__desc {
  color: var(--et-muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.et-ticket-card__qty-offer {
  display: block;
  margin-top: 0.2rem;
  color: var(--et-accent, #0f5132);
  font-size: 0.82rem;
  font-weight: 600;
}

.et-ticket-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.et-ticket-card__from {
  font-weight: 700;
  color: var(--et-accent-dark);
  white-space: nowrap;
}

.et-ticket-card__badge {
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: var(--et-accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.et-ticket-card__chevron {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--et-accent);
  border-bottom: 2px solid var(--et-accent);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.et-ticket-card.is-open .et-ticket-card__chevron {
  transform: rotate(-135deg) translateY(2px);
}

.et-ticket-card__body {
  padding: 0 1rem 1rem;
  border-top: 1px solid var(--et-border);
}

.et-ticket-card__date {
  margin: 0.75rem 0;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: var(--et-accent-soft);
  color: var(--et-accent-dark);
  font-size: 0.9rem;
  font-weight: 600;
}

.et-qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.75rem 0;
  background: var(--et-bg);
  border-radius: 999px;
  padding: 0.25rem;
}

.et-qty-stepper__btn {
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--et-accent-dark);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.et-qty-stepper__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.et-qty-input {
  width: 3rem;
  text-align: center;
  border: 0;
  background: transparent;
  font-size: 1rem;
  font-weight: 700;
  -moz-appearance: textfield;
}

.et-qty-input::-webkit-outer-spin-button,
.et-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.et-field {
  margin-bottom: 0.9rem;
}

.et-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.et-field input {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--et-border);
  border-radius: 12px;
  font-size: 1rem;
}

.et-field input:focus {
  outline: 2px solid rgba(15, 76, 129, 0.25);
  border-color: var(--et-accent);
}

.et-field--visit-plan {
  padding: 1rem;
  border: 1px solid var(--et-border);
  border-radius: 12px;
  background: var(--et-bg);
}

.et-field__legend {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.98rem;
}

.et-field__hint {
  margin: 0 0 0.85rem;
  color: var(--et-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.et-visit-plan__row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.75rem;
}

.et-visit-plan-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.65rem;
  flex: 1 1 220px;
  min-width: 0;
}

.et-visit-plan-fields.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.et-visit-plan-field {
  min-width: 0;
}

.et-visit-plan-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.88rem;
}

.et-visit-plan-input {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--et-border);
  border-radius: 12px;
  font-size: 1rem;
  background: #fff;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.et-visit-plan-input:focus {
  outline: 2px solid rgba(15, 76, 129, 0.25);
  border-color: var(--et-accent);
}

.et-visit-pending {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex: 0 1 240px;
  min-width: min(100%, 240px);
  margin: 0;
  padding: 0.85rem 1rem;
  border: 2px solid var(--et-border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.et-visit-pending:hover {
  border-color: var(--et-accent);
}

.et-visit-pending:has(.et-visit-pending__input:checked),
.et-visit-pending.is-checked {
  border-color: var(--et-accent);
  background: var(--et-accent-soft);
  box-shadow: 0 0 0 2px rgba(15, 76, 129, 0.12);
}

.et-visit-pending__input {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  min-width: 1.35rem;
  min-height: 1.35rem;
  margin: 0.15rem 0 0;
  accent-color: var(--et-accent);
  cursor: pointer;
}

.et-visit-pending__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  line-height: 1.25;
}

.et-visit-pending__text strong {
  font-size: 0.95rem;
  color: var(--et-text);
}

.et-visit-pending__text small {
  font-size: 0.82rem;
  color: var(--et-muted);
}

@media (max-width: 640px) {
  .et-visit-plan__row {
    flex-direction: column;
  }

  .et-visit-plan-fields {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .et-visit-pending {
    width: 100%;
    flex-basis: auto;
  }
}

@media (min-width: 641px) {
  .et-visit-plan-fields {
    max-width: calc(100% - 240px);
  }
}

.et-ticket-card__line-total {
  margin: 0.5rem 0 0;
  color: var(--et-muted);
}

.et-cart-summary {
  background: var(--et-bg);
  border-radius: 12px;
  padding: 0.85rem;
  margin-bottom: 1rem;
}

.et-cart-summary__lines {
  margin-bottom: 0.5rem;
}

.et-cart-line {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.92rem;
  padding: 0.25rem 0;
}

.et-cart-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0;
}

.et-cart-summary__row--discount strong {
  color: var(--et-success);
}

.et-cart-summary__row--total {
  border-top: 1px solid var(--et-border);
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  font-size: 1.05rem;
}

.et-coupon {
  margin-bottom: 1rem;
}

.et-coupon label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.et-coupon__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

.et-coupon__message {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
}

.et-coupon__message.is-success {
  color: var(--et-success);
}

.et-coupon__message.is-error {
  color: #b42318;
}

.et-booking__section--privacy {
  margin-bottom: 1rem;
}

.et-privacy-notice {
  margin-bottom: 0.75rem;
  color: var(--et-muted);
  font-size: 0.92rem;
  max-height: 8rem;
  overflow: auto;
}

.et-privacy-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.92rem;
}

.et-privacy-consent input {
  margin-top: 0.2rem;
}

.et-booking__errors {
  color: #b42318;
  margin: 0.75rem 0;
  font-size: 0.92rem;
}

.et-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.et-button:active {
  transform: scale(0.98);
}

.et-button--primary,
.et-button:not(.et-button--secondary) {
  width: 100%;
  background: linear-gradient(135deg, var(--et-accent), var(--et-accent-dark));
  color: #fff;
}

.et-button--secondary {
  background: #fff;
  color: var(--et-accent-dark);
  border: 1px solid var(--et-border);
  white-space: nowrap;
}

.et-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.et-mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--et-border);
  backdrop-filter: blur(8px);
}

.et-mobile-bar__total span {
  display: block;
  font-size: 0.75rem;
  color: var(--et-muted);
}

.et-mobile-bar__total strong {
  font-size: 1.05rem;
}

.et-mobile-bar .et-button {
  width: auto;
  min-width: 8.5rem;
}

.et-success {
  max-width: 640px;
  margin: 2rem auto;
  padding: 1.5rem;
  border-radius: 12px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
}

.et-success__note {
  color: var(--et-muted);
  font-size: 0.95rem;
}

.et-success--failed {
  background: #fef2f2;
  border-color: #fecaca;
}

.et-booking--single {
  max-width: 640px;
}

.et-booking--button-mode {
  max-width: 520px;
}

.et-single-price {
  margin: 0.5rem 0 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--et-accent-dark);
}

.et-single-cta__button {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1.1rem 1.25rem;
  border: 0;
  border-radius: var(--et-radius);
  background: linear-gradient(135deg, var(--et-accent), var(--et-accent-dark));
  color: #fff;
  cursor: pointer;
  box-shadow: var(--et-shadow);
}

.et-single-cta__label {
  font-size: 1.05rem;
  font-weight: 800;
}

.et-single-cta__hint {
  font-size: 0.82rem;
  opacity: 0.9;
}

.et-booking--button-mode .et-booking__form[hidden] {
  display: none !important;
}

.et-notice {
  padding: 1rem;
  border: 1px solid var(--et-border);
  border-radius: 8px;
  background: #fff8e1;
}

.et-notice--warning {
  border-left: 4px solid #f0b429;
}

.et-payment-methods__single {
  margin: 0.75rem 0 0;
  font-weight: 600;
}

@media (min-width: 768px) {
  .et-booking {
    padding-bottom: 2rem;
  }

  .et-mobile-bar {
    display: none;
  }

  .et-panel {
    padding: 1.25rem 1.35rem;
  }

  .et-coupon__row {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 480px) {
  .et-steps {
    grid-template-columns: 1fr;
  }

  .et-step {
    text-align: left;
  }

  .et-ticket-card__toggle {
    align-items: flex-start;
  }

  .et-ticket-card__meta {
    flex-direction: column;
    align-items: flex-end;
  }
}

.et-payment-methods {
  margin: 1rem 0 0;
  padding: 0;
  border: 0;
}

.et-payment-methods__legend {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.et-payment-methods__option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.et-bank-details {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid #d8dee6;
  border-radius: 10px;
  background: #f8fafc;
}

.et-bank-details__list {
  margin: 0;
}

.et-bank-details__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.5rem 1rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid #e8edf2;
}

.et-bank-details__row:last-child {
  border-bottom: 0;
}

.et-bank-details__row dt {
  margin: 0;
  font-weight: 600;
}

.et-bank-details__row dd {
  margin: 0;
}

.et-bank-details__note {
  margin: 0.75rem 0 0;
  color: #4a5568;
}
