/**
 * Ionfit Pro Drop — tema propio (no clon de compact-cool).
 * Depende de ../styles.css; solo sobrescribe bajo .theme-ionfit-pro
 * Fuentes: Bebas Neue + Rubik (cargadas en index.html).
 */

.theme-ionfit-pro {
  --bg: #070a0e;
  --bg-elevated: #0f1419;
  --surface: #121a22;
  --text: #e8f4fc;
  --text-muted: #7a9aad;
  --accent: #06e7ff;
  --accent-dim: rgba(6, 231, 255, 0.12);
  --accent-hover: #5ef0ff;
  --accent-text: #031014;
  --border: rgba(6, 231, 255, 0.14);
  --radius: 12px;
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Rubik", system-ui, sans-serif;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  --glow: 0 0 60px rgba(6, 231, 255, 0.15);
}

.theme-ionfit-pro.layout-focus {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 100% 60% at 80% -10%, rgba(6, 231, 255, 0.14), transparent 50%),
    radial-gradient(ellipse 80% 50% at 0% 40%, rgba(15, 80, 100, 0.25), transparent 45%),
    linear-gradient(180deg, #070a0e 0%, #0a1018 100%);
}

.theme-ionfit-pro a {
  color: var(--accent);
}

.theme-ionfit-pro .top-offer-bar {
  background: linear-gradient(90deg, rgba(6, 231, 255, 0.18), rgba(6, 231, 255, 0.05));
  border-bottom-color: var(--border);
  color: var(--accent);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.theme-ionfit-pro .urgency {
  background: linear-gradient(90deg, rgba(255, 77, 106, 0.12), rgba(6, 231, 255, 0.08));
  color: #ffb8c3;
}

.theme-ionfit-pro .urgency::before {
  background: #ff4d6a;
}

.theme-ionfit-pro header.site-header {
  border-bottom-color: var(--border);
  background: rgba(7, 10, 14, 0.85);
  backdrop-filter: blur(12px);
}

.theme-ionfit-pro .logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.06em;
  color: var(--text);
}

.theme-ionfit-pro .cta-mini {
  border-radius: 999px;
  padding: 0.5rem 1.15rem;
  font-weight: 600;
  background: var(--accent);
  color: var(--accent-text) !important;
  text-decoration: none !important;
  box-shadow: var(--glow);
}

.theme-ionfit-pro .hero.hero--focus {
  padding: 2.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.theme-ionfit-pro .hero.hero--focus::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(6, 231, 255, 0.04) 100%);
  pointer-events: none;
}

.theme-ionfit-pro .hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .theme-ionfit-pro .hero-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
  }
}

.theme-ionfit-pro .hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.theme-ionfit-pro .hero-prehead {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.theme-ionfit-pro .lead {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 36ch;
}

.theme-ionfit-pro .hero-bullets li::marker {
  color: var(--accent);
}

.theme-ionfit-pro .price-anchor {
  margin: 1rem 0 0.5rem;
}

.theme-ionfit-pro .price-old {
  opacity: 0.65;
  text-decoration: line-through;
}

.theme-ionfit-pro .price-badge {
  background: rgba(255, 77, 106, 0.2);
  color: #ffb8c3;
  border: 1px solid rgba(255, 77, 106, 0.35);
}

.theme-ionfit-pro .price-row .price {
  font-family: var(--font-display);
  font-size: 2.25rem;
  letter-spacing: 0.03em;
  color: var(--accent);
}

.theme-ionfit-pro .price-note {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.theme-ionfit-pro .btn-primary {
  background: linear-gradient(145deg, #06e7ff, #00b8d4);
  color: var(--accent-text) !important;
  border: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.95rem 1.75rem;
  box-shadow: var(--glow);
  text-decoration: none !important;
}

.theme-ionfit-pro .btn-primary:hover {
  filter: brightness(1.08);
}

.theme-ionfit-pro .btn-ghost {
  border-radius: 999px;
  border-color: var(--border);
  color: var(--text);
}

.theme-ionfit-pro .hero-chip {
  background: var(--surface);
  border: 1px solid var(--border);
}

.theme-ionfit-pro .hero-chip-t {
  color: var(--accent);
}

.theme-ionfit-pro .hero-visual--media img {
  border-radius: 20px;
  box-shadow: var(--shadow), var(--glow);
  border: 1px solid var(--border);
}

.theme-ionfit-pro .hero-trust-line {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Packs = tallas */
.theme-ionfit-pro .packs-section {
  background: linear-gradient(180deg, transparent, rgba(6, 231, 255, 0.03));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.theme-ionfit-pro .packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

@media (min-width: 700px) {
  .theme-ionfit-pro .packs-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.theme-ionfit-pro .pack-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.theme-ionfit-pro .pack-card--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--glow);
}

.theme-ionfit-pro .pack-img-wrap {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.theme-ionfit-pro .pack-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.theme-ionfit-pro .pack-badge {
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  font-size: 0.7rem;
}

.theme-ionfit-pro .pack-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  margin: 0.5rem 0 0;
}

.theme-ionfit-pro .pack-qty {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0.15rem 0 0.5rem;
}

.theme-ionfit-pro .pack-old {
  display: block;
  font-size: 0.8rem;
  opacity: 0.55;
}

.theme-ionfit-pro .pack-price {
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1rem;
}

.theme-ionfit-pro .pack-card .btn-primary {
  margin-top: auto;
  font-size: 0.85rem;
  padding: 0.65rem 0.5rem;
}

.theme-ionfit-pro .pack-qty-stepper {
  background: rgba(6, 231, 255, 0.06);
  border-color: var(--border);
}

.theme-ionfit-pro .pack-qty-stepper-label {
  color: var(--text-muted);
}

.theme-ionfit-pro .pack-stepper-btn:hover {
  background: var(--accent);
  color: var(--accent-text);
}

.theme-ionfit-pro .section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.theme-ionfit-pro .section-sub {
  color: var(--text-muted);
}

.theme-ionfit-pro .stats-strip {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.theme-ionfit-pro .stat-value {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.75rem;
}

.theme-ionfit-pro .spec-icon-card {
  background: var(--surface);
  border: 1px solid var(--border);
}

.theme-ionfit-pro .benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.theme-ionfit-pro .benefit-card h3 {
  color: var(--accent);
  font-size: 1rem;
}

.theme-ionfit-pro .steps--inline .step-num {
  background: var(--accent);
  color: var(--accent-text);
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.theme-ionfit-pro .t-card {
  background: var(--surface);
  border: 1px solid var(--border);
}

.theme-ionfit-pro details {
  border-color: var(--border);
  background: var(--bg-elevated);
}

.theme-ionfit-pro .payments-section {
  border-top: 1px solid var(--border);
}

.theme-ionfit-pro .pay-chip {
  border-color: var(--border);
}

.theme-ionfit-pro .guarantee {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.theme-ionfit-pro .final-cta {
  background: linear-gradient(180deg, rgba(6, 231, 255, 0.06), transparent);
  border-top: 1px solid var(--border);
}

.theme-ionfit-pro .sticky-cta {
  background: rgba(7, 10, 14, 0.92);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.theme-ionfit-pro .sticky-cta .btn-primary {
  flex: 1;
  text-align: center;
}

.theme-ionfit-pro .mini-price {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.theme-ionfit-pro footer {
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.theme-ionfit-pro .media-strip .section-title {
  margin-bottom: 0.5rem;
}

.theme-ionfit-pro .media-still img {
  border-radius: 14px;
  border: 1px solid var(--border);
}

/* Thank you page */
body.theme-ionfit-pro.thank-you-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.theme-ionfit-pro .thank-you-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow);
}
