/* ================================================= */
/* RESET & BASE (Escritorio) */
/* ================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background: #0f0b0b;
    background-image: radial-gradient(circle at top left, rgba(139,30,45,0.2), transparent 30%),
                      radial-gradient(circle at bottom right, rgba(255,255,255,0.03), transparent 20%);
    background-attachment: fixed;
    color: #f5f0ea;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

main {
    flex: 1;
    padding: 40px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* ================================================= */
/* HEADER (Escritorio) */
/* ================================================= */
header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(35, 0, 10, 0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    gap: 20px;
}

.logo-text {
    font-family: 'Great Vibes', cursive;
    font-size: 28px;
    color: white;
    text-shadow: 0 0 20px rgba(255,255,255,0.12);
    white-space: nowrap;
}

.logo-img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.08));
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: 500;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    padding: 12px 28px;
    border-radius: 999px;
    transition: all 0.35s ease;
}

nav a:hover {
    background: linear-gradient(135deg, rgba(139,30,45,0.95), rgba(91,15,26,0.95));
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(139,30,45,0.35);
}

/* ================================================= */
/* HERO PREMIUM (Escritorio) */
/* ================================================= */
.hero-premium {
    position: relative;
    width: 100%;
    min-height: 78vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(139,30,45,0.25), transparent 35%),
                radial-gradient(circle at bottom right, rgba(255,255,255,0.05), transparent 25%);
    z-index: 1;
}
.hero-contenido { position: relative; z-index: 2; max-width: 900px; animation: heroFade 1s ease; }
.hero-pretitle {
    font-size: 14px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #c8a97e;
    margin-bottom: 20px;
}
.hero-contenido h1 {
    font-size: 72px;
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 30px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.45);
}
.hero-contenido p {
    font-size: 21px;
    line-height: 1.8;
    color: rgba(255,255,255,0.78);
    max-width: 700px;
    margin: 0 auto 40px auto;
}
.hero-botones { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.hero-btn, .hero-btn-secundario {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 38px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.35s ease;
}
.hero-btn {
    background: #7b1e2b;
    color: white;
    box-shadow: 0 15px 35px rgba(123,30,43,0.35);
}
.hero-btn:hover { transform: translateY(-4px); background: #922738; box-shadow: 0 20px 45px rgba(123,30,43,0.5); }
.hero-btn-secundario {
    border: 1px solid #c8a97e;
    color: #c8a97e;
    background: transparent;
}
.hero-btn-secundario:hover { background: #c8a97e; color: #0f0b0b; transform: translateY(-4px); }

/* ================================================= */
/* BENEFICIOS RÁPIDOS (Escritorio) */
/* ================================================= */
.beneficios-rapidos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}
.beneficio-item {
    background: rgba(21,16,16,0.9);
    border: 1px solid #2a1f1f;
    border-radius: 20px;
    padding: 16px;
    text-align: center;
    font-size: 15px;
    backdrop-filter: blur(5px);
}

/* ================================================= */
/* SOBRE CLUB (Escritorio) */
/* ================================================= */
.sobre-club {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    align-items: center;
}
.section-tag {
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #c8a97e;
    display: inline-block;
    margin-bottom: 20px;
}
.sobre-texto h2 { font-size: 48px; font-weight: 300; margin-bottom: 25px; }
.sobre-texto p { font-size: 18px; line-height: 1.7; color: #d0c4bb; margin-bottom: 20px; }
.sobre-beneficios {
    background: linear-gradient(135deg, #251717, #120d0d);
    border: 1px solid #2a1f1f;
    border-radius: 32px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}
.beneficio-card {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e7dfd7;
}
.beneficio-card::before { content: "✦"; color: #c8a97e; font-size: 24px; }

/* ================================================= */
/* CÓMO FUNCIONA (Escritorio) */
/* ================================================= */
.como-funciona {
    text-align: center;
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 20px;
}
.como-funciona h2 { font-size: 48px; font-weight: 300; margin-bottom: 60px; }
.pasos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.paso { text-align: center; }
.numero-paso {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #7b1e2b;
    border-radius: 50%;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}
.paso p { font-size: 18px; }

/* ================================================= */
/* BENEFICIOS SECCIÓN (Escritorio) */
/* ================================================= */
.beneficios-section {
    text-align: center;
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}
.beneficios-section h2 { font-size: 48px; font-weight: 300; margin-bottom: 60px; }
.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.beneficio-box {
    background: #171111;
    border: 1px solid #2a1f1f;
    border-radius: 32px;
    padding: 30px;
    font-size: 18px;
    transition: all 0.3s ease;
}
.beneficio-box:hover { transform: translateY(-5px); border-color: #c8a97e; }

/* ================================================= */
/* TESTIMONIO (Escritorio) */
/* ================================================= */
.testimonio {
    max-width: 800px;
    margin: 80px auto;
    padding: 0 20px;
}
.testimonio-card {
    background: linear-gradient(135deg, #1b1313, #120d0d);
    border: 1px solid #2a1f1f;
    border-radius: 32px;
    padding: 50px;
    text-align: center;
}
.estrellas { color: #c8a97e; font-size: 28px; margin-bottom: 25px; letter-spacing: 5px; }
.testimonio-card p { font-size: 26px; font-weight: 300; line-height: 1.4; margin-bottom: 25px; }
.testimonio-card span { color: #c8a97e; text-transform: uppercase; font-size: 14px; letter-spacing: 2px; }

/* ================================================= */
/* CTA FINAL (Escritorio) */
/* ================================================= */
.cta-final {
    background: #7b1e2b;
    border-radius: 40px;
    padding: 70px 30px;
    text-align: center;
    max-width: 1000px;
    margin: 80px auto;
}
.cta-final .section-tag { color: #f3e8de; margin-bottom: 15px; }
.cta-final h2 { font-size: 48px; font-weight: 300; margin-bottom: 20px; }
.cta-final p { font-size: 20px; margin-bottom: 35px; color: #f3e8de; }
.cta-final .hero-btn { background: #f5f0ea; color: #0f0b0b; box-shadow: none; }
.cta-final .hero-btn:hover { background: white; transform: translateY(-4px); }

/* ================================================= */
/* FOOTER (Escritorio) */
/* ================================================= */
footer {
    background: #3A0910;
    text-align: center;
    padding: 30px;
    border-top: 1px solid #2a1f1f;
    color: #a89c94;
    font-size: 14px;
    margin-top: auto;
}

/* ================================================= */
/* PRODUCTOS (tarjetas) - Con footer siempre abajo */
/* ================================================= */
.contenedor-productos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
    margin: 40px auto;
}
.card-producto {
    background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 28px;
    overflow: hidden;
    transition: transform 0.45s ease, box-shadow 0.45s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.card-producto:hover { transform: translateY(-10px); box-shadow: 0 25px 60px rgba(0,0,0,0.45); }
.producto-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #c8a97e;
    border: 1px solid rgba(255,255,255,0.1);
}
.producto-imagen-wrapper {
    background: rgba(0,0,0,0.2);
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
}
.card-producto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.card-producto:hover img {
    transform: scale(1.03);
}
.producto-contenido {
    padding: 20px 28px 0 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card-producto h2 { font-size: 28px; font-weight: 600; margin-bottom: 12px; }
.card-producto .descripcion {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 24px;
    white-space: pre-line;
    flex: 1;
}
.producto-footer {
    margin-top: auto;
    padding: 0 28px 28px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.producto-precio { font-size: 32px; font-weight: 700; color: #f8b4b4; }
.btn-suscribir {
    background: #7b1e2b;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}
.btn-suscribir:hover { background: #922738; transform: translateY(-2px); }
.cargando-texto, .error-texto, .vacio-texto { text-align: center; color: rgba(255,255,255,0.6); padding: 40px; }

/* ================================================= */
/* CHECKOUT (Escritorio) */
/* ================================================= */
.checkout-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
    max-width: 1400px;
    margin: 0 auto;
}
.checkout-producto, .checkout-formulario {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 28px;
    padding: 40px;
}
.checkout-producto h1 { font-size: 36px; margin-bottom: 20px; }
.checkout-imagen {
    width: 100%;
    max-height: 350px;
    object-fit: contain;
    margin: 20px 0;
    border-radius: 16px;
    background: rgba(0,0,0,0.2);
}
.checkout-precios {
    background: rgba(0,0,0,0.25);
    padding: 20px;
    border-radius: 20px;
    margin: 15px 0;
}
.checkout-precios p { margin-bottom: 12px; font-size: 18px; }
.precio-final { font-size: 28px !important; font-weight: bold; color: #c8a97e; }
.banco-info {
    background: rgba(0,0,0,0.3);
    padding: 15px;
    border-radius: 16px;
    margin-bottom: 20px;
}
.checkout-formulario h2 { margin-bottom: 25px; }
.checkout-formulario form { display: flex; flex-direction: column; gap: 18px; }
.checkout-formulario input, .checkout-formulario select {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 14px;
    border-radius: 14px;
    color: white;
    font-size: 16px;
}
.checkout-formulario select {
    background: #1a1a1a;
    color: white;
    cursor: pointer;
}
.checkout-formulario select option {
    background: #2a2a2a;
    color: white;
}
.checkout-formulario button {
    background: #7b1e2b;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.checkout-formulario button:hover { background: #922738; transform: translateY(-2px); }

/* ================================================= */
/* CONTACTO (Escritorio) */
/* ================================================= */
.contacto-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}
.contacto-info, .contacto-formulario {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 28px;
    padding: 40px;
}
.contacto-info p { margin-bottom: 15px; font-size: 18px; line-height: 1.5; }
.contacto-formulario form { display: flex; flex-direction: column; gap: 20px; }
.contacto-formulario input, .contacto-formulario textarea {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 14px;
    border-radius: 14px;
    color: white;
    font-family: inherit;
}
.contacto-formulario textarea { height: 150px; resize: none; }
.contacto-formulario button {
    background: #7b1e2b;
    padding: 14px;
    border-radius: 999px;
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.contacto-formulario button:hover { background: #922738; }

/* ================================================= */
/* ADMIN (Escritorio) */
/* ================================================= */
.admin-login, .admin-panel { min-height: 100vh; display: flex; justify-content: center; align-items: center; flex-direction: column; padding: 40px; }
.login-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 28px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
}
.login-card form { display: flex; flex-direction: column; gap: 20px; }
.login-card input, .login-card button { padding: 14px; border-radius: 14px; border: none; }
.login-card input { background: rgba(255,255,255,0.1); color: white; }
.login-card button { background: #7b1e2b; color: white; font-weight: 600; cursor: pointer; }
.panel-top { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-bottom: 30px; flex-wrap: wrap; gap: 15px; }
.panel-buttons { display: flex; gap: 15px; }
.btn-cerrar-sesion {
    background: linear-gradient(135deg, #8B1E2D, #5B0F1A);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 10px 24px;
    border-radius: 999px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-cerrar-sesion:hover {
    transform: translateY(-2px);
    background: #922738;
    box-shadow: 0 8px 20px rgba(139,30,45,0.4);
}
.admin-tabs { display: flex; gap: 12px; margin-bottom: 30px; flex-wrap: wrap; }
.tab-btn {
    background: rgba(255,255,255,0.08);
    border: none;
    padding: 12px 28px;
    border-radius: 999px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}
.tab-btn.activo, .tab-btn:hover { background: #7b1e2b; }
.tab-content { display: none; }
.tab-content.activo { display: block; }
.tabla-container { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: rgba(255,255,255,0.05); border-radius: 20px; overflow: hidden; }
th, td { padding: 15px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.1); }
th { background: rgba(0,0,0,0.3); }
.productos-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; margin-top: 20px; }
.producto-admin-card {
    background: rgba(0,0,0,0.3);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
}
.producto-admin-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
}
.card-info {
    padding: 20px;
    flex: 1;
}
.precio-tag { font-size: 20px; font-weight: bold; color: #f8b4b4; margin: 10px 0; }
.card-acciones { display: flex; gap: 10px; margin-top: 15px; }
.btn-editar, .btn-eliminar,
.btn-editar-producto, .btn-eliminar-producto {
    flex: 1;
    padding: 8px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 13px;
}
.btn-editar, .btn-editar-producto { background: #3A0910; color: white; }
.btn-eliminar, .btn-eliminar-producto { background: rgba(255,60,60,0.2); color: #ff8080; }
.btn-nuevo-producto {
    background: #7b1e2b;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 999px;
    margin-bottom: 20px;
    cursor: pointer;
}

/* ================================================= */
/* MODAL PRODUCTO - REDISEÑO MÁS COMPACTO */
/* ================================================= */
.modal-producto {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
}
.modal-producto.abierto { display: flex; }
.modal-producto-contenido {
    background: #1f0d0d;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    width: 90%;
    max-width: 800px; /* Antes 950px */
    padding: 24px;    /* Antes 30px */
    max-height: 85vh;
    overflow-y: auto;
}
.cerrar-modal {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 28px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 10;
}
#formProducto {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    margin-top: 16px;
}
#formProducto .full-width,
#formProducto button[type="submit"] {
    grid-column: span 2;
}
#productoDescripcion {
    height: 80px;
}
.imagen-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
#previewImagen {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    display: none;
}
#formProducto button[type="submit"] {
    background: #7b1e2b;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 8px;
}
#formProducto button[type="submit"]:hover {
    background: #922738;
    transform: translateY(-2px);
}
#formProducto input, 
#formProducto textarea, 
#formBin input, 
#formBin select {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 10px;
    border-radius: 14px;
    color: white;
    font-size: 14px;
}
.label-archivo {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
}
/* En móvil vuelve a una columna */
@media (max-width: 768px) {
    #formProducto {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    #formProducto .full-width,
    #formProducto button[type="submit"] {
        grid-column: span 1;
    }
    .modal-producto-contenido {
        padding: 20px;
    }
}

/* Modal BIN */
#formBin {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.loading-overlay {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: white;
}
.loading-overlay.visible { display: flex; }
.btn-volver, .btn-volver-login {
    background: rgba(255,255,255,0.08);
    color: white;
    padding: 10px 20px;
    border-radius: 999px;
    text-decoration: none;
    display: inline-block;
}

/* ================================================= */
/* BOTON ADMIN FLOTANTE */
/* ================================================= */
.btn-admin {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 55px;
    height: 55px;
    background: #7b1e2b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 26px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    z-index: 9999;
    border: 1px solid rgba(255,255,255,0.2);
}
.btn-admin:hover {
    transform: scale(1.1);
    background: #922738;
}

/* ================================================= */
/* TOAST (Escritorio) */
/* ================================================= */
.toast {
    position: fixed;
    top: 30px;
    right: 30px;
    min-width: 280px;
    background: rgba(20,20,20,0.95);
    backdrop-filter: blur(12px);
    border-left: 5px solid #c8a97e;
    padding: 16px 22px;
    border-radius: 18px;
    color: white;
    z-index: 999999;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.35s ease;
    pointer-events: none;
}
.toast.mostrar { opacity: 1; transform: translateY(0); }
.toast.success { border-left-color: #3ddc97; }
.toast.error { border-left-color: #ff5c5c; }

/* ================================================= */
/* RESPONSIVE: MÓVIL Y TABLET */
/* ================================================= */
@media (max-width: 992px) {
    .sobre-club, .contacto-container, .checkout-container {
        grid-template-columns: 1fr;
    }
    .beneficios-rapidos {
        grid-template-columns: repeat(2, 1fr);
    }
    .pasos {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    .beneficios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Header */
    header {
        flex-direction: column;
        text-align: center;
        padding: 15px 20px;
        gap: 12px;
    }
    .logo-text {
        font-size: 24px;
    }
    .logo-img {
        height: 50px;
    }
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    nav a {
        padding: 8px 20px;
        font-size: 14px;
    }

    /* Hero */
    .hero-premium {
        min-height: auto;
        padding: 50px 20px;
    }
    .hero-contenido h1 {
        font-size: 42px;
    }
    .hero-contenido p {
        font-size: 18px;
    }
    .hero-botones {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .hero-btn, .hero-btn-secundario {
        width: 100%;
        max-width: 260px;
        padding: 12px 24px;
        font-size: 14px;
    }

    /* Beneficios rápidos */
    .beneficios-rapidos {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .beneficio-item {
        font-size: 13px;
        padding: 12px;
    }

    /* Sobre club */
    .sobre-club {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 40px auto;
    }
    .sobre-texto h2 {
        font-size: 32px;
    }
    .sobre-texto p {
        font-size: 16px;
    }
    .sobre-beneficios {
        padding: 25px;
        gap: 20px;
    }
    .beneficio-card {
        font-size: 16px;
    }

    /* Cómo funciona */
    .como-funciona h2 {
        font-size: 32px;
        margin-bottom: 30px;
    }
    .pasos {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .numero-paso {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin-bottom: 12px;
    }
    .paso p {
        font-size: 16px;
    }

    /* Beneficios sección */
    .beneficios-section h2 {
        font-size: 32px;
        margin-bottom: 30px;
    }
    .beneficios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .beneficio-box {
        padding: 20px;
        font-size: 15px;
    }

    /* Testimonio */
    .testimonio-card {
        padding: 30px;
    }
    .testimonio-card p {
        font-size: 20px;
    }

    /* CTA final */
    .cta-final {
        padding: 40px 20px;
        margin: 40px auto;
    }
    .cta-final h2 {
        font-size: 32px;
    }
    .cta-final p {
        font-size: 16px;
    }

    /* Productos */
    .contenedor-productos {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .producto-contenido {
        padding: 15px 20px 0 20px;
    }
    .producto-footer {
        padding: 0 20px 20px 20px;
        flex-direction: column;
        gap: 12px;
    }
    .card-producto h2 {
        font-size: 24px;
    }
    .producto-precio {
        font-size: 28px;
    }
    .btn-suscribir {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }

    /* Checkout */
    .checkout-container {
        padding: 20px;
        gap: 25px;
    }
    .checkout-producto, .checkout-formulario {
        padding: 25px;
    }
    .checkout-producto h1 {
        font-size: 28px;
    }
    .checkout-imagen {
        max-height: 250px;
    }
    .checkout-precios p {
        font-size: 16px;
    }
    .precio-final {
        font-size: 24px !important;
    }
    .checkout-formulario input, .checkout-formulario select {
        padding: 12px;
        font-size: 14px;
    }

    /* Contacto */
    .contacto-container {
        padding: 20px;
        gap: 25px;
    }
    .contacto-info, .contacto-formulario {
        padding: 25px;
    }
    .contacto-info p {
        font-size: 16px;
    }

    /* Admin móvil */
    .admin-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 10px;
        padding-bottom: 8px;
        margin-bottom: 20px;
        -webkit-overflow-scrolling: touch;
    }
    .tab-btn {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 8px 18px;
        font-size: 13px;
    }
    .productos-admin-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .card-acciones {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .btn-editar, .btn-eliminar,
    .btn-editar-producto, .btn-eliminar-producto {
        padding: 8px;
        font-size: 13px;
    }
    .tabla-container {
        overflow-x: auto;
    }
    table {
        min-width: 700px;
    }
    th, td {
        font-size: 12px;
        padding: 10px 8px;
    }
    .panel-top {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 10px;
    }
    .panel-buttons {
        justify-content: center;
    }
    .modal-producto-contenido {
        width: 95%;
        padding: 20px;
        max-height: 90vh;
        overflow-y: auto;
    }
    #formProducto {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    #formProducto .full-width,
    #formProducto button[type="submit"] {
        grid-column: span 1;
    }
    .btn-nuevo-producto {
        width: 100%;
        text-align: center;
    }

    /* Toast móvil */
    .toast {
        top: 15px;
        right: 15px;
        left: 15px;
        min-width: auto;
        padding: 12px 16px;
        font-size: 13px;
    }

    /* Botón admin móvil */
    .btn-admin {
        width: 48px;
        height: 48px;
        font-size: 22px;
        right: 15px;
        bottom: 15px;
    }
}

@media (max-width: 400px) {
    .hero-contenido h1 {
        font-size: 32px;
    }
    .hero-contenido p {
        font-size: 15px;
    }
    .beneficios-rapidos {
        grid-template-columns: 1fr;
    }
    .pasos {
        grid-template-columns: 1fr;
    }
    .beneficios-grid {
        grid-template-columns: 1fr;
    }
    .card-producto h2 {
        font-size: 22px;
    }
    .producto-precio {
        font-size: 24px;
    }
    .checkout-producto h1 {
        font-size: 24px;
    }
}

@keyframes heroFade {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ================================================= */
/* ADMIN - Estilos específicos del panel (cambiar contraseña, usuario, etc.) */
/* ================================================= */

/* Modal de cambio de contraseña */
.modal-password {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
}
.modal-password.abierto {
    display: flex;
}
.modal-password-contenido {
    background: #1f0d0d;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    width: 90%;
    max-width: 450px;
    padding: 30px;
}
.modal-password-contenido h2 {
    margin-bottom: 20px;
    font-size: 26px;
}
#formPassword {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
#formPassword input {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 12px;
    border-radius: 14px;
    color: white;
    font-size: 14px;
}
#formPassword button {
    background: #7b1e2b;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
#formPassword button:hover {
    background: #922738;
    transform: translateY(-2px);
}
.mensaje-password {
    margin-top: 10px;
    font-size: 14px;
    text-align: center;
}

/* Botón cambiar contraseña */
.btn-cambiar-password {
    background: linear-gradient(135deg, #8B1E2D, #5B0F1A);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 10px 24px;
    border-radius: 999px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-cambiar-password:hover {
    transform: translateY(-2px);
    background: #922738;
    box-shadow: 0 8px 20px rgba(139,30,45,0.4);
}

/* Información del usuario logueado */
.user-info {
    background: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: #c8a97e;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    white-space: nowrap;
}

/* Ajustes responsive para el panel top */
@media (max-width: 768px) {
    .panel-top {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .user-info {
        font-size: 12px;
        padding: 6px 12px;
        white-space: normal;
        text-align: center;
    }
    .btn-cambiar-password {
        padding: 8px 16px;
        font-size: 13px;
    }
}