/* Montserrat Thin 100 */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Thin.woff2') format('woff2'),
    url('fonts/Montserrat-Thin.woff')  format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

/* Montserrat ExtraLight 200 */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-ExtraLight.woff2') format('woff2'),
    url('fonts/Montserrat-ExtraLight.woff')  format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

/* Montserrat Light 300 */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Light.woff2') format('woff2'),
    url('fonts/Montserrat-Light.woff')  format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Montserrat Regular 400 */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Regular.woff2') format('woff2'),
    url('fonts/Montserrat-Regular.woff')  format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Montserrat Medium 500 */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Medium.woff2') format('woff2'),
    url('fonts/Montserrat-Medium.woff')  format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Montserrat SemiBold 600 */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-SemiBold.woff2') format('woff2'),
    url('fonts/Montserrat-SemiBold.woff')  format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Montserrat Bold 700 */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Bold.woff2') format('woff2'),
    url('fonts/Montserrat-Bold.woff')  format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Montserrat ExtraBold 800 */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-ExtraBold.woff2') format('woff2'),
    url('fonts/Montserrat-ExtraBold.woff')  format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Montserrat Black 900 */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Black.woff2') format('woff2'),
    url('fonts/Montserrat-Black.woff')  format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}


@media (min-width: 1200px) {
    .header__search {
        width: 100%!important;
    }
}

@media (min-width: 768px) {
    .form__num-meter {
        margin-top: 0px;
    }
}

/* Отзывы */
.reviews {
    margin-top: 2em;
}

.reviews a,
.reviews a:active,
.reviews a:hover,
.reviews a:visited {
    color: #9f2925;
}


.reviews a.reviews__tab {
    display: inline-block;
    margin-right: 0.5em;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    color: #000 !important;
}

.reviews__tab--active {
    border-bottom: 3px #9f2925 solid;
}

.reviews__tab-contents {
    margin-top: 1em;
}

.reviews__tab-content {
    display: none;
}

.reviews__tab-content--active {
    display: block;
}

.review-item {
    margin-bottom: 1em;
    padding: 0.5em;
}

.review-item--response {
    margin-left: 4em;
}

.review-item--inactive {
    background-color: #fedcd1;
}

.review-item__author {
    float: left;
    display: inline-block;
    margin-right: 0.5em;
    font-weight: 700;
}

.review-item__date {
    float: left;
    display: inline-block;
    color: #bbb;
}

.review-item__text {
    margin-top: 0.5em;
}

.review-item__photo {
    margin-top: 0.25em;
}

.review-item__photo {
    display: block;
    height: 96px;
    width: 96px;
    background-size: cover;
    background-position: center;
    float: left;
    margin-right: 0.5em;
}

.review-form--response {
    margin-left: 4em;
}

.review-form input[type="file"] {
    display: none;
}

.review-form textarea {
    width: 100%;
}

.review-form__file-upload,
.review-form__submit {
    margin-top: 1em;
    border: 1px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
}

.reviews__list {
    margin-top: 1em;
}

.fancybox-bg {
    display: unset !important;
}

.clearfix::after {
    display: block;
    content: "";
    clear: both;
}

.review-form__footer-left {
    float: left;
}

.review-form__footer-right {
    float: right;
    text-align: right;
}

.review-item__response-link,
.review-item__approve-link {
    text-decoration: none;
    margin-left: 0.5em;
    float: left;
}

.review-form__getback {
    display: none;
}

.review-form__getback--visible {
    display: block;
}

.review-form__author,
.review-form__text {
    padding: 4px;
}

.reviews__error {
    background-color: #ffb0ae;
    border-color: #9f2925;
    padding: 1em;
    margin-bottom: 1em;
}

.reviews__success {
    background-color: #d6f38f;
    border-color: #829c23;
    padding: 1em;
    margin-bottom: 1em;
}

.accordeon {
    cursor: pointer;
    padding: 10px 15px;
    border: 1px solid #ccc;
    max-width: 310px;
    background: #ebeff2;
}

.accordeon_body {
    display: none;
}

.accordeon_body.active {
    display: block;
    padding-top: 10px;
}

/* New CSS */
.title_h2_main--undecored::before,
.title_h2_main--undecored::after {
    display: none;
}

/* Carousels */
.carousel__header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Link */
.link--underline {
    position: relative;
    font-weight: 600;
    color: var(--color);
}

.link--underline::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color);
}

.link--accent {
    --color: #9f2925;
}

.link--gold {
    --color: #a18347;
}

/* Card */
.card__flag {
    width: max-content;
    min-width: 50%;
    max-width: 100%;
    padding-left: 8px;
    padding-right: 8px;
}

/* Material Type */
.material-type__content {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.material-type__list,
.material-page__list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-gap: 48px 16px;
}

.material-type__item,
.material-page__item {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
}

