/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

@media (min-width: 769px) {
    .section-divider {
        display: none;
    }
}

:root {
    /* === PALETA OBLIGATORIA FRANCA PASTELERÍA === */
    --guinda-profundo:     #580A1A; /* Fondo principal de la página & Secciones oscuras */
    --crema-manteca:       #FDF6E3; /* Texto principal sobre oscuro, tarjetas, fondos claros */
    --mousse-dulce:        #E8D1B3; /* Acentos secundarios, bordes suaves, detalles */
    --dorado-acaramelado:  #D9A06F; /* Botones CTA, íconos, precios */
    --chocolate-negro:     #3E241F; /* Texto sobre fondos claros, footer, alto contraste */

    /* === DERIVADOS FUNCIONALES UI/UX PRO MAX === */
    --dorado-hover:        #C58B5B;
    --guinda-hover:        #440713;
    --guinda-overlay:      rgba(88, 10, 26, 0.82);
    --mousse-transparent:  rgba(232, 209, 179, 0.18);
    --mousse-border:       rgba(232, 209, 179, 0.35);
    
    /* ALIAS COMPATIBILIDAD SISTEMA */
    --primary:             var(--guinda-profundo);
    --primary-hover:       var(--guinda-hover);
    --primary-light:       #6E1225;
    --accent:              var(--dorado-acaramelado);
    --accent-hover:        var(--dorado-hover);
    --accent-light:        var(--mousse-transparent);
    --cream:               var(--crema-manteca);
    --cream-card:          #FFFFFF;
    --foreground:          var(--chocolate-negro);
    --foreground-muted:    #6E554F;

    --crema:               var(--crema-manteca);
    --arena:               var(--dorado-acaramelado);
    --arena-gold:          var(--dorado-acaramelado);
    --bordo:               var(--guinda-profundo);
    --bordo-hover:         var(--guinda-hover);
    --chocolate:           var(--chocolate-negro);
    --chocolate-hover:     #2B1713;
    --negro:               var(--chocolate-negro);
    --blanco:              #FFFFFF;
    --mousse:              var(--mousse-dulce);
    
    --sombra-suave:        0 4px 20px rgba(62, 36, 31, 0.08);
    --sombra-elevada:       0 14px 36px rgba(88, 10, 26, 0.18);
    --radio:               16px;
    --transicion:          0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== UI: SELECCIÓN DE TEXTO ===== */
::selection { background: var(--arena); color: var(--blanco); }
::-moz-selection { background: var(--arena); color: var(--blanco); }

/* ===== UI: SCROLLBAR GLOBAL ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--crema); }
::-webkit-scrollbar-thumb { background: var(--arena); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--chocolate); }
html { scrollbar-width: thin; scrollbar-color: var(--arena) var(--crema); }

html { scroll-behavior: smooth; font-size: 16px; overflow-y: scroll; overflow-x: hidden; width: 100%; }
html.no-scroll, html.no-scroll body { overflow: hidden !important; }

body {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    color: var(--crema-manteca);
    background-color: var(--guinda-profundo);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 0; opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23E8D1B3' fill-opacity='1' fill-rule='evenodd'%3E%3Cpath d='M0 0h1v1H0zM4 4h1v1H4zM8 0h1v1H8zM0 8h1v1H0zM4 12h1v1H4zM8 8h1v1H8zM12 4h1v1h-1zM16 0h1v1h-1zM12 12h1v1h-1zM16 8h1v1h-1zM20 4h1v1h-1zM20 12h1v1h-1zM24 0h1v1h-1zM24 8h1v1h-1zM28 4h1v1h-1zM28 12h1v1h-1zM32 0h1v1h-1zM32 8h1v1h-1zM36 4h1v1h-1zM36 12h1v1h-1zM0 16h1v1H0zM4 20h1v1H4zM8 16h1v1H8zM0 24h1v1H0zM4 28h1v1H4zM8 24h1v1H4zM8 24h1v1H8zM12 20h1v1h-1zM16 16h1v1h-1zM12 28h1v1h-1zM16 24h1v1h-1zM20 20h1v1h-1zM20 28h1v1h-1zM24 16h1v1h-1zM24 24h1v1h-1zM28 20h1v1h-1zM28 28h1v1h-1zM32 16h1v1h-1zM32 24h1v1h-1zM36 20h1v1h-1zM36 28h1v1h-1zM0 32h1v1H0zM4 36h1v1H4zM8 32h1v1H8zM12 36h1v1h-1zM16 32h1v1h-1zM20 36h1v1h-1zM24 32h1v1h-1zM28 36h1v1h-1zM32 32h1v1h-1zM36 36h1v1h-1z'/%3E%3C/g%3E%3C/svg%3E");
}

h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 600; color: var(--crema-manteca); line-height: 1.2; }
p { color: inherit; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

.fade-in { opacity: 0; transform: translateY(32px); transition: opacity 0.8s var(--transicion), transform 0.8s var(--transicion); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s var(--transicion), transform 0.8s var(--transicion); }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s var(--transicion), transform 0.8s var(--transicion); }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

.ornament { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 12px; }
.ornament span { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--arena); line-height: 1; }
.ornament::before, .ornament::after { content: ''; width: 48px; height: 1px; background: var(--arena); }
.section-subtitle { font-family: 'Outfit', sans-serif; font-size: 0.85rem; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--arena); margin-bottom: 8px; }
.section-title { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 16px; }
.section-desc { max-width: 560px; margin: 0 auto 48px; font-size: 1.05rem; text-align: center; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 8px 0;
    background: rgba(88, 10, 26, 0.25);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    border-bottom: 1px solid transparent;
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
.navbar.scrolled {
    background: rgba(88, 10, 26, 0.96);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid var(--mousse-border);
    box-shadow: 0 4px 24px rgba(62, 36, 31, 0.3);
    padding: 6px 0;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.navbar-logo { height: 64px; transition: height 0.35s ease, filter 0.35s ease; filter: brightness(0) invert(1); }
.navbar.scrolled .navbar-logo { height: 54px; }
.navbar-right { display: flex; align-items: center; gap: 12px; }

/* ===== NAVBAR LINKS ===== */
.navbar-links { display: flex; align-items: center; gap: 28px; list-style: none; }

.navbar-links .nav-link {
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--crema-manteca) !important;
    position: relative;
    padding: 4px 0;
    transition: color var(--transicion);
}
.navbar-links .nav-link::after {
    content: '';
    position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--dorado-acaramelado);
    transition: width var(--transicion);
}
.navbar-links .nav-link:hover { color: var(--dorado-acaramelado) !important; }
.navbar-links .nav-link:hover::after { width: 100%; }

