/*Делаем брендовые цвета*/
html {
    --brand-primary: #51372c;
    --brand-bg: #fbf9f5;
    --brand-link: #800D08;
}
body,
.t706__cartpage,
.t706__cartpage-top,
.t1002__wishlistwin-content,
.t706__sidebar-content,
.t706__cartpage-totals,
.js-product .t-product__option-variants_buttons .t-product__option-item_simple,
.t-search-widget__popup {
    background-color: var(--brand-bg) !important;
}
.t-checkbox__indicator,
.t-checkbox__indicator:after,
.js-product .t-product__option-variants_buttons .t-product__option-item_simple {
    border-color: var(--brand-primary) !important;
}
.t-store__filter__range_bg {
    background-color: var(--brand-primary) !important;
}
.js-product .t-product__option-selected_select:after {
    border-color: var(--brand-primary) transparent transparent transparent !important;
}
/*.js-product .t-product__option-variants_buttons .t-product__option-item_simple {*/
/*    opacity: 0.50;*/
/*}*/
.js-product .t-product__option-variants_buttons .t-product__option-item_simple.t-product__option-item_active {
    /*opacity: 1;*/
    background-color: var(--brand-primary) !important;
    color: #ffffff !important;
}
.js-product .t-product__option-variants_buttons .t-product__option-item_simple.t-product__option-item_active > span {
    /*opacity: 1;*/
    background-color: var(--brand-primary) !important;
    color: #ffffff !important;
}
.js-product .t-product__option-variants_custom .t-product__option-item.t-product__option-item_disabled {
    opacity: 0.25 !important;
}
svg.t-store__tabs__close-icon > g > g {
    stroke: var(--brand-primary) !important;
}
.t-store .t-store__tabs__close:after {
    background-color: transparent !important;
}
.t706__product-title,
.t706__cartwin-prodamount-wrap,
.t706__cartwin-totalamount-wrap, 
span.delivery-checkbox-label,
.t1002__product-title,
.t706__sidebar-prodamount-wrap {
    font-weight: 400 !important;
}

/*
Перемещаем табы (аккордеон) в карточке товара направо.
*/
/*@media screen and (min-width: 981px) {*/
/*    .t-store .t-store__tabs {*/
/*        width: 100% !important;*/
/*        display: block !important;*/
/*        margin-top: 20px !important;*/
/*        max-width: calc(5 / 12 * 100% - 40px) !important;*/
/*    }*/
/*    .t-store__product-popup {*/
/*        display: block!important;*/
/*    }*/
/*    .t-store__product-snippet .t-container>div:after, .t-store__product-popup>div:after {*/
/*        clear: unset !important;*/
/*    }*/
/*}*/

/*
Делаем пометку в каталоге длинной
*/
.t-store__card__mark {
    width: unset !important;
    height: 24px !important;
    border-radius: 4px;
    padding-bottom: 1px;
    font-weight: 300;
}
.t-store__card__mark-wrapper {
    top: unset;
    bottom: 5px;
    left: 5px !important;
}

/*Верхний отступ на странице товара*/
.t-store__prod-snippet__container {
    padding-top: 0px;
}
@media screen and (min-width: 981px) {
    .t-store__prod-snippet__container {
        padding-top: 60px;
    }
}

/*Скрыть характеристики и бренд на странице товара, скрыть краткое описание в каталоге и поиске*/
.js-store-prod-all-charcs,
.js-store-prod-descr.t-store__card__descr,
span[itemprop="brand"], 
.t-search-widget__result_product-desc.t-descr.t-descr_xs {
    display: none !important;
}

/*Высокий контейнер фильтра*/
.t-store__filter__item-controls-container[data-type="selectbox"] {
    max-height: 300px !important;
}

/*Убрать кнопку избранного в списке товаров*/
.t-store__card__imgwrapper .t1002__addBtn:not(.t1002__addBtn_active) {
    display:none;
}

/*3/4 картинки в поиске*/
.t-search-widget__result_product-img {
    height: unset !important;
    aspect-ratio: 3 / 4;
}

/*Фикс отступов в мобильном каталоге*/
@media screen and (max-width: 960px) {
    .js-store-cont-w-filter.t951__cont-w-filter.t-store__grid-cont.t-store__grid-cont_col-width_stretch.t-container {
        padding: 0 !important;
    }
    .js-store-parts-select-container.t951__sidebar.t951__sidebar_sticky {
        padding: 16px !important;
    }
}



/*Перерисовываем Долями в каталоге*/
.digi-dolyame-label.digi-dolyame-label--3 {
  background: none !important;
  padding: 0 0 5px 0 !important;
  border-bottom: 1px solid #51372c !important;
  border-radius: 0 !important;
}

.digi-dolyame-label__text,
.digi-dolyame-label__text>span {
  font-weight: 500 !important;
  color: #51372c !important;
  font-family: 'TildaSans', Arial, sans-serif !important;
}

.digi-dolyame-label__text {
  margin-left: 7px !important;
}

svg.digi-dolyame-logo_small {
  zoom: 2;
  margin: -4px !important;
}

.digi-dolyame-logo_small>rect {
  fill: none !important;
}
.digi-dolyame-logo_small>path {
  fill: #51372c !important;
}