@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

        :root {
            --maldonado-red: #d31219;
            --maldonado-red-hover: #b00e14;
            --maldonado-blue: #003875;
            --maldonado-yellow: #fbc02d;
            --maldonado-silver: #6c757d;
            
            --bg-page: #f8fafc;
            --surface: #ffffff;
            --text-main: #0f172a;
            --text-muted: #64748b;
            --border-color: #e2e8f0;
            --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
            --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
            --radius-md: 12px;
            --radius-full: 9999px;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
            background-color: var(--bg-page);
            color: var(--text-main);
            line-height: 1.5;
            padding-bottom: 2rem;
        }

        .announcement-bar {
            background-color: var(--maldonado-blue);
            color: #ffffff;
            text-align: center;
            padding: 0.4rem 1rem;
            font-size: 0.85rem;
            font-weight: 600;
        }

        .top-bar {
            background-color: #002957;
            color: #ffffff;
            padding: 0.4rem 1.5rem;
            font-size: 0.8rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .top-bar-info {
            display: flex;
            gap: 1.5rem;
        }

        header {
            background-color: var(--surface);
            border-bottom: 3px solid var(--maldonado-red);
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: var(--shadow-sm);
        }

        .header-container {
            max-width: 1250px;
            margin: 0 auto;
            padding: 0.8rem 1.5rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .logo {
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.6rem;
        }

        .logo-img {
            height: 60px;
            width: 56px;
            object-fit: cover;
            object-position: left center;
        }

        .logo-sub {
            font-size: 0.8rem;
            font-weight: 800;
            color: var(--maldonado-blue);
            letter-spacing: 2px;
            text-transform: uppercase;
            display: block;
            margin-bottom: -4px;
        }

        .logo-main {
            font-size: 1.9rem;
            font-weight: 800;
            color: var(--maldonado-red);
            letter-spacing: -0.5px;
            text-transform: uppercase;
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 1.2rem;
        }

        nav {
            background: linear-gradient(90deg, #002a58, var(--maldonado-blue));
            box-shadow: 0 3px 10px rgba(0, 56, 117, 0.25);
        }

        .nav-container {
            max-width: 1250px;
            margin: 0 auto;
            padding: 0 1.5rem;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.3rem;
        }

        .nav-item {
            position: relative;
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            padding: 0.9rem 1.1rem;
            color: rgba(255, 255, 255, 0.82);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 700;
            letter-spacing: 0.2px;
            transition: color 0.2s ease, background-color 0.2s ease;
        }

        .nav-icon {
            font-size: 1.05rem;
            transition: transform 0.2s ease;
        }

        .nav-item::after {
            content: '';
            position: absolute;
            left: 1.1rem;
            right: 1.1rem;
            bottom: 0;
            height: 3px;
            border-radius: 3px 3px 0 0;
            background-color: var(--maldonado-yellow);
            transform: scaleX(0);
            transition: transform 0.25s ease;
        }

        .nav-item:hover {
            color: #ffffff;
            background-color: rgba(255, 255, 255, 0.08);
        }

        .nav-item:hover .nav-icon {
            transform: translateY(-2px);
        }

        .nav-item:hover::after,
        .nav-item.active::after {
            transform: scaleX(1);
        }

        .nav-item.active {
            color: var(--maldonado-yellow);
        }

        .nav-item.nav-item-extra {
            margin-left: 0.8rem;
            border-left: 1px solid rgba(255, 255, 255, 0.2);
        }

        .nav-largo {
            display: contents;
        }

        @media (min-width: 769px) and (max-width: 1300px) {
            .nav-largo {
                display: none;
            }
            .nav-item {
                padding: 0.9rem 0.85rem;
            }
            .nav-item::after {
                left: 0.85rem;
                right: 0.85rem;
            }
            .nav-item.nav-item-extra {
                margin-left: 0.4rem;
            }
        }

        .catalog-header {
            max-width: 1250px;
            margin: 1.5rem auto 1rem auto;
            padding: 0 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .catalog-title h1 {
            font-size: 1.6rem;
            color: var(--maldonado-blue);
            font-weight: 800;
            text-transform: uppercase;
        }

        .catalog-title p {
            font-size: 0.85rem;
            color: var(--text-muted);
        }

        .catalog-products {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            min-width: 0;
        }

        .search-box {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            background: var(--surface);
            border: 2px solid var(--border-color);
            border-radius: var(--radius-full);
            padding: 0.65rem 1.2rem;
            width: 100%;
            box-shadow: var(--shadow-sm);
            cursor: text;
            transition: border-color 0.2s, box-shadow 0.2s;
        }

        .search-box:focus-within {
            border-color: var(--maldonado-blue);
            box-shadow: 0 0 0 3px rgba(0, 56, 117, 0.15);
        }

        .search-box input {
            border: none;
            outline: none;
            width: 100%;
            font-size: 0.95rem;
            font-family: inherit;
            color: var(--text-main);
            background: transparent;
        }

        .filtros-rapidos {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: -0.4rem;
        }

        .filtro-ofertas {
            padding: 0.45rem 1rem;
            border: 2px solid var(--maldonado-red);
            border-radius: var(--radius-full);
            background: var(--surface);
            color: var(--maldonado-red);
            font: inherit;
            font-size: 0.85rem;
            font-weight: 800;
            cursor: pointer;
            transition: background-color 0.2s, color 0.2s;
        }

        .filtro-ofertas:hover,
        .filtro-ofertas.activo {
            background: var(--maldonado-red);
            color: #ffffff;
        }

        .search-resultado {
            margin-top: -0.4rem;
            padding: 0 0.4rem;
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--maldonado-blue);
        }

        .search-resultado.sin-resultados {
            color: var(--maldonado-red);
        }

        .product-card {
            background-color: var(--surface);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .product-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
        }

        .product-image {
            width: 100%;
            height: 180px;
            object-fit: contain;
            padding: 0.6rem;
            background-color: #ffffff;
            border-bottom: 1px solid var(--border-color);
        }

        .product-details {
            padding: 0.9rem 1rem 1rem;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
            gap: 0.25rem;
        }

        .product-category {
            order: 0;
            align-self: flex-start;
            font-size: 0.65rem;
            font-weight: 800;
            letter-spacing: 0.4px;
            color: var(--maldonado-red);
            background-color: #fef2f2;
            padding: 0.15rem 0.55rem;
            border-radius: var(--radius-full);
            text-transform: uppercase;
        }

        .product-title {
            order: 1;
            font-size: 0.95rem;
            font-weight: 700;
            line-height: 1.3;
            color: var(--maldonado-blue);
            margin-top: 0.3rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            min-height: 2.6em;
        }

        .product-sku {
            order: 2;
            font-size: 0.7rem;
            color: var(--text-muted);
        }

        .product-price {
            order: 3;
            margin-top: auto;
            padding-top: 0.7rem;
            font-size: 1.25rem;
            font-weight: 800;
            color: var(--maldonado-blue);
        }

        .product-unit {
            font-size: 0.78rem;
            font-weight: 600;
            color: var(--text-muted);
        }

        .product-card {
            position: relative;
        }

        .product-card-oferta {
            border-color: rgba(211, 18, 25, 0.45);
        }

        .product-oferta {
            position: absolute;
            top: 10px;
            left: 10px;
            z-index: 1;
            max-width: calc(100% - 20px);
            padding: 0.25rem 0.65rem;
            border-radius: var(--radius-full);
            background-color: var(--maldonado-red);
            color: #ffffff;
            font-size: 0.72rem;
            font-weight: 800;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            box-shadow: 0 3px 8px rgba(211, 18, 25, 0.35);
        }

        .product-price-antes {
            order: 3;
            margin-top: auto;
            padding-top: 0.7rem;
            font-size: 0.8rem;
            color: var(--text-muted);
            text-decoration: line-through;
        }

        .product-price-antes + .product-price {
            margin-top: 0;
            padding-top: 0;
            color: var(--maldonado-red);
        }

        .product-price-consultar {
            font-size: 0.95rem;
            color: var(--maldonado-red);
        }

        .product-actions {
            order: 4;
            margin-top: 0.6rem;
            padding-top: 0.7rem;
            border-top: 1px dashed var(--border-color);
        }

        .btn-whatsapp-quote {
            width: 100%;
            padding: 0.5rem;
            background-color: var(--maldonado-red);
            color: white;
            border: none;
            border-radius: 6px;
            font-weight: 700;
            font-size: 0.82rem;
            cursor: pointer;
            text-align: center;
            text-decoration: none;
            display: block;
            transition: background 0.2s;
        }

        .btn-whatsapp-quote:hover {
            background-color: var(--maldonado-red-hover);
        }

        .main-catalog-layout {
            max-width: 1250px;
            margin: 0 auto 3rem auto;
            padding: 0 1.5rem;
            display: grid;
            grid-template-columns: 300px 1fr;
            gap: 1.8rem;
        }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 1.2rem;
            align-content: start;
        }

        .right-menu {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .menu-widget {
            background-color: var(--surface);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            padding: 1.2rem;
            box-shadow: var(--shadow-sm);
        }

        .widget-title {
            font-size: 1rem;
            font-weight: 800;
            color: var(--maldonado-blue);
            border-bottom: 2px solid var(--maldonado-red);
            padding-bottom: 0.4rem;
            margin-bottom: 0.8rem;
            text-transform: uppercase;
        }

        .category-list {
            list-style: none;
        }

        .category-item {
            margin-bottom: 0.3rem;
        }

        .category-link {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.5rem 0.7rem;
            color: var(--text-main);
            text-decoration: none;
            font-size: 0.88rem;
            font-weight: 600;
            border-radius: 6px;
            transition: all 0.2s;
        }

        .category-link:hover, .category-link.active {
            background-color: #f1f5f9;
            color: var(--maldonado-red);
            padding-left: 0.9rem;
        }

        .category-row {
            display: flex;
            align-items: center;
            gap: 0.2rem;
        }

        .category-row .category-link {
            flex: 1;
            min-width: 0;
        }

        .category-toggle {
            flex-shrink: 0;
            width: 30px;
            height: 30px;
            border: none;
            border-radius: 6px;
            background: transparent;
            color: var(--text-muted);
            font-size: 0.9rem;
            cursor: pointer;
            transition: transform 0.2s ease, background-color 0.2s, color 0.2s;
        }

        .category-toggle:hover {
            background-color: #f1f5f9;
            color: var(--maldonado-red);
        }

        .category-item.abierta > .category-row .category-toggle {
            transform: rotate(90deg);
        }

        .category-sub-list {
            display: none;
            list-style: none;
            margin: 0.1rem 0 0.4rem 0.9rem;
            border-left: 2px solid var(--border-color);
        }

        .category-item.abierta > .category-sub-list {
            display: block;
        }

        .category-list .category-sub-list .category-link {
            padding-left: 0.9rem;
            font-size: 0.84rem;
        }

        .category-list .category-sub-list .category-link:hover,
        .category-list .category-sub-list .category-link.active {
            padding-left: 1.1rem;
        }

        @media (prefers-reduced-motion: reduce) {
            .category-toggle { transition: none; }
        }

        .product-precio-tarjeta {
            order: 3;
            display: inline-block;
            align-self: flex-start;
            margin: 0.15rem 0 0.4rem;
            padding: 0.2rem 0.6rem;
            border-radius: var(--radius-full);
            background-color: rgba(0, 56, 117, 0.08);
            color: var(--maldonado-blue);
            font-size: 0.78rem;
            font-weight: 800;
            text-decoration: none;
        }

        .product-precio-tarjeta:hover {
            background-color: rgba(0, 56, 117, 0.15);
        }

        html[data-tema="oscuro"] .product-precio-tarjeta {
            background-color: rgba(140, 188, 255, 0.15);
            color: var(--texto-azul);
        }

        .categorias-desliza,
        .subcat-chips {
            display: none;
        }

        .products-grid {
            transition: opacity 0.2s ease;
        }

        .products-grid.cargando {
            opacity: 0.45;
            pointer-events: none;
        }

        .paginacion {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
            margin-top: 0.4rem;
        }

        .paginacion[hidden] {
            display: none;
        }

        .paginacion-botones {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.35rem;
        }

        .paginacion-btn {
            min-width: 38px;
            height: 38px;
            padding: 0 0.7rem;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            background: var(--surface);
            color: var(--maldonado-blue);
            font: inherit;
            font-size: 0.88rem;
            font-weight: 700;
            cursor: pointer;
            transition: border-color 0.2s, background-color 0.2s;
        }

        .paginacion-btn:hover {
            border-color: var(--maldonado-blue);
        }

        .paginacion-btn.actual {
            background: var(--maldonado-red);
            border-color: var(--maldonado-red);
            color: #ffffff;
            cursor: default;
        }

        .paginacion-puntos {
            align-self: center;
            padding: 0 0.2rem;
            color: var(--text-muted);
        }

        .paginacion-info {
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        .help-widget {
            background: linear-gradient(135deg, var(--maldonado-blue) 0%, #002957 100%);
            color: white;
            border-radius: var(--radius-md);
            padding: 1.2rem;
            text-align: center;
        }

        .help-widget h3 {
            font-size: 1.1rem;
            font-weight: 800;
            margin-bottom: 0.4rem;
            color: var(--maldonado-yellow);
        }

        .help-widget p {
            font-size: 0.82rem;
            margin-bottom: 1rem;
            opacity: 0.9;
        }

        .btn-yellow {
            display: inline-block;
            background-color: var(--maldonado-red);
            color: #ffffff;
            padding: 0.6rem 1.2rem;
            border-radius: var(--radius-full);
            text-decoration: none;
            font-weight: 800;
            font-size: 0.85rem;
            width: 100%;
            transition: background-color 0.2s ease;
        }

        .btn-yellow:hover {
            background-color: var(--maldonado-red-hover);
        }

        .btn-whatsapp-header {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: linear-gradient(135deg, #25d366, #128c7e);
            color: #ffffff;
            padding: 0.7rem 1.4rem;
            border-radius: var(--radius-full);
            text-decoration: none;
            font-weight: 800;
            font-size: 0.95rem;
            letter-spacing: 0.3px;
            white-space: nowrap;
            box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
            transition: transform 0.2s, box-shadow 0.2s;
            animation: whatsapp-pulse 2s infinite;
        }

        .btn-whatsapp-header:hover {
            transform: translateY(-2px) scale(1.04);
            box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
            animation: none;
        }

        .btn-whatsapp-header svg {
            width: 20px;
            height: 20px;
            fill: currentColor;
        }

        @keyframes whatsapp-pulse {
            0%   { box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.6); }
            70%  { box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45), 0 0 0 12px rgba(37, 211, 102, 0); }
            100% { box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
        }

        @media (prefers-reduced-motion: reduce) {
            .btn-whatsapp-header { animation: none; }
        }

        .whatsapp-flotante {
            position: fixed;
            right: 16px;
            bottom: 16px;
            z-index: 900;
            display: flex;
            align-items: center;
            gap: 0.45rem;
            background: linear-gradient(135deg, #25d366, #128c7e);
            color: #ffffff;
            border-radius: var(--radius-full);
            padding: 0.6rem 1rem 0.6rem 0.8rem;
            font-weight: 800;
            font-size: 0.85rem;
            text-decoration: none;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
            opacity: 0;
            transform: translateY(16px) scale(0.9);
            pointer-events: none;
            transition: opacity 0.25s ease, transform 0.25s ease;
        }

        .whatsapp-flotante.visible {
            opacity: 1;
            transform: none;
            pointer-events: auto;
        }

        .whatsapp-flotante:hover {
            box-shadow: 0 8px 22px rgba(37, 211, 102, 0.5);
        }

        .whatsapp-flotante svg {
            width: 20px;
            height: 20px;
            fill: currentColor;
        }

        @media (prefers-reduced-motion: reduce) {
            .whatsapp-flotante,
            .whatsapp-flotante.visible {
                transform: none;
                transition: opacity 0.2s ease;
            }
        }

        footer {
            background-color: var(--maldonado-blue);
            color: #ffffff;
            padding: 2rem 1.5rem;
            margin-top: 3rem;
            font-size: 0.88rem;
            text-align: center;
            border-top: 4px solid var(--maldonado-yellow);
        }

        @media (max-width: 850px) {
            .main-catalog-layout {
                grid-template-columns: minmax(0, 1fr);
            }
            .main-catalog-layout {
                gap: 0.8rem;
            }
            .catalog-products,
            .right-menu {
                display: contents;
            }
            .search-box,
            .filtros-rapidos,
            .search-resultado {
                order: -2;
            }
            .search-resultado,
            .filtros-rapidos {
                margin-top: 0;
            }
            .menu-widget {
                order: -1;
                min-width: 0;
                padding: 0;
                background: transparent;
                border: none;
                box-shadow: none;
            }
            .help-widget {
                order: 1;
            }

            .widget-title {
                display: flex;
                align-items: baseline;
                justify-content: space-between;
                font-size: 0.78rem;
                border-bottom: none;
                padding-bottom: 0;
                margin-bottom: 0.4rem;
            }
            .categorias-desliza {
                display: inline;
                font-size: 0.72rem;
                font-weight: 600;
                text-transform: none;
                color: var(--text-muted);
            }
            .category-list,
            .subcat-chips-fila {
                position: relative;
                display: flex;
                flex-wrap: nowrap;
                gap: 0.45rem;
                overflow-x: auto;
                scroll-snap-type: x proximity;
                scrollbar-width: none;
                padding: 0.15rem 1.5rem 0.35rem 0.1rem;
                -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2rem), transparent);
                mask-image: linear-gradient(to right, #000 calc(100% - 2rem), transparent);
            }
            .category-list::-webkit-scrollbar,
            .subcat-chips-fila::-webkit-scrollbar {
                display: none;
            }
            .category-item {
                flex: 0 0 auto;
                margin: 0;
            }
            .category-item.tiene-subs,
            .category-row {
                display: contents;
            }
            .category-toggle,
            .category-sub-list,
            .category-item.abierta > .category-sub-list {
                display: none;
            }
            .category-list .category-link,
            .category-list .category-row .category-link {
                flex: 0 0 auto;
                min-width: auto;
                white-space: nowrap;
                scroll-snap-align: start;
                padding: 0.5rem 0.95rem;
                font-size: 0.84rem;
                line-height: 1.2;
                background-color: var(--surface);
                border: 1px solid var(--border-color);
                border-radius: var(--radius-full);
            }
            .category-list .category-link:hover {
                padding-left: 0.95rem;
                border-color: var(--maldonado-red);
            }
            .category-list .category-link.active,
            .category-list .category-item.abierta > .category-row .category-link,
            html[data-tema="oscuro"] .category-list .category-link.active,
            html[data-tema="oscuro"] .category-list .category-item.abierta > .category-row .category-link {
                padding-left: 0.95rem;
                background-color: var(--maldonado-red);
                border-color: var(--maldonado-red);
                color: #ffffff;
            }

            .subcat-chips {
                display: block;
                margin-top: 0.55rem;
                padding: 0.6rem 0 0.1rem 0.7rem;
                border-left: 3px solid var(--maldonado-red);
            }
            .subcat-chips[hidden] {
                display: none;
            }
            .subcat-chips-titulo {
                display: block;
                font-size: 0.74rem;
                font-weight: 800;
                text-transform: uppercase;
                letter-spacing: 0.3px;
                color: var(--text-muted);
                margin-bottom: 0.35rem;
            }
            .subcat-chip {
                flex: 0 0 auto;
                white-space: nowrap;
                scroll-snap-align: start;
                padding: 0.4rem 0.85rem;
                font-family: inherit;
                font-size: 0.8rem;
                font-weight: 600;
                color: var(--text-main);
                background-color: transparent;
                border: 1px dashed var(--border-color);
                border-radius: var(--radius-full);
                cursor: pointer;
            }
            .subcat-chip.active {
                color: var(--maldonado-red);
                border: 1px solid var(--maldonado-red);
                background-color: rgba(211, 18, 25, 0.08);
            }
            html[data-tema="oscuro"] .subcat-chip.active {
                color: var(--texto-rojo);
                border-color: var(--texto-rojo);
                background-color: rgba(211, 18, 25, 0.18);
            }

            .paginacion-btn {
                min-width: 34px;
                height: 34px;
                padding: 0 0.55rem;
                font-size: 0.82rem;
            }
        }

        @media (max-width: 768px) {
            .announcement-bar {
                font-size: 0.78rem;
                padding: 0.45rem 0.8rem;
                line-height: 1.4;
            }
            .top-bar {
                flex-direction: column;
                gap: 0.2rem;
                padding: 0.4rem 0.8rem;
                font-size: 0.75rem;
                text-align: center;
            }
            .top-bar-info {
                gap: 1rem;
                justify-content: center;
            }
            .top-bar span {
                white-space: nowrap;
            }

            header {
                position: static;
            }
            .header-container {
                flex-direction: column;
                gap: 0.6rem;
                padding: 0.7rem 1rem;
            }
            .logo-img {
                height: 48px;
                width: 45px;
            }
            .logo-sub {
                font-size: 0.7rem;
            }
            .logo-main {
                font-size: 1.5rem;
            }
            .btn-whatsapp-header {
                padding: 0.5rem 1rem;
                font-size: 0.82rem;
                gap: 0.4rem;
            }
            .btn-whatsapp-header svg {
                width: 16px;
                height: 16px;
            }

            .whatsapp-flotante {
                right: 12px;
                bottom: 12px;
                padding: 0.5rem 0.85rem 0.5rem 0.65rem;
                font-size: 0.8rem;
            }
            .whatsapp-flotante svg {
                width: 18px;
                height: 18px;
            }

            .nav-container {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 0.45rem;
                padding: 0.7rem 1rem;
            }
            .nav-item {
                justify-content: center;
                text-align: center;
                padding: 0.65rem 0.5rem;
                font-size: 0.82rem;
                line-height: 1.2;
                border-radius: 8px;
                background-color: rgba(255, 255, 255, 0.08);
            }
            .nav-item::after {
                left: 30%;
                right: 30%;
            }
            .nav-item.active {
                background-color: rgba(251, 192, 45, 0.15);
            }
            .nav-item.nav-item-extra {
                grid-column: 1 / -1;
                margin-left: 0;
                border-left: none;
            }

            .catalog-header {
                padding: 0 1rem;
                margin-top: 1.2rem;
            }
            .catalog-title h1 {
                font-size: 1.25rem;
            }

            .main-catalog-layout {
                padding: 0 1rem;
                gap: 1.2rem;
            }
            .products-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 0.8rem;
            }
            .product-card:hover {
                transform: none;
            }
            .product-image {
                height: 120px;
            }
            .product-details {
                padding: 0.7rem;
            }
            .product-title {
                font-size: 0.85rem;
            }
            .product-price {
                font-size: 1.05rem;
            }
            .product-category {
                font-size: 0.6rem;
            }
        }

        @media (max-width: 360px) {
            .products-grid {
                grid-template-columns: minmax(0, 1fr);
            }
            .product-image {
                height: 160px;
            }
        }