.blog-iframe__video iframe {
    position:absolute;
    top:0;
    left:0;
    height:100%;
    width: 100%;
    margin: 0;
}
.blog-iframe__video {
    position:relative;
    padding-bottom:56.25%;
    height:0;
    overflow:hidden;
    margin: 15px 0 15px 0;
    transform: translateZ(0px);
    border-radius: 15px;
}
.producers-list__item img {
    max-height: 100%;
}

.form_error {
    color: var(--red-color);
    display: none;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

.form-row select, .product-detail select, .filter select {
    display: block;
    font-size: 14px;
    color: #444;
    line-height: 1.3;
    padding: 15px 10px;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    border: 1px solid var(--light-grey-color);
    border-radius: 7px;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%236D6D6D%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.form-row select::-ms-expand, .product-detail select::-ms-expand, .filter select::-ms-expand { display: none; }

.form-row select option, .product-detail select option, .filter select option {
    font-weight:normal;
    border: 1px solid var(--light-grey-color);
}
.filter select {
    padding: 7px 10px;
    margin-top:10px;
}
*[dir="rtl"] .select-css, :root:lang(ar) .select-css, :root:lang(iw) .select-css {
    background-position: left .7em top 50%, 0 0;
    padding: .6em .8em .5em 1.4em;
}

.form_support {
    width: 100%;
    max-width: 100%;
    padding: 24px 35px;
    border-radius: 15px;
    background: var(--white-color);
    align-self: center;
    display: flex;
    flex-direction: column;
}
.form_support h4 {
    font-size: 1.25rem;
    text-align: center;
}
.form_support .textfield, .form_support .textarea {
    margin-bottom: 18px;
}
@media (max-width: 767.98px) {
    .form_support {
        padding: 23px;
    }
}

.textarea_grid {
    grid-column: 1/3;
    grid-row: 2/4;
}

.support_equipment_section {
    display: flex;
    flex-direction: row;
}
.support_equipment_section__right {
    flex-grow: 1;
}
.support_equipment_section__right div, .support_equipment_section__right label, .support_equipment_section__right textarea{
    height: calc(100% - 0.03rem);
}

.form__input-file {
    overflow: visible!important;
    padding: 15px 10px;
    border-radius: 7px;
    border: 1px solid var(--light-grey-color);
    width: 100%;
    background: var(--white-color);
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.form__input-file:hover .input-file__btn {
    background: var(--primary-color-2);
    color: var(--white-color);
}
.form__input-file__input {
    left: 0;
    height: 120%;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 120%;
    z-index: 5;
}
.form__input-file__value {
    flex: 1;
    font-size: 0.8rem;
    overflow: hidden;
    padding-top: 2px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.form__input-file__btn {
    align-self: center;
    background: var(--primary-color);
    color: var(--white-color);
    display: flex;
    font-size: 1.125rem;
    font-weight: 600;
    justify-content: start;
    line-height: 1.55;
    padding: 11px 15px 10px;
    margin: -15px -10px;
    border-radius: 6px;
}
.form__input-file__btn .icon {
    height: 24px;
    width: 24px;
    display: flex;
    margin-inline-end: 10px;
}
@media (max-width: 991.98px) {
    .form__input-file__btn span {
        display: none;
    }
    .form__input-file__btn .icon {
        margin-inline-end: 0;
        margin: 2px 0;
    }
}
.product-item__btn__wrap {
    width: 100%;
}
.product-item-button-container {
    width: 100%;
}
.product-item-button-container .btn {
    margin: 0;
}
.product-item-button-container .btn-link {
    max-width: 260px;
    width: 100%;
}
.hidden {
    display: none;
}
.popup-window {
    border-radius: 15px;
    display: block;
    max-width: 450px;
    padding: 24px !important;
    width: 450px;
}
.popup-window-titlebar-text {
    width: 100%;
    text-align: center;
}
.popup-window-buttons {
    display: flex;
    justify-content: space-between;
}

.bx_soa_location .form-check-group {
    display:none;
}
#bx-soa-properties.bx-soa-section {
    border: 0;
    margin: 0;
}
#bx-soa-properties .bx-soa-section-title-container {
    display:none!important;
}
.bx-soa-location-input-container[data-property-id-row="4"], .bx-soa-location-input-container[data-property-id-row="16"]{
    display:none;
}
#bx-soa-main-notifications {
    display: none;
}
.bx-soa-coupon .bx-soa-coupon-input {
    width: 100%;
}
.bx-soa-coupon .textfield__input {
    height: 40px;
}
.popup-window {
    max-width: 100%;
}
.bx-filter-parameters-box .bx-filter-parameters-box-title {
    cursor: pointer;
}

.stock-slider-wrapper {
    overflow: hidden;
    position: relative;
}
@media (min-width: 992px) {
    .stock-slider-wrapper {
        margin: 0 -32px -24px;
        padding: 0 32px 24px;
    }
}
.stock-slider {
    display: block;
    position: relative;
}
.stock-slider_horizontal {
    touch-action: pan-y;
}
.stock-slider__wrapper {
    display: flex;
    position: relative;
    width: 100%;
    z-index: 1;
}
.stock-slider__item {
    min-height: 100%;
    width: 100%;
    display: block;
    flex-shrink: 0;
}
.stock-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
@media (max-width: 991.98px) {
    .stock-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575.98px) {
    .stock-list {
        grid-template-columns: repeat(1, 1fr);
    }
}
.stock-list-item {
    background: transparent;
    border-radius: 15px;
    box-shadow: 0 0 0 rgba(12, 12, 13, 0);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 6px;
    transition: all var(--transition-speed);
    width: 100%;
}
.stock-list-item:hover {
    background: var(--white-color);
    box-shadow: 0 6px 15.2px 6px rgba(12, 12, 13, 0.1);
    text-decoration: underline;
}
.stock-list-item:hover .stock-list-item__img {
    transform: scale(1.05);
}
.stock-list-item__img {
    height: 100%;
    width: 100%;
    display: block;
    left: 0;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    position: absolute;
    top: 0;
    transform: scale(1);
    transition: transform var(--transition-speed);
    z-index: 1;
}
.stock-list-item__img-wrap {
    border-radius: 15px;
    display: block;
    margin-bottom: 6px;
    overflow: hidden;
    padding-top: 69.4444444%;
    position: relative;
}
.stock-list-item__location {
    background: var(--primary-color);
    border-radius: 9px;
    color: var(--white-color);
    font-size: 16px;
    font-weight: 700;
    left: 16px;
    line-height: 1.2;
    max-width: calc(100% - 50px);
    padding: 5px 10px;
    position: absolute;
    top: 16px;
    z-index: 3;
}
@media (max-width: 575.98px) {
    .stock-list-item__location {
        font-size: 14px;
        max-width: calc(100% - 40px);
        padding: 5px 8px;
    }
}
.stock-list-item__name {
    align-items: center;
    background: #f5f5f5;
    border-radius: 15px;
    box-sizing: border-box;
    color: var(--text-color);
    display: flex;
    flex: 1;
    font-size: 1rem;
    font-weight: 700;
    justify-content: center;
    line-height: 1.2;
    padding: 6px;
    text-align: center;
    width: 100%;
}
.bottom-panel__navigation-item-link._cart._has_products::after {
    animation: pulse 1s;
    opacity: 1;
}
.partners .about__head-text {
    max-width: 100%;
}

.partner-wide-mini {
    border: 1px solid #dedede;
    border-radius: 4px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    padding: 0 0 0 298px;
    -webkit-transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    margin: 0 0 32px 0;
}
.partner-wide-mini:hover {
    background: #fff;
    border-color: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

@media (pointer:coarse) {
    .partner-wide-mini:hover {
        border-color: #dedede;
        box-shadow: none;
        z-index: auto;
    }
}
.partner-wide-mini .logo {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    text-align: center;
    font-size: 0;
    padding: 40px;
    background: #eff5f5;
    border-radius: 3px 0 0 3px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 298px;
}
.partner-wide-mini .logo > * {
    height: 114px;
    line-height: 114px;
}
.partner-wide-mini .logo img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 80%;
    vertical-align: middle;
}
.partner-wide-mini .l {
    font-size: 16px;
    line-height: 21px;
    color: #555353;
    width: 50%;
    padding: 33px 42px;
}
.partner-wide-mini .type {
    font-weight: 500;
    font-size: 12px;
    line-height: 14px;
    color: #3ebec4;
    margin: 0 0 10px 0;
}
.partner-wide-mini .name {
    font-weight: 500;
    font-size: 22px;
    line-height: 1.185;
    color: #444444;
    margin: 0 0 6px 0;
}
.partner-wide-mini .photos-mini {
    margin-top: 15px;
}
.partner-wide-mini .r {
    position: relative;
    width: 50%;
    padding: 30px 40px;
}
.partner-wide-mini .r:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 1px;
    background: #dedede;
    margin: 33px 0;
}
.partner-wide-mini .info {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 21px;
    color: #555353;
}
.partner-wide-mini .info li:before {
    display: none;
}
.partner-wide-mini .info li {
    margin: 10px 0 0 0;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.partner-wide-mini .info li:first-child {
    margin-top: 0;
}
.partner-wide-mini .info li > * {
    width: calc(100% - 78px);
}
.partner-wide-mini .info .label {
    font: inherit;
    font-weight: 500;
    color: #444444;
    margin: 0;
    width: 78px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    padding: 0 10px 0 0;
}
.partner-wide-mini .info a {
    text-decoration: none;
}
.partner-wide-mini .info a:hover {
    text-decoration: underline;
}
@media only screen and (max-width: 1100px) {
    .partner-wide-mini {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        margin-bottom: 16px;
    }
    .partner-wide-mini .l, .partner-wide-mini .r {
        padding-left: 40px;
        padding-right: 40px;
    }
    .partner-wide-mini .l {
        width: auto;
        padding-top: 27px;
        padding-bottom: 0;
    }
    .partner-wide-mini .name {
        font-size: 20px;
    }
    .partner-wide-mini .photos-mini {
        margin-top: 16px;
    }
    .partner-wide-mini .r {
        width: auto;
        padding-top: 24px;
        padding-bottom: 27px;
    }
    .partner-wide-mini .r:before {
        display: none;
    }
    .partner-wide-mini .info {
        list-style: none;
        margin: 0;
        padding: 0;
        font-size: 14px;
        line-height: 21px;
        color: #555353;
    }
    .partner-wide-mini .info li:before {
        display: none;
    }
    .partner-wide-mini .info li {
        margin: 10px 0 0 0;
        padding: 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    .partner-wide-mini .info li:first-child {
        margin-top: 0;
    }
    .partner-wide-mini .info li > * {
        width: calc(100% - 78px);
    }
    .partner-wide-mini .info .label {
        font: inherit;
        font-weight: 500;
        color: #444444;
        margin: 0;
        width: 78px;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        padding: 0 10px 0 0;
    }
    .partner-wide-mini .info a {
        text-decoration: none;
    }
    .partner-wide-mini .info a:hover {
        text-decoration: underline;
    }
}
@media only screen and (max-width: 764px) {
    .partner-wide-mini {
        padding-left: 0;
    }
    .partner-wide-mini .logo {
        position: relative;
        top: auto;
        left: auto;
        bottom: auto;
        border-radius: 3px 3px 0 0;
        height: auto;
        width: auto;
        padding: 30px;
        display: block;
    }
    .partner-wide-mini .logo > * {
        height: 80px;
        line-height: 80px;
        display: block;
    }
    .partner-wide-mini .l, .partner-wide-mini .r {
        padding-left: 20px;
        padding-right: 20px;
    }
    .partner-wide-mini .l {
        padding-top: 24px;
    }
    .partner-wide-mini .r {
        padding-top: 20px;
    }
    .partner-wide-mini .type {
        margin-bottom: 12px;
    }
    .partner-wide-mini .name {
        margin-bottom: 8px;
    }
    .partner-wide-mini .photos-mini {
        margin-top: 18px;
    }
    .partner-wide-mini .info li:before {
        display: none;
    }
    .partner-wide-mini .info li {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .partner-wide-mini .info li > * {
        width: auto;
    }
    .partner-wide-mini .info .label {
        width: auto;
        padding: 0;
    }
}


.halves {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 30px;
    flex-direction: row;
    flex-wrap: wrap;
}
.halves .half {
    flex: 1;
    display: flex;
    align-items: center;
}

.halves .half .btn {
    width: 100%;
}

/* Адаптация на мобильных устройствах */
@media (max-width: 768px) {
    .halves {
        flex-direction: column;
    }

    .halves .half {
        width: 100%;
    }
}

.content-search {
    display: flex;
    position: relative;
    flex: 1;
}
.content-search__form {
    display: flex;
    flex: 1;
}
.content-search__input, .content-search .search-suggest {
    background: var(--white-color);
    border: 1px solid var(--light-grey-color);
    border-radius: 7px;
    color: var(--text-color);
    display: block;
    flex: 1;
    font-family: var(--font-default);
    font-size: 1rem;
    font-weight: 500;
    height: 55px;
    line-height: 1.35;
    outline: none;
    padding: 0.71em 60px 0.705em 1em;
    width: 100%;
}
.content-search__input::-moz-placeholder {
    color: var(--light-grey-color);
}
.content-search__input::placeholder {
    color: var(--light-grey-color);
}
/*
.content-search__input:-moz-placeholder-shown + .content-search__actions .content-search__reset-wrap {
    display: none;
}
.content-search__input:placeholder-shown + .content-search__actions .content-search__reset-wrap {
    display: none;
}
 */
.content-search__actions {
    align-items: center;
    display: flex;
    gap: 6px;
    justify-content: end;
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
}
.content-search__btn {
    height: 18px;
    width: 18px;
    background: transparent;
    border: none;
    color: var(--grey-color);
    display: block;
    outline: none;
    padding: 0;
}
.content-search__btn:hover {
    color: var(--primary-color);
}
.content-search__btn:active {
    color: var(--primary-color);
}
.content-search__reset {
    height: 21px;
    width: 21px;
    display: block;
}
.content-search__reset-wrap {
    border-inline-end: 1px solid var(--light-grey-color);
    padding-inline-end: 10px;
}
.w100 {
    width:100%;
}
.my-orders__item-block-pay .btn {
    height: 28px;
    width: 100px;
}
.dialog__footer {
    display: flex;
}
.modal-dialog.modal-content {
    border: 0;
}
/*
.smart-captcha {
    height: 102px!important;
}
 */
.captcha-error {
    outline: 2px solid red;
    animation: shake 0.3s ease-in-out 2;
    border-radius: 12px;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
}
.review-item .star-rating {
    max-width: 100px;
}



/* Отзывы — финальный фикс */
.reviews-slider-item__text{
    /* стандартный мультилайн-кламп */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 12;
    overflow: hidden;
    /* нормальные переносы длинных слов/ссылок */
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    /* небольшой зазор снизу против пиксельного среза хвостиков */
    padding-bottom: .25em;
}

.reviews-slider-item__text p + p::before{ content:" "; }

.smart-filter-popup-result {
    display: none!important;
}

.textfield .js-ms { display:block; margin-top:.4rem; }

.ms-item{display:flex;align-items:center;gap:.5rem;margin:.4rem 0}
.ms-item select{flex:1;min-width:280px}
.ms-controls{display:flex;align-items:flex-start;gap:.75rem;margin-top:.3rem}
.ms-desc{display:block;line-height:1.3;color:#666;max-width:60%}
.ms-remove{border:0;background:#eee;border-radius:6px;padding:.2rem .5rem;cursor:pointer}
.ms-remove:hover{background:#ddd}
.ms-controls {
    display: flex;
    align-items: flex-start; /* описание выровнено по верху кнопки */
    gap: 0.75rem;            /* расстояние между кнопкой и описанием */
    margin-top: .3rem;
}

.ms-desc {
    display: block;
    max-width: 60%;   /* ограничение ширины, чтобы не разъезжалось */
    line-height: 1.3; /* читаемее при переносах */
    color: #666;
}


.service-contracts {
    margin-bottom: 60px;
}
.service-contracts-title {
    margin-bottom: 32px;
}
/* Чтобы все карточки были одинаковой высоты */
.service-contracts-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch; /* важное — растягиваем все .item до одинаковой высоты */
}
@media (max-width: 991.98px) {
    .service-contracts-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 8px;
    }
}
@media (max-width: 767.98px) {
    .service-contracts-list {
        grid-template-columns: repeat(1, 1fr);
    }
}
.service-contracts-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* растягиваем: верхняя часть и низ */
    align-items: center;            /* всё по центру по горизонтали */
    text-align: center;
    padding: 32px;
    border-radius: 15px;
    border: 1px solid var(--grey-line);
    background: linear-gradient(rgba(255,255,255,0.6), rgba(255,255,255,0.3)), url("/local/templates/dentex/png/installment-bg-lg.png") repeat right center/auto 100%;
    background-color: var(--white-color);
}

.service-contracts-item img,
.service-contracts-item h3,
.service-contracts-item .text,
.service-contracts-item a {
    margin-bottom: 16px; /* равномерные отступы */
}

.service-contracts-item .btns {
    margin-top: auto; /* прибивает кнопку вниз */
}
.contract-dialog .modal-content {
    border: 0;
}
.contract-dialog .modal-title {
    background-color: white;
    font-size: 30px;
}
.full-price {
    text-align: center;
    align-items: center;
    margin-bottom: 3rem;
}
.full-price .btn {
    margin: auto;
    width: 288px;
}

.product-top__attention-note {
    margin-bottom: 16px;
    color: var(--red-color);
    font-weight: bold;
}

.profile__content {
    flex: 1 1 auto;
    min-width: 0;
}

.page_banner {
    object-fit: cover;
    object-position: center;
    width: 100%;
    margin-bottom: 3rem;
}
.page_banner img {
    border-radius: 15px;
    width: 100%;
}
.scroll-top .link-up {
    margin-bottom: 55px;
    z-index: 1001;
}
.link-up {
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: fixed;
    z-index: 100;
    bottom: 0;
    left: 0;
    margin: 14px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.5);
    -webkit-transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    -webkit-transform: scale(0) rotate(-360deg);
    transform: scale(0) rotate(-360deg);
}
.scroll-top .link-up {
    -webkit-transform: scale(1) rotate(0deg);
    transform: scale(1) rotate(0deg);
}
.link-up:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border-radius: 50%;
    background: url(../img/slider-arr-small-left.svg) no-repeat 45% 50%;
    background-size: auto 14px;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    -webkit-transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}
.link-up:hover:before {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}
body.new_year {
    background-image: linear-gradient( rgba(245, 245, 245, 0.6), rgba(255, 255, 255, 0.8) ), url('/upload/spring.png')
}

body.summer {
    background-image: linear-gradient( rgba(240, 240, 240, 0.7), rgba(255, 255, 255, 0.9) ), url('/upload/summer.webp');
}

body.autumn {
    background-image: linear-gradient( rgba(240, 240, 240, 0.7), rgba(255, 255, 255, 0.9) ), url('/upload/autumn.png');
}

#altasib_SendErrorOk span b {
    color: var(--primary-color)!important;
}

