/* ===== SHARED NAV ACTIVE STATE ===== */
.nav-active {
  color: var(--color-accent) !important;
}

/* ===== HOME HERO ===== */
.home-hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-32) var(--space-4) var(--space-16);
  overflow: hidden;
}

.home-hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(123, 131, 235, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(249, 168, 212, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(45, 212, 191, 0.06) 0%, transparent 50%),
    var(--color-bg);
}

.home-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.home-hero-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

.home-hero-title em {
  font-style: normal;
  color: var(--color-accent);
}

.home-hero-sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

/* ===== DIVISIONS — EDITORIAL ROW LAYOUT ===== */
.divisions-editorial {
  background: var(--color-bg);
  padding-bottom: var(--space-2);
}

.divisions-editorial-header {
  padding-top: var(--space-16);
  padding-bottom: var(--space-10);
}

.division-row {
  display: block;
  position: relative;
  text-decoration: none;
  color: var(--color-text);
  overflow: hidden;
  border-top: 1px solid var(--color-border);
  min-height: 180px;
  transition: background 0.4s ease;
}

.division-row:last-child {
  border-bottom: 1px solid var(--color-border);
}

/* Photo bg — hidden by default, revealed on hover */
.division-row-bg {
  position: absolute;
  inset: 0;
  background-image: var(--row-img);
  background-size: cover;
  background-position: var(--row-img-position, center);
  opacity: 0.6;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.division-row-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.72);
}

.division-row:hover .division-row-bg {
  opacity: 1;
}

@media (max-width: 768px) {
  .division-row-bg {
    opacity: 0.7;
  }
}

.division-row-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-8) var(--space-5);
  max-width: var(--content-default);
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.division-row:hover .division-row-content {
  transform: translateX(6px);
}

@media (min-width: 768px) {
  .division-row-content {
    padding: var(--space-12) var(--space-8);
    gap: var(--space-12);
  }
}

.division-row-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
  opacity: 0.25;
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: -0.04em;
  transition: opacity 0.3s ease;
  min-width: 44px;
}

@media (min-width: 768px) {
  .division-row-num {
    font-size: 3rem;
    min-width: 60px;
  }
}

.division-row:hover .division-row-num {
  opacity: 0.6;
}

.division-row-body {
  flex: 1;
  min-width: 0;
}

.division-row-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  margin-bottom: var(--space-2);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .division-row-title {
    font-size: var(--text-2xl);
  }
}

.division-row-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 480px;
}

.division-row-cta {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
  display: none;
}

@media (min-width: 640px) {
  .division-row-cta {
    display: block;
  }
}

.division-row:hover .division-row-cta {
  opacity: 1;
  transform: translateX(0);
}

/* ===== ABOUT LLC ===== */
.about-llc {
  background: var(--color-bg);
}

.about-llc-grid {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 768px) {
  .about-llc-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-16);
  }
}

.about-llc-text {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.about-llc-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.stat-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-4);
  text-align: center;
}

.stat-block-number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: var(--space-1);
}

.stat-block:nth-child(2) .stat-block-number { color: var(--color-green-light); }
.stat-block:nth-child(3) .stat-block-number { color: var(--color-terra); }
.stat-block:nth-child(4) .stat-block-number { color: var(--color-accent); }

.stat-block-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== CTA BOX ===== */
.cta-section {
  background: var(--color-surface);
}

.notify-section {
  background: var(--color-bg);
}

.cta-box {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-12) var(--space-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-mex);
}

.cta-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  margin-bottom: var(--space-3);
}

.cta-desc {
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

/* ===== MERCH HERO ===== */
.merch-hero {
  padding: calc(var(--space-32) + var(--space-8)) var(--space-4) var(--space-12);
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(249, 168, 212, 0.08) 0%, transparent 60%),
    var(--color-bg);
}

.merch-hero-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: var(--space-4);
}

.merch-hero-title em {
  font-style: normal;
  color: var(--color-green-light);
}

.merch-hero-sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* ===== PRODUCTS GRID ===== */
.merch-products {
  background: var(--color-surface);
}

