/* ==========================================================================
   styles.css — Shared foundation and checkout flow-specific styles
   Derived from: event.css, cart.css, checkout.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   Shared foundation migrated from the legacy shared stylesheet
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Base / Reset
   -------------------------------------------------------------------------- */

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  font-family: var(--font-family);
  font-optical-sizing: auto;
  letter-spacing: var(--letter-spacing);
  color: var(--color-text);
  margin: 0;
  padding: 0;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  background-color: var(--color-black);
  background-image: url("assets/label-background.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
  min-height: 100vh;
}

@media (max-width: 767px) {
  body {
    background-position: top center;
    background-attachment: scroll;
    background-size: 100% auto;
  }
}

input, select, textarea, button {
  font-family: inherit;
  font-size: var(--font-size-base);
}

a {
  color: var(--color-link);
  text-decoration: underline;
}

a:hover {
  text-decoration: underline;
}

p {
  margin: 5px 0;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
}

.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;
}

.skip-link {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1100;
  transform: translateY(-100%);
  background: var(--color-bg-white);
  color: var(--color-black);
  padding: var(--space-3) var(--space-5);
}

.skip-link:focus {
  transform: translateY(0);
}


/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.container {
  width: auto;
  margin: 0 auto;
  padding: 0;
}

@media (min-width: 768px) {
  .container {
    max-width: 750px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 970px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 970px;
  }
}

.wrapper {
  position: relative;
}

.content {
  border: 1px solid var(--color-border-light);
  border-top: 2px solid var(--color-border-light);
  border-bottom: none;
  padding: var(--content-padding);
  background-color: var(--color-bg-white);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.row > * {
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

/* Grid columns */
.col-xs-12 { width: 100%; }
.col-xs-10 { width: 83.333%; }
.col-xs-6  { width: 50%; }
.col-xs-2  { width: 16.667%; }

@media (min-width: 768px) {
  .col-sm-2  { width: 16.667%; }
  .col-sm-3  { width: 25%; }
  .col-sm-4  { width: 33.333%; }
  .col-sm-5  { width: 41.667%; }
  .col-sm-6  { width: 50%; }
  .col-sm-7  { width: 58.333%; }
  .col-sm-8  { width: 66.667%; }
  .col-sm-10 { width: 83.333%; }
  .col-sm-12 { width: 100%; }
}

@media (min-width: 992px) {
  .col-md-5  { width: 41.667%; }
  .col-md-6  { width: 50%; }
  .col-md-12 { width: 100%; }
}

.nopadding {
  padding-left: 0 !important;
  padding-right: 0 !important;
}


/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */

.text-left    { text-align: left !important; }
.text-center  { text-align: center !important; }
.text-right   { text-align: right !important; }
.font-bold    { font-weight: var(--font-weight-bold); }
.pull-left    { float: left; }
.pull-right   { float: right; }
.clear        { clear: both; }
.hide, .hidden { display: none !important; }
.underline    { text-decoration: underline; }

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.account-menu-summary,
.thankyou-total-line-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ticket-action-clear {
  clear: both;
  padding-top: var(--space-4);
}

.checkout-form-actions {
  margin-top: var(--space-8);
}

.billing-address-title {
  margin-top: var(--space-7);
  margin-bottom: var(--space-5);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
}

.confirm-email-controls {
  margin-top: var(--space-3);
}

.content-rounded-top {
  border-top-right-radius: var(--radius-md);
  border-top-left-radius: var(--radius-md);
}

.thankyou-actions {
  margin-top: var(--space-summary-gap);
}

.cart-expired-actions {
  margin-top: var(--space-7);
}

.ticket-section-row,
.template-row-flush {
  margin: 0;
}

.receipt-cart-event-table {
  margin-top: var(--space-5);
}

.thankyou-total-line {
  margin-bottom: var(--space-1);
}

.horizontal-divider {
  border-bottom: 1px solid var(--color-border-medium);
}


/* --------------------------------------------------------------------------
   Header / Background
   -------------------------------------------------------------------------- */

.header-image {
  margin: 0;
  font-size: 0;
  line-height: 0;
  text-align: center;
}

.header-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.ribbon.top-ribbon {
  position: relative;
  display: none;
}

.header-ribbon-container {
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  padding: 0 23px;
  background-color: var(--color-bg-stripe);
  position: relative;
}

.header-ribbon-container.hidden {
  display: none;
}

.header-ribbon-container .title p {
  margin: 0;
  padding: var(--space-control-gap) 0;
  line-height: var(--line-height-nav);
  font-size: var(--font-size-lead);
}


/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.header-nav {
  position: sticky;
  top: 0;
  z-index: 1020;
  background-color: var(--color-black);
}

.header-nav .navbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 40px;
  padding: 0;
  margin: 0;
  color: var(--color-white);
  list-style: none;
}

.header-nav .navbar-inner .container {
  display: flex;
  align-items: center;
  width: 100%;
}

.header-nav .nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav .nav-links li {
  list-style: none;
}

.header-nav .navbar-inner a:not(.cart-wrapper) {
  color: var(--color-white);
  text-decoration: none;
  padding: var(--space-4) var(--space-6);
  display: block;
  font-size: var(--font-size-base);
}

.header-nav .navbar-inner a:not(.cart-wrapper):hover,
.header-nav .navbar-inner a:not(.cart-wrapper):focus {
  text-decoration: underline;
  background-color: transparent;
}

.navbar-right {
  display: flex;
  align-items: center;
  margin-left: auto;
  height: 40px;
}

/* Cart wrapper in nav */
.cart-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background-color: var(--color-bg-translucent);
  border-radius: var(--radius-pill);
  padding: 5px 7px;
  text-decoration: none;
  flex-shrink: 0;
}

.cart-wrapper:hover {
  text-decoration: none;
}

.cart-wrapper:hover .cart-badge {
  text-decoration: underline;
}

.cart-icon {
  display: block;
  width: var(--icon-size-lg);
  height: var(--icon-size-lg);
  background-image: url('assets/local_mall.svg');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.cart-badge {
  display: block;
  width: 22px;
  height: 22px;
  line-height: 22px;
  background-color: var(--color-bg-white);
  color: var(--color-black);
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-circle);
  text-align: center;
  flex-shrink: 0;
}

/* Initials portrait (user icon) */
.initials-portrait {
  display: inline-block;
  background-color: var(--color-bg-white);
  margin-left: var(--space-3);
  width: var(--icon-size-lg);
  height: var(--icon-size-lg);
  line-height: var(--line-height-md);
  text-align: center;
  color: var(--color-black);
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-circle);
  border: 0.833px solid var(--color-qty-hover);
  box-shadow: var(--shadow-avatar);
}

/* Account dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  min-width: 160px;
  padding: var(--space-control-gap) 0;
  margin: 0;
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border-translucent);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-dropdown);
}

.dropdown-menu a {
  color: var(--color-text-dark) !important;
  padding: 5px var(--space-6) !important;
  font-size: var(--font-size-sm);
}

.dropdown-menu a:hover {
  background-color: var(--color-bg-light);
}

.dropdown.open .dropdown-menu {
  display: block;
}

/* Mobile nav toggle */
#navToggle {
  background: none;
  border: none;
  margin: var(--space-4) 0 0 var(--space-4);
  padding: var(--space-1);
  cursor: pointer;
  display: none;
}

#navToggle:focus {
  outline: none;
}

#navToggle:focus-visible {
  outline: revert;
}

#navToggle > .menu::after {
  content: url('assets/menu-icon.svg');
  display: inline-block;
}

#navToggle > .menu-close::after {
  content: url('assets/close.svg');
  display: inline-block;
}

/* Timer in nav */
.timer {
  display: flex;
  align-items: center;
  color: var(--color-white);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-regular);
  padding: 0 var(--space-3);
}

/* Nav link hover */
.header-nav .nav-links li a:hover,
.header-nav .nav-links li a:focus {
  text-decoration: underline;
  background-color: transparent;
}

/* --- Mobile nav --- */
@media (max-width: 767px) {
  .header-nav .navbar-inner .container {
    position: relative;
    height: 50px;
  }

  #navToggle {
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    padding: var(--space-1) var(--space-4);
  }

  .navbar-right {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    height: auto;
    margin-left: 0;
  }

  .navbar-right > .timer {
    display: flex !important;
    font-size: var(--font-size-lg);
  }

  .header-nav .nav-links {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    background: var(--color-black);
    padding: 14px 0 var(--space-9) 0;
    flex-direction: column;
    align-items: flex-start;
    z-index: 1;
  }

  .header-nav .nav-links.open {
    display: flex;
  }

  .header-nav .nav-links li {
    width: 100%;
  }

  .header-nav .navbar-inner a:not(.cart-wrapper) {
    font-size: var(--font-size-xl);
    padding: 7px var(--space-6);
  }
}


/* --------------------------------------------------------------------------
   Buttons (.fbtn system)
   -------------------------------------------------------------------------- */

.fbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding: 9px var(--space-5);
  cursor: pointer;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-pill);
  line-height: var(--line-height-sm);
  text-decoration: none;
  font-family: inherit;
  letter-spacing: var(--letter-spacing);
}

/* Size variants */
.fbtn-xs { padding: 7px var(--space-5); line-height: 11px; }
.fbtn-sm { padding: var(--space-3) var(--space-5); line-height: 12px; }
.fbtn-md { padding: 9px var(--space-5); line-height: var(--line-height-sm); }
.fbtn-lg { padding: 11px var(--space-5); font-size: var(--font-size-sm); line-height: var(--line-height-sm); }
.fbtn-xl { padding: var(--space-5) var(--space-5); font-size: var(--font-size-base); line-height: var(--line-height-md); }

/* Width utility */
.fbtn-w-100 { width: 100%; }

/* States */
.fbtn:hover {
  background-color: var(--color-primary-hover);
  color: var(--color-white);
  text-decoration: none;
}

.fbtn:active {
  background-color: var(--color-primary-active);
  color: var(--color-white);
  text-decoration: none;
}

.fbtn:focus {
  color: var(--color-white);
  text-decoration: none;
}

.fbtn:focus-visible {
  color: var(--color-white);
  text-decoration: none;
  outline: 3px solid var(--color-focus-ring);
  outline-offset: 2px;
}

.fbtn:disabled {
  cursor: not-allowed;
  color: var(--color-disabled-text-on-primary);
  background-color: var(--color-primary-disabled);
}

/* Close button */
.fbtn-close {
  display: flex;
  align-items: center;
  color: var(--color-text-control-muted);
  background: none;
  border: none;
  cursor: pointer;
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
  padding: 0;
  text-decoration: none;
  font-family: inherit;
}

.fbtn-close:hover {
  color: var(--color-black);
  text-decoration: none;
}

/* Quantity stepper buttons */
.fbtn-quantity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-qty-bg);
  background-repeat: no-repeat;
  background-position: center center;
  border: none;
  border-radius: var(--radius-circle);
  height: 28px;
  width: 28px;
  padding: 0;
  cursor: pointer;
}

.fbtn-quantity:hover {
  background-color: var(--color-qty-hover);
}

.fbtn-quantity:active {
  background-color: var(--color-qty-active);
}

.fbtn-quantity:disabled {
  cursor: not-allowed;
  background-color: var(--color-qty-bg);
  opacity: 0.5;
}

.fbtn-quantity:focus-visible {
  outline: 3px solid var(--color-focus-ring);
  outline-offset: 2px;
}

/* Plus icon */
.fbtn-quantity-up {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M10 4v12M4 10h12' stroke='rgba(0,0,0,0.64)' stroke-width='2' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
}

/* Minus icon */
.fbtn-quantity-down {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M4 10h12' stroke='rgba(0,0,0,0.64)' stroke-width='2' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
}


/* --------------------------------------------------------------------------
   Form Elements
   -------------------------------------------------------------------------- */

/* Reset for form controls */
.f-reset {
  all: initial;
  font-family: inherit;
}

/* Text inputs */
.f-reset.f-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: var(--input-padding);
  border: 1px solid var(--input-border);
  border-radius: var(--input-radius);
  font-size: var(--input-font-size);
  line-height: var(--input-line-height);
  color: var(--input-text);
  background-color: var(--input-bg);
  transition: var(--input-transition);
  margin: 0;
}

.f-reset.f-input::placeholder {
  color: var(--input-placeholder);
}

@media (hover: hover) {
  .f-reset.f-input:hover {
    outline: none;
    border: 1px solid var(--input-border);
    box-shadow: var(--input-shadow-hover);
  }
}

.f-reset.f-input:focus-visible,
.f-reset.f-input.focused {
  outline: none;
  border: 1px solid var(--input-border);
  box-shadow: var(--input-shadow-focus);
}

.card-number-field.f-input:focus-within {
  outline: none;
  border: 1px solid var(--input-border);
  box-shadow: var(--input-shadow-focus);
}

.f-reset.f-input.invalid {
  border-color: var(--input-error);
}

.card-number-field.f-input {
  display: flex;
  align-items: center;
  height: var(--input-height);
  padding-right: var(--space-3);
}

.card-number-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  line-height: inherit;
  color: inherit;
  background: transparent;
  outline: 0;
}

.card-number-input::placeholder {
  color: var(--input-placeholder);
}

.card-logo-slot {
  display: flex;
  flex: 0 0 var(--card-logo-slot-width);
  justify-content: center;
  align-items: center;
  width: var(--card-logo-slot-width);
  height: 100%;
  overflow: hidden;
}

