/* Botones de cantidad en el carrito */
.btn-qty {
    background: rgba(139, 92, 246, 0.15);
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    border-radius: 8px;
    width: 2.6rem;
    height: 2.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 0.3rem;
    user-select: none;
    flex-shrink: 0;
    padding: 0;
}
.btn-qty:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    transform: scale(1.08);
}
.btn-qty:active {
    transform: scale(0.95);
}
.item-qty {
    min-width: 2rem;
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent-primary);
    display: inline-block;
}

/* Card Hover Effects */
.card-product {
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.card-product:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 20px rgba(59, 130, 246, 0.15);
}

.product-image {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
}

.card-product:hover .product-image {
    transform: scale(1.03) rotate(-1deg);
}

.card-product.iptv-card:hover { 
    border-color: rgba(139, 92, 246, 0.5); 
}

.card-product.featured-card {
    background: linear-gradient(145deg, rgba(30, 25, 10, 0.6), rgba(15, 17, 26, 0.8));
    border: 1px solid rgba(245, 158, 11, 0.3);
}
.card-product.featured-card:hover { 
    border-color: var(--accent-gold); 
}

/* === UNIFICACIÓN DE BOTONES DE CARRITO === */
.btn-add-cart, .btn-combo-add, .btn-checkout, .cart-float-btn, .btn-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: clamp(0.5rem, 1vw, 1rem) clamp(1rem, 2vw, 2rem);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    border-radius: 0.7rem;
    font-family: var(--font-main);
    font-weight: 700;
    border: none;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-purple));
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
    touch-action: manipulation;
    gap: 0.5rem;
}
.btn-add-cart:hover, .btn-combo-add:hover, .btn-checkout:hover, .cart-float-btn:hover {
    background: var(--accent-primary);
    box-shadow: 0 4px 16px rgba(59,130,246,0.15);
    transform: translateY(-2px) scale(1.03);
}
.btn-add-cart:disabled, .btn-combo-add:disabled, .btn-checkout:disabled, .cart-float-btn:disabled, .selector-btn:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
    box-shadow: none;
    pointer-events: none;
}
.btn-remove {
    background: none;
    color: var(--accent-danger);
    box-shadow: none;
    min-width: 32px;
    min-height: 32px;
    padding: 0.5rem;
    font-size: 1.2rem;
}
.btn-remove:hover {
    background: rgba(239,68,68,0.08);
    color: #fff;
}
@media (max-width: 768px) {
    .btn-add-cart, .btn-combo-add, .btn-checkout, .cart-float-btn {
        width: 100%;
        font-size: 1rem;
        padding: 1rem;
        min-width: 44px;
        min-height: 44px;
    }
    .btn-remove {
        min-width: 32px;
        min-height: 32px;
        font-size: 1.1rem;
    }
}
@media (max-width: 480px) {
    .btn-add-cart, .btn-combo-add, .btn-checkout, .cart-float-btn {
        font-size: 0.9rem;
        padding: 0.7rem;
    }
    .btn-remove {
        font-size: 1rem;
    }
}

/* SECTION: COMBO BUILDER */
.combo-builder {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.15) 50%, rgba(16, 185, 129, 0.1) 100%), rgba(15, 17, 26, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 1.5rem;
    overflow: hidden;
    min-height: 420px;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.combo-controls { padding: 2.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; }
.combo-step-label { display: block; margin-bottom: 1rem; color: #a5b4fc; font-size: 0.85em; text-transform: uppercase; font-weight: 600; letter-spacing: 0.1em; text-shadow: 0 0 20px rgba(139, 92, 246, 0.5); }

.combo-base-selector { display: flex; gap: 0.75rem; overflow-x: auto; padding-bottom: 1rem; scrollbar-width: none; }
.selector-btn {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    cursor: pointer; white-space: nowrap; font-weight: 600; transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.selector-btn.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.3));
    color: #ffffff;
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.input-hidden { position: absolute; opacity: 0; width: 0; height: 0; }
.tier-list { display: flex; flex-direction: column; gap: 0.75rem; }
.tier-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    cursor: pointer;
    transition: all 0.2s;
}
.input-hidden:checked + .tier-row {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
    border-color: var(--accent-success);
    color: white;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.platform-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0.75rem; }