.material-type__item-img,
.material-page__item-img {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
}
.material-type__item-img img,
.material-page__item-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    object-fit: cover;
}
.material-type__item-text,
.material-page__item-text {
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}
.material-type__link,
.material-page__link {
    width: auto;
    margin-top: 48px;
    padding-left: 20px;
    padding-right: 20px;
}

.material-page__content {
    margin-top: 48px;
}

@media screen and (max-width: 1024px) {
    .material-type__list,
    .material-page__list {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .material-type__list,
    .material-page__list {
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 24px 16px;
    }

    .material-type__item-text,
    .material-page__item-text {
        font-size: 14px
    }
}

@media screen and (max-width: 640px) {
    .material-type__list,
    .material-page__list {
        grid-template-columns: repeat(3, 1fr);
    }
    .carousel__header {
        flex-direction: column;
    }
    .material-page__content {
        margin-top: 24px;
    }
    .material-type__link,
    .material-page__link {
        margin-top: 16px;
    }
}

/* Information */
.information-section {
    padding: 48px 0px;
}

.information-section__content {
    --gap: 24px;
    display: grid;
    grid-template-columns: calc((100% - (100% / 3)) - (var(--gap) / 2)) calc((100% / 3) - var(--gap) / 2);
    grid-gap: var(--gap);
}

.information-section__content--1col {
    grid-template-columns: 100%;
}

/* Last Works */
.last-works__box {
    background: #f8f5ef;
    padding: 36px 24px;
    display: flex;
    flex-direction: column;
}

.last-works__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.last-works__title {

}

.last-works__content {
    margin-top: 24px;
}

.last-works__slider .slick-list {
    margin: 0px -16px;
}

.last-works__slider .work-card {
    margin: 0px 16px;
}

.last-works__slider {
    position: relative;
}

.last-works__slider .slick-arrow {
    position: absolute;
    width: 30px;
    height: 30px;
    border: none;
    background: #9f2925 url(/local/templates/eshop_adapt_red_custom/images/sprites-v1.svg#arrow_view) no-repeat center center;
    background-size: 10px 6px;
    border-radius: 50%;
    z-index: 1;
    cursor: pointer;
    top: 50%;

    transform: translateY(-50%) rotate(90deg);
    font-size: 0px;
}

.last-works__slider .slick-arrow.slick-prev {
    left: -15px;
}

.last-works__slider .slick-arrow.slick-next {
    transform: translateY(-50%) rotate(-90deg);
    right: -15px;
}

.last-works__link {
    color: #9f2925;
    text-decoration: underline;
}

@media screen and (max-width: 996px) {
    .information-section__content {
        grid-template-columns: 100%
    }
}

@media screen and (max-width: 640px) {
    .last-works__box {
        padding: 24px;
    }
    .last-works__header {
        flex-direction: column;
    }
}

.work-card {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.work-card__top {
    position: relative;
    width: 100%;
    padding-bottom: 125%;
}

.work-card__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.work-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-card__content {
    margin-top: 8px;
}

/* Last Articles*/
.last-articles__box {
    display: flex;
    flex-direction: column;
    padding-top: 36px;
}

.last-articles__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.last-articles__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.article-card {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-card__img {
    min-width: 80px;
    height: 80px;
    position: relative;
}

.article-card__img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card__name {
    font-size: 18px;
    line-height: 24px;
}

.article-card__except {
    margin-top: 4px;
    margin-bottom: 0;
}

@media screen and (max-width: 640px) {
    .last-articles__box {
        padding-top: 8px;
    }
}

/* Custom Footer */
.footer__main {
    display: grid;
    grid-template-columns: 3fr 1fr;
    grid-gap: 24px;
}

.footer__left {
    display: flex;
    justify-content: space-between;
}

.footer__menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer__menu a {
    position: relative;
    padding-left: 20px;
    color: #fff;
}

.footer__menu a:hover {
    color: #bb9d60;
}

.footer__menu a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 100px;
    background: #fff;
}

.footer__address {
    display: flex;
    align-items: center;
    color: #fff;
    padding-left: 100px;
    position: relative;
}

.footer__address-map {
    position: absolute;
    top: 3px;
    left: 0px;
    width: 100px;
    height: 100px;
    border-radius: 100%;
    background: #eee url(./images/map_footer.png) no-repeat center center;
    background-size: 100%;
    transition: background 0.2s;
}

.footer__address-map:hover {
    background-size: 110%;
}

.footer__address-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer__address-title {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #fff;
}

.footer__address-text {
    margin-top: 6px;
    margin-bottom: 10px;
}

.footer__address-link {
    color: #fff;
    text-decoration: underline;
}

.footer__address-link:hover {
    color: #bb9d60;
}

.footer__copyright-wrap {
    /*display: flex;*/
    /*flex-wrap: wrap;*/
}

.footer__copyright--link {
    color: #fff;
}

@media screen and (max-width: 1200px) {
    .footer__main {
        gap: 0px;
    }
}

@media screen and (max-width: 996px) {
    .footer__main {
        grid-template-columns: 1fr 1fr;
        gap: 24px
    }
    .footer__left {
        display: contents;
    }
    .footer__right > * {
        width: 100%;
    }
    .footer__left {
        display: contents;
    }
    .footer__address {
        padding-left: 100px;
    }
    .footer__address-map {
        width: 90px;
        height: 90px;
    }
    .footer__address-content {
        align-items: start;
    }
    .footer__address-text {
        margin: 0;
    }
    .footer__right .footer__socials {
        margin-top: 8px;
    }

    .footer {
        padding-top: 24px !important;
    }
}

@media (max-width: 640px) {
    .footer__address,
    .footer__right {
        grid-column: 1 / -1;
    }
    .footer__main {
        grid-gap: 24px 12px;
    }
    .footer__menu a {
        padding-left: 12px;
    }
    .footer__address-title {
        font-size: 14px;
    }
}

@media (min-width: 768px) {
    .padding_md_top_30 {
        padding-top: 30px;
    }
    .padding_md_bottom_30 {
        padding-bottom: 30px;
    }
}

/* Header New */
.header-new {
    z-index: 101;
}

.header-new__top {
    border-bottom: 1px solid #F0F0F0;
    z-index: 11;
    position: relative;
}

.header-new__top .header-new__container {
    padding: 12px 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-new__menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-new__menu-item {
    font-size: 16px;
    line-height: 24px;
    position: relative;
}

.header-new__menu-item a {
    font-weight: 300;
    color: #010000;
}

.header-new__menu-item a:hover {
    color: #9f2925;
}

.header-new__menu-item--dropdown > a {
    padding-right: 20px;
    position: relative;
}

.header-new__menu-item--dropdown > a::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 16px;
    height: 16px;
    background: url(./images/arrow-black.svg) center no-repeat;
    transform: translateY(-50%);
}

.header-new__menu-item:hover .header-new__menu-dropdown {
    display: flex;
}

.header-new__menu-dropdown {
    --offset: 12px;

    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + var(--offset));
    left: 0;
    width: max-content;
    max-width: 320px;
    border: 1px solid #f0f0f0;
    background: #fff;
}

.header-new__menu-dropdown::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    height: var(--offset);
}