.navbar-cta {
    background: var(--dorado-acaramelado) !important;
    color: var(--chocolate-negro) !important;
    padding: 8px 22px !important;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background var(--transicion), transform var(--transicion), box-shadow var(--transicion);
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(217, 160, 111, 0.25);
}
.navbar-cta::after { display: none !important; }
.navbar-cta:hover { 
    background: var(--dorado-hover) !important; 
    color: var(--chocolate-negro) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(217, 160, 111, 0.35);
}

/* Botón carrito en navbar */
.navbar-cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid var(--mousse-dulce);
    cursor: pointer;
    transition: all var(--transicion);
    flex-shrink: 0;
}
.navbar-cart-btn:hover { background: var(--dorado-acaramelado); border-color: var(--dorado-acaramelado); }
.navbar-cart-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--crema-manteca); stroke-width: 2; }
.navbar-cart-btn:hover svg { stroke: var(--chocolate-negro) !important; }

.cart-count {
    position: absolute;
    top: -4px; right: -4px;
    background: var(--dorado-acaramelado);
    color: var(--chocolate-negro);
    font-size: 0.68rem;
    font-weight: 700;
    width: 19px; height: 19px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--guinda-profundo);
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cart-count.visible { opacity: 1; transform: scale(1); }
.cart-count.bump { animation: cartBump 0.35s ease; }
@keyframes cartBump { 0%,100% { transform: scale(1); } 50% { transform: scale(1.4); } }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; z-index: 1001; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--negro); transition: transform 0.3s, opacity 0.3s; border-radius: 2px; }
.navbar.scrolled .hamburger span { background: var(--blanco); }
.navbar:not(.scrolled) .hamburger span { background: rgba(255,255,255,0.9); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--guinda-profundo); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.8);
    will-change: transform;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}
.hero-content { position: relative; z-index: 2; text-align: center; padding: 120px 24px 80px; max-width: 820px; }
.hero-logo { width: 220px; margin: 0 auto 24px; filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,0.5)); opacity: 0; animation: heroFadeDown 1s 0.2s forwards; }
.hero-divider { width: 60px; height: 1px; background: var(--dorado-acaramelado); margin: 0 auto 24px; opacity: 0; animation: heroFadeDown 1s 0.4s forwards; }
.hero-subtitle { font-family: 'Outfit', sans-serif; font-size: 0.85rem; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--dorado-acaramelado); margin-bottom: 16px; opacity: 0; animation: heroFadeDown 1s 0.5s forwards; text-shadow: 0 2px 8px rgba(0,0,0,0.6); }
.hero h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); color: var(--crema-manteca); margin-bottom: 20px; font-weight: 500; font-style: italic; opacity: 0; animation: heroFadeDown 1s 0.6s forwards; text-shadow: 0 2px 12px rgba(0,0,0,0.6); }
.hero-tagline { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.2rem, 3vw, 1.6rem); color: var(--mousse-dulce); font-style: italic; font-weight: 400; margin-bottom: 40px; opacity: 0; animation: heroFadeDown 1s 0.8s forwards; }
.hero-cta { display: inline-flex; align-items: center; gap: 12px; background: var(--dorado-acaramelado); color: var(--chocolate-negro); padding: 18px 40px; border-radius: 50px; font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 600; letter-spacing: 0.5px; border: none; cursor: pointer; transition: all var(--transicion); box-shadow: 0 8px 24px rgba(217, 160, 111, 0.35); opacity: 0; animation: heroFadeUp 1s 1s forwards; }
.hero-cta svg { width: 22px; height: 22px; fill: var(--chocolate-negro); transition: fill var(--transicion); }
.hero-cta:hover { background: var(--dorado-hover); color: var(--chocolate-negro); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(217, 160, 111, 0.5); }
.hero-cta:hover svg { fill: var(--chocolate-negro); }
.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0; animation: heroFadeUp 1s 1.2s forwards; }
.hero-scroll span { font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--mousse-dulce); }
.hero-scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--dorado-acaramelado), transparent); animation: scrollPulse 2s infinite; }
@keyframes heroFadeDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scrollPulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ===== PILARES DE MARCA (PROPUESTA DE VALOR EDITORIAL) ===== */
.pilares {
    padding: 90px 0;
    background: var(--guinda-profundo);
    color: var(--crema-manteca);
    position: relative;
    z-index: 1;
    border-bottom: 1px solid var(--mousse-border);
}
.pilares .section-title {
    color: var(--crema-manteca);
}
.pilares .section-subtitle {
    color: var(--dorado-acaramelado);
}
.pilares .section-desc {
    color: var(--mousse-dulce);
}
.pilares-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.pilar-card {
    background: rgba(253, 246, 227, 0.05);
    border: 1px solid var(--mousse-border);
    border-radius: var(--radio);
    padding: 36px 28px;
    text-align: left;
    position: relative;
    box-shadow: var(--sombra-suave);
    transition: transform var(--transicion), border-color var(--transicion), background var(--transicion), box-shadow var(--transicion);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.pilar-card:hover {
    transform: translateY(-6px);
    background: rgba(253, 246, 227, 0.09);
    border-color: var(--dorado-acaramelado);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.pilar-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dorado-acaramelado);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: 1px;
}
.pilar-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--crema-manteca);
    margin-bottom: 12px;
    font-weight: 600;
}
.pilar-card p {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: var(--mousse-dulce);
    line-height: 1.65;
    margin: 0;
}

