@font-face {
  font-family: 'Neue Plak';
  src: url('../fonts/neue-plak.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Neue Plak Condensed';
  src: url('../fonts/neue-plak-condensed.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body {
  cursor: auto;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, 'system-ui', Roboto, 'Helvetica Neue', Helvetica, Tahoma, Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  color: #39364f;
  overflow: hidden;
  background-color: white;
}

/* General Utilities */
.divider {
  background-color: #eeedf2;
  height: 1px;
  width: 100%;
  border: 0;
  margin: 0;
  padding: 0;
}

.sr-only {
  left: -999999px;
  position: absolute;
}

/* Modal Structure */
.checkout-modal-backdrop {
  background: hsla(247, 0%, 26%, 0.8);
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh; /* Fallback for older browsers */
  height: 100dvh;
  z-index: 1999999999;
  justify-content: center;
  align-items: center;
  padding: 0;
  box-sizing: border-box;
}

.checkout-modal {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  max-width: 1080px;
  height: 100%;
  max-height: 720px;
  overflow: hidden;
}

.modal-content-wrapper {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow: hidden;
}

.modal-main-area {
  display: flex;
  flex-direction: row;
  flex-grow: 1;
  overflow: hidden;
}

.ticket-selection-area {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
}

/* Modal Header */
.modal-header {
  padding: 11px 0 0;
  text-align: center;
}

.modal-title {
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  color: #39364f;
  padding: 0 44px;
  letter-spacing: 0.25px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal-subtitle {
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  color: #6f7287;
  margin-top: 16px;
}

.header-divider {
  margin-top: 11px;
}

/* Modal Body */
.modal-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 32px 0;
}

.ticket-list-container {
  padding: 0 16px;
}

.ticket-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.ticket-card {
  width: 100%;
  margin-top: 24px;
  background: #fff;
  border: 2px solid #d4d1db;
  border-radius: 8px;
  box-sizing: border-box;
}
.ticket-card:first-child {
  margin-top: 0;
}

.ticket-card-header {
  padding: 16px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.ticket-name-section {
  display: flex;
  align-items: center;
  flex-grow: 1;
}

.ticket-radio {
  margin-right: 12px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.ticket-name {
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  color: #39364f;
  cursor: pointer;
  flex-grow: 1;
}

.sales-end-badge {
  background-color: rgb(238, 234, 251);
  align-items: center;
  border-radius: 6px;
  color: rgb(30, 10, 60);
  column-gap: 4px;
  display: flex;
  font-weight: 600;
  line-height: 12px;
  margin: 2px;
  max-height: 24px;
  padding: 4px 8px;
  font-size: 12px;
}

.badge-icon {
  display: block;
  line-height: 0;
  margin: 0;
  vertical-align: middle;
  height: 16px;
  width: 16px;
}

.badge-icon svg {
  height: 16px;
  width: 16px;
  overflow: hidden;
}

@keyframes scale-in-left {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.ticket-quantity-stepper {
  display: flex;
  align-items: center;
}

.stepper-button {
  background-color: #eeedf2;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  height: 32px;
  width: 32px;
  justify-content: center;
  align-items: center;
  transition: background-color 0.4s cubic-bezier(0.4, 0, 0.3, 1);
}
.stepper-button[disabled] {
  cursor: default;
}
.stepper-button svg {
  height: 24px;
  width: 24px;
}
.stepper-button .icon-minus path {
  fill: #a9a8b3;
}
.stepper-button .icon-plus path {
  fill: #fff;
}
.stepper-button-increase {
  background-color: #3d64ff;
}

.stepper-quantity {
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  color: #1e0a3c;
  margin: 0 16px;
}

.ticket-card-body {
  padding: 0 16px 16px;
}

.ticket-price-info {
  padding-top: 16px;
}

.ticket-price {
  font-size: 16px;
  font-weight: 600;
  color: #39364f;
}

.ticket-fees {
  font-size: 12px;
  font-weight: 400;
  color: #6f7287;
  margin-left: 2px;
}

.ticket-sales-date {
  padding-top: 4px;
  font-size: 14px;
  font-weight: 400;
  color: #39364f;
}

.ticket-description {
  padding-top: 8px;
  font-size: 14px;
  font-weight: 400;
  color: #6f7287;
  font-style: italic;
}

.program-content {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 4px;
}

.program-thumbnail {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.thumbnail-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3d64ff 0%, #5a7aff 100%);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(61, 100, 255, 0.2);
}

.audio-icon {
  width: 36px;
  height: 36px;
  fill: #ffffff;
}

.program-details {
  flex-grow: 1;
}

.program-title {
  font-size: 16px;
  font-weight: 600;
  color: #39364f;
  margin-bottom: 4px;
}

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

.program-features li {
  font-size: 14px;
  color: #39364f;
  padding: 2px 0;
  position: relative;
  padding-left: 16px;
}

.program-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #3d64ff;
  font-weight: bold;
}

.value-note {
  font-size: 12px;
  color: #6f7287;
  margin-top: 4px;
}

.ticket-option {
  cursor: pointer;
  transition: all 0.2s ease;
}

.ticket-option:hover {
  border-color: #3d64ff;
  box-shadow: 0 2px 8px rgba(61, 100, 255, 0.1);
}

.ticket-option:has(input[type="radio"]:checked) {
  border-color: #3d64ff;
  box-shadow: 0 3px 15px rgba(61, 100, 255, 0.25);
  background-color: #fafbff;
}

/* Modal Footer */
.modal-footer {
  background-color: #fff;
  border-top: 1px solid #eeedf2;
  box-shadow: 0 -18px 50px 0 rgba(255, 255, 255, 0.8);
  z-index: 8;
  padding: 16px;
}

.footer-content {
  display: flex;
  justify-content: flex-end;
}

.checkout-button {
  white-space: nowrap;
  color: #fff;
  background-color: #d1410c;
  border-color: #d1410c;
  font-weight: 600;
  height: 44px;
  letter-spacing: 0.2px;
  line-height: 24px;
  padding: 0 30px 1px;
  text-align: center;
  border: 2px solid;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.3, 1);
  width: 100%;
}

.checkout-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #d1410c;
  border-color: #d1410c;
}

/* Order Summary Sidebar */
.order-summary-sidebar {
  display: none; /* Hidden on mobile */
  width: 360px;
  border-left: 1px solid #eeedf2;
  background-color: #f8f7fa;
  flex-shrink: 0;
}

.order-summary-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.order-summary-image-container {
  position: relative;
  width: 100%;
}

.order-summary-image {
  position: absolute;
  height: auto;
  max-width: 100%;
  border: 0;
}

.order-summary-image-placeholder {
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
}

.empty-cart-message {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px;
  margin: auto;
}

.empty-cart-icon svg {
  height: 48px;
  width: 48px;
}
.empty-cart-icon path {
  fill: #dbdbe3;
}

/* Close Button */
.close-modal-button {
  position: absolute;
  right: 4px;
  top: 4px;
  z-index: 10;
  background-color: rgba(248, 247, 250, 0.65);
  border-radius: 40px;
  height: 40px;
  width: 40px;
  border: 0;
  cursor: pointer;
  padding: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.3, 1);
}
.close-modal-button svg {
  width: 24px;
  height: 24px;
}

/* Mobile Styles */
@media (max-width: 1023px) {
  .checkout-modal-backdrop {
    align-items: stretch;
    justify-content: stretch;
  }
  .checkout-modal {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
  }
  .program-modal-backdrop {
    align-items: stretch;
    justify-content: stretch;
  }
  .program-modal {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
  }
}

/* Desktop Styles */
@media (min-width: 1024px) {
  .checkout-modal-backdrop {
    padding: 16px 0;
  }
  .checkout-modal {
    width: 95%;
  }
  .checkout-modal {
    flex-direction: row;
  }
  .ticket-selection-area {
    width: calc(100% - 360px);
  }
  .order-summary-sidebar {
    display: block;
  }
  .ticket-list-container {
    margin: 0 auto;
    padding: 0 24px;
    max-width: 580px;
  }
  .modal-footer {
    padding: 16px 40px;
  }
  .footer-content {
    max-width: 580px;
    margin: 0 auto;
  }
  .checkout-button {
    width: auto;
  }
  .program-modal-backdrop {
    padding: 16px;
  }
  .program-modal {
    width: 95%;
  }
}

/* Info Tooltip */
.ticket-name {
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-tooltip {
  background: none;
  border: none;
  color: #6f7287;
  cursor: pointer;
  padding: 0;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.info-tooltip:hover {
  color: #3d64ff;
  background-color: rgba(61, 100, 255, 0.1);
}

.info-tooltip svg {
  width: 16px;
  height: 16px;
}

/* Program Modal */
.program-modal-backdrop {
  background: rgba(57, 54, 79, 0.8);
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 2000000000;
  justify-content: center;
  align-items: center;
  padding: 0;
  box-sizing: border-box;
}

.program-modal {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 100%;
  max-height: 600px;
  overflow: hidden;
}

.program-modal-header {
  padding: 16px 0 0;
  text-align: center;
  flex-shrink: 0;
}

.program-modal-title {
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  color: #39364f;
  padding: 0 44px;
  letter-spacing: 0.25px;
  margin: 0;
}

.program-modal-subtitle {
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  color: #6f7287;
  margin: 16px 0 11px 0;
}

.program-modal-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 32px 16px;
}

.weekly-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.week-item {
  padding: 16px;
  background: #fff;
  border: 1px solid #eeedf2;
  border-radius: 8px;
}

.week-number {
  font-size: 12px;
  font-weight: 600;
  color: #6f7287;
  margin-bottom: 8px;
}

.week-title {
  font-size: 16px;
  font-weight: 600;
  color: #39364f;
  margin-bottom: 8px;
}

.week-description {
  font-size: 14px;
  color: #6f7287;
  line-height: 20px;
}

.program-modal-footer {
  background-color: #fff;
  border-top: 1px solid #eeedf2;
  padding: 16px;
  flex-shrink: 0;
}

.close-program-modal-button {
  white-space: nowrap;
  color: #fff;
  background-color: #d1410c;
  border-color: #d1410c;
  font-weight: 600;
  height: 44px;
  letter-spacing: 0.2px;
  line-height: 24px;
  padding: 0 30px 1px;
  text-align: center;
  border: 2px solid;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.3, 1);
  width: 100%;
}

.close-program-modal-x {
  position: absolute;
  right: 4px;
  top: 4px;
  z-index: 10;
  background-color: rgba(248, 247, 250, 0.65);
  border-radius: 40px;
  height: 40px;
  width: 40px;
  border: 0;
  cursor: pointer;
  padding: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.3, 1);
}

