.buy-choice__btn {
    cursor: pointer;
}
.banner-buy {
    width: 100%;
    height: 200px;
    background: #7c5d30 url("../images/banner-buy/banner-buy.jpg") no-repeat center / cover;
}
.breadcrumbs {
    padding-top: 31px;
    padding-bottom: 20px;
}
.breadcrumbs__list {
    margin-inline: auto;
    padding-left: 80px;
    padding-right: 30px;
    max-width: 1820px;
    display: flex;
    flex-wrap: wrap;
}
.breadcrumbs__item {
    position: relative;
    color: #b0b0b0;
    transition: color 0.15s ease-in-out;
}
.breadcrumbs__link {
    display: inline-block;
    margin-right: 5px;
    padding-block: 2px;
    font-size: 15px;
    line-height: 20px;
    text-decoration: none;
}
.breadcrumbs__item span {
    margin-right: 5px;
}
@media (any-hover: hover) {
    .breadcrumbs__item:not(:last-child):hover {
        color: var(--black);
    }
}

.info-toggles {
    padding-top: 13px;
}
.info-toggles__container {
    padding-left: 79px;
    padding-right: 30px;
}
.info-toggles__title-wrap {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    margin-bottom: 40px;
}
.info-toggles__title {
    margin-right: 23px;
    font-size: 42px;
    font-weight: 700;
    color: var(--accent-red);
}
.info-toggles__line {
    position: relative;
}
.info-toggles__line::after {
    content: "";
    position: absolute;
    top: 53%;
    left: 0;
    width: 100vw;
    height: 1px;
    background-color: var(--black);
}

.buy-choice {
    padding-top: 20px;
    padding-bottom: 60px;
    padding-bottom: 0px;
}
.buy-choice__container {
    padding-left: 79px;
}
.buy-choice__choice {
    display: flex;
    justify-content: space-between;
    margin-bottom: 51px;
}
.buy-choice__tabs {
    display: flex;
    align-items: center;
    align-items: baseline;
    gap: 33px 48px;
    flex-wrap: wrap;
    margin-right: 30px;
    max-width: 826px;
}
.buy-choice__btn {
    position: relative;
    font-family: var(--main-font);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.5;
    border: none;
    white-space: nowrap;
    transition: color 0.15s ease-in-out;
}
.active.buy-choice__btn::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--accent-red);
}
@media (any-hover: hover) {
    .buy-choice__btn:hover {
        color: var(--accent-red);
    }
}
.buy-choice__btn:active {
    color: var(--accent-red);
}
.buy-choice__wrap {
    display: grid;
    row-gap: 24px;
}
.buy-choice-choice-wrap {
    display: flex;
    column-gap: 30px;
}
.buy-choice__choice-region,
.buy-choice__choice-city,
.buy-choice__choice-brand,
.buy-choice__choice-collection {
    position: relative;
    align-self: flex-start;
}
.buy-choice__choice-collection {
    min-width: 120px;
    text-align: end;
}
.buy-choice__choice-btn {
    position: relative;
    margin-right: 20px;
    font-family: var(--main-font);
    font-size: 22px;
    font-weight: 700;
    white-space: nowrap;
    border: none;
    transition: color 0.15s ease-in-out;
}
@media (any-hover: hover) {
    .buy-choice__choice-btn:hover {
        color: var(--accent-red);
    }
}
.buy-choice__choice-btn.is-active {
    color: var(--accent-red);
}
.buy-choice__choice-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -17px;
    transform: translateY(-50%);
    width: 10px;
    height: 7px;
    background: url("../images/choice-tick.svg") no-repeat center / 10px 7px;
    transition: transform 0.3s ease-in-out;
}
.buy-choice__choice-btn.is-active::before {
    transform: translateY(-50%) rotate(180deg);
}
.buy-choice__choice-btn.is-active::after,
.buy-choice__choice-btn.is-selected::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--accent-red);
}
.buy-choice__choice-region-wrap,
.buy-choice__choice-city-wrap,
.buy-choice__choice-brand-wrap,
.buy-choice__choice-collection-wrap {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    z-index: 2;
    padding: 12px 5px 12px 0;
    min-width: 180px;
    max-width: 249px;
    text-align: left;
    border-radius: 2px;
    background-color: #3a3a3a;
    transition: visibility 0.3s ease-in-out, opacity 0.3s ease-in-out;
    visibility: hidden;
    opacity: 0;
}
.buy-choice__choice-region-wrap.is-active,
.buy-choice__choice-city-wrap.is-active,
.buy-choice__choice-brand-wrap.is-active,
.buy-choice__choice-collection-wrap.is-active {
    visibility: visible;
    opacity: 1;
}
.dropdown__simplebar-choice {
    max-height: 336px;
    padding-right: 7px;
}
.buy-choice__choice-region-list,
.buy-choice__choice-city-list,
.buy-choice__choice-brand-list,
.buy-choice__choice-collection-list {
    display: flex;
    flex-direction: column;
    row-gap: 6px;

}
.buy-choice__choice-region-wrap, .buy-choice__choice-city-wrap, .buy-choice__choice-brand-wrap, .buy-choice__choice-collection-wrap {
    height: 249px;
    overflow-y: auto;
}
.buy-choice__region,
.buy-choice__city,
.buy-choice__brand,
.buy-choice__collection {
    position: relative;
    margin-left: 21px;
    font-family: var(--main-font);
    font-size: 14px;
    font-weight: 400;
    text-align: left;
    align-self: flex-start;
    line-height: 1.6;
    color: var(--white);
    border: none;
    border-bottom: 1px solid #616161;
    transition: color 0.15s ease-in-out;
}
.simplebar-placeholder {
    display: none;
}
.buy-choice__region, .buy-choice__city, .buy-choice__brand, .buy-choice__collection {
    cursor: pointer;
    width: 84%;
}