.products-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  border-color: rgba(249, 168, 212, 0.2);
  box-shadow: 0 8px 32px rgba(123, 131, 235, 0.06);
}

.product-image {
  aspect-ratio: 1/1;
  background: var(--color-surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text-faint);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.product-info {
  padding: var(--space-5) var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.product-price {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-green-light);
  margin-bottom: var(--space-2);
}

.product-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--space-4);
}

.product-btn {
  width: 100%;
  justify-content: center;
  cursor: not-allowed;
  opacity: 0.6;
}

.product-btn:not([disabled]) {
  cursor: pointer;
  opacity: 1;
}

/* Stripe notice */
.stripe-notice {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-10);
  padding: var(--space-4) var(--space-5);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.stripe-notice strong {
  color: var(--color-accent);
}

/* ===== HOME HERO WITH PHOTO ===== */
.home-hero--photo {
  position: relative;
}

.home-hero--photo .home-hero-bg {
  background:
    linear-gradient(to bottom, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.7) 50%, rgba(10,10,10,0.95) 100%),
    url('./assets/gallery/DSC09124-2.jpg') center center / cover no-repeat;
}

/* ===== GALLERY ===== */
.gallery-section {
  background: var(--color-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
  cursor: pointer;
}

.gallery-item--wide {
  grid-column: span 2;
  aspect-ratio: 5/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.3) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 10, 10, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: var(--space-2);
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: var(--space-4);
  opacity: 0.5;
  transition: opacity 0.2s;
  font-size: 2rem;
}

.lightbox-nav:hover {
  opacity: 1;
}

.lightbox-nav--prev { left: var(--space-2); }
.lightbox-nav--next { right: var(--space-2); }

/* ===== EVENTS PAGE ===== */
.events-hero {
  padding: calc(var(--space-32) + var(--space-8)) var(--space-4) var(--space-10);
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(45, 212, 191, 0.07) 0%, transparent 60%),
    var(--color-bg);
}

.events-hero-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.events-hero-sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
}

/* ── Flyer section ── */
.event-flyer-section {
  background: var(--color-surface);
}

.event-flyer-wrap {
  max-width: 480px;
  margin: var(--space-8) auto 0;
}

.event-no-flyer {
  background: var(--color-surface-2);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-16) var(--space-8);
  text-align: center;
  color: var(--color-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.event-flyer-card {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: var(--color-surface-2);
}

.event-flyer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(45, 212, 191, 0.12);
}

.event-flyer-card img {
  width: 100%;
  display: block;
  aspect-ratio: auto;
  object-fit: cover;
}

.event-flyer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  gap: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.event-flyer-footer-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.event-flyer-date {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-text);
}

.event-flyer-address {
  font-size: 12px;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-flyer-directions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-terra);
  flex-shrink: 0;
  white-space: nowrap;
}

/* ── Rules section ── */
.rules-section {
  background: var(--color-bg);
}

.rules-grid {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

@media (min-width: 640px) {
  .rules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .rules-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rule-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
}

.rule-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-accent);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.rule-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.rule-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===== NEXT EVENT BUTTON ===== */
.btn-event {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
  padding: var(--space-3) var(--space-8);
  padding-left: calc(var(--space-8) + 14px);
  background: transparent;
  border: 1.5px solid rgba(45, 212, 191, 0.5);
  border-radius: var(--radius-full);
  color: #2DD4BF;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.3s, background 0.3s, transform 0.2s;
  overflow: hidden;
}

.btn-event:hover {
  border-color: #2DD4BF;
  background: rgba(45, 212, 191, 0.08);
  transform: translateY(-2px);
}

.btn-event-pulse {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2DD4BF;
  animation: eventPulse 2s infinite;
}

@keyframes eventPulse {
  0%   { box-shadow: 0 0 0 0 rgba(45,212,191,0.6); }
  70%  { box-shadow: 0 0 0 7px rgba(45,212,191,0); }
  100% { box-shadow: 0 0 0 0 rgba(45,212,191,0); }
}

