
            .cart-modal {
                position: fixed;
                top: 0;
                left: 0;
                width: 100vw;
                height: 100vh;
                background: rgba(40, 30, 10, 0.18);
                z-index: 10000;
                display: flex;
                align-items: flex-end;
                justify-content: center;
                transition: background 0.2s;
            }
            .cart-modal-content {
                background: #fffdfa;
                border-radius: 18px 18px 0 0;
                box-shadow: 0 8px 32px rgba(200, 134, 13, 0.18);
                width: 100%;
                max-width: 430px;
                min-height: 340px;
                max-height: 90vh;
                display: flex;
                flex-direction: column;
                overflow: hidden;
                border: 2px solid #c8860d;
                margin-bottom: 0;
                animation: cartSlideUp 0.35s cubic-bezier(.7,.2,.3,1);
            }
            @keyframes cartSlideUp {
                from { transform: translateY(100%); opacity: 0; }
                to { transform: translateY(0); opacity: 1; }
            }
            .cart-modal-header {
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 18px 22px 12px 22px;
                border-bottom: 1.5px solid #f5e6c8;
                background: #fff8e6;
            }
            .cart-modal-title {
                font-family: 'Playfair Display', serif;
                font-size: 1.25rem;
                color: #c8860d;
                font-weight: 600;
                display: flex;
                align-items: center;
                gap: 10px;
            }
            .cart-close-btn {
                background: none;
                border: none;
                font-size: 1.3rem;
                color: #c8860d;
                cursor: pointer;
                transition: color 0.2s;
                border-radius: 50%;
                padding: 4px;
            }
            .cart-close-btn:hover {
                background: #f5e6c8;
                color: #a86a0d;
            }
            .cart-modal-body {
                flex: 1;
                overflow-y: auto;
                padding: 18px 20px 10px 20px;
                background: #fffdfa;
            }
            .cart-loading {
                text-align: center;
                color: #c8860d;
            }
            .cart-empty {
                text-align: center;
                color: #c8860d;
                padding: 30px 0;
            }
            .cart-empty i {
                font-size: 2.5rem;
                margin-bottom: 10px;
            }
            .cart-items {
                display: flex;
                flex-direction: column;
                gap: 18px;
            }
            .cart-item {
                display: flex;
                align-items: center;
                background: #fff8e6;
                border-radius: 10px;
                box-shadow: 0 2px 8px rgba(200,134,13,0.07);
                padding: 10px 12px;
                border: 1.5px solid #f5e6c8;
                gap: 12px;
            }
            .cart-item-image {
                width: 56px;
                height: 56px;
                object-fit: cover;
                border-radius: 8px;
                border: 1.5px solid #c8860d;
                background: #fffdfa;
            }
            .cart-item-info {
                flex: 1;
                min-width: 0;
            }
            .cart-item-name {
                font-size: 1.05rem;
                font-weight: 600;
                color: #c8860d;
                margin-bottom: 2px;
                font-family: 'Inter', sans-serif;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            .cart-item-price {
                font-size: 0.98rem;
                color: #a86a0d;
                font-weight: 500;
            }
            .currency-label {
                font-size: 0.85em;
                color: #c8860d;
                margin-left: 2px;
            }
            .cart-item-controls {
                display: flex;
                flex-direction: column;
                align-items: flex-end;
                gap: 8px;
            }
            .cart-quantity-controls {
                display: flex;
                align-items: center;
                gap: 4px;
            }
            .cart-qty-btn {
                background: #fffdfa;
                border: 1.5px solid #c8860d;
                color: #c8860d;
                border-radius: 6px;
                font-size: 1rem;
                width: 28px;
                height: 28px;
                cursor: pointer;
                transition: background 0.2s, color 0.2s;
            }
            .cart-qty-btn:disabled {
                opacity: 0.5;
                cursor: not-allowed;
            }
            .cart-qty-btn:hover:not(:disabled) {
                background: #c8860d;
                color: #fffdfa;
            }
            .cart-qty-input {
                width: 36px;
                text-align: center;
                font-size: 1rem;
                border: 1.5px solid #c8860d;
                border-radius: 6px;
                padding: 2px 0;
                background: #fffdfa;
                color: #c8860d;
            }
            .cart-remove-btn {
                background: none;
                border: none;
                color: #cd853f;
                font-size: 0.98rem;
                cursor: pointer;
                border-radius: 6px;
                padding: 2px 8px;
                transition: background 0.2s, color 0.2s;
                display: flex;
                align-items: center;
                gap: 4px;
            }
            .cart-remove-btn:hover {
                background: #f5e6c8;
                color: #c8860d;
            }
            .cart-modal-footer {
                background: #fff8e6;
                border-top: 1.5px solid #f5e6c8;
                padding: 16px 22px 18px 22px;
                border-radius: 0 0 18px 18px;
            }
            .cart-summary {
                margin-bottom: 12px;
            }
            .cart-summary-row {
                display: flex;
                justify-content: space-between;
                align-items: center;
                font-size: 1rem;
                margin-bottom: 4px;
            }
            .cart-summary-row.total {
                font-weight: 700;
                color: #c8860d;
                font-size: 1.08rem;
            }
            .cart-total-price {
                font-size: 1.12em;
                color: #a86a0d;
                font-weight: 700;
            }
            .cart-actions {
                display: flex;
                gap: 10px;
                justify-content: flex-end;
            }
            .cart-btn {
                display: flex;
                align-items: center;
                gap: 6px;
                font-size: 1rem;
                padding: 10px 18px;
                border-radius: 8px;
                border: none;
                cursor: pointer;
                font-weight: 500;
                transition: background 0.2s, color 0.2s, box-shadow 0.2s;
                box-shadow: 0 2px 8px rgba(200,134,13,0.07);
            }
            .cart-btn-primary {
                background: #c8860d;
                color: #fffdfa;
            }
            .cart-btn-primary:hover {
                background: #a86a0d;
            }
            .cart-btn-secondary {
                background: #fffdfa;
                color: #c8860d;
                border: 1.5px solid #c8860d;
            }
            .cart-btn-secondary:hover {
                background: #f5e6c8;
                color: #a86a0d;
            }
            @media (max-width: 600px) {
                .cart-modal-content {
                    max-width: 100vw;
                    min-height: 60vh;
                    border-radius: 18px 18px 0 0;
                    padding: 0;
                }
                .cart-modal-header,
                .cart-modal-footer {
                    padding: 14px 10px;
                }
                .cart-modal-body {
                    padding: 12px 8px 8px 8px;
                }
                .cart-item {
                    padding: 8px 6px;
                    gap: 8px;
                }
                .cart-item-image {
                    width: 44px;
                    height: 44px;
                }
                .cart-item-name {
                    font-size: 0.98rem;
                }
                .cart-btn {
                    font-size: 0.95rem;
                    padding: 8px 12px;
                }
            }
            /* Scrollbar styling for modal body */
            .cart-modal-body::-webkit-scrollbar {
                width: 6px;
                background: #f5e6c8;
            }
            .cart-modal-body::-webkit-scrollbar-thumb {
                background: #c8860d;
                border-radius: 4px;
            }
            .cart-modal-body {
                scrollbar-width: thin;
                scrollbar-color: #c8860d #f5e6c8;
            }

            /* Estilos del header */
            .header {
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                background: #fffdfa;
                box-shadow: 0 2px 10px rgba(0,0,0,0.1);
                z-index: 1000;
            }

            .header-container {
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 12px 20px;
                max-width: 1200px;
                margin: 0 auto;
            }

            /* Logo y marca */
            .brand-mini {
                display: flex;
                align-items: center;
                gap: 10px;
                text-decoration: none;
                color: #c8860d;
            }

            .brand-mini .icon {
                font-size: 1.8rem;
            }

            .brand-mini .text {
                text-align: center;
            }

            .brand-mini h1 {
                font-family: 'Playfair Display', serif;
                font-size: 1.2rem;
                margin: 0;
            }

            .brand-mini p {
                font-size: 0.8rem;
                margin: 0;
                color: #cd853f;
            }

            /* Botón de menú móvil */
            .mobile-menu-btn {
                display: none;
                background: none;
                border: none;
                font-size: 1.4rem;
                color: #c8860d;
                cursor: pointer;
                padding: 8px;
            }

            /* Menú móvil */
            .mobile-menu {
                display: none;
                position: fixed;
                top: 60px;
                left: 0;
                width: 100%;
                height: calc(100vh - 60px);
                background: #fffdfa;
                z-index: 999;
                transform: translateX(-100%);
                transition: transform 0.3s ease;
            }

            .mobile-menu.active {
                transform: translateX(0);
            }

            .mobile-menu-content {
                padding: 20px;
            }

            .mobile-menu-item {
                display: flex;
                align-items: center;
                gap: 12px;
                padding: 12px 16px;
                text-decoration: none;
                color: #c8860d;
                font-size: 1.1rem;
                border-radius: 8px;
                margin-bottom: 8px;
                transition: background 0.2s;
            }

            .mobile-menu-item:hover {
                background: #fff8e6;
            }

            /* Overlay del menú móvil */
            .mobile-menu-overlay {
                display: none;
                position: fixed;
                top: 60px;
                left: 0;
                width: 100%;
                height: calc(100vh - 60px);
                background: rgba(0,0,0,0.5);
                z-index: 998;
                opacity: 0;
                transition: opacity 0.3s ease;
            }

            .mobile-menu-overlay.active {
                opacity: 1;
            }

            /* Información de usuario y carrito */
            .header-user {
                display: flex;
                align-items: center;
                gap: 16px;
            }

            .user-info {
                display: flex;
                align-items: center;
                gap: 8px;
                color: #c8860d;
                font-size: 0.95rem;
            }

            .cart-btn {
                position: relative;
                background: none;
                border: none;
                color: #c8860d;
                font-size: 1.3rem;
                cursor: pointer;
                padding: 8px;
            }

            .cart-badge {
                position: absolute;
                top: 0;
                right: 0;
                background: #cd853f;
                color: white;
                font-size: 0.7rem;
                padding: 2px 6px;
                border-radius: 10px;
                min-width: 16px;
                text-align: center;
            }

            /* Responsive */
            @media (max-width: 768px) {
                .mobile-menu-btn {
                    display: block;
                }

                .desktop-only {
                    display: none;
                }

                .mobile-menu {
                    display: block;
                }

                .brand-mini h1 {
                    font-size: 1rem;
                }

                .brand-mini p {
                    font-size: 0.7rem;
                }

                .header-container {
                    padding: 8px 12px;
                }
            }

            /* Animaciones */
            @keyframes slideIn {
                from {
                    transform: translateX(-100%);
                }
                to {
                    transform: translateX(0);
                }
            }

            .mobile-menu.active {
                animation: slideIn 0.3s ease forwards;
            }

                        /* Responsive button styles */
                        .action-btn-responsive {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        gap: 8px;
                        width: 100%;
                        max-width: 320px;
                        font-size: 1rem;
                        padding: 12px 18px;
                        border-radius: 8px;
                        transition: background 0.2s, box-shadow 0.2s;
                        box-sizing: border-box;
                        }
                        .action-btn-responsive .btn-icon {
                        font-size: 1.2em;
                        display: flex;
                        align-items: center;
                        }
                        .action-btn-responsive .btn-text {
                        display: inline-block;
                        font-weight: 500;
                        }
                        @media (max-width: 600px) {
                        .action-btn-responsive {
                            font-size: 0.95rem;
                            padding: 10px 12px;
                            max-width: 100%;
                        }
                        .action-btn-responsive .btn-text {
                            font-size: 0.95em;
                        }
                        }

            .info-tabs-slider {
                width: 100%;
                overflow-x: auto;
                margin-bottom: 18px;
            }
            .info-tabs-scroll {
                display: flex;
                gap: 10px;
                padding: 6px 0;
                overflow-x: auto;
                scrollbar-width: thin;
                scrollbar-color: #c8860d #f5f5f5;
            }
            .info-tabs-scroll::-webkit-scrollbar {
                height: 6px;
            }
            .info-tabs-scroll::-webkit-scrollbar-thumb {
                background: #c8860d;
                border-radius: 4px;
            }
            .tab-btn {
                flex: 0 0 auto;
                min-width: 120px;
                padding: 10px 18px;
                font-size: 1rem;
                border: none;
                border-radius: 8px;
                background: #f5f5f5;
                color: #c8860d;
                font-weight: 500;
                cursor: pointer;
                transition: background 0.2s, color 0.2s;
                outline: none;
            }
            .tab-btn.active,
            .tab-btn:focus {
                background: #c8860d;
                color: #fff;
            }
            @media (max-width: 600px) {
                .info-tabs-scroll {
                    gap: 6px;
                    padding: 4px 0;
                }
                .tab-btn {
                    min-width: 100px;
                    font-size: 0.95rem;
                    padding: 8px 10px;
                }
            }
            
            /* ===================== INGREDIENTES ===================== */
.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
    margin-top: 12px;
}

