:root {
    --oro: #b8860b;
    --blanco-puro: #ffffff;
    --blanco-lujo: #f9f6f0;
    --gris-fondo: #f0ece4;
    --gris-sutil: #a0a0a0;
    --negro-texto: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--blanco-lujo);
    color: var(--negro-texto);
    line-height: 1.6;
}

.menu-corporativo {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--oro);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.brand-logo {
    height: 45px;
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    text-decoration: none;
    color: var(--negro-texto);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--oro);
}

.video-background-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: 80px;
}

.video-background-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay-blanco {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--negro-texto);
    z-index: 2;
    width: 90%;
    max-width: 800px;
}

.hero-content h1 {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    letter-spacing: 8px;
    color: var(--oro);
    text-shadow: 2px 2px 20px rgba(184, 134, 11, 0.2);
}

.cta-btn {
    background: var(--oro);
    color: white;
    border: 2px solid var(--oro);
    padding: 12px 35px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 30px;
}

.cta-btn:hover {
    background: transparent;
    color: var(--oro);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(184, 134, 11, 0.2);
}

section {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.adquisicion-section {
    background: var(--blanco-puro);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    margin-top: 40px;
}

.adquisicion-section h2 {
    font-family: 'Cinzel', serif;
    text-align: center;
    font-size: 2.5rem;
    color: var(--negro-texto);
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.card-promo {
    background: var(--blanco-lujo);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.card-promo:hover {
    border-color: var(--oro);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(184, 134, 11, 0.1);
}

.precio {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--oro);
    margin: 15px 0;
}

.vip-access-section {
    background: var(--gris-fondo);
    border-radius: 20px;
    padding: 60px 40px;
    margin-top: 40px;
    display: none;
}

.login-box {
    max-width: 500px;
    margin: 0 auto;
    background: var(--blanco-puro);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.login-box h3 {
    font-family: 'Cinzel', serif;
    text-align: center;
    color: var(--oro);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 5px;
    color: var(--negro-texto);
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--oro);
}

.vip-feed-section {
    background: var(--blanco-puro);
    border-radius: 20px;
    padding: 40px;
    margin-top: 40px;
    display: none;
}

.feed-header {
    text-align: center;
    margin-bottom: 40px;
}

.feed-header h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--negro-texto);
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.insta-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.insta-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.insta-overlay {
    padding: 20px;
    background: var(--blanco-puro);
}

.insta-overlay h3 {
    font-family: 'Cinzel', serif;
    color: var(--oro);
    margin-bottom: 5px;
}

.mensaje-estado {
    padding: 15px 20px;
    border-radius: 10px;
    margin: 15px 0;
    font-weight: 600;
    text-align: center;
}

.mensaje-exito {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mensaje-pendiente {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.mensaje-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

footer {
    background: var(--negro-texto);
    color: white;
    text-align: center;
    padding: 30px;
    margin-top: 40px;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--oro);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== ESTILOS PARA EL CATÁLOGO ===== */

/* Producto item */
.producto-item {
    background: white;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.producto-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.producto-item .img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 20px;
}

.producto-item .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* AGOTADO EN DIAGONAL */
.producto-item .agotado-diagonal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;
}

.producto-item .agotado-diagonal span {
    position: absolute;
    top: 15px;
    left: -35px;
    transform: rotate(-45deg);
    background: #cc0000;
    color: #ffffff;
    padding: 8px 40px;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    border: 2px solid #ffffff;
    width: 180px;
    text-align: center;
    z-index: 3;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.producto-item .img-wrapper.agotado img {
    opacity: 0.7;
}

.producto-item .nombre-producto {
    font-size: 1.1rem;
    color: var(--negro-texto, #1a1a1a);
    font-family: 'Cinzel', serif;
    margin-bottom: 5px;
}

.producto-item .marca-producto {
    font-size: 0.85rem;
    margin: 10px 0;
    color: #666;
    font-style: italic;
}

.producto-item .btn-detalle {
    width: 100%;
    padding: 10px;
    font-size: 0.7rem;
    background: var(--negro-texto, #1a1a1a);
    color: var(--blanco-puro, #ffffff);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.producto-item .btn-detalle:hover {
    background: #333;
}

.producto-item .btn-carrito {
    width: 100%;
    padding: 10px;
    font-size: 0.7rem;
    background: transparent;
    color: var(--negro-texto, #1a1a1a);
    border: 1px solid var(--negro-texto, #1a1a1a);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.producto-item .btn-carrito:hover {
    background: var(--negro-texto, #1a1a1a);
    color: var(--blanco-puro, #ffffff);
}

.producto-item .btn-carrito:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.producto-item .btn-carrito:disabled:hover {
    background: transparent;
    color: var(--negro-texto, #1a1a1a);
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    max-width: 500px;
    width: 90%;
    padding: 30px;
    border-radius: 8px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

.modal-producto-img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    margin-bottom: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .menu-corporativo {
        flex-direction: column;
        padding: 15px 20px;
        gap: 10px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    section {
        padding: 40px 20px;
    }

    .promo-grid,
    .insta-grid {
        grid-template-columns: 1fr;
    }
    
    .producto-item .agotado-diagonal span {
        font-size: 0.7rem;
        padding: 6px 30px;
        top: 10px;
        left: -30px;
        width: 140px;
    }
    
}

/* ===== ENLACE FACEBOOK DISCRETO ===== */
.fb-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--negro-texto);
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 1px;
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid rgba(184, 134, 11, 0.15);
    background: rgba(255, 255, 255, 0.03);
}

.fb-link:hover {
    color: var(--oro);
    border-color: rgba(184, 134, 11, 0.4);
    background: rgba(184, 134, 11, 0.05);
    transform: translateY(-1px);
}

.fb-link svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transition: all 0.3s ease;
}

.fb-link:hover svg {
    fill: var(--oro);
}

/* ===== RESPONSIVE PARA EL ENLACE ===== */
@media (max-width: 768px) {
    .fb-link {
        font-size: 0.6rem;
        padding: 4px 10px;
    }
    
    .fb-link svg {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .fb-link {
        font-size: 0.5rem;
        padding: 3px 8px;
        gap: 4px;
    }
    
    .fb-link svg {
        width: 10px;
        height: 10px;
    }
}