/* ==========================================
   DECO WORLD - ESTILOS PRINCIPALES (CSS)
   ========================================== */

/* Importar fuentes elegantes de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;800&family=Plus+Jakarta+Sans:wght@300;400;600&display=swap');

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 300;
}

h1, h2, h3, .logo a {
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.5px;
}

/* --- CONFIGURACIÓN Y BASE --- */
:root {
    --color-champagne: #F7E7CE;
    --color-coral: #FF7F50;
    --color-canela: #D2691E;
    --color-marron: #5D4037;
    --color-white: #FFFFFF;
    --color-red: #ed482d;
    --shadow-soft: 0 2px 10px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--color-white); 
}

body {
    background-color: var(--color-champagne);
    color: var(--color-marron);
    text-align: center;
    padding-top: 80px;
    margin: 0;
    overflow-x: hidden; 
    position: relative;
}

/* --- CONTROL ESTRICTO DE LOGOS --- */
.logo {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.logo img, 
.mobile-menu-logo {
    max-width: 140px !important;
    height: auto !important;
    display: block;
    transition: max-width 0.3s ease;
}

.mobile-menu-header {
    display: none;
}

/* --- HEADER Y NAVEGACIÓN --- */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    width: 100%;
    height: 80px;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    animation: bajarBarra 0.6s ease-out forwards;
}

.nav-main ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-main ul li a {
    text-decoration: none;
    color: var(--color-marron);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 5px;
}

.nav-main ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-coral);
    transition: width 0.3s ease;
}

.nav-main ul li a:hover { color: var(--color-coral); }
.nav-main ul li a:hover::after { width: 100%; }

.mobile-account-item { display: none; }

/* --- ACCIONES DERECHA --- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 35px;
}

.header-actions .icon-btn, 
.search-trigger, 
.account-link {
    text-decoration: none !important;
    color: var(--color-marron);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: color 0.3s;
}

.header-actions i { font-size: 1.2rem; }

/* --- CARRITO CON BURBUJA CORAL --- */
.icon-btn[title="Carrito"] { position: relative; }

#cart-count {
    background-color: var(--color-coral);
    color: white;
    font-size: 10px;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -8px;
    right: -10px;
    border: 2px solid var(--color-white);
}

/* --- BUSCADOR DESPLEGABLE --- */
.search-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-marron); 
    padding: 30px 0; 
    display: none;
    justify-content: center;
    z-index: 2000;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2); 
}

.search-overlay.active {
    display: flex;
    animation: desplegarLupa 0.3s ease-out;
}

.search-bar-container {
    width: 60%;
    display: flex;
    align-items: center;
    border: 3px solid var(--color-champagne); 
    background-color: rgba(0, 0, 0, 0.2); 
    padding: 5px 15px; 
    border-radius: 4px; 
}

.search-bar-container i { color: var(--color-champagne); opacity: 0.8; }
.search-bar-container input {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--color-white); 
    padding: 10px 15px;
    font-size: 1.2rem;
    outline: none;
    font-weight: 500;
}

.search-bar-container input::placeholder { color: rgba(255, 255, 255, 0.6); }

/* --- CUENTA DROPDOWN (Escritorio) --- */
.account-wrapper { position: relative; }

@media (min-width: 769px) {
    .account-dropdown {
        position: absolute;
        top: 130%;
        right: 0;
        background: white;
        width: 230px; 
        border-radius: 8px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        display: none;
        flex-direction: column;
        padding: 15px 0;
        border: 1px solid rgba(0,0,0,0.05);
        z-index: 2000;
    }

    .account-dropdown.active { 
        display: flex; 
        animation: aparecer 0.3s ease; 
    }

    .dropdown-header {
        padding: 0 20px 10px;
        font-size: 0.7rem;
        font-weight: 800;
        color: #bbb;
        text-align: left;
        letter-spacing: 1px;
    }

    .account-dropdown a {
        padding: 10px 20px;
        text-align: left;
        color: var(--color-marron);
        font-size: 0.9rem;
        font-weight: 600;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 12px;
        transition: background-color 0.2s, color 0.2s;
    }

    .account-dropdown a i { color: var(--color-coral); width: 18px; }
    .account-dropdown a:hover { background-color: #f5f5f5; color: var(--color-coral); }
}

.divider { height: 1px; background-color: #eee; margin: 5px 15px; }
.highlight-link { color: var(--color-coral) !important; font-weight: 800 !important; }

/* --- RESPONSIVIDAD (MENÚ DESLIZANTE MÓVIL Y SUBMENÚ) --- */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-marron);
    cursor: pointer;
    position: relative;
    z-index: 1100; 
}

