.card__compare.in-compare svg {
    fill: #8BBF1F;
    stroke: #8BBF1F;
    stroke-width: 2px;
}

/* Товары без остатка доступны для запроса аналога, поэтому карточка не блокируется. */
.card.not-available {
    pointer-events: auto;
}

.card.not-available .card__bottom-actions {
    opacity: 1;
}

.card.not-available .card__availability,
.card.card-promo .card__availability.red,
.card__availability.red,
.product__available.class-red {
    color: var(--accent-color) !important;
}

.unavailable-product-notice {
    position: fixed;
    left: 50%;
    bottom: 32px;
    z-index: 1000;
    width: min(560px, calc(100% - 32px));
    padding: 16px 20px;
    border-radius: 6px;
    background: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.unavailable-product-notice.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.delivery-map-label {
    position: absolute;
    left: 50%;
    bottom: 52px;
    transform: translateX(-50%);
    min-width: 178px;
    padding: 10px 14px 11px;
    border: 1px solid rgba(139, 191, 31, .38);
    border-radius: 10px;
    background: linear-gradient(145deg, #ffffff 0%, #f5fbe9 100%);
    box-shadow: 0 8px 24px rgba(34, 36, 39, .18);
    color: #222427;
    font-family: Arial, sans-serif;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
}

.delivery-map-label::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    width: 12px;
    height: 12px;
    border-right: 1px solid rgba(139, 191, 31, .38);
    border-bottom: 1px solid rgba(139, 191, 31, .38);
    background: #f7fcec;
    transform: translateX(-50%) rotate(45deg);
}

.delivery-map-label__title,
.delivery-map-label__distance {
    display: block;
    font-size: 11px;
    font-weight: 500;
}

.delivery-map-label__title {
    margin-bottom: 4px;
    color: #5e6062;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.delivery-map-label strong {
    display: block;
    color: #6f9d16;
    font-size: 21px;
    line-height: 1;
}

.delivery-map-label__distance {
    margin-top: 5px;
    color: #5e6062;
}

.card__image-inner {
    justify-content: center;
}

.card.card-promo .card__availability.red,
.product__available.class-red {
    color: var(--promo-color);
}

.saved-empty.cart-empty {
    margin-block: 0px;
}

.catalog-sortby.active .catalog-sortby__list {
    display: block;
    z-index: 999;
}

.saved-empty.cart-empty svg {
    fill: transparent;
    stroke: var(--dark-color);
    stroke-width: 2px;
    stroke-linecap: round;
    padding-bottom: 40px;
}

.catalog-sortby__item.active {
    color: var(--accent-color);
}

.ymaps-2-1-79-map-copyrights-promo {
    display: none;
}


.card__compare.in-compare:hover svg {
    fill: #5e6062;
    stroke: #5e6062;
    stroke-width: 2px;
}

.product-buttons__item-compare.in-compare svg {
    fill: #8BBF1F;
    stroke: #8BBF1F;
    stroke-width: 2px;
}

.product-slider .swiper-slide img {
    height: 100%;
    object-fit: contain;
}

.product-buttons__item.in-favorite svg {
    fill: #8bbf1f;
}

.product-buttons__item.in-favorite span {
    color: #8bbf1f;
}

.product-buttons__item.in-favorite:hover {
    fill: #5e6062;
}

.product-buttons__item.in-favorite:hover span {
    color: #5e6062;
}

a.product-sides__cart.btn.btn-reset.close-bt-n {
    margin-top: 32px;
}

.product__right {
    width: 270px;
}

.added {
    opacity: 0;
    display: none;
    transition: opacity 0.3s ease-in-out;
}

.added.show {
    display: flex;
    opacity: 1;
}






.basket__title.section-title.to-left {
    width: auto;
}

.card__save.in-favorite svg {
    fill: #8bbf1f;
}

.card__save.in-favorite:hover svg {
    fill: #5e6062;
}

.basket-card__total input {
    width: 25px;
    height: 25px;
    padding: 12px 0;
    border-radius: 4px;
    outline: none;
    border: 1px solid transparent;
    background-color: var(--light-color);
    -webkit-transition: border-color 0.5s ease-in-out;
    transition: border-color 0.5s ease-in-out;
    font-size: 15px;
    font-weight: 400;
    color: var(--shuttle-color);
    resize: none;
    text-align: center;
}

.product-buttons__item.in-compare span {
    color: #8bbf1f;
}

.product-buttons__item.in-compare:hover span {
    color: #5e6062;
}

.product-buttons__item-compare.in-compare:hover svg {
    fill: #5e6062;
    stroke: #5e6062;
    stroke-width: 2px;
}

span#count-compare {
    opacity: 0;
}