.card-logo-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  height: auto;
}

.card-logo-img-outline {
  max-width: var(--card-logo-outline-max-width);
}

/* Select elements */
.f-reset.f-select {
  display: block;
  box-sizing: border-box;
  padding: var(--input-padding);
  border: 1px solid var(--input-border);
  border-radius: var(--input-radius);
  font-size: var(--input-font-size);
  line-height: var(--input-line-height);
  color: var(--input-text);
  background-color: var(--input-bg);
  transition: var(--input-transition);
  margin: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.4425 6.22119L9 9.65619L5.5575 6.22119L4.5 7.27869L9 11.7787L13.5 7.27869L12.4425 6.22119Z' fill='black' fill-opacity='0.88'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--input-icon-position) center;
  background-size: var(--input-icon-size) var(--input-icon-size);
  padding-right: var(--input-padding-right);
  appearance: none;
  -webkit-appearance: none;
}

@media (hover: hover) {
  .f-reset.f-select:hover {
    outline: none;
    border: 1px solid var(--input-border);
    box-shadow: var(--input-shadow-hover);
  }
}

.f-reset.f-select:focus-visible,
.f-reset.f-select.focused {
  outline: none;
  border: 1px solid var(--input-border);
  box-shadow: var(--input-shadow-focus);
}

.f-reset.f-select.invalid {
  border-color: var(--input-error);
}

/* Input groups */
.f-input-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-control-gap);
  padding: 0 var(--space-control-gap);
}

.f-input-group-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.f-input-group label {
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
}

/* Error messages */
.error-msg {
  display: block;
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
}

.error-msg.invalid {
  color: var(--color-error);
}

/* Form (form-fgs) */
.form-fgs label {
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-regular);
}

.form-fgs label.error {
  font-weight: var(--font-weight-bold);
  color: var(--color-error-muted);
}

.form-fgs input.error,
.form-fgs select.error {
  border-color: var(--color-error-muted);
}

/* Checkbox */
input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-right: var(--space-1);
  vertical-align: middle;
  accent-color: var(--color-primary);
}


/* --------------------------------------------------------------------------
   Auth Modal
   -------------------------------------------------------------------------- */

.auth-heading {
  margin: 0;
  padding-bottom: var(--space-5);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}

.auth-heading h2 {
  margin: 0;
  font-size: var(--font-size-modal-title);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-xl);
}

.auth-form {
  padding-top: var(--space-5);
}

.auth-form label {
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
}

.auth-alert {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-sm);
  text-align: center;
  padding: var(--space-1) var(--space-5);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-9);
}

.auth-alert.error {
  background: var(--color-error-bg);
  color: var(--color-error);
}

.auth-alert.success {
  background: var(--color-success-bg);
  color: var(--color-success);
}

.auth-button-wrapper {
  display: flex;
  flex-direction: column;
  padding: var(--space-4) 5px;
}

.auth-password-rules ul {
  padding-left: 0;
  list-style: none;
}

.auth-password-rules ul li {
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  color: var(--color-text-secondary);
  padding: var(--space-2) 0;
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.auth-password-rules ul li.valid {
  color: var(--color-success);
}

.vertical-navigation-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-form-gap);
  margin-top: var(--space-4);
}

.vertical-navigation-wrapper a {
  font-weight: var(--font-weight-semibold);
}

.password-info {
  font-size: var(--font-size-xs);
  line-height: var(--line-height-password-info);
  margin-top: var(--space-nudge-sm);
  margin-bottom: var(--space-5);
}

.account-modal .modal-dialog {
  width: 500px;
}

.account-modal .modal-body {
  padding: var(--space-9);
}

.checkout-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin: 0;
  padding-bottom: var(--space-5);
}

.checkout-modal-header h2 {
  margin: 0;
  font-size: var(--font-size-2xl);
  line-height: var(--line-height-modal-title);
  font-weight: var(--font-weight-medium);
}

.checkout-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  color: var(--color-text-control);
  background: transparent;
  border: 0;
  border-radius: var(--radius-circle);
  cursor: pointer;
}

.checkout-modal-close:hover,
.checkout-modal-close:focus-visible {
  background-color: var(--color-bg-control);
  color: var(--color-black);
}

.checkout-modal-close svg {
  width: var(--close-icon-size);
  height: var(--close-icon-size);
}

.account-modal-form {
  padding-top: var(--space-5);
}

.account-modal-form .f-input-group-wrapper {
  gap: var(--space-4);
}

.account-modal-form .f-input-group {
  gap: var(--space-control-gap);
  padding: 0 var(--space-control-gap);
}

.account-modal-form .f-input-group label {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  font-weight: var(--font-weight-bold);
}

.account-modal-form .f-reset.f-input {
  height: 42px;
  padding: var(--space-3) var(--space-7);
  border-radius: var(--radius-input);
  border-color: var(--color-border-input-soft);
  font-size: var(--font-size-base);
  line-height: var(--line-height-md);
  font-weight: var(--font-weight-regular);
}

.account-modal-form .f-reset.f-input::placeholder {
  color: var(--input-placeholder);
}

.signin-password-control {
  position: relative;
}

.signin-password-control .f-input {
  padding-right: var(--space-12);
}

.signin-password-control .toggle-password {
  position: absolute;
  top: 0;
  right: 14px;
  display: flex;
  align-items: center;
  width: 20px;
  height: 100%;
  padding: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: 0;
  outline: none;
  cursor: pointer;
}

.signin-password-control .toggle-password.eye-open {
  background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M9.99967%205.41667C13.158%205.41667%2015.9747%207.19167%2017.3497%2010C15.9747%2012.8083%2013.1663%2014.5833%209.99967%2014.5833C6.83301%2014.5833%204.02467%2012.8083%202.64967%2010C4.02467%207.19167%206.84134%205.41667%209.99967%205.41667ZM9.99967%203.75C5.83301%203.75%202.27467%206.34167%200.833008%2010C2.27467%2013.6583%205.83301%2016.25%209.99967%2016.25C14.1663%2016.25%2017.7247%2013.6583%2019.1663%2010C17.7247%206.34167%2014.1663%203.75%209.99967%203.75ZM9.99967%207.91667C11.1497%207.91667%2012.083%208.85%2012.083%2010C12.083%2011.15%2011.1497%2012.0833%209.99967%2012.0833C8.84967%2012.0833%207.91634%2011.15%207.91634%2010C7.91634%208.85%208.84967%207.91667%209.99967%207.91667ZM9.99967%206.25C7.93301%206.25%206.24967%207.93333%206.24967%2010C6.24967%2012.0667%207.93301%2013.75%209.99967%2013.75C12.0663%2013.75%2013.7497%2012.0667%2013.7497%2010C13.7497%207.93333%2012.0663%206.25%209.99967%206.25Z%22%20fill%3D%22black%22%20fill-opacity%3D%220.64%22%2F%3E%3C%2Fsvg%3E');
}

.signin-password-control .toggle-password.eye-closed {
  background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M9.99992%204.97915C13.1583%204.97915%2015.9749%206.75415%2017.3499%209.56248C16.8582%2010.5791%2016.1666%2011.4541%2015.3416%2012.1625L16.5166%2013.3375C17.6749%2012.3125%2018.5916%2011.0291%2019.1666%209.56248C17.7249%205.90415%2014.1666%203.31248%209.99992%203.31248C8.94158%203.31248%207.92492%203.47915%206.96658%203.78748L8.34158%205.16248C8.88325%205.05415%209.43325%204.97915%209.99992%204.97915ZM9.10825%205.92915L10.8333%207.65415C11.3083%207.86248%2011.6916%208.24581%2011.8999%208.72081L13.6249%2010.4458C13.6916%2010.1625%2013.7416%209.86248%2013.7416%209.55415C13.7499%207.48748%2012.0666%205.81248%209.99992%205.81248C9.69158%205.81248%209.39992%205.85415%209.10825%205.92915ZM1.67492%203.20415L3.90825%205.43748C2.54992%206.50415%201.47492%207.92081%200.833252%209.56248C2.27492%2013.2208%205.83325%2015.8125%209.99992%2015.8125C11.2666%2015.8125%2012.4833%2015.5708%2013.5999%2015.1291L16.4499%2017.9791L17.6249%2016.8041L2.84992%202.02081L1.67492%203.20415ZM7.92492%209.45415L10.0999%2011.6291C10.0666%2011.6375%2010.0333%2011.6458%209.99992%2011.6458C8.84992%2011.6458%207.91658%2010.7125%207.91658%209.56248C7.91658%209.52081%207.92492%209.49581%207.92492%209.45415ZM5.09159%206.62081L6.54992%208.07915C6.35825%208.53748%206.24992%209.03748%206.24992%209.56248C6.24992%2011.6291%207.93325%2013.3125%209.99992%2013.3125C10.5249%2013.3125%2011.0249%2013.2041%2011.4749%2013.0125L12.2916%2013.8291C11.5583%2014.0291%2010.7916%2014.1458%209.99992%2014.1458C6.84158%2014.1458%204.02492%2012.3708%202.64992%209.56248C3.23325%208.37081%204.08325%207.38748%205.09159%206.62081Z%22%20fill%3D%22black%22%2F%3E%3C%2Fsvg%3E');
}

.signin-terms {
  margin: var(--space-7) 5px var(--space-4);
  font-size: var(--font-size-xs);
  line-height: var(--line-height-base);
  font-weight: var(--font-weight-medium);
}

.signin-terms a {
  color: var(--color-link-strong);
  font-weight: var(--font-weight-extra-bold);
  text-decoration: underline;
}

.account-modal-form .auth-button-wrapper {
  padding: var(--space-4) 5px;
}

.account-modal-form .fbtn-xl {
  height: 48px;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-extra-bold);
}

#signin_submit:disabled {
  background-color: var(--color-disabled-bg);
  color: var(--color-white);
  opacity: 1;
}

#modal-signin .vertical-navigation-wrapper {
  gap: var(--space-form-gap);
  margin-top: var(--space-4);
}

#modal-signin .vertical-navigation-wrapper a {
  color: var(--color-text-subtle);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-base);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
}

#modal-signin .vertical-navigation-wrapper a:hover {
  text-decoration: underline;
}

.signup-form {
  padding-top: var(--space-3);
}

.signup-form .f-input-group-wrapper {
  gap: var(--space-4);
}

.signup-password-rules {
  margin-top: var(--space-4);
}

.signup-password-rules ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.signup-password-rules ul li {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex-wrap: wrap;
  padding: var(--space-2) 0;
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  font-weight: var(--font-weight-semibold);
}

.signup-password-rules ul li::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  margin-right: var(--space-2);
  background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M11.8332%201.34175L10.6582%200.166748L5.99984%204.82508L1.3415%200.166748L0.166504%201.34175L4.82484%206.00008L0.166504%2010.6584L1.3415%2011.8334L5.99984%207.17508L10.6582%2011.8334L11.8332%2010.6584L7.17484%206.00008L11.8332%201.34175Z%22%20fill%3D%22black%22%20fill-opacity%3D%220.64%22%2F%3E%3C%2Fsvg%3E');
  background-repeat: no-repeat;
  background-position: center;
}

.signup-password-rules ul li.valid::before {
  background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2212%22%20viewBox%3D%220%200%2016%2012%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5.32923%209.22926L1.85423%205.75426L0.670898%206.92926L5.32923%2011.5876L15.3292%201.5876L14.1542%200.412598L5.32923%209.22926Z%22%20fill%3D%22%23238F55%22%2F%3E%3C%2Fsvg%3E');
}

.signup-password-rules ul li span.highlight {
  color: var(--color-success);
}

.auth-form .signup-terms {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: var(--space-label-gap);
  align-items: flex-start;
  margin: var(--space-field-gap) 0 14px;
  font-size: var(--font-size-xs);
  line-height: var(--line-height-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-black);
}

.auth-form .signup-terms input {
  width: 13px;
  height: 13px;
  margin: var(--space-1) 0 0;
}

.auth-form .signup-terms a {
  color: var(--color-link-strong);
  font-weight: var(--font-weight-extra-bold);
  text-decoration: underline;
}

.signup-login-link {
  margin-top: var(--space-7);
  color: var(--color-black);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-base);
  font-weight: var(--font-weight-medium);
  text-align: center;
}

.signup-login-link a {
  color: var(--color-text-subtle);
  font-weight: var(--font-weight-semibold);
  text-decoration: underline;
}

.forgot-password-copy {
  margin: 0 var(--space-control-gap) var(--space-summary-gap);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-md);
  font-weight: var(--font-weight-medium);
}

.forgot-password-form .auth-button-wrapper {
  margin-top: var(--space-field-gap);
}

.manage-order-form {
  padding-top: var(--space-1);
}

.manage-order-copy {
  margin: 0 0 var(--space-label-gap);
  font-size: var(--font-size-xs);
  line-height: var(--line-height-sm);
  font-weight: var(--font-weight-medium);
}

.manage-order-copy + .manage-order-copy {
  margin-bottom: var(--space-9);
}

.manage-order-copy a {
  color: inherit;
  text-decoration: underline;
}

.manage-order-form .f-input-group-wrapper {
  gap: var(--space-form-gap);
}

.manage-order-button-wrapper {
  margin-top: var(--space-label-gap);
}

/* --------------------------------------------------------------------------
   Modal Base
   -------------------------------------------------------------------------- */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-bg-overlay);
  z-index: var(--z-modal-backdrop);
  display: none;
}