@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .mobile-account-item { display: block; position: static !important; }
    .header-actions { gap: 20px; }
    .menu-toggle { display: block; }

    .nav-main {
        display: block; position: fixed; top: 0; right: -100%; width: 80%; height: 100vh;
        background-color: var(--color-white); box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1); z-index: 1050; overflow: hidden; 
    }

    .nav-main.active { right: 0; }

    .mobile-menu-header {
        display: flex; align-items: center; padding: 20px 10%;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav-main ul { flex-direction: column; gap: 0; }
    .nav-main ul li a {
        padding: 18px 10%; border-bottom: 1px solid rgba(0,0,0,0.03);
        display: flex; align-items: center; text-align: left;
        font-size: 1rem; font-weight: 700; color: var(--color-marron);
    }

    .submenu-mobile {
        position: absolute; top: 0; left: 0; transform: translateX(100%); 
        width: 100%; height: 100%; background-color: var(--color-white);
        transition: transform 0.3s ease-in-out; z-index: 1060;
        display: flex; flex-direction: column;
    }

    .submenu-mobile.active { transform: translateX(0); }

    .submenu-title {
        padding: 25px 10% 10px 10%; font-size: 1.3rem; font-weight: 800;
        text-align: left; color: var(--color-marron);
    }

    .back-btn a {
        background-color: #f4f4f4 !important; font-size: 0.8rem !important;
        color: #666 !important; border-bottom: 2px solid #ddd !important;
        padding: 15px 10% !important;
    }

    .submenu-mobile li a i { margin-right: 15px; color: var(--color-coral); width: 20px; }
    .arrow-submenu { margin-left: auto; font-size: 0.8rem; opacity: 0.5; }
}

/* --- SECCIONES Y BOTONES --- */
section { 
    padding: 100px 20px; min-height: 80vh; position: relative; overflow: hidden; 
}

#inicio { background: linear-gradient(to bottom, var(--color-white) 0%, var(--color-champagne) 15%); padding-top: 120px; }

.btn-coral {
    background: var(--color-coral);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(255, 127, 80, 0.3);
    margin-top: 20px;
}

.btn-coral:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 127, 80, 0.4);
    background-color: var(--color-canela);
    color: var(--color-white);
}

.btn-ghost {
    padding: 12px 30px; border: 2px solid var(--color-marron); border-radius: 50px;
    color: var(--color-marron); text-decoration: none; font-weight: bold;
    transition: 0.3s; margin-top: 20px; display: inline-block;
    background: transparent; cursor: pointer;
}

.btn-ghost:hover { background: var(--color-marron); color: white; }
.content { transition: filter 0.3s ease; }

/* --- SECCIÓN INICIO --- */
.hero-container {
    display: flex; align-items: center; justify-content: space-between; gap: 50px;
    max-width: 1200px; margin: 0 auto; text-align: left; padding: 20px;
}

