/* ============================================================
   membership-v2.css — Shoppable membership page + checkout
   Inherits CSS variables and base styles from main.css
   ============================================================ */

/* ─── Drop-in strip ─────────────────────────────────────── */

.dropin-strip {
  background: var(--ink-900);
  color: var(--sand-50);
}

.dropin-strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.95rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.dropin-strip-copy {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.dropin-strip-eyebrow {
  font-family: "Oswald", sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--sand-200);
}

.dropin-strip-text {
  font-size: 0.97rem;
  color: var(--sand-50);
}

.dropin-strip-btn {
  font-family: "Oswald", sans-serif;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sand-50);
  border: 1px solid rgba(246, 240, 228, 0.35);
  padding: 0.5rem 1rem;
  white-space: nowrap;
  transition: background 160ms, border-color 160ms;
  background: none;
  cursor: pointer;
}

.dropin-strip-btn:hover {
  background: rgba(246, 240, 228, 0.1);
  border-color: rgba(246, 240, 228, 0.6);
}

/* ─── BOGO promo stripe ─────────────────────────────────── */

.mem-promo {
  background: var(--accent-green);
  padding: 2.5rem 0;
  text-align: center;
}
.mem-promo-inner {
  width: min(calc(100% - 2rem), 720px);
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}
.mem-promo-kicker {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 240, 228, 0.65);
}
.mem-promo-headline {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}
.mem-promo-body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(246, 240, 228, 0.9);
}
.mem-promo-link {
  display: inline-block;
  margin-top: 0.25rem;
  font-family: "Oswald", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  text-decoration: none;
  transition: border-color 0.2s;
}
.mem-promo-link:hover { border-color: #fff; }

/* ─── Beginner callout ───────────────────────────────────── */

.beginner-callout {
  grid-column: 1 / -1;
  background: var(--sand-50);
  border: 1px solid var(--line);
  padding: 1.25rem 1.75rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}

.beginner-callout-kicker {
  font-family: "Oswald", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin: 0;
}

.beginner-callout-headline {
  font-family: "Oswald", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-900);
  margin: 0;
  line-height: 1.1;
}

.beginner-callout-text {
  flex-shrink: 0;
}

.beginner-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem 1.25rem;
  flex: 1;
}

.beginner-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.875rem;
  color: var(--ink-700);
  line-height: 1.45;
}

.beginner-feature svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 0.15em;
  color: var(--accent-green);
  stroke-width: 2;
}

/* ─── Open Gym — white card ──────────────────────────────── */
/* grid-column/row set explicitly so it aligns with row 2 (same as Full Access + Bootcamp) */

/* ─── Pricing cards v2 ───────────────────────────────────── */

.pricing-section-v2 {
  padding: 4.75rem 0;
}

.pricing-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
}

.pricing-card-v2 {
  background: var(--sand-100);
  border: 1px solid var(--line);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pricing-card-v2.featured {
  background: var(--accent-green);
  color: var(--sand-50);
  border-color: var(--accent-green);
}

.pv2-label {
  font-family: "Oswald", sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-700);
  margin-bottom: 0.4rem;
}

.pricing-card-v2.featured .pv2-label {
  color: rgba(246, 240, 228, 0.7);
}

.pv2-name {
  font-family: "Oswald", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: var(--ink-900);
}

.pricing-card-v2.featured .pv2-name {
  color: var(--sand-50);
}