#altasib_ErrorWindow_ok .popup-window-buttons {
    margin: auto;
}

#altasib_ErrorWindow_ok .webform-button-link-cancel {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: auto;
    padding: 8px 16px;
    font-weight: 400;
    font-size: 13px;
    line-height: 19px;
    color: rgba(0, 0, 0, 0.65);
    background-color: transparent;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 7px;
}

.altasib_ErrorTitleBar b {
    color: var(--primary-color)!important;
    margin-bottom: 2rem;
}
#altasib_ErrorWindow .webform-button-link-cancel {
    align-items: center;
    background-color: transparent;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 7px;
    box-shadow: none;
    box-sizing: border-box;
    color: rgba(0, 0, 0, 0.65);
    cursor: pointer;
    display: flex;
    font-family: var(--font-title);
    font-size: 0.875rem;
    font-weight: 600;
    height: 40px;
    line-height: 1em;
    justify-content: center;
    max-width: 100%;
    outline: none;
    padding: 0.55em 0.8em 0.5em;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}
#altasib_ErrorWindow .popup-window-button-accept {
    align-items: center;
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 7px;
    box-shadow: none;
    box-sizing: border-box;
    color: var(--white-color);
    cursor: pointer;
    display: flex;
    font-family: var(--font-title);
    font-size: 0.875rem;
    font-weight: 600;
    height: 40px;
    line-height: 1em;
    justify-content: center;
    max-width: 100%;
    outline: none;
    padding: 0.55em 0.8em 0.5em;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}
