/* Mobile header/menu fixes */
.mobile-header-show.active {
    left: 0;
}

.mobile-header-show__shadow.active {
    display: block;
}

.mobile-header-show__closed {
    pointer-events: auto;
    cursor: pointer;
}

.mobile-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
}

.mobile-search-overlay.active {
    display: flex;
}

.mobile-search-overlay__inner {
    width: 90%;
    max-width: 400px;
    position: relative;
}

.mobile-search-form {
    display: flex;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}

.mobile-search-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    font-size: 1rem;
}

.mobile-search-form button {
    padding: 1rem;
    border: none;
    cursor: pointer;
}

.mobile-search-overlay__close {
    position: absolute;
    top: -2rem;
    right: 0;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

body.menu-open {
    overflow: hidden;
}

/* Mobile header icon sizing/alignment */
@media screen and (max-width: 767px) {
    .mobile-header {
        align-items: center;
    }

    .mobile-header__openMenuAction,
    .mobile-header__search-btn,
    .mobile-header__search,
    .mobile-header__phone-wrap,
    .mobile-header .header_basket {
        width: 2.5rem;
        height: 2.5rem;
        min-width: 2.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
    }

    .mobile-header__openMenuAction svg,
    .mobile-header__search-btn svg,
    .mobile-header__search svg,
    .mobile-header__phone-wrap svg,
    .mobile-header .header_basket svg {
        width: 1.25rem;
        height: 1.25rem;
        display: block;
    }

    .mobile-header .header_basket {
        box-shadow: none;
    }

    .mobile-header__cart {
        margin-left: auto;
    }

    .mobile-header .header_basket {
        margin-top: 0;
        margin-left: 0;
    }
}
