        :root {
            --acento: #ffc107;
            --negro: #000000;
            --blanco: #FFFFFF;
            --hueso: #F5F5DC;
            --dorado: #D4AF37;
            --gris-oscuro: #333333;
            font-size: 14px;
            --transition: all 0.3s ease;
            --sombra: 0 4px 15px rgba(0, 0, 0, 0.1);
            --sombra-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: var(--negro);
            line-height: 1.6;
        }

        /* Container principal */
        .marcas-container {
            display: flex;
            min-height: calc(100vh - 60px);
            max-width: 1400px;
            margin: 0 auto;
            background: var(--blanco);
            box-shadow: var(--sombra);
        }

        /* ---------------------------------------------------------------- Sidebar de navegación ---------------------------------------------------------------- */
        /* ---------------------------------------------------------------- Sidebar de navegación ---------------------------------------------------------------- */
        /* ---------------------------------------------------------------- Sidebar de navegación ---------------------------------------------------------------- */
        /* ---------------------------------------------------------------- Sidebar de navegación ---------------------------------------------------------------- */
        /* ---------------------------------------------------------------- Sidebar de navegación ---------------------------------------------------------------- */
        
        .sidebar {
            width: 300px;
            background: black;
            color: var(--hueso);
            padding: 0;
            position: sticky;
            top: 60px;
            height: calc(100vh - 60px);
            overflow-y: auto;
            flex-shrink: 0;
            z-index: 100;
        }
        
        .sidebar-header {
            padding: 25px 20px;
            background: var(--negro);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            position: sticky;
            top: 0;
            z-index: 10;
            backdrop-filter: blur(5px);
        }
        
        .sidebar-header h3 {
            font-family: 'Playfair Display', serif;
            font-size: 1.3rem;
            margin-bottom: 8px;
            color: var(--dorado);
        }
        
        .sidebar-header p {
            font-size: 0.9rem;
            opacity: 0.8;
            color: rgba(255, 255, 255, 0.8);
        }
        
        .nav-rubros {
            list-style: none;
            padding: 15px 0;
            display: block;
        }
        
        .nav-rubro {
            margin-bottom: 3px;
            display: block;
            width: 100%;
        }
        
        .nav-rubro-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 15px 20px;
            color: var(--light-text);
            text-decoration: none;
            transition: all 0.3s ease;
            border-left: 4px solid transparent;
            cursor: pointer;
            background: none;
            border: none;
            width: 100%;
            text-align: left;
        }
        
        .nav-rubro-header:hover {
            background: var(--hover-bg);
            border-left-color: var(--primary-color);
        }
        
        .nav-rubro-header.active {
            background: rgba(212, 175, 55, 0.15);
            border-left-color: var(--primary-color);
            font-weight: 600;
        }
        
        .nav-rubro-content {
            display: flex;
            align-items: center;
            flex: 1;
        }
        
        .nav-rubro-icon {
            font-size: 1.2rem;
            margin-right: 12px;
            width: 20px;
            text-align: center;
            color: var(--primary-color);
        }
        
        .nav-rubro-toggle {
            font-size: 0.9rem;
            transition: transform 0.3s ease;
            color: rgba(255, 255, 255, 0.6);
        }
        
        .nav-rubro.expanded .nav-rubro-toggle {
            transform: rotate(180deg);
        }
        
        .nav-categorias {
            list-style: none;
            padding: 0;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            background: rgba(0, 0, 0, 0.2);
        }
        
        .nav-rubro.expanded .nav-categorias {
            max-height: 2000px;
        }
        
        .nav-categoria {
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            display: block;
        }
        
        .nav-categoria:last-child {
            border-bottom: none;
        }
        
        .nav-categoria-link {
            display: block;
            padding: 12px 20px 12px 55px;
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 0.9rem;
            position: relative;
        }
        
        .nav-categoria-link::before {
            content: '•';
            position: absolute;
            left: 35px;
            opacity: 0.6;
            color: rgba(212, 175, 55, 0.15);
        }
        
        .nav-categoria-link:hover {
            background: rgba(255, 255, 255, 0.08);
            color: var(--light-text);
            padding-left: 60px;
        }
        
        .nav-categoria-link.active {
            background: rgba(212, 175, 55, 0.15);
            color: var(--primary-color);
            font-weight: 500;
        }
        
        .main-content {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
            background: #f8f9fa;
        }
        
        /* Navegación móvil mejorada */
        /* Navegación móvil mejorada */
        /* Navegación móvil mejorada */
        /* Navegación móvil mejorada */
        /* Navegación móvil mejorada */

        .mobile-rubros-container {
            display: none;
            background: var(--negro);
            width: 100%;
            position: static;
            top: 60px;
            z-index: 90;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            padding: 15px;
        }

        .mobile-rubros-header {
            margin-bottom: 15px;
            color: white;
        }

        .mobile-rubros-header h3 {
            font-size: 1.2rem;
            margin-bottom: 5px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .mobile-rubros-header p {
            font-size: 0.9rem;
            opacity: 0.8;
        }

        .mobile-rubros-accordion {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .mobile-rubro-item {
            border-radius: 6px;
            overflow: hidden;
            background: rgba(255, 255, 255, 0.05);
        }

        .mobile-rubro-btn {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            padding: 15px;
            background: rgba(0, 0, 0, 0.2);
            border: none;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .mobile-rubro-btn:hover {
            background: rgba(212, 175, 55, 0.1);
        }

        .mobile-rubro-btn-content {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .mobile-rubro-btn i:first-child {
            color: var(--primary-color);
            width: 20px;
            text-align: center;
        }

        .mobile-rubro-arrow {
            transition: transform 0.3s ease;
            font-size: 0.9rem;
        }

        .mobile-rubro-item.active .mobile-rubro-arrow {
            transform: rotate(180deg);
        }

        .mobile-categorias-list {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            background: rgba(0, 0, 0, 0.3);
        }

        .mobile-rubro-item.active .mobile-categorias-list {
            max-height: 500px;
        }

        .mobile-categoria-link {
            display: block;
            padding: 12px 15px 12px 45px;
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            position: relative;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .mobile-categoria-link:last-child {
            border-bottom: none;
        }

        .mobile-categoria-link::before {
            content: '•';
            position: absolute;
            left: 25px;
            color: var(--primary-color);
        }

        .mobile-categoria-link:hover,
        .mobile-categoria-link.active {
            background: rgba(212, 175, 55, 0.1);
            color: var(--primary-color);
            padding-left: 50px;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .mobile-rubros-container {
                display: block;
            }
            
            .sidebar {
                display: none;
            }
        }

        @media (min-width: 769px) {
            .mobile-rubros-container {
                display: none !important;
            }
        }
    
        /* ---------------------------------------- Hero Rubro ---------------------------------------- */
        /* ---------------------------------------- Hero Rubro ---------------------------------------- */
        /* ---------------------------------------- Hero Rubro ---------------------------------------- */
        /* ---------------------------------------- Hero Rubro ---------------------------------------- */
        /* ---------------------------------------- Hero Rubro ---------------------------------------- */

        .hero-moderno {
            position: relative;
            height: 200px;
            border-radius: 16px;
            overflow: hidden;
            margin: 0 0 30px 0;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
            background: linear-gradient(135deg, var(--negro) 0%, var(--gris-oscuro) 100%);
            transition: all 0.4s ease;
        }

        .hero-moderno:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
        }

        /* Elemento decorativo de fondo */
        .hero-moderno::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -30%;
            width: 80%;
            height: 200%;
            background: linear-gradient(135deg, 
                transparent 0%, 
                rgba(212, 175, 55, 0.03) 20%,
                rgba(212, 175, 55, 0.08) 50%,
                rgba(212, 175, 55, 0.03) 80%,
                transparent 100%
            );
            transform: rotate(-15deg);
            transition: all 0.6s ease;
            z-index: 1;
        }

        .hero-moderno:hover::before {
            transform: rotate(-15deg) scale(1.1);
            opacity: 0.7;
        }

        /* Patrón geométrico sutil */
        .hero-moderno::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                linear-gradient(45deg, rgba(212, 175, 55, 0.02) 25%, transparent 25%),
                linear-gradient(-45deg, rgba(212, 175, 55, 0.02) 25%, transparent 25%);
            background-size: 30px 30px;
            background-position: 0 0, 15px 15px;
            z-index: 1;
        }

        .hero-content {
            position: relative;
            display: flex;
            align-items: center;
            gap: 40px;
            height: 100%;
            padding: 0 40px;
            color: var(--blanco);
            z-index: 2;
        }

        .hero-icon-container {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Círculo decorativo de fondo */
        .hero-icon-bg {
            position: absolute;
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: linear-gradient(135deg, 
                rgba(212, 175, 55, 0.15) 0%, 
                rgba(212, 175, 55, 0.25) 100%
            );
            border: 2px solid rgba(212, 175, 55, 0.3);
            transition: all 0.4s ease;
        }

        .hero-moderno:hover .hero-icon-bg {
            transform: scale(1.05);
            border-color: rgba(212, 175, 55, 0.5);
            background: linear-gradient(135deg, 
                rgba(212, 175, 55, 0.2) 0%, 
                rgba(212, 175, 55, 0.35) 100%
            );
        }

        .hero-icon {
            position: relative;
            font-size: 2.8rem;
            color: var(--dorado);
            transition: all 0.4s ease;
            z-index: 1;
        }

        .hero-moderno:hover .hero-icon {
            transform: scale(1.1);
            color: #e6c458;
            filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
        }

        .hero-text {
            flex: 1;
            max-width: 70%;
        }

        .hero-title {
            font-size: 2.2rem;
            margin-bottom: 8px;
            font-weight: 700;
            letter-spacing: -0.5px;
            color: var(--blanco);
            transition: all 0.3s ease;
        }

        .hero-description {
            font-size: 1rem;
            opacity: 0.9;
            line-height: 1.5;
            font-weight: 400;
            color: rgba(255, 255, 255, 0.85);
            transition: all 0.3s ease;
        }

        .hero-moderno:hover .hero-description {
            opacity: 1;
            color: rgba(255, 255, 255, 0.95);
        }

        /* Barra de progreso decorativa */
        .hero-progress {
            position: absolute;
            bottom: 0;
            left: 0;
            height: 3px;
            background: linear-gradient(90deg, 
                var(--dorado) 0%, 
                rgba(212, 175, 55, 0.6) 50%,
                var(--dorado) 100%
            );
            width: 0%;
            transition: width 0.8s ease;
            z-index: 3;
        }

        .hero-moderno:hover .hero-progress {
            width: 100%;
        }

                @media (max-width: 768px) {
            .hero-moderno {
                height: 160px;
            }
            
            .hero-content {
                padding: 0 25px;
                gap: 25px;
            }
            
            .hero-icon-bg {
                width: 80px;
                height: 80px;
            }
            
            .hero-icon {
                font-size: 2.2rem;
            }
            
            .hero-title {
                font-size: 1.8rem;
                margin-bottom: 6px;
            }
            
            .hero-description {
                font-size: 0.9rem;
            }

            .hero-text {
                max-width: 100%;
            }
        }

        @media (max-width: 480px) {
            .hero-moderno {
                height: 140px;
            }
            
            .hero-content {
                flex-direction: row;
                text-align: left;
                gap: 20px;
            }
            
            .hero-icon-bg {
                width: 60px;
                height: 60px;
            }
            
            .hero-icon {
                font-size: 1.8rem;
            }
            
            .hero-title {
                font-size: 1.5rem;
            }
            
            .hero-description {
                font-size: 0.85rem;
                line-height: 1.4;
            }
        }

        /* ---------------------------------------- Contenido de marcas ---------------------------------------- */
        /* ---------------------------------------- Contenido de marcas ---------------------------------------- */
        /* ---------------------------------------- Contenido de marcas ---------------------------------------- */
        /* ---------------------------------------- Contenido de marcas ---------------------------------------- */
        /* ---------------------------------------- Contenido de marcas ---------------------------------------- */

        .marcas-content {
            padding: 40px 30px;
            display: none;
        }

        .marcas-content.active {
            display: block;
        }

        .category-section {
            display: none;
            margin-bottom: 50px;
        }

        .category-section.active {
            display: block;
            animation: fadeInUp 0.5s ease;
        }

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

        .category-title {
            font-family: 'Playfair Display', serif;
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--negro);
            margin-bottom: 30px;
            text-align: center;
            position: relative;
        }

        .category-title::after {
            content: '';
            position: absolute;
            bottom: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: var(--acento);
            border-radius: 3px;
        }

        .marcas-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 25px;
            margin-bottom: 40px;
        }

        .marca-card {
            background: var(--blanco);
            border: 2px solid var(--hueso);
            border-radius: 12px;
            padding: 20px 15px;
            text-align: center;
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .marca-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, var(--hueso), transparent);
            transition: left 0.5s ease;
        }

        .marca-card:hover::before {
            left: 100%;
        }

        .marca-card:hover {
            transform: translateY(-8px);
            border-color: var(--acento);
            box-shadow: var(--sombra-hover);
        }

        .marca-logo {
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
            position: relative;
            z-index: 1;
        }

        .marca-logo img {
            max-height: 100%;
            max-width: 100%;
            object-fit: contain;
            filter: grayscale(20%);
            transition: all 0.3s ease;
        }

        .marca-card:hover .marca-logo img {
            filter: grayscale(0%);
            transform: scale(1.05);
        }

        .marca-nombre {
            font-weight: 600;
            color: var(--negro);
            font-size: 0.95rem;
            position: relative;
            z-index: 1;
        }

        /* Mobile responsive */
        @media (max-width: 768px) {
            .marcas-container {
                flex-direction: column;
            }

            .sidebar {
                width: 100%;
                height: auto;
                position: static;
            }

            .sidebar-header {
                text-align: center;
            }

            .nav-rubros {
                display: flex;
                overflow-x: auto;
                padding: 10px 0;
                white-space: nowrap;
            }

            .nav-rubro {
                margin-bottom: 0;
                margin-right: 2px;
            }

            .nav-rubro-link {
                padding: 10px 15px;
                border-left: none;
                border-bottom: 4px solid transparent;
                flex-shrink: 0;
            }

            .nav-rubro-link.active,
            .nav-rubro-link:hover {
                border-left: none;
                border-bottom-color: var(--acento);
            }

            .rubro-header {
                padding: 30px 20px;
            }

            .rubro-title {
                font-size: 2rem;
            }

            .marcas-content,
            .breadcrumb-container,
            .category-nav,
            .navigation-buttons {
                padding-left: 20px;
                padding-right: 20px;
            }

            .marcas-grid {
                grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
                gap: 15px;
            }

            .category-tabs {
                justify-content: center;
            }

            .navigation-buttons {
                flex-direction: column;
                gap: 15px;
            }
        }