/* Pricing panel CSS — synced from moment-builder's canonical pricing component.
   Canonical source: moment-builder/web/builder/src/components/pricing/pricing.css
   Sync date:        2026-05-25
   To re-sync: `cp` the canonical file over this one, then restore this header.
   The two builder-only rule blocks at the top of the canonical file
   (body.pricing-panel-active .editor-sidebar / .section-form) are inert in
   this repo and have been stripped. Everything below is verbatim. */

.pricing-panel {
  --pp-bg: #FBF7F2;
  --pp-bg-card: #FFFFFF;
  --pp-bg-soft: #F4EEE5;
  --pp-bg-calc: #FDFAF5;
  --pp-ink: #1F1A2E;
  --pp-ink-muted: #6B6478;
  --pp-ink-soft: #948C9F;
  --pp-line: #E8E0D2;
  --pp-line-strong: #D7CCB8;
  --pp-brand: #FF6B2B;
  --pp-brand-deep: #E54E0E;
  --pp-brand-soft: #FFE5D5;
  --pp-accent: #2E1F4F;
  --pp-success: #2A7F4F;
  --pp-success-soft: #E1F2E8;
  --pp-shadow-sm: 0 1px 2px rgba(31, 26, 46, 0.04), 0 2px 4px rgba(31, 26, 46, 0.03);
  --pp-shadow-md: 0 4px 12px rgba(31, 26, 46, 0.06), 0 12px 24px rgba(31, 26, 46, 0.04);
  --pp-r-sm: 8px;
  --pp-r-md: 14px;
  --pp-r-lg: 20px;

  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--pp-ink);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.pricing-panel * { box-sizing: border-box; }
.pricing-panel .pp-display { font-family: 'Fraunces', Georgia, serif; font-weight: 500; letter-spacing: -0.02em; }

/* Grid: form column + sticky summary column on desktop. Mobile collapses to single column. */
.pricing-panel .pp-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 960px) {
  /* Once the right-column summary no longer fits, hide it entirely and let
     the persistent bottom sheet take over so the total + Purchase CTA stay
     reachable without scrolling. */
  .pricing-panel .pp-grid { grid-template-columns: 1fr; }
  .pricing-panel .pp-summary-col { display: none; }
  /* Page gets bottom padding so content clears the fixed bottom sheet. */
  .pricing-panel { padding-bottom: 140px; }
}

/* Sections */
.pricing-panel .pp-section {
  background: var(--pp-bg-card);
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-r-lg);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--pp-shadow-sm);
}
.pricing-panel .pp-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.pricing-panel .pp-section-title {
  font-size: 22px;
  margin: 0;
}
.pricing-panel .pp-section-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--pp-ink-soft);
  margin-right: 8px;
}
.pricing-panel .pp-section-hint {
  font-size: 13px;
  color: var(--pp-ink-muted);
}
.pricing-panel .pp-intro-copy {
  font-size: 15px;
  color: var(--pp-ink);
  line-height: 1.55;
  margin: 0 0 18px;
}