.modal-backdrop.show {
  display: block;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-modal);
  display: none;
  overflow: auto;
  color: var(--color-black);
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-dialog {
  width: 500px;
  max-width: 90vw;
  margin: var(--space-10) auto;
}

.modal-dialog.modal-lg {
  width: 680px;
}

.modal-content {
  background-color: var(--color-bg-white);
  border-radius: 6px;
  padding: 0;
  position: relative;
}

.modal-body {
  padding: var(--space-9);
}

.modal-body a {
  text-decoration: underline;
}

/* Auth modal close button */
.modal .fbtn-close {
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-circle);
  font-size: var(--font-size-lg);
}

.modal .fbtn-close:hover {
  background-color: var(--color-qty-bg);
}

.modal .fbtn-close:active {
  background-color: var(--color-qty-hover);
}

/* Tab panes for auth (sign in / sign up / forgot) */
.tab-content > .tab-pane {
  display: none;
}

.tab-content > .tab-pane.active {
  display: block;
}


/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

footer.footer {
  margin-bottom: var(--space-footer-gap);
}

footer .ribbon a,
footer .ribbon {
  color: var(--color-text-dark);
}

footer .ribbon.bottom-ribbon {
  background-color: var(--color-bg-light);
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  line-height: var(--line-height-auto);
  padding: var(--space-3) var(--space-7);
}

@media (max-width: 768px) {
  footer.footer {
    margin-bottom: 0;
  }
  footer .ribbon.bottom-ribbon {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }
}

footer .bottom-ribbon > .row {
  display: block;
  margin-left: 0;
  margin-right: 0;
}

footer .bottom-ribbon > .row > * {
  padding-left: 0;
  padding-right: 0;
}

footer .bottom-ribbon > .row > :last-child {
  padding: var(--space-3) 0;
}

footer .logo-wrapper {
  padding: var(--space-3) 0;
}

footer .footer-logo {
  display: block;
  width: 160px;
  text-decoration: none;
}

footer .footer-logo img {
  display: block;
  width: 160px;
  height: auto;
}

footer .list-inline {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

footer .list-inline li {
  line-height: var(--line-height-lg);
  padding-right: var(--space-8);
}

footer .list-inline li a {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-dark);
  text-decoration: underline;
}

footer .notice {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-xs);
  color: var(--color-text-dark);
}


/* --------------------------------------------------------------------------
   Well (checkout sidebar)
   -------------------------------------------------------------------------- */

.well {
  padding: var(--space-6);
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
}


/* --------------------------------------------------------------------------
   Responsive Visibility Helpers
   -------------------------------------------------------------------------- */

.hidden-xs { display: block; }
.visible-xs { display: none; }

@media (max-width: 767px) {
  .hidden-xs { display: none !important; }
  .visible-xs { display: block !important; }
}


/* --------------------------------------------------------------------------
   Loading Spinner
   -------------------------------------------------------------------------- */

.circle-spinner {
  position: relative;
  margin: var(--space-6) auto 50px;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-circle);
  border: solid 9px var(--color-bg-stripe);
  border-top-color: var(--color-primary);
  animation: spin 2s infinite linear;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

@font-face {
  font-family: "FontAwesome";
  src: url("assets/fontawesome-webfont.woff2") format("woff2");
  font-weight: var(--font-weight-regular);
  font-style: normal;
}

.fa {
  display: inline-block;
  font-family: "FontAwesome";
  font-style: normal;
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-none);
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fa-map-marker::before {
  content: "\f041";
}

.fa-calendar-o::before {
  content: "\f133";
}

.fa-times-circle-o::before {
  content: "\f05c";
}

/* --------------------------------------------------------------------------
   View Routing
   -------------------------------------------------------------------------- */

[data-view] {
  display: none;
}

[data-view].active {
  display: block;
}

/* Source adds inline border-radius when < 10 events (no search ribbon shown) */
#view-discovery {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}


/* --------------------------------------------------------------------------
   Event Discovery (Homepage Listing)
   Matches source: label.css + core-styles.css
   -------------------------------------------------------------------------- */

#view-discovery {
  padding-left: 0 !important;
  padding-right: 0 !important;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

/* --- Card row --- */

.label-event {
  position: relative;
  padding: 25px 0;
  border-bottom: 1px solid var(--color-border-card);
}

.label-event:last-child {
  border: none;
}

.label-event .event-details {
  display: flex;
  align-items: flex-start;
  padding: 0 var(--space-11);
}

/* --- Left: date + image container --- */

.event-glance-container {
  width: 225px;
  flex-shrink: 0;
}

.event-glance {
  width: 244px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
}

/* Date Badge */
.time-image {
  width: 70px;
  flex-shrink: 0;
  text-align: center;
}

.time-image time {
  display: block;
  width: 100%;
  text-align: center;
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  font-weight: var(--font-weight-bold);
  margin-top: var(--space-nudge-xs);
}

.time-image .month {
  color: var(--color-white);
  font-size: var(--font-size-relative-md);
  background-color: var(--color-black);
  display: block;
  padding: var(--space-nudge-xs) 0;
}

.time-image .day {
  background-color: var(--color-bg-white);
  border: none;
  padding: var(--space-nudge-xs) 0;
}

.time-image .day-number {
  font-size: var(--font-size-relative-xl);
  line-height: var(--line-height-date-number);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-mid);
  display: block;
}

.time-image .day-name {
  font-size: var(--font-size-relative-md);
  line-height: var(--line-height-xs);
  color: var(--color-text-mid);
  font-weight: var(--font-weight-medium);
  display: block;
}

.time-image.multi-day {
  width: 74px;
}

/* Event image / badge */
.label-event .event-img {
  width: 140px;
  margin-left: 22px;
  margin-top: var(--space-nudge-xs);
  flex-shrink: 0;
}

.label-event .event-img img {
  display: block;
  width: 120px;
  height: 90px;
  object-fit: cover;
}

/* --- Center: title + details --- */

.label-event hgroup.event-info {
  flex: 1 1 0;
  min-width: 0;
  padding-left: var(--space-6);
  font-size: var(--font-size-xs);
  position: static;
}

.label-event hgroup.event-info h2 {
  font-size: var(--font-size-xl);
  line-height: var(--line-height-form);
  margin: 0;
  font-weight: var(--font-weight-regular);
}

.label-event hgroup.event-info h2 a {
  color: var(--color-primary);
  text-decoration: none;
}

.label-event hgroup.event-info h2 a:hover {
  text-decoration: underline;
}

.label-event hgroup .details .spacer {
  width: 100%;
  height: 15px;
  float: left;
  display: inline-block;
}

.label-event hgroup .details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.label-event hgroup .details ul li {
  line-height: var(--line-height-caption);
  border-right: 1px solid var(--color-border-inline);
  margin-right: var(--space-8);
  padding: 0 var(--space-7) 3px 0;
  font-size: var(--font-size-sm);
  float: left;
  white-space: nowrap;
}

.label-event hgroup .details ul li:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

@media (max-width: 992px) {
  .label-event hgroup .details ul li {
    border-right: none !important;
  }
}

/* --- Right: button --- */

.label-event .toolbar {
  flex-shrink: 0;
  text-align: center;
}

.label-event .toolbar .fbtn {
  height: 48px;
  padding: 0 var(--space-9);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-pill);
  width: 100%;
}

@media (min-width: 992px) {
  .label-event .toolbar {
    min-width: 136px;
  }
}

/* --- Responsive: tablet (701–767px) --- */

@media (max-width: 767px) {
  .label-event {
    padding: 25px 0 35px 0;
  }

  .time-image time .day .day-number {
    line-height: var(--line-height-date-mobile);
  }

  .label-event .toolbar {
    padding: var(--space-1) var(--space-4) 0 var(--space-4);
  }
}

@media (max-width: 767px) and (min-width: 701px) {
  .label-event hgroup.event-info {
    flex: none;
    width: calc(100% - 240px);
  }

  .label-event .event-details {
    flex-wrap: wrap;
  }

  .label-event .toolbar {
    flex: none;
    width: 100%;
  }
}

/* --- Responsive: mobile (≤700px) --- */

@media (max-width: 700px) {
  .label-event .event-details {
    flex-wrap: wrap;
  }

  .event-glance-container {
    flex: none;
    width: 100%;
  }

  .event-glance {
    width: auto;
    margin: 0 auto;
    justify-content: center;
  }

  .time-image .day {
    border-left: none;
    border-right: none;
  }

  .label-event hgroup.event-info {
    flex: none;
    width: 100%;
    padding-left: 0;
    text-align: center;
  }

  .label-event hgroup.event-info h2 {
    margin-top: var(--space-6);
  }

  .label-event hgroup .details .spacer {
    height: 0 !important;
  }

  .label-event hgroup .details ul {
    display: inline-block;
    width: 100%;
    text-align: center;
  }

  .label-event hgroup .details ul li {
    float: none;
    display: none;
  }

  .label-event .toolbar {
    flex: none;
    width: 100%;
  }

  .label-event .toolbar .fbtn {
    width: 100%;
  }
}


/* --------------------------------------------------------------------------
   Event Detail
   -------------------------------------------------------------------------- */

.event-details {
  margin-bottom: var(--space-8);
}

.event-img img {
  width: 100%;
  display: block;
}

#event_fragment .event-txt {
  border-right: 1px solid var(--color-border-section);
}

.event-txt h2.event-name {
  margin-top: 0;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
}

.event-txt .age {
  font-size: var(--font-size-base);
  margin-top: var(--space-summary-gap);
  margin-bottom: var(--space-10);
}

.event-txt .venue,
.event-txt .address {
  font-size: var(--font-size-base);
}

.event-txt .date,
.event-txt .time {
  font-size: var(--font-size-base);
}

.event-txt .event-info {
  margin-top: var(--space-6);
}

.event-share {
  font-size: var(--font-size-sm);
}

.event-share > span {
  display: block;
  margin-bottom: var(--space-3);
}

/* Event detail icons (venue, date) */
.event-icon-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}

.event-icon-row:last-child {
  margin-bottom: 0;
}

.event-icon {
  width: var(--event-icon-size);
  flex-shrink: 0;
  text-align: center;
  color: var(--color-text-dark);
  font-size: var(--event-icon-size);
  line-height: var(--event-icon-size);
}

/* Social share buttons */
.socialShare {
  padding: 0 var(--space-11) var(--space-11);
  text-align: center;
}

.socialShare span {
  display: inline-block;
  font-size: var(--font-size-base);
  margin-bottom: var(--space-4);
  text-align: center;
}

.share-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.btn-share {
  background: var(--color-bg-light);
  text-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-regular);
  color: var(--color-black);
  width: 100%;
  outline: none;
  border: none;
  cursor: pointer;
}

.btn-share:hover {
  background: var(--color-bg-subtle);
}

@media (max-width: 767px) {
  .socialShare > span {
    display: none;
  }

  .share-buttons {
    flex-direction: column;
  }

  .btn-share {
    width: 100%;
  }
}

/* Price tooltip (CSS-only) */
.price-tooltip {
  position: relative;
  cursor: pointer;
  color: var(--color-text-dark);
  margin-left: 2px;
  vertical-align: middle;
}

.price-tooltip::after {
  content: attr(aria-label);
  position: absolute;
  bottom: calc(100% + 9.89px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-bg-white);
  color: var(--color-text-dark);
  padding: 9px var(--space-7);
  border-radius: 6px;
  border: 1px solid var(--color-border-popover);
  box-shadow: var(--shadow-popover);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-loose);
  white-space: normal;
  width: 278px;
  text-align: left;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  z-index: 100;
}

.price-tooltip::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 11px;
  background: var(--color-bg-white);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.15));
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  z-index: 101;
}

.price-tooltip:hover::after,
.price-tooltip:focus::after,
.price-tooltip:hover::before,
.price-tooltip:focus::before {
  opacity: 1;
  visibility: visible;
}

/* Price tooltip on mobile — hidden on desktop (header has one), shown inline on mobile */
.price-tooltip-mobile {
  display: none;
}

.layaway-tooltip {
  display: inline-block;
  margin-left: 3px;
}

.layaway-tooltip::after {
  width: max-content;
  max-width: min(520px, calc(100vw - 48px));
  font-size: var(--font-size-base);
}

@media (max-width: 767px) {
  .price-tooltip-mobile {
    display: inline-block;
    margin-left: 2px;
  }
}

/* Waitlist button — compact pill, right-aligned */
.waitlist--button {
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: var(--font-size-sm);
  height: 36px;
  padding: 0 var(--space-8);
  line-height: var(--line-height-xl);
}

/* Ticket table */
#cart_tickets_form {
  border-top: 1px solid var(--color-border-medium);
}

#event_tickets_form {
  clear: both;
}

#event_tickets_form .sections {
  overflow: hidden;
  margin-bottom: var(--space-8);
}

#event_tickets_form .sub-ribbon {
  font-size: var(--font-size-md);
  line-height: var(--line-height-xl);
  margin-top: var(--space-8);
  padding: 0 var(--space-6);
}

.ticket-price-section {
  font-size: var(--font-size-base);
  line-height: var(--line-height-auto);
  padding: var(--space-4) 0;
  min-height: 96px;
  display: flex;
  align-items: center;
}

.ticket-price-section:nth-child(odd) {
  background-color: var(--color-bg-stripe);
}

.ticket-price-section:nth-child(even) {
  background: transparent;
}