.pv2-descriptor {
  font-size: 0.92rem;
  color: var(--ink-700);
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.pricing-card-v2.featured .pv2-descriptor {
  color: rgba(246, 240, 228, 0.8);
}

.pv2-divider {
  height: 1px;
  background: var(--line);
  margin-bottom: 1.25rem;
}

.pricing-card-v2.featured .pv2-divider {
  background: rgba(246, 240, 228, 0.2);
}

.pv2-includes {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pv2-includes li {
  font-size: 0.9rem;
  color: var(--ink-700);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.pv2-includes li::before {
  content: "–";
  font-family: "Oswald", sans-serif;
  color: var(--accent-green);
  flex-shrink: 0;
}

.pricing-card-v2.featured .pv2-includes li {
  color: rgba(246, 240, 228, 0.85);
}

.pricing-card-v2.featured .pv2-includes li::before {
  color: rgba(246, 240, 228, 0.5);
}

.pv2-price-block {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.pricing-card-v2.featured .pv2-price-block {
  border-top-color: rgba(246, 240, 228, 0.2);
}

.pv2-from {
  font-family: "Oswald", sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-700);
  margin-bottom: 0.2rem;
}

.pricing-card-v2.featured .pv2-from {
  color: rgba(246, 240, 228, 0.6);
}

.pv2-price {
  font-family: "Oswald", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink-900);
  margin-bottom: 0.15rem;
}

.pricing-card-v2.featured .pv2-price {
  color: var(--sand-50);
}

.pv2-price span {
  font-size: 1rem;
  font-weight: 400;
}

.pv2-price-note {
  font-size: 0.82rem;
  color: var(--ink-700);
  margin-bottom: 1.1rem;
}

.pricing-card-v2.featured .pv2-price-note {
  color: rgba(246, 240, 228, 0.65);
}

.pv2-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1.2rem;
  font-family: "Oswald", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--ink-900);
  background: var(--ink-900);
  color: var(--sand-50);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.pv2-cta:hover {
  transform: translateY(-2px);
}

.pricing-card-v2.featured .pv2-cta {
  background: var(--sand-50);
  border-color: var(--sand-50);
  color: var(--ink-900);
}

.pricing-card-v2.featured .pv2-cta:hover {
  background: var(--sand-100);
}

/* Full Access forced to col 1 row 2 so Open Gym aligns with it */
.pricing-card-v2.featured {
  grid-column: 1;
  grid-row: 2;
}

/* Bootcamp naturally lands at col 2, row 2 */

/* Open Gym: col 3, row 2 — white background overrides sand-100 */
.pricing-card-v2.open-gym-card {
  background: #fff;
  grid-column: 3;
  grid-row: 2;
}

/* ─── Comparison table — CTA row ─────────────────────────── */

.comparison-cta-row th {
  font-family: "Oswald", sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-700);
  font-weight: 400;
  padding: 1rem 0.75rem 0.75rem;
}

.comparison-cta-row td {
  padding: 0.85rem 0.75rem;
  vertical-align: middle;
}

.comparison-cta-row td a,
.comparison-cta-row td button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-family: "Oswald", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  background: transparent;
  cursor: pointer;
  transition: background 160ms, color 160ms;
  white-space: nowrap;
  text-decoration: none;
}

.comparison-cta-row td a:hover,
.comparison-cta-row td button:hover {
  background: var(--accent-green);
  color: var(--sand-50);
}

/* ─── Overlay ────────────────────────────────────────────── */

.checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(23, 20, 17, 0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}

.checkout-overlay.open {
  display: flex;
  animation: overlay-fade-in 200ms ease;
}

@keyframes overlay-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ─── Modal card ─────────────────────────────────────────── */

.checkout-card {
  background: var(--sand-50);
  border: 1px solid var(--line);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: card-slide-in 220ms ease;
  margin: auto;
}

@keyframes card-slide-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.checkout-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  gap: 1rem;
}

.checkout-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: none;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 1rem;
  color: var(--ink-700);
  flex-shrink: 0;
  transition: border-color 160ms, color 160ms;
}

.checkout-nav-btn:hover {
  border-color: var(--ink-900);
  color: var(--ink-900);
}

/* ─── Step progress indicator ────────────────────────────── */

.checkout-steps-bar {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
}

.checkout-step-node {
  display: flex;
  align-items: center;
  gap: 0;
}

.checkout-step-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sand-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Oswald", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-700);
  transition: background 250ms, color 250ms;
  flex-shrink: 0;
}

.checkout-step-dot.done {
  background: var(--accent-green);
  color: var(--sand-50);
}

.checkout-step-dot.active {
  background: var(--ink-900);
  color: var(--sand-50);
}