.header-new__menu-dropdown a {
    padding: 6px 8px;
    border-bottom: 1px solid #f0f0f0;
}

.header-new__menu-dropdown a:last-child {
    border: none;
}

.header-new__contacts {
    display: flex;
    align-items: center;
}

.header-new__text {
    font-weight: 300;
    color: #010000;
    font-size: 16px;
    line-height: 24px;
    margin: 0;
}

.header-new__text a {
    color: #B92427;
}

.header-new__bottom {
    z-index: 10;
    position: relative;
}

.header-new__bottom .header-new__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0px;
}

.header-new__logo {
    max-width: 250px;
}

.header-new__logo img {
    max-width: 100%;
}

.header-new__search {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-new__controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-new__button {
    width: 48px;
    height: 48px;
    border-radius: 100px;
    position: relative;
    border: none;
}

.header-new__button--wishlist {
    background: #F9F5EF url(./images/header-new/heart.svg) center no-repeat;
}

.header-new__button--account {
    background: #F9F5EF url(./images/header-new/profile.svg) center no-repeat;
}

.header-new__label {
    position: absolute;
    top: -2px;
    right: -9px;
}

/* Minicart */
.minicart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.minicart__icon {
    width: 48px;
    height: 48px;
    border-radius: 100px;
    background: #F9F5EF url(./images/header-new/cart.svg) center no-repeat;
    position: relative;
}

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

.minicart__text {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #000;
}

.minicart__link {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
}

.minicart__label {
    position: absolute;
    top: -2px;
    right: -9px;
}

/* Header label */
.header-label {
    width: 24px;
    height: 24px;
    border-radius: 100px;
    background: #BA2520;
    font-size: 12px;
    line-height: 16px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* NEW label */
.menu-link__name {
    position: relative;
}
.new-label {
    position: absolute;
    top:-8px;
    right:-18px;
    color: #9F2925;
    font-size: 8px;
    font-weight:400;
}

/* Header Menu */
.header-new-menu {
    background: #9f2925;
    z-index: 100;
}

.header-new-menu__container {
    --offset: 19px;
    display: flex;
    align-items: center;
    gap: 82px;
    padding: var(--offset) 0px;
}

.header-new-menu__right {
    flex: 1;
}

.header-new-menu__list {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
    gap: 24px;
}

.header-new-menu__item--dropdown > a,
.header-new-menu__item--dropdown > button {
    background: none;
    padding: 0;
    padding-right: 20px;
    position: relative;
    display: block;
    color: inherit;
    border: none;
    outline: none;
}

.header-new-menu__item:hover > a,
.header-new-menu__item:hover > button {
    color: #bb9d60;
}

.header-new-menu__item--dropdown a::before,
.header-new-menu__item--dropdown button::before {
    content: url(/local/templates/eshop_adapt_red_custom/images/arrow.svg);
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.header-new-menu__item--dropdown:hover > a::before,
.header-new-menu__item--dropdown:hover > button::before {
    content: url(/local/templates/eshop_adapt_red_custom/images/arrow-gold.svg);
}

.header-new-menu__item-dropdown {
    display: none;
    position: relative;
}

.header-new-menu__item-dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
}

.header-new-menu__item--dropdown:hover .header-new-menu__item-dropdown {
    display: block;
}

@media (max-width: 1200px) {
    .header-new-menu__container {
        gap: 24px;
    }
}

/* Header Catalog */
.header-catalog__button {
    background: none;
    padding: 0;
    border: none;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    outline: none !important;
    position: relative;
}

.header-catalog__button::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
}

.header-catalog__button:hover {
    color: #bb9d60;
}

.header-catalog__button:hover svg rect {
    fill: #bb9d60;
}

.header-catalog .header-dropdown {
    display: none;
}

.header-catalog:hover .header-dropdown {
    display: block;
}

/* Header Dropdown */
.header-dropdown {
    color: #000;
    position: fixed;
    top: calc(var(--header-menu-top) + var(--header-menu-height));
    max-height: var(--max-height);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.header-dropdown__box {
    --left: 290px;
    display: flex;
    gap: 16px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0px 3px 38px 0px rgba(0, 0, 1, 0.2);
    min-height: 320px;
    max-height: var(--max-height);
    overflow: hidden;
}

.header-dropdown__left, .header-dropdown__right {
    overflow-y: auto;
}

.header-dropdown__left {
    flex: 1;
    padding: 24px 0px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: var(--left);
}

.header-dropdown__full {
    display: flex;
    flex-wrap: wrap;
    padding: 24px;
    width: 100%;
}

.header-dropdown__full-block-header {
    display: block;
    width: 100%;
    margin-bottom: 15px;
}

.header-dropdown__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.header-dropdown__full .header-dropdown__list {
    flex-direction: initial;
    flex-wrap: wrap;
    width: 100%;
    gap: initial;
}

.header-dropdown__list-chunk {
    display: block;
    width: 33.33333%;
}

.header-dropdown__list-chunk .header-dropdown__list-item {
    padding: 6px 0;
}

.header-dropdown__list-extra {
    margin-top: auto;
}

.header-dropdown__list-extra .header-dropdown__list {
    margin-top: 56px;
}

.header-dropdown__list-item > a,
.header-dropdown__list-item > button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    line-height: 24px;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    position: relative;
    padding: 0;
    padding-right: 20px;
}

.header-dropdown__list-item > a:hover,
.header-dropdown__list-item > button:hover {
    color: #9f2925;
}

.header-dropdown__list-item > a::before,
.header-dropdown__list-item > button::before {
    content: url(/local/templates/eshop_adapt_red_custom/images/arrow-red-2.svg);
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%) rotate(-90deg);
    display: none;
}