.ingredient-item {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #3c3428;
    font-weight: 500;
    transition: transform 0.2s, background 0.2s;
}

.ingredient-item i {
    color: #28a745;
    font-size: 1.2rem;
}

.ingredient-item:hover {
    background: #fff3e0;
    transform: translateY(-2px);
}

/* ===================== MODO DE USO ===================== */
.usage-instructions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 12px;
}

.instruction-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px;
    border-left: 4px solid #c8860d;
    background: #fafafa;
    border-radius: 6px;
    transition: background 0.2s;
}

.instruction-step:hover {
    background: #fff7e6;
}

.step-number {
    background: #c8860d;
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-content h4 {
    margin: 0;
    font-size: 1rem;
    color: #3c3428;
}

.step-content p {
    margin: 4px 0 0;
    font-size: 0.95rem;
    color: #555;
}

/* ===================== PRECAUCIONES ===================== */
.precautions-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.precaution-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #fff4f4;
    border: 1px solid #ffbaba;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #a94442;
}

.precaution-item i {
    color: #d9534f;
    font-size: 1.2rem;
}

.safety-note {
    margin-top: 18px;
    padding: 14px;
    border-radius: 6px;
    background: #e6f4f1;
    border: 1px solid #bce0dc;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.95rem;
    color: #2c3e50;
}

.safety-note i {
    font-size: 1.2rem;
    color: #17a2b8;
    flex-shrink: 0;
}

