/* --- VARIABLES DE MARCA --- */
:root {
    --color-lila: #d4c1f0;
    --color-lila-dark: #8e6db1;
    --color-menta: #e8f9e7;
    --color-dorado: #c5a04d;
    --color-dorado-bright: #e5c17d;
    --color-texto: #2d2d2d;
    --color-texto-secundario: #5a5a5a;
    --bg-blanco: #ffffff;
    --bg-crema: #faf7f2;
    --radio-borde: 20px;
    --sombra-suave: 0 10px 40px rgba(0, 0, 0, 0.04);
    --sombra-premium: 0 20px 50px rgba(142, 109, 177, 0.12);
    --fuente-titulo: 'Outfit', sans-serif;
    --fuente-cuerpo: 'Outfit', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- BRUNCH MODE: swap lila <-> menta --- */
body.brunch-mode {
    --color-lila: #e8f9e7;
    --color-lila-dark: #3a8a5c;
    --color-menta: #d4c1f0;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--fuente-cuerpo);
    margin: 0;
    padding: 0;
    background-color: var(--color-lila);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 57c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23a28ed4' fill-opacity='0.15' fill-rule='evenodd'/%3E%3C/svg%3E");
    color: var(--color-texto);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
    min-height: 100vh;
}

/* --- HEADER --- */
header {
    background-color: var(--color-menta);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M30 15c0 8.284-6.716 15-15 15S0 23.284 0 15 6.716 0 15 0s15 6.716 15 15zm0 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10 10 4.477 10 10zm-10 2c0 4.418-3.582 8-8 8s-8-3.582-8-8 3.582-8 8-8 8 3.582 8 8zm60-32c0 8.284-6.716 15-15 15S50 23.284 50 15s6.716-15 15-15 15 6.716 15 15zm0 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10 10 4.477 10 10zm-10 2c0 4.418-3.582 8-8 8s-8-3.582-8-8 3.582-8 8-8 8 3.582 8 8z' fill='%23c5a04d' fill-opacity='0.1'/%3E%3C/svg%3E");
    text-align: center;
    padding: 40px 20px;
    border-bottom: 3px solid rgba(197, 160, 77, 0.2);
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.admin-btn-header {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: 1px solid #ddd;
    color: var(--color-texto-secundario);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.admin-btn-header:hover {
    background: var(--color-dorado);
    color: white;
    border-color: var(--color-dorado);
}

.filter-btn-header {
    position: absolute;
    top: 20px;
    left: 20px;
    background: white;
    border: 1px solid #ddd;
    color: var(--color-texto-secundario);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.filter-btn-header:hover {
    background: var(--color-lila);
    color: white;
    border-color: var(--color-lila);
    transform: translateY(-2px);
}

.instagram-btn-header {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--bg-crema);
    color: var(--color-dorado);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.instagram-btn-header:hover {
    background: var(--color-dorado);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 15px rgba(184, 159, 94, 0.3);
}

.instagram-btn-header svg {
    width: 24px;
    height: 24px;
}

.logo-container img,
.logo-container svg {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.logo-svg path {
    fill: var(--color-dorado);
}

.status-badge {
    background: linear-gradient(135deg, var(--color-menta), #c8e6c9);
    color: #2e7d32;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin: 15px 0 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-local {
    font-size: 1rem;
    color: var(--color-texto-secundario);
    font-weight: 300;
    letter-spacing: 1px;
}

/* --- STICKY NAV --- */
.nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transform: translateZ(0);
    /* Fix for mobile flickering */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.sticky-nav {
    display: flex;
    overflow-x: auto;
    padding: 15px 25px;
    gap: 12px;
    scrollbar-width: none;
    max-width: 100%;
    margin: 0;
    justify-content: flex-start;
    cursor: grab;
    user-select: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.sticky-nav.grabbing {
    cursor: grabbing;
}

.sticky-nav::-webkit-scrollbar {
    display: none;
}

.nav-item {
    white-space: nowrap;
    padding: 10px 20px;
    border-radius: 30px;
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--color-texto-secundario);
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.nav-item:hover,
.nav-item.active {
    background-color: var(--color-lila);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 179, 225, 0.4);
}

.nav-wrapper::after,
.nav-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    width: 30px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.nav-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9), transparent);
}

.nav-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.9), transparent);
}

/* --- MAIN CONTENT --- */
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.menu-section {
    margin-bottom: 40px;
    scroll-margin-top: 80px;
}