#altasib_ErrorWindow .popup-window-buttons {
    padding: 20px 0 20px 20px!important;
}

.product-item:focus,
.product-item:focus-within {
    outline: none;
    box-shadow: none;
}

.product-item [data-toggle-favorite]:focus {
    outline: none;
    box-shadow: none;
}

.pay_system_button input[type="submit"] {
    align-items: center;
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 7px;
    box-shadow: none;
    box-sizing: border-box;
    color: var(--white-color);
    cursor: pointer;
    display: flex;
    font-family: var(--font-title);
    font-size: 0.875rem;
    font-weight: 600;
    height: 40px;
    line-height: 1em;
    justify-content: center;
    max-width: 100%;
    outline: none;
    padding: 0.55em 0.8em 0.5em;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}
.pay_system_button input[type="submit"]:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
}

.our-addresses__block-info .more-info {
    margin-bottom: 0.75em;
}

.image-slider {
    position: relative;
}

.image-slider__wrapper {
    position: relative;
}

.image-slider .slider-action {
    top: 50%;
    transform: translateY(-50%);
}

.image-slider .slider-action._prev {
    left: 0;
    transform: translate(-50%, -50%);
}

.image-slider .slider-action._next {
    right: 0;
    transform: translate(50%, -50%);
}
.image-slider .slider-action._prev .icon path {
    transform: translateX(-1px);
}