.header-dropdown__list-item > a.active,
.header-dropdown__list-item > button.active {
    color: #9f2925;
}

.header-dropdown__list-item > button.active::before,
.header-dropdown__list-item > a.active::before {
    display: block;
}


.header-dropdown__list-item > a img,
.header-dropdown__list-item > button img {
    width: 36px;
    height: 36px;
    border-radius: 100px;
    object-fit: cover;
}

.header-dropdown__all {
    color: #a18347;
    margin-top: auto;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
}

.header-dropdown__all--nomt {
    margin-top: 0;
}

.header-dropdown__all .link {
    font-weight: 500;
}

.header-dropdown__right {
    flex: 1;
}

.header-dropdown__content {
    width: 100%;
    padding: 24px 12px 24px 0px;
}

.header-dropdown__blocks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 24px 8px;
}

.header-dropdown__blocks-extra {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 24px 12px;
}

.header-dropdown__block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.header-dropdown__block--col2 {
    grid-column: span 2;
}

.header-dropdown__subtitle {
    color: #9f2925;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
}

.header-dropdown__links,
.header-dropdown__links-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.header-dropdown__links--col2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 8px;
}

.header-dropdown__links a {
    font-weight: 300;
    font-size: 14px;
    line-height: 28px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-dropdown__links a:hover {
    color: #9f2925;
}

.header-dropdown__links a img {
    width: 28px;
    height: 28px;
    border-radius: 100px;
    object-fit: cover;
}

.header-dropdown__promos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 24px;
}

.header-dropdown__promo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.header-dropdown__promo-top {
    position: relative;
    width: 100%;
    padding-bottom: 80%;
    border-radius: 16px;
    background: rgba(0,0,0,0.05);
    overflow: hidden;
}

.header-dropdown__promo-top img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-dropdown__promo span {
    text-align: center;
    font-size: 18px;
    line-height: 26px;
    color: #9f2925;
}