.category-title {
    color: #8c712e;
    /* Dorado más profundo para contraste */
    font-family: var(--fuente-titulo);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0 0 25px 0;
    position: relative;
    display: inline-block;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--color-dorado), var(--color-dorado-bright));
    border-radius: 4px;
}

/* --- PRODUCT CARDS --- */
.product-card {
    background: var(--bg-blanco);
    border-radius: var(--radio-borde);
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    box-shadow: var(--sombra-suave);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.product-card:hover {
    transform: scale(1.02);
    box-shadow: var(--sombra-premium);
}

.prod-info {
    flex: 1;
}

.prod-title {
    font-family: var(--fuente-titulo);
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0 0 8px 0;
    color: var(--color-texto);
}

.prod-desc {
    font-size: 0.9rem;
    color: var(--color-texto-secundario);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.prod-price {
    color: var(--color-dorado);
    font-weight: 700;
    font-size: 1.1rem;
}

.product-card.sold-out {
    opacity: 0.55;
    pointer-events: none;
}

.sold-out-badge {
    color: #e74c3c;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prod-img-container {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.prod-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    background-color: #f0f0f0;
}

.btn-add {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: linear-gradient(135deg, var(--color-lila), var(--color-lila-dark));
    color: white;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(196, 179, 225, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.btn-add:active {
    transform: scale(0.9);
}

/* --- FLOAT CART --- */
.floating-cart {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    width: 95%;
    max-width: 500px;
    background: var(--color-menta);
    backdrop-filter: blur(10px);
    color: var(--color-texto);
    padding: 14px 24px;
    border-radius: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--color-dorado);
    z-index: 2000;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-cart.visible {
    transform: translateX(-50%) translateY(0);
}

.cart-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-count {
    background: white;
    color: var(--color-lila-dark);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
}

.cart-total {
    font-weight: 700;
    font-size: 1.2rem;
}

/* --- CART MODAL --- */
.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3000;
    display: none;
    justify-content: flex-end;
}

.cart-content {
    width: 100%;
    max-width: 400px;
    background: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}

.btn-checkout {
    width: 100%;
    background-color: #25d366;
    /* WhatsApp Green */
    color: white;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* --- PRODUCT DETAIL MODAL --- */
/* --- GENERAL MODAL --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 4000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.detail-content {
    background: var(--bg-blanco);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 24px;
    position: relative;
    animation: zoomIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.detail-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.detail-info {
    padding: 25px;
}

.detail-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.variant-btn {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--fuente-cuerpo);
    font-size: 1rem;
}

.variant-btn:hover {
    background: var(--color-menta);
    border-color: var(--color-dorado);
    transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .prod-img-container {
        width: 90px;
        height: 90px;
    }

    .prod-title {
        font-size: 1rem;
    }

    .prod-desc {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }

    .prod-price {
        font-size: 1rem;
    }

    .category-title {
        font-size: 1.4rem;
    }

    .product-card {
        padding: 14px;
        gap: 12px;
        border-radius: 16px;
    }

    header {
        padding: 25px 15px;
    }

    .logo-container img,
    .logo-container svg {
        max-width: 150px;
    }

    .filter-btn-header {
        top: 12px;
        left: 12px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .admin-btn-header {
        top: 12px;
        right: 12px;
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    .instagram-btn-header {
        bottom: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
    }

    .instagram-btn-header svg {
        width: 20px;
        height: 20px;
    }

    .status-badge {
        font-size: 0.75rem;
        padding: 4px 12px;
        margin: 10px 0 6px;
    }

    .info-local {
        font-size: 0.8rem;
    }

    .sticky-nav {
        padding: 10px 15px;
        gap: 8px;
    }

    .nav-item {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    main {
        padding: 15px;
    }

    .detail-img {
        height: 200px;
    }

    .detail-info {
        padding: 18px;
    }

    .detail-content {
        max-height: 85vh;
        border-radius: 20px;
    }

    .floating-cart {
        bottom: 15px;
        width: 92%;
        padding: 12px 20px;
    }

    .filter-sidebar {
        width: 100%;
    }

    .filter-body {
        padding: 20px;
    }

    .filter-header {
        padding: 20px;
    }

    .btn-add {
        width: 34px;
        height: 34px;
        font-size: 1.3rem;
        bottom: -8px;
        right: -8px;
    }

    .quantity-selector-container {
        margin-top: 18px;
        padding-top: 15px;
    }

    .tag {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
}

/* --- CHECKOUT FORM --- */
.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-lila-dark);
}

.form-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--fuente-cuerpo);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    border-color: var(--color-lila);
    box-shadow: 0 0 0 2px rgba(196, 179, 225, 0.2);
}