.ustanovka {
    display: none;
}

.ustanovka.show {
    display: flex;
}

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

.input-wrapper {
    position: relative;
    display: inline-block;
}

.input-wrapper.error-in input {
    border-color: red;
}

.input-wrapper.error-in::after {
    content: url('/local/templates/main/img/err.png');
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    width: 16px;
    height: 16px;
}











.info-card {
    position: sticky;
    top: 40px;
    padding: 32px;
    max-width: 384px;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 100%;
    flex: 1 1 100%;
    border-radius: 4px;
    background: #fff;
    -webkit-box-shadow: 0 4px 30px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 4px 30px 0 rgba(0, 0, 0, .1);
}

.info-card-header span {
    font-size: 18px;
    font-weight: bold;
}



.hz {
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 130%;
    color: #5E6062;
    padding-bottom: 12px;
}

.hz .mapcont {
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 130%;
    color: #222427;
}

.info-card-header {
    padding-bottom: 20px;
}

.close-button {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.info-card-body {}

.info-card-button {
    width: 100%;
    background: #4CAF50;
    color: white;
    border: none;
    padding: 15px;
    font-size: 16px;
    cursor: pointer;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.info-card-button:hover {
    background: #45a049;
}













.ordering__delivery__price {
    font-size: 25px;
    font-weight: 600;
}

.errors-block {
    padding-top: 10px;
}

.errors-block .err {
    display: flex;
    padding-bottom: 12px;
}

.errors-block .err img {
    width: 16px;
    height: 16px;
    margin-right: 10px;
}

.errors-block .error {
    color: #EB5757;
}

.card__actions.up {
    height: 46px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--accent-color);
    border-radius: 6px;
    color: var(--light-color);
}

.catalog-select__items {
    height: 100%;
    max-height: 220px;
    overflow-y: auto;
}

.search input {
    padding: 32px 64px;
}

@media (max-width: 1400px) {
    .search input {
        padding: 16px 64px;
    }
}

.catalog .card:only-child {
    max-width: 385px;
}

.card__prices {
    width: 100%;
}

.costum_total input {
    padding: 0 0;
    height: 20px;
    width: 10px;
}

.basket-card_tu {
    padding: 0 40px 0;
    position: relative;
    border-bottom: 1px solid var(--mischka-color);
}


div.title-search-result {
    border: 1px solid #c6c6c6;
    display: none;
    overflow: hidden;
    z-index: 205;
}

table.title-search-result {
    border-collapse: collapse;
    border: none;
    width: 10%;
}

table.title-search-result th {
    background-color: #F7F7F7;
    border-right: 1px solid #e8e8e8;
    color: #949494;
    font-weight: normal;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 14px;
    padding-right: 12px;
    text-align: right;
    vertical-align: top;
    white-space: nowrap;
    width: 1%;
}

table.title-search-result td {
    background-color: white;
    color: black;
    font-weight: normal;
    padding-top: 2px;
    padding-bottom: 2px;
    text-align: left;
    white-space: nowrap;
}

table.title-search-result td.title-search-item {
    padding-left: 8px;
    padding-right: 15px;
}

table.title-search-result td.title-search-item a {
    padding-left: 4px;
    padding-right: 15px;
    text-decoration: none;
    color: black;
    vertical-align: top;
    display: block;
}

table.title-search-result td.title-search-item img {
    vertical-align: top;
}

table.title-search-result td.title-search-item b {
    color: #cf0000;
    font-weight: normal;
}

table.title-search-result tr.title-search-selected td,
table.title-search-result tr.title-search-selected a,
table.title-search-result tr.title-search-selected td.title-search-more a {
    background-color: #fff2be;
}

table.title-search-result td.title-search-more {
    font-size: 11px;
    font-weight: normal;
    padding-right: 15px;
    padding-left: 24px;
    padding-top: 0px;
}

table.title-search-result td.title-search-more a {
    padding-left: 12px;
    padding-right: 15px;
    text-decoration: none;
    color: #999999;
}

table.title-search-result td.title-search-all {
    padding-left: 24px;
    padding-right: 15px;
}

table.title-search-result td.title-search-all a {
    padding-left: 4px;
    text-decoration: none;
    color: #808080;
}

table.title-search-result td.title-search-separator,
table.title-search-result th.title-search-separator {
    padding-top: 0px;
    padding-bottom: 0px;
    font-size: 4px;
}

div.title-search-fader {
    display: none;
    background-image: url('images/fader.png');
    background-position: right top;
    background-repeat: repeat-y;
    position: absolute;
}

.btn-remove__span:after {
    display: inline-block;
    content: "\00d7";
    cursor: pointer;
}

.btn-remove__span {
    top: 5px;
    position: absolute;
    right: 5px;
    scale: 1.4;
}

.promotion_label__aktsiya {

    background-color: #EB5757 !important;
    color: #fff;
}

.promotion_label__new {
    background-color: #8bbf1f !important;
    color: #fff;
}

.promotion_label__hit {
    background-color: var(--orange-color) !important;
    color: #000 !important;
}

.product_promotions--mass {
    margin: 20px 0 20px;
}


.actions__cabinet span.griin {
    width: 6px;
    height: 6px;
    border-radius: 100%;
    background-color: var(--accent-color);
    -webkit-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
}

.actions__cabinet {
    position: relative;
    display: flex;
}


@media (max-width: 960px) {
    .order-button-mob {
        display: none;
    }
}

.footer__privacy {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (1fr)[3];
    grid-template-columns: repeat(4, 1fr);
}

/* Цена выбранного торгового предложения подгружается после выбора размера.
   Не показываем временное значение 0 ₽ из устаревшей разметки. */
#polotno:not(.is-price-ready),
#price_teles:not(.is-price-ready),
#set_price:not(.is-price-ready) {
    visibility: hidden;
}

