@font-face {
  font-family: GTClassicRegular;
  src: url('/assets/GTClassic-Regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: GTClassicBlack;
  src: url('/assets/GTClassic-Black.woff2') format('woff2');
  font-display: swap;
}

:root {
  --ink: #2c3643;
  --teal: #006d63;
  --teal-bright: #009e91;
  --purple: #7315c6;
  --pale: #f1f6f8;
  --line: #e0e2e3;
  --white: #fff;
  font-family: GTClassicRegular, Arial, sans-serif;
  color: var(--ink);
  background: var(--pale);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--pale); font-size: 18px; }
button { font: inherit; }
a { color: inherit; }

.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 100; padding: .7rem 1rem; color: var(--white); background: var(--teal); }
.skip-link:focus { top: 1rem; }

.hero { position: relative; height: 510px; background: #080909 url('/assets/hero-flamingos.jpg') center top / cover no-repeat; }
.hero-logo { position: absolute; top: 22px; left: min(50%, 577px); display: block; width: min(335px, 68vw); transform: translateX(-50%); }
.hero-logo img { display: block; width: 100%; height: auto; }

.store-background { background: var(--pale); }
.store-layout { display: grid; grid-template-columns: 310px minmax(0, 885px); align-items: start; width: min(1195px, 100%); margin: 0; }
.category-nav { display: grid; align-content: start; gap: 27px; min-height: 760px; padding: 74px 30px 60px; background: var(--pale); }
.category-nav a { font-family: GTClassicBlack, sans-serif; font-size: 18px; line-height: 1.35; text-decoration: none; }
.category-nav a:hover, .category-nav a.active { color: var(--teal); }

.store-main { min-width: 0; padding: 20px 30px 45px; background: var(--white); }
.store-toolbar { position: relative; display: flex; align-items: end; justify-content: space-between; gap: 1rem; min-height: 126px; padding-top: 66px; }
.checkout-steps { display: flex; flex-wrap: wrap; gap: 20px; margin: 0; padding: 0; list-style: none; }
.checkout-steps li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.checkout-steps li:not(:last-child)::after { margin-left: 10px; color: #7f8990; content: '›'; font-size: 26px; line-height: 1; }
.checkout-steps span { display: grid; place-items: center; width: 18px; height: 18px; color: transparent; border: 1px solid #a5acb0; border-radius: 50%; font-size: 0; }
.checkout-steps .active { color: var(--teal); }
.checkout-steps .active span { background: var(--teal); border-color: var(--teal); }
.toolbar-actions { position: absolute; top: 0; right: 0; display: flex; align-items: center; gap: 9px; }
.cart-button { display: flex; align-items: center; gap: 6px; padding: 10px 14px; color: var(--white); background: var(--teal-bright); border: 0; cursor: pointer; }
.cart-button b { min-width: 18px; text-align: center; }

.catalog-title { margin: 18px 0 28px; border-bottom: 4px solid var(--purple); }
.catalog-title h1 { margin: 0 0 10px; font-family: GTClassicBlack, sans-serif; font-size: 28px; font-weight: 400; letter-spacing: .18em; }

.live-product { padding-bottom: 17px; border-bottom: 4px solid var(--purple); }
.live-product + .live-product { padding-top: 18px; }
.live-product h2 { margin: 0 15px 10px; font-family: GTClassicBlack, sans-serif; font-size: 28px; font-weight: 400; letter-spacing: .18em; line-height: 1.25; }
.product-description { padding: 0 15px; line-height: 1.7; }
.product-description p { margin: 0 0 4px; }
.product-description a { color: var(--teal); font-family: GTClassicBlack, sans-serif; }
.details-button { margin: 19px 10px 18px; padding: 0; color: var(--teal-bright); background: none; border: 0; font-family: GTClassicBlack, sans-serif; cursor: pointer; }
.details-button span { margin-right: 6px; color: var(--ink); }
.details-copy { margin: -7px 10px 18px; padding: 12px 15px; background: #f1f5f6; line-height: 1.5; }

.price-table { background: var(--pale); }
.ticket-line { display: grid; grid-template-columns: 1fr 150px 107px; align-items: center; min-height: 74px; padding: 0 15px; border-bottom: 1px solid var(--white); }
.ticket-name { display: flex; align-items: baseline; gap: 18px; }
.ticket-name strong { font-weight: 600; }
.ticket-name span { white-space: nowrap; }
.ticket-price { color: var(--purple); font-family: GTClassicBlack, sans-serif; font-size: 30px; font-weight: 400; text-align: right; }
.quantity-stepper { display: grid; grid-template-columns: repeat(3, 36px); height: 39px; margin-left: 14px; color: var(--white); background: var(--teal-bright); }
.quantity-stepper button, .quantity-stepper output { display: grid; place-items: center; width: 36px; height: 39px; color: inherit; background: transparent; border: 0; border-right: 1px solid rgba(255, 255, 255, .25); font-weight: 700; }
.quantity-stepper button { cursor: pointer; }
.quantity-stepper button:hover { background: var(--teal); }
.add-row { display: flex; justify-content: flex-end; padding-top: 17px; }
.add-to-cart { padding: 10px 13px; color: var(--white); background: var(--teal-bright); border: 0; cursor: pointer; }
.add-to-cart:hover, .cart-button:hover { background: var(--teal); }
.add-to-cart.added { background: var(--purple); }

.partners { padding: 55px 20px; text-align: center; background: var(--white); }
.partners h2 { margin: 0 0 35px; font-family: GTClassicBlack, sans-serif; font-size: 24px; letter-spacing: .18em; }
.partner-logos { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 55px; }
.partner-logos img { width: auto; max-width: 230px; max-height: 70px; object-fit: contain; }
.site-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 28px max(30px, calc((100% - 1195px) / 2)); color: var(--white); background: #27333c; font-size: 15px; }
.site-footer a { color: var(--white); }

.cart-panel { position: fixed; inset: 0; z-index: 60; visibility: hidden; pointer-events: none; }
.cart-panel.open { visibility: visible; pointer-events: auto; }
.cart-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; background: rgba(16, 24, 30, .58); border: 0; opacity: 0; transition: opacity .2s; }
.cart-panel.open .cart-backdrop { opacity: 1; }
.cart-drawer { position: absolute; top: 0; right: 0; display: flex; flex-direction: column; width: min(460px, 100%); height: 100%; padding: 24px; background: var(--white); box-shadow: -18px 0 45px rgba(0, 0, 0, .22); transform: translateX(100%); transition: transform .25s; }
.cart-panel.open .cart-drawer { transform: translateX(0); }
.cart-header { display: flex; align-items: start; justify-content: space-between; padding-bottom: 16px; border-bottom: 4px solid var(--purple); }
.cart-header h2 { margin: 4px 0 0; font-family: GTClassicBlack, sans-serif; font-size: 30px; letter-spacing: .08em; }
.close-button, .dialog-close { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; color: var(--white); background: var(--teal); border: 0; cursor: pointer; font-size: 24px; }
.cart-items { flex: 1; overflow: auto; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.cart-line span { color: #69737b; font-size: 15px; }
.cart-empty { padding: 50px 15px; color: #69737b; text-align: center; }
.cart-summary { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.cart-summary > div { display: flex; justify-content: space-between; font-size: 22px; }
.cart-summary > .checkout-email { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin-top: 4px; }
.checkout-email label { font-weight: 700; }
.checkout-email input { width: 100%; min-height: 44px; padding: 10px 12px; color: var(--ink); background: var(--white); border: 1px solid #98a4aa; border-radius: 0; font: inherit; }
.checkout-email input:focus { border-color: var(--teal); outline: 3px solid rgba(0, 109, 99, .16); outline-offset: 1px; }
.checkout-email small { color: #69737b; font-size: 13px; line-height: 1.35; }
.checkout-email .field-error { color: #a32121; font-weight: 700; }
.checkout-button, .outline-button { width: 100%; padding: 11px 15px; cursor: pointer; }
.checkout-button { color: var(--white); background: var(--teal-bright); border: 0; }
.outline-button { color: var(--teal); background: var(--white); border: 1px solid var(--teal); }
.checkout-button:disabled, .outline-button:disabled { opacity: .45; cursor: not-allowed; }
.clear-button { padding: 8px; color: #69737b; background: none; border: 0; cursor: pointer; text-decoration: underline; }

dialog { position: relative; width: min(510px, calc(100% - 30px)); padding: 35px; color: var(--ink); background: var(--white); border: 0; box-shadow: 0 20px 70px rgba(0, 0, 0, .25); }
dialog::backdrop { background: rgba(16, 24, 30, .65); }
dialog h2 { margin: 0 40px 12px 0; font-family: GTClassicBlack, sans-serif; }
dialog p { line-height: 1.55; }
.dialog-close { position: absolute; top: 15px; right: 15px; }
.toast { position: fixed; right: 25px; bottom: 25px; z-index: 80; padding: 11px 18px; color: var(--white); background: var(--purple); opacity: 0; transform: translateY(15px); transition: .2s; pointer-events: none; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .hero { height: 330px; background-position: center top; }
  .store-layout { display: block; }
  .category-nav { display: flex; min-height: 0; padding: 18px; overflow-x: auto; gap: 20px; }
  .category-nav a { white-space: nowrap; font-size: 15px; }
  .store-main { padding: 15px; }
  .store-toolbar { align-items: flex-start; min-height: 118px; padding: 62px 0 20px; }
  .toolbar-actions { top: 10px; }
  .checkout-steps { gap: 8px; font-size: 15px; }
  .checkout-steps li:not(:last-child)::after { margin-left: 4px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero { height: 245px; }
  .hero-logo { top: 15px; width: 270px; }
  .catalog-title h1, .live-product h2 { font-size: 22px; }
  .live-product h2 { margin-inline: 5px; letter-spacing: .12em; }
  .product-description { padding-inline: 5px; }
  .ticket-line { grid-template-columns: 1fr auto; gap: 10px; padding: 12px 10px; }
  .ticket-name { display: grid; gap: 1px; }
  .ticket-price { font-size: 24px; }
  .quantity-stepper { grid-column: 1 / -1; justify-self: end; }
  .partner-logos { gap: 30px; }
  .partner-logos img { max-width: 170px; max-height: 55px; }
  .site-footer { flex-direction: column; }
}