.ticket-price-section .row {
  align-items: center;
  padding: var(--space-2) 0;
  width: 100%;
  min-height: 76px;
}

.ticket-price-section .xtix-select,
.ticket-price-section .xtix-price,
.ticket-price-section .col-sm-3:last-child {
  display: flex;
  align-items: center;
}

.ticket-price-section .xtix-select {
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  justify-content: center;
}

.ticket-price-section .xtix-price,
.ticket-price-section .col-sm-3:last-child {
  justify-content: center;
}

.ticket-price-section .col-sm-3:last-child {
  text-align: center !important;
}

.xtix-title {
  word-break: break-word;
  line-height: var(--line-height-tight);
  padding: 0;
  color: var(--color-text);
}

.xtix-price,
.xtix-fee {
  font-size: var(--font-size-base);
}

/* Quantity selector widget */
.event-quantity-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-nudge-sm);
}

.event-quantity-selector > input {
  width: 36px;
  font-size: var(--font-size-md);
  text-align: center;
  border: none;
  background-color: transparent;
  padding: 0;
  font-family: inherit;
}

.max-warning {
  position: absolute;
  top: calc(50% + 20px);
  left: 0;
  right: 0;
  line-height: var(--line-height-base);
  color: var(--color-error-border);
  font-size: var(--font-size-caption);
  text-align: center;
  visibility: hidden;
}

.max-warning.is-visible {
  visibility: visible;
}

/* Passcode section */
.passcodes {
  font-size: var(--font-size-ui);
  padding-top: var(--space-8);
}

.passcodes div:first-of-type span {
  font-size: var(--font-size-xs);
}

.event-promo-row {
  width: 100%;
  margin-top: var(--space-3);
}

.event-promo-label {
  display: block;
  margin-bottom: var(--space-1);
}

.event-promo-flex {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: var(--space-3);
}

.event-promo-field {
  flex: 1 1 0%;
}

.event-promo-btn {
  flex: 0 0 auto;
  min-width: 70px;
}

/* Passcode invalid state */
.f-input.invalid {
  transition: none;
  border-color: var(--input-error);
  padding-right: var(--space-12);
  background-image: url("data:image/svg+xml,%3Csvg%20stroke%3D%22rgb(156%2C%2021%2C%2052)%22%20fill%3D%22rgb(156%2C%2021%2C%2052)%22%20stroke-width%3D%220%22%20viewBox%3D%220%200%2024%2024%22%20role%3D%22img%22%20height%3D%22100%25%22%20width%3D%22100%25%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ctitle%3EInput%20Error%3C%2Ftitle%3E%3Cpath%20fill%3D%22none%22%20d%3D%22M0%200h24v24H0z%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M12%202C6.48%202%202%206.48%202%2012s4.48%2010%2010%2010%2010-4.48%2010-10S17.52%202%2012%202zm1%2015h-2v-2h2v2zm0-4h-2V7h2v6z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px 20px;
}

.event-promo-error {
  display: block;
  margin-top: var(--space-2);
  color: var(--color-error-border);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-base);
}

.event-promo-error svg {
  vertical-align: text-bottom;
  margin-right: 2px;
}

/* Promo label on ticket rows */
.xtix-promo-label {
  font-size: var(--font-size-caption);
  color: var(--color-text);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-tight);
}

@media (min-width: 768px) {
  .event-promo-row {
    width: 50%;
  }
}

/* Force sign-in message */
.forced-signin-msg {
  text-align: center;
  margin-top: var(--space-8);
  padding: var(--space-6);
}

/* Disabled event buttons — ghost/outlined style to match live site */
#event_tickets_form .fbtn:disabled {
  background-color: var(--color-primary-disabled);
  color: var(--color-white);
  border: none;
}

/* Button block */
#event_tickets_form .button-block {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin-top: var(--space-8);
  text-align: center;
}

.button-block {
  margin-top: var(--space-8);
  text-align: center;
}

.button-block .fbtn {
  min-width: 200px;
}

#event_tickets_form #estimate-layaway-main,
#event_tickets_form #div-btn-add-cart {
  width: 100%;
}

#estimate-layaway-main {
  margin-top: var(--space-2);
}

@media (min-width: 768px) {
  #event_tickets_form .button-block {
    flex-direction: row-reverse;
  }

  #event_tickets_form #estimate-layaway-main,
  #event_tickets_form #div-btn-add-cart {
    width: auto;
  }

  #estimate-layaway-main {
    margin-top: 0;
    margin-right: var(--space-10);
  }
}

@media (max-width: 767px) {
  .ticket-price-section {
    display: block;
    min-height: 0;
  }

  .ticket-price-section .row {
    flex-direction: column;
    min-height: 0;
  }

  .ticket-price-section .col-sm-6,
  .ticket-price-section .col-sm-3 {
    display: block;
    width: 100%;
    text-align: center !important;
    padding: var(--space-1) 0;
  }

  .ticket-price-section .xtix-select {
    display: flex;
    align-items: center;
  }

  .ticket-price-section .xtix-price {
    text-align: center;
  }

  .ticket-price-section .event-quantity-selector {
    justify-content: center;
  }

  #event_tickets_form .button-block .fbtn {
    width: 100%;
    min-width: unset;
  }

  .waitlist--button {
    display: flex;
    width: 100%;
    margin-left: var(--space-3);
    margin-right: var(--space-3);
    justify-content: center;
  }

  #event_tickets_form .sub-ribbon {
    justify-content: center;
    padding: 0;
  }

  .ticket-price-section .col-sm-3[style*="text-right"] {
    text-align: center !important;
    padding-top: var(--space-3) !important;
    line-height: var(--line-height-auto) !important;
  }
}

/* Layaway note */
.layaway-note {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-base);
  color: var(--color-black);
  margin-top: var(--space-7);
  padding: 0;
  text-align: left;
}

/* Event description */
.event-desc {
  display: block;
  margin-top: var(--space-6);
  margin-bottom: var(--space-6);
  margin-left: 0;
  margin-right: 0;
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
}

.event-desc-age {
  font-size: var(--font-size-xl);
  line-height: var(--line-height-tight);
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin-bottom: var(--space-1);
}

@media (max-width: 991px) {
  .event-txt .age {
    margin-top: var(--space-4);
    margin-bottom: var(--space-4);
  }

  #event_fragment .event-txt .event-info {
    margin-top: 5px;
  }
}

@media (max-width: 767px) {
  /* Zero out row/col offsets so all content aligns to --content-padding edge */
  #event_fragment .row {
    margin-left: 0;
    margin-right: 0;
  }

  #event_fragment .row > * {
    padding-left: 0;
    padding-right: 0;
  }

  .event-txt {
    border-right: none !important;
    margin-top: var(--space-6);
  }

  .event-share {
    margin-top: var(--space-6);
    width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .socialShare {
    padding: 0 0 var(--space-11);
  }
}


/* --------------------------------------------------------------------------
   Cart
   -------------------------------------------------------------------------- */

#view-cart {
  min-height: calc(100vh - 145px);
}

#view-cart.cart-empty-state {
  min-height: 0;
  text-align: center;
  padding: var(--space-11) var(--space-8) var(--space-8);
}

#view-cart.cart-empty-state .button-block {
  display: none;
}

.cart .cartEvent {
  margin-bottom: var(--space-10);
  padding: var(--space-8);
}

.cart .cartEvent:last-child {
  margin-bottom: 0;
}

.cart .event-details {
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: var(--space-7);
  width: 100%;
}

.cart .event-img {
  flex: 0 0 130px;
  width: 130px;
}

.cart .event-info {
  flex: 1 1 auto;
  width: auto;
}

.cart .event-img-small {
  width: 100%;
  max-width: 130px;
}

.cart .event-info h1 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-medium);
  margin: 0 0 var(--space-1);
}

.cart .event-info .date {
  font-weight: var(--font-weight-regular);
}

.cart .removeFromCart {
  margin-left: auto;
  align-self: center;
  white-space: nowrap;
}

.cart .fbtn-close {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  line-height: var(--line-height-none);
}

.cart .fbtn-close::after {
  content: "×";
  display: inline-flex;
  align-items: center;
  font-size: var(--font-size-2xl);
  line-height: var(--line-height-none);
  font-weight: var(--font-weight-light);
}

/* Cart table */
.cart-event-table {
  margin-top: var(--space-8);
  width: 100%;
  flex: 0 0 100%;
  overflow: visible;
}

.cart-event-table table {
  width: 100%;
  border-collapse: collapse;
}

.cart-event-table thead td {
  padding: 5px var(--space-4);
  font-weight: var(--font-weight-semibold);
  border-bottom: 2px solid var(--color-border-strong);
}

.cart-event-table thead .ticket {
  width: 50%;
}

.cart-event-table thead .quantity {
  width: 24%;
}

.cart-price-heading-content {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  white-space: nowrap;
}

.cart-mobile-price-label {
  display: none;
}

.cart-event-table tbody tr {
  border-bottom: 1px solid var(--color-border-strong);
}

.cart-event-table tbody td {
  padding: var(--space-4);
}

.cart-event-table tfoot td {
  padding: 5px var(--space-4);
}

.cart-event-table tfoot tr:first-child td {
  padding-top: var(--space-4);
}

.cart-event-table tfoot .cart-total-service-label {
  font-weight: var(--font-weight-regular);
}

.cart-event-table tfoot .cart-event-subtotal-row td {
  padding-top: 18px;
}

/* Cart quantity select */
.cart .sel-qty {
  min-width: 90px;
  margin: var(--space-1) 0;
  display: inline-block;
}

/* Cart order total */
#cart-order-total {
  padding: 0;
}

#cart-order-total .row {
  margin-top: var(--space-4);
  margin-bottom: var(--space-control-gap);
}

.cart-summary-row {
  margin-top: var(--space-summary-gap);
  margin-bottom: var(--space-control-gap);
}

.cart-summary-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: var(--space-12);
  row-gap: var(--space-label-gap);
  max-width: 520px;
  margin-left: auto;
  margin-right: var(--space-10);
  justify-items: end;
  padding-bottom: var(--space-8);
}

.cart-summary-line,
.cart .order-subtotal-row {
  display: contents;
}

.cart-summary-line span,
.cart .order-subtotal-row span {
  text-align: right;
}

.cart .order-subtotal-row {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
}

#view-cart .button-block {
  display: flex;
  flex-direction: column;
  padding: 0 var(--space-6);
}

#cart-estimate-layaway-main {
  width: 100%;
  margin-top: var(--space-2);
}

#cart-checkout-btn,
#cart-view-layaway {
  width: 100%;
}

.cart-layaway-note {
  padding-top: var(--space-5);
  margin-top: var(--space-7);
  margin-bottom: var(--space-7);
  width: 100%;
  text-align: right;
  margin-right: var(--space-8);
}


/* Cart empty state */
.content-empty {
  text-align: center;
  margin: 0;
}

.content-empty p {
  margin: 0 0 var(--space-4);
  font-size: var(--font-size-lead);
  line-height: var(--line-height-content-empty);
  font-weight: var(--font-weight-regular);
}

.content-empty a {
  color: var(--color-link);
  font-size: var(--font-size-base);
  line-height: var(--line-height-md);
  font-weight: var(--font-weight-bold);
  text-decoration: underline;
}

/* Continue shopping */
.cart-continue-row > .col-xs-12 {
  padding-left: var(--space-10);
  padding-right: var(--space-10);
}

.continue-cart {
  padding-right: var(--space-10);
  color: var(--color-black);
  text-decoration: none;
}

.continue-cart:hover,
.continue-cart:focus-visible {
  text-decoration: underline;
}

/* Cart timer display */
.cart-timer {
  display: none !important;
}

.cart-timer .time-remaining {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
  color: var(--color-text);
}

.cart-timer.warning .time-remaining {
  color: var(--color-error-border);
}

@media (max-width: 600px) {
  .cart .event-details {
    flex-wrap: wrap;
  }

  .cart .event-img {
    flex: 0 0 130px;
    width: 130px;
  }

  .cart .event-img-small {
    max-width: 130px;
  }

  .cart .event-info {
    flex: 1 1 calc(100% - 116px);
  }

  .cart .removeFromCart {
    margin-left: auto;
    align-self: flex-end;
  }

  .cart-event-table table {
    display: block;
  }

  .cart-event-table thead td {
    visibility: hidden;
    line-height: 0;
    padding: 0;
    border: 0;
  }

  .cart-event-table tbody,
  .cart-event-table tbody tr {
    display: block;
    width: 100%;
  }

  .cart-event-table tbody td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: right;
    position: relative;
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--color-border-light);
  }

  .cart-event-table tbody td.text-center {
    display: flex;
    justify-content: space-between;
  }

  .cart-event-table tbody td::before {
    content: attr(data-th);
    float: left;
    font-weight: var(--font-weight-bold);
  }

  .cart-price-cell {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-5);
    text-align: left;
  }

  .cart-event-table tbody .cart-price-cell::before {
    content: none;
  }

  .cart-mobile-price-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-weight: var(--font-weight-bold);
  }

  .cart-mobile-heading-tooltip::after {
    right: 0;
    left: auto;
    transform: none;
    width: min(278px, calc(100vw - 48px));
  }

  .cart-mobile-heading-tooltip::before {
    right: 4px;
    left: auto;
    transform: none;
  }

  .cart-event-table tbody tr {
    border-bottom: 2px solid var(--color-border-strong);
    margin-bottom: var(--space-4);
  }

  .cart-event-table tfoot {
    display: block;
    width: 100%;
  }

  .cart-event-table tfoot tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: var(--space-7);
    width: 100%;
  }

  .cart-event-table tfoot td {
    display: block;
    box-sizing: border-box;
  }

  .cart .sel-qty {
    min-width: 90px;
    width: 90px;
  }
}

