
        /* PALETA DE COLORES PERSONALIZADA */
        :root {
            --primary: #1160A7;
            --primary-dark: #0e4d86;
            --primary-light: #e8f0fe;
            --secondary: #D1D4E0;
            --dark: #000000;
            --light: #f8f9fa;
            --gray: #6c757d;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: 'Inter', sans-serif;
            background-color: #ffffff;
            color: var(--dark);
            overflow-x: hidden;
        }
        /* ANIMACIONES GLOBALES */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease-out;
        }
        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }
        /* TOPBAR */
        .top-bar {
            background-color: var(--primary);
            color: #ffffff;
            font-size: 0.85rem;
            padding: 6px 0;
            position: relative;
            z-index: 1000;
        }
        .top-bar a {
            color: rgba(255,255,255,0.8);
            transition: all 0.3s;
            text-decoration: none;
        }
        .top-bar a:hover {
            color: #ffffff;
            transform: scale(1.1);
        }
        .top-bar .social-icons i {
            font-size: 1rem;
            margin: 0 6px;
            transition: all 0.3s;
        }
        .top-bar .social-icons i:hover {
            transform: translateY(-2px) scale(1.2);
        }
        /* NAVBAR */
        .navbar-custom {
            background-color: #ffffff;
            box-shadow: 0 2px 15px rgba(0,0,0,0.05);
            padding: 12px 0;
            transition: all 0.3s;
        }
        .navbar-custom.scrolled {
            box-shadow: 0 4px 30px rgba(0,0,0,0.1);
        }
        .navbar-custom .navbar-brand img {
            height: 60px;
            width: auto;
            transition: all 0.3s;
        }
        .navbar-custom .navbar-brand img:hover {
            transform: scale(1.05);
        }
        .navbar-custom .nav-link {
            font-weight: 600;
            color: var(--dark);
            margin: 0 10px;
            position: relative;
            transition: all 0.3s;
        }
        .navbar-custom .nav-link:hover,
        .navbar-custom .nav-link.active {
            color: var(--primary);
        }
        .navbar-custom .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--primary);
            transition: width 0.3s ease;
        }
        .navbar-custom .nav-link:hover::after,
        .navbar-custom .nav-link.active::after {
            width: 100%;
        }
        .navbar-custom .search-box {
            border: 1px solid #ddd;
            border-radius: 30px;
            padding: 5px 15px;
            display: flex;
            align-items: center;
            transition: all 0.3s;
        }
        .navbar-custom .search-box:focus-within {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(17, 96, 167, 0.1);
        }
        .navbar-custom .search-box input {
            border: none;
            outline: none;
            padding: 6px 10px;
            width: 200px;
            font-size: 0.9rem;
            background: transparent;
            color: var(--dark);
        }
        .navbar-custom .search-box button {
            background: none;
            border: none;
            color: var(--primary);
            cursor: pointer;
            transition: all 0.3s;
        }
        .navbar-custom .search-box button:hover {
            transform: scale(1.2);
        }
        /* BOTÓN DE INICIO DE SESIÓN */
        .btn-login {
            background-color: var(--primary);
            color: #ffffff;
            border: none;
            border-radius: 30px;
            padding: 8px 20px;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .btn-login:hover {
            background-color: var(--primary-dark);
            color: #ffffff;
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(17, 96, 167, 0.3);
        }
        .btn-login i {
            font-size: 1rem;
        }

        .btn-logout {
            background-color: transparent;
            color: var(--dark);
            border: 1px solid #ddd;
            border-radius: 30px;
            padding: 8px 20px;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .btn-logout:hover {
            background-color: #f8f9fa;
            border-color: #ccc;
        }

        /* Estilos para el modal de login */
        .login-modal .modal-content {
            border-radius: 20px;
            border: none;
            box-shadow: 0 20px 60px rgba(0,0,0,0.15);
            overflow: hidden;
        }
        .login-modal .modal-header {
            background: var(--primary);
            color: #ffffff;
            border-bottom: none;
            padding: 25px 30px;
        }
        .login-modal .modal-header .btn-close {
            filter: brightness(0) invert(1);
        }
        .login-modal .modal-body {
            padding: 30px;
        }
        .login-modal .form-control {
            border-radius: 12px;
            padding: 12px 16px;
            border: 2px solid #e9ecef;
            transition: all 0.3s;
        }
        .login-modal .form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(17, 96, 167, 0.1);
        }
        .login-modal .btn-login-submit {
            background-color: var(--primary);
            color: #ffffff;
            border: none;
            border-radius: 12px;
            padding: 14px;
            font-weight: 700;
            width: 100%;
            transition: all 0.3s;
        }
        .login-modal .btn-login-submit:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(17, 96, 167, 0.3);
        }
        .login-modal .user-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: var(--primary-light);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            color: var(--primary);
            margin: 0 auto 15px;
        }

        /* HERO CARRUSEL */
        .hero-carousel .carousel-item {
            height: 500px;
            background-size: cover;
            background-position: center;
            position: relative;
        }
        .hero-carousel .carousel-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.4);
        }
        .hero-carousel .carousel-caption {
            z-index: 2;
            bottom: 30%;
            animation: slideUp 1s ease-out;
        }
        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .hero-carousel .carousel-caption h1 {
            font-weight: 800;
            font-size: 3.5rem;
            letter-spacing: -1px;
            color: #ffffff;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }
        .hero-carousel .carousel-caption p {
            font-size: 1.3rem;
            opacity: 0.9;
            color: #ffffff;
        }
        .hero-carousel .carousel-control-prev,
        .hero-carousel .carousel-control-next {
            width: 50px;
            height: 50px;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255,255,255,0.2);
            border-radius: 50%;
            margin: 0 20px;
            transition: all 0.3s;
        }
        .hero-carousel .carousel-control-prev:hover,
        .hero-carousel .carousel-control-next:hover {
            background: var(--primary);
            transform: translateY(-50%) scale(1.1);
        }
        /* BOTÓN PRINCIPAL */
        .btn-primary-custom {
            background-color: var(--primary);
            border: none;
            color: #ffffff;
            padding: 14px 40px;
            border-radius: 40px;
            font-weight: 600;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-block;
            position: relative;
            overflow: hidden;
        }
        .btn-primary-custom::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255,255,255,0.2);
            transition: all 0.5s;
            transform: translate(-50%, -50%);
        }
        .btn-primary-custom:hover::before {
            width: 300px;
            height: 300px;
        }
        .btn-primary-custom:hover {
            background-color: var(--primary-dark);
            color: #ffffff;
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(17, 96, 167, 0.4);
        }
        /* SECCIÓN DE CARACTERÍSTICAS */
        .feature-box {
            padding: 30px 20px;
            border-radius: 12px;
            background: #ffffff;
            box-shadow: 0 5px 20px rgba(0,0,0,0.03);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            height: 100%;
            border: 1px solid #e9ecef;
            position: relative;
            overflow: hidden;
        }
        .feature-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--primary);
            transform: scaleX(0);
            transition: transform 0.4s;
        }
        .feature-box:hover::before {
            transform: scaleX(1);
        }
        .feature-box:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 15px 40px rgba(0,0,0,0.08);
        }
        .feature-box i {
            color: var(--primary);
            font-size: 2.6rem;
            margin-bottom: 15px;
            transition: all 0.3s;
        }
        .feature-box:hover i {
            transform: scale(1.2) rotate(-5deg);
        }
        .feature-box h6 {
            color: var(--dark);
            font-weight: 700;
        }
        .feature-box small {
            color: var(--gray);
        }
        /* ESTADÍSTICAS (CONTADORES) */
        .counter-section {
            background: var(--primary);
            color: #ffffff;
            padding: 60px 0;
        }
        .counter-box {
            text-align: center;
        }
        .counter-box .counter-number {
            font-size: 3.5rem;
            font-weight: 800;
            display: block;
            line-height: 1.2;
        }
        .counter-box .counter-label {
            font-size: 1rem;
            opacity: 0.85;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        /* GALERÍA DE PRODUCTOS - 5 COLUMNAS */
        .product-card {
            border: none;
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            background: #ffffff;
            box-shadow: 0 4px 15px rgba(0,0,0,0.04);
            height: 100%;
            position: relative;
        }
        .product-card:hover {
            transform: translateY(-12px);
            box-shadow: 0 20px 50px rgba(0,0,0,0.12);
        }
        .product-card .image-wrapper {
            position: relative;
            overflow: hidden;
            cursor: pointer;
        }
        .product-card .image-wrapper img {
            height: 220px;
            object-fit: cover;
            width: 100%;
            transition: all 0.6s;
        }
        .product-card:hover .image-wrapper img {
            transform: scale(1.08);
        }
        .product-card .image-wrapper .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(17, 96, 167, 0.6);
            opacity: 0;
            transition: all 0.4s;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 10px;
        }
        .product-card:hover .image-wrapper .overlay {
            opacity: 1;
        }
        .product-card .image-wrapper .overlay i {
            color: #ffffff;
            font-size: 2.2rem;
            transform: scale(0);
            transition: all 0.4s;
        }
        .product-card:hover .image-wrapper .overlay i {
            transform: scale(1);
        }
        .product-card .image-wrapper .overlay .eye-text {
            color: #ffffff;
            font-size: 0.9rem;
            font-weight: 600;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.4s;
        }
        .product-card:hover .image-wrapper .overlay .eye-text {
            opacity: 1;
            transform: translateY(0);
        }
        .product-card .card-body {
            padding: 1rem;
            text-align: center;
        }
        .product-card .product-code {
            font-size: 0.7rem;
            color: var(--gray);
            letter-spacing: 1px;
            font-weight: 600;
            text-transform: uppercase;
        }
        .product-card .product-title {
            font-weight: 700;
            margin-top: 4px;
            font-size: 1rem;
            color: var(--dark);
        }
        /* ORIGEN (IMPORTACIONES) - CON MOVIMIENTO */
        .origin-card {
            background: #ffffff;
            border-radius: 20px;
            padding: 30px 20px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.03);
            border: 1px solid #e9ecef;
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            height: 100%;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .origin-card::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--primary);
            transform: scaleX(0);
            transition: transform 0.4s;
        }
        .origin-card:hover::after {
            transform: scaleX(1);
        }
        .origin-card:hover {
            transform: translateY(-10px) scale(1.03);
            box-shadow: 0 20px 50px rgba(0,0,0,0.08);
        }
        .origin-card img {
            width: 90px;
            height: 90px;
            object-fit: cover;
            border-radius: 50%;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            margin-bottom: 15px;
            transition: all 0.5s;
        }
        .origin-card:hover img {
            transform: rotate(10deg) scale(1.1);
        }
        .origin-card .flag-wave {
            display: inline-block;
            animation: wave 2s ease-in-out infinite;
        }
        @keyframes wave {
            0%, 100% { transform: rotate(0deg); }
            50% { transform: rotate(8deg); }
        }
        .origin-card h5 {
            color: var(--dark);
            font-weight: 700;
        }
        .origin-card p {
            color: var(--gray);
        }
        /* CARRUSEL DE MARCAS / IMPORTACIONES */
        .brand-carousel {
            background: var(--secondary);
            padding: 40px 0;
            overflow: hidden;
        }
        .brand-carousel .brand-track {
            display: flex;
            animation: scrollBrands 20s linear infinite;
            gap: 60px;
        }
        @keyframes scrollBrands {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }
        .brand-carousel .brand-item {
            flex: 0 0 auto;
            display: flex;
            align-items: center;
            gap: 15px;
            background: #ffffff;
            padding: 15px 30px;
            border-radius: 50px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            white-space: nowrap;
        }
        .brand-carousel .brand-item i {
            font-size: 2rem;
            color: var(--primary);
        }
        .brand-carousel .brand-item span {
            font-weight: 600;
            color: var(--dark);
        }
        /* SUCURSALES */
        .branch-card {
            background: #ffffff;
            border-radius: 16px;
            padding: 25px;
            border: 1px solid #e9ecef;
            height: 100%;
            transition: all 0.4s;
            position: relative;
            overflow: hidden;
        }
        .branch-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(17,96,167,0.05), transparent);
            opacity: 0;
            transition: all 0.4s;
        }
        .branch-card:hover::before {
            opacity: 1;
        }
        .branch-card:hover {
            transform: translateX(8px);
            box-shadow: 0 8px 30px rgba(0,0,0,0.06);
        }
        .branch-card i {
            color: var(--primary);
            font-size: 2rem;
            margin-right: 15px;
            transition: all 0.3s;
        }
        .branch-card:hover i {
            transform: scale(1.2);
        }
        .branch-card h6 {
            color: var(--dark);
            font-weight: 700;
        }
        .branch-card p, .branch-card small {
            color: var(--gray);
        }
        /* TÍTULOS */
        .section-title {
            font-weight: 800;
            position: relative;
            display: inline-block;
            color: var(--primary);
        }
        .section-title::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -8px;
            width: 60px;
            height: 3px;
            background-color: var(--primary);
            border-radius: 2px;
        }
        h1, h2, h3, h4, h5, h6, .display-6 {
            color: var(--primary);
        }
        .text-primary-custom {
            color: var(--primary);
        }
        /* FONDOS DE SECCIÓN */
        .bg-soft {
            background-color: var(--secondary);
        }
        /* FOOTER */
        .footer {
            background-color: var(--primary);
            color: #ffffff;
            padding: 50px 0 20px;
        }
        .footer h5 {
            color: #ffffff;
            font-weight: 700;
            margin-bottom: 20px;
        }
        .footer a {
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            transition: all 0.3s;
        }
        .footer a:hover {
            color: #ffffff;
            transform: translateX(5px);
        }
        .footer .social-footer i {
            font-size: 1.4rem;
            margin-right: 15px;
            color: rgba(255,255,255,0.8);
            transition: all 0.3s;
            display: inline-block;
        }
        .footer .social-footer i:hover {
            color: #ffffff;
            transform: translateY(-3px) scale(1.2);
        }
        .footer p, .footer small {
            color: rgba(255,255,255,0.85);
        }
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.2);
            padding-top: 20px;
            margin-top: 30px;
            font-size: 0.9rem;
            text-align: center;
        }
        .footer-bottom p {
            color: rgba(255,255,255,0.8);
        }
        .footer-bottom a {
            color: #ffffff;
            font-weight: 600;
        }
        /* BOTONES FLOTANTES */
        .float-buttons {
            position: fixed;
            bottom: 30px;
            right: 25px;
            z-index: 999;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .float-btn {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background-color: #ffffff;
            box-shadow: 0 4px 20px rgba(0,0,0,0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            text-decoration: none;
            color: var(--dark);
            font-size: 1.8rem;
            position: relative;
        }
        .float-btn:hover {
            transform: scale(1.15) translateY(-3px);
            box-shadow: 0 8px 35px rgba(0,0,0,0.2);
        }
        .float-btn.tiktok { color: #000000; }
        .float-btn.facebook { color: #1877f2; }
        .float-btn.whatsapp { color: #25d366; }
        .float-btn .tooltip-text {
            visibility: hidden;
            opacity: 0;
            width: 140px;
            background-color: var(--dark);
            color: #ffffff;
            text-align: center;
            border-radius: 8px;
            padding: 6px 10px;
            position: absolute;
            right: 75px;
            font-size: 0.8rem;
            transition: all 0.3s;
        }
        .float-btn:hover .tooltip-text {
            visibility: visible;
            opacity: 1;
            transform: translateX(-5px);
        }
        /* MAPA */
        .map-container iframe {
            width: 100%;
            height: 220px;
            border-radius: 12px;
            border: none;
        }
        /* FORMULARIO */
        .form-control {
            border: 1px solid #ced4da;
            color: var(--dark);
            transition: all 0.3s;
        }
        .form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 0.25rem rgba(17, 96, 167, 0.15);
        }
        /* MODAL PARA AMPLIAR IMAGEN - BOTÓN DE CIERRE MEJORADO */
        .image-modal .modal-content {
            background: transparent;
            border: none;
        }
        .image-modal .modal-body {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 80vh;
        }
        .image-modal .modal-body img {
            max-width: 90%;
            max-height: 80vh;
            border-radius: 12px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.5);
            border: 4px solid #ffffff;
        }
        .image-modal .btn-close {
            position: fixed;
            right: 30px;
            top: 30px;
            z-index: 1060;
            width: 50px;
            height: 50px;
            background: rgba(0,0,0,0.75) !important;
            border-radius: 50%;
            border: 2px solid #ffffff !important;
            opacity: 1;
            padding: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px rgba(0,0,0,0.3);
        }
        .image-modal .btn-close::before {
            content: '✕';
            font-size: 1.8rem;
            color: #ffffff;
            font-weight: 300;
            line-height: 1;
        }
        .image-modal .btn-close:hover {
            background: rgba(255,0,0,0.8) !important;
            transform: scale(1.15);
            border-color: #ffffff !important;
            box-shadow: 0 4px 30px rgba(255,0,0,0.4);
        }
        .image-modal .btn-close:focus {
            box-shadow: 0 0 0 4px rgba(255,255,255,0.3);
        }
        /* RESPONSIVE */
        @media (max-width: 1200px) {
            .product-card .image-wrapper img {
                height: 200px;
            }
        }
        @media (max-width: 992px) {
            .hero-carousel .carousel-item { height: 400px; }
            .hero-carousel .carousel-caption h1 { font-size: 2.5rem; }
            .navbar-custom .search-box input { width: 140px; }
            .counter-box .counter-number { font-size: 2.5rem; }
            .col-lg-2-4 {
                flex: 0 0 auto;
                width: 33.333%;
            }
            .image-modal .btn-close {
                right: 15px;
                top: 15px;
                width: 44px;
                height: 44px;
            }
            .image-modal .btn-close::before {
                font-size: 1.5rem;
            }
        }
        @media (max-width: 768px) {
            .hero-carousel .carousel-item { height: 350px; }
            .hero-carousel .carousel-caption h1 { font-size: 1.8rem; }
            .navbar-custom .navbar-brand img { height: 45px; }
            .float-buttons { bottom: 20px; right: 15px; }
            .float-btn { width: 50px; height: 50px; font-size: 1.5rem; }
            .counter-box .counter-number { font-size: 2rem; }
            .brand-carousel .brand-item { padding: 10px 20px; }
            .btn-login, .btn-logout {
                font-size: 0.8rem;
                padding: 6px 14px;
            }
            .top-bar .login-link {
                font-size: 0.75rem;
            }
            .col-lg-2-4 {
                flex: 0 0 auto;
                width: 50%;
            }
            .product-card .image-wrapper img {
                height: 180px;
            }
            .image-modal .btn-close {
                right: 10px;
                top: 10px;
                width: 40px;
                height: 40px;
                padding: 10px;
            }
            .image-modal .btn-close::before {
                font-size: 1.3rem;
            }
        }
        @media (max-width: 576px) {
            .top-bar .social-icons a {
                margin: 0 3px;
            }
            .top-bar .social-icons i {
                font-size: 0.85rem;
            }
            .btn-login, .btn-logout {
                font-size: 0.7rem;
                padding: 4px 10px;
                gap: 4px;
            }
            .btn-login i, .btn-logout i {
                font-size: 0.8rem;
            }
            .col-lg-2-4 {
                flex: 0 0 auto;
                width: 50%;
            }
            .product-card .image-wrapper img {
                height: 150px;
            }
            .image-modal .btn-close {
                right: 8px;
                top: 8px;
                width: 36px;
                height: 36px;
                padding: 8px;
            }
            .image-modal .btn-close::before {
                font-size: 1.1rem;
            }
        }

        /* Clase personalizada para 5 columnas en grid */
        .col-lg-2-4 {
            flex: 0 0 auto;
            width: 20%;
        }
        @media (max-width: 992px) {
            .col-lg-2-4 {
                width: 33.333%;
            }
        }
        @media (max-width: 576px) {
            .col-lg-2-4 {
                width: 50%;
            }
        }

        /* MODAL PARA AMPLIAR IMAGEN */
        .image-modal .modal-content {
            background: transparent;
            border: none;
        }
        .image-modal .modal-body {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 80vh;
        }
        .image-modal .modal-body img {
            max-width: 90%;
            max-height: 80vh;
            border-radius: 12px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.5);
            border: 4px solid #ffffff;
        }
        .image-modal .btn-close {
            position: fixed;
            right: 30px;
            top: 30px;
            z-index: 1060;
            width: 50px;
            height: 50px;
            background: rgba(0,0,0,0.75) !important;
            border-radius: 50%;
            border: 2px solid #ffffff !important;
            opacity: 1;
            padding: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px rgba(0,0,0,0.3);
        }
        .image-modal .btn-close::before {
            content: '✕';
            font-size: 1.8rem;
            color: #ffffff;
            font-weight: 300;
            line-height: 1;
        }
        .image-modal .btn-close:hover {
            background: rgba(255,0,0,0.8) !important;
            transform: scale(1.15);
            border-color: #ffffff !important;
            box-shadow: 0 4px 30px rgba(255,0,0,0.4);
        }
        .image-modal .btn-close:focus {
            box-shadow: 0 0 0 4px rgba(255,255,255,0.3);
        }

        /* ========== CATÁLOGO PROFESIONAL ========== */
        .catalog-section {
            background: #f5f7fb;
            padding: 40px 0 60px;
        }
        .catalog-header {
            margin-bottom: 40px;
        }
        .catalog-header h2 {
            font-weight: 800;
            color: var(--dark);
            font-size: 2.2rem;
        }
        .catalog-header h2 span {
            color: var(--primary);
        }
        .catalog-header p {
            color: var(--gray);
            max-width: 500px;
            margin: 0 auto;
        }

        /* SIDEBAR CATEGORÍAS */
        .categories-sidebar {
            background: #ffffff;
            border-radius: 16px;
            padding: 25px 20px;
            box-shadow: var(--shadow);
            position: sticky;
            top: 100px;
        }
        .categories-sidebar h5 {
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 20px;
            padding-bottom: 12px;
            border-bottom: 2px solid #f0f2f5;
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .category-item {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 12px 16px;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            color: var(--gray);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            margin-bottom: 4px;
            border: 2px solid transparent;
        }
        .category-item:hover {
            background: var(--primary-light);
            color: var(--primary);
            transform: translateX(4px);
        }
        .category-item.active {
            background: var(--primary);
            color: #ffffff;
            box-shadow: 0 4px 15px rgba(17, 96, 167, 0.3);
        }
        .category-item.active i {
            color: #ffffff;
        }
        .category-item i {
            font-size: 1.2rem;
            width: 28px;
            text-align: center;
            color: var(--primary);
            transition: all 0.3s;
        }
        .category-item .badge-count {
            margin-left: auto;
            background: #e9ecef;
            color: var(--gray);
            font-size: 0.7rem;
            padding: 2px 10px;
            border-radius: 20px;
            font-weight: 600;
        }
        .category-item.active .badge-count {
            background: rgba(255,255,255,0.25);
            color: #ffffff;
        }
        .category-item:hover .badge-count {
            background: var(--primary);
            color: #ffffff;
        }

        /* PRODUCTOS EN GRID - 4 COLUMNAS */
        .product-grid .product-card {
            border: none;
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            background: #ffffff;
            box-shadow: 0 4px 15px rgba(0,0,0,0.04);
            height: 100%;
            position: relative;
        }
        .product-grid .product-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(0,0,0,0.12);
        }
        .product-grid .product-card .image-wrapper {
            position: relative;
            overflow: hidden;
            cursor: pointer;
            background: #f8f9fa;
        }
        .product-grid .product-card .image-wrapper img {
            height: 220px;
            object-fit: cover;
            width: 100%;
            transition: all 0.6s;
        }
        .product-grid .product-card:hover .image-wrapper img {
            transform: scale(1.08);
        }
        .product-grid .product-card .image-wrapper .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(17, 96, 167, 0.7);
            opacity: 0;
            transition: all 0.4s;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 10px;
            backdrop-filter: blur(3px);
        }
        .product-grid .product-card:hover .image-wrapper .overlay {
            opacity: 1;
        }
        .product-grid .product-card .image-wrapper .overlay i {
            color: #ffffff;
            font-size: 2.5rem;
            transform: scale(0) rotate(-20deg);
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .product-grid .product-card:hover .image-wrapper .overlay i {
            transform: scale(1) rotate(0deg);
        }
        .product-grid .product-card .image-wrapper .overlay .eye-text {
            color: #ffffff;
            font-size: 0.9rem;
            font-weight: 600;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.4s;
            letter-spacing: 1px;
        }
        .product-grid .product-card:hover .image-wrapper .overlay .eye-text {
            opacity: 1;
            transform: translateY(0);
        }
        .product-grid .product-card .card-body {
            padding: 1.2rem 1rem 1rem;
            text-align: left;
        }
        .product-grid .product-card .product-category-tag {
            font-size: 0.65rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            color: var(--primary);
            background: var(--primary-light);
            padding: 3px 12px;
            border-radius: 20px;
            display: inline-block;
            margin-bottom: 6px;
        }
        .product-grid .product-card .product-code {
            font-size: 0.7rem;
            color: var(--gray);
            letter-spacing: 1px;
            font-weight: 600;
            text-transform: uppercase;
        }
        .product-grid .product-card .product-title {
            font-weight: 700;
            margin: 4px 0 2px;
            font-size: 1.05rem;
            color: var(--dark);
        }
        .product-grid .product-card .product-price {
            font-weight: 700;
            color: var(--primary);
            font-size: 1.1rem;
        }
        .product-grid .product-card .product-price small {
            font-weight: 400;
            color: var(--gray);
            font-size: 0.8rem;
        }

        /* BADGE NUEVO / DESTACADO */
        .product-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            z-index: 5;
            background: var(--primary);
            color: #ffffff;
            font-size: 0.65rem;
            font-weight: 700;
            padding: 4px 14px;
            border-radius: 20px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            box-shadow: 0 4px 12px rgba(17, 96, 167, 0.3);
        }
        .product-badge.hot {
            background: #e74c3c;
            box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
        }

       /* ========== RESPONSIVE - 2 COLUMNAS EN MÓVIL ========== */

/* Tablets y móviles grandes */
@media (max-width: 991px) {
    .catalog-section .row .col-lg-9 .product-grid .row .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Móviles (menos de 768px) */
@media (max-width: 768px) {
    /* Forzar 2 columnas en el grid de productos */
    .catalog-section .row .col-lg-9 .product-grid .row .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
        padding-left: 8px;
        padding-right: 8px;
    }
    
    /* Ajustes de tamaño para móvil */
    .product-grid .product-card .image-wrapper img {
        height: 160px;
    }
    
    .product-grid .product-card .card-body {
        padding: 0.7rem 0.6rem 0.7rem;
    }
    
    .product-grid .product-card .product-title {
        font-size: 0.85rem;
        margin: 2px 0 2px;
    }
    
    .product-grid .product-card .product-price {
        font-size: 0.9rem;
    }
    
    .product-grid .product-card .product-category-tag {
        font-size: 0.55rem;
        padding: 2px 10px;
    }
    
    .product-grid .product-card .product-code {
        font-size: 0.6rem;
    }
    
    .product-badge {
        font-size: 0.55rem;
        padding: 3px 10px;
        top: 8px;
        left: 8px;
    }
    
    /* Reducir gap entre columnas */
    .product-grid .row {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }
    
    /* Ajustes para el sidebar en móvil */
    .categories-sidebar {
        margin-bottom: 1.5rem;
    }
    
    /* Overlay más sutil en móvil */
    .product-grid .product-card .image-wrapper .overlay i {
        font-size: 1.8rem;
    }
    
    .product-grid .product-card .image-wrapper .overlay .eye-text {
        font-size: 0.7rem;
    }
}

/* Móviles muy pequeños (menos de 400px) */
@media (max-width: 400px) {
    .catalog-section .row .col-lg-9 .product-grid .row .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .product-grid .row {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
    }
    
    .product-grid .product-card .image-wrapper img {
        height: 130px;
    }
    
    .product-grid .product-card .product-title {
        font-size: 0.7rem;
    }
    
    .product-grid .product-card .product-price {
        font-size: 0.75rem;
    }
    
    .product-grid .product-card .product-category-tag {
        font-size: 0.5rem;
        padding: 1px 8px;
    }
    
    .product-grid .product-card .product-code {
        font-size: 0.5rem;
    }
    
    .product-grid .product-card .card-body {
        padding: 0.5rem 0.4rem 0.5rem;
    }
    
    .product-badge {
        font-size: 0.5rem;
        padding: 2px 8px;
        top: 5px;
        left: 5px;
    }
}

/* Sidebar responsive en móvil */
@media (max-width: 768px) {
    .catalog-section .row .col-lg-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .catalog-section .row .col-lg-9 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .categories-sidebar {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px;
        background: #f8f9fa;
        border-radius: 12px;
        margin-bottom: 1rem;
    }
    
    .categories-sidebar h5 {
        width: 100%;
        margin-bottom: 5px;
        font-size: 0.9rem;
    }
    
    .categories-sidebar .d-flex.flex-column {
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 6px;
        width: 100%;
    }
    
    .categories-sidebar .category-item {
        flex: 1 0 auto;
        padding: 6px 14px;
        border-radius: 20px;
        background: white;
        border: 1px solid #e9ecef;
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    .categories-sidebar .category-item .badge-count {
        margin-left: 4px;
    }
    
    .categories-sidebar .mt-4.border-top {
        display: none;
    }
}