:root {
    --primary: #D42E2E;
    --primary-hover: #9E0502;
    --primary-active: #D42E2E;
    --primary-light: #D42E2E1A;
    --gradient-start: #B67232;
    --gradient-end: #CD1F1F;

    --primary-100: #EFF2FE99;
    --primary-200: #E8F0FE;
    --secondary-700: #495057;
    --secondary-600: #8F9396;
    --secondary-500: #ABB5BE;
    --secondary-400: #CED4DA;
    --secondary-300: #E9ECEF;
    --secondary-200: #F3F5F6;
    --dark: #2C2C2C;
    --white: #FFFFFF;
    --white-transparent: #FFFFFF61;
    --white-transparent-20: #FFFFFF33;
    --white-transparent-60: #FFFFFF99;
    --choose: #F2F3F74F;
    --red: #EB0052;
    --green: #008A07;
    --yellow: #FF9935;
    --success: #18B131;
    --warning: #FF9935;
    --error: #F66767;
    --success-light: #18B13119;
    --warning-light: #FF993519;
    --error-light: #F6676719;
    --text-popup: #2D3448;
    --gradient-start: #B945CC;
    --gradient-end: #355BE0;
    --gradient-start-transparent: #B945CC19;
    --gradient-end-transparent: #355BE019;
    --line-height: 1.4;
    --shadow: 0px 4px 24px 0px rgba(69, 44, 113, 0.11);
    --transition-duration: 0.3s;
    --transition-timing-function: ease;
    --transition: var(--transition-duration) var(--transition-timing-function);
    --backdrop: rgba(0, 0, 0, 0.2);
    --safe-area-inset-bottom: env(safe-area-inset-bottom);
    --bottom-bar-height: calc(var(--safe-area-inset-bottom));
    --border-radius-sm: 8px;
    --border-radius-m: 16px;
    --border-radius: 24px;
    --border-radius-lg: 32px;
    --z-index-header: 20;
    --z-index-overlay-header: 10;
    --z-index-filter: 110;
    --z-index-overlay-filter: 100;
    --z-index-top: 1100;
    --z-index-overlay-top: 1000;
    --body-scrollbar-width: 0px;
    --second-menu-height: 0px;
    --content-margin-top: calc(24px + var(--second-menu-height));

    --shadow: 0px 4px 24px 0px rgba(69, 44, 113, .4);
}


.logo__slogan {
    text-align: center;
}

.header__logo-image{
    width:280px;
    padding-top: 0px;
}

@media (min-width: 1200px) {

    .header {
        display: grid;
        grid-template-columns: calc(100% / 2 - 1350px / 2) 1fr auto 1fr calc(100% / 2 - 1350px / 2);
        grid-template-rows: 35px auto;
    }

    .header__logo{
        padding-bottom: 10px;
    }

    .topbar {
        font-size: 16px;
    }


    @media (min-width: 1200px) {
        .about__body {
            grid-template-rows: 45px auto auto;
        }
    }


}

.header__topbar-end {
    z-index: 200;
}

.region-choose .btn{
    background-color: #e52727;
    border-color: #e52727;
}

.region-choose .btn-secondary {
    border-color: #f0f0f0;
    background: #f0f0f0;
}

.fw-lighter {
    font-weight: lighter !important;
}

.fw-light {
    font-weight: 300 !important;
}