.check-btn {
    display: flex; align-items: center; justify-content: center;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.08));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 10px;
    cursor: pointer; font-size: 0.9em; text-align: center; height: 100%; transition: all 0.2s;
    color: #c4b5fd;
}
.input-hidden:checked + .check-btn {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-purple));
    border-color: var(--accent-purple);
    color: white;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}
.input-hidden:disabled + .check-btn { opacity: 0.3; cursor: not-allowed; }

.result-bar {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
    padding: 1.5rem 2.5rem;
    border-top: 1px solid rgba(16, 185, 129, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    box-shadow: inset 0 1px 0 rgba(16, 185, 129, 0.2);
}
.btn-combo-add {
    background: linear-gradient(135deg, var(--accent-success), #059669);
    color: #000; border: none; padding: 1rem 2rem; border-radius: 8px;
    font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
    cursor: pointer; display: flex; align-items: center; gap: 0.5rem;
    transition: transform 0.3s;
}
.btn-combo-add:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5); }

.combo-span-full {
    grid-column: 1 / -1;
}

.combo-note {
    font-size: 0.8em;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.combo-base-label {
    font-size: 0.85em;
    color: var(--text-secondary);
}

.combo-base-includes {
    color: white;
    font-weight: 700;
}

.combo-result-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.combo-total-price {
    margin: 0;
    font-size: 1.5rem;
}

/* SECTION: SHOPPING CART (UI) */
.cart-float-btn {
    position: fixed; bottom: 2rem; right: 2rem; width: 65px; height: 65px;
    border-radius: 50%; background: linear-gradient(135deg, var(--accent-primary), var(--accent-purple));
    color: white; border: none; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; cursor: pointer; box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
    z-index: 200000; transition: transform 0.3s, bottom 0.3s;
}

@media (max-width: 768px) {
    .cart-float-btn {
        bottom: 4rem;
        right: 1.25rem;
        width: 55px;
        height: 55px;
        font-size: 1.25rem;
        animation: floatBounce 3s infinite ease-in-out;
    }
    
    @keyframes floatBounce {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-5px); }
    }
}
.cart-float-btn:hover { transform: scale(1.1) rotate(-5deg); }

.cart-badge {
    position: absolute; top: -2px; right: -2px; background: var(--accent-danger);
    color: white; font-family: var(--font-display); font-size: 0.8rem; font-weight: 800;
    width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--bg-void);
}

.cart-sidebar {
    position: fixed; top: var(--header-h, 80px); right: -450px; width: 100%; max-width: 450px; height: calc(100dvh - var(--header-h, 80px));
    background: rgba(10, 11, 16, 0.95); backdrop-filter: blur(25px);
    border-left: 1px solid rgba(255,255,255,0.05); z-index: 200001;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; box-shadow: -15px 0 40px rgba(0,0,0,0.5);
}
.cart-sidebar.open { right: 0; }

.cart-header { 
    position: relative;
    z-index: 2;
    min-height: 4.5rem;
    padding: 1.5rem 4rem 1.25rem 2rem; 
    background: rgba(10, 11, 16, 0.98);
    border-bottom: 1px solid rgba(255,255,255,0.05); 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
}
.cart-header h3 { 
    font-family: var(--font-display); 
    margin: 0;
    flex: 1;
    min-width: 0;
}
.cart-close { 
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    background: rgba(139, 92, 246, 0.2);
    border: 2px solid rgba(139, 92, 246, 0.4);
    color: white; 
    font-size: 2rem; 
    font-weight: 300;
    cursor: pointer; 
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    line-height: 1;
    padding: 0;
    z-index: 300000;
}
.cart-close:hover { 
    background: rgba(139, 92, 246, 0.4);
    border-color: rgba(139, 92, 246, 0.8);
    transform: translateY(-50%) scale(1.15);
}
.cart-close:active { 
    transform: translateY(-50%) scale(0.9);
    background: rgba(139, 92, 246, 0.6);
}

.cart-items { min-height: 0; overflow-y: auto; padding: 1.5rem; overscroll-behavior: contain; }
.cart-item {
    background: rgba(255,255,255,0.05); 
    border-radius: 12px; 
    padding: 1.2rem;
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.cart-item-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.cart-item-header {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.item-name { 
    font-weight: 800; 
    font-family: var(--font-display);
    margin: 0;
    font-size: 1rem;
    line-height: 1.3;
}
.cart-item-details {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.3;
}
.cart-item-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.6rem;
    flex-shrink: 0;
}
.item-price { 
    color: var(--accent-success); 
    font-weight: 800; 
    font-family: var(--font-display);
    font-size: 1.1rem;
}

.cart-footer { 
    padding: 1.5rem 2rem; 
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); 
    background: rgba(0,0,0,0.8);
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    .cart-footer {
        padding-bottom: calc(2rem + env(safe-area-inset-bottom)); 
    }
}