.image-slider .slider-action._next .icon path {
    transform: translateX(1px);
}

.search-title-result-item-image-container {
    width: 70px;
    min-width: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-title-result-item-image {
    width: 54px;
    height: 54px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.search-title-result-item-current-price {
    color: var(--primary-color);
}

.ajax-loader {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(255, 255, 255, 0.65);
}

.ajax-loader.active {
    display: block;
}

.ajax-loader__spinner {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 1000000;
    width: 38px;
    height: 38px;
    margin: -19px 0 0 -19px;
    border: 4px solid var(--light-grey-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: ajax-loader-spin 0.8s linear infinite;
}

@keyframes ajax-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Слайдер блога / видео на главной */
.section_blog .blog-slider__item {
    max-width: 100%;
}

.section_blog .blog-slider-item {
    width: 100%;
}

/* Rutube: первый слайд карточки, Play и отметка в товарных списках */
.product-main-slider__link_video {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #161616;
    border-radius: 15px;
}
.product-main-slider__link_video .product-main-slider__img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
}
.product-video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: white;
    pointer-events: none;
    transition: background-color .2s ease;
}
.product-video-play svg { width: 34px; height: 34px; display: block; margin: 0; }
.product-main-slider__link_video:hover .product-video-play {
    background: var(--primary-color);
}
.product-video-thumb-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    padding-left: 2px;
    color: #fff;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 50%;
    font-size: 12px;
    pointer-events: none;
}
.product-item__video-mark {
    position: absolute;
    left: 8px;
    right: auto;
    top: 9px;
    z-index: 3;
    width: 27px;
    height: 24px;
    color: var(--blue-color);
    pointer-events: none;
}
.specials-item__img-wrap { position: relative; }
.specials-item__video-mark {
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 2;
    color: var(--blue-color);
    pointer-events: none;
}
.specials-item__video-mark-icon { display: block; width: 27px; height: 24px; }
.header-filled-action__item-img-wrap { position: relative; }
.header-filled-action__video-mark {
    position: absolute;
    left: 0;
    right: auto;
    top: 0;
    z-index: 2;
    color: var(--blue-color);
    pointer-events: none;
}
.header-filled-action__video-mark svg { width: 20px; height: 18px; }

