@media (max-width: 960px) {
    .footer-socials-itms img.footer-socials-max {
        max-width: 18px;
    }
}

.custom-header__wrapper {
    position: relative;
    z-index: 1;
}
.headertot-right{
    position: relative;
    padding: 1rem;
}
@media (max-width: 1380px) and (min-width: 1150px) {
    .headerttot .headertot-right {
        display: flex;
        gap: 16px!important;
        align-items: center;
        justify-content: end;
        width: 100%;
    }
    .headerttot {
        display: flex;
        justify-content: start;
        align-items: center;
        gap: 2rem;
    }
}
.custom-header__wrapper::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    z-index: -1;
    max-width: 1053px;
    height: 100%;
    background-color: #1842E1;
    border-radius: 10px 0 0 10px;
}
.headertot-right::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    z-index: -1;
    max-width: 1053px;
    height: 100%;
    background-color: #1842E1;
    border-radius: 10px 0 0 10px;
}

.header-socials {
    background-color: white;
    border-radius: 10px;
    padding: 10px;
}

.headerosn-iner .headertot-left-itemtitl {
    color: #1842e1;
}

.headertot-left-menu .headertot-left-item {
    padding: 13.4px 10px;
}

.headertot-left-menu > .headertot-left-item:nth-child(2) {
    order: -1;
    border: 2px solid #1842e1;
    border-radius: 10px;
}

.header__wrap {
    display: flex;
    align-items: center;
    gap: 2rem
}

.header-logo--mobile {
    display: none;
}