.checkout-step-line {
  width: 2rem;
  height: 1px;
  background: var(--line);
}

.checkout-step-line.done {
  background: var(--accent-green);
}

/* ─── Checkout body / steps ──────────────────────────────── */

.checkout-body {
  padding: 1.25rem 1.5rem;
}

.checkout-step-label {
  font-family: "Oswald", sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-700);
  margin-bottom: 0.35rem;
}

.checkout-plan-name {
  font-family: "Oswald", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink-900);
  margin-bottom: 0.4rem;
}

.checkout-descriptor {
  font-size: 0.95rem;
  color: var(--ink-700);
  margin-bottom: 1.25rem;
}

.checkout-includes {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.checkout-includes li {
  font-size: 0.92rem;
  color: var(--ink-700);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.checkout-includes li::before {
  content: "✓";
  font-family: "Oswald", sans-serif;
  color: var(--accent-green);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ─── Plan type tabs (Membership / Class Pack) ───────────── */

.plan-type-tabs {
  display: flex;
  border: 1px solid var(--line);
  margin-bottom: 0.75rem;
}

.plan-type-tab {
  flex: 1;
  padding: 0.65rem 0.75rem;
  font-family: "Oswald", sans-serif;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: none;
  border: none;
  color: var(--ink-700);
  cursor: pointer;
  transition: background 160ms, color 160ms;
}

.plan-type-tab + .plan-type-tab {
  border-left: 1px solid var(--line);
}

.plan-type-tab.active {
  background: var(--ink-900);
  color: var(--sand-50);
}

/* ─── Plan tiles ─────────────────────────────────────────── */

.plan-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.plan-tiles-2 {
  grid-template-columns: repeat(2, 1fr);
}

.plan-tiles-3 {
  grid-template-columns: repeat(3, 1fr);
}

.plan-tile {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  cursor: pointer;
  transition: background 160ms, color 160ms, border-color 160ms;
  background: var(--sand-100);
  user-select: none;
}

.plan-tile:hover {
  border-color: var(--accent-green);
}

.plan-tile.selected {
  background: var(--accent-green);
  color: var(--sand-50);
  border-color: var(--accent-green);
}

.tile-label {
  font-family: "Oswald", sans-serif;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-700);
  margin-bottom: 0.3rem;
  line-height: 1;
}

.plan-tile.selected .tile-label {
  color: rgba(246, 240, 228, 0.75);
}

.tile-price {
  font-family: "Oswald", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink-900);
  margin-bottom: 0.2rem;
}

.plan-tile.selected .tile-price {
  color: var(--sand-50);
}

.tile-price span {
  font-size: 0.85rem;
  font-weight: 400;
}

.tile-note {
  font-size: 0.78rem;
  color: var(--ink-700);
  line-height: 1.3;
}

.plan-tile.selected .tile-note {
  color: rgba(246, 240, 228, 0.7);
}

.tile-savings {
  display: inline-block;
  font-family: "Oswald", sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(90, 102, 88, 0.12);
  color: var(--accent-green);
  padding: 0.15rem 0.4rem;
  margin-top: 0.25rem;
}

.plan-tile.selected .tile-savings {
  background: rgba(246, 240, 228, 0.18);
  color: var(--sand-50);
}

.plan-type-note {
  font-size: 0.88rem;
  color: var(--ink-700);
  margin-bottom: 0.85rem;
  font-style: italic;
}

/* ─── Start date step ────────────────────────────────────── */

.start-date-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.date-picker-wrap {
  display: none;
  margin-bottom: 1.25rem;
}

.date-picker-wrap.visible {
  display: block;
}

.date-picker-wrap input[type="date"] {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: "Public Sans", sans-serif;
  font-size: 0.95rem;
  border: 1px solid var(--line);
  background: #fffdf9;
  color: var(--ink-900);
  appearance: none;
}

.date-picker-wrap input[type="date"]:focus {
  outline: none;
  border-color: var(--accent-green);
}

/* ─── Payment step ───────────────────────────────────────── */

.checkout-section-head {
  font-family: "Oswald", sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-700);
  margin-bottom: 0.85rem;
}