.cart-total-row { display: flex; justify-content: space-between; margin-bottom: 1.5rem; font-family: var(--font-display); font-weight: 800; font-size: 1.2em; }
.btn-checkout {
    width: 100%; padding: 1rem; background: #25D366; color: white; border: none; border-radius: 12px;
    font-weight: 800; cursor: pointer; display: flex; justify-content: center; gap: 0.5rem; align-items: center;
    font-family: var(--font-display); font-size: 1.1rem;
}

.cart-empty-state {
    padding: 1rem;
    color: var(--text-secondary);
}

.cart-terms-row {
    margin: 1rem 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.terms-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.cart-terms-check {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--accent-primary);
}

.cart-terms-copy {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

.cart-terms-link {
    color: var(--accent-primary);
    text-decoration: none;
}

.cart-shipping-notice {
    display: none;
    padding: 0.8rem;
    background: rgba(245, 158, 11, 0.1);
    border-left: 3px solid var(--accent-warning);
    margin: 1rem 0;
    border-radius: 4px;
}

.cart-shipping-notice-copy {
    font-size: 0.8rem;
    color: var(--accent-warning);
    margin: 0;
    line-height: 1.4;
}

.checkout-methods-flex {
    display: none;
    width: 100%;
    margin-top: 1rem;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
}

.paypal-button-container {
    position: relative;
    z-index: 1;
    margin-top: 1rem;
    width: min(100%, 360px);
    margin-inline: auto;
    display: block;
    text-align: center;
    overflow: hidden;
    font-size: 0;
    line-height: 0;
}

.paypal-button-container > div,
.paypal-button-container iframe {
    width: 100% !important;
    margin-inline: auto;
    display: block;
}

.checkout-alt-transfer-msg {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.btn-checkout--paypal-alt {
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
}

.btn-checkout--wa-default {
    margin-top: 1rem;
}

.overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0,0,0,0.6);
    z-index: 200000; 
    opacity: 0; 
    pointer-events: none; 
    visibility: hidden;
    transition: opacity 0.4s, visibility 0s linear 0.4s;
}
.overlay.open { 
    opacity: 1; 
    pointer-events: all; 
    visibility: visible;
    cursor: pointer;
    transition: opacity 0.4s, visibility 0s linear 0s;
}

@media (max-width: 768px) {
    .cart-sidebar {
        width: 100vw;
        max-width: 100vw;
        right: -100vw;
    }

    .cart-header {
        padding: 1.1rem 3.5rem 1rem 1.1rem;
        min-height: 4rem;
    }

    .cart-close {
        right: 0.8rem;
        width: 44px;
        height: 44px;
        font-size: 1.8rem;
    }

    .overlay {
        width: 100vw;
        height: 100dvh;
    }

    .cart-items {
        padding: 1rem;
    }

    .cart-item {
        padding: 1rem;
        gap: 0.75rem;
        border-radius: 10px;
    }

    .item-name {
        font-size: 0.95rem;
    }

    .cart-item-details {
        font-size: 0.75rem;
    }

    .cart-item-right {
        gap: 0.5rem;
    }

    .item-price {
        font-size: 1rem;
    }

    .btn-remove {
        width: 32px;
        height: 32px;
    }

    .cart-footer {
        padding: 1.1rem 1.1rem calc(1.35rem + env(safe-area-inset-bottom));
    }

    .cart-total-row {
        margin-bottom: 1rem;
        font-size: 1.05rem;
    }

    .btn-checkout {
        padding: 0.9rem 1rem;
        font-size: 1rem;
        border-radius: 10px;
    }
}

/* COMPONENT: TOAST NOTIFICATIONS */
.toast-container { 
    position: fixed; 
    top: 1rem; 
    left: 50%; 
    transform: translateX(-50%); 
    z-index: 2147483647;
    display: flex; 
    flex-direction: column; 
    align-items: center;
    gap: 1rem;
    pointer-events: none; 
    width: auto;
    max-width: 95vw;
    perspective: 1000px;
}