/* ===== CATEGORÍAS (MOSAICO VISUAL DINÁMICO) ===== */
.categorias {
    padding: 90px 0;
    background: var(--crema-manteca);
    color: var(--chocolate-negro);
    position: relative;
    z-index: 1;
}
.categorias .section-title {
    color: var(--guinda-profundo);
}
.categorias .section-subtitle {
    color: var(--dorado-acaramelado);
}
.categorias .section-desc {
    color: var(--chocolate-negro);
}
.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.categoria-card {
    position: relative;
    height: 320px;
    border-radius: var(--radio);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--sombra-suave);
    border: 1px solid var(--mousse-border);
    transition: transform var(--transicion), box-shadow var(--transicion), border-color var(--transicion);
    display: block;
    text-decoration: none;
}
.categoria-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sombra-elevada);
    border-color: var(--dorado-acaramelado);
}
.categoria-card-img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.categoria-card:hover .categoria-card-img {
    transform: scale(1.08);
}
.categoria-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(88,10,26,0.15) 0%, rgba(62,36,31,0.85) 100%);
    padding: 24px;
    display: flex; flex-direction: column; justify-content: flex-end;
    color: var(--crema-manteca);
    transition: background var(--transicion);
    text-align: left;
}
.categoria-card:hover .categoria-card-overlay {
    background: linear-gradient(180deg, rgba(88,10,26,0.25) 0%, rgba(88,10,26,0.92) 100%);
}
.categoria-card-tag {
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--dorado-acaramelado);
    margin-bottom: 6px;
}
.categoria-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--crema-manteca);
    line-height: 1.15;
    margin: 0 0 8px 0;
}
.categoria-card-link {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mousse-dulce);
    display: inline-flex; align-items: center; gap: 6px;
    transition: transform var(--transicion), color var(--transicion);
}
.categoria-card:hover .categoria-card-link {
    color: var(--dorado-acaramelado);
    transform: translateX(4px);
}

/* ===== NUESTROS PRODUCTOS ===== */
.productos { padding: 90px 0; text-align: center; position: relative; z-index: 1; background: var(--crema-manteca); border-top: 1px solid var(--mousse-border); }
.productos .section-title { color: var(--guinda-profundo); }
.productos .section-subtitle { color: var(--dorado-acaramelado); }
.productos .section-desc { color: var(--chocolate-negro); }
.productos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }

.producto-card {
    background: #FFFFFF; border-radius: 16px; overflow: hidden;
    border: 1px solid rgba(201, 122, 94, 0.18);
    box-shadow: 0 4px 20px rgba(77, 10, 16, 0.05);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    display: flex; flex-direction: column;
}
.producto-card:hover { transform: translateY(-6px); box-shadow: 0 14px 36px rgba(77, 10, 16, 0.12); border-color: var(--accent); }

.producto-img-container {
    position: relative; width: 100%; aspect-ratio: 1/1;
    overflow: hidden; cursor: pointer; background: var(--cream);
}
.producto-badge {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    background: rgba(253, 245, 242, 0.95); backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--accent); font-family: 'Outfit', sans-serif;
    font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px;
    padding: 3px 10px; border-radius: 50px; border: 1px solid rgba(201, 122, 94, 0.35);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.producto-img-overlay {
    position: absolute; inset: 0;
    background: rgba(77, 10, 16, 0.18);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.35s ease; z-index: 1;
}
.producto-img-overlay span {
    color: #FFFFFF; font-family: 'Outfit', sans-serif;
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
    background: rgba(77, 10, 16, 0.88); padding: 6px 14px; border-radius: 50px;
    backdrop-filter: blur(4px); transition: transform 0.3s ease;
}
.producto-img-container:hover .producto-img-overlay { opacity: 1; }
.producto-img-container:hover .producto-img-overlay span { transform: scale(1.05); }

.producto-img {
    width: 100%; height: 100%; position: relative;
}
.producto-img img {
    width: 100%; height: 100%; object-fit: contain;
    padding: 8px; background: #FAF6F0;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    content-visibility: auto;
}
.producto-card:hover .producto-img img { transform: scale(1.06); }