/* Event-days box */
.pricing-panel .pp-event-days-box {
  background: var(--pp-bg-soft);
  border: 1px solid var(--pp-line-strong);
  border-radius: var(--pp-r-md);
  padding: 18px 22px;
  margin-bottom: 22px;
}
.pricing-panel .pp-event-days-row {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: clamp(6px, 2vw, 12px);
}
.pricing-panel .pp-event-days-stepper-wrap { display: contents; }
.pricing-panel .pp-event-days-label {
  font-family: 'Fraunces', serif;
  font-size: clamp(13px, 4.2vw, 17px);
  font-weight: 500;
  color: var(--pp-ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.pricing-panel .pp-event-days-stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--pp-line-strong);
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(31, 26, 46, 0.04);
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.pricing-panel .pp-event-days-stepper:focus-within {
  border-color: var(--pp-brand);
  box-shadow: 0 0 0 3px rgba(255, 107, 43, 0.14);
}
.pricing-panel .pp-event-days-btn {
  width: 36px;
  border: none;
  background: var(--pp-bg-soft);
  color: var(--pp-ink);
  font-family: 'Inter Tight', sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  user-select: none;
}
.pricing-panel .pp-event-days-btn:hover:not(:disabled) {
  background: var(--pp-brand-soft);
  color: var(--pp-brand-deep);
}
.pricing-panel .pp-event-days-btn:active:not(:disabled) { background: rgba(255, 107, 43, 0.18); }
.pricing-panel .pp-event-days-btn:disabled { color: var(--pp-ink-soft); opacity: 0.4; cursor: not-allowed; }
.pricing-panel .pp-event-days-input {
  width: 44px;
  padding: 8px 4px;
  border: none;
  border-left: 1px solid var(--pp-line-strong);
  border-right: 1px solid var(--pp-line-strong);
  border-radius: 0;
  font-family: 'Inter Tight', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--pp-ink);
  background: #FFFFFF;
  text-align: center;
}
.pricing-panel .pp-event-days-input::placeholder { color: var(--pp-ink-soft); font-weight: 500; }
.pricing-panel .pp-event-days-input:focus { outline: none; }
.pricing-panel .pp-event-days-suffix {
  font-family: 'Fraunces', serif;
  font-size: clamp(13px, 4.2vw, 17px);
  font-weight: 500;
  color: var(--pp-ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.pricing-panel .pp-event-days-help { margin: 14px 0 0; font-size: 13px; color: var(--pp-ink-muted); line-height: 1.55; }
.pricing-panel .pp-event-days-help strong { color: var(--pp-ink); font-weight: 600; }
.pricing-panel .pp-event-days-help em { font-family: 'Fraunces', serif; font-style: italic; font-weight: 500; color: var(--pp-ink); }

/* Pill mode toggle */
.pricing-panel .pp-pill-mode-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 0 0 10px;
}
.pricing-panel .pp-pill-mode-label { font-size: 12px; color: var(--pp-ink-muted); }
.pricing-panel .pp-pill-mode-segs {
  display: inline-flex;
  border: 1px solid var(--pp-line-strong);
  border-radius: 6px;
  background: var(--pp-bg-card);
  overflow: hidden;
}
.pricing-panel .pp-pill-mode-seg {
  border: none;
  background: transparent;
  padding: 4px 10px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--pp-ink-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.pricing-panel .pp-pill-mode-seg:not(:last-child) { border-right: 1px solid var(--pp-line-strong); }
.pricing-panel .pp-pill-mode-seg:hover:not(:disabled):not(.pp-active) { background: var(--pp-bg-soft); color: var(--pp-ink); }
.pricing-panel .pp-pill-mode-seg.pp-active { background: var(--pp-bg-soft); color: var(--pp-ink); font-weight: 600; }
.pricing-panel .pp-pill-mode-seg:disabled { color: var(--pp-ink-soft); opacity: 0.5; cursor: not-allowed; }

/* Tier cards */
.pricing-panel .pp-tiers { display: flex; flex-direction: column; gap: 8px; }
.pricing-panel .pp-tier {
  position: relative;
  border: 1.5px solid var(--pp-line);
  border-radius: var(--pp-r-md);
  padding: 12px 18px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  background: var(--pp-bg-card);
}
.pricing-panel .pp-tier-row {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 14px;
  align-items: center;
}
.pricing-panel .pp-tier:hover { border-color: var(--pp-line-strong); box-shadow: var(--pp-shadow-sm); }
.pricing-panel .pp-tier.pp-selected {
  border-color: var(--pp-brand);
  background: linear-gradient(180deg, #FFF8F2 0%, #FFFFFF 100%);
  box-shadow: 0 0 0 3px rgba(255, 107, 43, 0.10), var(--pp-shadow-sm);
}
.pricing-panel .pp-tier-radio {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--pp-line-strong);
  border-radius: 50%;
  flex-shrink: 0;
  transition: border-color 0.15s;
}
.pricing-panel .pp-tier.pp-selected .pp-tier-radio { border-color: var(--pp-brand); border-width: 5px; }
.pricing-panel .pp-tier-body { min-width: 0; }
.pricing-panel .pp-tier-name-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pricing-panel .pp-tier-name {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--pp-ink);
  min-width: 96px;
}
.pricing-panel .pp-tier-ceiling {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pp-accent);
  background: var(--pp-bg-soft);
  border: 1px solid var(--pp-line-strong);
  padding: 2px 10px;
  border-radius: 12px;
  white-space: nowrap;
}
.pricing-panel .pp-tier-ceiling .pp-pill-mult {
  color: var(--pp-ink-muted);
  margin-left: 6px;
  padding-left: 8px;
  border-left: 1px solid var(--pp-line-strong);
  font-weight: 500;
}
.pricing-panel .pp-tier.pp-selected .pp-tier-ceiling {
  background: var(--pp-brand-soft);
  border-color: rgba(255, 107, 43, 0.3);
  color: var(--pp-brand-deep);
}
.pricing-panel .pp-tier.pp-selected .pp-tier-ceiling .pp-pill-mult {
  color: var(--pp-brand-deep);
  border-left-color: rgba(255, 107, 43, 0.3);
  opacity: 0.7;
}
.pricing-panel .pp-tier-detail { margin-top: 12px; padding-top: 4px; padding-left: 34px; }
.pricing-panel .pp-tier-desc { font-size: 13.5px; color: var(--pp-ink-muted); line-height: 1.45; margin: 0 0 4px; }
.pricing-panel .pp-tier-typical {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 12.5px;
  color: var(--pp-ink-soft);
}
.pricing-panel .pp-tier-typical::before { content: 'Typically '; }
.pricing-panel .pp-tier-pool { margin-top: 8px; font-size: 12.5px; color: var(--pp-ink-muted); line-height: 1.5; }
.pricing-panel .pp-tier-pool strong { color: var(--pp-ink); font-weight: 600; }
.pricing-panel .pp-tier-price {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--pp-ink);
  text-align: right;
  white-space: nowrap;
  line-height: 1.1;
}
.pricing-panel .pp-tier-price .pp-ex-gst {
  font-family: 'Inter Tight', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--pp-ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-left: 4px;
  vertical-align: middle;
}
.pricing-panel .pp-tier-price-wrap { display: flex; flex-direction: column; align-items: flex-end; }