.toast {
    pointer-events: auto;
    background: rgba(20, 20, 30, 0.95); border: 1px solid rgba(255,255,255,0.1); color: white; padding: 1rem 1.5rem;
    border-radius: 16px; display: flex; align-items: flex-start; gap: 0.75rem; min-width: 0; max-width: min(92vw, 560px); font-weight: 600;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5); backdrop-filter: blur(10px);
    animation: toastSlideDown 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: normal;
    overflow-wrap: anywhere;
    z-index: 2147483647;
}

.toast--fadeout {
    animation: toastFadeOut 0.3s forwards;
}

.is-hidden {
    display: none !important;
}
.toast span { line-height: 1.35; }
.toast.success { border-left: 4px solid var(--accent-success); } .toast.success i { color: var(--accent-success); }
.toast.error { border-left: 4px solid var(--accent-danger); } .toast.error i { color: var(--accent-danger); }
.toast.warning { border-left: 4px solid var(--accent-warning); } .toast.warning i { color: var(--accent-warning); }
.toast.info { border-left: 4px solid var(--accent-primary); } .toast.info i { color: var(--accent-primary); }

@keyframes toastSlideDown { 
    from { opacity: 0; transform: translateY(-25px); } 
    to { opacity: 1; transform: translateY(0); } 
}
@keyframes toastFadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-15px); }
}

/* SECTION: FAQ */
.faq-section {
    margin-top: 3rem;
}
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: 1rem;
}
.faq-item {
    background: var(--bg-glass);
    border: var(--border-glass);
    border-radius: var(--radius-std);
    padding: 0;
    overflow: hidden;
    transition: border-color 0.3s ease;
}
.faq-item[open] {
    border-color: rgba(59, 130, 246, 0.3);
}
.faq-item summary {
    padding: var(--space-md);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.4;
    transition: background 0.2s;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::before {
    content: '+';
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--accent-primary);
    min-width: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}