.producto-info {
    padding: 16px 16px 18px; flex: 1;
    display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
    text-align: left;
}
.producto-header-row { cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.producto-nombre { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 700; color: var(--primary); margin: 0; line-height: 1.25; transition: color 0.3s ease; }
.producto-header-row:hover .producto-nombre { color: var(--accent); }
.producto-precio { font-family: 'Outfit', sans-serif; font-size: 1.05rem; font-weight: 600; color: var(--primary-light); margin: 0; }

.producto-actions { display: flex; gap: 6px; align-items: center; width: 100%; }
.producto-btn-cart {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    background: var(--primary); color: #FFFFFF; border: 1.5px solid var(--primary);
    padding: 10px 12px; border-radius: 50px;
    font-family: 'Outfit', sans-serif; font-size: 0.84rem; font-weight: 600;
    letter-spacing: 0.3px; cursor: pointer; transition: all var(--transicion);
    box-shadow: 0 4px 14px rgba(77, 10, 16, 0.2);
}
.producto-btn-cart svg { stroke: #FFFFFF; transition: stroke var(--transicion); flex-shrink: 0; }
.producto-btn-cart:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: #FFFFFF; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(77, 10, 16, 0.32); }
.producto-btn-cart:hover svg { stroke: #FFFFFF; }
.producto-btn-cart.added { background: #2d7a4f !important; border-color: #2d7a4f !important; color: #FFFFFF !important; animation: addedPop 0.4s ease; }
.producto-btn-cart.added svg { stroke: #FFFFFF !important; }

.producto-btn-detail {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--accent-light); border: 1.5px solid rgba(201, 122, 94, 0.25);
    color: var(--accent); cursor: pointer; transition: all var(--transicion);
    flex-shrink: 0;
}
.producto-btn-detail svg { stroke: var(--accent); transition: stroke var(--transicion); }
.producto-btn-detail:hover { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.producto-btn-detail:hover svg { stroke: #FFFFFF; }

/* ===== MODAL VER DESCRIPCIÓN (CLIENTE) ===== */
.desc-modal-overlay {
    position: fixed; inset: 0; background: rgba(34, 34, 34, 0.55); z-index: 3000;
    opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
    backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center;
    padding: 24px;
}
.desc-modal-overlay.open { opacity: 1; pointer-events: all; }
.desc-modal-card {
    background: var(--blanco); border-radius: var(--radio); max-width: 460px; width: 100%;
    box-shadow: var(--sombra-elevada); position: relative; overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transform: scale(0.92); opacity: 0; transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 86vh; display: flex; flex-direction: column;
    overscroll-behavior: contain;
}
.desc-modal-overlay.open .desc-modal-card { transform: scale(1); opacity: 1; }
.desc-modal-img { width: 100%; aspect-ratio: 4/3; overflow: hidden; flex-shrink: 0; background: #FAF6F0; display: flex; align-items: center; justify-content: center; }
.desc-modal-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.desc-modal-body { padding: 24px 28px 28px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.desc-modal-title { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: var(--primary); font-weight: 700; margin-bottom: 4px; }
.desc-modal-category { display: inline-block; font-family: 'Outfit', sans-serif; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.6px; color: var(--primary); background: var(--arena-light); padding: 3px 10px; border-radius: 20px; margin-bottom: 12px; }
.desc-modal-price { font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 600; color: var(--primary-light); margin-bottom: 16px; }
.desc-modal-text { font-size: 0.95rem; color: var(--foreground); line-height: 1.7; white-space: pre-line; }
.desc-modal-close {
    position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
    border: none; background: rgba(255,255,255,0.9); cursor: pointer; display: flex;
    align-items: center; justify-content: center; transition: all var(--transicion); z-index: 1;
}
.desc-modal-close:hover { background: var(--primary); }
.desc-modal-close svg { width: 16px; height: 16px; stroke: var(--primary); stroke-width: 2; fill: none; transition: stroke var(--transicion); }
.desc-modal-close:hover svg { stroke: var(--blanco); }

/* Body locked cuando modal abierto */
body.modal-open { position: fixed; width: 100%; overflow: hidden; }

.producto-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--primary); color: #FFFFFF;
    border: 1.5px solid var(--primary);
    padding: 10px 18px; border-radius: 50px;
    font-family: 'Outfit', sans-serif; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.5px;
    cursor: pointer; transition: all var(--transicion);
}
.producto-btn svg { width: 16px; height: 16px; fill: none; stroke: #FFFFFF; stroke-width: 2; transition: stroke var(--transicion); }
.producto-btn:hover { background: var(--primary-hover); color: #FFFFFF; border-color: var(--primary-hover); }
.producto-btn:hover svg { stroke: #FFFFFF; }

/* Botón agregar al carrito — estilo sólido acento (primary) */
.producto-btn-primary {
    background: var(--accent); color: var(--primary);
    border-color: var(--accent); font-weight: 600;
}
.producto-btn-primary svg { stroke: var(--primary); }
.producto-btn-primary:hover { background: #c39e2e; color: var(--primary-hover); border-color: #c39e2e; }
.producto-btn-primary:hover svg { stroke: var(--primary-hover); }
.producto-btn-primary.added { background: #2d7a4f; border-color: #2d7a4f; animation: addedPop 0.4s ease; }
@keyframes addedPop { 0%,100% { transform: scale(1); } 50% { transform: scale(1.15); } }

/* Botón agregar al carrito circular (legacy) */
.btn-add-cart {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--chocolate); color: var(--blanco);
    border: 1.5px solid var(--chocolate);
    width: 44px; height: 44px; border-radius: 50%;
    cursor: pointer; transition: all var(--transicion);
    flex-shrink: 0;
}
.btn-add-cart svg { width: 18px; height: 18px; fill: none; stroke: var(--blanco); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-add-cart:hover { background: var(--chocolate-hover); border-color: var(--chocolate-hover); transform: scale(1.1); }

/* Botón "Ver todos los productos" */
.ver-todos-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--dorado-acaramelado); color: var(--chocolate-negro);
    border: 2px solid var(--dorado-acaramelado);
    padding: 14px 36px; border-radius: 50px;
    font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 600; letter-spacing: 0.5px;
    cursor: pointer; transition: all var(--transicion);
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(217, 160, 111, 0.3);
}
.ver-todos-btn:hover {
    background: var(--dorado-hover); border-color: var(--dorado-hover); color: var(--chocolate-negro);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(217, 160, 111, 0.45);
}
.ver-todos-btn svg {
    stroke: var(--chocolate-negro);
    transition: transform 0.3s var(--transicion);
}
.ver-todos-btn:hover svg {
    transform: translateX(4px);
}
.btn-add-cart.added { background: #2d7a4f; border-color: #2d7a4f; animation: addedPop 0.4s ease; }

/* ===== TOAST DE CARRITO ===== */
.cart-toast-container {
    position: fixed; top: 80px; right: 24px; z-index: 2000;
    display: flex; flex-direction: column; gap: 10px;
    pointer-events: none;
}
.cart-toast {
    display: flex; align-items: center; gap: 12px;
    background: var(--negro); color: var(--blanco);
    padding: 14px 18px; border-radius: 50px;
    font-family: 'Outfit', sans-serif; font-size: 0.88rem; font-weight: 500;
    box-shadow: 0 8px 32px rgba(13,0,0,0.18);
    transform: translateX(120%); opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    pointer-events: all; white-space: nowrap;
}
.cart-toast.show { transform: translateX(0); opacity: 1; }
.cart-toast-icon {
    width: 28px; height: 28px; border-radius: 50%;
    background: #2d7a4f; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.cart-toast-icon svg { width: 14px; height: 14px; stroke: white; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ===== PARTÍCULA FLYOUT AL CARRITO ===== */
.fly-particle {
    position: fixed; width: 10px; height: 10px;
    border-radius: 50%; background: var(--chocolate);
    pointer-events: none; z-index: 9999;
    transition: none;
}

/* ===== CARRITO DRAWER ===== */
.cart-overlay {
    position: fixed; inset: 0;
    background: rgba(34, 34, 34, 0.5);
    z-index: 1100;
    opacity: 0; pointer-events: none;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(3px);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
    position: fixed; top: 0; right: -420px; width: 420px; max-width: 100vw;
    height: 100%; z-index: 1101;
    background: var(--cream);
    border-left: 3px solid var(--accent);
    box-shadow: -8px 0 48px rgba(53,11,14,0.18);
    display: flex; flex-direction: column;
    transition: right 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cart-drawer.open { right: 0; }

.cart-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 24px 28px 20px;
    border-bottom: 1px solid rgba(75,16,20,0.12);
    flex-shrink: 0;
}
.cart-header h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem; font-weight: 700; color: var(--primary);
    display: flex; align-items: center; gap: 10px;
}
.cart-header h3 svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cart-close {
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(75,16,20,0.15);
    background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all var(--transicion);
}
.cart-close:hover { background: var(--primary); border-color: var(--primary); }
.cart-close svg { width: 16px; height: 16px; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; fill: none; transition: stroke var(--transicion); }
.cart-close:hover svg { stroke: var(--blanco); }

/* Items del carrito */
.cart-items {
    flex: 1; overflow-y: auto; padding: 20px 24px;
    scrollbar-width: thin; scrollbar-color: var(--accent) transparent;
}
.cart-items::-webkit-scrollbar { width: 4px; }
.cart-items::-webkit-scrollbar-track { background: transparent; }
.cart-items::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }

.cart-empty {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    height: 100%; gap: 16px; text-align: center; padding: 40px 0;
}
.cart-empty svg { width: 64px; height: 64px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0.6; }
.cart-empty p { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-style: italic; color: var(--foreground-muted); }

.cart-item {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 14px; margin-bottom: 12px;
    background: #FFFFFF; border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 2px 8px rgba(75, 16, 20, 0.04);
    animation: slideInItem 0.3s ease;
}
@keyframes slideInItem { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

.cart-item-img {
    width: 64px; height: 64px;
    border-radius: 8px; overflow: hidden; flex-shrink: 0;
    background: var(--arena-light);
}
.cart-item-img img {
    width: 64px; height: 64px;
    object-fit: cover;
}

.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 700; color: var(--primary); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-price { font-size: 0.95rem; font-weight: 600; color: var(--primary-light); }

.cart-item-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.qty-btn {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid rgba(75, 16, 20, 0.2);
    background: transparent; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: var(--primary);
    transition: all var(--transicion); line-height: 1;
    font-family: 'Outfit', sans-serif;
}
.qty-btn:hover { background: var(--primary); border-color: var(--primary); color: var(--blanco); }
.qty-display { font-size: 0.95rem; font-weight: 600; color: var(--primary); min-width: 20px; text-align: center; }

.cart-item-remove { background: none; border: none; cursor: pointer; padding: 4px; opacity: 0.4; transition: opacity var(--transicion); }
.cart-item-remove:hover { opacity: 1; }
.cart-item-remove svg { width: 14px; height: 14px; fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; }

/* Footer carrito */
.cart-footer {
    padding: 20px 24px 24px;
    border-top: 1px solid rgba(75,16,20,0.1);
    flex-shrink: 0;
    background: var(--cream);
}
.cart-subtotal {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 18px;
}
.cart-subtotal span { font-size: 0.92rem; color: var(--foreground-muted); font-weight: 500; }
.cart-subtotal strong { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 700; color: var(--primary); }

.cart-checkout-btn {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    width: 100%; padding: 18px 24px;
    background: #25D366; color: var(--blanco);
    border: none; border-radius: 50px; cursor: pointer;
    font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 600;
    letter-spacing: 0.3px;
    transition: all var(--transicion);
    box-shadow: 0 6px 20px rgba(37,211,102,0.25);
}
.cart-checkout-btn svg { width: 22px; height: 22px; fill: var(--blanco); }
.cart-checkout-btn:hover { background: #1da851; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37,211,102,0.35); }
.cart-checkout-btn:disabled { background: rgba(13,0,0,0.15); color: rgba(13,0,0,0.35); box-shadow: none; cursor: not-allowed; transform: none; }
.cart-checkout-btn:disabled svg { fill: rgba(13,0,0,0.35); }

.cart-clear-btn {
    display: block; width: 100%; margin-top: 10px;
    background: none; border: none; cursor: pointer;
    font-size: 0.8rem; color: rgba(13,0,0,0.35); text-align: center;
    transition: color var(--transicion);
    font-family: 'Outfit', sans-serif;
    padding: 6px;
}
.cart-clear-btn:hover { color: var(--chocolate); }

/* ===== EL ARTE DEL PEDIDO (PROCESO) ===== */
.proceso-pedido {
    padding: 90px 0;
    background: var(--guinda-profundo);
    color: var(--crema-manteca);
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--mousse-border);
}
.proceso-pedido .section-title { color: var(--crema-manteca); }
.proceso-pedido .section-subtitle { color: var(--dorado-acaramelado); }
.proceso-pedido .section-desc { color: var(--mousse-dulce); }
.proceso-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
    position: relative;
}
.proceso-step {
    background: rgba(253, 246, 227, 0.05);
    border: 1px solid var(--mousse-border);
    border-radius: var(--radio);
    padding: 36px 28px;
    text-align: left;
    box-shadow: var(--sombra-suave);
    transition: transform var(--transicion), box-shadow var(--transicion), border-color var(--transicion);
    position: relative;
}
.proceso-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    border-color: var(--dorado-acaramelado);
    background: rgba(253, 246, 227, 0.09);
}
.proceso-step-badge {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--dorado-acaramelado);
    background: var(--mousse-transparent);
    border: 1px solid var(--mousse-border);
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}
.proceso-step h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--crema-manteca);
    margin-bottom: 10px;
}
.proceso-step p {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: var(--mousse-dulce);
    line-height: 1.6;
    margin: 0;
}

/* ===== SOBRE NOSOTROS ===== */
.sobre-nosotros { padding: 100px 0; background: var(--crema-manteca); color: var(--chocolate-negro); position: relative; z-index: 1; overflow: hidden; border-top: 1px solid var(--mousse-border); }
.sobre-nosotros::before { content: ''; position: absolute; top: -60px; left: -60px; width: 300px; height: 300px; border-radius: 50%; background: rgba(217, 160, 111, 0.12); filter: blur(80px); pointer-events: none; }
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; min-width: 0; }
.sobre-img-wrapper, 
.sobre-text { min-width: 0; }
.sobre-img-wrapper { position: relative; }
.sobre-img-wrapper::before { content: ''; position: absolute; top: -16px; left: -16px; width: 100%; height: 100%; border: 2px solid var(--dorado-acaramelado); border-radius: var(--radio); z-index: 0; transition: transform 0.6s ease; }
.sobre-img-wrapper:hover::before { transform: translate(-4px, -4px); }

.sobre-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover; border-radius: var(--radio);
    position: relative; z-index: 1; box-shadow: var(--sombra-elevada);
    transition: transform 0.6s ease;
}
.sobre-img-wrapper:hover .sobre-img { transform: translate(4px, 4px); }

.sobre-text { padding: 20px 0; }
.sobre-text .section-subtitle { text-align: left; color: var(--dorado-acaramelado); }
.sobre-text h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 24px; color: var(--guinda-profundo); }
.sobre-text p { font-size: 1.05rem; margin-bottom: 16px; line-height: 1.8; color: var(--chocolate-negro); opacity: 0.95; }
.sobre-text p:last-of-type { margin-bottom: 32px; }
.sobre-firma { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-style: italic; color: var(--guinda-profundo); font-weight: 600; }

/* ===== CONTACTO / CTA FINAL ===== */
.contacto { padding: 100px 0; background: var(--guinda-profundo); border-top: 1px solid var(--mousse-border); position: relative; z-index: 1; overflow: hidden; text-align: center; color: var(--crema-manteca); }
.contacto .ornament span { color: var(--dorado-acaramelado); }
.contacto .ornament::before, .contacto .ornament::after { background: var(--mousse-border); }
.contacto .section-subtitle { color: var(--dorado-acaramelado); }
.contacto h2 { color: var(--crema-manteca); font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 16px; }
.contacto p { color: var(--mousse-dulce); max-width: 540px; margin: 0 auto 40px; font-size: 1.1rem; }
.contacto-cta { display: inline-flex; align-items: center; gap: 14px; background: #25D366; color: #FFFFFF; padding: 20px 48px; border-radius: 50px; font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 600; letter-spacing: 0.5px; border: none; cursor: pointer; transition: all var(--transicion); box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3); }
.contacto-cta svg { width: 26px; height: 26px; fill: #FFFFFF; }
.contacto-cta:hover { background: #1da851; color: #FFFFFF; transform: translateY(-3px); box-shadow: 0 16px 40px rgba(37, 211, 102, 0.45); }
.contacto-cta:hover svg { fill: #FFFFFF; }
.contacto-info { display: flex; justify-content: center; gap: 48px; margin-top: 56px; flex-wrap: wrap; }
.contacto-info-item { display: flex; align-items: center; gap: 12px; color: var(--crema-manteca); font-size: 0.95rem; font-weight: 500; }
.contacto-info-item a { color: var(--crema-manteca); text-decoration: underline; text-underline-offset: 3px; transition: color var(--transicion); }
.contacto-info-item a:hover { color: var(--dorado-acaramelado); }
.contacto-info-item svg { width: 20px; height: 20px; fill: var(--dorado-acaramelado); flex-shrink: 0; }

/* ===== FOOTER ===== */
.footer { background: var(--chocolate-negro); border-top: 1px solid var(--mousse-border); padding: 60px 0 36px; position: relative; z-index: 1; color: var(--crema-manteca); text-align: center; }
.footer-content { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; }
.footer-logo { height: 56px; filter: brightness(0) invert(1); opacity: 0.95; transition: opacity 0.3s ease; }
.footer-logo:hover { opacity: 1; }
.footer-tagline { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-style: italic; color: var(--mousse-dulce); }
.footer-social { display: flex; gap: 14px; justify-content: center; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--mousse-transparent); border: 1px solid var(--mousse-border); transition: background var(--transicion), transform var(--transicion), border-color var(--transicion); }
.footer-social a svg { width: 18px; height: 18px; fill: var(--crema-manteca); transition: fill var(--transicion); }
.footer-social a:hover { background: var(--dorado-acaramelado); border-color: var(--dorado-acaramelado); transform: translateY(-3px); }
.footer-social a:hover svg { fill: var(--chocolate-negro); }
.footer-divider { width: 100%; max-width: 220px; height: 1px; background: linear-gradient(90deg, transparent, var(--mousse-dulce), transparent); opacity: 0.4; margin: 6px 0 12px; }
.footer-schedule { font-family: 'Outfit', sans-serif; font-size: 0.95rem; font-weight: 500; color: var(--crema-manteca); letter-spacing: 0.5px; margin: 0 0 10px 0; text-align: center; }
.footer-location { font-family: 'Outfit', sans-serif; font-size: 0.85rem; font-weight: 600; color: var(--mousse-dulce); letter-spacing: 1.8px; text-transform: uppercase; line-height: 1.6; margin: 0 0 16px 0; text-align: center; }
.footer-copy { font-family: 'Outfit', sans-serif; font-size: 0.8rem; font-weight: 400; color: rgba(253, 246, 227, 0.55); margin: 0; text-align: center; }

/* ===== WHATSAPP FLOTANTE ===== */
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; z-index: 999; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: #25D366; box-shadow: 0 6px 24px rgba(37,211,102,0.35); cursor: pointer; transition: transform var(--transicion), box-shadow var(--transicion); animation: whatsappPulse 2s infinite; }
.whatsapp-float svg { width: 32px; height: 32px; fill: var(--blanco); }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.5); animation: none; }
@keyframes whatsappPulse { 0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,0.35); } 50% { box-shadow: 0 6px 32px rgba(37,211,102,0.55); } }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .pilares-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .proceso-grid { grid-template-columns: 1fr; gap: 20px; }
    .productos-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
    .sobre-img-wrapper { order: -1; }
    .sobre-text .section-subtitle { text-align: center; }
    .sobre-text { text-align: center; }
    .sobre-firma { text-align: center; display: block; }
}