.hero-tag { color: var(--color-canela); text-transform: uppercase; font-weight: 800; font-size: 0.8rem; letter-spacing: 3px; margin-bottom: 15px; display: block; }
.hero-text h1 { font-size: 3.5rem; line-height: 1.1; color: var(--color-marron); margin-bottom: 25px; }
.hero-text .highlight { color: var(--color-coral); font-style: italic; }
.hero-text p { font-size: 1.1rem; max-width: 500px; color: #7a5a4f; margin-bottom: 35px; }
.hero-actions { display: flex; gap: 20px; }
.hero-visual { flex: 1; display: flex; justify-content: center; }

.image-wrapper { position: relative; max-width: 400px; }
.image-wrapper img {
    width: 100%; border-radius: 24px; box-shadow: 0 20px 40px rgba(93, 64, 55, 0.15);
    border: 5px solid rgb(253, 253, 245); animation: floatImage 6s ease-in-out infinite; object-fit: cover;
}

.floating-badge {
    position: absolute; bottom: -10px; left: -20px; background: var(--color-coral);
    color: white; padding: 15px 20px; border-radius: 50px; font-weight: bold;
    font-size: 0.8rem; box-shadow: 0 10px 20px rgba(255,127,80,0.3);
}

@keyframes floatImage {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@media (max-width: 992px) {
    .hero-container { flex-direction: column; text-align: center; padding-top: 50px; }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-text p { margin: 0 auto 30px; }
    .hero-actions { justify-content: center; }
    .hero-visual { order: -1; margin-bottom: 40px; }
}

/* --- ANIMACIONES --- */
@keyframes bajarBarra { from { transform: translateY(-100%); } to { transform: translateY(0); } }
@keyframes desplegarLupa { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes aparecer { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 769px) {
    .nav-main ul li { opacity: 0; animation: aparecer 0.5s ease-out forwards; }
    .nav-main ul li:nth-child(1) { animation-delay: 0.3s; }
    .nav-main ul li:nth-child(2) { animation-delay: 0.4s; }
    .nav-main ul li:nth-child(3) { animation-delay: 0.5s; }
    .nav-main ul li:nth-child(4) { animation-delay: 0.6s; }
}

/* --- DECORACIONES ORGÁNICAS --- */
.forma-organica {
    position: absolute; z-index: 0; 
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morphingBlob 10s ease-in-out infinite;
    will-change: border-radius, transform;
}

@keyframes morphingBlob {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

.bg-canela { background-color: var(--color-canela); opacity: 0.15; }
.bg-coral { background-color: var(--color-coral); opacity: 0.12; }
.bg-marron { background-color: var(--color-marron); opacity: 0.05; } 

.forma-1 { width: 550px; height: 550px; top: -15%; left: -10%; transform: rotate(-15deg); }
.forma-2 { width: 500px; height: 500px; bottom: -20%; right: -15%; animation-delay: -5s; transform: rotate(30deg); }
.forma-3 { width: 450px; height: 450px; top: -10%; right: -10%; animation-delay: -2s; transform: rotate(10deg); }
.forma-4 { width: 600px; height: 600px; bottom: -10%; left: -20%; animation-delay: -7s; transform: rotate(-20deg); }

@media (max-width: 768px) {
    .forma-1 { width: 280px; height: 280px; top: -5%; left: -15%; }
    .forma-2 { width: 260px; height: 260px; bottom: -10%; right: -15%; }
    .forma-3 { width: 230px; height: 230px; top: -5%; right: -10%; }
    .forma-4 { width: 300px; height: 300px; bottom: -5%; left: -15%; }
}

.content-relative { position: relative; z-index: 2; max-width: 100%; }

.deco-lineal {
    position: absolute; z-index: 1; opacity: 0.4; pointer-events: none; 
    fill: none; stroke-linecap: round; stroke-linejoin: round; 
}

.leaf-1 { top: 10%; right: 5%; width: 130px; transform: rotate(15deg); }
.leaf-2 { bottom: 5%; left: 5%; width: 150px; transform: rotate(-30deg) scaleX(-1); }
.leaf-3 { top: 40%; right: -2%; width: 100px; transform: rotate(-45deg); }

@media (max-width: 768px) {
    .leaf-1 { width: 80px; right: -5%; }
    .leaf-2 { width: 100px; left: -5%; bottom: 2%; }
    .leaf-3 { width: 60px; right: -5%; }
}

/* --- PRODUCTOS --- */
.productos-slider {
    display: flex; gap: 25px; width: calc(100% + 40px); margin-left: -20px;
    padding: 20px 5%; overflow-x: auto; scroll-snap-type: x mandatory; 
    scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; 
}

.productos-slider::-webkit-scrollbar { display: none; }

.producto-card {
    min-width: 300px; flex-shrink: 0; scroll-snap-align: center; 
    background-color: var(--color-white); border-radius: 20px; overflow: hidden; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; flex-direction: column; text-align: left;
    border: 1px solid rgba(0,0,0,0.03); position: relative; z-index: 2; 
}

@media (max-width: 768px) { .producto-card { min-width: 250px; } }

.producto-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }

.producto-img { width: 100%; height: 280px; overflow: hidden; background-color: #f5f5f5; }
.producto-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.producto-card:hover .producto-img img { transform: scale(1.08); }

.producto-info { padding: 25px 20px; display: flex; flex-direction: column; flex-grow: 1; }
.producto-categoria { font-size: 0.75rem; color: var(--color-canela); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 800; margin-bottom: 8px; }
.producto-titulo { font-size: 1.25rem; color: var(--color-marron); font-weight: 800; margin-bottom: 10px; line-height: 1.3; }
.producto-precio { font-size: 1.3rem; color: var(--color-coral); font-weight: 800; margin-bottom: 25px; }

.btn-add-cart {
    margin-top: auto; background: transparent; border: 2px solid var(--color-coral);
    color: var(--color-coral); padding: 12px 0; width: 100%; border-radius: 50px;
    font-size: 0.95rem; font-weight: 700; cursor: pointer; display: flex;
    justify-content: center; align-items: center; gap: 10px; transition: all 0.3s ease;
}

.btn-add-cart:hover { background-color: var(--color-coral); color: var(--color-white); transform: scale(1.02); }

/* --- ALQUILERES --- */
.alquiler-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px; max-width: 1100px; margin: 0 auto; text-align: left;
}

.alquiler-card {
    background: var(--color-white); border-radius: 20px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(93, 64, 55, 0.08); transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03); display: flex; flex-direction: column;
}

.alquiler-card:hover { transform: translateY(-5px); }

.alquiler-img { position: relative; height: 250px; }
.alquiler-img img { width: 100%; height: 100%; object-fit: cover; }

.badge-fianza {
    position: absolute; top: 15px; right: 15px; background: rgba(255, 255, 255, 0.9);
    color: var(--color-marron); padding: 6px 12px; border-radius: 8px;
    font-size: 0.75rem; font-weight: 800; backdrop-filter: blur(4px);
}

.alquiler-info { padding: 30px; display: flex; flex-direction: column; flex-grow: 1; }
.alquiler-categoria { font-size: 0.8rem; color: var(--color-canela); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.alquiler-titulo { color: var(--color-marron); font-size: 1.4rem; margin-bottom: 10px; }
.alquiler-precio { font-size: 1.5rem; color: var(--color-coral); font-weight: 800; margin-bottom: 20px; }
.alquiler-precio span { font-size: 0.9rem; color: #888; font-weight: 400; }

.calendario-box { display: none; margin-bottom: 20px; animation: aparecer 0.3s ease; }
.calendario-box.activo { display: block; }
.calendario-box label { display: block; font-size: 0.85rem; color: var(--color-marron); font-weight: 600; margin-bottom: 8px; }
.selector-fechas {
    width: 100%; padding: 12px; border: 2px solid var(--color-champagne);
    border-radius: 8px; font-family: inherit; outline: none;
    color: var(--color-marron); background-color: #fafafa;
}

.selector-fechas:focus { border-color: var(--color-coral); }

.btn-reservar {
    margin-top: auto; width: 100%; padding: 14px; background: var(--color-marron);
    color: white; border: none; border-radius: 8px; font-weight: 700; font-size: 1rem;
    cursor: pointer; transition: background 0.3s; display: flex;
    justify-content: center; align-items: center; gap: 10px;
}

.btn-reservar:hover { background: var(--color-canela); }


/* ==========================================
   NUEVA SECCIÓN UNIFICADA: APP Y CONTACTO 
   ========================================== */
.app-contact-grid {
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center;
}

.qr-promo-side { text-align: left; }
.app-store-buttons { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 30px; }
.store-btn-small {
    padding: 10px 15px !important; font-size: 0.85rem !important; 
    display: flex; align-items: center; gap: 8px; 
    border-color: #ccc !important; color: #555 !important;
}

.qr-box {
    background: var(--color-white); padding: 25px; border-radius: 20px; 
    box-shadow: 0 15px 30px rgba(93, 64, 55, 0.1); 
    border: 2px solid var(--color-champagne); text-align: center; width: 100%; max-width: 250px;
}

.qr-placeholder {
    width: 160px; height: 160px; background-color: #f5f5f5; margin: 0 auto; 
    border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #bbb;
}

.contact-form-side {
    background: var(--color-white); padding: 40px; border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08); text-align: left;
}

.contact-mini-info {
    display: flex; gap: 20px; font-size: 0.9rem; color: var(--color-coral); font-weight: 600; flex-wrap: wrap;
}

.contact-form { width: 100%; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 15px; border: 2px solid var(--color-champagne);
    border-radius: 12px; outline: none; font-family: inherit;
    font-size: 1rem; transition: border-color 0.3s; background: #fafafa;
}

.contact-form input:focus, .contact-form textarea:focus { border-color: var(--color-coral); background: #fff;}

@media (max-width: 992px) {
    .app-contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .qr-promo-side { text-align: center; }
    .app-store-buttons { justify-content: center; }
    .qr-box { margin: 0 auto; }
    .form-row { grid-template-columns: 1fr; }
    .contact-mini-info { justify-content: center; }
}


/* ==========================================
   MODALES (AUTH Y COOKIES)
   ========================================== */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(93, 64, 55, 0.7); display: none; justify-content: center;
    align-items: center; backdrop-filter: blur(8px);
}

#auth-modal, #cookie-modal-center { z-index: 6000; }

.modal-content {
    background: var(--color-white); padding: 40px; border-radius: 30px;
    width: 90%; max-width: 400px; position: relative; text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2); animation: aparecer 0.4s ease;
}

.modal-logo { max-width: 150px; margin-bottom: 20px; }

.close-modal {
    position: absolute; top: 20px; right: 20px; background: none; border: none;
    font-size: 2rem; color: var(--color-marron); cursor: pointer;
}

.modal-content h3 { margin-bottom: 25px; color: var(--color-marron); font-size: 1.5rem; }
.modal-content input { width: 100%; padding: 12px 15px; margin-bottom: 15px; border: 2px solid var(--color-champagne); border-radius: 10px; outline: none; font-family: inherit; }
.modal-content input:focus { border-color: var(--color-coral); }
.modal-content p { margin-top: 20px; font-size: 0.9rem; }
.modal-content a { color: var(--color-coral); font-weight: bold; text-decoration: none; }

.logout-link { cursor: pointer; transition: background 0.3s; }
.logout-link:hover { background-color: rgba(237, 72, 45, 0.1) !important; }
#submenu-mobile .logout-link { padding: 18px 10% !important; border-top: 1px solid rgba(0,0,0,0.05); }
#btn-logout:hover { background-color: #fff1f0 !important; }

/* --- COOKIES --- */
.cookie-option { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.cookie-option h4 { color: var(--color-marron); font-size: 1rem; margin: 0; }
.toggle-switch { position: relative; display: inline-block; width: 50px; height: 28px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-switch .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 34px; }
.toggle-switch .slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; }
.toggle-switch input:checked + .slider { background-color: var(--color-coral); }
.toggle-switch input:checked + .slider:before { transform: translateX(22px); }
.toggle-switch input:disabled + .slider { background-color: #e0bfa9; cursor: not-allowed; }

/* ==========================================
   MEGA FOOTER DECO WORLD
   ========================================== */
.footer-deco {
    background-color: var(--color-marron); color: var(--color-white);
    padding: 80px 5% 30px; font-family: 'Plus Jakarta Sans', sans-serif;
    position: relative; z-index: 10;
}

.footer-container {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 50px; text-align: left;
}

.footer-col h3 { color: var(--color-champagne); font-size: 0.95rem; margin-bottom: 25px; letter-spacing: 2px; font-family: 'Plus Jakarta Sans', sans-serif; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col ul li a { color: #cccccc; text-decoration: none; font-size: 0.9rem; transition: color 0.3s, padding-left 0.3s; display: inline-block; }
.footer-col ul li a:hover { color: var(--color-coral); padding-left: 5px; }
.footer-newsletter p { font-size: 0.85rem; color: #cccccc; line-height: 1.5; margin-bottom: 20px; }

.newsletter-form { display: flex; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 8px; overflow: hidden; }
.newsletter-form input { flex: 1; padding: 12px 15px; border: none; background: rgba(0, 0, 0, 0.2); color: white; outline: none; font-family: inherit; }
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.5); }
.newsletter-form button { background: var(--color-coral); color: white; border: none; padding: 0 20px; font-weight: bold; cursor: pointer; transition: background 0.3s; }
.newsletter-form button:hover { background: var(--color-canela); }

.social-icons { display: flex; gap: 15px; }
.social-icons a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255, 255, 255, 0.1); color: white; border-radius: 50%; text-decoration: none; font-size: 1.2rem; transition: all 0.3s ease; }
.social-icons a:hover { background: var(--color-coral); transform: translateY(-3px); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 30px auto 0; flex-wrap: wrap; gap: 20px; font-size: 0.8rem; color: #999; }
.legal-links { margin-top: 10px; }
.legal-links a { color: #999; text-decoration: none; margin-right: 15px; transition: color 0.3s; }
.legal-links a:hover { color: var(--color-champagne); }

.footer-payments { display: flex; align-items: center; gap: 10px; font-size: 1.8rem; color: #ccc; }
.footer-payments span { font-size: 0.75rem; font-weight: bold; letter-spacing: 1px; margin-right: 5px; }
.footer-location { display: flex; align-items: center; gap: 8px; color: #ccc; }

@media (max-width: 992px) {
    .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
    .legal-links a { display: inline-block; margin: 5px 10px; }
}

/* ==========================================
   PANEL LATERAL DEL CARRITO (OFF-CANVAS)
   ========================================== */
.cart-overlay-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(93, 64, 55, 0.5); backdrop-filter: blur(3px); z-index: 4000; opacity: 0; visibility: hidden; transition: all 0.4s ease; }
.cart-overlay-bg.open { opacity: 1; visibility: visible; }
.cart-sidebar { position: fixed; top: 0; right: 0; width: 400px; height: 100vh; background-color: var(--color-white); box-shadow: -10px 0 30px rgba(0,0,0,0.1); z-index: 4001; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); display: flex; flex-direction: column; }
.cart-sidebar.open { transform: translateX(0); }

.cart-header { padding: 25px; border-bottom: 1px solid rgba(0,0,0,0.05); display: flex; justify-content: space-between; align-items: center; }
.cart-header h3 { color: var(--color-marron); font-size: 1.2rem; margin: 0; }
.close-cart-btn { background: none; border: none; font-size: 2rem; color: #999; cursor: pointer; transition: color 0.3s; }
.close-cart-btn:hover { color: var(--color-coral); }

.cart-items { flex-grow: 1; overflow-y: auto; padding: 25px; display: flex; flex-direction: column; gap: 20px; }
.cart-empty-msg { text-align: center; color: #999; margin-top: 50px; font-size: 1rem; }

.cart-item { display: flex; gap: 15px; padding-bottom: 20px; border-bottom: 1px solid #f0f0f0; position: relative; }
.cart-item img { width: 80px; height: 80px; object-fit: cover; border-radius: 12px; }
.item-details { flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.item-details h4 { font-size: 0.95rem; color: var(--color-marron); margin: 0 0 5px 0; line-height: 1.3; }
.item-price { color: var(--color-coral); font-weight: 800; font-size: 0.9rem; }

.item-quantity { display: flex; align-items: center; gap: 10px; background: #f9f9f9; width: fit-content; border-radius: 20px; padding: 2px 8px; border: 1px solid #eee; }
.qty-btn { background: none; border: none; cursor: pointer; font-size: 1rem; color: var(--color-marron); }
.item-quantity span { font-size: 0.9rem; font-weight: 600; min-width: 15px; text-align: center; }

.remove-item { position: absolute; top: 0; right: 0; background: none; border: none; color: #ccc; cursor: pointer; transition: color 0.3s; }
.remove-item:hover { color: var(--color-red); }

.cart-footer { padding: 25px; background-color: #fafafa; border-top: 1px solid rgba(0,0,0,0.05); }
.cart-subtotal { display: flex; justify-content: space-between; font-size: 1.2rem; font-weight: 800; color: var(--color-marron); margin-bottom: 10px; }
.cart-note { font-size: 0.8rem; color: #888; margin-bottom: 20px; text-align: center; }
.btn-checkout { width: 100%; display: flex; justify-content: center; gap: 10px; padding: 16px; font-size: 1.1rem; }

@media (max-width: 450px) { .cart-sidebar { width: 100%; } }