.fw-normal {
    font-weight: 400 !important;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-semibold {
    font-weight: 600 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-extrabold {
    font-weight: 800 !important;
}



.contacts {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: end;
}
.contacts-header {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    padding: 8px 0;
    color: var(--header-text-color, var(--dark));
    cursor: pointer;
    user-select: none;
    transition: color var(--transition);
}
@media (min-width: 1025px) {
    .contacts-header:hover ~ .contacts-popup {
        opacity: 1;
        pointer-events: all;
    }
}
.contacts-header svg {
    flex-shrink: 0;
}
@media (max-width: 576px) {
    .contacts-header :not(:first-child) {
        display: none;
    }
}
.contacts-main {
    max-width: 200px;
    color: inherit;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.contacts-arrow {
    transform: rotate(-90deg);
}
.contacts-arrow.active {
    transform: rotate(90deg);
}
.contacts-popup {
    position: absolute;
    top: 36px;
    display: none;
    width: 300px;
    padding: 16px 16px 8px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    color: var(--dark);
    z-index: 1200;
    transition: opacity var(--transition);
    opacity: 0;
    pointer-events: none;
}
@media (min-width: 1025px) {
    .contacts-popup {
        display: block;
    }
}
.contacts-popup:hover {
    opacity: 1;
    pointer-events: all;
}
.contacts-popup__list {
    display: flex;
    flex-direction: column;
    margin-bottom: 8px;
}
.contacts-popup__item {
    display: flex;
}
.contacts-popup__item:not(:first-child) {
    align-items: center;
    gap: 8px;
    padding: 8px 0;
}
.contacts-popup__item-content {
    display: flex;
    align-items: start;
    gap: 8px;
}
.contacts-popup__item-icon {
    flex-shrink: 0;
}
.contacts-popup__item-list {
    display: flex;
    flex-direction: column;
}
.contacts-popup__item-link {
    color: var(--dark);
    font-weight: 500;
    word-wrap: anywhere;
}
.contacts-popup__phone {
    display: flex;
    flex-direction: column;
}
.contacts-popup__phone-caption {
    color: var(--secondary-600);
    font-size: 14px;
    word-break: break-word;
}
.contacts-popup__phone--first {
    margin-bottom: 8px;
}
.contacts-popup__phone:not(.contacts-popup__phone--first) {
    margin: 2px 0;
}
.contacts-popup__button {
    width: 100%;
}
@media (max-width: 1024px) {
    .contacts-popup__button {
        display: none;
    }
}
.contacts-popup-container .swal2-confirm {
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
}


.header--1 .header__regions-wrapper {
    flex-shrink: 0;
}
@media (min-width: 1025px) {
    .header--1 .header__main {
        padding-top: 26px;
        padding-bottom: 26px;
    }
}
@media (min-width: 1025px) {
    .header--1 .header__logo-wrapper {
        margin-right: 40px;
    }
}
@media (min-width: 1025px) {
    .header--1 .header__catalog-button-wrapper {
        margin-right: 16px;
    }
}
@media (min-width: 1025px) {
    .header--1 .header__search-wrapper {
        margin-right: 40px;
    }
}


.topbar__item-button {
    margin-left: 35px;
    padding-top: 3px;
}

.topbar__item-button .contacts {

}

.topbar__item-button .contacts a.contacts-header{
    color: #ffffff;
    padding-top:0px;
}



.personal__item{
    text-align: center;
}


span.personal__item-text{
    padding-top: 10px;
    text-align:center;
}

.personal__item button {
    all: unset;
    outline: revert;
    cursor: pointer;
}




.personal__menu {
    display: flex;
    align-items: stretch;
}

.personal__item {
    display: flex;
}

.personal__item.personal__item--show-mobile {
    display: none;
}



.personal__item-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;

    width: 100%;
    min-width: 56px;
    height: 100%;
    padding: 8px 10px;

    color: inherit;
    text-align: center;
    text-decoration: none;
    line-height: 1.2;
    box-sizing: border-box;
}

.personal__item-inner {
    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    width: 24px;
    height: 24px;
}

.personal__item-link svg,
.personal__item-link .indicator__icon {
    display: block;
    flex: 0 0 24px;
}

.personal__item-link svg {
    margin-left: 0px;

}

.personal__item-text {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Бейдж корзины не влияет на центрирование иконки */
.personal__badge {
    position: absolute;
    top: -6px;
    right: -9px;
}

/* Если у пунктов меню задана разная высота */
.personal__item--show-mobile,
.personal__item--show-desktop,
.personal__item--first-mobile,
.personal__item--second-mobile {
    align-items: stretch;
}

.personal__item svg.indicator__icon{
    padding-top:0px;
    margin-bottom: 30px;
}

.personal__item .personal__item-inner svg.indicator__icon{
    margin-bottom: 0px;
}

.personal__item--user .personal__item-text{
    margin-top: 26px;
}

.icon-empty > svg {
    fill: transparent;
}


.indicator:hover .indicator__button, .indicator--open .indicator__button {
    background: #ffffff;
}

.personal__item--user button .indicator__icon{
    top:0px;
}

.personal__item--user button .personal__item-text{
    display:block;
}



.select-city__groups .fs2{
    display: none;

}

.select-city__groups .select-city__list_wrapper_cities{
    display: none;
}


.block-finder {
    margin-top:1px;
}


.badge-number {
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    width: 22px;
    height: 16px;
    border-radius: 40px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 9px;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.personal__badge {
    position: absolute;
    top: -15px;
    right: -15px;
}

.personal__item a:hover{
    color:#9E0502;
}