@media (max-width: 768px) {
    .navbar-links {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: var(--cream);
        border-left: 2px solid var(--accent);
        flex-direction: column; justify-content: center; gap: 28px;
        padding: 80px 32px 40px; transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: -8px 0 36px rgba(53, 11, 14, 0.18);
        z-index: 1000;
    }
    .navbar-links.open { right: 0; }
    .navbar-links .nav-link { color: var(--primary) !important; font-size: 1.05rem; font-weight: 600; }
    .hamburger { display: flex; }
    .cart-drawer { width: 100vw; }

    /* Navbar compacta en mobile */
    .navbar { padding: 4px 0; }
    .navbar.scrolled { padding: 4px 0; }
    .navbar-logo { height: 48px; }
    .navbar.scrolled .navbar-logo { height: 48px; }
    .navbar:not(.scrolled) .navbar-logo { filter: brightness(0) invert(1); height: 48px; }

    /* Container */
    .container { padding: 0 16px; }

    /* Hero */
    .hero { min-height: 92vh; }
    .hero-content { padding: 100px 20px 60px; }
    .hero h1 { font-size: clamp(2.2rem, 8vw, 3rem); line-height: 1.1; }
    .hero-logo { width: 160px; height: auto; }
    .hero-tagline { font-size: 1.1rem; margin-bottom: 30px; }
    .hero-cta { width: 100%; justify-content: center; padding: 16px; font-size: 0.95rem; }
    .hero-scroll { bottom: 20px; }

    /* Productos */
    .productos { padding: 60px 0; }
    .producto-info { padding: 16px; gap: 12px; }
    .producto-nombre { font-size: 1.25rem; }
    .producto-precio { font-size: 1.05rem; }
    .producto-btn-cart { font-size: 0.84rem; padding: 10px 12px; }

    /* Sobre nosotros */
    .sobre-nosotros { padding: 60px 0; }
    .sobre-img { aspect-ratio: 4/3; }
    .sobre-img-wrapper::before { display: none; }
    .sobre-grid { gap: 28px; }
    .sobre-text h2 { font-size: 1.8rem; }
    .sobre-text p { font-size: 1rem; line-height: 1.75; }

    /* Contacto */
    .contacto { padding: 60px 0; }
    .contacto-cta { width: 100%; justify-content: center; padding: 16px; font-size: 1rem; }
    .contacto-info { gap: 20px; flex-direction: column; align-items: center; }

    /* Carrito */
    .cart-header { padding: 20px; }
    .cart-items { padding: 15px; }
    .cart-footer { padding: 15px; }
    .cart-checkout-btn { font-size: 0.95rem; padding: 16px; }

    /* Footer */
    .footer { padding: 50px 0 25px; }
    .footer-social { gap: 12px; }

    /* WhatsApp */
    .whatsapp-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
    .whatsapp-float svg { width: 28px; height: 28px; }

    /* Section spacing */
    .section-title { margin-bottom: 12px; }
    .section-subtitle { margin-bottom: 6px; }
    .section-desc { margin-bottom: 32px; font-size: 0.95rem; }
}

