/* Scoped styles for the discount entry point and its two-step dialog. */
.benefits-trigger {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  flex: 0 1 auto; max-width: 100%; min-height: 44px; padding: 10px 14px;
  border: 1px solid #bbd5d0; border-radius: 12px; background: #edf7f3; color: #144d43;
  font: 600 .82rem/1.4 var(--sans, sans-serif); text-align: left; white-space: normal;
  overflow-wrap: anywhere; cursor: pointer; transition: background .2s, border-color .2s;
}
.benefits-trigger:hover { background: #dfefe8; border-color: #5a9184; color: #144d43; }
.benefits-trigger strong { color: inherit; font-weight: 800; white-space: nowrap; }
.benefits-trigger__icon { width: 21px; height: 21px; flex: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.benefits-trigger__arrow { font-size: 1.15rem; line-height: 1; flex: none; }
.benefits-trigger--hero { padding: 12px 17px; font-size: .88rem; background: #f4faf6; border-color: #f4faf6; }
.benefits-trigger:focus-visible, .benefits-dialog :focus-visible { outline: 3px solid #287c69; outline-offset: 3px; }

.benefits-dialog {
  --heading: #25101a; --fg: #2a1019; --accent: #731637;
  position: fixed; inset: 0; z-index: 1000; width: min(740px, calc(100% - 32px));
  max-width: calc(100% - 32px); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; border: 1px solid #ded7d1; border-radius: 22px;
  background: #fffdfa; color: #2a1019; box-shadow: 0 24px 90px rgba(0, 20, 46, .32);
  font: 400 16px/1.55 var(--sans, sans-serif); text-align: left;
  overflow: hidden; overflow-wrap: anywhere; overscroll-behavior: contain;
}
.benefits-dialog:not([open]) { display: none; }
.benefits-dialog::backdrop { background: rgba(0, 20, 35, .67); }
.benefits-dialog[aria-modal="true"] { box-shadow: 0 0 0 100vmax rgba(0, 20, 35, .67), 0 24px 90px rgba(0, 20, 46, .32); }
.benefits-shell { display: flex; flex-direction: column; max-height: calc(100vh - 34px); max-height: calc(100dvh - 34px); min-width: 0; }
.benefits-header { flex: none; padding: 23px 28px 19px; border-bottom: 1px solid #e4dcd6; background: #f5f0e9; }
.benefits-heading-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.benefits-dialog-title { margin: 0; color: #731637; font: 700 clamp(1.18rem, 3.4vw, 1.5rem)/1.3 var(--serif, sans-serif); letter-spacing: -.015em; }
.benefits-dialog-title span { white-space: nowrap; }
.benefits-close { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; margin: -7px -7px 0 0; padding: 8px; border: 1px solid transparent; border-radius: 50%; color: #5c3f49; background: transparent; cursor: pointer; }
.benefits-close:hover { color: #731637; border-color: #d9c8cc; background: #fffdfa; }
.benefits-close svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.benefits-event { margin-top: 11px; }
.benefits-event__title { margin: 0; color: #2a1019; font-size: .96rem; font-weight: 700; line-height: 1.4; }
.benefits-event__date { margin: 4px 0 0; color: #72575f; font-size: .83rem; line-height: 1.4; }
.benefits-content { min-height: 0; min-width: 0; padding: 24px 28px 28px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-gutter: stable; }
.benefits-step-label { margin: 0 0 8px; color: #7a5962; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.benefits-step-title { margin: 0 0 13px; color: #25101a; font: 700 1.3rem/1.3 var(--serif, sans-serif); letter-spacing: -.01em; text-wrap: initial; }
.benefits-step-title:focus { outline: none; }
.benefits-intro, .benefits-text { margin: 0; font-size: .91rem; line-height: 1.6; }
.benefits-text + .benefits-text { margin-top: 10px; }
.benefits-categories { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-width: 0; margin: 22px 0 0; padding: 0; border: 0; }
.benefits-category { display: flex; gap: 11px; align-items: flex-start; min-width: 0; margin: 0; padding: 17px 15px; border: 1px solid #ded7d1; border-radius: 13px; background: #fff; color: #2a1019; cursor: pointer; transition: border-color .2s, background .2s; }
.benefits-category:hover { border-color: #83a699; background: #f7fbf8; }
.benefits-category:has(.benefits-radio:checked) { border-color: #377967; background: #edf7f1; box-shadow: inset 0 0 0 1px #377967; }
.benefits-radio, .benefits-checkbox { appearance: auto; flex: none; width: 19px; height: 19px; margin: 3px 0 0; padding: 0; accent-color: #216452; cursor: pointer; }
.benefits-category__text { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.benefits-category__name { font-size: .9rem; font-weight: 600; line-height: 1.45; }
.benefits-category__code { display: block; color: #6b5660; font-size: .75rem; line-height: 1.4; }
.benefits-category__code b { color: #216452; font-weight: 700; white-space: nowrap; }
.benefits-section { margin-top: 23px; }
.benefits-section-title { margin: 0 0 9px; color: #36222a; font: 700 .93rem/1.4 var(--sans, sans-serif); letter-spacing: 0; }
.benefits-list { margin: 0; padding: 0 0 0 21px; color: #46363a; font-size: .89rem; line-height: 1.6; }
.benefits-list li + li { margin-top: 6px; }
.benefits-list + .benefits-text { margin-top: 10px; }
.benefits-ticket-limit { padding: 15px 17px; border-left: 3px solid #387d69; border-radius: 0 10px 10px 0; background: #edf5ef; }
.benefits-help { margin: 9px 0 0; color: #65565b; font-size: .82rem; line-height: 1.55; }
.benefits-digital { margin: 12px 0 0; padding: 12px 14px; border: 1px solid #c8d9d1; border-radius: 10px; color: #245847; background: #f6faf7; font-size: .84rem; line-height: 1.55; }
.benefits-promo { margin-top: 24px; padding: 19px; border: 1px solid #dbd1c9; border-radius: 14px; background: #f9f5ee; }
.benefits-promo__row { display: flex; align-items: stretch; flex-wrap: wrap; gap: 10px; }
.benefits-promo__code { display: block; flex: 1 1 170px; min-width: 0; width: 100%; max-width: 100%; margin: 0; padding: 10px 12px; border: 1px dashed #b1c4b9; border-radius: 8px; color: #195343; background: #fff; font: 700 1.12rem/1.3 var(--sans, sans-serif); letter-spacing: .045em; }
.benefits-copy-status { min-height: 1.3em; margin: 7px 0 -4px; color: #245847; font-size: .78rem; line-height: 1.4; }
.benefits-warning { margin-top: 24px; padding: 18px; border: 1px solid #d8b5b9; border-left: 4px solid #9a3148; border-radius: 10px; background: #fff5f2; }
.benefits-warning .benefits-section-title { color: #862c41; }
.benefits-warning .benefits-text { color: #633d46; font-size: .85rem; }
.benefits-consent { display: flex; align-items: flex-start; gap: 12px; margin: 24px 0 0; padding: 17px; border: 1px solid #c9d7cf; border-radius: 11px; background: #fff; color: #3b433d; font-size: .85rem; line-height: 1.6; cursor: pointer; }
.benefits-consent:has(.benefits-checkbox:checked) { border-color: #7ba691; background: #f2f8f3; }
.benefits-footer { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 15px; min-width: 0; padding: 18px 28px; border-top: 1px solid #e4dcd6; background: #fffdfa; }
.benefits-footer-note { margin: 0; color: #7b626b; font-size: .75rem; line-height: 1.45; }
.benefits-footer > .benefits-footer-note { max-width: 230px; }
.benefits-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; max-width: 100%; margin: 0; padding: 11px 18px; border: 1px solid transparent; border-radius: 999px; font: 600 .86rem/1.4 var(--sans, sans-serif); text-align: center; white-space: normal; overflow-wrap: anywhere; cursor: pointer; transition: background .2s, border-color .2s; }
.benefits-button--primary { background: #731637; color: #fff; border-color: #731637; }
.benefits-button--primary:hover:not(:disabled) { background: #922548; border-color: #922548; }
.benefits-button:disabled { background: #eae5e1; border-color: #ddd4cf; color: #7b6c72; cursor: not-allowed; }
.benefits-button--secondary { color: #185743; background: #fff; border-color: #91b4a2; }
.benefits-button--secondary:hover { background: #ecf5ef; border-color: #3d7f65; }
.benefits-button--back { padding-left: 0; padding-right: 0; color: #731637; background: transparent; border-radius: 5px; font-size: .8rem; }
.benefits-button--back:hover { color: #9a1f45; text-decoration: underline; text-underline-offset: 3px; }
.benefits-purchase { display: flex; flex-direction: column; gap: 7px; align-items: flex-end; min-width: 0; }
.benefits-purchase .benefits-footer-note { text-align: right; }
.benefits-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 600px) {
  .benefits-dialog { width: calc(100% - 16px); max-width: calc(100% - 16px); max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); border-radius: 17px; }
  .benefits-shell { max-height: calc(100vh - 18px); max-height: calc(100dvh - 18px); }
  .benefits-header { padding: 17px 18px 15px; }
  .benefits-heading-row { gap: 8px; }
  .benefits-dialog-title { font-size: 1.15rem; }
  .benefits-event__title { font-size: .86rem; }
  .benefits-event__date { font-size: .77rem; }
  .benefits-content { padding: 19px 18px 23px; }
  .benefits-step-title { font-size: 1.13rem; }
  .benefits-intro { font-size: .86rem; }
  .benefits-categories { grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
  .benefits-category { padding: 13px; }
  .benefits-category__text { gap: 5px; }
  .benefits-category__name { font-size: .86rem; }
  .benefits-footer { align-items: stretch; flex-direction: column; gap: 9px; padding: 13px 18px max(13px, env(safe-area-inset-bottom)); }
  .benefits-footer > .benefits-footer-note { max-width: none; text-align: center; font-size: .72rem; }
  .benefits-footer > .benefits-button--back { min-height: 33px; align-self: center; padding-top: 4px; padding-bottom: 4px; }
  .benefits-purchase { align-items: stretch; gap: 6px; }
  .benefits-purchase .benefits-footer-note { font-size: .69rem; text-align: center; }
  .benefits-promo, .benefits-warning, .benefits-consent { padding: 14px; }
  .benefits-promo__row { gap: 8px; }
  .benefits-promo__code { flex-basis: 140px; }
  .benefits-promo__row .benefits-button { flex: 1 1 110px; }
}
@media (max-height: 500px) and (min-width: 601px) {
  .benefits-header { padding-top: 12px; padding-bottom: 10px; }
  .benefits-event { margin-top: 5px; }
  .benefits-footer { padding-top: 10px; padding-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .benefits-trigger, .benefits-button, .benefits-category { transition: none; }
}