.header-dropdown__image {
    position: relative;
    width: 100%;
    padding-bottom: 80%;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.header-dropdown__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-dropdown__poster {
    position: relative;
    width: 100%;
    padding-bottom: 165%;
    border-radius: 16px;
    overflow: hidden;
}

.header-dropdown__poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Old Header */
/*.header {*/
/*    display: none;*/
/*}*/

@media (max-width: 991px) {
    .header {
        display: block;
    }
    .header-new,
    .header-new-menu {
        display: none;
    }
}

.menu__point-subitem,
.menu__point-subitem-child {
    display: flex;
    align-items: center;
    gap: 6px;
}

.menu__point-subitem img,
.menu__point-subitem-child img {
    width: 28px;
    height: 28px;
    border-radius: 100px;
    object-fit: cover;
}

/* Question Card */
.questions__list {
    display: flex;
    margin-top: 36px;
}

.question-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #f8f5ef;
    padding: 24px 16px;
}

.question-card--answered {
    position: relative;
}

@media (max-width: 991px) {
    .questions__list {

        margin-top: 24px;
    }
    .question-card {
        padding: 16px 12px;
        gap: 8px
    }

}

/* Labels */
.label {
    width: 24px;
    height: 24px;
    border-radius: 100px;
    font-size: 12px;
    line-height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.label--accent {
    background: #BA2520;
    color: #fff;
}

/* Account */
.account-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Share Section */
.share-button.active {
    background: #9f2925;
}

.share-button.active span {
    position: relative;
    padding-right: 20px;
    color: #fff;
}

.share-button.active span::before {
    content: '';
    position: absolute;
    top: 45%;
    right: 0;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: url(/local/templates/eshop_adapt_red_custom/images/okay.svg) center no-repeat;
    background-size: 16px;
}

.share-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media screen and (max-width: 768px){
    .share-block--desktop {
        display: none !important;
    }
}

@media screen and (min-width: 768px){
    .share-block--mobile {
        display: none !important;
    }
}

.share-button {
    border: 1px solid rgba(0,0,0,.04);
    border-radius: 10px;
}

a.menu__block::after {
    -ms-transform: translateY(-0%) rotate(-90deg);
    transform: translateY(-0%) rotate(-90deg);
}

.header__search-mobile-link {
    margin-left: 0px;
}

.header-new__button-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-new__button-info {
    max-width: 130px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 14px;
    line-height: 20px;
}

.header-new__logout {
    font-weight: 400;
}

.menu__point-subitem-link {
    display: flex !important;
    align-items: center;
    gap: 6px;
}


/* Верстка авторизации */
/* Кнопка аккаунта для авторизованного пользователя */
.header-new__button--authorized {
    background: #9F2925 url(./images/header-new/profile-white.svg) center no-repeat;
    position: relative;
}

.header-new__account-dropdown {
    font-family: Montserrat, sans-serif;
    position: absolute;
    top: 80%;
    right: 0;
    width: 280px;
    border: 1px solid #DBDBDB;
    background-color: #fff;
    box-sizing: border-box;
    display: none;
    z-index: 999;
}

.header-new__account-dropdown::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

/* Показываем меню, если навели на .header-new__button-wrapper--authorized
   или если уже зашли на само меню */
.header-new__button-wrapper--authorized:hover .header-new__account-dropdown,
.header-new__account-dropdown:hover {
    display: block;
}

/* Блок с именем и почтой */
.header-new__account-dropdown__user-info {
    font-size: 16px;
    font-weight: 300;
    min-height: 60px;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid #DBDBDB;
    word-wrap: break-word;
}

.header-new__account-dropdown__user-name {
    font-size: 20px;
    font-weight: 500;
}

/* Пункты меню */
.header-new__account-dropdown__menu {
    font-size: 16px;
    font-weight: 300;
    list-style: none;
    margin: 0;
    padding: 0;
}
.header-new__account-dropdown__menu li {
    height: 50px;
    border-bottom: 1px solid #DBDBDB;
}
.cabinet__menu-section:hover {
    color: #9F2925;
}

.header-new__account-dropdown__menu li:last-child {
    border-bottom: none;
}

.header-new__account-dropdown__menu li a {
    display: block;
    padding: 0 30px;
    line-height: 50px;
    color: #333;
    text-decoration: none;
}
.header-new__account-dropdown__menu li a:hover {
    color: #9F2925;
}

/* Мобильное меню */
.menu-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 10000;
}