@media (max-width: 576px) {
    .productos-grid { grid-template-columns: 1fr; gap: 20px; max-width: 400px; margin: 16px auto 0; }
}

/* Celulares chicos */
@media (max-width: 480px) {
    .sobre-img { aspect-ratio: 3/2; }
    .hero h1 { font-size: 2rem; }
    .hero-logo { width: 130px; }
    .section-title { font-size: 1.8rem; }
    .section-desc { font-size: 0.92rem; }
    .contacto h2 { font-size: 1.8rem; }
    .cart-item { gap: 10px; }
    .cart-item-img { width: 55px; height: 55px; }
    .cart-item-img img { width: 55px; height: 55px; }
}

.menu-overlay { position: fixed; inset: 0; background: rgba(13,0,0,0.3); z-index: 998; opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.menu-overlay.active { opacity: 1; pointer-events: all; }

.hero-content { animation: fadeUp 1s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.section-divider { text-align: center; color: #C8925A; font-size: 1.5rem; margin: 60px 0; }
@media (max-width: 768px) {
    .section-divider { margin: 30px 0 !important; }
}

/* ===== PRODUCTOS SUBPAGE HEADER (FROM PRODUCTOS.HTML) ===== */
.productos-page-header {
    position: relative;
    padding: 160px 24px 80px;
    text-align: center;
    color: var(--blanco);
    overflow: hidden;
    background: var(--brand-dark);
}
.productos-page-header-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.productos-page-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3);
}
.productos-page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}
.productos-page-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}
.productos-page-header h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--blanco);
    margin-bottom: 16px;
    font-weight: 500;
    font-style: italic;
}
.productos-page-header .section-desc {
    color: rgba(255,255,255,0.85);
    margin-bottom: 0;
}