.checkout-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.checkout-fields-grid.full {
  grid-template-columns: 1fr;
}

.checkout-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.checkout-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-700);
}

.checkout-field input {
  padding: 0.7rem 0.9rem;
  font-family: "Public Sans", sans-serif;
  font-size: 0.95rem;
  border: 1px solid var(--line);
  background: #fffdf9;
  color: var(--ink-900);
  width: 100%;
}

.checkout-field input:focus {
  outline: none;
  border-color: var(--accent-green);
}

.checkout-field input.error {
  border-color: #c0392b;
}

.phone-input-wrap {
  display: flex;
  border: 1px solid var(--line);
  background: #fffdf9;
  position: relative;
}

/* ─── Custom country-code dropdown ──────────────────────── */

.cc-wrap {
  flex-shrink: 0;
}

.cc-btn {
  height: 100%;
  padding: 0.7rem 0.65rem;
  font-family: "Public Sans", sans-serif;
  font-size: 0.88rem;
  color: var(--ink-900);
  background: transparent;
  border: none;
  border-right: 1px solid var(--line);
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.cc-iso {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-700);
  letter-spacing: 0.04em;
}

.cc-chevron {
  font-size: 0.7rem;
  color: var(--ink-500);
  margin-left: 0.1rem;
}

.cc-dropdown {
  display: none;
  position: fixed;
  max-height: 220px;
  background: var(--sand-50);
  border: 1px solid var(--line);
  z-index: 1000;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(23, 20, 17, 0.12);
}

.cc-dropdown.open {
  display: flex;
}

.cc-search {
  padding: 0.5rem 0.75rem;
  font-family: "Public Sans", sans-serif;
  font-size: 0.85rem;
  border: none;
  border-bottom: 1px solid var(--line);
  outline: none;
  background: var(--sand-100);
  color: var(--ink-900);
  flex-shrink: 0;
}

.cc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-y: auto;
  flex: 1;
}

.cc-list li {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink-900);
}

.cc-list li:hover {
  background: var(--sand-100);
}

.cc-list-iso {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-500);
  letter-spacing: 0.04em;
  min-width: 22px;
  flex-shrink: 0;
}

.cc-list-code {
  margin-left: auto;
  color: var(--ink-500);
  font-size: 0.82rem;
  flex-shrink: 0;
}

.phone-input-wrap input {
  border: none;
  background: transparent;
  padding: 0.7rem 0.9rem;
  flex: 1;
  font-family: "Public Sans", sans-serif;
  font-size: 0.95rem;
  color: var(--ink-900);
  outline: none;
  min-width: 0;
}

.phone-input-wrap:focus-within {
  border-color: var(--accent-green);
}

.phone-input-wrap.error {
  border-color: #c0392b;
}

/* ─── Payment method tabs ────────────────────────────────── */

.pay-method-tabs {
  display: flex;
  border: 1px solid var(--line);
  margin-bottom: 1.25rem;
}

.pay-method-tab {
  flex: 1;
  padding: 0.65rem 0.75rem;
  font-family: "Oswald", sans-serif;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: none;
  border: none;
  color: var(--ink-700);
  cursor: pointer;
  transition: background 160ms, color 160ms;
}

.pay-method-tab + .pay-method-tab {
  border-left: 1px solid var(--line);
}

.pay-method-tab.active {
  background: var(--ink-900);
  color: var(--sand-50);
}

/* ─── ABA PayWay pay button note ─────────────────────────── */

.aba-pay-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--ink-500);
  letter-spacing: 0.03em;
  margin-top: 0.25rem;
}

/* ─── Order summary bar ──────────────────────────────────── */

.order-summary-bar {
  background: var(--sand-100);
  border: 1px solid var(--line);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.order-summary-desc {
  font-size: 0.88rem;
  color: var(--ink-700);
}

.order-summary-price {
  font-family: "Oswald", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink-900);
}

/* ─── Checkout actions ───────────────────────────────────── */

