:root {
            --primary-blue: #2563EB;
            --secondary-blue: #3B82F6;
            --navy: #0F172A;
            --light-blue: #EFF6FF;
            --background: #F8FAFC;
            --white: #FFFFFF;
            --whatsapp-green: #25D366;
            --gray-300: #CBD5E1;
            --gray-500: #64748B;
            --gray-800: #1E293B;
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --radius-md: 0.5rem;
            --radius-lg: 1rem;
            --radius-full: 9999px;
            --transition: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        body {
            background-color: var(--background);
            color: var(--gray-800);
            line-height: 1.6;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        button {
            cursor: pointer;
            border: none;
            outline: none;
            font-family: inherit;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        /* HEADER */
        header {
            background-color: var(--white);
            box-shadow: var(--shadow-sm);
            position: sticky;
            top: 0;
            z-index: 50;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 80px;
        }

        .logo-container {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .logo-img {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--primary-blue);
        }

        .brand-text h1 {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--navy);
            line-height: 1.2;
        }

        .brand-text p {
            font-size: 0.75rem;
            color: var(--gray-500);
        }

        .nav-links {
            display: flex;
            gap: 2rem;
        }

        .nav-links a {
            font-weight: 500;
            color: var(--gray-800);
            transition: var(--transition);
        }

        .nav-links a:hover {
            color: var(--primary-blue);
        }

        .hamburger {
            display: none;
            flex-direction: column;
            gap: 5px;
            background: none;
            border: none;
            cursor: pointer;
        }

        .hamburger span {
            display: block;
            width: 25px;
            height: 3px;
            background-color: var(--navy);
            border-radius: 3px;
            transition: var(--transition);
        }

        /* HERO CAROUSEL */
        .hero-section {
            padding: 2rem 0;
        }

        .carousel-container {
            position: relative;
            width: 100%;
            height: 450px;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-md);
        }

        .carousel-track {
            display: flex;
            height: 100%;
            transition: transform 0.5s ease-in-out;
        }

        .carousel-slide {
            min-width: 100%;
            height: 100%;
            position: relative;
        }

        .carousel-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            background-color: var(--primary-blue); /* fallback */
        }

        .carousel-overlay {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: linear-gradient(to right, rgba(15, 23, 42, 0.8), rgba(37, 99, 235, 0.4));
            display: flex;
            align-items: center;
            padding: 0 4rem;
        }

        .carousel-content {
            color: var(--white);
            max-width: 600px;
        }

        .carousel-content h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            line-height: 1.2;
        }

        .carousel-content p {
            font-size: 1.125rem;
            margin-bottom: 2rem;
            opacity: 0.9;
        }

        .btn-primary {
            background-color: var(--primary-blue);
            color: var(--white);
            padding: 0.75rem 1.5rem;
            border-radius: var(--radius-full);
            font-size: 1rem;
            font-weight: 600;
            transition: var(--transition);
            display: inline-block;
        }

        .btn-primary:hover {
            background-color: var(--secondary-blue);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        .carousel-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background-color: rgba(255, 255, 255, 0.2);
            color: var(--white);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            transition: var(--transition);
            backdrop-filter: blur(4px);
            z-index: 10;
        }

        .carousel-btn:hover {
            background-color: rgba(255, 255, 255, 0.4);
        }

        .carousel-prev { left: 1rem; }
        .carousel-next { right: 1rem; }

        .carousel-dots {
            position: absolute;
            bottom: 1.5rem;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 0.5rem;
            z-index: 10;
        }

        .dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: var(--transition);
        }

        .dot.active {
            background-color: var(--white);
            transform: scale(1.2);
        }

        /* WHATSAPP CTA */
        .wa-cta {
            margin-bottom: 3rem;
        }

        .wa-card {
            background-color: var(--white);
            border-radius: var(--radius-lg);
            padding: 2rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-shadow: var(--shadow-md);
            border-left: 5px solid var(--whatsapp-green);
        }

        .wa-info {
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }

        .wa-icon {
            background-color: var(--whatsapp-green);
            color: var(--white);
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
        }

        .wa-text h3 {
            color: var(--navy);
            font-size: 1.25rem;
            margin-bottom: 0.25rem;
        }

        .wa-text p {
            color: var(--gray-500);
            font-size: 0.9rem;
        }

        .btn-whatsapp {
            background-color: var(--whatsapp-green);
            color: var(--white);
            padding: 0.75rem 1.5rem;
            border-radius: var(--radius-full);
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: var(--transition);
        }

        .btn-whatsapp:hover {
            background-color: #20BA56;
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        /* CATEGORIES */
        .section-header {
            text-align: center;
            margin-bottom: 2rem;
        }

        .section-header h2 {
            color: var(--navy);
            font-size: 2rem;
            margin-bottom: 0.5rem;
        }

        .section-header p {
            color: var(--gray-500);
        }

        .categories-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 1.5rem;
            margin-bottom: 4rem;
        }

        .category-card {
            background-color: var(--white);
            border-radius: var(--radius-md);
            padding: 1.5rem 1rem;
            text-align: center;
            cursor: pointer;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            border: 1px solid var(--light-blue);
        }

        .category-card:hover, .category-card.active {
            border-color: var(--primary-blue);
            box-shadow: var(--shadow-md);
            transform: translateY(-5px);
        }

        .category-icon {
            width: 50px;
            height: 50px;
            background-color: var(--light-blue);
            color: var(--primary-blue);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            font-size: 1.5rem;
            font-weight: bold;
        }

        .category-card h3 {
            font-size: 0.9rem;
            color: var(--navy);
        }

        /* CATALOG */
        .catalog-controls {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
            margin-bottom: 2rem;
            background-color: var(--white);
            padding: 1rem;
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm);
        }

        .catalog-info {
            font-weight: 500;
            color: var(--navy);
        }

        .catalog-actions {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            flex: 1;
            justify-content: flex-end;
        }

        .search-box {
            position: relative;
            flex: 1;
            max-width: 300px;
        }

        .search-box input {
            width: 100%;
            padding: 0.5rem 1rem 0.5rem 2.5rem;
            border: 1px solid var(--gray-300);
            border-radius: var(--radius-full);
            outline: none;
            transition: var(--transition);
        }

        .search-box input:focus {
            border-color: var(--primary-blue);
            box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
        }

        .search-icon {
            position: absolute;
            left: 10px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray-500);
        }

        select {
            padding: 0.5rem 1rem;
            border: 1px solid var(--gray-300);
            border-radius: var(--radius-full);
            outline: none;
            background-color: var(--white);
            color: var(--gray-800);
            cursor: pointer;
        }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .product-card {
            background-color: var(--white);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .product-card:hover {
            box-shadow: var(--shadow-lg);
            transform: translateY(-5px);
        }
        
        .product-number {
            position: absolute;
            top: 10px;
            left: 10px;
            background-color: rgba(15, 23, 42, 0.7);
            color: white;
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            font-size: 0.8rem;
            font-weight: bold;
            z-index: 2;
        }

        .product-img-wrapper {
            position: relative;
            padding-top: 100%; /* 1:1 Aspect Ratio */
            background-color: var(--light-blue);
            overflow: hidden;
        }

        .product-img-wrapper img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

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

        .product-content {
            padding: 1.5rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .product-category {
            font-size: 0.75rem;
            color: var(--primary-blue);
            text-transform: uppercase;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .product-name {
            font-size: 1.1rem;
            color: var(--navy);
            margin-bottom: 0.5rem;
            font-weight: 600;
            line-height: 1.3;
        }

        .product-desc {
            color: var(--gray-500);
            font-size: 0.85rem;
            margin-bottom: 1.5rem;
            flex: 1;
        }

        .btn-outline {
            border: 1px solid var(--primary-blue);
            color: var(--primary-blue);
            background-color: transparent;
            padding: 0.5rem 1rem;
            border-radius: var(--radius-full);
            font-weight: 500;
            transition: var(--transition);
            width: 100%;
            text-align: center;
        }

        .btn-outline:hover {
            background-color: var(--primary-blue);
            color: var(--white);
        }

        /* PAGINATION */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 1rem;
            margin-bottom: 4rem;
        }

        .page-btn {
            background-color: var(--white);
            border: 1px solid var(--gray-300);
            width: 40px;
            height: 40px;
            border-radius: var(--radius-md);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--gray-800);
            transition: var(--transition);
        }

        .page-btn:hover:not(:disabled) {
            border-color: var(--primary-blue);
            color: var(--primary-blue);
        }

        .page-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .page-info {
            font-weight: 500;
            color: var(--gray-500);
        }

        .per-page-select {
            margin-left: 1rem;
        }

        /* EMPTY STATE */
        .empty-state {
            text-align: center;
            padding: 4rem 2rem;
            background-color: var(--white);
            border-radius: var(--radius-lg);
            margin-bottom: 3rem;
            box-shadow: var(--shadow-sm);
        }

        .empty-state h3 {
            color: var(--navy);
            margin-bottom: 1rem;
        }

        /* MODAL */
        .modal {
            display: none;
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background-color: rgba(15, 23, 42, 0.7);
            z-index: 100;
            align-items: center;
            justify-content: center;
            padding: 1rem;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .modal.active {
            display: flex;
            opacity: 1;
        }

        .modal-content {
            background-color: var(--white);
            border-radius: var(--radius-lg);
            width: 100%;
            max-width: 800px;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            transform: scale(0.95);
            transition: transform 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        .modal.active .modal-content {
            transform: scale(1);
        }

        @media (min-width: 768px) {
            .modal-content {
                flex-direction: row;
            }
        }

        .modal-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background-color: var(--white);
            border: none;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            font-size: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: var(--shadow-sm);
            z-index: 10;
            color: var(--gray-800);
        }

        .modal-img {
            flex: 1;
            background-color: var(--light-blue);
            min-height: 300px;
        }

        .modal-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .modal-details {
            flex: 1;
            padding: 2.5rem;
            display: flex;
            flex-direction: column;
        }

        .modal-category {
            color: var(--primary-blue);
            font-weight: 600;
            font-size: 0.85rem;
            text-transform: uppercase;
            margin-bottom: 0.5rem;
        }

        .modal-title {
            font-size: 1.75rem;
            color: var(--navy);
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }

        .modal-desc {
            color: var(--gray-500);
            margin-bottom: 2rem;
            flex: 1;
            line-height: 1.8;
        }

        /* FOOTER */
        footer {
            background-color: var(--navy);
            color: var(--white);
            padding: 4rem 0 2rem;
            margin-top: auto;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .footer-brand .logo-img {
            border-color: var(--white);
            margin-bottom: 1rem;
        }

        .footer-brand p {
            color: var(--gray-300);
            font-size: 0.9rem;
        }

        .footer-links h4 {
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 0.5rem;
        }

        .footer-links h4::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 40px;
            height: 2px;
            background-color: var(--primary-blue);
        }

        .footer-links ul {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 0.75rem;
        }

        .footer-links a {
            color: var(--gray-300);
            transition: var(--transition);
            font-size: 0.9rem;
        }

        .footer-links a:hover {
            color: var(--primary-blue);
            padding-left: 5px;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 2rem;
            text-align: center;
            color: var(--gray-300);
            font-size: 0.85rem;
        }

        /* MOBILE RESPONSIVE */
        @media (max-width: 768px) {
            .carousel-container {
                height: 320px;
            }
            .carousel-overlay {
                padding: 0 2rem;
            }
            .carousel-content h2 {
                font-size: 1.75rem;
            }
            .carousel-content p {
                font-size: 0.9rem;
            }
            
            .wa-card {
                flex-direction: column;
                text-align: center;
                gap: 1.5rem;
            }
            .wa-info {
                flex-direction: column;
                gap: 1rem;
            }
            
            .nav-links {
                display: none;
                position: absolute;
                top: 80px;
                left: 0;
                right: 0;
                background-color: var(--white);
                flex-direction: column;
                padding: 1.5rem;
                gap: 1.5rem;
                box-shadow: var(--shadow-md);
                text-align: center;
            }
            
            .nav-links.active {
                display: flex;
            }
            
            .hamburger {
                display: flex;
            }

            .catalog-controls {
                flex-direction: column;
                align-items: stretch;
            }
            .search-box {
                max-width: none;
            }
            .catalog-actions {
                justify-content: space-between;
            }
        }
.page-numbers {
    display: flex;
    gap: 0.5rem;
}
.page-btn.active {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}
