:root {
    --primary: #2F5BFF;
    --dark: #FFFFFF;
    --light: #0A0A0A;
    --gray: #A0A0A0;
    --bg: #1A1A1A;
}

body {
    font-family: 'inter', Comic Sans MS, cursive, sans-serif;
    margin: 0;
    background: var(--light);
    color: var(--dark);
}

.container {
    padding: 20px;
    max-width: 520px;
    margin: auto;
}


/*Header*/
.topbar {
    position: sticky;
    top: 0;
    background: #000;
    color: #fff;
    text-align: center;
    padding: 10px;
    z-index: 1000;
}

.brand {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

/*Live bar*/
.live-bar {
    background: #ff4d4d;
    color: white;
    text-align: center;
    font-size: 13px;
    padding: 8px;
    font-weight: 600;
}

/* HERO */
.hero {
    text-align: center;
    background: var(--light);
    padding-bottom: 20px;
}

.hero-img {
    width: 100%;
    border-radius: 12px;
}

h1 {
    font-size: 26px;
    font-weight: 700;
}

.subheadline {
    font-size: 15px;
    color: var(--gray);
}

/* BOTONES */
.cta {
    background: var(--primary);
    color: #1A1A1A;
    border: none;
    padding: 16px;
    width: 100%;
    font-size: 16px;
    border-radius: 10px;
    font-weight: bold;
    margin-top: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.cta:hover {
    background: #3c78d3;
    transform: scale(1.02);
}

/* BADGES */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    font-size: 13px;
    color: var(--gray);
}

/* SECTIONS */
section {
    margin-top: 15px;
}

section h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* GRID PRODUCTOS */
.grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
}

.producto {
    background: #1A1A1A;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.producto:hover {
    transform: translateY(-5px);
}

.producto:active {
    transform: scale(0.95);
}

.producto p {
    margin: 5px 0;
}

.producto p:nth-child(3) {
    font-weight: bold;
    font-size: 16px;
    color: #2F5BFF;
}

.producto img {
    width: 100%;
    max-width: 130px;
    height: 130px;
    object-fit: contain;
}

.btn-add {
    margin-top: 8px;
    padding: 10px;
    border: none;
    background: #2F5BFF;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
}

.btn-add:hover {
    background: #3c78d3;
}

/*SECCIÓN PACK*/
.pack {
    background: #1A1A1A;
    border-radius: 12px;
    margin: 20px;
    padding: 20px;
    text-align: center;
    border: 1px solid #2F5BFF;
}

.price-old {
    text-decoration: line-through;
    color: #A0A0A0;
    margin: 5px 0;
}

.price-new {
    font-size: 22px;
    font-weight: bold;
    color: #2F5BFF;
    margin-bottom: 10px;
}


/* STEPS */
.steps {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.steps div {
    background: #2F5BFF;
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    font-size: 14px;
}

/* BENEFICIOS */
.beneficios ul {
    list-style: none;
    padding: 0;
}

.beneficios li {
    background: #1A1A1A;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 8px;
}

/* TESTIMONIOS */
.testimonios-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.testimonio-card {
    background: #1A1A1A;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
}

.avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.stars {
    color: gold;
    margin: 5px 0;
}

/*Antes despues*/

.comparacion {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.lado {
    background: #1A1A1A;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
}

.lado img {
    width: 100%;
    border-radius: 8px;
}

.label {
    font-weight: bold;
    margin: 10px 0;
}



/* OFERTA */
.oferta {
    background: var(--light);
    color: white;
    text-align: center;
    border-radius: 10px;
    padding: 20px;
}

/* FAQ */
details {
    background: #1A1A1A;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 8px;
}

/* carrito */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100%;
    background: #0A0A0A;
    box-shadow: -2px 0 15px rgba(0, 0, 0, 0.3);
    transition: right 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 2000;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    right: 0;
}

.cart-header {
    position: sticky;
    top: 0;
    background: #1A1A1A;
    z-index: 10;
    padding-bottom: 10px;
}

#cartItems {
    flex: 1;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.cart-item img {
    width: 50px;
}

.cart-footer {
    border-top: 1px solid #1A1A1A;
    padding-top: 10px;
}

/*Animacion carrito*/
@keyframes shake {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(0.95);
    }

    75% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.shake {
    animation: shake 0.3s ease;
}


/*Whatsapp*/
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    font-size: 24px;
    padding: 15px;
    border-radius: 50%;
    text-decoration: none;
    z-index: 999;
}

