/*
 * Gades LP styles — extracted from combo-router.php inline <style> block.
 * Loaded by combo-router.php for every combo LP. Edit here, not in PHP.
 */

:root {
    --bg-primary: #0a0a0c;
    --bg-card: #131318;
    --bg-elevated: #1a1a22;
    --text-primary: #f0eff4;
    --text-secondary: #9894a3;
    --text-muted: #6b6779;
    --accent: #c8a44e;
    --accent-hover: #ddb94f;
    --accent-glow: rgba(200, 164, 78, 0.15);
    --green: #34d399;
    --green-bg: rgba(52, 211, 153, 0.1);
    --red-strike: #ef4444;
    --whatsapp: #25D366;
    --whatsapp-hover: #1ebe57;
    --radius: 12px;
    --radius-sm: 8px;
    --font-display: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 80px;
}

/* Hide floating cart on combo LP — the CTA bar replaces it */
.floating-cart { display: none !important; }
/* Also hide the default WhatsApp bubble — we have our own CTA */
.whatsapp-float { display: none !important; }

/* LP toast — independent of floating cart */
.lp-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: var(--bg-elevated);
    border: 1px solid var(--accent);
    color: var(--text-primary);
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    z-index: 9999;
    transition: transform 0.3s ease;
    text-align: center;
    max-width: 90%;
}
.lp-toast.visible {
    transform: translateX(-50%) translateY(0);
}

/* =========== TOP BAR =========== */
.top-bar {
    background: var(--accent);
    color: #000;
    text-align: center;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-body);
    letter-spacing: 0.02em;
}
.top-bar span {
    display: inline-block;
    animation: pulse-bar 2s ease-in-out infinite;
}
@keyframes pulse-bar { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }

/* =========== HEADER =========== */
.lp-header {
    display: flex;
    justify-content: center;
    padding: 1px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.lp-header img { height: 50px; opacity: 0.5; }

/* =========== HERO =========== */
.hero {
    padding: 32px 20px 40px;
    text-align: center;
    position: relative;
    max-width: 640px;
    margin: 0 auto;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200,164,78,0.2), transparent);
}
.hero-badge {
    display: inline-block;
    background: var(--accent-glow);
    border: 1px solid rgba(200,164,78,0.25);
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(28px, 7vw, 42px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 380px;
    margin: 0 auto 28px;
    line-height: 1.5;
}

/* =========== VIDEO / HERO IMAGE =========== */
.hero-image-wrap {
    position: relative;
    max-width: 320px;
    margin: 0 auto 32px;
}
.hero-image-wrap video,
.hero-image-wrap img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    position: relative;
    z-index: 1;
}
.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(200,164,78,0.12) 0%, transparent 70%);
    z-index: 0;
    filter: blur(40px);
}
.lp-video-coming {
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 40px 0;
}

/* =========== PRICING =========== */
.price-block { text-align: center; margin-bottom: 28px; }
.price-original {
    font-size: 16px;
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-color: var(--red-strike);
    margin-bottom: 4px;
}
.price-now {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}
.price-now small {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-left: 4px;
}
.price-savings {
    display: inline-block;
    background: var(--green-bg);
    color: var(--green);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    margin-top: 8px;
}
.price-per-product {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* =========== CTA GROUP =========== */
.cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 360px;
    margin: 0 auto;
    padding: 0 20px;
}
.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--accent);
    color: #000;
    border: none;
    padding: 16px 24px;
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    letter-spacing: 0.01em;
}
.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(200,164,78,0.25);
}
.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--whatsapp);
    border: 1.5px solid rgba(37,211,102,0.3);
    padding: 14px 24px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.btn-whatsapp:hover {
    background: rgba(37,211,102,0.08);
    border-color: var(--whatsapp);
}
.wa-svg { width: 18px; height: 18px; fill: currentColor; }