.is-price-unavailable {
    font-size: 26px !important;
    line-height: 1.15;
    white-space: nowrap;
}

#productMore #price_teles.is-price-unavailable {
    font-size: 16px !important;
    white-space: nowrap;
}

.product-sides__cart.is-cart-price-unavailable {
    pointer-events: none;
    opacity: .55;
    cursor: not-allowed;
}

.product-set__item {
    -ms-grid-columns: 48px 1fr 125px;
    grid-template-columns: 48px 1fr 125px;
}
.basket-card__product-link {
	display: block;
}

.basket-card__image .basket-card__product-link {
	width: 100%;
	height: 100%;
}

.basket-card__name.basket-card__product-link {
	transition: color .25s ease-in-out;
}

.basket-card__name.basket-card__product-link:hover {
	color: var(--accent-color);
}

/* Изображение товара остаётся внутри собственной области карточки даже при
   эффектах наведения и не перекрывает соседние товары. */
.catalog__cards .card__image-inner {
    position: relative;
    overflow: hidden;
}

.catalog__cards .card__image-inner img {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.catalog-tag-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 32px 0 0;
    padding: 20px;
    border: 1px solid var(--mischka-color);
    background: var(--whisper-color);
}

.catalog-tag-links--under-filter {
    gap: 10px;
    margin: 14px 0;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.catalog-tag-links--under-filter .catalog-tag-links__item {
    min-height: 43px;
    padding: 0 16px;
    border: 0;
    border-radius: 4px;
    background: var(--whisper-color);
    color: var(--dark-color);
    font-size: 15px;
}

.catalog-tag-links__item {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 7px 14px;
    border: 1px solid #dfe0e4;
    border-radius: 4px;
    background: var(--light-color);
    color: var(--dark-color);
    font-size: 14px;
    line-height: 1.2;
    transition: border-color .25s ease-in-out, color .25s ease-in-out, background-color .25s ease-in-out;
}

.catalog-tag-links__item:hover,
.catalog-tag-links__item:focus-visible {
    border-color: var(--accent-color);
    background: #f0f8df;
    color: var(--accent-color);
}

@media (max-width: 576px) {
    .catalog-tag-links {
        gap: 6px;
        margin-top: 20px;
        padding: 12px;
    }

    .catalog-tag-links__item {
        min-height: 32px;
        padding: 6px 10px;
        font-size: 12px;
    }
}

.catalog-tag-admin {
    margin-top: 24px;
    padding: 16px 20px;
    border: 1px dashed var(--accent-color);
    background: #fbfdf7;
}

.catalog-tag-admin__title {
    display: block;
    margin-bottom: 6px;
}

.catalog-tag-admin__hint {
    margin: 0 0 12px;
    color: var(--shuttle-color);
    font-size: 14px;
}

.catalog-tag-admin__controls,
.catalog-tag-admin__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.catalog-tag-admin__input {
    flex: 1 1 260px;
    height: 40px;
    border-color: var(--mischka-color);
}

.catalog-tag-admin__button {
    min-height: 40px;
    height: 40px;
}

.catalog-tag-admin__message {
    display: block;
    min-height: 18px;
    margin-top: 8px;
    color: var(--shuttle-color);
    font-size: 13px;
}

.catalog-tag-admin__saved {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border-radius: 4px;
    background: var(--light-color);
    font-size: 13px;
}

.catalog-tag-admin__delete {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    color: var(--shuttle-color);
    font-size: 20px;
    line-height: 16px;
}

.catalog-tag-admin__delete:hover {
    background: #f5d9d9;
    color: #bd3030;
}

/* Пустая выдача каталога после применения фильтра. */
.catalog__cards .catalog-empty {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 56px 24px;
    border-top: 1px solid var(--mischka-color);
    border-bottom: 1px solid var(--mischka-color);
    background: var(--light-color);
    text-align: center;
}

.catalog-empty__icon {
    position: relative;
    width: 68px;
    height: 68px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: #f1f7e5;
}

.catalog-empty__icon::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 18px;
    width: 22px;
    height: 22px;
    border: 3px solid var(--accent-color);
    border-radius: 50%;
}

.catalog-empty__icon::after {
    content: "";
    position: absolute;
    top: 41px;
    left: 41px;
    width: 14px;
    height: 3px;
    border-radius: 2px;
    background: var(--accent-color);
    transform: rotate(45deg);
    transform-origin: left center;
}

.catalog-empty__title {
    margin: 0;
    color: var(--dark-color);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.25;
}

.catalog-empty__text {
    max-width: 540px;
    margin: 12px 0 24px;
    color: var(--shuttle-color);
    font-size: 16px;
    line-height: 1.5;
}

.catalog-empty__reset {
    min-width: 188px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    text-decoration: none;
}

@media (max-width: 576px) {
    .catalog__cards .catalog-empty {
        min-height: 280px;
        padding: 44px 20px;
    }

    .catalog-empty__icon {
        width: 60px;
        height: 60px;
        margin-bottom: 18px;
    }

    .catalog-empty__icon::before {
        top: 16px;
        left: 16px;
        width: 20px;
        height: 20px;
    }

    .catalog-empty__icon::after {
        top: 37px;
        left: 37px;
        width: 12px;
    }

    .catalog-empty__title {
        font-size: 20px;
    }

    .catalog-empty__text {
        margin-bottom: 20px;
        font-size: 14px;
    }
}