/*Icono carrito*/
.cart-icon {
    position: fixed;
    top: 20px;
    right: 20px;
    background: black;
    color: white;
    padding: 10px 14px;
    border-radius: 20px;
    cursor: pointer;
    z-index: 1000;
    font-size: 14px;
}

/*Botones*/

.qty {
    display: flex;
    gap: 5px;
    align-items: center;
}

.qty button {
    padding: 4px 8px;
    border: none;
    background: #ddd;
    cursor: pointer;
}


/* ===== AUTH ===== */

.auth-body {
    font-family: 'Inter', Comic Sans MS, cursive, sans-serif;
    background: linear-gradient(135deg, #2b4e83, #00011a);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.auth-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #0A0A0A;
    padding: 30px;
    border-radius: 16px;
    width: 320px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: fadeIn 0.4s ease;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.auth-form input {
    padding: 12px;
    border-radius: 8px;
    border: none;
    width: 100%;
    box-sizing: border-box;
}

.auth-form button {
    width: 100%;
    background: #ff4d4d;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.auth-form button:hover {
    background: #2F5BFF;
}

#switchText {
    margin-top: 10px;
    font-size: 14px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*"footer"*/

.cierre {
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

.frase-final {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.confianza {
    font-size: 13px;
    color: #A0A0A0;
    margin-bottom: 10px;
}

.insta-link {
    display: inline-block;
    background: #E1306C;
    color: white;
    padding: 10px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.insta-link:hover {
    background: #c72b5c;
}


/* LOGIN */

.auth-body {
    background: #0f172a;
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.auth-box {
    width: 100%;
    max-width: 400px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.auth-box h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #111827;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-form input {
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-size: 15px;
}

.auth-form button {
    background: #2563eb;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

.auth-form button:hover {
    transform: scale(1.02);
}

#toggleAuth {
    text-align: center;
    margin-top: 20px;
    cursor: pointer;
}

#toggleAuth span {
    color: #2563eb;
    font-weight: 700;
}


/*n8n*/
/* =========================
SHIPPING FORM
========================= */

.shipping-form {

    display: flex;

    flex-direction: column;

    gap: 10px;

    margin-top: 20px;

    width: 100%;
}

.shipping-form input {

    width: 100%;

    padding: 12px;

    border-radius: 10px;

    border: 1px solid #ccc;

    font-size: 14px;

    outline: none;

    box-sizing: border-box;
}

/* =========================
CART DRAWER FIX
========================= */

.cart-drawer {

    overflow-y: auto;

    overflow-x: hidden;

    padding-bottom: 120px;
}

/* =========================
MOBILE FIX
========================= */

@media (max-width: 768px) {

    .cart-drawer {

        width: 100% !important;

        max-width: 100% !important;

        right: 0;

        padding: 20px;
    }

    .shipping-form input {

        font-size: 16px;
    }
}

/* =========================
CHECKOUT BUTTON
========================= */

#checkoutBtn {

    width: 100%;

    margin-top: 20px;

    padding: 15px;

    border: none;

    border-radius: 12px;

    font-size: 16px;

    font-weight: bold;

    cursor: pointer;
}

/*mas carrito*/

.clear-cart-btn{
    width:100%;
    padding:12px;
    border:none;
    border-radius:12px;
    margin-top:10px;
    background:#111;
    color:white;
    cursor:pointer;
    font-weight:600;
}