/* ===== SOCIAL SECTION ===== */
.social-section {
  background: var(--color-surface);
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .social-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.social-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-5);
  text-decoration: none;
  color: var(--color-text);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.social-card:hover {
  border-color: var(--color-accent-muted);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(123, 131, 235, 0.08);
  color: var(--color-accent);
}

.social-card svg {
  flex-shrink: 0;
  color: var(--color-accent);
}

.social-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  line-height: 1.2;
}

.social-sub {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* ===== FOOTER LINKS ===== */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  margin-bottom: var(--space-3);
}

.footer-links a {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

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

.footer-sms-notice {
  font-size: 10px;
  color: var(--color-text-faint);
  margin-top: var(--space-2);
  letter-spacing: 0.02em;
}

/* ===== SMS CONSENT SECTION ===== */
.sms-consent-section {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: var(--space-8) 0;
}

.sms-consent-box {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  max-width: 720px;
}

.sms-consent-text {
  font-size: 11px;
  color: var(--color-text-faint);
  line-height: 1.7;
}

.sms-consent-text strong {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== CHECKOUT MODAL ===== */
.checkout-overlay {
  position: fixed;
  /* Use dvh so overlay shrinks with the virtual keyboard on mobile */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100dvh;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
  /* Prevent the overlay itself from scrolling / shifting */
  overflow: hidden;
}

.checkout-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 640px) {
  .checkout-overlay {
    align-items: center;
  }
}

.checkout-modal {
  background: #111;
  border: 1px solid #222;
  border-radius: 16px 16px 0 0;
  padding: var(--space-6) var(--space-5) var(--space-8);
  width: 100%;
  max-width: 440px;
  /* Use dvh so modal height respects keyboard shrinking viewport */
  max-height: 92dvh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  /* Smooth scrolling inside the modal */
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.checkout-overlay.active .checkout-modal {
  transform: translateY(0);
}

@media (min-width: 640px) {
  .checkout-modal {
    border-radius: 16px;
  }
}

.checkout-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: var(--space-1);
}
.checkout-close:hover { color: #fff; }

.checkout-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid #222;
}

.checkout-pkg-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
}

.checkout-pkg-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
  color: var(--color-accent);
}

.checkout-modal label {
  display: block;
  font-size: 11px;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: var(--space-4) 0 var(--space-1);
}

.checkout-modal input[type="text"],
.checkout-modal input[type="tel"] {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: var(--space-3) var(--space-3);
  color: #f0f0f0;
  /* Must be at least 16px — prevents iOS auto-zoom on focus which causes the screen jump */
  font-size: 16px;
  outline: none;
}

.checkout-modal input:focus {
  border-color: var(--color-accent);
}

.checkout-addons {
  margin-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.addon-check {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
}

.addon-check input { width: auto; }

.checkout-total {
  margin-top: var(--space-6);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
  text-align: center;
  color: var(--color-text);
}

.checkout-total span { color: var(--color-accent); }

.checkout-continue,
.checkout-pay {
  width: 100%;
  justify-content: center;
  margin-top: var(--space-4);
  padding: var(--space-4);
}

#payment-element {
  margin-bottom: var(--space-4);
}

#payment-message {
  color: var(--color-green-light);
  font-size: var(--text-sm);
  text-align: center;
  margin-bottom: var(--space-3);
  padding: var(--space-2);
  background: rgba(249,168,212,0.08);
  border-radius: 6px;
}

.checkout-success {
  text-align: center;
  padding: var(--space-8) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.checkout-success h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
  color: #2DD4BF;
}

.checkout-success p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  max-width: 300px;
}

.checkout-success-sub a {
  color: var(--color-accent);
}

/* ── Mobile touch highlight for division rows ── */
@media (hover: none) and (pointer: coarse) {
  .division-row:active .division-row-bg {
    opacity: 1;
  }
  .division-row:active .division-row-content {
    transform: translateX(6px);
  }
  .division-row:active .division-row-num {
    color: var(--color-primary);
  }
  .division-row:active .division-row-cta {
    opacity: 1;
    transform: translateX(0);
  }
}