.close-program-modal-x svg {
  width: 24px;
  height: 24px;
}


/* Upsell Modal - Clean Setup Flow Style */
.upsell-modal-backdrop {
  background: rgba(57, 54, 79, 0.8);
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 3000000000;
  justify-content: center;
  align-items: center;
  padding: 16px;
  box-sizing: border-box;
  overflow-y: auto;
}

.upsell-modal {
  background-color: #fff;
  border-radius: 8px;
  max-width: 480px;
  width: 100%;
  padding: 32px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  margin: auto;
  max-height: 90vh;
  overflow-y: auto;
}

.upsell-header {
  margin-bottom: 20px;
}

.upsell-title {
  font-size: 20px;
  font-weight: 600;
  color: #39364f;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.upsell-subtitle {
  font-size: 18px;
  color: #6f7287;
  margin: 0;
  line-height: 1.4;
}

.upsell-content {
  margin-bottom: 24px;
}

.program-image {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 8px;
}

.upsell-footer {
  margin-top: auto;
}

.learn-more-btn {
  white-space: nowrap;
  color: #fff;
  background-color: #d1410c;
  border-color: #d1410c;
  font-weight: 600;
  height: 44px;
  letter-spacing: 0.2px;
  line-height: 24px;
  padding: 0 30px 1px;
  text-align: center;
  border: 2px solid;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.3, 1);
  width: 100%;
}

