/* хэдер*/

.header {
    position: relative;
    border-bottom: 1px solid #E8E8E8;
}


.header__img {
    object-fit: contain !important;
    height: 48px !important;
    width: 100% !important;
}

.header__top {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: end;
    gap: 30px;
    padding: 11px 20px;
}

.header__top:before {
    position: absolute;
    content: '';
    top: 0;
    left: -1000%;
    width: 10000%;
    height: 100%;
    background: #7A1018;
    z-index: -1;
}

.header__link {
    font-family: "RobotoMedium";
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
    color: #ffffff !important;
}

.header__link > span {
    font-weight: 300;
    padding-left: 10px;
    font-family: "RobotoRegular";
    font-weight: 400;
}

.header__link:hover {
    -webkit-filter: brightness(0.8);
    filter: brightness(0.8);
}

.header__button {
    font-family: "RobotoRegular";
    font-size: 14px;
    font-weight: 400;
    line-height: 14px;
    background: #ffffff;
    color: #7a1018;
    border: none;
    border-radius: 6px;
    padding: 10px 16px;
    cursor: pointer;
}

.header__button:hover {
    -webkit-filter: brightness(0.8);
    filter: brightness(0.8);
}

.header__bottom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 12px 0;
}

.header__nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 0;
    padding-left: 0;
}

.header__nav-link {
    padding: 13px 16px;
}

.header__nav-link > a {
    position: relative;
    font-family: "RobotoRegular";
    font-size: 18px !important;
    line-height: 24px !important;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    color: #202020 !important;
    text-decoration: none;
}

.header__nav-link > a:hover::after {
    position: absolute;
    content: "";
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #7a1018;
}

.header__right {
    display: flex;
    gap: 20px;
    position: relative;
}


.header__search {
    border: none;
    background: url("/upload/new/search.svg") center transparent;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.header__search:hover {
    opacity: 0.8;
}

/* мобильное меню */
.mobile-header__burger {
    display: none;
    border: none;
    background: url("/upload/new/burger.svg") center transparent no-repeat;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.mobile-header__nav {
    display: none;
    position: absolute;
    top: -20px;
    right: -20px;
    padding-top: 70px;
    min-width: 250px;
    height: 100vh;
    background: #ffffff;
    z-index: 10;
}

.mobile-header__close {
    position: absolute;
    border: none;
    top: 20px;
    right: 20px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    background: url("/upload/new/exit.svg") center transparent no-repeat;
}


@media (max-width: 1145px) {
    .mobile-header__burger {
        display: block;
    }

    .header__nav {
        display: none;
    }
}

@media (max-width: 768px ) {
    .header__top {
        gap: 15px;
    }

}

/* поиск */
.search__wrap {
    display: none;
}

.search__container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 10;
    box-shadow: 0 -3px 5px 1px #8d8d8d;
}

.search__inner {
    position: relative;
    width: 100%;
    max-width: 1220px;
    padding: 100px 20px;
    margin: 0 auto;
}

.search__close {
    position: absolute;
    top: 20px;
    right: 20px;
    border: none;
    background: transparent;
    color: #7A1018;
    cursor: pointer;
}

.search__close:hover {
    filter: brightness(0.7);
}

.search__form {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.search__input {
    border: none;
    border-bottom: 1px solid #7A1018;
    padding: 10px 0 0 0;
    max-width: 500px;
    width: 100%;
}

.search__input::placeholder {
    font-family: 'RobotoRegular';
    font-size: 16px;
}

.search__input:focus-visible {
    outline: none;
    border-bottom: 1.5px solid #7A1018;
}

.search__submit {
    border: none;
    background: transparent;
    color: #7A1018;
    cursor: pointer;
}

.search__submit:hover {
    filter: brightness(0.7);
}


/* футер */

.footer {
    background: #202020;
    padding: 64px 0;
    color: #979AA0;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.footer__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.footer__list {
    padding: 0;
    margin-bottom: 0;
    display: flex;
    gap: 48px;
}

.footer__list--rights {
    margin-left: auto;
}

.footer__container {
    display: grid;
    gap: 20px;
}

.footer__link {
    font-family: "RobotoRegular";
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #979AA0;
    text-decoration: none;
}

.footer__info {
    font-family: 'RobotoRegular';
}

.footer__link:hover {
    color: #ffffff;
}


@media (max-width: 768px ) {
    .footer__wrapper {
        gap: 25px;
        flex-direction: column;
        align-items: start;
    }

    .footer__list {
        align-items: center;
    }

    .footer__list--rights {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;

    }
}

@media (max-width: 425px ) {

    .footer__list {
        flex-wrap: wrap;
        gap: 15px;
    }
}

/* хлебные */
.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px 0 !important;
    margin-bottom: 40px !important;
}

.breadcrumbs__item {
    position: relative;
}

.breadcrumbs__item::after {
    content: '/';
    position: absolute;
    top: 1px;
    right: -10px;
    width: 20px;
    height: 20px;
}

.breadcrumbs__item:last-of-type::after {
    display: none;
}

.breadcrumbs__link {
    font-family: 'RobotoRegular';
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #A4A4A4;
    text-decoration: none;
    margin-right: 20px;
}

.breadcrumbs__link:hover {
    color: #A4A4A4;
}

.breadcrumbs__link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: calc(100% - 20px);
    height: 1px;
    background: #A4A4A4;
}