/* Попап авторизации */
.popup-auth {
    z-index: 10001;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.popup-auth__content {
    width: 540px;
    max-width: 100%;
    min-height: 482px;
    margin: 100px auto 0;
    background: #fff;
    padding: 20px;
    position: relative;
}

.popup-auth__content h2 {
    padding-left: 50px;
    font-family: Montserrat, sans-serif;
    font-size: 24px;
    font-weight: 500;
    margin: 25px 0 15px 0;
}
/* Кнопка закрытия */
.popup-auth__close {
    position: absolute;
    top: 30px; right: 40px;
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.bxmaker-authuserphone-simple-phone{
    display: flex;
    flex-direction:column;
}
.bxmaker-authuserphone-header {
    order:1;
}
.bxmaker-authuserphone-input-phone.bxmaker-authuserphone-input-phone--flag {
    order:2;
}
.bxmaker-authuserphone-consent{
    order:3;
}
.bxmaker-authuserphone-button{
    order:4;
}
.bxmaker-authuserphone-button:disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
}
.bxmaker-authuserphone-button:not(:disabled) {
    opacity: 1;
    cursor: pointer;
}

.checkbox-radio-wrapper {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    margin: 10px 0;
    position: relative;
}
.checkbox-radio-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
.checkbox-custom {
    position: relative;
    top: 2px;
    height: 16px;
    width: 16px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-right: 10px;
    flex-shrink: 0;
}
.checkbox-radio-input:checked ~ .checkbox-custom {
    background-color: #9f2925;
    border-color: #9f2925;
}
.checkbox-radio-input:checked ~ .checkbox-custom:after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.checkbox-radio-text {
    font-size: 14px;
    line-height: 1.4;
    color: #333;
}
.checkbox-radio-text a {
    color: #9f2925;
    text-decoration: underline;
}
.checkbox-radio-text a:hover {
    text-decoration: none;
}


.bxmaker-authuserphone-simple {
    box-shadow: unset;
    width: 100%;
    padding: 0 50px;
    font-family: Montserrat, sans-serif;
}

.bxmaker-authuserphone-header {
    margin-bottom: 15px !important;
    font-size: 20px;
    font-weight: 300;
}

.bxmaker-authuserphone-input-phone {
    margin-bottom: 15px !important;
}

.bxmaker-authuserphone-input-phone__input {
    font-size: 16px;
    font-weight: 500;
}

.bxmaker-authuserphone-input-phone__title {
    color: #707070;
}

.bxmaker-authuserphone-consent {
    margin-bottom: 15px !important;
}

.bxmaker-authuserphone-consent-button {
    font-size: 12px;
    font-weight: 300;
    color: #707070;
    text-decoration: underline;
    text-decoration-skip-ink: none;
}

.bxmaker-authuserphone-consent-button input{
    display: none;
}

.bxmaker-authuserphone-simple-telegramcode__send{
    justify-content: unset;
}

.bxmaker-authuserphone-button__inner {
    border-radius: 0;
    max-width: 207px;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
}

.bxmaker-authuserphone-button__title {
    font-weight: 500;
}

.bxmaker-authuserphone-input-phone--flag .bxmaker-authuserphone-input-phone__flag {
    display: none;
}

.bxmaker-authuserphone-input-phone__input span {
    padding-left: 25px;
}

.bxmaker-authuserphone-input-phone--flag.bxmaker-authuserphone-input-phone input[type="text"] {
    padding-left: 25px;
}

.bxmaker-authuserphone-input-phone__field {
    border-radius: 0;
}

.popup-auth__advantages {
    padding: 0 50px;
    font-family: Montserrat, sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: #707070;
}

.popup-auth__advantages p {
    font-size: 20px;
    color: #000000;
}

.popup-auth__advantages-item {
    margin-bottom: 15px;
}

.popup-auth__advantages-item img {
    padding-right: 15px;
}

.bxmaker-authuserphone-simple {
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 300;
}

.bxmaker-authuserphone-simple-smscode {
    display: flex;
    flex-direction: column;
}
.bxmaker-authuserphone-simple-smscode__notice{
    order:1;
    color:#707070;
}
a.bxmaker-authuserphone-link{
   color: #9F2925;
    text-decoration: underline;
}

a.bxmaker-authuserphone-link:hover{
    color: #B25350;
}

.bxmaker-authuserphone-header {
    order: 2;
    font-size:20px;
}
.bxmaker-authuserphone-message {
    order:3;
    color: #9F2925;
}
.bxmaker-authuserphone-input-code {
    order: 4;
}
.bxmaker-authuserphone-input-code__field {
    border-radius: 0;
}
.bxmaker-authuserphone-simple-smscode__send{
    order: 6;
    justify-content: left;
    color: #9F2925;
}
.bxmaker-authuserphone-simple-smscode__send:hover{
    color:#B25350;
}

.bxmaker-authuserphone-simple-botcall {
    display: flex;
    flex-direction: column;
}

.bxmaker-authuserphone-timeout {
    order: 1;
}

.bxmaker-authuserphone-simple-botcall__notice{
    order: 3;
}

.bxmaker-authuserphone-captcha{
    order: 5;
}

.bxmaker-authuserphone-simple-botcall__send{
    order: 6;
}


.bxmaker-authuserphone-simple__change-confirm {
    justify-content:end;
    margin-top: -21px;
}

.bxmaker-authuserphone-simple__change-confirm a{
    color: #000;
}

.bxmaker-authuserphone-simple-botcall__send {
    justify-content: unset;
}

.bxmaker-authuserphone-button:hover .bxmaker-authuserphone-consent-popup__disagree:hover .bxmaker-authuserphone-button--white:hover {
    color: white !important;
}

.bxmaker-authuserphone-button--white:hover .bxmaker-authuserphone-button__inner:hover {
    border: unset;
}
.bxmaker-authuserphone-button--white .bxmaker-authuserphone-button__inner {
    border: unset;
}
.bxmaker-authuserphone-button--white .bxmaker-authuserphone-button__title {
    color: white;
}

.bxmaker-authuserphone-button--white:hover .bxmaker-authuserphone-button__title:hover {
    color: white;
}

.bxmaker-authuserphone-button__inner {
    background-color: #9f2925 !important
}

.bxmaker-authuserphone-simple {
    margin-bottom: 20px !important
}

.bxmaker-authuserphone-input-phone__field{
    border-color:#DBDBDB !important
}

.bxmaker-authuserphone-input-phone__input input:focus-visible {
    border: unset !important
}

.bxmaker-authuserphone-consent-popup__disagree:hover div div {
    color: white !important;
}

.login .bxmaker-authuserphone-simple {
    box-shadow: none !important
}

.bxmaker-authuserphone-input-code--focus .bxmaker-authuserphone-input-code__field, .bxmaker-authuserphone-input-code:hover .bxmaker-authuserphone-input-code__field {
    border-color:#DBDBDB;
}

input:-webkit-autofill, input:-webkit-autofill:active, input:-webkit-autofill:focus, input:-webkit-autofill:hover, select:-webkit-autofill, select:-webkit-autofill:active, select:-webkit-autofill:focus, select:-webkit-autofill:hover, textarea:-webkit-autofill, textarea:-webkit-autofill:active, textarea:-webkit-autofill:focus, textarea:-webkit-autofill:hover {
    border: unset;
}

input{
    /*-webkit-appearance: none;*/
    border-radius: 0;
}

@media (max-width: 768px) {
    .popup-auth__content {
        width: 100%;
        margin: 50px auto 0;
        padding: 0;
    }

    .popup-auth__content > * {
        padding: 0 15px;
    }

    h2.popup-auth__title {
        padding: 0 15px;
    }

    .popup-auth__close {
        right: 0;
        top:27px;
    }
    .popup-auth__close svg {
        height: 29px;
        width: 29px;
    }

    .popup-auth__content h2 {
        margin-top:30px;
        font-size:20px;
    }

    .bxmaker-authuserphone-timeout{
        margin-bottom:21px;
    }
}

button:focus{
    outline: unset;
}

.refresh_1c {
    align-items: baseline !important;
    color: black;
    font-size: 16px !important;
    font-family: Montserrat;
    font-weight: 300;
    word-wrap: break-word;
    margin: 0 0 15px 0 !important;
    text-align: unset !important;
}
.refresh_1c .scroll_to_top {
    color: #707070;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
}
.refresh_1c .refresh_1c-red {
    color: #9F2925;
    font-weight: 500;
}


.refresh_1c.fav_popup {
    display: none;
    position: absolute;
    bottom: calc(100% - 15px);
    background: white;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    padding: 8px;
    margin: 0 !important;
    font-size: 12px !important;
}

.refresh_1c-popup {
    display: none;
    position: absolute;
    bottom: 100px; right: 50px;
    width: 320px;
    z-index: 1000;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 8px;
}
.refresh_1c-popup p {
    font-size: 12px !important;
    font-weight: 300;
    margin-bottom: 0 !important;
}


.product__added .refresh_1c {
    margin: 15px !important;
    font-size: 12px !important;
}

/* Основные стили */
.maintenance-notice {
    width: 100%;
    height: 100%;
    min-height: 507px;
    background: white;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 40px 0;

    position: fixed;
    z-index: 2147483647;
    top: 0px;
    left: 0px;
}
.maintenance-notice .container {
    width: 100%;
    max-width: 1110px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.maintenance-notice .notice-header {
    width: auto;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    position: absolute;
    top: 0;
    left: 65px;
    transform: translateY(-50%);
    background-color: #fff;
}
.maintenance-notice.logo {
    width: 268px;
    height: 65px;
}
.maintenance-notice .notice-border {
    width: 100%;
    border: 2px solid #9F2925;
    padding: 57px 59px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.maintenance-notice .notice-title {
    color: black;
    font-size: 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
}
.maintenance-notice .notice-text {
    color: black;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    line-height: 1.5;
    max-width: 920px;
    width: 100%;
    margin: 0;
}
.maintenance-notice .centered {
    text-align: center;
}
.maintenance-notice .highlight {
    color: #9F2925;
    font-weight: 500;
    text-wrap-mode: nowrap;
}
.maintenance-notice .underlined {
    text-decoration: underline;
}
.maintenance-notice .countdown {
    color: #9F2925;
    font-size: 32px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-align: center;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .maintenance-notice {
        padding: 0;
    }
    .maintenance-notice .container {
        padding: 40px 20px;
        gap: 20px;
        height: 100%;
        overflow-y: auto;
    }
    .maintenance-notice .notice-header {
        max-width: 300px;
        max-height: 62px;
        top: 30px;
        left: 50%;
        transform: translate(-50%, -35%);
    }
    .maintenance-notice .notice-border {
        padding: 50px 15px 30px;
    }
}





.sale_order_full_table_23 .mb-4 {
    max-width: 500px;
    width: unset;
    padding: unset;
    border: unset;
    text-align: unset;
    margin-bottom: unset;
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

.sale_order_full_table_23 .widget-payment-checkout-info {
    color: #707070 !important;
    font-size: 16px !important;
    font-family: "Montserrat",sans-serif;
    font-weight: 500 !important;
    word-wrap: break-word;
    padding:0;
    min-height: auto;
}

.sale_order_full_table_23 .widget-payment-checkout-info .widget-ppaysystem-name {
    color: #000
}

.sale_order_full_table_23 .alert.alert-info b,.sale_order_full_table_23 .widget-payment-checkout-info .widget-paysystem-checkout-sum {
    color: #9f2925;
    font-weight: 500
}

.sale_order_full_table_23 .d-flex.align-items-center.mb-3 {
    display: flex !important;
    margin: 30px 0!important;
    gap: 15px;
    flex-direction: column;
    align-items: flex-start!important
}

.sale_order_full_table_23 .alert.alert-info {
    display: unset;
    max-width: unset;
    color: #707070;
    font-size: 16px;
    font-family: "Montserrat",sans-serif;
    font-weight: 500;
    word-wrap: break-word;
    padding: 0;
    background-color: unset;
    border: 0;
}

.sale_order_full_table_23 .col-auto a.btn.btn-lg.btn-success {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: top .1s;
    background-color: #9f2925 !important;

    color: #fff;
    padding: 10px 20px;
    border: 0;
    font-size: 24px;
    font-weight: 500;
    width: 215px;
    height: 60px;
    cursor: pointer;
    line-height: 100%;
}

.sale_order_full_table_23 .d-flex.align-items-center.mb-3 .col-auto.pl-0 .btn.btn-lg.btn-success {
    color: #fff;
    font-size: 20px;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    word-wrap: break-word;
    width: 170px;
    height: 45px;
    background: #9f2925;
    border-radius: 0 !important;
}

.sale_order_full_table_23 .widget-paysystem-checkout-sum
{
    font-size: 16px;
    font-family: "Montserrat", sans-serif;
    word-wrap: break-word;
}

@media (max-width: 720px) {
    .sale_order_full_table_23 .d-flex.align-items-center.mb-3 {
        margin: 10px 0 !important;
    }

    .sale_order_full_table_23 .col-auto.pl-0 {
        display: block;
        width: 100%;
        justify-items: center;
    }

    .sale_order_full_table_23 .mb-4 {
        margin: 30px 0;
    }

}

.footer__subscribe--mobile {
    display: none;
}
.footer__subscribe--desktop {
    display: block;
}
@media (max-width: 996px) {
    .footer__subscribe--mobile {
        display: flex; align-items: center; margin-left: 8px;
    }
    .footer__subscribe--desktop { display: none; }
}

/* "Вид отреза" */
.cut-type-cell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.cut-type-cell__value {
    flex: 1 1 auto;
    min-width: 0;
}

.cut-type-help-btn {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid #dbdbdb;
    background: #fff;
    color: #707070;
    font-size: 10px;
    text-align: center;
    cursor: pointer;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
}

.cut-type-help-btn:hover,
.cut-type-help-btn:focus {
    border-color: #9f2925;
    color: #9f2925;
}

.cut-type-help-btn:focus {
    outline: none;
}

.cut-type-help-btn:focus-visible {
    outline: 2px solid rgba(159, 41, 37, 0.25);
    outline-offset: 2px;
}

.cut-type-popover {
    position: fixed;
    z-index: 99;
    padding: 8px 15px;
    border: 1px solid #dbdbdb;
    background: #fff;
    border-radius: 0;
    box-shadow: none;
    font-size: 12px;
    line-height: 1.2;
    color: #000;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.cut-type-popover__text {
    white-space: pre-line;
}

.cut-type-popover__toggle {
    margin-top: 6px;
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: #9f2925;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 12px;
    line-height: 12px;
    height: 16px;
}

.cut-type-popover__toggle-text {
    display: inline-block;
    text-decoration-line: underline;
    text-decoration-style: dashed;
    text-decoration-thickness: 0.5px;
    text-underline-offset: 3px;
}

.cut-type-popover__toggle-icon {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    display: block;
    transform-box: view-box;
    transform-origin: 50% 50%;
}

.cut-type-popover.is-expanded .cut-type-popover__toggle-icon {
    transform: rotate(180deg);
}