.learn-more-btn:hover {
  background-color: #b8390b;
  border-color: #b8390b;
}

.disclaimer {
  font-size: 14px;
  color: #6f7287;
  margin: 12px 0 0 0;
  line-height: 1.3;
}

.close-upsell-modal {
  position: absolute;
  right: 4px;
  top: 4px;
  z-index: 10;
  background-color: rgba(248, 247, 250, 0.65);
  border-radius: 40px;
  height: 40px;
  width: 40px;
  border: 0;
  cursor: pointer;
  padding: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.3, 1);
}

.close-upsell-modal svg {
  width: 24px;
  height: 24px;
}

/* Mobile responsive */
@media (max-width: 1023px) {
  .upsell-modal-backdrop {
    align-items: flex-start;
    justify-content: center;
    padding: 16px;
  }
  
  .upsell-modal {
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: 8px;
    padding: 28px;
    margin-top: 20px;
  }
  
  .upsell-header {
    margin-bottom: 20px;
  }
  
  .upsell-title {
    font-size: 18px;
  }
  
  .upsell-subtitle {
    font-size: 16px;
  }
  
  .upsell-content {
    margin-bottom: 20px;
  }
  
  .program-image {
    max-width: 220px;
  }
}

@media (max-height: 600px) {
  .upsell-modal {
    max-height: 80vh;
    margin-top: 10px;
  }
  
  .upsell-title {
    font-size: 16px;
  }
  
  .program-image {
    max-width: 150px;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}