/* Bespoke contact CTA */
.pricing-panel .pp-bespoke-link {
  margin-top: 14px;
  padding: 14px 18px;
  border: 1px dashed var(--pp-line-strong);
  border-radius: var(--pp-r-md);
  font-size: 13.5px;
  color: var(--pp-ink-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.pricing-panel .pp-bespoke-copy { flex: 1; min-width: 220px; }
.pricing-panel .pp-bespoke-link strong { color: var(--pp-ink); font-weight: 600; }
.pricing-panel .pp-bespoke-contacts { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.pricing-panel .pp-bespoke-link a,
.pricing-panel .pp-bespoke-link a:link,
.pricing-panel .pp-bespoke-link a:visited,
.pricing-panel .pp-bespoke-link a:hover,
.pricing-panel .pp-bespoke-link a:active,
.pricing-panel .pp-bespoke-link a:focus {
  font: 500 13px/1.5 'Inter Tight', -apple-system, sans-serif !important;
  color: var(--pp-brand) !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-color: transparent !important;
  text-decoration-thickness: 0 !important;
  letter-spacing: 0 !important;
  transition: none !important;
  background: transparent !important;
  border: none !important;
}

/* Tracker toggle */
.pricing-panel .pp-toggle-section { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 4px; }
.pricing-panel .pp-toggle-section.pp-open { padding-bottom: 4px; margin-bottom: 0; }
.pricing-panel .pp-toggle-text { flex: 1; }
.pricing-panel .pp-toggle-text h3 { margin: 0 0 4px; font-size: 18px; font-family: 'Fraunces', serif; font-weight: 500; }
.pricing-panel .pp-toggle-text p { margin: 0; color: var(--pp-ink-muted); font-size: 13.5px; }
.pricing-panel .pp-switch {
  position: relative;
  width: 46px;
  height: 26px;
  background: var(--pp-line-strong);
  border-radius: 13px;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
  border: none;
  padding: 0;
}
.pricing-panel .pp-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.pricing-panel .pp-switch.pp-on { background: var(--pp-brand); }
.pricing-panel .pp-switch.pp-on::after { transform: translateX(20px); }
.pricing-panel .pp-tracker-pad { padding-top: 18px; }
.pricing-panel .pp-tracker-options { display: flex; flex-direction: column; gap: 8px; }
.pricing-panel .pp-hidden { display: none !important; }

/* Mirror of the Extras-pane warning from issue #59 §13: appears at the top
   of the tracker section when the moment has tracking enabled in its
   working config but tracking isn't in the cart. */
.pricing-panel .pp-tracking-cart-warning {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: #fff4ec;
  border: 1px solid #f3c9a8;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 16px;
  color: #7a2a0a;
  font-size: 13px;
  line-height: 1.45;
}
.pricing-panel .pp-tracking-cart-warning-btn {
  margin-left: auto;
  background: var(--pp-brand, #ff6b2b);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.pricing-panel .pp-tracking-cart-warning-btn:hover {
  filter: brightness(0.95);
}

/* Subscription period */
.pricing-panel .pp-sub-banner {
  background: linear-gradient(135deg, var(--pp-success-soft) 0%, #F0F8F3 100%);
  border: 1px solid #B8DCC4;
  border-radius: var(--pp-r-md);
  padding: 14px 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: #1F5A38;
}
.pricing-panel .pp-sub-banner svg { flex-shrink: 0; }
.pricing-panel .pp-sub-banner strong { font-weight: 600; }
.pricing-panel .pp-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 720px) { .pricing-panel .pp-field-row { grid-template-columns: 1fr; } }
.pricing-panel .pp-field { display: flex; flex-direction: column; }
.pricing-panel .pp-field label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pp-ink-muted);
  margin-bottom: 6px;
}
.pricing-panel .pp-field input {
  font-family: inherit;
  font-size: 15px;
  color: var(--pp-ink);
  padding: 11px 14px;
  border: 1px solid var(--pp-line-strong);
  border-radius: var(--pp-r-sm);
  background: var(--pp-bg-card);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.pricing-panel .pp-field input:focus {
  outline: none;
  border-color: var(--pp-brand);
  box-shadow: 0 0 0 3px rgba(255, 107, 43, 0.14);
}
.pricing-panel .pp-sub-summary {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--pp-ink-muted);
  font-family: 'Fraunces', serif;
  font-style: italic;
}
.pricing-panel .pp-sub-summary strong { color: var(--pp-ink); font-weight: 600; font-family: 'Inter Tight', sans-serif; font-style: normal; }
.pricing-panel .pp-sub-summary.pp-warn {
  color: #9a3412;
  background: #fff4ec;
  border: 1px solid #f3c9a8;
  border-radius: var(--pp-r-sm);
  padding: 10px 14px;
  font-style: normal;
  font-family: 'Inter Tight', sans-serif;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.pricing-panel .pp-sub-summary.pp-warn strong { color: #7a2a0a; }

/* Order summary (dark card, sticky right) */
.pricing-panel .pp-summary-col { position: sticky; top: 90px; }
.pricing-panel .pp-summary {
  background: var(--pp-ink);
  color: #FBF7F2;
  border-radius: var(--pp-r-lg);
  padding: 28px;
  box-shadow: var(--pp-shadow-md);
  overflow: hidden;
  position: relative;
}
.pricing-panel .pp-summary::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 107, 43, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.pricing-panel .pp-summary-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  color: rgba(251, 247, 242, 0.55);
  font-weight: 600;
  margin-bottom: 14px;
}
.pricing-panel .pp-summary-title {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  margin: 0 0 22px;
  line-height: 1.15;
}
.pricing-panel .pp-summary-title em { color: var(--pp-brand); font-style: italic; }
.pricing-panel .pp-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid rgba(251, 247, 242, 0.12);
  gap: 12px;
}
.pricing-panel .pp-summary-line:first-of-type { border-top: none; padding-top: 0; }
.pricing-panel .pp-summary-line-label { flex: 1; min-width: 0; }
.pricing-panel .pp-summary-line-name { font-size: 14px; font-weight: 500; }
.pricing-panel .pp-summary-line-detail { font-size: 12px; color: rgba(251, 247, 242, 0.55); margin-top: 2px; }
.pricing-panel .pp-summary-line-price { font-family: 'Fraunces', serif; font-size: 16px; font-weight: 500; white-space: nowrap; }
.pricing-panel .pp-summary-line-price.pp-free {
  background: rgba(255, 107, 43, 0.18);
  color: var(--pp-brand);
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  font-family: 'Inter Tight', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pricing-panel .pp-summary-empty {
  color: rgba(251, 247, 242, 0.45);
  font-style: italic;
  font-family: 'Fraunces', serif;
  font-size: 14px;
}
/* Promotion code — de-emphasised inline row with the label beside the
   input so it doesn't dominate the order summary. */
.pricing-panel .pp-promo {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(251, 247, 242, 0.10);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-panel .pp-promo label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(251, 247, 242, 0.5);
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
  flex-shrink: 0;
}
.pricing-panel .pp-promo input {
  flex: 1;
  min-width: 0;
  background: rgba(251, 247, 242, 0.06);
  border: 1px solid rgba(251, 247, 242, 0.12);
  border-radius: var(--pp-r-sm);
  padding: 5px 9px;
  color: #FBF7F2;
  font-family: inherit;
  font-size: 12px;
}
.pricing-panel .pp-promo input::placeholder { color: rgba(251, 247, 242, 0.35); }
.pricing-panel .pp-promo input:focus { outline: none; background: rgba(251, 247, 242, 0.12); border-color: var(--pp-brand); }
.pricing-panel .pp-total-block {
  margin-top: 20px;
  padding-top: 22px;
  border-top: 2px solid rgba(251, 247, 242, 0.18);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}
.pricing-panel .pp-total-label { font-size: 14px; color: rgba(251, 247, 242, 0.7); }
.pricing-panel .pp-total-amount { font-family: 'Fraunces', serif; font-size: 36px; font-weight: 500; letter-spacing: -0.02em; }
.pricing-panel .pp-total-gst { font-size: 11px; color: rgba(251, 247, 242, 0.45); text-align: right; margin-bottom: 18px; }
.pricing-panel .pp-terms {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  color: rgba(251, 247, 242, 0.75);
  cursor: pointer;
  white-space: nowrap;
}
.pricing-panel .pp-terms input {
  accent-color: var(--pp-brand);
  cursor: pointer;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin: 0;
}
.pricing-panel .pp-terms span { flex: 0 0 auto; }
.pricing-panel .pp-terms a { color: var(--pp-brand); text-decoration: underline; }
.pricing-panel .pp-pay-btn {
  width: 100%;
  padding: 16px;
  background: var(--pp-brand);
  color: white;
  border: none;
  border-radius: var(--pp-r-md);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
  box-shadow: 0 4px 12px rgba(255, 107, 43, 0.35);
}
.pricing-panel .pp-pay-btn:hover:not(:disabled) {
  background: var(--pp-brand-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 107, 43, 0.45);
}
.pricing-panel .pp-pay-btn:disabled {
  background: rgba(251, 247, 242, 0.15);
  color: rgba(251, 247, 242, 0.4);
  cursor: not-allowed;
  box-shadow: none;
}
.pricing-panel .pp-pay-note {
  margin: 12px 0 0;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: rgba(251, 247, 242, 0.65);
  text-align: center;
}

/* ============== Phone tier (≤600px) ============== */
@media (max-width: 600px) {
  .pricing-panel .pp-section { padding: 20px 16px; border-radius: 14px; margin-bottom: 14px; }
  .pricing-panel .pp-section-head { gap: 8px; margin-bottom: 16px; }
  .pricing-panel .pp-section-title { font-size: 19px; }
  .pricing-panel .pp-section-hint { display: none; }
  .pricing-panel .pp-intro-copy { font-size: 14px; margin-bottom: 14px; }
  .pricing-panel .pp-event-days-box { padding: 14px; margin-bottom: 18px; }
  /* On a phone the event-days row's "label + [-N+] + suffix" totals ~370 px
     while the available width is ~220 px. The default `flex-wrap: nowrap`
     forces overflow into horizontal page scroll. Allow wrap so the
     stepper drops onto its own line. */
  .pricing-panel .pp-event-days-row { flex-wrap: wrap; row-gap: 8px; }
  .pricing-panel .pp-event-days-btn { width: 40px; font-size: 22px; }
  .pricing-panel .pp-event-days-input { width: 50px; font-size: 18px; padding: 10px 4px; }
  .pricing-panel .pp-pill-mode-toggle {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-bottom: 12px;
  }
  .pricing-panel .pp-pill-mode-segs { display: flex; width: 100%; }
  .pricing-panel .pp-pill-mode-seg { flex: 1; text-align: center; padding: 8px 10px; font-size: 12px; }

  .pricing-panel .pp-tier { padding: 14px; }
  .pricing-panel .pp-tier.pp-selected { padding: 14px; }
  .pricing-panel .pp-tier-row {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px 12px;
    align-items: start;
  }
  .pricing-panel .pp-tier-radio { width: 20px; height: 20px; align-self: start; margin-top: 2px; }
  .pricing-panel .pp-tier.pp-selected .pp-tier-row .pp-tier-radio { border-width: 6px; }
  .pricing-panel .pp-tier-body { grid-column: 2; }
  .pricing-panel .pp-tier-name-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
  }
  .pricing-panel .pp-tier-name { min-width: 0; font-size: 17px; line-height: 1.2; }
  .pricing-panel .pp-tier-ceiling { font-size: 10.5px; max-width: 100%; white-space: normal; line-height: 1.3; }
  .pricing-panel .pp-tier-ceiling .pp-pill-mult { margin-left: 5px; padding-left: 6px; }
  .pricing-panel .pp-tier-price-wrap {
    grid-column: 1 / -1;
    align-items: flex-end;
    flex-direction: row;
    justify-content: flex-end;
    padding-top: 6px;
    margin-top: 2px;
  }
  .pricing-panel .pp-tier-price { font-size: 18px; }
  .pricing-panel .pp-tier-price .pp-ex-gst { font-size: 9.5px; letter-spacing: 0.04em; }
  .pricing-panel .pp-tier-detail { padding-left: 0; grid-column: 1 / -1; }
  .pricing-panel .pp-tier-pool { font-size: 12.5px; }

  .pricing-panel .pp-bespoke-link {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
  }
  .pricing-panel .pp-bespoke-copy { min-width: 0; }
  .pricing-panel .pp-bespoke-contacts {
    display: block !important;
    text-align: left !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12.5px;
    line-height: 1.5;
    gap: 0 !important;
  }
  .pricing-panel .pp-bespoke-link a,
  .pricing-panel .pp-bespoke-link a:link,
  .pricing-panel .pp-bespoke-link a:visited,
  .pricing-panel .pp-bespoke-link a:hover,
  .pricing-panel .pp-bespoke-link a:active,
  .pricing-panel .pp-bespoke-link a:focus {
    font: 500 12.5px/1.5 'Inter Tight', -apple-system, sans-serif !important;
    display: inline !important;
    padding: 0 !important;
    white-space: nowrap;
  }
  .pricing-panel .pp-bespoke-link a + a::before {
    content: '·';
    display: inline-block;
    margin: 0 8px;
    color: var(--pp-ink-soft);
    font-weight: 600;
    pointer-events: none;
  }

  .pricing-panel .pp-toggle-section { gap: 14px; }
  .pricing-panel .pp-toggle-text h3 { font-size: 16px; }
  .pricing-panel .pp-toggle-text p { font-size: 13px; }
  .pricing-panel .pp-sub-banner { padding: 12px 14px; font-size: 12.5px; gap: 10px; }
  .pricing-panel .pp-sub-summary { font-size: 13px; }

}

/* Persistent bottom sheet — activates whenever the right-column summary is
   hidden (≤960px), giving the user a sticky Total + Purchase CTA they can
   tap-to-expand for the full breakdown. */
.pricing-panel .pp-mobile-drawer { display: none; }
@media (max-width: 960px) {
  .pricing-panel .pp-mobile-drawer {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 100;
    background: var(--pp-ink);
    color: #FBF7F2;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    box-shadow: 0 -8px 28px rgba(31, 26, 46, 0.25);
    transform: translateY(0);
    transition: transform 0.28s cubic-bezier(.4,.1,.2,1);
    max-height: 92vh;
    overflow: hidden;
  }
  .pricing-panel .pp-mobile-drawer-handle {
    display: flex;
    justify-content: center;
    padding: 8px 0 4px;
    position: relative;
  }
  .pricing-panel .pp-mobile-drawer-handle::before {
    content: '';
    width: 36px; height: 4px;
    background: rgba(251, 247, 242, 0.25);
    border-radius: 2px;
  }
  /* Invisible hit-area extender: stretches the handle's click target down
     into the top portion of the collapsed bar, so the user can tap anywhere
     in the upper half of the drawer to toggle. The CTA button raises its
     own stacking order (below) to stay tappable above this overlay. */
  .pricing-panel .pp-mobile-drawer-handle::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    right: 0;
    height: 44px;
    z-index: 1;
  }
  /* Keep the Pay-now CTA tappable above the handle's hit-area extender. */
  .pricing-panel .pp-md-cta {
    position: relative;
    z-index: 2;
  }
  .pricing-panel .pp-mobile-drawer-collapsed {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px 18px 18px;
  }
  .pricing-panel .pp-mobile-drawer.pp-expanded .pp-mobile-drawer-collapsed { display: none; }
  .pricing-panel .pp-md-total { flex: 1; min-width: 0; }
  .pricing-panel .pp-md-total-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(251, 247, 242, 0.55);
    font-weight: 600;
  }
  .pricing-panel .pp-md-total-amount {
    font-family: 'Fraunces', serif;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin-top: 2px;
  }
  .pricing-panel .pp-md-total-detail { font-size: 11px; color: rgba(251, 247, 242, 0.5); margin-top: 2px; }
  .pricing-panel .pp-md-cta {
    background: var(--pp-brand);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 18px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 107, 43, 0.4);
    white-space: nowrap;
  }
  .pricing-panel .pp-md-cta:disabled {
    background: rgba(251, 247, 242, 0.15);
    color: rgba(251, 247, 242, 0.4);
    box-shadow: none;
  }
  .pricing-panel .pp-mobile-drawer-expanded {
    display: none;
    padding: 4px 22px 24px;
    max-height: calc(92vh - 30px);
    overflow-y: auto;
  }
  .pricing-panel .pp-mobile-drawer.pp-expanded .pp-mobile-drawer-expanded { display: block; }
  .pricing-panel .pp-md-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px; height: 32px;
    border: none;
    background: rgba(251, 247, 242, 0.08);
    color: #FBF7F2;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .pricing-panel .pp-md-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 10px;
    color: rgba(251, 247, 242, 0.55);
    font-weight: 600;
    margin-bottom: 6px;
  }
  .pricing-panel .pp-md-title { font-family: 'Fraunces', serif; font-size: 22px; margin: 0 0 18px; line-height: 1.15; }
  .pricing-panel .pp-md-title em { color: var(--pp-brand); font-style: italic; }
  .pricing-panel .pp-mobile-drawer .pp-summary-line { padding: 12px 0; }
  .pricing-panel .pp-mobile-drawer .pp-summary-line-name { font-size: 14px; }
  .pricing-panel .pp-mobile-drawer .pp-summary-line-detail { font-size: 12px; }
  .pricing-panel .pp-mobile-drawer .pp-summary-line-price { font-size: 15px; }
  .pricing-panel .pp-mobile-drawer .pp-promo { margin-top: 14px; padding-top: 14px; }
  .pricing-panel .pp-mobile-drawer .pp-total-block { margin-top: 16px; padding-top: 18px; }
  .pricing-panel .pp-mobile-drawer .pp-total-amount { font-size: 28px; }
  .pricing-panel .pp-mobile-drawer .pp-pay-btn { padding: 14px; font-size: 15px; }
}