.checkout-terms-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-700);
  cursor: pointer;
}
.checkout-terms-label input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 0.15rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--accent-green);
  cursor: pointer;
}
.checkout-terms-label a {
  color: var(--accent-green);
  text-decoration: underline;
}

.checkout-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.btn-checkout-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.85rem 1.5rem;
  font-family: "Oswald", sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--accent-green);
  background: var(--accent-green);
  color: var(--sand-50);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.btn-checkout-primary:hover {
  transform: translateY(-2px);
}

.btn-checkout-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.checkout-form-note {
  font-size: 0.8rem;
  color: var(--ink-700);
  text-align: center;
  line-height: 1.5;
}

/* ─── Form status ────────────────────────────────────────── */

.checkout-form-status {
  font-size: 0.85rem;
  color: #c0392b;
  text-align: center;
  min-height: 1.25rem;
}

/* ─── Success state ──────────────────────────────────────── */

.checkout-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem 2rem;
  gap: 0.6rem;
}

.success-icon-wrap {
  width: 64px;
  height: 64px;
  background: var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.success-icon-wrap svg {
  width: 28px;
  height: 28px;
  stroke: var(--sand-50);
  stroke-width: 2.5;
  fill: none;
}

.success-heading {
  font-family: "Oswald", sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-900);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.success-sub {
  font-size: 0.95rem;
  color: var(--ink-700);
  max-width: 300px;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.success-note {
  font-size: 0.82rem;
  color: var(--ink-700);
  font-style: italic;
}

.btn-success-close {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  font-family: "Oswald", sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--line);
  background: none;
  color: var(--ink-900);
  cursor: pointer;
  transition: background 160ms;
}

.btn-success-close:hover {
  background: var(--sand-100);
}

/* ─── Plan summary bar (membership steps 2–4) ───────────── */

.plan-summary-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--sand-100);
  border: 1px solid var(--line);
  padding: 0.7rem 0.9rem;
  margin-bottom: 1rem;
}

.plan-summary-check {
  font-family: "Oswald", sans-serif;
  font-size: 0.85rem;
  color: var(--accent-green);
  flex-shrink: 0;
}

.plan-summary-text {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.plan-summary-name {
  font-family: "Oswald", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-900);
}

.plan-summary-desc {
  font-size: 0.82rem;
  color: var(--ink-700);
}

/* ─── Drop-in tile includes list ─────────────────────────── */

.tile-includes {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-top: 1px solid var(--line);
  padding-top: 0.5rem;
}

.plan-tile.selected .tile-includes {
  border-top-color: rgba(246, 240, 228, 0.25);
}

.tile-includes li {
  font-size: 0.78rem;
  color: var(--ink-700);
  line-height: 1.3;
}

.tile-includes li::before {
  content: "· ";
  color: var(--accent-green);
}

.plan-tile.selected .tile-includes li {
  color: rgba(246, 240, 228, 0.8);
}

.plan-tile.selected .tile-includes li::before {
  color: rgba(246, 240, 228, 0.55);
}

/* ─── Drop-in modal specifics ────────────────────────────── */

.dropin-step-intro {
  font-size: 0.95rem;
  color: var(--ink-700);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* ─── Responsive ─────────────────────────────────────────── */

@media (max-width: 900px) {
  .pricing-grid-v2 {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .beginner-callout {
    grid-column: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .beginner-features {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-card-v2.featured,
  .pricing-card-v2.open-gym-card {
    grid-column: 1;
    grid-row: auto;
  }

  .pricing-section-v2 .program-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .dropin-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .checkout-body {
    padding: 1.25rem 1rem;
  }

  .checkout-card {
    max-width: 100%;
    min-height: auto;
  }

  .plan-tiles {
    grid-template-columns: 1fr;
  }

  .plan-tiles-3 {
    grid-template-columns: 1fr;
  }

  .start-date-tiles {
    grid-template-columns: 1fr;
  }

  .checkout-fields-grid {
    grid-template-columns: 1fr;
  }

  .card-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .checkout-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .checkout-card {
    max-height: 92vh;
    overflow-y: auto;
  }
}