@media (min-width: 768px) {
  #cart-checkout-btn {
    width: 240px;
  }

  #cart-view-layaway {
    width: 240px;
  }

  #view-cart .button-block {
    flex-direction: row-reverse;
  }

  #cart-estimate-layaway-main {
    width: auto;
    margin-top: 0;
    margin-right: var(--space-10);
  }
}

@media (max-width: 576px) {
  .cart .order-subtotal-row {
    font-size: var(--font-size-mobile-title);
  }

  #cart-checkout-btn {
    width: 100%;
  }
}


/* --------------------------------------------------------------------------
   Checkout Accordion
   -------------------------------------------------------------------------- */

.content.checkout {
  padding: var(--content-padding);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

/* Panel system */
.panel-group {
  margin-bottom: var(--space-4);
}

.panel {
  border: none;
  background-color: transparent;
  margin-bottom: var(--space-4);
  border-radius: 0;
  box-shadow: var(--shadow-none);
}

.panel-heading {
  padding: 0;
}

.panel-heading .accordion-toggle {
  padding: var(--space-3) var(--space-6);
  text-decoration: none;
  font-size: var(--font-size-lg);
  display: block;
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-lg);
  cursor: pointer;
  color: var(--color-text);
}

.panel-heading .accordion-toggle:hover {
  text-decoration: none;
}

/* Step number badge */
.panel-heading .index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 5px;
  padding: 2px var(--space-3);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-circle);
  text-align: center;
  background-color: var(--color-black);
  color: var(--color-white);
  font-weight: var(--font-weight-semibold);
}

.panel.active .panel-heading .index {
  background-color: var(--color-black);
  color: var(--color-white);
}

.panel.complete .panel-heading .index {
  background-color: var(--color-black);
  color: var(--color-white);
}

/* Panel body (step content) */
.panel-body {
  border: none;
  padding: var(--space-6);
}

.panel-collapse {
  overflow: hidden;
  display: none;
}

.panel-collapse.show {
  display: block;
  overflow: visible;
}

/* Complete state */
.panel.complete .summary {
  background-color: var(--color-bg-stripe);
  border-radius: var(--radius-sm);
}

/* Edit link for completed steps */
.panel .isComplete {
  display: none;
}

.panel.complete .isComplete {
  display: block;
  float: right;
  cursor: pointer;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-regular);
  color: var(--color-black);
  text-decoration: none;
}

.panel.complete .isComplete:hover,
.panel.complete .isComplete:focus-visible {
  color: var(--color-black);
  text-decoration: underline;
}

/* Step complete checkmark */
.accordion-done {
  color: var(--color-complete);
  font-size: var(--font-size-relative-xl);
  float: right;
}

/* Summary (shown when step is complete) */
.accordion-heading-summary {
  padding: var(--space-4) var(--space-6) var(--space-4) var(--space-14);
  word-wrap: break-word;
}

.accordion-heading-summary:empty {
  display: none;
  padding: var(--space-0);
}

.panel.active .accordion-heading-summary {
  display: none;
  padding: var(--space-0);
}

.payment-heading-summary {
  padding-top: var(--space-8);
  padding-bottom: var(--space-9);
}

.payment-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: var(--space-13);
  color: var(--color-text-neutral);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-base);
}

.payment-summary-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  min-width: 0;
}

.payment-summary-card-logo {
  width: 41px;
  height: auto;
  border: 1px solid var(--color-border-medium);
  background: var(--color-bg-white);
}

.payment-summary-layaway {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

.payment-summary-address {
  min-width: 0;
}

.shipping-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: var(--space-13);
  padding: 14px 0 18px;
  color: var(--color-text-neutral);
  font-size: var(--font-size-base);
  line-height: var(--line-height-copy);
}

.shipping-summary-ticket,
.shipping-summary-address {
  min-width: 0;
}

.shipping-summary-event {
  font-size: var(--font-size-md);
  line-height: var(--line-height-compact);
  font-weight: var(--font-weight-regular);
}

.shipping-summary-ticket strong {
  display: block;
  margin-top: var(--space-nudge-xs);
  color: var(--color-text-strong);
  font-weight: var(--font-weight-bold);
}

@media (max-width: 767px) {
  .shipping-summary-grid {
    grid-template-columns: 1fr;
    row-gap: var(--space-5);
  }
}

/* Checkout form layout (fgroup) */
.fgroup-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
  padding: 0;
}

.fgroup {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
}

@media (min-width: 768px) {
  .fgroup {
    flex-direction: row;
  }

  .fgroup > * {
    flex: 1 1 0;
  }

  .fgroup .address-main {
    flex: 0 1 70%;
  }

  .fgroup .address-secondary {
    flex: 0 1 30%;
  }

  .fgroup .address-zip {
    flex: 0 1 33.333%;
  }

  .fgroup .billing-country {
    flex: 0 1 100%;
  }
}

/* Checkout form labels */
.checkout label {
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  display: block;
  margin-bottom: var(--space-1);
}

/* Shipping step */
.shipping-title {
  display: block;
  margin-bottom: var(--space-7);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-md);
}

.country {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-1);
  margin-bottom: var(--space-7);
}

.country label {
  margin-bottom: var(--space-1);
}

.country .f-select {
  width: 100%;
  max-width: 320px;
}

#shipping_form .well {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border-medium);
  border-left: none;
  border-right: none;
  border-radius: 0;
  box-shadow: var(--shadow-none);
  padding: var(--space-6) 0;
}

.shipping-event {
  padding: 0 0 var(--space-8);
  margin-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border-light);
}

.shipping-event:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.shipping-event .event-box {
  display: flex;
  gap: var(--space-7);
  align-items: flex-start;
  margin-bottom: var(--space-5);
}

.shipping-event .shipping-title {
  flex: 0 0 42%;
  margin-bottom: 0;
}

.event-date-doors {
  flex: 1 1 auto;
}

.event-date-doors p {
  margin: 0 0 var(--space-1);
}

.cls-shipping-option > label {
  margin-bottom: var(--space-3);
}

#shipping_method {
  width: 100%;
  max-width: 420px;
}

.delivery-message {
  margin-top: var(--space-2);
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

.shipping-mail-details {
  margin-top: var(--space-summary-gap);
  padding-top: 0;
}

.shipping-mail-details[hidden] {
  display: none;
}

.shipping-mail-details h4 {
  margin: 0 0 var(--space-field-gap);
  color: var(--color-black);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-tight);
  font-weight: var(--font-weight-semibold);
}

.shipping-mail-details .fgroup-container {
  gap: var(--space-8);
}

.shipping-mail-details .f-input,
.shipping-mail-details .f-select {
  height: 42px;
}

.order-updates-panel {
  margin-top: var(--space-section-gap);
  padding: var(--space-9) var(--space-9) 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-bg-panel);
}

.order-updates-panel h5 {
  margin: 0 0 var(--space-label-gap);
  color: var(--color-text-emphasis);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-tight);
  font-weight: var(--font-weight-bold);
}

.order-updates-panel h5 span {
  font-weight: var(--font-weight-regular);
}

.phone-input-shell {
  display: flex;
  align-items: center;
  max-width: 310px;
  height: 42px;
  margin-bottom: var(--space-field-gap);
  border: 1px solid var(--input-border);
  border-radius: var(--input-radius);
  background-color: var(--input-bg);
}

.phone-country-select {
  position: relative;
  flex: 0 0 88px;
  width: 88px;
  height: 40px;
}

.phone-country-select select {
  width: 100%;
  height: 100%;
  padding: 0 var(--space-8) 0 38px;
  border: 0;
  appearance: none;
  color: transparent;
  background-color: transparent;
  cursor: pointer;
}

.phone-country-select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  width: 0;
  height: 0;
  margin-top: -2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--color-menu-caret);
  pointer-events: none;
}

.phone-dial-code {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  color: var(--color-phone-text);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-none);
  pointer-events: none;
}

.iti-flag {
  --iti-flag-offset: 0px;
  position: absolute;
  top: 50%;
  left: 18px;
  width: 16px;
  height: 12px;
  margin-top: -6px;
  background-image: url("assets/flags.webp");
  background-position: var(--iti-flag-offset) 0;
  background-size: 3904px 12px;
  pointer-events: none;
}

.iti-ca {
  --iti-flag-offset: -576px;
}

.iti-mx {
  --iti-flag-offset: -2448px;
}

.iti-us {
  --iti-flag-offset: -3616px;
}

@media (min-resolution: 2dppx) {
  .iti-flag {
    background-image: url("assets/flags@2x.webp");
  }
}

.phone-input-shell .f-input {
  height: 40px;
  padding-left: 0;
  border: 0;
  border-radius: 0 var(--input-radius) var(--input-radius) 0;
  background-color: transparent;
  box-shadow: var(--shadow-none);
}

.contact-phone-input {
  max-width: 310px;
  margin-bottom: var(--space-2);
}

.contact-phone-helper {
  margin: 0;
  color: var(--color-text);
  font-size: var(--font-size-base);
  line-height: var(--line-height-compact);
  font-weight: var(--font-weight-regular);
}

.order-updates-opt-in {
  display: flex !important;
  align-items: flex-start;
  gap: var(--space-4);
  margin: 0 0 var(--space-copy-gap) !important;
  font-size: var(--font-size-base)!important;
  line-height: var(--line-height-checkbox) !important;
  font-weight: var(--font-weight-regular) !important;
}

.order-updates-opt-in input {
  width: 14px;
  height: 14px;
  margin-top: var(--space-nudge-sm);
  flex: 0 0 auto;
}

.order-updates-opt-in span {
  display: block;
}

.order-updates-opt-in em {
  display: block;
  margin-top: var(--space-1);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-loose);
}

.order-updates-panel p {
  margin: 0;
  font-size: var(--font-size-base);
  line-height: var(--line-height-copy);
}

.order-updates-panel a {
  color: var(--color-link-strong);
  font-weight: var(--font-weight-bold);
  text-decoration: underline;
}

/* Service class subform */
.service_class_subform {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* Ticket insurance step */
.ticket-insurance-form {
  max-width: 690px;
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
}

.ticket-insurance-form p {
  margin: 0 0 var(--space-form-gap);
}

.ticket-insurance-form p:first-child {
  margin-bottom: var(--space-copy-gap);
}

.insurance-benefits {
  list-style: none;
  margin: 0 0 var(--space-form-gap);
  padding: 0;
}

.insurance-benefits li {
  position: relative;
  padding-left: var(--space-copy-gap);
  margin-bottom: var(--space-1);
}

.insurance-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 14px;
  background-color: var(--color-success-muted);
  -webkit-mask: url("assets/check.svg") no-repeat center / contain;
  mask: url("assets/check.svg") no-repeat center / contain;
}

.insurance-option {
  display: flex !important;
  align-items: flex-start;
  gap: var(--space-2);
  margin: 0 0 var(--space-3);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-compact);
  font-weight: var(--font-weight-regular) !important;
}

.insurance-option input {
  width: 16px;
  height: 16px;
  margin-top: var(--space-nudge-sm);
  flex: 0 0 auto;
}

.insurance-status {
  display: none;
  font-weight: var(--font-weight-bold);
}

.ticket-insurance-form.insurance-yes .insurance-choice-protect .insurance-choice-copy,
.ticket-insurance-form.insurance-no .insurance-choice-decline .insurance-choice-copy {
  display: none;
}

.ticket-insurance-form.insurance-yes .insurance-status--yes,
.ticket-insurance-form.insurance-no .insurance-status--no {
  display: inline;
}

.insurance-status--yes {
  color: var(--color-success-strong);
}

.insurance-status--no {
  color: var(--color-error-strong);
}

.insurance-recommended {
  position: relative;
  margin: -6px 0 18px 26px;
  padding-left: var(--space-copy-gap);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-tight);
  font-weight: var(--font-weight-bold);
}

.insurance-recommended::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 14px;
  background-color: var(--color-black);
  -webkit-mask: url("assets/check.svg") no-repeat center / contain;
  mask: url("assets/check.svg") no-repeat center / contain;
}

.insurance-legal {
  margin-top: var(--space-copy-gap) !important;
}

.insurance-legal a {
  color: var(--color-black);
  text-decoration: underline;
}

#btn-shipping-next,
#btn-payment-next,
#btn-insurance-next {
  width: 172px;
  height: 36px;
  min-height: 36px;
  margin-top: var(--space-4);
  padding: 9px var(--space-5);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-sm);
}

@media (max-width: 767px) {
  .country,
  .shipping-event .event-box {
    display: block;
  }

  .country .f-select {
    width: 100%;
    margin-top: var(--space-1);
  }

  .order-updates-panel {
    padding: var(--space-8);
  }
}


/* --------------------------------------------------------------------------
   Order Summary Sidebar
   -------------------------------------------------------------------------- */

#orderSummary {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  #orderSummary {
    width: calc(33.333% - 15px) !important;
    margin-left: var(--space-6);
  }
}

#orderSummary .well {
  padding: var(--space-7) 14px 14px;
  background-color: var(--color-bg-white);
  border-color: var(--color-border-subtle);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-none);
}

