@media only screen and (max-width: 600px) {
    .catalog__config-filter-toggle .filter-toggle__text,
    .catalog__config-filter-toggle .filter-toggle__wrapper {
        background: transparent !important;
        background-color: transparent !important;
    }

    .catalog__config-filter-toggle .filter-toggle__text {
        color: #fff !important;
    }
}

.bf-catalog-nav-loading {
    display: none;
    position: fixed;
    left: 50%;
    bottom: 84px;
    z-index: 10020;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    max-width: calc(100vw - 32px);
    padding: 10px 16px;
    color: #fff;
    background: rgba(17, 17, 17, .92);
    border-radius: 6px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
    font-size: 15px;
    line-height: 1.25;
    transform: translateX(-50%);
    pointer-events: none;
}

body.bf-catalog-is-loading .bf-catalog-nav-loading,
html.bf-catalog-is-loading .bf-catalog-nav-loading {
    display: flex;
}

.bf-catalog-nav-loading__spinner {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: bf-catalog-loader-spin .75s linear infinite;
}

.bf-catalog-link-loading {
    opacity: .65;
}

@keyframes bf-catalog-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .bf-catalog-nav-loading__spinner {
        animation: none;
    }
}

@media only screen and (max-width: 767px) {
    .wa-order-form-wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
    .wa-order-form-wrapper textarea,
    .wa-order-form-wrapper select,
    .bf-checkout-region-search,
    .js-city-field,
    .dp-dialog input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
    .dp-dialog textarea,
    .dp-dialog select {
        font-size: 16px !important;
    }

    .dp-dialog .dp-service__points-switcher {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        max-width: 100%;
        margin: 14px 0 0 !important;
        position: relative;
    }

    .dp-dialog .dp-service__points-switcher-current,
    .dp-dialog .dp-service__points-switcher-dropdown-item {
        display: flex !important;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 8px 12px;
        border: 1px solid #d9d9d9;
        color: #111;
        background: #fff;
        font-size: 16px;
        line-height: 1.2;
        text-align: center;
        text-decoration: none;
        box-sizing: border-box;
        cursor: pointer;
    }

    .dp-dialog .dp-service__points-switcher-current {
        border-radius: 6px 0 0 6px;
        background: #eef7fd;
        color: #111;
    }

    .dp-dialog .dp-service__points-switcher-current:after {
        display: none;
    }

    .dp-dialog .dp-service__points-switcher-dropdown {
        display: block !important;
        position: static;
        min-width: 0;
        width: 100%;
        margin: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
    }

    .dp-dialog .dp-service__points-switcher-dropdown-item {
        width: 100%;
        border-left: 0;
        border-radius: 0 6px 6px 0;
    }

    .dp-dialog .dp-service__points-switcher-dropdown-item.dp-active {
        color: #111;
        background: #eef7fd;
    }

    .cart-item__option-amount {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 132px;
        height: 44px;
        min-height: 44px;
        border: 1px solid #e0e0e0;
        border-bottom-width: 1px;
        border-radius: 6px;
        background: #fff;
        overflow: hidden;
    }

    .cart-item__option-amount > a {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        min-height: 44px;
    }

    .cart-item__option-amount .item-quantity,
    .item-quantity {
        width: 44px !important;
        height: 44px !important;
        min-height: 44px;
        font-size: 16px !important;
        line-height: 44px;
    }

    .cart-item__remove {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px;
        min-height: 44px;
        margin: -17px 0 0 -17px;
    }

    .dp-dialog .dp-service__points-list .dp-service__point {
        position: relative;
        min-height: 72px;
        padding: 15px 112px 15px 16px !important;
        cursor: pointer;
        box-sizing: border-box;
    }

    .dp-dialog .dp-service__point:after {
        content: "Выбрать";
        position: absolute;
        top: 50%;
        right: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 82px;
        min-height: 40px;
        padding: 0 12px;
        color: #fff;
        background: #ff7900;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 700;
        line-height: 1;
        transform: translateY(-50%);
        box-sizing: border-box;
    }

    #wa-shipping-pickup-dialog .wa-dialog-header {
        align-items: flex-start;
        gap: 12px;
    }

    #wa-shipping-pickup-dialog .wa-dialog-header > div {
        flex: 1 1 auto;
        min-width: 0;
    }

    #wa-shipping-pickup-dialog .wa-mobile-content {
        display: block !important;
        width: 100%;
        margin: 14px 0 0 !important;
    }

    #wa-shipping-pickup-dialog .js-mobile-view-toggle {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        min-height: 52px;
        border: 1px solid #d2dce4;
        border-radius: 7px;
        background: #fff;
        overflow: hidden;
        box-sizing: border-box;
    }

    #wa-shipping-pickup-dialog .js-mobile-view-toggle span {
        display: flex !important;
        align-items: center;
        justify-content: center;
        min-height: 52px;
        padding: 0 16px;
        border: 0 !important;
        border-radius: 0 !important;
        color: #111;
        background: #fff;
        font-size: 17px;
        line-height: 1.2;
        text-align: center;
        box-sizing: border-box;
    }

    #wa-shipping-pickup-dialog .js-mobile-view-toggle span + span {
        border-left: 1px solid #d2dce4 !important;
    }

    #wa-shipping-pickup-dialog .js-mobile-view-toggle span.selected {
        color: #111;
        background: #eef7fd;
        box-shadow: inset 0 0 0 1px #b8d6e8;
        font-weight: 700;
    }

    #wa-shipping-pickup-dialog .wa-close-wrapper {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 52px;
        width: 52px;
        height: 52px;
        min-width: 52px;
        min-height: 52px;
        margin: -10px -10px 0 0;
        color: #777;
        cursor: pointer;
        box-sizing: border-box;
    }

    #wa-shipping-pickup-dialog .wa-close-wrapper .wa-icon,
    #wa-shipping-pickup-dialog .wa-close-wrapper svg {
        width: 22px !important;
        height: 22px !important;
    }
}

.bf-mini-cart-has-items .store-actions__cart-content-empty {
    display: none !important;
}
