/* =============================================
   LUXURY STORE - ESTILO PREMIUM 2026 (FINAL)
   ============================================= */

:root {
    --color-fondo: #f8f5f0;
    --color-contenedor: #ffffff;
    --color-texto: #2c2520;
    --color-acento: #9c7a5b;
    --color-acento-hover: #b38a6a;
    --color-borde: #e8e2d8;
    --color-secundario: #f5f2eb;
    --color-sombra: rgba(44, 37, 32, 0.08);
}

* { box-sizing: border-box; }

body {
    font-family: 'Helvetica Neue', 'Segoe UI', system-ui, sans-serif;
    background-color: var(--color-fondo);
    color: var(--color-texto);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* ===================== HEADER ===================== */
header { 
    padding: 20px 5%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-bottom: 1px solid var(--color-borde);
    background: white;
    position: relative;
    z-index: 100;
}

.logo-img { height: 50px; width: auto; display: block; }

.menu-toggle { cursor: pointer; padding: 10px; z-index: 101; }
.menu-toggle span { display: block; width: 25px; height: 2px; background: var(--color-texto); margin: 5px 0; }

/* ===================== MENÚ NAVEGACIÓN ===================== */
#navMenu {
    position: fixed; 
    top: 0; 
    right: -100%; 
    width: 300px; 
    height: 100%; 
    background-color: var(--color-texto);
    padding: 30px;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1); 
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
}

#navMenu.active { right: 0; }

.nav-header { display: flex; justify-content: flex-end; }
.close-menu { font-size: 40px; color: white; cursor: pointer; line-height: 1; }

.nav-links { margin-top: 50px; }
.nav-links a { 
    display: block; 
    color: white; 
    text-decoration: none; 
    font-size: 1.5rem; 
    margin-bottom: 25px; 
    letter-spacing: 2px;
    opacity: 0.8;
}

.nav-footer { text-align: center; padding-bottom: 30px; }
.footer-logo { width: 120px; opacity: 0.7; }

/* ===================== CONTENEDOR Y PRODUCTOS ===================== */
.container {
    background: var(--color-contenedor);
    max-width: 100%;
    margin: 0 auto;
    padding: 0px;
    border: 1px solid var(--color-borde);
    box-shadow: 0 20px 60px var(--color-sombra);
    
   
    
}




/* Scrollbar personalizado beige */
.container::-webkit-scrollbar,
.modal-body::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.container::-webkit-scrollbar-track,
.modal-body::-webkit-scrollbar-track {
    background: #f5f0e6;
    border-radius: 10px;
}

.container::-webkit-scrollbar-thumb,
.modal-body::-webkit-scrollbar-thumb {
    background: #d4c3a8;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.container::-webkit-scrollbar-thumb:hover,
.modal-body::-webkit-scrollbar-thumb:hover {
    background: #c4b08f;
}

.container::-webkit-scrollbar-thumb:active,
.modal-body::-webkit-scrollbar-thumb:active {
    background: #b89f7a;
}






h1 { font-size: 2.4rem; font-weight: 300; letter-spacing: 3px; text-transform: uppercase; text-align: center; margin-bottom: 40px; color: var(--color-texto); position: relative; }
h1::after { content: ''; position: absolute; width: 60px; height: 1px; background: var(--color-acento); bottom: -12px; left: 50%; transform: translateX(-50%); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 40px; padding: 20px 0; }

.product-card { background: #fff; border: 1px solid var(--color-borde); overflow: hidden; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); position: relative; }
.product-card:hover { transform: translateY(-12px); border-color: var(--color-acento); box-shadow: 0 30px 60px rgba(156, 122, 91, 0.15); }

.product-img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.6s ease; cursor: pointer; }
.product-card:hover .product-img { transform: scale(1.04); }

.product-info { padding: 28px 24px; display: flex; flex-direction: column; }
.product-info h3 { font-size: 1.25rem; font-weight: 400; margin-bottom: 12px; }
.product-info p { font-size: 1.05rem; color: #6b5f52; margin-bottom: 20px; }

.apartar_ahora { width: 100%; background: var(--color-texto); color: white; border: none; padding: 14px; font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: 0.4s; }
.apartar_ahora:hover { background: var(--color-acento); }

/* ===================== MODAL Y TOAST ===================== */






.modal-image {
    width: 100%;
    max-height: 400px;
    background: #f8f8f8;
}

.reservation-form {
    padding: 20px;
    text-align: center;
}

.reservation-form h3 {
    margin: 10px 0 15px;
    color: #333;
}

.reservation-form input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.apartar-btn {
    margin-top: 15px;
    width: 100%;
    padding: 14px;
    background: #e67e22;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
}

.apartar-btn:hover {
    background: #d35400;
}






.close {
    position: absolute;
    right: 25px;
    top: 18px;
    font-size: inherit;
    font-weight: 900;
    cursor: pointer;
    color: var(--color-acento);
    z-index: 100;
    transition: all 0.3s ease;
    background-color: #ebc790;
    height: 30px;
    width: 30px;
    text-align: center;
}



#toast { visibility: hidden; position: fixed; top: 30px; right: 30px; background: var(--color-texto); color: white; padding: 16px 32px; z-index: 3000; }

@media (max-width: 768px) {
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}


 .modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: #aa8878db;
        align-items: center;
        justify-content: center;
    }

    .modal-content {
        background-color: #fff;
        max-width: 460px;
        width: 90%;
        max-height: 92vh;
        overflow: hidden;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
        display: flex;
        flex-direction: column;
    }

    .modal-body {
        padding: 0px;
        overflow-y: auto;
        flex: 1;
    }

 

    /* Formulario */
    .reservation-form {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .reservation-form input {
        padding: 12px 14px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 16px;
    }

    .reservation-form input:focus {
        outline: none;
        border-color: #c9a66b;
    }





/* ==================== SECCIÓN DE ÉXITO - ESTILO PREMIUM ==================== */
#successSection {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 35px 25px;
}

#successSection.show {
    display: flex !important;
}

.success-icon {
    font-size: 52px;
    color: #d4af37;           /* Dorado elegante */
    line-height: 1;
    margin-bottom: 8px;
}

#successSection h3 {
    color: #1a1a1a;
    font-size: 1.55rem;
    margin: 0 0 8px 0;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.success-product {
    font-size: 1.15rem;
    color: #555;
    margin: 0 0 15px 0;
    font-weight: 500;
}

.success-info {
    background: #f9f7f2;
    border: 1px solid #e8e0d0;
    border-radius: 12px;
    padding: 18px 20px;
    width: 100%;
    text-align: left;
    font-size: 0.98rem;
    line-height: 1.5;
}

.success-info strong {
    display: block;
    color: #1a1a1a;
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.maps-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #2c2c2c;
    color: white;
    padding: 13px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.maps-link:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
}

.countdown {
    background: #f9f7f2;
    border: 1px solid #e8e0d0;
    border-radius: 12px;
    padding: 14px 24px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.countdown-label {
    font-size: 0.95rem;
    color: #666;
}

.countdown-time {
    font-size: 1.45rem;
    font-weight: 700;
    color: #c44d2f;
    letter-spacing: 1px;
}

.btn-close-success {
    margin-top: 10px;
    padding: 13px 40px;
    font-size: 1.05rem;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close-success:hover {
    background: #333;
    transform: translateY(-1px);
}