#orderSummary .title {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-tight);
  text-align: center;
  text-transform: uppercase;
  margin: 0 0 var(--space-field-gap);
}

/* Order event entries */
.order-event {
  padding: 0;
  margin-bottom: var(--space-field-gap);
}

.order-event .date {
  font-size: var(--font-size-caption);
  line-height: var(--line-height-compact);
  color: var(--color-text);
  margin-bottom: 2px;
}

.order-event .event-title {
  font-size: var(--font-size-ui);
  line-height: var(--line-height-snug);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-5);
}

.order-event .sub-total {
  width: 100%;
  border: 0;
  appearance: none;
  color: var(--color-text);
  font-family: inherit;
  font-size: var(--font-size-caption);
  line-height: var(--line-height-tight);
  font-weight: var(--font-weight-bold);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-bg-subtle);
  padding: var(--space-3) var(--space-7);
  cursor: pointer;
  text-align: left;
}

.order-event .sub-total > span:last-child {
  display: inline-flex;
  align-items: center;
  gap: var(--space-5);
}

.summary-chevron {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 3px solid var(--color-icon-muted);
  border-bottom: 3px solid var(--color-icon-muted);
  transform: translateY(2px) rotate(225deg);
}

.order-event:not(.is-open) .summary-chevron {
  transform: translateY(-2px) rotate(45deg);
}

/* Cost breakout */
.cost-breakout {
  font-size: var(--font-size-caption);
  line-height: var(--line-height-compact);
  background-color: var(--color-bg-subtle);
  padding: 0 var(--space-7) var(--space-5);
  margin-top: 0;
  border-radius: 0;
}

.order-event:not(.is-open) .cost-breakout {
  display: none;
}

.cost-breakout .price-name {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 3px 0;
}

.cost-breakout .price-name:first-child {
  border-top: 1px solid var(--color-border-divider-dark);
  padding-top: 14px;
}

.price-name-fee span:first-child {
  padding-left: var(--space-4);
}

.order-summary-tooltip::after {
  width: 278px;
  font-size: var(--font-size-sm);
}

.order-summary-tooltip::before {
  width: 22px;
  height: 11px;
}

/* Charge lines (fees, insurance, etc) */
.order-summary-charge {
  display: flex;
  justify-content: space-between;
  padding: 0 var(--space-7);
  margin-bottom: 9px;
  font-size: var(--font-size-sm);
  line-height: var(--line-height-tight);
}

/* Order total */
.order-summary-total {
  display: flex;
  justify-content: space-between;
  padding: 0 var(--space-7);
  font-size: var(--font-size-base);
  line-height: var(--line-height-tight);
  font-weight: var(--font-weight-regular);
  border-top: 0;
  margin-top: 0;
}

.order-summary-total span:first-child {
  white-space: nowrap;
}

/* Clear cart link */
#orderSummary .clearCart {
  display: flex;
  align-items: center;
  gap: var(--space-control-gap);
  float: right;
  margin-top: var(--space-section-gap);
  cursor: pointer;
  font-size: var(--font-size-caption);
  line-height: var(--line-height-none);
  color: var(--color-black);
  text-decoration: none;
}

#orderSummary .clearCart::after {
  content: "\f05c";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 0;
  font-family: "FontAwesome";
  color: var(--color-icon-disabled);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-none);
}

#orderSummary .clearCart:hover {
  color: var(--color-black);
  text-decoration: underline;
}

.checkout-promo-code {
  margin-top: var(--space-5);
  padding: 0;
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-sm);
}

.checkout-promo-toggle {
  width: 100%;
  min-height: 51px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) 14px;
  border: 0;
  background: transparent;
  color: var(--color-text);
  font-family: inherit;
  font-size: var(--font-size-sm);
  line-height: var(--line-height-tight);
  font-weight: var(--font-weight-regular);
  text-align: left;
  cursor: pointer;
}

.checkout-promo-title {
  display: inline-flex;
  align-items: center;
  gap: var(--space-control-gap);
  font-size: var(--font-size-ui);
  font-weight: var(--font-weight-medium);
  white-space: nowrap;
}

.checkout-promo-tooltip::after {
  width: 275px;
  font-size: var(--font-size-sm);
}

.checkout-promo-chevron {
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 8px solid var(--color-black);
  flex: 0 0 auto;
}

.checkout-promo-code.is-open .checkout-promo-chevron {
  border-top: 0;
  border-bottom: 8px solid var(--color-black);
}

.checkout-promo-fields {
  display: none;
  align-items: center;
  gap: var(--space-7);
  padding: 0 14px 18px;
}

.checkout-promo-code.is-open .checkout-promo-fields {
  display: flex;
}

.checkout-promo-input {
  min-width: 0;
  flex: 1 1 auto;
  height: 30px;
  padding: 3px var(--space-7);
  border: 1px solid var(--color-border-control-light);
  border-radius: var(--radius-pill);
  font-size: var(--font-size-base);
  line-height: var(--line-height-tight);
}

.checkout-promo-input::placeholder {
  color: var(--input-placeholder);
}

.checkout-promo-apply {
  width: 80px;
  min-width: 80px;
  flex: 0 0 80px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  border-radius: var(--radius-pill);
  background-color: var(--color-disabled-control-bg);
  color: var(--color-white);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
}

@media (max-width: 767px) {
  .content.checkout {
    padding-left: var(--space-11);
    padding-right: var(--space-11);
  }

  .content.checkout > .row {
    margin-left: 0;
    margin-right: 0;
  }

  .content.checkout > .row,
  .content.checkout .col-sm-8,
  .content.checkout #orderSummary {
    display: block;
    width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #orderSummary {
    margin-top: var(--space-8);
    margin-left: 0;
  }
}


/* --------------------------------------------------------------------------
   Confirm Step
   -------------------------------------------------------------------------- */

.confirm-review-text {
  max-width: 590px;
  margin-bottom: var(--space-8);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-form-copy);
}

.confirm-form .form-group {
  margin-bottom: var(--space-form-gap);
}

.confirm-form .controls {
  margin-top: var(--space-3);
}

.confirm-form label[for="confirm_email"] {
  margin-bottom: var(--space-form-gap);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-regular);
}

#confirm_email {
  width: 100%;
  height: 42px;
  padding: var(--space-3) 18px;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
}

.confirm-email-error {
  display: block;
  margin-top: var(--space-2);
  color: var(--color-error-border);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-base);
}

.confirm-terms h4 {
  margin: 0 0 var(--space-8);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-regular);
}

.confirm-terms label {
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
  display: inline;
}

.confirm-terms input[type="checkbox"] {
  width: 13px;
  height: 13px;
  margin: 2px 5px 0 0;
  flex: 0 0 auto;
}

.confirm-checkbox-row {
  display: flex;
  align-items: flex-start;
  margin: 0 0 var(--space-section-gap);
  max-width: 610px;
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
}

.confirm-privacy-copy {
  max-width: 610px;
  margin: 0 0 var(--space-field-gap);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
}

.confirm-card-storage {
  margin-bottom: var(--space-8);
}

#purchase_tickets {
  width: 172px;
  height: 36px;
  min-height: 36px;
  padding: 9px var(--space-5);
  margin-top: 0;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-sm);
}


/* --------------------------------------------------------------------------
   Thank You Page
   -------------------------------------------------------------------------- */

.thanks-message {
  text-align: center;
  display: block;
  margin-bottom: var(--space-10);
  padding: 0 var(--space-8);
}

.thanks-message h2 {
  margin: 0;
  padding-bottom: var(--space-8);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-light);
  line-height: var(--line-height-modal-title);
}

.thanks-message .order-confirm {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-base);
  color: var(--color-text-dark);
}

.success-check {
  display: inline-block;
  width: 60px;
  height: 60px;
  margin-top: var(--space-section-gap);
  margin-bottom: var(--space-4);
  background-image: url("assets/icn-success-check.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60px 60px;
}

.order-number {
  text-align: center;
  margin-top: var(--space-label-gap);
  padding: 0;
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-md);
  color: var(--color-text-dark);
}

.order-number span {
  font-weight: var(--font-weight-regular);
}

/* Thank you order details */
.thankyou-event {
  margin-top: var(--space-modal-top);
  margin-left: 0;
  margin-right: 0;
  padding: 0;
}

.thankyou-event .receipt-cart-event {
  padding: 0;
}

.thankyou-event .event-details {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-8);
  align-items: flex-start;
  margin: 0;
}

.thankyou-event .event-img {
  width: 16.667%;
  max-width: 140px;
  flex-shrink: 0;
}

.thankyou-event .event-img img {
  width: 100%;
  height: auto;
}

.thankyou-event .event-txt {
  flex: 1;
  display: flex;
  align-items: flex-start;
  min-width: 0;
}

.thankyou-event .event-title-share {
  flex: 0 1 clamp(220px, 38%, 300px);
  width: clamp(220px, 38%, 300px);
  margin-right: var(--space-8);
}

.thankyou-event .event-txt h1 {
  margin: 0;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-md);
}

.thankyou-event .event-venue {
  display: inline-block;
  flex: 0 0 clamp(112px, 20%, 150px);
  width: clamp(112px, 20%, 150px);
  padding: 0 var(--space-6) var(--space-6);
  vertical-align: top;
  border-right: 1px solid var(--color-border-medium);
  border-left: 1px solid var(--color-border-medium);
}

.thankyou-event .event-date {
  display: inline-block;
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  padding: 0 var(--space-6);
  vertical-align: top;
}

.thankyou-event .venue,
.thankyou-event .date {
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
}

.thankyou-event .address,
.thankyou-event .state,
.thankyou-event .time,
.thankyou-event .age {
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
}

.thankYouShareContainer {
  display: flex;
  padding: var(--space-control-gap) 0 0;
  color: var(--color-black);
}

.thankYouShareContainer .share-buttons {
  flex-direction: row;
  gap: var(--space-5);
  width: 100%;
}

.thankYouShareContainer .btn-share {
  flex: 1 1 0;
  max-width: 187px;
  min-height: 32px;
}

#view-thankyou .receipt-cart-event-table {
  margin-top: var(--space-footer-gap);
}

#view-thankyou .receipt-cart-event-table table {
  font-size: var(--font-size-sm);
}

#view-thankyou .receipt-cart-event-table thead td:nth-child(1),
#view-thankyou .receipt-cart-event-table tbody td:nth-child(1) {
  width: 38%;
}

#view-thankyou .receipt-cart-event-table thead td:nth-child(2),
#view-thankyou .receipt-cart-event-table tbody td:nth-child(2) {
  width: 20%;
}

#view-thankyou .receipt-cart-event-table thead td:nth-child(3),
#view-thankyou .receipt-cart-event-table tbody td:nth-child(3) {
  width: 20%;
}

#view-thankyou .receipt-cart-event-table thead td:nth-child(4),
#view-thankyou .receipt-cart-event-table tbody td:nth-child(4) {
  width: 22%;
}

#view-thankyou .receipt-cart-event-table thead td {
  padding: var(--space-1) var(--space-4);
  border-bottom: 1px solid var(--color-border-light);
  font-weight: var(--font-weight-bold);
}

#view-thankyou .receipt-cart-event-table tbody tr {
  border-bottom: none;
}

#view-thankyou .receipt-cart-event-table tbody td,
#view-thankyou .receipt-cart-event-table tfoot td {
  padding: var(--space-1) var(--space-4);
}

#view-thankyou .receipt-cart-event-table tfoot tr:first-child td {
  padding-top: var(--space-4);
}

/* Order totals on thank you */
.ordertotals {
  margin-top: var(--space-14);
  padding: 0 var(--space-12) var(--space-13) 0;
  background-color: transparent;
  border-radius: 0;
}

#view-thankyou .ordertotals {
  max-width: 320px;
  margin-left: auto;
}

.ordertotals .row {
  margin: 0 0 var(--space-7);
}

.ordertotals .row > * {
  padding-left: 0;
  padding-right: 0;
}

.ordertotals .order-total {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(96px, max-content);
  column-gap: var(--space-9);
  align-items: baseline;
  margin-top: var(--space-9);
  padding-top: 0;
  border-top: none;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-lg);
}

.thankyou-total-line-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(96px, max-content);
  column-gap: var(--space-9);
  align-items: baseline;
  width: 100%;
}

.thankyou-total-line-inner span:first-child {
  font-size: var(--font-size-ui);
  line-height: var(--line-height-md);
}

.thankyou-total-line-inner span:first-child,
.ordertotals .order-total span:first-child {
  text-align: left;
}

.thankyou-total-line-inner span:last-child {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-lg);
}

.thankyou-total-line-inner span:last-child,
.ordertotals .order-total span:last-child {
  text-align: right;
}

/* Delivery info */
.delivery-info {
  margin-top: var(--space-section-gap);
  padding: var(--space-9);
  background-color: var(--color-bg-stripe);
  border-radius: 0;
}

.delivery-info b {
  display: block;
  margin-bottom: var(--space-4);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
}

.delivery-info .lead {
  margin: 0 0 var(--space-10);
  font-size: var(--font-size-lead);
  font-weight: var(--font-weight-light);
  line-height: var(--line-height-lead);
}

.delivery-info p:last-child {
  margin: 0;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
}

/* ==========================================================================
   Thank you — Upgrades & Add-ons (shared)
   ========================================================================== */

.thankyou-upsell-section {
  margin-top: var(--space-section-gap);
  padding: var(--space-12) 0;
  border-top: 1px solid var(--color-border-light);
}