.product-item__video-mark .icon, .specials-item__video-mark .icon {
    display: block;
    width: 27px;
    height: 24px;
}
.header-filled-action__video-mark .icon {
    display: block;
    width: 20px;
    height: 18px;
}

/* Камера в списках: принудительная сплошная заливка фигур SVG. */
.product-item__video-mark .icon > *,
.specials-item__video-mark .icon > *,
.header-filled-action__video-mark .icon > * {
    fill: currentColor;
    stroke: none;
}


/* Rutube в Fancybox: компактный плеер 16:9 вместо растянутого iframe */
.fancybox__container.dentex-rutube-fancybox .fancybox__slide.has-iframe .fancybox__content {
    width: min(960px, calc(100vw - 32px), calc((100vh - 96px) * 16 / 9));
    height: auto;
    aspect-ratio: 16 / 9;
    max-width: 100%;
    max-height: 100%;
    padding: 0;
    background: transparent;
    overflow: hidden;
}

/* Play поверх каждого видеопревью Fancybox (iframe); фотографии не затрагиваем. */
.fancybox__container.dentex-rutube-fancybox
.fancybox__thumbs .f-thumbs__slide.for-iframe .f-thumbs__slide__button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.67) url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M9%206.5L18%2012L9%2017.5Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E') center / 18px 18px no-repeat;
    pointer-events: none;
}

.design__objects-item-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}
.design__projects:not(:has(.tabs__list)) .design__projects-title {
    margin-bottom: 32px;
}
