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

@media (prefers-reduced-motion: reduce) {
    .mobile-search-panel .mobile-search-panel__row {
        animation: none;
    }
}

.mobile-bottom-navigation {
    display: none;
}

@media (max-width: 1024px) {
    #back-to-top {
        bottom: 92px;
    }
    .mobile-bottom-navigation {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr)) 66px repeat(2, minmax(0, 1fr));
        align-items: center;
        gap: 4px;
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1030;
        box-sizing: content-box;
        padding: 10px 16px;
        padding-bottom: 1rem;
        padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 1rem);
        border-top: 1px solid rgba(0, 56, 98, 0.1);
        background: #fff;
    }

    body.mobile-mega-menu-open #header {
        z-index: 6000;
    }

    body.mobile-search-panel-open .mobile-bottom-navigation {
        display: none;
    }

    .mobile-bottom-navigation__item,
    .mobile-bottom-navigation__search {
        position: relative;
        display: flex;
        width: 100%;
        height: 48px;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 0;
        background: transparent;
        color: inherit;
        text-decoration: none;
        cursor: pointer;
    }

    .mobile-bottom-navigation__item:hover,
    .mobile-bottom-navigation__item:focus,
    .mobile-bottom-navigation__search:hover,
    .mobile-bottom-navigation__search:focus {
        color: inherit;
        text-decoration: none;
    }

    .mobile-bottom-navigation__item:hover svg path,
    .mobile-bottom-navigation__item:focus svg path,
    .mobile-bottom-navigation__item:active svg path {
        stroke: var(--Brand-Primary-500, #003862);
    }

    .mobile-bottom-navigation svg {
        --size: 24px;
        display: block;
        flex: 0 0 var(--size);
        width: var(--size);
        height: var(--size);
    }

    .mobile-bottom-navigation__search {
        width: 48px;
        justify-self: center;
        border-radius: 50%;
        background: #f7f9fd;
    }

    .mobile-search-form {
        margin: 24px 16px 0;
    }

    .mobile-search-form__group {
        position: relative;
        border: 1px solid var(--color-primary-100, #E9F3FF);
        border-radius: 34567px;
        background: var(--Legacy-Color-White, #fff);
        box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
    }

    .mobile-search-form__group:focus-within {
        border-color: var(--Legacy-Color-Blue-220);
        box-shadow: 0 0 0 3px rgba(158, 211, 248, 0.15);
    }

    .mobile-search-input {
        width: 100%;
        box-sizing: border-box;
        padding: 8px 16px;
        padding-right: 48px;
        border: 0;
        border-radius: inherit;
        background: transparent;
        box-shadow: none;
        color: var(--Text-Secondary-2, #69788A);
        font-family: var(--font-primary);
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 24px;
    }

    .mobile-search-input:focus-visible {
        border-color: var(--Legacy-Color-Blue-220);
        outline: none;
    }

    .mobile-search-input:focus {
        border-color: var(--Legacy-Color-Blue-220);
        box-shadow: none;
    }

    .mobile-search-input::placeholder {
        color: var(--Text-Secondary-2, #69788A);
        font-weight: 500;
        opacity: 1;
    }



    .mobile-search-form__submit {
        position: absolute;
        top: 50%;
        right: 16px;
        display: flex;
        width: 20px;
        height: 20px;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 0;
        background: transparent;
        transform: translateY(-50%);
        cursor: pointer;
    }

    .mobile-search-panel {
        position: fixed;
        inset: 0;
        z-index: 6001;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-search-panel.is-open {
        display: block;
        background: var(--Legacy-Color-White, #fff);
        pointer-events: auto;
    }

    body.mobile-search-panel-open {
        overflow: hidden;
    }

    .mobile-search-panel__inner {
        min-height: 100%;
    }

    .mobile-search-panel__header-slot .mobile-main-bar {
        border-bottom: 1px solid var(--Grayscale-4, #F7F9FD);
    }

    .mobile-search-panel__header-slot .row-mobile-header {
        justify-content: space-between;
    }

    .mobile-search-panel__row {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 10px 16px 0;
    }

    .mobile-search-panel.is-open .mobile-search-panel__row {
        animation: mobile-search-open .3s cubic-bezier(.7, 0, .3, 1);
    }

    @keyframes mobile-search-open {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    .mobile-search-panel__row .mobile-search-form {
        flex: 1;
        min-width: 0;
        margin: 0;
    }

    .mobile-search-panel__back {
        display: flex;
        width: 20px;
        height: 42px;
        flex: 0 0 20px;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .mobile-bottom-navigation__cart {
        min-width: 0;
    }

    #mobile-cart-wrapper {
        position: relative;
        width: 100%;
        height: 48px;
    }

    #mobile-cart-toogle {
        width: 100%;
    }

    .mobile-bottom-navigation .mobile-bottom-navigation__counter {
        --size: 17px;
        position: absolute;
        top: 8px;
        right: calc(50% - 18px);
        z-index: 1;
        display: flex;
        width: var(--size);
        min-width: var(--size);
        height: var(--size);
        align-items: center;
        justify-content: center;
        padding: 0;
        border-radius: 50%;
        background: var(--Legacy-Color-Yellow-500, #f7931d) !important;
        color: #fff;
        font-size: 9px;
        font-weight: 700;
        text-align: center;
    }

    #main-page-content {
        padding-bottom: 72px;
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }

    #main-product-wrapper .product-add-to-cart {
        bottom: 70px;
        padding: 16px;
    }

    #wrapper .breadcrumb-wrapper--mobile .breadcrumb {
        margin-bottom: 0;
    }

    .menu-root-items {
        background: var(--Legacy-Color-White, #fff);
    }

    .menu-root-items__list {
        gap: 6px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .menu-root-items__list::-webkit-scrollbar {
        display: none;
    }

    .menu-root-items__link {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 36px;
        padding: 8px 12px;
        border: 1px solid transparent;
        border-radius: 24px;
        color: var(--Legacy-Color-Blue-720, #34404e);
        font-family: var(--font-primary);
        font-size: 13px;
        font-weight: 500;
        line-height: 20px;
        text-decoration: none;
        white-space: nowrap;
    }

    .menu-root-items__link--active {
        background: var(--Brand-Primary-500, #003862);
        border-color: var(--Grayscale-300, #F4F7FA);
        border-radius: 8px;
        color: var(--Legacy-Color-White, #fff) !important;
    }

    .row-mobile-header {
        justify-content: space-between;
    }

    #mobile-header-sticky .mobile-main-bar {
        border-bottom: 1px solid var(--Grayscale-4, #F7F9FD);
    }

}
