
        /* ===== ESTILOS PARA PRODUCTOS ===== */
        .products-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px 16px 100px;
        }

        .products-header {
            margin-bottom: 24px;
        }

        .products-header h1 {
            font-size: 24px;
            font-weight: 700;
            color: var(--text-primary);
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .products-header h1 i {
            color: var(--accent-orange);
        }

        .breadcrumb-custom {
            background: transparent;
            padding: 0;
            margin: 8px 0 0;
            font-size: 14px;
        }

        .breadcrumb-custom .breadcrumb-item a {
            color: var(--primary-green);
            text-decoration: none;
        }

        .breadcrumb-custom .breadcrumb-item.active {
            color: var(--text-secondary);
        }

        /* Filtros */
        .products-filters {
            background: #fff;
            border-radius: 14px;
            padding: 16px;
            border: 1px solid var(--border-color);
            margin-bottom: 24px;
        }

        .filter-group {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            align-items: center;
        }

        .filter-group label {
            font-weight: 600;
            color: var(--text-primary);
            margin: 0;
        }

        .filter-select {
            padding: 8px 12px;
            border-radius: 10px;
            border: 1px solid var(--border-color);
            background: #f8fafc;
            color: var(--text-primary);
            font-size: 14px;
            cursor: pointer;
            flex: 1;
            min-width: 150px;
        }

        .filter-select:focus {
            outline: none;
            border-color: var(--primary-green);
        }

        /* Categorias chips */
        .categories-section-products {
            background: #fff;
            padding: 0 0 16px 0;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }
        .categories-section-products::-webkit-scrollbar { display: none; }
        .categories-wrap-products {
            display: flex;
            gap: 10px;
            white-space: nowrap;
            padding: 4px 0;
        }

        .category-chip-products {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 16px;
            border-radius: 20px;
            background: #f8fafc;
            border: 1px solid var(--border-color);
            font-size: 13px;
            font-weight: 500;
            color: #334155;
            cursor: pointer;
            transition: all 0.2s;
            user-select: none;
            flex-shrink: 0;
        }
        .category-chip-products:hover {
            background: #f1f5f9;
            border-color: #cbd5e1;
        }
        .category-chip-products i {
            font-size: 14px;
        }
        .category-chip-products.active {
            background: #dcfce7;
            border-color: #86efac;
            color: #166534;
        }

        /* Grid de productos - 2 columnas en móvil */
        .products-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }

        .product-card {
            background: #fff;
            border-radius: 14px;
            border: 1px solid var(--border-color);
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .product-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        }

        .product-card-img {
            width: 100%;
            aspect-ratio: 1;
            overflow: hidden;
            background: #f1f5f9;
            position: relative;
            cursor: pointer;
        }

        .product-card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
        }

        .product-card:hover .product-card-img img {
            transform: scale(1.05);
        }

        .product-badge {
            position: absolute;
            top: 8px;
            right: 8px;
            background: var(--accent-orange);
            color: #fff;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 10px;
            font-weight: 600;
            z-index: 2;
        }

        .product-card-info {
            padding: 10px 12px 12px;
        }

        .product-card-info h3 {
            font-size: 13px;
            font-weight: 600;
            color: var(--text-primary);
            margin: 0 0 2px;
            cursor: pointer;
            line-height: 1.3;
        }

        .product-card-info .product-category {
            font-size: 11px;
            color: var(--text-muted);
            margin: 0 0 6px;
        }

        .product-card-info .product-price {
            font-size: 16px;
            font-weight: 700;
            color: var(--primary-green);
            margin: 0 0 2px;
        }

        .product-card-info .product-unit {
            font-size: 11px;
            color: var(--text-secondary);
            margin: 0 0 10px;
        }

        /* Compra rápida */
        .quick-buy-container {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .quick-buy-controls {
            display: flex;
            align-items: center;
            gap: 4px;
            background: #f1f5f9;
            border-radius: 8px;
            padding: 3px;
            justify-content: center;
        }

        .quick-buy-btn {
            width: 28px;
            height: 28px;
            border-radius: 6px;
            border: none;
            background: #fff;
            color: var(--text-primary);
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .quick-buy-btn:hover {
            background: var(--primary-green);
            color: #fff;
            transform: scale(1.05);
        }

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

        .quick-buy-btn.minus:hover {
            background: #ef4444;
        }

        .quick-buy-qty {
            font-size: 14px;
            font-weight: 700;
            color: var(--text-primary);
            min-width: 24px;
            text-align: center;
        }

        .quick-add-btn {
            width: 100%;
            padding: 6px 8px;
            background: var(--primary-green);
            color: #fff;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
        }

        .quick-add-btn:hover {
            background: var(--primary-green-dark);
            transform: scale(1.02);
        }

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

        .quick-add-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

        .quick-add-btn.added {
            background: #22c55e;
        }

        .quick-add-btn .price-total {
            font-size: 10px;
            opacity: 0.9;
        }

        /* Estilos para desktop */
        .desktop-main .desktop-content {
            padding: 24px 32px;
            max-width: 1400px;
            margin: 0 auto;
        }

        .desktop-main .products-grid {
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 24px;
            margin-top: 20px;
        }

        /* Toast */
        .custom-toast {
            position: fixed;
            bottom: 100px;
            left: 50%;
            transform: translateX(-50%) translateY(100px);
            background: #fff;
            color: var(--text-primary);
            padding: 14px 20px;
            border-radius: 14px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.15);
            z-index: 9999;
            transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            opacity: 0;
            border: 1px solid var(--border-color);
            max-width: 90%;
            pointer-events: none;
            font-size: 14px;
        }
        .custom-toast.show {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
            pointer-events: auto;
        }
        .toast-content {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 500;
        }

        /* ===== MODAL OVERLAY ===== */
        .modal-overlay-work {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.6);
            z-index: 9999;
            align-items: center;
            justify-content: center;
            padding: 20px;
            animation: fadeInOverlay 0.3s ease-out;
        }

        .modal-overlay-work.show {
            display: flex;
        }

        @keyframes fadeInOverlay {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .modal-overlay-work iframe {
            width: 100%;
            max-width: 920px;
            height: 90vh;
            max-height: 750px;
            border: none;
            border-radius: 24px;
            background: #fff;
            box-shadow: 0 24px 80px rgba(0,0,0,0.4);
            animation: slideUpModal 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        }

        @keyframes slideUpModal {
            from {
                opacity: 0;
                transform: translateY(40px) scale(0.95);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .sidebar-item .badge-new {
            background: var(--accent-orange);
            color: #fff;
            font-size: 9px;
            padding: 2px 8px;
            border-radius: 10px;
            margin-left: auto;
            font-weight: 700;
            text-transform: uppercase;
        }

        .bottom-nav-item {
            position: relative;
        }

        .bottom-nav-item .badge-new {
            background: var(--accent-orange);
            color: #fff;
            font-size: 8px;
            padding: 1px 6px;
            border-radius: 10px;
            position: absolute;
            top: -4px;
            right: 4px;
            font-weight: 700;
        }

        /* ===== ESTILOS DE AUTENTICACIÓN ===== */
        .btn-register-header {
            background: var(--primary-green, #22c55e);
            color: white !important;
            border-radius: 20px;
            padding: 0 16px !important;
            height: 36px;
            font-size: 13px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 4px;
            text-decoration: none;
        }

        .btn-register-header:hover {
            background: #16a34a;
            color: white !important;
            text-decoration: none;
        }

        .btn-login-header {
            color: var(--text-color, #1e293b) !important;
            font-weight: 600;
            font-size: 14px;
            text-decoration: none;
            padding: 0 8px;
        }

        .btn-login-header:hover {
            color: var(--primary-green, #22c55e) !important;
            text-decoration: none;
        }

        .header-auth-buttons {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        /* Sidebar autenticación */
        .sidebar-user-logged {
            display: flex;
            align-items: center;
            gap: 12px;
            width: 100%;
            cursor: pointer;
            padding: 8px 0;
        }

        .sidebar-user-logged.hidden {
            display: none;
        }

        .sidebar-auth-guest {
            display: none;
            width: 100%;
            padding: 4px 0;
        }

        .sidebar-auth-guest .sidebar-item {
            margin: 4px 0;
            padding: 10px 16px;
        }

        .sidebar-auth-guest .btn-register-sidebar {
            background: var(--primary-green, #22c55e);
            color: white !important;
            border-radius: 8px;
        }

        .sidebar-auth-guest .btn-register-sidebar i {
            color: white !important;
        }

        .sidebar-auth-guest .btn-register-sidebar:hover {
            background: #16a34a;
        }

        .sidebar-logout {
            cursor: pointer;
            margin-top: 12px;
            padding-top: 12px;
            border-top: 1px solid #e2e8f0;
            color: #ef4444;
            display: none;
        }

        .sidebar-logout i {
            color: #ef4444;
        }

        .sidebar-logout:hover {
            background: #fef2f2;
            border-radius: 8px;
        }

        /* Responsive */
        @media (min-width: 400px) {
            .products-grid {
                gap: 14px;
            }
            .product-card-info h3 {
                font-size: 14px;
            }
            .product-card-info .product-price {
                font-size: 17px;
            }
        }

        @media (min-width: 576px) {
            .products-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 16px;
            }
            .product-card-info {
                padding: 12px 14px 14px;
            }
            .quick-add-btn {
                padding: 7px 10px;
                font-size: 13px;
            }
        }

        @media (min-width: 768px) {
            .products-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 20px;
            }
            .products-container {
                padding: 32px 24px 80px;
            }
            .custom-toast {
                bottom: 120px;
                padding: 18px 28px;
                font-size: 15px;
            }
        }

        @media (min-width: 992px) {
            .desktop-main .products-grid {
                grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
                gap: 28px;
            }
            .products-container {
                padding: 40px 32px 60px;
            }
            .custom-toast {
                bottom: 140px;
                max-width: 500px;
                font-size: 16px;
                padding: 20px 32px;
            }
            .categories-section-products {
                display: none;
            }
        }

        @media (min-width: 1200px) {
            .desktop-main .products-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
                gap: 32px;
            }
        }

        @media (max-width: 640px) {
            .modal-overlay-work {
                padding: 8px;
            }
            .modal-overlay-work iframe {
                height: 95vh;
                max-height: 95vh;
                border-radius: 16px;
            }
            .header-auth-buttons .btn-login-header {
                font-size: 12px;
            }
            .header-auth-buttons .btn-register-header {
                font-size: 11px;
                padding: 0 12px !important;
                height: 32px;
            }
        }

        /* Animaciones */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .product-card {
            animation: fadeInUp 0.4s ease-out both;
        }

        .product-card:nth-child(1) { animation-delay: 0.05s; }
        .product-card:nth-child(2) { animation-delay: 0.1s; }
        .product-card:nth-child(3) { animation-delay: 0.15s; }
        .product-card:nth-child(4) { animation-delay: 0.2s; }
        .product-card:nth-child(5) { animation-delay: 0.25s; }
        .product-card:nth-child(6) { animation-delay: 0.3s; }
        .product-card:nth-child(7) { animation-delay: 0.35s; }
        .product-card:nth-child(8) { animation-delay: 0.4s; }
    
    