: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;
}

.site-header:has(.products-menu.show, .mobile-products-menu[aria-modal="true"], .login-popup:not([hidden])) {
    /* Keep open navigation and its dialogs above the fixed cookie notice. */
    z-index: 1091;
}

.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: #111827;
    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 {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border: 0;
    border-radius: .5rem;
    color: #f8fafc;
    background: transparent;
    font-weight: 600;
    font-size: .9rem;
    white-space: nowrap;
}

@media (min-width: 900px) {
    .navbar-vpp-bottom .mobile-products-menu .offcanvas-body {
        align-items: center;
        gap: clamp(.15rem, 1vw, 1rem);
        padding-block: .35rem;
    }

    .navbar-vpp-bottom .navbar-nav .nav-link {
        padding: .5rem clamp(.4rem, .8vw, .9rem);
    }

    .nav-shortcut i {
        color: #cbd5e1;
    }

    .navbar-vpp-bottom .nav-link:is(:hover, .is-current, [aria-expanded="true"]) {
        color: #fff;
        background: #293447;
    }

    .navbar-vpp-bottom .nav-link.is-current {
        box-shadow: inset 0 -2px var(--brand);
    }

    .navbar-vpp-bottom #productsDropdown {
        background: var(--brand);
        padding-inline: .85rem;
    }

    .navbar-vpp-bottom #productsDropdown:is(:hover, .show) {
        background: var(--brand-dark);
    }
}

.navbar-vpp-top :is(.navbar-toggler, .nav-icon-link, .navbar-brand):focus-visible,
.navbar-vpp-bottom .nav-link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* общ 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 auto;
    min-width: 0;
    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: none;
    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:is(:hover, :focus-visible) {
    color: #fff;
    background: rgb(0 0 0 / 14%);
    border-radius: .45rem;
}

.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: #fff;
    box-shadow: 0 0 0 1px var(--brand-dark);
    color: var(--brand-dark);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    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 {
    --menu-line: #e5e7eb;
    --menu-tint: color-mix(in srgb, var(--brand) 7%, white);
    --bs-dropdown-spacer: 0;
    padding: 0;
    color: #1f2937;
    background: white;
    font-size: .925rem;
}

.products-groups,
.products-categories-list,
.products-subcategories,
.products-direct-panel {
    padding: .5rem;
    min-width: 0;
}

.products-group-toggle,
.products-direct-category,
.products-category-heading,
.products-subcategory-link {
    border-radius: .5rem;
}

.products-group-toggle,
.products-direct-category-link,
.products-category-link,
.products-subcategory-link {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-height: 2.6rem;
    padding: .5rem .65rem;
    color: inherit;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.products-menu-icon {
    flex: 0 0 1.25rem;
    text-align: center;
    color: #64748b;
}

.products-group-toggle::after {
    content: "";
    flex: none;
    width: .43rem;
    height: .43rem;
    margin-left: auto;
    border: solid currentColor;
    border-width: 1.5px 1.5px 0 0;
    transform: rotate(45deg);
}

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

.products-direct-category-link,
.products-category-link {
    flex: 1;
    min-width: 0;
}

.products-category-toggle,
.products-direct-category-toggle {
    flex: 0 0 2.75rem;
    border: 0;
    border-radius: .5rem;
    color: #64748b;
    background: transparent;
    font-size: .7rem;
}

.products-group-toggle:is(:hover, :focus-visible, .is-active),
.products-direct-category:is(:hover, :focus-within, .is-active),
.products-category:is(:hover, :focus-within, .is-active) > .products-category-heading,
.products-subcategory-link:is(:hover, :focus-visible) {
    color: var(--brand-dark);
    background: var(--menu-tint);
}

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

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

.products-group-panel,
.products-direct-panel,
.products-subcategories {
    display: none;
}

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

.products-panel-title {
    margin: .25rem .65rem .5rem;
    padding-block: .4rem .7rem;
    border-bottom: 1px solid var(--menu-line);
    font-size: 1rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.products-empty {
    margin: .75rem;
    color: #64748b;
}

@media (min-width: 900px) {
    .navbar-vpp-bottom .container {
        container-type: inline-size;
        /* Keep the menu above the following sticky editor toolbar. */
        z-index: 1;
    }

    .products-dropdown > .dropdown-toggle::after {
        transition: transform .15s ease;
    }

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

    .products-dropdown > .products-menu.show {
        --groups-width: min(16rem, 30cqw);
        --column-width: min(18rem, 32cqw);
        display: flex;
        position: absolute;
        top: calc(100% + .35rem);
        left: 0;
        width: max-content;
        max-width: 100cqw;
        max-height: var(--products-menu-available-height, 100dvh);
        border: 1px solid var(--menu-line);
        border-radius: .85rem;
        box-shadow: 0 12px 32px rgb(15 23 42 / 16%);
        overflow: hidden;
    }

    .products-groups,
    .products-categories-list,
    .products-subcategories,
    .products-direct-panel {
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-gutter: stable;
    }

    .products-groups {
        width: var(--groups-width);
        background: #f8fafc;
    }

    .products-categories-list,
    .products-subcategories,
    .products-direct-panel {
        width: var(--column-width);
        border-left: 1px solid var(--menu-line);
    }

    /* Stretch the visible columns in one flex row, up to the viewport limit. */
    .products-panels,
    .products-group-panel.is-active {
        display: contents;
    }
}

@media (min-width: 900px) and (max-width: 1199.98px) {
    .nav-actions-desktop .nav-desktop-link {
        width: 2.4rem;
    }

    .nav-desktop-link > span:not(.nav-icon-badge),
    .nav-shortcut i {
        display: none;
    }

    .navbar-vpp-bottom .mobile-products-menu .offcanvas-body {
        gap: .15rem;
    }
}

@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-bottom .navbar-nav .nav-link {
        padding-inline: .35rem;
    }

    .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: .35rem 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%;
        min-height: 0;
        flex-wrap: nowrap;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 0.45rem .5rem calc(0.75rem + env(safe-area-inset-bottom));
        overscroll-behavior-y: contain;
    }

    .products-panel-title {
        display: none;
    }

    .navbar-vpp-top > .container {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .navbar-vpp-top .navbar-brand {
        justify-self: start;
        max-width: 100%;
    }

    .navbar-brand-logo {
        max-width: 100%;
        object-position: left center;
    }

    .navbar-vpp-top .navbar-toggler {
        border: 1px solid rgb(255 255 255 / 45%);
        border-radius: .55rem;
        background: rgb(0 0 0 / 10%);
    }

    .navbar-toggler-icon {
        width: 1.3em;
        height: 1.3em;
    }

    .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;
        grid-column: 1 / -1;
        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-shortcut,
    .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: 46px;
    }

    .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: rotate(135deg);
        transition: transform 0.2s ease;
    }

    .products-group-toggle.is-active::after {
        transform: rotate(-45deg);
    }

    .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 .offcanvas-body > .nav-item {
        flex-shrink: 0;
    }

    .mobile-products-menu :is(.products-group-panel, .products-direct-panel, .products-subcategories) {
        display: none;
        padding: 0;
        background: #f8fafc;
        border-radius: .5rem;
    }

    .mobile-products-menu :is(.products-group-panel, .products-direct-panel, .products-subcategories).is-active {
        display: block;
    }

    .mobile-products-menu :is(.products-categories-list, .products-subcategory-links) {
        min-height: 0;
        padding: 0;
        overflow: visible;
        overscroll-behavior: auto;
        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 (prefers-reduced-motion: reduce) {
    .products-dropdown > .dropdown-toggle::after,
    .mobile-products-menu,
    .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;
    }
}