/* ===== ACCESIBILIDAD: INDICADOR DE FOCO VISIBLE ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}
.skeleton-card :focus-visible { outline: none; }

/* ===== SKELETON LOADING (estados de carga) ===== */
.skeleton-block {
    background: linear-gradient(90deg, rgba(200,146,90,0.12) 25%, rgba(200,146,90,0.25) 37%, rgba(200,146,90,0.12) 63%);
    background-size: 400% 100%;
    animation: skeletonShimmer 1.4s ease infinite;
}
@keyframes skeletonShimmer {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}
.skeleton-card .producto-img {
    aspect-ratio: 4/3;
    width: 100%;
}
.skeleton-card .producto-info { padding: 24px 20px 28px; }
.skeleton-line {
    height: 16px;
    border-radius: 8px;
    margin-bottom: 12px;
    background: linear-gradient(90deg, rgba(200,146,90,0.12) 25%, rgba(200,146,90,0.25) 37%, rgba(200,146,90,0.12) 63%);
    background-size: 400% 100%;
    animation: skeletonShimmer 1.4s ease infinite;
}
.skeleton-line:nth-of-type(1) { height: 20px; margin-bottom: 14px; }
.skeleton-line:last-child { margin-bottom: 0; }

/* ===== FILTROS Y BUSCADOR (PÁGINA DE PRODUCTOS & HOME) ===== */
.productos-filters {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 16px auto 40px;
    max-width: 900px;
}
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.filter-tab {
    background: #FFFFFF;
    color: var(--guinda-profundo);
    border: 1.5px solid rgba(88, 10, 26, 0.22);
    padding: 9px 22px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transicion);
    box-shadow: 0 2px 8px rgba(62, 36, 31, 0.06);
}
.filter-tab:hover {
    background: var(--dorado-acaramelado);
    border-color: var(--dorado-acaramelado);
    color: var(--chocolate-negro);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(217, 160, 111, 0.35);
}
.filter-tab:active {
    transform: scale(0.96);
}
.filter-tab.active {
    background: var(--guinda-profundo);
    border-color: var(--guinda-profundo);
    color: var(--crema-manteca);
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(88, 10, 26, 0.35);
}
.filter-search {
    position: relative;
    width: 100%;
    max-width: 440px;
}
.filter-search input {
    width: 100%;
    padding: 13px 20px 13px 46px;
    border: 1.5px solid var(--mousse-border);
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: var(--chocolate-negro);
    background: var(--crema-manteca);
    outline: none;
    transition: all var(--transicion);
    box-shadow: var(--sombra-suave);
}
.filter-search input::placeholder { color: #8A6D63; }
.filter-search input:focus { border-color: var(--dorado-acaramelado); box-shadow: 0 0 0 3px rgba(217, 160, 111, 0.35); background: #FFFFFF; }
.filter-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 19px;
    height: 19px;
    stroke: var(--chocolate-negro);
    fill: none;
    stroke-width: 2.2;
    pointer-events: none;
}