@media (min-width: 1400px) and (max-width: 1440px) {
    .header__wrap {
        gap: 1rem;
    }

    .headerttot .headertot-right {
        gap: 18px !important;
    }

    .headertot-left-menu {
        align-items: center;
    }
}
@media (min-width: 1441px){
    .custom-header__wrapper::before {
        max-width: calc(40vw + 245px);
    }
    .rateoc {
        font-size: 11px;
        max-width: 150px;
    }
    .headertot-left-menu {
        display: flex;
        gap: 10px;
    }
}
.headertot-right-ph{
    white-space: nowrap;
}
@media (min-width: 1024px) and (max-width: 1439px){
    .custom-header__wrapper::before {
        max-width: calc(42vw + 245px);

    }
    .headertot-left-menu {
        display: flex;
        gap: 8px;
    }

}
@media(min-width: 1024px) and (max-width: 1440px){
    .header-searche{
        display: none;
    }
}
@media (min-width: 1024px) and (max-width: 1379px) {
    .headertot-left-menu {
        display: none;
    }

    .custom-header__wrapper::before {
        max-width: 100%;
        border-radius: 0;

    }

    .burger1 {
        display: block;
    }

    .header-logo {
        display: none;
    }

    .headertot-right-phitem {
        display: flex !important;
        flex-direction: column;
        align-items: start;
    }

    .header-cart02, .header-cart01 {
        display: block;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .headertot-left-menu {
        display: none;
    }

    .wind-byrger1 {
        position: fixed;
        top: -200vh;
        opacity: 0;
        transition: opacity 0.3s;
        left: 0;
        height: 100vh;
        width: 100%;
        z-index: 888;
        padding-top: 10px;
        box-sizing: border-box;
        display: block;
    }

    .wind-byrger1-open {
        top: 0;
        opacity: 1;
        transition: opacity 0.3s;

    }

    .custom-header__wrapper::before {
        max-width: 100%;
        border-radius: 0;

    }

    .header-socials {
        display: none;
    }

    .wind-byrger1-oborud {
        display: none;
    }

    .custom-header__wrapper::before {
        max-width: 100%;
        border-radius: 0;

    }

    .wind-byrger1-iner {
        height: calc(100vh - 20px);
        padding-top: 10px;
        padding: 38px 30px;
        box-sizing: border-box;
        overflow-y: auto;
        background: #fff;
        border-radius: 13px;
    }

    .headertot-right > :nth-child(1 of .headertot-right-phitem) {
        display: none;
    }

    .headertot-right > :nth-child(2 of .headertot-right-phitem),
    .headertot-right > :nth-child(3 of .headertot-right-phitem) {
        display: flex;
        flex-direction: column;
    }

    .header-cart02, .header-cart01 {
        display: flex;
    }

    .header-logo--mobile {
        display: block;
    }

    .header-searche {
        margin-right: 25px;
    }

    .mobimenu > .headertot-left-item:nth-child(2) {
        width: fit-content;
        order: -1;
        margin-top: 20px;
    }

    .mobimenu > .headertot-left-item:nth-child(2) .headertot-left-itemtitl {
        border: 2px solid #1842e1;
        border-radius: 10px;
        padding: 11px 10px;
        width: fit-content;
    }

    .cataloge-buttonviz {
        width: fit-content;
        font-size: 16px;
    }

    .ddaccordion__title2 {
        margin-block: 1rem;
    }

    .card-flex {
        display: flex;
        gap: 1rem;
        align-items: center;
        margin-block: 1rem;
    }

    .wind-byrger1-iner .header-cart-info {
        display: flex;
    }
}

.mobile__contacts {
    display: none;
}

@media (max-width: 767px) {
    .custom-header__wrapper {
        display: none;
    }
}

@media (min-width: 320px) and (max-width: 767px) {


    .header__wrap {
        display: none;
    }

    .header-logo--mobile {
        display: block;
    }

    .header-logo--mobile img {
        width: 70px;
    }

    .mobile__contacts {
        display: flex;
        gap: 1.5rem;
        align-items: center;
    }

    .contacts__mail {
        font-weight: 600;
        font-size: 13px;
        color: #1842e1;
    }

    .wind-byrger1 {
        position: fixed;
        top: -200vh;
        opacity: 0;
        transition: opacity 0.3s;
        left: 0;
        height: 100vh;
        width: 100%;
        z-index: 888;
        padding-top: 10px;
        box-sizing: border-box;
        display: block;
    }

    .wind-byrger1-open {
        top: 0;
        opacity: 1;
        transition: opacity 0.3s;

    }

    .contacts__phone {
        background-color: transparent;
        border: none;
        cursor: pointer;
    }

    .wind-byrger1-iner {
        height: calc(100vh - 20px);
        padding-top: 10px;
        padding: 38px 30px;
        box-sizing: border-box;
        overflow-y: auto;
        background: #fff;
        border-radius: 13px;
    }

    .wind-byrger1-oborud {
        margin-bottom: 0;
    }

    .custom-header__wrapper::before {
        max-width: 100%;
        border-radius: 0;

    }

    .wind-byrger1-iner {
        height: calc(100vh - 20px);
        padding-top: 10px;
        padding: 38px 30px;
        box-sizing: border-box;
        overflow-y: auto;
        background: #fff;
        border-radius: 13px;
    }

    .headertot-right > :nth-child(1 of .headertot-right-phitem) {
        display: none;
    }

    .headertot-right > :nth-child(2 of .headertot-right-phitem),
    .headertot-right > :nth-child(3 of .headertot-right-phitem) {
        display: flex;
        flex-direction: column;
    }

    .header-cart02, .header-cart01 {
        display: flex;
    }

    .header-logo--mobile {
        display: block;
    }

    .header-searche {
        margin-right: 25px;
    }

    .mobimenu > .headertot-left-item:nth-child(2) {
        width: fit-content;
        order: -1;
        margin-top: 20px;
    }

    .mobimenu > .headertot-left-item:nth-child(2) .headertot-left-itemtitl {
        border: 2px solid #1842e1;
        border-radius: 10px;
        padding: 11px 10px;
        color: #1842e1;
        width: fit-content;
    }

    .cataloge-buttonviz {
        width: fit-content;
        font-size: 16px;
    }

    .ddaccordion__title2 {
        margin-block: 1rem;
    }

    .card-flex {
        display: flex;
        gap: 1rem;
        align-items: center;
        margin-block: 1rem;
    }

    .wind-byrger1-iner .header-cart-info {
        display: flex;
    }

    .contacts-popup {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        opacity: 0;

        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .contacts-popup__list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .contacts-popup--open {
        opacity: 1;
        pointer-events: auto;
    }

    .contacts-popup__body {
        background: #fff;
        padding: 30px;
        border-radius: 20px;
        position: relative;
        max-width: 320px;
        width: 100%;
        min-height: 150px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }

    .contacts-popup__close {
        position: absolute;
        top: 10px;
        right: 15px;
        background: none;
        border: none;
        font-size: 28px;
        cursor: pointer;
        color: #333;
        line-height: 1;
    }

    .contacts-popup__title {
        margin-top: 0;
        margin-bottom: 20px;
        font-size: 20px;
        color: #1842E1;
    }

    .contacts-popup__item {
        display: flex;
        flex-direction: column;
    }

    .contacts-popup__item span {
        font-weight: 500;
        font-size: 12px;
        line-height: 120%;
        color: #282828;
    }

    .contacts-popup__item a {
        font-weight: 600;
        font-size: 15px;
        line-height: 120%;
        color: #1842e1;
    }
    .bread-and-shop-support-buttons{
        display: none;
    }
    .shopwoo-age-mobile{
        display: none;
    }
}