:root[data-theme="blue"] {
    --brand: #1565c0;
    --brand-dark: #0d47a1;
}

:root[data-theme="red"] {
    --brand: #db232a;
    --brand-dark: #bc0b1d;
}

:root[data-theme="yellow"] {
    --brand: #bfbc1a;
    --brand-dark: #d3d332;
}

:root[data-theme="green"] {
    --brand: #2e7d32;
    --brand-dark: #1b5e20;
}

:root[data-theme="purple"] {
    --brand: #7b1fa2;
    --brand-dark: #4a148c;
}

:root[data-theme="aurora"] {
    --brand: #2563eb;
    --brand-dark: #1e40af;
    --brand-surface: linear-gradient(120deg, #0f766e 0%, #2563eb 52%, #7c3aed 100%);
    --brand-surface-dark: linear-gradient(120deg, #115e59 0%, #1e3a8a 52%, #5b21b6 100%);
    --brand-action: linear-gradient(120deg, #0f766e 0%, #2563eb 58%, #6d28d9 100%);
    --brand-action-hover: linear-gradient(120deg, #0b5f5a 0%, #1d4ed8 58%, #5b21b6 100%);
}

:root[data-theme="spectrum"] {
    --brand: #6d28d9;
    --brand-dark: #4c1d95;
    --brand-surface:
        linear-gradient(rgba(15, 23, 42, 0.34), rgba(15, 23, 42, 0.34)),
        linear-gradient(90deg, #ff1744 0%, #ff00c8 14%, #7c00ff 28%, #2450ff 42%, #00d9ff 56%, #28e662 70%, #f7e600 84%, #ff1744 100%);
    --brand-surface-dark:
        linear-gradient(rgba(15, 23, 42, 0.62), rgba(15, 23, 42, 0.62)),
        linear-gradient(90deg, #ff1744 0%, #ff00c8 14%, #7c00ff 28%, #2450ff 42%, #00d9ff 56%, #28e662 70%, #f7e600 84%, #ff1744 100%);
    --brand-action:
        linear-gradient(rgba(15, 23, 42, 0.26), rgba(15, 23, 42, 0.26)),
        linear-gradient(105deg, #ff1744 0%, #c000ff 25%, #2450ff 50%, #00bcd4 72%, #52c41a 100%);
    --brand-action-hover:
        linear-gradient(rgba(15, 23, 42, 0.46), rgba(15, 23, 42, 0.46)),
        linear-gradient(105deg, #ff1744 0%, #c000ff 25%, #2450ff 50%, #00bcd4 72%, #52c41a 100%);
}

.site-header {
    position: sticky;
    z-index: 1030;
    top: 0;
}

.storefront-sticky-bar {
    background: #fff;
    border-bottom: 1px solid var(--line, #dee2e6);
}

.storefront-sticky-bar .storefront-editor-toolbar {
    flex-wrap: wrap;
    margin: 0;
    padding-block: .45rem;
}

@media (max-width: 899.98px) {
    .storefront-sticky-bar .storefront-editor-toolbar {
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
    }
}

[data-storefront-product-section] {
    display: contents;
}

.navbar-vpp-top {
    background: var(--brand-surface, var(--brand));
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-vpp-bottom {
    background: var(--brand-surface-dark, var(--brand-dark));
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-vpp-top .navbar-brand {
    font-weight: 600;
}

.navbar-brand-logo {
    display: block;
    width: auto;
    height: 2.5rem;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.28));
}

.navbar-vpp-bottom .nav-link {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    color: #fff;
}

.navbar-vpp-bottom .nav-link:hover {
    color: #fff;
}

@media (min-width: 900px) {
    .navbar-vpp-bottom .nav-link:focus {
        outline: 0;
        box-shadow: none;
    }

    .navbar-vpp-bottom .nav-link:focus-visible {
        outline: 2px solid color-mix(in srgb, var(--surface) 85%, transparent);
        outline-offset: -3px;
        border-radius: 4px;
    }

    .products-dropdown > .dropdown-toggle {
        border: 0;
        background: transparent;
    }

    .products-dropdown > .dropdown-toggle.show {
        color: var(--surface);
        background: color-mix(in srgb, var(--brand) 24%, transparent);
    }
}

/* общ navbar фон / shadow (ако го ползваш още някъде) */
.navbar-vpp {
    background: var(--brand-surface, var(--brand));
    box-shadow: 0 8px 24px rgba(31, 41, 51, 0.12);
}

.navbar-brand {
    font-weight: 800;
}

.nav-profile-icon {
    color: var(--surface);
    font-size: 1.3rem;
}

/* търсачка в navbar-а */
.site-search {
    display: flex;
    align-items: center;
    flex: 1 1 420px;
    width: min(100%, 520px);
    max-width: 520px;
    min-width: 260px;
    padding: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 5px 16px rgba(3, 19, 48, 0.2);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-search:focus-within {
    border-color: #90caf9;
    box-shadow: 0 0 0 3px rgba(144, 202, 249, 0.28), 0 6px 18px rgba(3, 19, 48, 0.22);
}

.site-search-icon {
    flex: 0 0 auto;
    margin-left: 0.65rem;
    color: #607d9f;
    font-size: 0.95rem;
}

.site-search .form-control {
    min-width: 0;
    padding: 0.45rem 0.7rem;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.site-search .form-control::placeholder {
    color: #7890aa;
}

.site-search .form-control::-webkit-search-cancel-button {
    cursor: pointer;
}

.site-search-button {
    flex: 0 0 auto;
    padding: 0.45rem 0.9rem;
    border: 0;
    border-radius: 0.55rem;
    color: #fff;
    background: var(--brand);
    font-size: 0.875rem;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.site-search-button:is(:hover, :focus-visible) {
    background: var(--brand-dark);
}

.site-search-button:active {
    transform: translateY(1px);
}

.search-suggestions {
    position: absolute;
    z-index: 1000;
    left: 0;
    right: 0;
    top: calc(100% + 0.4rem);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    overflow: hidden;
}

.search-suggestions ul {
    max-height: min(50vh, 24rem);
    overflow-y: auto;
}

/* действия/икони в navbar-а */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.nav-actions-mobile {
    display: none;
}

.nav-actions-desktop {
    flex-wrap: nowrap;
}

.nav-icon-button {
    padding: 0;
    border: 0;
    background: transparent;
}

.mobile-search-panel {
    display: none;
}

.login-popup[hidden] {
    display: none;
}

.login-popup {
    position: fixed;
    z-index: 2000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.58);
    animation: login-popup-backdrop-in 0.2s ease-out;
}

.login-popup-dialog {
    position: relative;
    width: min(100%, 420px);
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    padding: clamp(1.25rem, 4vw, 1.75rem);
    overflow-y: auto;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.3);
    animation: login-popup-drop-in 0.32s cubic-bezier(0.22, 0.8, 0.32, 1);
}

.login-popup-dialog h2 {
    margin: 0;
    padding-right: 2rem;
    font-weight: 800;
}

.login-popup-intro {
    margin: 0.5rem 0 1rem;
    color: var(--muted);
}

.login-popup-close {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--ink);
    background: transparent;
    font-size: 1.8rem;
    line-height: 1;
}

.login-popup-close:is(:hover, :focus-visible) {
    color: var(--brand-dark);
    background: #fff1f2;
}

.login-popup-form {
    gap: 0.85rem;
}

body.login-popup-open {
    overflow: hidden;
}

@keyframes login-popup-backdrop-in {
    from {
        background: rgba(15, 23, 42, 0);
    }
}

@keyframes login-popup-drop-in {
    from {
        opacity: 0;
        transform: translateY(-3rem) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-popup,
    .login-popup-dialog {
        animation: none;
    }
}

.nav-icon-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
}

.nav-icon-link i {
    line-height: 1;
}

.nav-icon-link:hover {
    color: #fff;
}

.nav-desktop-link {
    width: auto;
    gap: 0.4rem;
    padding-inline: 0.35rem;
    white-space: nowrap;
}

.nav-desktop-link span:not(.nav-icon-badge) {
    font-size: 0.9rem;
    font-weight: 600;
}

.nav-storefront-switch {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 2rem;
    padding: .2rem .4rem;
    border: 0;
    border-radius: .5rem;
    background: rgba(0, 0, 0, .23);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    white-space: nowrap;
}

.nav-storefront-switch:hover {
    background: rgba(0, 0, 0, .36);
}

.nav-storefront-switch:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.nav-storefront-state {
    flex: none;
    inline-size: 2.3em;
    text-align: center;
}

.nav-storefront-track {
    --switch-padding: .13rem;
    position: relative;
    flex: none;
    width: 2.35rem;
    height: 1.3rem;
    border-radius: 999px;
    background: #626c79;
}

.nav-storefront-track::after {
    content: "";
    position: absolute;
    inset-block: var(--switch-padding);
    inset-inline-start: var(--switch-padding);
    aspect-ratio: 1;
    border-radius: 50%;
    background: #fff;
}

.nav-storefront-switch[aria-checked="true"] .nav-storefront-track {
    background: #008840;
}

.nav-storefront-switch[aria-checked="true"] .nav-storefront-track::after {
    inset-inline: auto var(--switch-padding);
}

@media (max-width: 899.98px) {
    .nav-storefront-switch {
        flex-direction: column-reverse;
        justify-content: center;
        gap: .12rem;
        min-width: 2rem;
        padding: .12rem .16rem;
        font-size: .56rem;
        line-height: 1;
    }

    .nav-storefront-label {
        display: none;
    }

    .nav-storefront-track {
        --switch-padding: .1rem;
        width: 1.45rem;
        height: .82rem;
    }
}

@media (min-width: 900px) and (max-width: 1099.98px) {
    .nav-storefront-name {
        display: none;
    }
}

.nav-icon-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 0.2rem;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* === Избор на цветова тема === */
:root[data-theme-picker="disabled"] .theme-dropdown,
:root[data-theme-picker="disabled"] .mobile-theme-dropdown {
    display: none !important;
}

.theme-dropdown > .nav-link {
    display: flex;
    align-items: center;
    border: 0;
    background: transparent;
}

.mobile-theme-dropdown {
    position: relative;
}

.theme-menu {
    min-width: 12rem;
    padding: 0.4rem;
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.65rem;
    border-radius: 5px;
}

.theme-option.is-active {
    color: var(--brand-dark);
    background: color-mix(in srgb, var(--brand) 12%, white);
    font-weight: 700;
}

.theme-swatch {
    flex: 0 0 auto;
    width: 1.35rem;
    height: 1.35rem;
    border: 1px solid rgba(15, 23, 42, 0.18);
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}

.theme-swatch-blue {
    background: linear-gradient(135deg, #1565c0 50%, #0d47a1 50%);
}

.theme-swatch-red {
    background: linear-gradient(135deg, #c62828 50%, #8e0000 50%);
}

.theme-swatch-yellow {
    background: linear-gradient(135deg, #9a6700 50%, #664400 50%);
}

.theme-swatch-green {
    background: linear-gradient(135deg, #2e7d32 50%, #1b5e20 50%);
}

.theme-swatch-purple {
    background: linear-gradient(135deg, #7b1fa2 50%, #4a148c 50%);
}

.theme-swatch-aurora {
    background: linear-gradient(135deg, #0f766e 0%, #2563eb 52%, #7c3aed 100%);
}

.theme-swatch-spectrum {
    background: linear-gradient(
        180deg,
        #ff1744 0%,
        #ff00c8 14%,
        #7c00ff 28%,
        #2450ff 42%,
        #00d9ff 56%,
        #28e662 70%,
        #f7e600 84%,
        #ff1744 100%
    );
}

.theme-check {
    margin-left: auto;
    visibility: hidden;
}

.theme-option.is-active .theme-check {
    visibility: visible;
}

/* === Продукти: група -> категория -> подкатегория === */
.products-menu {
    --groups-width: 250px;
    --categories-width: 280px;
    --bs-dropdown-spacer: 0;
    width: min(850px, calc(100vw - 2rem));
    min-height: 340px;
    padding: 0;
    border: 1px solid var(--line, #dee2e6);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    overflow: hidden;
}

.products-groups {
    width: var(--groups-width);
    min-height: 340px;
    padding: 0.5rem 0;
    background: #f4f7fb;
    border-right: 1px solid var(--line, #dee2e6);
}

.products-group-toggle {
    position: relative;
    padding: 0.65rem 2rem 0.65rem 1rem;
    white-space: normal;
}

.products-group-toggle--with-icon,
.products-direct-category-link--with-icon,
.products-category-link--with-icon {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.products-menu-icon {
    display: inline-flex;
    flex: 0 0 1.35rem;
    width: 1.35rem;
    align-items: center;
    justify-content: center;
    color: #52657a;
    font-size: 1rem;
}

.products-group-toggle:is(:hover, :focus, .is-active) .products-menu-icon,
.products-category:is(:hover, :focus-within, .is-active) .products-menu-icon {
    color: var(--brand-dark);
}

.products-group-toggle::after {
    content: "\f054";
    position: absolute;
    top: 50%;
    right: 0.85rem;
    transform: translateY(-50%);
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    font-size: 0.7rem;
}

.products-group-toggle:is(:hover, :focus, .is-active) {
    color: var(--brand-dark);
    background: #fff;
}

.products-direct-category {
    display: flex;
    align-items: stretch;
}

.products-direct-category-link {
    flex: 1;
    min-width: 0;
    padding: 0.65rem 0.25rem 0.65rem 1rem;
    color: inherit;
    text-decoration: none;
}

.products-direct-category-toggle {
    display: inline-flex;
    flex: 0 0 2.75rem;
    align-items: center;
    justify-content: center;
    border: 0;
    color: #64748b;
    background: transparent;
    font-size: 0.7rem;
}

.products-direct-category:is(:hover, :focus-within, .is-active) {
    color: var(--brand-dark);
    background: #fff;
}

.products-direct-category-link:is(:hover, :focus) {
    color: var(--brand-dark);
    text-decoration: none;
}

.products-panels {
    position: absolute;
    inset: 0 0 0 var(--groups-width);
    background: #fff;
}

.products-group-panel {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
}

.products-categories-list {
    width: var(--categories-width);
    height: 100%;
    padding: 0.5rem 0;
    border-right: 1px solid var(--line, #dee2e6);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.products-group-panel.is-active {
    display: block;
}

.products-direct-panel {
    display: none;
    width: 100%;
    min-height: 100%;
    padding: 0.6rem;
    overflow-y: auto;
}

.products-direct-panel.is-active {
    display: block;
}

.products-category-heading {
    display: flex;
    align-items: center;
}

.products-category-link,
.products-subcategory-link {
    color: var(--brand-dark, #0d47a1);
    text-decoration: none;
}

.products-category-link {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
    padding: 0.55rem 0.25rem 0.55rem 1rem;
}

.products-category-toggle {
    position: relative;
    z-index: 2;
    display: inline-flex;
    flex: 0 0 2.75rem;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    align-self: stretch;
    border: 0;
    color: #64748b;
    background: transparent;
    font-size: 0.7rem;
}

.products-category:is(:hover, :focus-within, .is-active) > .products-category-heading {
    background: #eef4fc;
}

.products-category:is(:hover, :focus-within, .is-active) .products-category-link {
    color: var(--brand-dark);
}

.products-subcategories {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--categories-width);
    width: calc(100% - var(--categories-width));
    padding: 0.6rem;
    overflow-y: auto;
    background: #fff;
}

.products-category.is-active > .products-subcategories,
.products-group-panel > .products-subcategories.is-active {
    display: block;
}

.products-subcategory-link {
    display: block;
    padding: 0.5rem 0.65rem;
    border-radius: 5px;
}

.products-subcategory-link:is(:hover, :focus),
.products-category-link:is(:hover, :focus) {
    color: var(--brand-dark);
    text-decoration: none;
}

.products-empty {
    padding: 0.75rem 1rem;
    color: #64748b;
}

@media (min-width: 900px) {
    .products-dropdown > .dropdown-toggle::after {
        transform-origin: center;
        transition: transform 0.2s ease;
    }

    .products-dropdown > .dropdown-toggle.show::after {
        transform: rotate(180deg);
    }

    .products-dropdown > .products-menu {
        display: block;
        visibility: hidden;
        opacity: 0;
        clip-path: inset(0 0 100% 0);
        pointer-events: none;
        transition:
            opacity 0.16s ease-out,
            clip-path 0.22s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0s linear 0.22s;
        will-change: opacity, clip-path;
    }

    .products-dropdown > .products-menu.show {
        visibility: visible;
        opacity: 1;
        clip-path: inset(0);
        pointer-events: auto;
        transition:
            opacity 0.16s ease-out,
            clip-path 0.22s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0s;
    }

    .products-menu {
        min-height: min(
            340px,
            var(--products-menu-available-height, calc(100dvh - 4rem))
        );
        max-height: var(
            --products-menu-available-height,
            calc(100dvh - 4rem)
        );
    }

    .products-groups {
        min-height: min(
            340px,
            var(--products-menu-available-height, calc(100dvh - 4rem))
        );
        max-height: var(
            --products-menu-available-height,
            calc(100dvh - 4rem)
        );
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-gutter: stable;
    }

    .products-direct-panel {
        height: 100%;
        min-height: 0;
        overscroll-behavior: contain;
        scrollbar-gutter: stable;
    }
}

@media (min-width: 900px) and (prefers-reduced-motion: reduce) {
    .products-dropdown > .dropdown-toggle::after,
    .products-dropdown > .products-menu,
    .products-dropdown > .products-menu.show {
        transition: none;
    }
}

@media (min-width: 900px) and (max-width: 1199.98px) {
    .navbar-vpp-top .site-search {
        width: auto;
        flex-basis: 260px;
        min-width: 190px;
    }
}

@media (min-width: 900px) and (max-width: 991.98px) {
    .navbar-expand-lg {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .navbar-expand-lg > .container {
        max-width: calc(100% - 2rem);
    }

    #vppNavbarTopCollapse {
        display: flex;
        flex-basis: auto;
        min-width: 0;
    }

    .navbar-vpp-top .nav-actions-desktop {
        gap: .3rem;
    }

    .navbar-expand-lg .mobile-products-menu {
        position: static;
        flex-grow: 1;
        width: auto;
        visibility: visible;
        background: transparent;
        border: 0;
        transform: none;
        transition: none;
    }

    .mobile-products-menu .offcanvas-header {
        display: none;
    }

    .mobile-products-menu .offcanvas-body {
        padding: 0;
        overflow: visible;
    }

    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
    }

    .navbar-expand-lg .navbar-nav .dropdown-menu {
        position: absolute;
    }

    .navbar-expand-lg .navbar-toggler {
        display: none;
    }
}

@media (max-width: 899.98px) {
    .mobile-products-menu {
        --bs-offcanvas-width: min(24rem, calc(100% - 2rem));
        --bs-offcanvas-bg: var(--surface, #fff);
        --bs-offcanvas-transition: transform 0.26s cubic-bezier(0.22, 0.72, 0.28, 1);
        box-shadow: 0 8px 36px rgba(15, 23, 42, 0.22);
    }

    .mobile-products-menu-header {
        justify-content: space-between;
        gap: 1rem;
        padding: calc(0.65rem + env(safe-area-inset-top)) 1rem 0.65rem;
        border-bottom: 1px solid var(--line, #e5e7eb);
    }

    .mobile-products-menu-home {
        display: inline-flex;
        align-items: center;
        gap: 0.75rem;
        min-height: 44px;
        color: #172131;
        font-size: 1.125rem;
        font-weight: 700;
        text-decoration: none;
    }

    .mobile-products-menu-home-icon {
        display: grid;
        place-items: center;
        width: 2.2rem;
        height: 2.2rem;
        border-radius: 0.6rem;
        color: var(--brand-dark);
        background: color-mix(in srgb, var(--brand) 9%, white);
        font-size: 0.9rem;
    }

    .mobile-products-menu-header .btn-close {
        box-sizing: border-box;
        width: 44px;
        height: 44px;
        margin: 0;
        border: 1px solid var(--line, #e5e7eb);
        border-radius: 0.6rem;
        background-size: 0.8rem;
        opacity: 0.8;
    }

    .mobile-products-menu .offcanvas-body {
        width: 100%;
        padding: 0.45rem 0 calc(0.75rem + env(safe-area-inset-bottom));
        overscroll-behavior-y: contain;
    }

    .nav-actions-mobile {
        display: flex;
        flex: 0 0 auto;
        flex-wrap: nowrap;
        gap: 0.2rem;
        margin-left: auto;
        margin-right: 0.35rem;
    }

    .nav-actions-desktop {
        display: none;
    }

    .mobile-search-panel:not([hidden]) {
        display: block;
        flex: 0 0 100%;
        width: 100%;
        padding-top: 0.5rem;
    }

    .mobile-site-search {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .site-search {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .products-dropdown > .dropdown-toggle,
    .nav-configurator,
    .theme-dropdown {
        display: none;
    }

    .products-dropdown,
    .products-dropdown > .products-menu {
        width: 100%;
    }

    .products-dropdown > .products-menu {
        display: block;
        position: static;
        margin: 0;
    }

    .products-menu {
        width: 100%;
        min-height: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
    }

    .products-groups {
        position: static;
        width: 100%;
        min-height: 0;
        padding: 0;
        border: 0;
        background: var(--surface, #fff);
    }

    .mobile-products-menu :is(.products-group-toggle, .products-direct-category) {
        min-height: 50px;
        border-bottom: 1px solid #f0f2f5;
    }

    .mobile-products-menu :is(.products-group-toggle, .products-direct-category-link) {
        font-weight: 600;
    }

    .mobile-products-menu :is(.products-group-toggle.is-active, .products-direct-category.is-active) {
        background: color-mix(in srgb, var(--brand) 6%, white);
    }

    .mobile-products-menu :is(a, button):focus-visible {
        outline: 2px solid var(--brand-dark);
        outline-offset: -3px;
    }

    .products-group-toggle::after {
        transform: translateY(-50%) rotate(90deg);
        transition: transform 0.2s ease;
    }

    .products-group-toggle.is-active::after {
        transform: translateY(-50%) rotate(270deg);
    }

    .products-direct-category-toggle i {
        transition: transform 0.2s ease;
    }

    .products-direct-category.is-active .products-direct-category-toggle i {
        transform: rotate(90deg);
    }

    .products-panels,
    .products-group-panel,
    .products-categories-list,
    .products-direct-panel,
    .products-subcategories {
        position: static;
        width: 100%;
        height: auto;
        min-height: 0;
        border: 0;
    }

    .mobile-products-menu :is(.products-group-panel, .products-direct-panel, .products-subcategories) {
        display: grid;
        grid-template-rows: 0fr;
        padding: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        background: #f7f8fb;
        transition: grid-template-rows 0.22s ease, opacity 0.18s ease, visibility 0s 0.22s;
    }

    .mobile-products-menu :is(.products-group-panel, .products-direct-panel, .products-subcategories).is-active {
        grid-template-rows: 1fr;
        opacity: 1;
        visibility: visible;
        transition-delay: 0s;
    }

    .mobile-products-menu :is(.products-categories-list, .products-subcategory-links) {
        min-height: 0;
        padding: 0;
        overflow: hidden;
        scrollbar-gutter: auto;
    }

    .products-category-link {
        min-height: 44px;
        padding-inline-start: 1.45rem;
    }

    .mobile-products-menu .products-subcategory-link {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding-inline-start: 2.75rem;
    }

    .products-category-toggle i {
        pointer-events: none;
        transition: transform 0.2s ease;
    }

    .products-category.is-active .products-category-toggle i {
        transform: rotate(90deg);
    }
}

@media (max-width: 899.98px) and (prefers-reduced-motion: reduce) {
    .mobile-products-menu :is(.products-group-panel, .products-direct-panel, .products-subcategories),
    .products-group-toggle::after,
    .products-direct-category-toggle i,
    .products-category-toggle i {
        transition: none;
    }
}

@media (max-width: 575.98px) {
    .navbar-vpp-top .navbar-brand {
        margin-right: auto !important;
        font-size: 1rem;
    }

    .navbar-brand-logo {
        height: 2rem;
    }

    .nav-actions-mobile {
        gap: 0.1rem;
        margin-right: 0.2rem;
    }

    .nav-actions-mobile .nav-icon-link {
        width: 30px;
        height: 30px;
    }

    .navbar-vpp-top .navbar-toggler {
        padding: 0.2rem 0.4rem;
    }

    .site-search-button {
        padding-inline: 0.75rem;
    }
}

@media (max-width: 375px) {
    .navbar-brand-logo {
        height: 1.65rem;
    }

    .nav-actions-mobile {
        gap: 0;
        margin-right: 0;
    }

    .nav-actions-mobile .nav-icon-link {
        width: 28px;
    }
}