.breadcrumbs__item > span::before {
    display: none;
}

/* производство список */

.production {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-left: 0;
}

.production__item {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 32px;
    background: #F4F4F4;
}

.production__title {
    font-family: 'RobotoRegular';
    font-size: 24px;
    font-weight: 400;
    line-height: 24px;
    color: #202020;
    margin-bottom: 0;
}

.production__info {
    font-family: 'RobotoRegular';
    margin-bottom: 0;
}

.production__img {
    max-width: 420px;
    width: 100%;
    height: 240px;
}


.production__more {
    font-family: 'RobotoRegular';
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    text-decoration: none;
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 6px;
    background: #7A1018;
}

.production__more:hover {
    filter: brightness(1.2);
    color: #ffffff;
}

.production__description {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 32px;
}


@media (max-width: 970px) {

    .production {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .production__item {
        flex-direction: column;
        align-items: start;
    }


}


@media (max-width: 700px) {
    .production {
        grid-template-columns: 1fr;
    }

    .production__img {
        max-width: 100%;
    }

    .production__description {
        gap: 20px;
    }
}

@media (max-width: 425px) {
    .production__title {
        font-size: 20px;
        line-height: 120%;
    }
}

/* галлерея */

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.gallery .slick-dots li button:before {
    font-size: 12px;
}

.gallery__img {
    height: 100%;
    width: 100%;
    object-fit: cover !important;
    max-height: 300px;
}

.page__section img {
    object-fit: contain;
}

@media (max-width: 970px) {
    .gallery {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .gallery {
        display: block;
    }
}

/* список подкатегорий */

.categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding-left: 0;
}

.categories__card {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #A5A5A5;

}

.categories__link {
    text-decoration: none;
    color: #202020;
    padding: 20px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.categories__link:hover {
    color: #7A1018;
    text-decoration: none;
}

.categories__img {
    width: 100%;
    height: 200px;
    display: block;
    margin-bottom: 15px;
}

.categories__title {
    font-family: 'RobotoRegular';
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0;
    text-align: center;

    margin-bottom: 0;

}

@media (max-width: 1024px) {
    .categories {
        grid-template-columns:repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .categories {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 550px) {
    .categories {
        grid-template-columns: 1fr;
    }
}

/* баннер в категории */

.bid-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #F7F7F7;
}

.bid-banner__img {
    display: block;
    max-width: 574px;
    height: 100%;
    object-fit: contain;
}

.bid-banner__wrapper {
    font-family: 'RobotoRegular';
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 34px;
}

.bid-banner__title {
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    margin-bottom: 20px;
}

.bid-banner__text {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    margin-bottom: 32px;
}

.bid-banner__link {
    font-family: 'RobotoRegular';
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    text-decoration: none;
    color: #ffffff;
    padding: 10px 16px;
    background: #7A1018;
    border-radius: 6px;
    align-self: start;
}

.bid-banner__link:hover {
    filter: brightness(1.2);
    color: #ffffff;
}

@media (max-width: 768px) {
    .bid-banner {
        display: flex;
        flex-direction: column;
    }

    .bid-banner__img {
        max-width: 100%;
    }

}

@media (max-width: 375px) {
    .bid-banner__wrapper {
        padding: 20px;
    }
}


/* блок вопросы и ответы */
.accordion {
    font-family: 'RobotoRegular';
}

.accordion-button:focus {
    border: none;
    outline: 0;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: #F7F7F7 !important;
    color: #7A1018 !important;
}

.accordion-button:not(.collapsed)::after {
    background: url("/upload/new/arrow.svg") center transparent no-repeat !important;
}

/* деталка продукта */

.card-detail {
    font-family: 'RobotoRegular';
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 60px;
}

.card-detail__container {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #EFEFEF;
    padding: 45px 132px;
    max-width: 574px;
    width: 100%;
}

.card-detail__img {
    max-width: 310px;
    object-fit: contain;
}

.card-detail__info {
    display: flex;
    flex-direction: column;
    border: 1px solid #EFEFEF;
    width: 100%;
    padding: 24px;
    gap: 40px;
}

.card-detail__list {
    list-style-type: disc;
}

.card-detail__btn {
    font-family: 'RobotoRegular';
    margin-top: auto;
    padding: 10px 16px;
    background: #7A1018;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
}

.card-detail__btn:hover {
    filter: brightness(1.2);
}

.card-detail__title {
    font-family: 'RobotoRegular';
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    margin-bottom: 32px;
}

.card-detail__desc {
    font-family: 'RobotoRegular';
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    margin-bottom: 40px;
}

@media (max-width: 1024px) {
    .card-detail__container {
        padding: 45px;
    }
}

@media (max-width: 768px) {
    .card-detail {
        flex-direction: column;
    }

    .card-detail__container {
        max-width: 100%;
        padding: 24px;
    }
}

.gallery--card-detail {
    margin-bottom: 60px;
}

/* контакты*/

.contact {
}

.contact__wrapper {
    font-family: 'RobotoRegular';
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
    margin-bottom: 16px;
}

.contact__wrapper > span:first-of-type {
    font-weight: 600;
}

.contact__wrapper a {
    color: #202020;
    text-decoration: none;
}

.contact__wrapper a:hover {
    color: #202020;
    text-decoration: underline;
}

.contant__map {
    margin-top: 30px;
}

/* новости */

.news {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.news__item {
    padding: 24px;
    background: #F4F4F4;
}

.news__title {
    font-family: 'RobotoRegular';
    font-size: 24px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 16px;
}

.news__text {
    font-family: 'RobotoRegular';
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color: #4F4D55;
    margin-bottom: 48px;
}

.news__link {
    display: flex;
    gap: 8px;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
    text-decoration: none;
    color: #7A1018;
    font-family: 'RobotoMedium';
}

.news__link:hover {
    text-decoration: underline;
    color: #7A1018;
}

/* доставка */
.delivery {
    font-family: 'RobotoRegular';
    padding: 24px 36px;
    background: #F4F4F4;
    margin-bottom: 32px;
}

.delivery__title {
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    margin-bottom: 16px;
}

.delivery__list {
    list-style-type: disc;
    margin-bottom: 16px;
    padding-left: 25px;
}

.delivery__item {
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
}

.delivery__text {
    line-height: 26px;
    margin-bottom: 0;
}


/* модалка */

.modal-dialog {
    max-width: 600px;
}

.modal-content {
    border-radius: 20px !important;
    padding: 24px;
}

.modal-header {
    padding: 0 !important;
    border: none !important;
}

.modal-body {
    padding: 12px 0 0 0 !important;
}

.modal h2 {
    margin-bottom: 0;
}

.modal .btn-close {
    background: url("/upload/new/exit.svg") no-repeat center;
    opacity: 1;
}


.modal .btn-close:focus {
    box-shadow: none !important;
}


.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-wrapper {
    position: relative;
}

.modal-label {
    font-family: 'RobotoRegular';
    position: absolute;
    top: 20px;
    left: 16px;
    color: #656565;
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    transition: transform 200ms;
    pointer-events: none;
    width: 95%;
    transform-origin: 0 50%;
}

.modal-input {
    font-family: 'RobotoRegular';
    width: 100%;
    padding: 20px 16px;
    border: 1px solid #E8E8E8;
    border-radius: 6px;
    height: 56px;
}

.input:focus ~ .placeholder,
.input:not(:placeholder-shown) ~ .placeholder {
    transform: translateY(-15px) translateX(0) scale(0.75);
}

.input:focus {
    outline: none;
}

.modal-textarea {
    height: 120px;
    resize: none;
    padding: 30px 16px;
}

.modal-btn {
    font-family: 'RobotoLight';
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    color: #FFFFFF;
    background: #7A1018;
    border: none;
    border-radius: 6px;
    padding: 14px;
}

.modal-btn:hover {
    filter: brightness(1.2);
}

.modal-bottom > label {
    display: grid;
    grid-template-columns: 20px 1fr;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.modal-bottom > label > span > a {
    color: #7A1018;
    text-decoration: none;
    cursor: pointer;
    z-index: 1;
}

.modal-bottom > label > span > a:hover {
    filter: brightness(0.8);
}

.modal-bottom .checkbox-label {
    font-family: 'RobotoRegular';
    font-size: 14px;
    line-height: 140%;
}

.modal-checkbox:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid #E8E8E8;
}

.control-mark {
    width: 19px;
    height: 19px;
    border: 1px solid #E8E8E8;
    border-radius: 4px;
    cursor: pointer;
}

.checkbox-input:checked + .control-mark {
    background: url("/upload/new/check-active.svg") center no-repeat;
}

@media (max-width: 600px) {
    .modal-label {
        font-size: 14px;
    }

    .modal-bottom .checkbox-label {
        font-size: 12px;
    }
}

/* баннер на главной*/
.banner .slick-dots li button:before {
    font-size: 12px;
}

.banner.slick-dotted.slick-slider {
    height: 100% !important;
    max-height: 500px !important;
}

.banner .slick-list {
    height: 100% !important;
    max-height: 500px !important;
}

.banner__item > img {
    max-height: 500px;
    object-fit: cover;
}

.banner .slick-dots li:only-child {
    display: none;
}

/* 404 страница */


.not-found {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFF;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.not-found__logo {
    width: 200px;
    height: 20px;
}

.not-found__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background: #f5f5f5;
    padding: 40px;
    border-radius: 20px;
    margin: auto 20px;
}

.not-found__content span {
    font-family: 'RobotoRegular';
    font-size: 120px;
    line-height: 100%;
    font-weight: 800;
    color: #7A1018;
    display: block;
    margin-bottom: 40px;
}

.not-found__title {
    font-family: 'RobotoRegular';
    color: #202020;
    text-align: center;
    font-size: 34px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: -0.68px;
    margin-bottom: 10px;
    margin-top: 0 !important;
}

.not-found__text {
    display: block;
    color: #202020;
    text-align: center;
    font-family: 'RobotoRegular';
    font-size: 15px;
    line-height: 120%;
    margin-bottom: 60px;
}

.not-found__icon {
    width: 310px;
    height: auto;
    margin-bottom: 20px;
}

.not-found__link {
    font-family: 'RobotoLight';
    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: 0;
    text-align: center;
    padding: 12px 20px;
    border-radius: 6px;
    color: #ffffff !important;
    background-color: #7A1018;
    box-shadow: 0px 1px 2px 0px #1018280A;
    text-decoration: none;
}

.not-found__link:hover {
    filter: brightness(1.2);
    color: #ffffff;
}

@media (max-width: 375px) {

    .not-found__content span {
        font-size: 96px;
        margin-bottom: 20px;
    }

    .not-found__title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .not-found__text {
        margin-bottom: 20px;
    }
}

.search-page {
    width: 100%;
    position: relative;
}

.search-page__input {
    width: 100%;
    border: 1px solid #E8EBEC;
    border-radius: 12px;
    padding: 15px;
    font-family: 'RobotoRegular';
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0;
}

.search-page__input:focus {
    outline: none;
}

.search-page__input::placeholder {
    font-family: 'RobotoRegular';
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0;
}

.search-page__button {
    position: absolute;
    right: 0px;
    top: 0px;
    border: none;
    background: transparent;
    width: 60px;
    height: 60px;
}

.search-page__button > svg {
    color: #7A1018;
}

/* dialog policy*/

.dialog-policy {
    visibility: hidden;
    backface-visibility: hidden;
    position: absolute;
    top: 50%;
    left: 49.5%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 1061;
    max-width: 600px;
    opacity: 0;
    transition: all 0.3s;
}

.dialog-policy.is-open {
    visibility: visible;
    opacity: 1;
}

.dialog-policy > .modal-content > h2 {
    font-family: 'RobotoMedium';
    font-weight: 500;
    font-size: 20px;
    line-height: 32px;
    letter-spacing: 0px;
    vertical-align: middle;
    color: #202020;
}

.dialog-policy > .modal-content > div > p {
    font-family: 'RobotoRegular';
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    color: #202020;
    margin-bottom: 10px;
}

.dialog-policy > .modal-content > div > p > a {
    color: #7A1018;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 500px) {
    .dialog-policy > .modal-content > div > p {
        max-height: 350px;
        overflow: auto;
    }
}


.dialog-policy > .modal-content > div > button {
    border: none;
    background: #7A1018;
    border-radius: 6px;
    font-family: 'RobotoRegular';
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0;
    text-align: center;
    color: #ffffff;
    padding: 14px 20px;
    width: max-content;

}

.dialog-policy > .modal-content > div > button:hover {
    filter: brightness(1.2);
    color: #ffffff;
}


/* отбивка об успеной отправке*/
.dialog-content-policy > .modal-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dialog-content-policy > .modal-content > h2 {
    font-family: 'RobotoMedium';
    font-weight: 500;
    font-size: 20px;
    line-height: 32px;
    letter-spacing: 0px;
    vertical-align: middle;
    color: #202020;
}

.dialog-content-policy > .modal-content > p {
    font-family: 'RobotoRegular';
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    text-align: center;
    color: #656565;
}

.dialog-content-successfully-img {
    width: 48px;
    height: 48px;
    display: block;
    margin-bottom: 20px;
}


/* //куки - принятие */

.cookie {
    position: fixed;
    bottom: 40px;
    background: rgba(0, 0, 0, 0.76);
    border-radius: 28px;
    padding: 24px 32px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    align-items: center;
    width: 100%;
    max-width: 1180px;
    gap: 40px;
    z-index: 99;
}

.cookie__show {
    display: flex;

}

@media (max-width: 650px) {
    .cookie__show {
        flex-direction: column;
    }
}

.cookie__text {
    font-weight: 400;
    font-size: 15px;
    line-height: 23px;
    letter-spacing: 0px;
    color: #ffffff;
    font-family: 'RobotoRegular';
}


.cookie__link {
    color: #7a1018 !important;
    text-decoration: underline;
}

.cookie__link:hover {
    filter: brightness(1.2);
}

.cookie__btn {
    border-radius: 50px;
    background: #7A1018;
    color: #ffffff !important;
    padding: 12px 32px;
    border: none;
    outline: none;
    font-family: 'RobotoRegular';
}

.cookie__btn:hover {
    filter: brightness(1.2);
}

.cookie__btn:focus,
.cookie__btn:focus-visible {
    outline: none;
}

.politics {
    margin-bottom: 80px;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.politics > a {
    font-weight: 500;
    font-style: Medium;
    font-size: 20px;
    line-height: 32px;
    letter-spacing: 0%;
    text-decoration: underline;
    color: #ffffff;
}

.cookie-policy > h1,
.consent-processing > h1,
.privacy-policy > h1,
.terms-of-service > h1 {
    font-weight: 500;
    font-size: 40px;
    line-height: 54px;
    letter-spacing: 0px;
    color: #F56C76;
    margin-bottom: 40px;
}

.cookie-policy > div > div > h2,
.consent-processing > div > div > h2,
.privacy-policy > div > div > h2,
.terms-of-service > div > div > h2 {
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0px;
    color: #202020;
    margin-bottom: 32px;
    padding-top: 16px;
}


.cookie-policy > div > div > p,
.consent-processing > div > div > p,
.privacy-policy > div > div > p,
.terms-of-service > div > div > p {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0px;
    color: #202020;
}

/* //куки - принятие end */


/* модалка кастомная */
/* Consent Modal Styles */
.modal_custom {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.modal_custom.modal__show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.modal__content {
    position: relative;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 10001;
}

.modal__header {
    padding: 24px 24px 16px;
}

.modal__title {
    margin: 0;
    font-family: 'RobotoMedium';
    font-weight: 500;
    font-size: 20px;
    line-height: 32px;
    letter-spacing: 0px;
    vertical-align: middle;
    color: #202020;
}

.modal__body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
    max-height: 600px;
}

.terms_of_use {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.terms_of_use__text {
    flex: 1;
    margin-bottom: 24px;
}

.terms_of_use__text p {
    margin: 0 0 10px 0;
    font-family: 'RobotoRegular';
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    color: #202020;

}

.terms_of_use__text p:last-child {
    margin-bottom: 0;
}

.terms_of_use__wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #e5e5e5;
}

.terms_of_use__btn {
    border: none;
    background: #7A1018;
    border-radius: 6px;
    font-family: 'RobotoRegular';
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0;
    text-align: center;
    color: #ffffff;
    padding: 14px 20px;
    width: max-content;
}

.terms_of_use__btn:hover {
    filter: brightness(1.2);
}

.terms_of_use__btn:hover {
    opacity: 0.7;

}

.terms_of_use__btn:active {
    opacity: 0.7;
}

.terms_of_use__btn:focus {
    outline: none;

}

/* Responsive styles */
@media (max-width: 768px) {
    .modal__content {
        width: 95%;
        max-height: 95vh;
    }

    .modal__header {
        padding: 20px 20px 12px;
    }

    .modal__title {
        font-size: 16px;
    }

    .modal__body {
        padding: 20px;
    }

    .terms_of_use__text p {
        font-size: 13px;
    }

    .terms_of_use__btn {
        padding: 10px 36px;
        font-size: 15px;
        min-width: 140px;
    }
}

@media (max-width: 480px) {
    .modal__header {
        padding: 16px 16px 12px;
    }

    .modal__title {
        font-size: 15px;
    }

    .modal__body {
        padding: 16px;
    }

    .terms_of_use__text {
        margin-bottom: 20px;
    }

    .terms_of_use__btn {
        width: 100%;
        padding: 12px 24px;
    }
}

/* модалка кастомная end*/

.d-none {
    display: none !important;
}

.dialog-policy {

    max-height: 60%;

}

.dialog-policy .modal-content div {
    max-height: 600px;
    overflow-y: auto;
}

.contact .contact__wrapper {
    max-width: 972px;
}