textarea.form-input {
    resize: vertical;
    min-height: 50px;
}

/* Compact checkout form for mobile */
.checkout-form {
    padding: 15px !important;
}

.checkout-form .form-group {
    margin-bottom: 10px;
}

.checkout-form .form-input {
    padding: 8px 10px;
    font-size: 0.9rem;
}

#transfer-details {
    padding: 12px !important;
    margin-bottom: 15px !important;
}

#transfer-details p {
    margin-bottom: 5px !important;
}

@media (max-width: 600px) {
    #checkout-modal .detail-content {
        max-width: 100%;
        max-height: 100vh;
        height: 100%;
        border-radius: 0;
        overflow-y: auto;
    }

    .checkout-form {
        padding: 12px !important;
    }

    .checkout-form .form-group label {
        font-size: 0.8rem;
    }

    .checkout-form .form-group > div[style*="display: flex"] {
        flex-wrap: wrap;
    }

    .checkout-form select[id="cust-id-type"] {
        flex: 1 1 100% !important;
    }

    .checkout-form input[id="cust-id-number"] {
        flex: 1 1 100% !important;
    }

    #cart-modal .cart-content {
        max-width: 100%;
    }

    .order-summary {
        padding: 12px;
        font-size: 0.85rem;
    }

    .summary-total {
        font-size: 1rem;
    }
}

.order-summary {
    background: #fdfaf5;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--color-texto-secundario);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #ddd;
    color: var(--color-dorado);
    font-size: 1.1rem;
}

/* --- FILTER SIDEBAR --- */
.filter-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    height: 100%;
    background: white;
    z-index: 5000;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
    transition: left 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.filter-sidebar.active {
    left: 0;
}

.filter-header {
    padding: 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-body {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-texto);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-inputs {
    display: flex;
    gap: 10px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--color-texto-secundario);
    cursor: pointer;
    text-transform: none !important;
    font-weight: normal !important;
}

.filter-actions {
    padding: 20px 25px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.btn-clear-filters {
    flex: 1;
    background: #f5f5f5;
    border: none;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

.btn-apply-filters {
    flex: 2;
    background: var(--color-lila);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

/* --- PRODUCT TAGS & BADGES --- */
.prod-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
}

.tag {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.tag-spicy {
    background: #ffebee;
    color: #c62828;
}

.tag-vegan {
    background: #e8f5e9;
    color: #2e7d32;
}

.tag-gf {
    background: #fff3e0;
    color: #ef6c00;
}

.tag-healthy {
    background: #f3e5f5;
    color: #7b1fa2;
}

.tag-time {
    background: #e3f2fd;
    color: #1565c0;
}

.smart-nav {
    border: 1px solid rgba(196, 179, 225, 0.3);
}

.active-filters-count {
    background: var(--color-lila);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
}

/* --- LANDING PAGE STYLES --- */
.landing-body {
    background: var(--bg-crema);
}

.hero {
    height: 80vh;
    min-height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)), url('hero-image.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-family: var(--fuente-titulo);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
    .hero {
        height: auto;
        min-height: 85vh;
        padding: 80px 20px 40px;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .hero-btns {
        margin-top: 20px;
        gap: 10px;
        flex-direction: column;
        align-items: center;
    }

    .btn-landing {
        padding: 14px 24px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    #dynamic-banner {
        font-size: 0.8rem;
        padding: 8px 16px;
    }

    .quick-actions {
        margin: -50px auto 40px;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 15px;
    }

    .action-card {
        padding: 25px 15px;
        border-radius: 16px;
    }

    .action-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .action-text {
        font-size: 0.9rem;
    }

    .trust-section {
        padding: 50px 15px;
    }

    .trust-stats {
        gap: 20px;
    }

    .stat-item h4 {
        font-size: 1.5rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .review-card {
        padding: 20px;
        font-size: 0.9rem;
    }

    .context-section {
        padding: 40px 15px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .map-container {
        height: 250px;
    }

    .emotional-block {
        padding: 60px 15px;
        background-attachment: scroll;
    }

    .emotional-content h2 {
        font-size: 1.5rem;
    }

    .final-cta {
        padding: 50px 15px !important;
    }

    .final-cta h2 {
        font-size: 1.5rem !important;
    }

    .whatsapp-float {
        display: none;
    }
}

@media (max-width: 380px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .quick-actions {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .action-card {
        padding: 18px 10px;
    }

    .action-icon {
        font-size: 1.6rem;
    }

    .action-text {
        font-size: 0.8rem;
    }
}

#dynamic-banner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 0.8s ease-out both;
    margin-bottom: 25px;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(184, 159, 94, 0.4);
    }

    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 15px rgba(184, 159, 94, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(184, 159, 94, 0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.btn-landing {
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-dorado), var(--color-dorado-bright));
    color: white;
    box-shadow: 0 10px 25px rgba(184, 159, 94, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.2);
}

.btn-landing:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* --- QUICK ACTIONS --- */
.quick-actions {
    max-width: 1100px;
    margin: -80px auto 80px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 25px;
    padding: 0 25px;
    position: relative;
    z-index: 10;
}

.action-card {
    background: white;
    padding: 40px 25px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.06);
    transition: var(--transition-smooth);
    text-decoration: none;
    color: var(--color-texto);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.action-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--sombra-premium);
    background: linear-gradient(to bottom, #ffffff, #fcfbff);
}

.action-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    transition: transform 0.3s ease;
}

.action-card:hover .action-icon {
    transform: scale(1.1) rotate(5deg);
}

.action-text {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-texto);
    margin-top: auto;
}

/* --- TRUST BLOCK --- */
.trust-section {
    padding: 80px 20px;
    text-align: center;
    background: var(--bg-blanco);
}

.trust-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--color-dorado);
    margin: 0;
}