/* =========== PAIN / PROBLEM SECTION =========== */
.pain-section {
    padding: 48px 20px;
    max-width: 640px;
    margin: 0 auto;
}
.section-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 12px;
}
.pain-section h2 {
    font-family: var(--font-display);
    font-size: clamp(22px, 5.5vw, 30px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}
.pain-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.pain-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--bg-card);
    padding: 18px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.04);
}
.pain-icon {
    font-size: 22px;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239,68,68,0.1);
    border-radius: var(--radius-sm);
}
.pain-item h3 { font-family: var(--font-display); font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.pain-item p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* =========== INCLUDED PRODUCTS =========== */
.included-section {
    padding: 48px 20px;
    border-top: 1px solid rgba(255,255,255,0.04);
    max-width: 640px;
    margin: 0 auto;
}
.included-section h2 {
    font-family: var(--font-display);
    font-size: clamp(22px, 5.5vw, 30px);
    font-weight: 700;
    margin-bottom: 24px;
}
.included-grid { display: flex; flex-direction: column; gap: 12px; }
.included-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-card);
    padding: 14px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.04);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s;
}
.included-item:hover { border-color: rgba(255,255,255,0.1); }
.included-item img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: #fff;
    padding: 6px;
}
.included-item-info { flex: 1; min-width: 0; }
.included-item-info h3 { font-family: var(--font-display); font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.included-item-info .item-price { font-size: 13px; color: var(--text-muted); }
.included-item-desc {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.45;
    margin-top: 2px;
}

/* Variant badge on included item */
.included-variant-badge {
    display: inline-block;
    background: var(--accent-glow);
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 50px;
    margin-top: 4px;
    cursor: pointer;
    transition: all 0.2s;
}
.included-variant-badge:hover { background: rgba(200,164,78,0.25); }
.included-variant-badge.selected {
    background: var(--green-bg);
    color: var(--green);
}

/* Variant-selected state */
.included-item.variant-selected { border-color: rgba(200,164,78,0.3); }

.included-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    background: var(--accent-glow);
    border: 1px solid rgba(200,164,78,0.2);
    border-radius: var(--radius);
    margin-top: 12px;
}
.included-total span:first-child { font-weight: 600; color: var(--accent); }
.included-total span:last-child { font-family: var(--font-display); font-weight: 700; font-size: 18px; }

/* =========== MIDPAGE IMAGES (between Pain and Included) =========== */
.midpage-image-section {
    max-width: 640px;
    margin: 0 auto;
    padding: 24px 20px 8px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.midpage-image-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.04);
}
.midpage-image-wrap img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;        /* let the image take its natural height */
    object-fit: contain;     /* if max-height kicks in anywhere, fit not crop */
}

.midpage-image-wrap video {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 480px;
    margin: 0 auto;
    object-fit: contain;
    background: #0d0d12;
}
.midpage-image-caption {
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: -6px;
    line-height: 1.5;
}

/* =========== INCLUDED — intro paragraph + showcase media =========== */
.included-intro {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 560px;
}
.included-media {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 18px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.04);
}
.included-media img,
.included-media video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: cover;
}

/* =========== BENEFITS =========== */
.benefits-section {
    padding: 48px 20px;
    max-width: 640px;
    margin: 0 auto;
}
.benefits-section h2 {
    font-family: var(--font-display);
    font-size: clamp(22px, 5.5vw, 30px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.benefit-card {
    background: var(--bg-card);
    padding: 20px 16px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.04);
}
.benefit-icon { font-size: 28px; margin-bottom: 10px; display: block; }
.benefit-card h3 { font-family: var(--font-display); font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.benefit-card p { font-size: 12px; color: var(--text-secondary); line-height: 1.4; }

/* =========== HOWTO STEPS =========== */
.howto-section {
    padding: 48px 20px;
    max-width: 640px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.howto-section h2 {
    font-family: var(--font-display);
    font-size: clamp(22px, 5.5vw, 30px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}
.howto-steps { display: flex; flex-direction: column; gap: 16px; }
.howto-step { display: flex; gap: 16px; align-items: flex-start; }
.howto-number {
    flex-shrink: 0;
    width: 36px; height: 36px;
    background: var(--accent-glow);
    border: 1px solid rgba(200,164,78,0.3);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    color: var(--accent);
}
.howto-step-body { flex: 1; min-width: 0; }
.howto-step h3 { font-family: var(--font-display); font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.howto-step p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.howto-step-media {
    margin-top: 12px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.04);
}
.howto-step-media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
}

.howto-step-media video {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 280px;
    margin: 0 auto;
    object-fit: contain;
    background: #0d0d12;
}

/* =========== INSOLES UPSELL =========== */
.lp-upsell {
    padding: 48px 20px;
    max-width: 640px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.lp-upsell-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.lp-upsell-header .section-label { margin-bottom: 0; }
.lp-upsell-subtitle {
    font-family: var(--font-display);
    font-size: clamp(20px, 5vw, 26px);
    font-weight: 700;
    margin-bottom: 20px;
}
.lp-upsell-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lp-upsell-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--radius);
    padding: 14px;
    transition: border-color 0.2s;
}
.lp-upsell-card:hover { border-color: rgba(255,255,255,0.1); }
.lp-upsell-card.added { border-color: rgba(52,211,153,0.3); background: rgba(52,211,153,0.04); }
.lp-upsell-img {
    width: 56px; height: 56px;
    background: #fff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.lp-upsell-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.lp-upsell-info { flex: 1; min-width: 0; }
.lp-upsell-name { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--text-primary); }
.lp-upsell-price { font-size: 13px; color: var(--green); font-weight: 600; margin-top: 2px; }
.lp-upsell-add {
    background: var(--accent-glow);
    color: var(--accent);
    border: 1px solid rgba(200,164,78,0.25);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    font-family: var(--font-body);
}
.lp-upsell-add:hover { background: rgba(200,164,78,0.25); }
.lp-upsell-add.added {
    background: var(--green-bg);
    color: var(--green);
    border-color: rgba(52,211,153,0.25);
}

/* =========== TRUST =========== */
.trust-section {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.04);
    max-width: 640px;
    margin: 0 auto;
}
.trust-items { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.trust-icon { font-size: 24px; }
.trust-item span:last-child { font-size: 12px; color: var(--text-secondary); font-weight: 500; }

/* =========== FAQ =========== */
.faq-section {
    padding: 48px 20px;
    background: var(--bg-card);
    border-top: 1px solid rgba(255,255,255,0.04);
}
.faq-inner {
    max-width: 640px;
    margin: 0 auto;
}
.faq-section h2 {
    font-family: var(--font-display);
    font-size: clamp(22px, 5.5vw, 30px);
    font-weight: 700;
    margin-bottom: 24px;
}
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.06); }
.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    padding: 16px 0;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question::after { content: '+'; font-size: 20px; color: var(--accent); transition: transform 0.2s; }
.faq-question.open::after { content: '\2212'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; padding-bottom: 16px; }