.thankyou-upsell-heading {
  margin: 0 0 var(--space-3);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-lg);
  color: var(--color-text);
}

.thankyou-upsell-subheading {
  margin: 0 0 var(--space-10);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text-secondary);
}

.upsell-card-icon {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.8;
}

.upsell-icon-upgrade {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 24 24' fill='none' stroke='%230f0f0f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01z'/%3E%3C/svg%3E");
}

.upsell-icon-parking {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 24 24' fill='none' stroke='%230f0f0f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M9 17V7h4a3 3 0 0 1 0 6H9'/%3E%3C/svg%3E");
}

.upsell-icon-shuttle {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 24 24' fill='none' stroke='%230f0f0f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6v6'/%3E%3Cpath d='M15 6v6'/%3E%3Cpath d='M2 12h19.6'/%3E%3Cpath d='M18 18h3s.5-1.7.8-2.8c.1-.4.2-.8.2-1.2 0-.4-.1-.8-.2-1.2l-1.4-3.3C20 8.5 19.2 8 18.3 8H5.7C4.8 8 4 8.5 3.6 9.5L2.2 12.8c-.1.4-.2.8-.2 1.2 0 .4.1.8.2 1.2.3 1.1.8 2.8.8 2.8h3'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3C/svg%3E");
}

.upsell-icon-insurance {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 24 24' fill='none' stroke='%230f0f0f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}

.upsell-card-badge {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.upsell-card-badge.upsell-badge-popular,
.upsell-card-badge.upsell-badge-limited {
  background-color: var(--color-bg-control);
  color: var(--color-text-dark);
}

.upsell-card-body { flex: 1; min-width: 0; }
.upsell-card-title { margin: 0; }
.upsell-card-desc { margin: 0; }

.upsell-price-amount {
  display: block;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}

.upsell-price-detail {
  display: block;
  font-size: var(--font-size-xs);
  line-height: var(--line-height-base);
  color: var(--color-text-muted);
}

/* ---------- Horizontal Cards ---------- */

.upsell-variant-hcards .thankyou-upsell-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
}

.upsell-variant-hcards .upsell-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  column-gap: var(--space-7);
  align-items: start;
  padding: var(--space-8);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  background-color: var(--color-bg-white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.upsell-variant-hcards .upsell-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-sm);
}

.upsell-variant-hcards .upsell-card-badge {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  font-size: var(--font-size-xs);
}

.upsell-variant-hcards .upsell-card-icon {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 36px;
  height: 36px;
  margin-top: var(--space-1);
}

.upsell-variant-hcards .upsell-card-title {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-md);
  margin-bottom: var(--space-2);
}

.upsell-variant-hcards .upsell-card-body {
  grid-column: 2;
  grid-row: 1;
}

.upsell-variant-hcards .upsell-card-desc {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-base);
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

.upsell-variant-hcards .upsell-card-price {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  text-align: left;
  margin-top: var(--space-3);
}

.upsell-variant-hcards .upsell-price-amount {
  display: inline;
  font-size: var(--font-size-lg);
  line-height: var(--line-height-lg);
}

.upsell-variant-hcards .upsell-price-detail {
  display: inline;
}

.upsell-variant-hcards .upsell-card-btn {
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 var(--space-9);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-pill);
  background-color: var(--color-bg-white);
  color: var(--color-primary);
  font-family: inherit;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.upsell-variant-hcards .upsell-card-btn:hover,
.upsell-variant-hcards .upsell-card-btn:focus-visible {
  background-color: var(--color-primary);
  color: var(--color-white);
}

@media (max-width: 767px) {
  .thanks-message {
    margin-bottom: var(--space-10);
    padding: 0;
  }

  .success-check {
    margin-top: var(--space-section-gap);
  }

  .thanks-message h2 {
    font-size: var(--font-size-2xl);
  }

  .thanks-message .order-confirm {
    max-width: 330px;
    margin: 0 auto;
    font-size: var(--font-size-base);
    line-height: var(--line-height-md);
  }

  .thankyou-event {
    margin-top: var(--space-13);
  }

  .thankyou-event .event-img {
    display: none;
  }

  .thankyou-event .event-details,
  .thankyou-event .event-txt {
    display: block;
  }

  .thankyou-event .event-title-share,
  .thankyou-event .event-venue,
  .thankyou-event .event-date {
    display: block;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .thankyou-event .event-title-share {
    margin-right: 0;
  }

  .thankyou-event .event-txt h1 {
    margin-bottom: var(--space-8);
    font-size: var(--font-size-xl);
    line-height: var(--line-height-lg);
  }

  .thankYouShareContainer {
    margin-bottom: var(--space-9);
  }

  .thankYouShareContainer .share-buttons {
    flex-direction: column;
    gap: var(--space-5);
  }

  .thankYouShareContainer .btn-share {
    max-width: none;
  }

  .thankyou-event .event-venue {
    margin-bottom: var(--space-9);
    border: none;
    text-align: left !important;
  }

  #view-thankyou .receipt-cart-event-table {
    margin-top: var(--space-12);
  }

  #view-thankyou .receipt-cart-event-table table {
    display: table;
    table-layout: fixed;
    font-size: var(--font-size-sm);
  }

  #view-thankyou .receipt-cart-event-table thead td {
    visibility: visible;
    display: table-cell;
    padding: var(--space-1);
    border-bottom: 1px solid var(--color-border-light);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-base);
  }

  #view-thankyou .receipt-cart-event-table tbody {
    display: table-row-group;
  }

  #view-thankyou .receipt-cart-event-table tbody tr {
    display: table-row;
    width: auto;
    margin-bottom: 0;
    border-bottom: none;
  }

  #view-thankyou .receipt-cart-event-table tbody td {
    display: table-cell;
    width: auto;
    padding: var(--space-3) var(--space-1);
    border-bottom: none;
    text-align: inherit;
  }

  #view-thankyou .receipt-cart-event-table tbody td.text-center {
    display: table-cell;
    text-align: center;
  }

  #view-thankyou .receipt-cart-event-table tbody td::before {
    content: none;
  }

  #view-thankyou .receipt-cart-event-table tfoot {
    display: table-footer-group;
  }

  #view-thankyou .receipt-cart-event-table tfoot tr {
    display: table-row;
  }

  #view-thankyou .receipt-cart-event-table tfoot td {
    display: table-cell;
    padding: var(--space-2) var(--space-1);
  }

  .delivery-info {
    margin-top: var(--space-section-gap);
    padding: var(--space-9);
  }

  #view-thankyou .ordertotals {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    padding: var(--space-13) 0 var(--space-12);
  }

  .thankyou-total-line-inner {
    grid-template-columns: minmax(0, 1fr) minmax(92px, max-content);
    column-gap: var(--space-9);
  }

  .ordertotals .order-total {
    grid-template-columns: minmax(0, 1fr) minmax(126px, max-content);
    column-gap: var(--space-7);
    font-size: var(--font-size-xl);
  }

  .upsell-variant-hcards .upsell-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .upsell-variant-hcards .upsell-card-icon {
    margin-top: 0;
    margin-bottom: var(--space-4);
  }

  .upsell-variant-hcards .upsell-card-desc {
    margin-bottom: var(--space-7);
  }

  .upsell-variant-hcards .upsell-card-price {
    display: block;
    text-align: left;
    margin-top: 0;
    margin-bottom: var(--space-7);
  }

  .upsell-variant-hcards .upsell-price-amount,
  .upsell-variant-hcards .upsell-price-detail {
    display: block;
  }

  .upsell-variant-hcards .upsell-card-btn {
    width: 100%;
    align-self: stretch;
    justify-content: center;
  }
}


/* --------------------------------------------------------------------------
   Payment Methods
   -------------------------------------------------------------------------- */

.payment-plan-section {
  margin-bottom: var(--space-10);
}

.payment-plan-section h4,
.payment-method-section h4 {
  margin: 0 0 var(--space-form-gap);
  color: var(--color-text);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-tight);
}

.payment-plan-options {
  display: grid;
  grid-template-columns: 240px 64px 240px;
  align-items: center;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.payment-plan-option-btn {
  box-sizing: border-box;
  width: 240px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25em;
  padding: 0 var(--space-6);
  border: 2px solid var(--color-black);
  border-radius: var(--radius-pill);
  background-color: var(--color-bg-white);
  color: var(--color-black);
  font-family: inherit;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  cursor: pointer;
}

.payment-plan-option-btn:hover,
.payment-plan-option-btn:focus-visible {
  background-color: var(--color-bg-control);
}

.payment-plan-option-btn.selected {
  background-color: var(--color-black);
  color: var(--color-white);
}

.payment-plan-or {
  text-align: center;
  color: var(--color-text);
  font-size: var(--font-size-xl);
  line-height: var(--line-height-none);
}

.checkout-layaway-plan-panel {
  max-width: 600px;
  margin-top: var(--space-6);
}

.checkout-layaway-plan-panel label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
}

.checkout-layaway-plan-panel .f-select {
  width: 100%;
  height: 42px;
  margin-bottom: var(--space-6);
}

.layaway-disclosure-link {
  display: inline-block;
  margin-bottom: var(--space-5);
  color: var(--color-black);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  text-decoration: underline;
}

.checkout-layaway-schedule {
  width: 100%;
}

.checkout-layaway-table {
  margin-bottom: var(--space-7);
}

.checkout-layaway-row,
.checkout-layaway-header {
  gap: var(--space-5);
}

.lm-col-payment {
  flex: 1 1 130px;
}

.lm-col-date {
  flex: 2 1 250px;
  text-align: center;
}

.lm-col-amount {
  flex: 1 0 120px;
}

.checkout-layaway-summary {
  margin-top: var(--space-5);
}

.checkout-layaway-summary .lm-summary-row--large {
  font-size: var(--font-size-lg);
  margin-top: var(--space-2);
}

#paymentMethodOptions {
  display: grid;
  grid-template-columns: repeat(2, 240px);
  gap: var(--space-9) var(--space-11);
  justify-content: start;
  margin: 0 0 var(--space-10);
}

.payment-option-btn {
  box-sizing: border-box;
  width: 240px;
  height: 40px;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-none);
  padding: 0 var(--space-7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}

.payment-option-btn:hover {
  border-color: var(--color-primary);
}

.payment-option-btn.selected {
  border-color: transparent;
  box-shadow: var(--shadow-none);
}

.payment-option-credit {
  background: var(--color-black);
  color: var(--color-white);
}

.payment-option-paypal {
  background: var(--color-paypal-bg);
}

.payment-option-paypal img {
  display: block;
  width: auto;
  height: 20px;
}

.payment-option-venmo {
  background: var(--color-venmo-bg);
}

.venmo-logo {
  width: 105px;
  height: 15px;
  background: var(--color-bg-white);
  display: block;
  mask: url("assets/venmo-logo.svg") center / contain no-repeat;
  -webkit-mask: url("assets/venmo-logo.svg") center / contain no-repeat;
}

.payment-option-google {
  background: var(--color-black);
  border-color: var(--color-border-muted);
  color: var(--color-white);
  padding: var(--space-0);
  overflow: hidden;
}

.google-pay-button-img {
  display: block;
  width: 100%;
  height: 100%;
}

.payment-option-btn[aria-disabled="true"] {
  cursor: default;
}

.payment-option-btn[aria-disabled="true"]:hover {
  border-color: transparent;
}

.payment-option-google[aria-disabled="true"]:hover {
  border-color: var(--color-border-muted);
}

@media (max-width: 767px) {
  .payment-plan-options {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .payment-plan-option-btn {
    width: 100%;
  }

  .payment-plan-or {
    font-size: var(--font-size-md);
  }

  #paymentMethodOptions {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }

  .payment-option-btn {
    width: 100%;
  }

  .payment-method-section h4 {
    font-size: var(--font-size-md);
  }
}

@media (min-width: 768px) and (max-width: 1120px) {
  .payment-plan-options {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: var(--space-5);
    max-width: 100%;
  }

  .payment-plan-option-btn {
    width: 100%;
    min-width: 0;
    padding: 0 var(--space-4);
    font-size: var(--font-size-base);
    white-space: normal;
  }

  .payment-plan-or {
    font-size: var(--font-size-lg);
  }

  .checkout-layaway-schedule .layaway-tooltip::after {
    left: auto;
    right: calc(var(--space-3) * -1);
    transform: none;
    width: min(360px, calc(100vw - 48px));
    max-width: min(360px, calc(100vw - 48px));
  }

  #paymentMethodOptions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-7) var(--space-8);
    max-width: 100%;
  }

  .payment-option-btn {
    width: 100%;
    height: 40px;
    min-height: 40px;
    padding: 0 var(--space-4);
    font-size: var(--font-size-base);
  }

  .payment-option-paypal img {
    height: 20px;
  }

}

/* Credit card form */
.cc-form .fgroup {
  margin-bottom: var(--space-5);
}

.cc-form label {
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-1);
  display: block;
}

.stored-payment-panel {
  margin-top: var(--space-3);
}

.stored-payment-title {
  margin: 0 0 var(--space-8);
  color: var(--color-text);
  font-size: var(--font-size-md);
  line-height: var(--line-height-md);
  font-weight: var(--font-weight-medium);
}

.stored-payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-9);
  margin-bottom: var(--space-9);
}

.stored-payment-line {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-base);
}

.stored-payment-line strong {
  font-weight: var(--font-weight-bold);
  white-space: nowrap;
}