/* Для Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

.buy-choice__region.is-selected,
.buy-choice__city.is-selected,
.buy-choice__brand.is-selected,
.buy-choice__collection.is-selected {
    color: var(--accent-red);
}
.buy-choice__region.is-selected::before,
.buy-choice__city.is-selected::before,
.buy-choice__brand.is-selected::before,
.buy-choice__collection.is-selected::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -23px;
    width: 24px;
    height: 6px;
    background: url("../images/arrow-catalog.svg") no-repeat center / 24px 6px;
}
@media (any-hover: hover) {
    .buy-choice__region:hover,
    .buy-choice__city:hover,
    .buy-choice__brand:hover,
    .buy-choice__collection:hover {
        color: var(--accent-red);
    }
}
.buy-choice__region:active,
.buy-choice__city:active,
.buy-choice__brand:active,
.buy-choice__collection:active {
    color: var(--accent-red);
}
.simplebar-scrollbar::before {
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    border-radius: 0;
    background-color: var(--accent-red);
}
.simplebar-track {
    z-index: 1;
    position: absolute;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    background: #616161;;
}
.simplebar-track.simplebar-vertical {
    width: 2px;
}
.buy-choice__reset.btn-link {
    justify-self: self-end;
    max-width: 197px;
    padding: 5px 15px 5px 37px;
}

.buy-map-wrap {
    position: relative;
    height: 770px;
}
.buy__map {
    height: 100%;
}
.buy__content-wrap {
    position: absolute;
    top: 42px;
    left: 133px;
    padding: 31px 43px;
    min-width: 500px;
    max-width: 550px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0px 8px 12px 6px #00000026;
}
.buy__content:not(:last-child) {
    position: relative;
    margin-bottom: 26px;
    padding-bottom: 24px;
}
.buy__content:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 74%;
    background-color: #616161;
}
.buy__city {
    margin-bottom: 4px;
    font-size: 18px;
    font-weight: 700;
}
.buy__name {
    margin-bottom: 7px;
    font-size: 24px;
    font-weight: 700;
}
.buy__address {
    position: relative;
    margin-bottom: 9px;
    padding-left: 27px;
    font-size: 17px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.5;
}
.buy__address::before {
    content: '';
    position: absolute;
    left: 0;
}
.buy__address-mark::before {
    top: 3px;
    width: 17px;
    height: 21px;
    background: url("../images/map-mark.svg") no-repeat center / 17px 21px;
}
.buy__address-phone::before {
    top: 3px;
    width: 19px;
    height: 19px;
    background: url("../images/buy-map/phone-map.svg") no-repeat center / 19px 19px;
}
.buy__address-mail::before {
    top: 6px;
    width: 19px;
    height: 15px;
    background: url("../images/buy-map/mail-map.svg") no-repeat center / 19px 15px;
}
.buy__address-time::before {
    top: 2px;
    width: 19px;
    height: 19px;
    background: url("../images/buy-map/watch-map.svg") no-repeat center / 19px 19px;
}
.buy__link {
    display: inline-block;
    font-size: 17px;
    font-weight: 400;
    text-decoration: underline;
    color: var(--accent-red);
}
.dropdown__simplebar-buy {
    max-height: 623px;
    padding-right: 7px;
    overflow: auto;
}

@media (max-width: 1820px) {
    .buy-choice__choice {
        padding-left: 0;
    }
    .buy-choice__tabs {
        gap: 16px 24px;
    }
}

@media (max-width: 1500px) {
    .breadcrumbs__list {
        padding-left: 30px;
    }
    .info-toggles__container {
        padding-inline: 30px;
    }
    .buy-choice__container {
        padding-left: 30px;
    }
    .buy-choice__choice {
        display: grid;
        row-gap: 36px;
    }
    .buy-choice__tabs {
        margin-right: 0;
        max-width: 100%;
    }
    .buy-choice__reset.btn-link {
        justify-self: self-start;
    }
    .buy-choice__choice-region-wrap,
    .buy-choice__choice-city-wrap,
    .buy-choice__choice-brand-wrap,
    .buy-choice__choice-collection-wrap {
        right: auto;
        left: 0;
    }
    .buy__content-wrap {
        top: 30px;
        left: 30px;
        padding: 20px 20px;
        max-width: 486px;
    }
}

@media (max-width: 1024px) {
    .breadcrumbs {
        padding-top: 25px;
        padding-bottom: 10px;
    }
    .info-toggles__subtitle {
        font-size: 37px;
        line-height: 43px;
        margin-bottom: 25px;
    }
    .buy-choice__choice {
        display: grid;
        grid-template-columns: 1fr;
        row-gap: 26px;
        margin-bottom: 36px;
    }
    .buy-choice__btn {
        font-size: 20px;
    }
    .buy-choice__reset.btn-link {
        margin-left: 31px;
    }
}

@media (max-width: 768px) {
    .banner-buy {
        height: 100px;
    }
    .breadcrumbs {
        padding-top: 21px;
        padding-bottom: 5px;
    }
    .breadcrumbs__list {
        padding-left: 12px;
    }
    .info-toggles {
        padding-bottom: 3px;
    }
    .info-toggles__container {
        padding-left: 12px;
        padding-right: 12px;
    }
    .info-toggles__title-wrap {
        margin-bottom: 20px;
    }
    .info-toggles__title {
        font-size: 34px;
    }
    .buy-choice {
        padding-top: 3px;
        padding-bottom: 12px;
    }
    .buy-choice__container {
        padding-left: 12px;
    }
    .buy-choice__tabs {
        gap: 10px 16px;
    }
    .buy-choice__btn {
        font-size: 19px;
    }
    .buy-choice__choice {
        row-gap: 30px;
        margin-bottom: 26px;
    }
    .buy-choice__choice-btn {
        font-size: 19px;
    }
    .buy-choice__choice-region-list,
    .buy-choice__choice-city-list,
    .buy-choice__choice-brand-list,
    .buy-choice__choice-collection-list {
        row-gap: 12px;
    }
    .buy-choice__region,
    .buy-choice__city,
    .buy-choice__brand,
    .buy-choice__collection {
        font-size: 17px;
    }
    .dropdown__simplebar-choice {
        max-height: 240px;
    }
    .buy-choice-choice-wrap {
        gap: 15px 22px;
        flex-direction: column;
    }
    .buy-choice__choice-region-wrap,
    .buy-choice__choice-city-wrap,
    .buy-choice__choice-brand-wrap,
    .buy-choice__choice-collection-wrap {
        max-width: 290px;
        padding: 12px 5px 12px 0;
    }
    .buy-choice__region.is-selected::before,
    .buy-choice__city.is-selected::before,
    .buy-choice__brand.is-selected::before,
    .buy-choice__collection.is-selected::before {
        left: -26px;
    }
    .buy-map-wrap {
        height: 740px;
    }
    .buy__content-wrap {
        top: 12px;
        left: 12px;
        padding: 12px;
        max-width: 414px;
    }
    .buy__name {
        font-size: 20px;
    }
    .buy__address {
        margin-bottom: 7px;
        font-size: 15px;
        line-height: 1.4;
    }
    .buy__link {
        font-size: 15px;
    }
    .buy__content:not(:last-child) {
        margin-bottom: 10px;
        padding-bottom: 12px;
    }
    .dropdown__simplebar-buy {
        max-height: 280px;
    }
}

@media (max-width: 550px) {
    .buy__content-wrap {
        right: 12px;
        min-width: initial;
        max-width: 100%;
    }
}