.stat-item p {
    color: var(--color-texto-secundario);
    margin: 5px 0 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.review-card {
    background: var(--bg-crema);
    padding: 25px;
    border-radius: 15px;
    font-style: italic;
    position: relative;
    text-align: left;
}

.review-card::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -10px;
    left: 15px;
    color: var(--color-lila);
    opacity: 0.2;
}

/* --- CONTEXT SECTION --- */
.context-section {
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 800px) {
    .context-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.map-container {
    width: 100%;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--sombra-suave);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-item h4 {
    margin-bottom: 5px;
    color: var(--color-dorado);
}

.info-item p {
    font-size: 0.9rem;
    color: var(--color-texto-secundario);
}

/* --- EMOTIONAL BLOCK --- */
.emotional-block {
    background: linear-gradient(rgba(196, 179, 225, 0.9), rgba(196, 179, 225, 0.9)), url('https://images.unsplash.com/photo-1517433670267-08bbd4be890f?auto=format&fit=crop&w=1000&q=80');
    background-size: cover;
    background-attachment: scroll;
    padding: 100px 20px;
    text-align: center;
    color: white;
}

@media (min-width: 601px) {
    .emotional-block {
        background-attachment: fixed;
    }
}

.emotional-content h2 {
    font-size: 2.5rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.2;
}

/* --- STICKY FOOTER ACTION (Mobile) --- */
.sticky-footer-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    display: flex;
    padding: 10px;
    gap: 10px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

@media (max-width: 600px) {
    .sticky-footer-cta {
        display: flex;
    }

    body.has-sticky-footer {
        padding-bottom: 70px;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- PRODUCT CUSTOMIZATION --- */
.quantity-selector-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f5f5f5;
    padding: 5px 15px;
    border-radius: 30px;
}

.qty-btn {
    border: none;
    background: transparent;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-dorado);
    font-weight: bold;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.qty-btn:active {
    transform: scale(0.8);
}

.detail-qty-value {
    font-weight: 700;
    font-size: 1.2rem;
    min-width: 30px;
    text-align: center;
    color: var(--color-texto);
}

.modifiers-group {
    margin-bottom: 25px;
}

.modifiers-group-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modifier-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    padding: 10px 15px;
    background: #f9f9f9;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.modifier-item:hover {
    background: #fff;
    border-color: var(--color-lila);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.modifier-item input {
    accent-color: var(--color-dorado);
    width: 18px;
    height: 18px;
}

.modifier-title {
    flex: 1;
}

.modifier-price {
    color: var(--color-dorado);
    font-weight: 600;
    font-size: 0.9rem;
}

.required-badge {
    color: #e74c3c;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(231, 76, 60, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
}