/* ═══════════════════════════════════════════════════════════
   STUBMATIC TICKET FLOW — STYLESHEET
   ═══════════════════════════════════════════════════════════ */

/* ─── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

.tf-body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--page-bg);
  color: #1a1a1a;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

.tf-hidden { display: none !important; }

.tf-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.tf-layout {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  position: relative;
}

.tf-main {
  flex: 1;
  min-width: 0;
}

.tf-sidebar {
  width: 370px;
  flex-shrink: 0;
  position: sticky;
  top: 24px;
  margin-top: -70px;
}

.tf-link {
  color: var(--link-color);
  text-decoration: none;
  font-weight: 500;
}

.tf-link:hover { text-decoration: underline; }

/* ─── Flash Notices ────────────────────────────────────── */
.tf-flash-notice {
  background: #fef3c7;
  border-bottom: 1px solid #fcd34d;
  color: #92400e;
  padding: 12px 24px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}

/* ═══ HERO ═════════════════════════════════════════════════ */
.tf-hero {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.tf-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tf-hero-placeholder {
  background: linear-gradient(135deg, #374151, #1f2937);
}

.tf-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.3) 100%);
}

.tf-hero-top {
  position: absolute;
  top: 20px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tf-hero-brand-text {
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.tf-hero-logo {
  max-height: 48px;
  width: auto;
}

.tf-hero-actions {
  display: flex;
  gap: 8px;
}

.tf-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.tf-icon-btn:hover { background: rgba(255,255,255,0.25); }

/* Share control sits in the hero's bottom-right, clear of the top-left logo. */
.tf-hero-share {
  position: absolute;
  bottom: 24px;
  right: 24px;
}

.tf-hero-bottom {
  position: absolute;
  bottom: 28px;
  left: 24px;
  right: 24px;
}

.tf-hero-title {
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.tf-badge-cancelled,
.tf-badge-soldout,
.tf-badge-unavailable {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 8px;
  margin-left: 10px;
  vertical-align: middle;
}

.tf-badge-cancelled { background: #dc2626; color: #fff; }
.tf-badge-soldout { background: #f59e0b; color: #fff; }
.tf-badge-unavailable { background: rgba(255,255,255,0.2); color: #fff; }

/* ═══ INFO BAR ═════════════════════════════════════════════ */
.tf-info-bar {
  display: flex;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid #e8e6e1;
  flex-wrap: wrap;
}

.tf-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tf-info-icon { color: var(--accent-color); flex-shrink: 0; display: flex; }
.tf-info-label { font-weight: 600; font-size: 14px; color: #1a1a1a; }
.tf-info-sub { font-size: 13px; color: #6b7280; }

/* ═══ SECTIONS ═════════════════════════════════════════════ */
.tf-section { padding: 28px 0; }
.tf-section-bordered { border-top: 1px solid #e8e6e1; }
.tf-section-title {
  font-size: 21px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.tf-description {
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
}

.tf-description p { margin: 0 0 12px; }

/* ─── Location ─────────────────────────────────────────── */
.tf-location-info {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.tf-location-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  flex-shrink: 0;
}

.tf-location-name { font-weight: 600; font-size: 15px; color: #1a1a1a; margin-bottom: 3px; }
.tf-location-address { font-size: 14px; color: #6b7280; line-height: 1.5; }

.tf-map { margin-top: 16px; }

.tf-contact-line {
  margin-top: 20px;
  font-size: 13px;
  color: #9ca3af;
}

/* ═══ TICKET CARD ══════════════════════════════════════════ */
.tf-ticket-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e8e6e1;
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  overflow: hidden;
}

.tf-ticket-header {
  padding: 20px 22px 14px;
  border-bottom: 1px solid #f3f2ef;
}

.tf-ticket-header-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.tf-ticket-icon { color: var(--accent-color); display: flex; }

.tf-ticket-heading {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.tf-ticket-subheading {
  font-size: 13px;
  color: #9ca3af;
}

/* ─── Ticket Rows ──────────────────────────────────────── */
.tf-ticket-list { padding: 6px 0; }

.tf-ticket-row {
  padding: 14px 22px;
  border-bottom: 1px solid #f8f7f5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.tf-ticket-info { flex: 1; }
.tf-ticket-name { font-weight: 600; font-size: 15px; color: #1a1a1a; }

.tf-ticket-price {
  font-size: 14px;
  color: #6b7280;
  margin-top: 2px;
}

.tf-ticket-fee {
  font-size: 12px;
  color: #9ca3af;
  margin-left: 6px;
}

.tf-ticket-urgency {
  font-size: 12px;
  color: #dc2626;
  font-weight: 500;
  margin-top: 3px;
}

.tf-ticket-unavailable {
  font-size: 13px;
  color: #9ca3af;
  font-weight: 500;
}

/* ─── Quantity Control ─────────────────────────────────── */
.tf-qty-control {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.tf-qty-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s;
}

.tf-qty-btn:hover { background: #f9fafb; border-color: #d1d5db; }
.tf-qty-btn:disabled { opacity: 0.3; cursor: default; }
.tf-qty-btn:disabled:hover { background: #fff; border-color: #e5e7eb; }

.tf-qty-minus { border-radius: 8px 0 0 8px; }
.tf-qty-plus { border-radius: 0 8px 8px 0; }

.tf-qty-input {
  width: 44px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  color: #1a1a1a;
  background: #f9fafb;
  border: none;
  border-top: 1.5px solid #e5e7eb;
  border-bottom: 1.5px solid #e5e7eb;
  -moz-appearance: textfield;
}

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

/* ─── Booking Fee Note ─────────────────────────────────── */
.tf-order-fee-note {
  padding: 10px 22px;
  font-size: 13px;
  color: #6b7280;
  border-bottom: 1px solid #f8f7f5;
}

/* ─── Live Summary ─────────────────────────────────────── */
.tf-summary {
  padding: 18px 22px 0;
  transition: all 0.3s;
}

.tf-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 4px;
}

.tf-summary-fees {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 8px;
}

.tf-summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  padding-top: 8px;
  border-top: 1px solid #e8e6e1;
}

/* ─── Customer Details Section ─────────────────────────── */
.tf-details-section {
  padding: 16px 22px 0;
  border-top: 1px solid #f3f2ef;
}

.tf-details-heading {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 2px;
}

.tf-details-sub {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 16px;
}

/* ─── Forms ────────────────────────────────────────────── */
.tf-form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 0;
}

.tf-form-row .tf-form-group { flex: 1; }

.tf-form-group { margin-bottom: 16px; }

.tf-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 5px;
}

.tf-optional {
  font-weight: 400;
  color: #9ca3af;
}

.tf-input {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1.5px solid #e5e7eb;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  color: #1a1a1a;
  outline: none;
  transition: border-color 0.15s;
  background: #fff;
}

.tf-input:focus { border-color: var(--accent-color); box-shadow: 0 0 0 2px var(--accent-light); }

.tf-textarea { resize: vertical; min-height: 80px; }

.tf-checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.tf-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-color);
}

.tf-checkbox-label {
  font-size: 14px;
  color: #374151;
  cursor: pointer;
}

.tf-radio-group { display: flex; gap: 16px; margin-top: 6px; }
.tf-radio-label { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #374151; cursor: pointer; }
.tf-radio { accent-color: var(--accent-color); }

.tf-subscription-message {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 12px;
}

/* ─── Checkout Button ──────────────────────────────────── */
.tf-checkout-btn-wrap {
  padding: 18px 22px 22px;
}

.tf-checkout-btn {
  width: 100%;
  padding: 14px 0;
  border-radius: 12px;
  border: none;
  font-size: 16px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--accent-color);
  color: var(--accent-text);
  box-shadow: 0 4px 14px var(--accent-shadow);
}

.tf-checkout-btn:hover { background: var(--accent-hover); }

.tf-checkout-btn-disabled {
  background: #e5e7eb !important;
  color: #9ca3af !important;
  cursor: default !important;
  box-shadow: none !important;
}

.tf-checkout-btn-disabled:hover { background: #e5e7eb !important; }

/* ═══ CHECKOUT PAGE ════════════════════════════════════════ */
.tf-checkout-bar {
  background: #fff;
  border-bottom: 1px solid #e8e6e1;
  padding: 12px 24px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.tf-checkout-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tf-back-link {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
  padding: 0;
}

.tf-back-link:hover { color: #1a1a1a; }

.tf-secure-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #9ca3af;
  font-size: 13px;
}

/* ─── Progress Steps ───────────────────────────────────── */
.tf-progress {
  display: flex;
  align-items: center;
  padding: 24px 0;
  margin-bottom: 8px;
}

.tf-step {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tf-step-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  background: #e5e7eb;
  color: #9ca3af;
  transition: all 0.3s;
}

.tf-step-active .tf-step-circle { background: var(--accent-color); color: var(--accent-text); }
.tf-step-complete .tf-step-circle { background: var(--accent-color); color: var(--accent-text); }

.tf-step-label {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
}

.tf-step-active .tf-step-label { font-weight: 700; color: #1a1a1a; }

.tf-step-line {
  flex: 1;
  height: 2px;
  background: #e5e7eb;
  margin: 0 12px;
  transition: background 0.3s;
}

.tf-step-line-active { background: var(--accent-color); }

/* ─── Page Titles ──────────────────────────────────────── */
.tf-page-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--page-text);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.tf-page-sub {
  font-size: 14px;
  color: var(--page-text-muted);
  margin: 0 0 24px;
}

/* ─── Primary Button ───────────────────────────────────── */
.tf-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  font-size: 16px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  background: var(--accent-color);
  color: var(--accent-text);
  cursor: pointer;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 14px var(--accent-shadow);
  transition: all 0.2s;
  text-decoration: none;
}

.tf-btn-primary:hover { background: var(--accent-hover); color: var(--accent-text); }

.tf-btn-full { width: 100%; }

.tf-btn-secondary {
  display: inline-block;
  background: #ffffff;
  color: #374151;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s, border-color 0.15s;
}
.tf-btn-secondary:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
}

/* ─── Payment Tabs ─────────────────────────────────────── */
.tf-payment-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.tf-pay-tab {
  flex: 1;
  padding: 14px;
  border-radius: 12px;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #6b7280;
}

.tf-pay-tab:hover { border-color: #d1d5db; }

.tf-pay-tab-active {
  border-color: var(--accent-color);
  background: var(--accent-light);
  box-shadow: 0 0 0 1px var(--accent-color);
  color: #1a1a1a;
}

.tf-paypal-text em {
  font-style: italic;
  font-weight: 700;
  font-size: 16px;
}

.tf-paypal-text em:first-child { color: #003087; }
.tf-paypal-text em:last-child { color: #0070ba; }

.tf-payment-panel { margin-bottom: 20px; }

.tf-secure-note {
  text-align: center;
  margin-top: 16px;
  font-size: 12px;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* ═══ ORDER SUMMARY (Checkout Sidebar) ═════════════════════ */
.tf-order-summary {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e8e6e1;
  overflow: hidden;
}

.tf-summary-hero {
  height: 120px;
  overflow: hidden;
  position: relative;
}

.tf-summary-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tf-summary-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.tf-summary-hero-text {
  position: absolute;
  bottom: 12px;
  left: 16px;
  right: 16px;
}

.tf-summary-event-name { color: #fff; font-size: 15px; font-weight: 700; }
.tf-summary-event-date { color: rgba(255,255,255,0.8); font-size: 12px; }

.tf-summary-body { padding: 18px; }
.tf-summary-heading { font-size: 14px; font-weight: 700; color: #1a1a1a; margin: 0 0 12px; }

.tf-summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 8px;
}

.tf-summary-item-name { color: #374151; font-weight: 500; }
.tf-summary-item-price { font-weight: 600; color: #1a1a1a; }

.tf-summary-breakdown {
  border-top: 1px solid #f3f2ef;
  padding-top: 10px;
  margin-top: 4px;
}

.tf-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 6px;
}

.tf-summary-total-line {
  display: flex;
  justify-content: space-between;
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  padding-top: 10px;
  border-top: 1px solid #e8e6e1;
}

/* ═══ CONFIRMATION PAGE ════════════════════════════════════ */
.tf-confirmation {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}

.tf-confirmation-inner {
  max-width: 500px;
  width: 100%;
  text-align: center;
}

.tf-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #059669;
}

.tf-confirmation-title {
  font-size: 26px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 6px;
  letter-spacing: -0.03em;
}

.tf-confirmation-sub {
  font-size: 15px;
  color: #6b7280;
  margin: 0 0 28px;
}

.tf-confirmation-sub strong { color: #1a1a1a; }

.tf-confirmation-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e8e6e1;
  overflow: hidden;
  text-align: left;
}

.tf-confirmation-hero {
  height: 110px;
  overflow: hidden;
  position: relative;
}

.tf-confirmation-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tf-confirmation-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.tf-confirmation-hero-text {
  position: absolute;
  bottom: 12px;
  left: 16px;
}

.tf-confirmation-event-name { color: #fff; font-size: 17px; font-weight: 700; }

.tf-confirmation-body { padding: 22px; }

.tf-confirmation-details {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}

.tf-confirmation-detail {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #374151;
}

.tf-detail-icon { color: var(--accent-color); display: flex; }

.tf-confirmation-venue {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #374151;
  margin-bottom: 16px;
}

.tf-booking-code {
  background: var(--accent-light);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tf-booking-code-label { font-size: 13px; color: #6b7280; font-weight: 500; }
.tf-booking-code-value { font-size: 18px; font-weight: 800; color: var(--accent-color); letter-spacing: 0.05em; }

.tf-confirmation-items {
  border-top: 1px solid #f3f2ef;
  padding-top: 14px;
}

.tf-confirmation-item {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 6px;
  color: #374151;
}

.tf-confirmation-item-price { font-weight: 600; color: #1a1a1a; }
.tf-confirmation-fee { color: #6b7280; }

.tf-confirmation-total {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  padding-top: 10px;
  border-top: 1px solid #e8e6e1;
  margin-top: 6px;
}

.tf-billed-to {
  border-top: 1px solid #f3f2ef;
  padding-top: 14px;
  margin-top: 14px;
  font-size: 14px;
  color: #374151;
}

.tf-billed-label { font-size: 12px; color: #9ca3af; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }

.tf-confirmation-actions {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.tf-confirmation-notes {
  margin-top: 28px;
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.6;
  text-align: left;
  background: #faf9f7;
  border-radius: 12px;
  padding: 16px 18px;
}

.tf-confirmation-notes p { margin: 0 0 8px; }
.tf-confirmation-notes p:last-child { margin: 0; }
.tf-confirmation-notes strong { color: #374151; }

.tf-confirmation-brand {
  margin-top: 28px;
  font-size: 12px;
  color: #9ca3af;
}

.tf-confirmation-brand a { color: #6b7280; font-weight: 700; text-decoration: none; }

/* ═══ FOOTER ═══════════════════════════════════════════════ */
.tf-footer {
  padding: 32px 24px;
  text-align: center;
  border-top: 1px solid #e8e6e1;
  margin-top: 40px;
}

.tf-footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.tf-footer-links a {
  font-size: 13px;
  color: #6b7280;
  text-decoration: none;
}

.tf-footer-links a:hover { color: var(--link-color); }

.tf-footer-brand {
  font-size: 12px;
  color: #9ca3af;
}

.tf-footer-brand a { color: #6b7280; font-weight: 600; text-decoration: none; }

/* ═══ MOBILE STICKY BAR ═══════════════════════════════════ */
.tf-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #e8e6e1;
  padding: 12px 20px;
  z-index: 100;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  justify-content: space-between;
  align-items: center;
}

.tf-mobile-bar-info { display: flex; flex-direction: column; }
.tf-mobile-bar-total { font-size: 16px; font-weight: 700; color: #1a1a1a; }
.tf-mobile-bar-count { font-size: 12px; color: #6b7280; }

.tf-mobile-bar-btn {
  padding: 12px 28px;
  border-radius: 12px;
  background: var(--accent-color);
  color: var(--accent-text);
  font-size: 15px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

/* ═══ EMBED-SPECIFIC STYLES ════════════════════════════════ */
.tf-embed-body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #fff;
  margin: 0;
  padding: 0;
}

.tf-embed-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.tf-embed-header {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid #f3f2ef;
  align-items: center;
}

.tf-embed-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
}

.tf-embed-event-name { font-weight: 700; font-size: 16px; color: #1a1a1a; }

.tf-embed-event-meta {
  font-size: 13px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.tf-embed-footer {
  padding: 14px 18px;
  background: #faf9f7;
  border-top: 1px solid #f3f2ef;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tf-embed-total { font-size: 16px; font-weight: 700; color: #1a1a1a; }
.tf-embed-count { font-size: 12px; color: #6b7280; }

.tf-embed-brand {
  padding: 8px 18px 12px;
  text-align: center;
  font-size: 11px;
  color: #9ca3af;
}

.tf-embed-brand strong { color: #6b7280; }

/* ═══ RESPONSIVE ═══════════════════════════════════════════ */
@media (max-width: 991px) {
  .tf-layout {
    flex-direction: column;
  }

  .tf-sidebar {
    width: 100%;
    position: static;
    margin-top: 0;
    order: -1;
  }

  .tf-hero { height: 280px; }
  .tf-hero-title { font-size: 26px; }

  .tf-mobile-bar { display: flex; }

  .tf-checkout-btn-wrap { padding-bottom: 80px; }
}

@media (max-width: 640px) {
  .tf-hero { height: 220px; }
  .tf-hero-title { font-size: 22px; }
  .tf-info-bar { gap: 16px; }
  .tf-form-row { flex-direction: column; gap: 0; }
  .tf-confirmation-actions { flex-direction: column; }
  .tf-confirmation-actions .tf-btn-secondary,
  .tf-confirmation-actions .tf-btn-primary { width: 100%; justify-content: center; }
}

/* ═══ PRINT STYLES ═════════════════════════════════════════ */
@media print {
  .tf-footer, .tf-mobile-bar, .tf-confirmation-actions,
  .tf-confirmation-brand, .tf-checkout-bar { display: none !important; }
  .tf-confirmation { min-height: auto; padding: 0; }
  .tf-confirmation-card { border: 1px solid #ccc; }
}
/* ═══════════════════════════════════════════
   SINGLE-PAGE CARD FLOW - Additional Styles
   Append this to public/stylesheets/ticket-flow.css
   ═══════════════════════════════════════════ */

/* Card back button */
.tf-card-back-btn {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #6b7280;
  display: flex;
  align-items: center;
  border-radius: 6px;
  transition: all 0.15s;
}
.tf-card-back-btn:hover {
  background: #f3f4f6;
  color: #374151;
}

/* Card form area */
.tf-card-form {
  padding: 0 22px 22px;
}

/* Card errors */
.tf-card-errors {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 14px;
}

/* Payment tabs */
.tf-payment-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.tf-pay-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  transition: all 0.15s;
}
.tf-pay-tab:hover {
  border-color: #d1d5db;
}
.tf-pay-tab-active {
  border-color: var(--tf-accent, #6366f1);
  color: var(--tf-accent, #6366f1);
  background: #f0f0ff;
}

/* Payment panel */
.tf-payment-panel {
  margin-bottom: 16px;
}

/* Stripe Elements styling */
.tf-stripe-element {
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
  transition: border-color 0.15s;
}
.tf-stripe-element:focus-within,
.tf-stripe-element.StripeElement--focus {
  border-color: var(--tf-accent, #6366f1);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}
.tf-stripe-element.StripeElement--invalid {
  border-color: #dc2626;
}

/* PayPal text */
.tf-paypal-text em:first-child {
  font-style: italic;
  color: #003087;
  font-weight: 700;
}
.tf-paypal-text em:last-child {
  font-style: italic;
  color: #009cde;
  font-weight: 700;
}

/* Secure note */
.tf-secure-note {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  font-size: 12px;
  color: #9ca3af;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f3f4f6;
}

/* Confirmation */
.tf-card-confirmation {
  text-align: center;
}
.tf-confirmation-title {
  font-family: 'Fraunces', serif;
  color: #1a1a1a;
  margin: 0 0 4px;
}
.tf-confirmation-sub {
  color: #6b7280;
  margin: 0 0 8px;
}
.tf-confirmation-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid #f3f4f6;
  font-size: 14px;
  color: #374151;
}
.tf-confirmation-item-price {
  font-weight: 600;
}

/* Booking code */
.tf-booking-code {
  background: #f0f0ff;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}
.tf-booking-code-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6b7280;
  margin-bottom: 4px;
}
.tf-booking-code-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--tf-accent, #6366f1);
  letter-spacing: 1px;
}

/* Success icon */
.tf-success-icon {
  background: #ecfdf5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #059669;
}

/* Secondary button */
.tf-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
}
.tf-btn-secondary:hover {
  border-color: #9ca3af;
  background: #f9fafb;
}

/* Billed to */
.tf-billed-to {
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
  font-size: 14px;
}
.tf-billed-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #9ca3af;
  margin-bottom: 4px;
}

/* Order fee note */
.tf-order-fee-note {
  padding: 8px 22px;
  font-size: 12px;
  color: #6b7280;
  font-style: italic;
}

/* Textarea */
.tf-textarea {
  resize: vertical;
  min-height: 60px;
}

/* Optional label */
.tf-optional {
  font-weight: 400;
  color: #9ca3af;
}

/* Hidden utility */
.tf-hidden {
  display: none !important;
}

/* Wider ticket card */
.tf-sidebar {
  min-width: 420px;
  max-width: 440px;
}
.tf-ticket-card {
  min-width: 100%;
}
@media (max-width: 991px) {
  .tf-sidebar {
    min-width: 100%;
    max-width: 100%;
  }
}

/* Even wider ticket card */
.tf-sidebar {
  min-width: 500px;
  max-width: 520px;
}
.tf-ticket-card {
  padding-bottom: 8px;
}
.tf-ticket-header {
  padding: 24px 26px 16px;
}
.tf-ticket-list {
  padding: 0 26px;
}
.tf-card-form {
  padding: 0 26px 26px;
}
.tf-checkout-btn-wrap {
  padding: 12px 26px 16px;
}

/* ═══════════════════════════════════════════════
   EVENT PAGE REDESIGN
   Single column, modal checkout, sticky bars, map
   ═══════════════════════════════════════════════ */

/* ─── Overlapping Content Card ─────────────────── */
.tf-card-wrapper {
  position: relative;
  margin-top: -60px;
  z-index: 10;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
}

.tf-content-card {
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -4px 32px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* Hero title raised to clear the card overlap */
.tf-hero-bottom-raised {
  bottom: 100px;
}

/* Card internal padding for sections */
.tf-content-card .tf-info-bar {
  padding: 26px 32px;
  border-bottom: 1px solid #f0eeea;
}

.tf-content-card .tf-section {
  padding: 28px 32px;
}

.tf-content-card .tf-section-bordered {
  border-bottom: 1px solid #f0eeea;
}

/* ─── Hero Height (taller to accommodate raised title + overlap) ── */
.tf-hero {
  height: 440px;
}

/* ─── Section Header with Icon ─────────────────── */
.tf-section-header-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.tf-section-icon {
  color: var(--accent-color, #6366f1);
  display: flex;
}

/* ─── Ticket Preview Card (read-only) ──────────── */
.tf-preview-card {
  background: #faf9f7;
  border-radius: 14px;
  border: 1px solid #e8e6e1;
  padding: 2px 20px;
  margin-bottom: 18px;
}

.tf-preview-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f3f2ef;
}

.tf-preview-row:last-child {
  border-bottom: none;
}

.tf-preview-name {
  font-weight: 600;
  font-size: 15px;
  color: #1a1a1a;
}

.tf-preview-price {
  font-size: 14px;
  color: #6b7280;
  margin-top: 1px;
}

.tf-preview-fee {
  font-size: 12px;
  color: #9ca3af;
  margin-left: 6px;
}

.tf-preview-status {
  text-align: right;
  flex-shrink: 0;
}

.tf-status-soldout {
  font-size: 13px;
  font-weight: 600;
  color: #dc2626;
}

.tf-status-waiting {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-color, #6366f1);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tf-status-upcoming {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-color, #6366f1);
}

.tf-status-ended {
  font-size: 13px;
  font-weight: 500;
  color: #9ca3af;
}

.tf-status-low {
  font-size: 12px;
  font-weight: 600;
  color: #dc2626;
}

.tf-status-available {
  font-size: 13px;
  font-weight: 500;
  color: #059669;
}

/* ─── Get Tickets CTA Button ───────────────────── */
.tf-get-tickets-btn {
  width: 100%;
  padding: 16px 0;
  border-radius: 14px;
  border: none;
  font-size: 17px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: -0.01em;
  background: var(--accent-color, #6366f1);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--accent-shadow, rgba(99,102,241,0.25));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
}

.tf-get-tickets-btn:hover {
  background: var(--accent-hover, #4f46e5);
}

/* ─── Badge Pills (in modal ticket rows) ───────── */
.tf-badge-pill {
  margin-top: 6px;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tf-badge-pill-red {
  background: #fef2f2;
  color: #dc2626;
}

.tf-badge-pill-indigo {
  background: var(--accent-light, #eef2ff);
  color: #4f46e5;
}

/* ─── Sticky Top Bar ───────────────────────────── */
.tf-sticky-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e8e6e1;
  padding: 10px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

.tf-sticky-top-visible {
  transform: translateY(0);
}

.tf-sticky-top-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tf-sticky-top-name {
  font-weight: 700;
  font-size: 15px;
  color: #1a1a1a;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 400px;
}

.tf-sticky-top-meta {
  font-size: 13px;
  color: #6b7280;
}

.tf-sticky-top-btn {
  padding: 10px 22px;
  border-radius: 10px;
  border: none;
  font-size: 14px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  background: var(--accent-color, #6366f1);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--accent-shadow, rgba(99,102,241,0.25));
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.tf-sticky-top-btn:hover {
  background: var(--accent-hover, #4f46e5);
}

/* ─── Modal ────────────────────────────────────── */
.tf-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: background 0.3s;
}

.tf-modal-overlay.tf-modal-open {
  background: rgba(0, 0, 0, 0.5);
}

.tf-modal-sheet {
  background: #fff;
  border-radius: 20px;
  width: 480px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 16px 64px rgba(0,0,0,0.2);
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.tf-modal-open .tf-modal-sheet {
  opacity: 1;
  transform: scale(1);
}

.tf-modal-handle {
  display: none;
}

.tf-modal-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid #f3f2ef;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.tf-modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.2;
}

.tf-modal-meta {
  font-size: 13px;
  color: #9ca3af;
  margin-top: 2px;
}

.tf-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #9ca3af;
  border-radius: 8px;
  flex-shrink: 0;
}

.tf-modal-close:hover {
  background: #f3f4f6;
  color: #374151;
}

.tf-modal-tickets {
  max-height: 50vh;
  overflow-y: auto;
}

.tf-modal-footer {
  padding: 16px 24px 24px;
}

.tf-modal-body {
  padding: 20px 24px 24px;
}

/* ─── Venue Map ────────────────────────────────── */
.tf-map-container {
  margin-top: 16px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e8e6e1;
  height: 200px;
  background: #f3f2ef;
  position: relative;
}

.tf-map-container .leaflet-container {
  height: 100%;
  width: 100%;
  border-radius: 16px;
  font-family: 'DM Sans', sans-serif;
}

.tf-map-container .leaflet-popup-content-wrapper {
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  padding: 0;
}

.tf-map-container .leaflet-popup-content {
  margin: 10px 14px;
  line-height: 1.5;
}

.tf-map-container .leaflet-popup-tip {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.tf-map-marker {
  background: none !important;
  border: none !important;
}

.tf-map-marker-pin {
  width: 32px;
  height: 32px;
  border-radius: 50% 50% 50% 0;
  background: var(--accent-color, #6366f1);
  transform: rotate(-45deg);
  position: relative;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.tf-map-marker-pin::after {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.tf-map-marker-shadow {
  width: 20px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0,0,0,0.1);
  margin: 4px auto 0;
}

.tf-map-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #9ca3af;
  font-size: 13px;
}

.tf-map-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 100%;
  color: #9ca3af;
  font-size: 14px;
  background: linear-gradient(135deg, #f3f2ef 0%, #e8e6e1 100%);
}

.tf-map-buttons {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.tf-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  font-size: 13px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  color: #374151;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}

.tf-map-btn:hover {
  border-color: #d1d5db;
  background: #f9fafb;
  color: #374151;
}

/* ─── Mobile Responsive ────────────────────────── */
@media (max-width: 991px) {
  /* Modal becomes bottom sheet on mobile */
  .tf-modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .tf-modal-sheet {
    width: 100%;
    max-height: 94vh;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
    opacity: 1;
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  }

  .tf-modal-open .tf-modal-sheet {
    transform: translateY(0);
  }

  .tf-modal-handle {
    display: flex;
    justify-content: center;
    padding: 10px 0 2px;
  }

  .tf-modal-handle-bar {
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: #d1d5db;
  }

  /* Show mobile bar */
  .tf-mobile-bar {
    display: flex;
  }

  /* Hide sticky top bar on mobile — use bottom bar instead */
  .tf-sticky-top {
    display: none;
  }

  /* Extra padding to clear bottom bar */
  .tf-footer {
    padding-bottom: 80px;
  }

  .tf-hero { height: 280px; }
  .tf-hero-title { font-size: 26px; }
  .tf-hero-bottom-raised { bottom: 80px; }

  .tf-card-wrapper { padding: 0 8px; }
  .tf-content-card .tf-info-bar { padding: 22px 20px; }
  .tf-content-card .tf-section { padding: 24px 20px; }

  .tf-map-buttons {
    flex-wrap: wrap;
  }

  /* Hide modal when mobile bar should show */
  .tf-modal-overlay ~ .tf-mobile-bar {
    display: flex;
  }
}

@media (max-width: 640px) {
  .tf-hero { height: 240px; }
  .tf-hero-title { font-size: 22px; }
  .tf-hero-bottom-raised { bottom: 70px; }
  .tf-info-bar { gap: 16px; }
  .tf-form-row { flex-direction: column; gap: 0; }

  .tf-map-container {
    height: 160px;
    border-radius: 12px;
  }

  .tf-sticky-top-name {
    max-width: 200px;
  }
}

/* ═══ ON-PAGE TICKET SELECTION (hosted event page only) ═══════
   Quantity is chosen on the event page rather than inside the modal. These
   rules are scoped under .tf-ticket-list, which exists only on the hosted
   page, so the shared .tf-ticket-row and .tf-qty-* rules above are left alone
   and the embed widget, which reuses them with a div rather than an input, is
   not disturbed. */
.tf-ticket-list .tf-ticket-row {
  padding: 14px 0;
  border-bottom-color: #f3f2ef;
}

.tf-ticket-list > .tf-ticket-row:last-child,
.tf-ticket-list > .tf-addon-group:last-child .tf-ticket-row {
  border-bottom: none;
}

.tf-summary-onpage {
  padding: 18px 0 16px;
}

.tf-order-fee-note-onpage {
  padding: 10px 0 0;
  border-bottom: none;
}

/* ═══ PERSISTENT ORDER SUMMARY (hosted event page modal) ═════
   Carried across the details, attendee and payment steps so the buyer can
   always see what they are buying. A fresh class family on purpose: the older
   .tf-summary-* family is also used by checkouts/new.html.erb, which is out of
   scope, and nothing here is shared with the embed. */
.tf-order-summary {
  background: #faf9f7;
  border: 1px solid #e8e6e1;
  border-radius: 12px;
  margin-bottom: 18px;
  overflow: hidden;
}

.tf-order-summary-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px 0 14px;
}

.tf-order-summary-toggle {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 13px 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  text-align: left;
}

.tf-order-summary-headline {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.tf-order-summary-count {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
}

.tf-order-summary-items {
  font-size: 12px;
  color: #6b7280;
  margin-top: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tf-order-summary-headright {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.tf-order-summary-headtotal {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}

.tf-order-summary-chevron {
  color: #9ca3af;
  transition: transform 0.2s;
}

.tf-order-summary-open .tf-order-summary-chevron {
  transform: rotate(180deg);
}

.tf-order-summary-edit {
  flex-shrink: 0;
  padding: 6px 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--link-color, var(--accent-color, #6366f1));
}

.tf-order-summary-edit:hover {
  text-decoration: underline;
}

.tf-order-summary-detail {
  padding: 4px 14px 14px;
  border-top: 1px solid #e8e6e1;
}

.tf-order-summary-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  color: #374151;
  padding: 7px 0;
}

.tf-order-summary-line-name {
  flex: 1;
  min-width: 0;
}

.tf-order-summary-line-qty {
  color: #9ca3af;
  flex-shrink: 0;
}

.tf-order-summary-line-price {
  font-weight: 600;
  color: #1a1a1a;
  flex-shrink: 0;
}

.tf-order-summary-fees {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #9ca3af;
  padding: 4px 0 8px;
}

.tf-order-summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  padding-top: 10px;
  border-top: 1px solid #e8e6e1;
}

/* ═══ PAYMENT UNAVAILABLE (hosted event page) ════════════════
   The organiser has no payment processor connected, so a paid basket cannot be
   bought. A calm explanation, not an error: nothing has gone wrong for the
   buyer. Deliberately not red. Hosted page only, nothing shared with the
   embed. */
.tf-payment-unavailable {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  margin-bottom: 14px;
  background: #faf9f7;
  border: 1px solid #e8e6e1;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #6b7280;
}

.tf-payment-unavailable-icon {
  flex-shrink: 0;
  color: #9ca3af;
  margin-top: 1px;
}

.tf-payment-unavailable-text {
  flex: 1;
}

/* The same calm treatment when the controller guard fires into the details
   step's error slot, which is otherwise styled as a red error. */
.tf-card-errors-calm {
  background: #faf9f7 !important;
  border: 1px solid #e8e6e1 !important;
  color: #6b7280 !important;
}