.stored-card-detail {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.stored-card-logo {
  width: 41px;
  height: auto;
  border: 1px solid var(--color-border-medium);
}

.stored-card-different {
  margin-left: var(--space-stored-card-offset);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text);
  font: inherit;
  font-size: var(--font-size-sm);
  line-height: var(--line-height-base);
  text-decoration: underline;
  cursor: pointer;
}

.stored-card-verification {
  max-width: 620px;
}

.stored-cvv-field {
  max-width: 172px;
  margin-bottom: var(--space-7);
}

.stored-cvv-field label {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-base);
  font-weight: var(--font-weight-regular);
}

.stored-cvv-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--icon-size-sm);
  height: var(--icon-size-sm);
  margin-left: var(--space-1);
  border-radius: var(--radius-circle);
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: var(--font-size-xs);
  line-height: var(--line-height-none);
  font-weight: var(--font-weight-bold);
}

.stored-security-note {
  margin: 0 0 var(--space-9);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-base);
}

.stored-phone-field {
  max-width: 255px;
}

.stored-phone-field .phone-input-shell {
  max-width: 255px;
}

@media (max-width: 767px) {
  .stored-payment-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .stored-payment-line {
    grid-template-columns: max-content minmax(0, 1fr);
  }

  .stored-card-different {
    margin-left: var(--space-stored-card-offset);
  }
}

/* --------------------------------------------------------------------------
   Billing Address
   -------------------------------------------------------------------------- */

.billing-address {
  margin-top: var(--space-7);
}

.billing-country {
  width: 100%;
}

.billing-country .f-select {
  width: 100%;
}

.billing-location-row {
  flex-wrap: wrap;
}

.billing-location-row .billing-city {
  flex: 1 1 100%;
}

.billing-location-row .billing-state {
  flex: 1 1 0;
}

.billing-location-row .billing-zip {
  flex: 1 1 0;
}

.billing-location-row .f-input,
.billing-location-row .f-select {
  width: 100%;
}


/* --------------------------------------------------------------------------
   Misc Shared Flow Styles
   -------------------------------------------------------------------------- */

/* Terms link styling in checkout */
.terms_policy_link {
  color: var(--color-link) !important;
  font-weight: var(--font-weight-black);
}

/* Add to cart modal */
.add-cart-modal-dialog {
  width: 500px;
}

.add-cart-modal-body {
  min-height: 240px;
  padding: var(--space-9);
}

.add-cart-state {
  text-align: center;
}

.add-cart-state-searching {
  padding: var(--space-9) 0 var(--space-13);
}

.add-cart-searching-text {
  margin: 0 0 var(--space-section-gap);
  color: var(--color-text-muted);
  font-size: var(--font-size-lead);
  line-height: var(--line-height-lead);
  font-weight: var(--font-weight-regular);
}

.add-cart-spinner {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  border: 10px solid var(--color-bg-stripe);
  border-top-color: var(--color-black);
  border-radius: var(--radius-circle);
  animation: add-cart-spin 0.8s linear infinite;
}

@keyframes add-cart-spin {
  to {
    transform: rotate(360deg);
  }
}

.add-cart-modal-header {
  padding-bottom: var(--space-7);
}

.add-cart-success-icon {
  display: block;
  width: 60px;
  height: 60px;
  margin: var(--space-2) auto var(--space-5);
}

.add-cart-success-message {
  max-width: 420px;
  margin: 0 auto var(--space-11);
  color: var(--color-text-muted);
  font-size: var(--font-size-lead);
  line-height: var(--line-height-lead);
  font-weight: var(--font-weight-regular);
}

.add-cart-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.add-cart-actions a {
  color: var(--color-text-subtle);
  font-size: var(--font-size-base);
  line-height: var(--line-height-md);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
}

.add-cart-actions a:hover,
.add-cart-actions a:focus-visible {
  text-decoration: underline;
}

.add-cart-actions .fbtn {
  min-width: 140px;
}

.processing-order-dialog {
  width: 500px;
}

.processing-order-body {
  padding: var(--space-13) var(--space-9) var(--space-12);
  text-align: center;
}

.processing-order-body h2 {
  margin: 0 0 var(--space-11);
  color: var(--color-text-muted);
  font-size: var(--font-size-lead);
  line-height: var(--line-height-lead);
  font-weight: var(--font-weight-regular);
}

.processing-order-spinner {
  margin-bottom: 34px;
}

.processing-order-body p {
  max-width: 320px;
  margin: 0 auto;
  color: var(--color-primary);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-base);
  font-weight: var(--font-weight-regular);
}

@media (max-width: 767px) {
  .add-cart-modal-body {
    padding: 22px;
  }

  .processing-order-body {
    padding: var(--space-12) 22px 36px;
  }

  .processing-order-body h2 {
    margin-bottom: var(--space-11);
    font-size: var(--font-size-xl);
    line-height: var(--line-height-lg);
  }

  .processing-order-spinner {
    margin-bottom: var(--space-11);
  }

  .add-cart-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .add-cart-actions a,
  .add-cart-actions .fbtn {
    width: 100%;
    text-align: center;
  }

  .add-cart-actions .fbtn {
    order: 1;
  }

  .add-cart-actions a:nth-of-type(1) {
    order: 2;
  }

  .add-cart-actions a:nth-of-type(2) {
    order: 3;
  }
}

/* Sub-ribbon (ticket table header) */
.sub-ribbon {
  font-size: var(--font-size-md);
  line-height: var(--line-height-xl);
  margin-top: var(--space-8);
  display: flex;
  align-items: center;
}

/* Cart expired modal */
.cart-expired-message {
  text-align: center;
  padding: var(--space-8);
  font-weight: 500
}

.cart-expired-message h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-5);
  font-weight: var(--font-weight-medium);
}

/* --------------------------------------------------------------------------
   Layaway Modal
   -------------------------------------------------------------------------- */

.layaway-close-row {
  display: flex;
  justify-content: flex-end;
}

.layaway-close-btn {
  background: none;
  border: none;
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-base);
  cursor: pointer;
  color: var(--color-text-control);
  padding: 0;
  font-family: inherit;
}

.layaway-close-btn:hover,
.layaway-close-btn:focus-visible {
  color: var(--color-black);
  background-color: var(--color-bg-control);
}

#modal-layaway.modal.show {
  align-items: flex-start;
}

#modal-layaway .modal-dialog.modal-lg {
  width: 550px;
  margin-top: var(--space-modal-top);
}

@media (max-width: 767px) {
  #modal-layaway .modal-dialog.modal-lg {
    width: calc(100vw - 24px);
    margin-top: var(--space-9);
  }
}

.layaway-modal-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-4);
  width: 100%;
}

.layaway-modal-main h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-medium);
  margin: 0 0 var(--space-5);
}

.layaway-modal-desc {
  text-align: center;
  margin-bottom: var(--space-7);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
}

/* Flex-based layaway table layout */
.lm-section {
  width: 100%;
  margin-bottom: var(--space-7);
}

.lm-row {
  display: flex;
  align-items: baseline;
  padding: var(--space-2) 0;
  font-size: var(--font-size-sm);
}

.lm-row.lm-header {
  font-weight: var(--font-weight-semibold);
}

.lm-cost-desc {
  font-size: var(--font-size-sm);
  color: var(--color-black);
  padding-top: 0;
}

.lm-ticket-event-title {
  font-weight: var(--font-weight-bold);
}

.lm-col-large {
  flex: 2;
}

.lm-col-small {
  flex: 1;
  font-size: var(--font-size-base);
}

.lm-header .lm-col-small {
  white-space: nowrap;
}

.lm-rule {
  border-bottom: 1px solid var(--color-bg-stripe);
}

.lm-rule--large {
  border-bottom: 2px solid var(--color-bg-stripe);
  margin-bottom: var(--space-1);
}

.layaway-schedule-toggle {
  margin-bottom: var(--space-5);
}

.fbtn-link {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  font-family: inherit;
}

.fbtn-link:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.fbtn-link:focus-visible {
  text-decoration: underline;
}

/* Layaway summary (right-aligned) */
.lm-summary {
  width: 100%;
  margin-top: var(--space-7);
  margin-bottom: var(--space-8);
}

.lm-summary-row {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  padding: var(--space-1) 0;
  font-size: var(--font-size-base);
}

.lm-summary__label {
  flex: 1;
  text-align: right;
  padding-right: var(--space-5);
}

.lm-summary__value {
  width: 110px;
  text-align: right;
}

/* Layaway bottom buttons */
.lm-buttons {
  display: flex;
  flex-direction: row-reverse;
  width: 100%;
  gap: var(--space-5);
  align-items: center;
}

.lm-buttons__right {
  width: 60%;
}

.lm-buttons__left {
  width: 40%;
  text-align: center;
}

/* Layaway terms modal */
#modal-layaway-terms.modal.show {
  align-items: flex-start;
}

.layaway-terms-dialog {
  width: 500px;
  max-width: calc(100vw - 32px);
  margin-top: var(--space-8);
}

.layaway-terms-body {
  padding: var(--space-9) var(--space-9) 0;
}

.layaway-terms-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-5);
  margin-bottom: var(--space-4);
}

.layaway-terms-header h2 {
  margin: 0;
  color: var(--color-black);
  font-size: var(--font-size-modal-title);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-modal-title);
}

.layaway-terms-close {
  flex: 0 0 auto;
  color: var(--color-text-neutral);
}

.layaway-terms-instruction {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 32px;
  margin-bottom: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background-color: var(--color-text);
  color: var(--color-white);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  text-align: center;
}

.layaway-terms-scroll {
  height: 20em;
  max-height: calc(100vh - 260px);
  overflow-y: auto;
  padding-right: var(--space-3);
  color: var(--color-black);
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--font-size-sm);
  line-height: var(--line-height-base);
}

.layaway-terms-scroll p {
  margin: 0 0 var(--space-5);
}

.layaway-terms-underlined {
  text-decoration: underline;
}

.layaway-terms-emphasis {
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
}

.layaway-terms-end {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-4);
  padding: var(--space-2) var(--space-5);
  background-color: var(--color-bg-subtle);
  font-family: var(--font-family);
  font-size: var(--font-size-xs);
  line-height: var(--line-height-tight);
}

.layaway-terms-check {
  position: relative;
  display: inline-flex;
  width: 24px;
  height: 24px;
  border: 2px solid var(--color-black);
  border-radius: var(--radius-circle);
}

.layaway-terms-check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 7px;
  height: 12px;
  border: solid var(--color-black);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.layaway-terms-footer {
  margin: var(--space-4) calc(var(--space-9) * -1) 0;
  padding: var(--space-7) var(--space-9) var(--space-9);
  background-color: var(--color-bg-light);
}

.layaway-terms-accept {
  width: 100%;
  min-height: 42px;
}

.layaway-terms-accept:disabled {
  background-color: var(--color-primary-disabled);
  color: var(--color-white);
  cursor: default;
}

@media (max-width: 767px) {
  .layaway-terms-dialog {
    margin-top: var(--space-5);
  }

  .layaway-terms-body {
    padding: var(--space-6) var(--space-5) 0;
  }

  .layaway-terms-header h2 {
    font-size: var(--font-size-modal-title);
  }

  .layaway-terms-scroll {
    height: 15em;
    max-height: calc(100vh - 230px);
  }

  .layaway-terms-footer {
    margin-left: calc(var(--space-6) * -1);
    margin-right: calc(var(--space-6) * -1);
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }
}

/* Dev-only checkout shortcuts */
.dev-flow-shortcuts {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 1035;
  font-size: var(--font-size-xs);
  line-height: var(--line-height-xs);
}

.dev-flow-shortcuts.is-hidden {
  display: none;
}

.dev-flow-shortcuts details {
  min-width: 150px;
  max-width: 220px;
  border-radius: 6px;
  background: var(--color-bg-dev-overlay);
  color: var(--color-white);
  box-shadow: var(--shadow-dev-overlay);
}

.dev-flow-shortcuts summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  cursor: pointer;
  list-style: none;
  padding: var(--space-3) var(--space-4);
  font-weight: var(--font-weight-bold);
  user-select: none;
}

.dev-flow-shortcuts summary::-webkit-details-marker {
  display: none;
}

.dev-flow-shortcuts-title {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.dev-flow-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.15s ease;
}

.dev-flow-shortcuts details[open] .dev-flow-caret {
  transform: rotate(180deg);
}

.dev-flow-kbd {
  display: inline-flex;
  align-items: center;
  gap: var(--space-nudge-sm);
  margin-left: auto;
}

.dev-flow-kbd kbd {
  min-width: 18px;
  padding: 1px var(--space-1);
  border: 1px solid var(--color-dev-kbd-border);
  border-radius: 3px;
  background: var(--color-dev-kbd-bg);
  color: var(--color-white);
  font: inherit;
  font-size: var(--font-size-dev-kbd);
  line-height: var(--line-height-caption);
  text-align: center;
}

.dev-flow-shortcuts-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 var(--space-4) var(--space-4);
}

.dev-flow-shortcuts-list a {
  color: var(--color-white);
  text-decoration: none;
  padding: var(--space-1) 0;
  border-top: 1px solid var(--color-dev-divider);
}

.dev-flow-shortcuts-list a:hover,
.dev-flow-shortcuts-list a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .dev-flow-shortcuts {
    left: 8px;
    bottom: 8px;
    font-size: var(--font-size-dev-mobile);
  }
}