/* =========== FINAL CTA =========== */
.final-cta {
    padding: 48px 20px 120px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-card) 100%);
}
.final-cta-inner { max-width: 640px; margin: 0 auto; }
.final-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 6vw, 34px);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.final-cta p { color: var(--text-secondary); margin-bottom: 28px; font-size: 15px; }

/* =========== STICKY BAR =========== */
.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 12, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(200,164,78,0.15);
    padding: 12px 16px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.sticky-bar.visible { transform: translateY(0); }
.sticky-price { flex-shrink: 0; }
.sticky-price .price-sm { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.sticky-price .price-sm small { font-size: 12px; font-weight: 400; color: var(--text-secondary); }
.sticky-bar .btn-primary { flex: 1; padding: 12px 16px; font-size: 14px; }
.sticky-bar .btn-wa-mini {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1.5px solid rgba(37,211,102,0.3);
    border-radius: var(--radius);
    color: var(--whatsapp);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.sticky-bar .btn-wa-mini:hover { background: rgba(37,211,102,0.08); border-color: var(--whatsapp); }
.sticky-bar .btn-wa-mini svg { width: 20px; height: 20px; fill: currentColor; }

/* =========== ANIMATIONS =========== */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* =========== RESPONSIVE =========== */
@media (min-width: 640px) {
    .hero { padding: 48px 32px 56px; }
    .hero-image-wrap { max-width: 360px; }
    .pain-section, .benefits-section, .howto-section, .included-section, .midpage-image-section, .trust-section, .lp-upsell, .final-cta { padding-left: 32px; padding-right: 32px; }
    .cta-group { padding: 0; }
    .benefits-grid { gap: 16px; }
}
@media (min-width: 768px) {
    .hero h1 { font-size: 42px; }
    .pain-list { flex-direction: row; flex-wrap: wrap; }
    .pain-item { flex: 1; min-width: 280px; }
    .benefits-grid { grid-template-columns: repeat(4, 1fr); }
    .cta-group { flex-direction: row; }
    .btn-primary { flex: 1; white-space: nowrap; }
    .btn-whatsapp { flex: 0 0 auto; }
    .sticky-bar {
        max-width: 480px;
        left: 50%;
        transform: translateX(-50%) translateY(100%);
        border-radius: var(--radius) var(--radius) 0 0;
        border-left: 1px solid rgba(200,164,78,0.15);
        border-right: 1px solid rgba(200,164,78,0.15);
    }
    .sticky-bar.visible { transform: translateX(-50%) translateY(0); }
}
/* LC1 — color/variant picker (added 2026-06-01). Markup in lp/router.php;
   without these rules the .color-dot buttons have no size and render invisible. */
.color-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.color-dot {
    width: 30px; height: 30px; border-radius: 50%; padding: 0;
    border: 2px solid rgba(255,255,255,0.18); cursor: pointer; flex-shrink: 0;
    -webkit-appearance: none; appearance: none;
    transition: transform .15s, box-shadow .15s, border-color .15s;
}
.color-dot:hover { transform: scale(1.1); }
.color-dot.selected {
    box-shadow: 0 0 0 2px var(--bg-card, #131318), 0 0 0 4px var(--accent, #c8a44e);
    transform: scale(1.12);
}
.color-name { display: block; margin-top: 10px; font-size: 13px;
    font-weight: 600; color: var(--text-secondary, #9894a3); }