.faq-item[open] summary::before {
    content: '−';
    color: var(--accent-success);
}
.faq-item summary:hover {
    background: rgba(255, 255, 255, 0.03);
}
.faq-item > div {
    padding: 0 var(--space-md) var(--space-md) calc(var(--space-md) + 2.25rem);
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.faq-whatsapp-link {
    color: var(--accent-success);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: rgba(37, 211, 102, 0.15);
    border-radius: 8px;
    border: 1px solid rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.faq-whatsapp-link:hover {
    background: rgba(37, 211, 102, 0.25);
    border-color: rgba(37, 211, 102, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.faq-whatsapp-link i {
    font-size: 1.1em;
    color: #25D366;
}

/* SECTION: ABOUT / E-E-A-T */
.about-section {
    margin-top: 3rem;
}
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 1.5rem;
}
.about-card {
    background: var(--bg-glass);
    border: var(--border-glass);
    border-radius: var(--radius-std);
    padding: var(--space-lg);
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.about-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
}
.about-card i {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    display: block;
}
.about-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* SECTION: FOOTER */
.site-footer {
    margin-top: 5rem;
    padding: 4rem 1rem 2rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: var(--content-max-width);
    margin: 0 auto;
    text-align: left;
}

@media (min-width: 600px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (min-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
}

.footer-brand h3 {
    color: #fff;
    font-family: var(--font-display);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-col h4 {
    color: var(--accent-primary);
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 0;
    margin: 0;
}

.footer-links-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links-list a:hover {
    color: #fff;
}

.footer-bottom {
    margin: 2rem auto 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    max-width: 900px;
    font-size: 0.75rem;
    line-height: 1.6;
    opacity: 0.6;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: var(--accent-purple);
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: #fff;
}

.disclaimer {
    max-width: 800px;
    margin: 2rem auto 1.5rem auto;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-std);
    line-height: 1.6;
    color: #9ca3af;
    font-size: 0.85rem;
    text-align: center;
}

.footer-logo { width: 96px; height: auto; margin-bottom: 1.5rem; display: block; }
.footer-brand-desc { font-size: 0.9rem; margin-bottom: 2rem; }
.footer-social-box { display: flex; gap: 1rem; }
.footer-social-wa { color: #25D366; font-size: 1.5rem; }
.footer-link-highlight { font-weight: 700; color: var(--accent-success); }
.footer-trust-item { font-size: 0.9rem; }
.footer-trust-icon-success { color: var(--accent-success); }

/* APP-HEADER COMPONENT STYLES */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    margin-left: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 3px 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 14px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}

.flag-svg {
    border-radius: 3px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.lang-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn-active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.18) !important;
}

@media (max-width: 920px) {
    .lang-switcher {
        margin: 0.4rem auto 0;
    }
}

/* CHECKOUT SUCCESS MODAL */
.checkout-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.checkout-modal-content {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid var(--accent-primary);
    max-width: 90%;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.checkout-modal-icon {
    font-size: 4rem;
    color: #0070ba;
    margin-bottom: 1rem;
}

.checkout-modal-title {
    color: white;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.checkout-modal-desc {
    color: #ccc;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.checkout-modal-btn-wa {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    background: #25D366;
    color: white;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.checkout-modal-footer {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.checkout-modal-footer p {
    width: 100%;
    margin: 0 0 0.15rem;
    color: #e5e7eb;
}

.checkout-modal-btn-alt,
.checkout-modal-btn-close {
    appearance: none;
    border: 0;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    font: inherit;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.18s ease, opacity 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.checkout-modal-btn-alt {
    background: rgba(255, 255, 255, 0.08);
    color: #e5e7eb;
    text-decoration: none;
}

.checkout-modal-btn-close {
    background: rgba(255, 255, 255, 0.04);
    color: #cbd5e1;
}

.checkout-modal-btn-alt:hover,
.checkout-modal-btn-close:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.checkout-modal-separator {
    color: #4b5563;
    margin: 0 0.25rem;
}

.badge-star { 
    background: linear-gradient(to right, #f59e0b, #fbbf24); 
    color: #000; border: none; 
    margin-bottom: 0.5rem; display: inline-block; margin-left: 0; 
}

.wallet-container-hidden {
    margin-top: 1rem;
    display: none;
}

/* BOOT OVERLAY (CSP-safe, no inline styles) */
.nd-boot-overlay {
    position: fixed;
    inset: 0;
    background: #030409;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.nd-boot-overlay.is-exiting {
    opacity: 0;
}

.nd-boot-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: boot-spin 0.8s linear infinite;
}

@keyframes boot-spin {
    to {
        transform: rotate(360deg);
    }
}

/* TESTIMONIALS COMPONENT (migrated from injected style tag) */
app-testimonials {
    display: block;
    width: 100%;
}

.nd-testimonials {
    padding: 5rem 1.5rem;
    max-width: var(--content-max-width, 1200px);
    margin: 0 auto;
}

.nd-testimonials__header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.nd-testimonials__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(66, 133, 244, 0.12);
    color: #4285f4;
    border: 1px solid rgba(66, 133, 244, 0.3);
    border-radius: 999px;
    padding: 0.35rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.nd-testimonials__header h2 {
    font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.6rem;
    line-height: 1.2;
}

.nd-testimonials__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

.nd-testimonials__card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nd-testimonials__card:hover {
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(59, 130, 246, 0.1);
}

.nd-testimonials__quote {
    position: absolute;
    top: -0.6rem;
    left: 1.3rem;
    font-size: 6rem;
    font-family: Georgia, serif;
    color: rgba(59, 130, 246, 0.15);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.nd-testimonials__text {
    color: var(--text-secondary, #d1d5db);
    font-style: italic;
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
    padding-top: 1rem;
    flex-grow: 1;
}

.nd-testimonials__footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.2rem;
}

.nd-testimonials__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-width: 2px;
    border-style: solid;
}

.nd-testimonials__avatar--blue {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.28);
    color: #3b82f6;
}

.nd-testimonials__avatar--purple {
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.28);
    color: #8b5cf6;
}

.nd-testimonials__avatar--green {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.28);
    color: #10b981;
}

.nd-testimonials__initials {
    font-weight: 700;
    font-size: 0.9rem;
}

.nd-testimonials__meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.nd-testimonials__meta strong {
    color: #fff;
    font-size: 0.95rem;
    font-family: var(--font-display, sans-serif);
}

.nd-testimonials__stars {
    display: flex;
    gap: 2px;
    line-height: 1;
}

.nd-testimonials__date {
    font-size: 0.75rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* COMBO CSP-safe classes */
.tier-label {
    font-weight: 600;
}

.tier-price {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--accent-success);
}

.platform-grid label.is-disabled {
    opacity: 0.3;
}
