

/* Start:/local/templates/shop/components/bitrix/catalog.element/.default/style.css?179629116119690*/
/* кнопка "перейти в корзину" */
.page-main:not(.product-in-cart) .js-btn-in-cart {
    display: none;
}

.page-main.product-in-cart .js-btn-to-cart {
    display: none;
}

.page-main:not(.product-in-cart) .panel-buy .js-input-count,
.page-main:not(.product-in-cart) .section-price__buy .js-input-count {
    display: none;
}

.page-main.product-in-cart .panel-buy .js-input-count {
    display: flex;
}

.page-main.product-in-cart .section-price__buy .js-input-count {
    display: inline-flex;
}

/* в корзине показываем только счётчик количества, без кнопки "Перейти в корзину" рядом — 1:1 с референсом (product--added-to-cart.html) */
.page-main.product-in-cart .section-price__buy .js-wrap-detail-cart-btn {
    display: none;
}

.page-main.product-in-cart .panel-buy__price {
    display: none;
}

.js-wrap-detail-cart-btn.panel-buy__col-price {
    width: auto;
}

.page-main.product-in-cart .js-wrap-detail-cart-btn.panel-buy__col-price {
    width: 100%;
    gap: .8rem;
}

/* блок количество в списках товаров */
.card-try .card-product-main__input-count {
    display: none;
}

.card-try.in_cart .card-product-main__input-count {
    display: block;
}

.card-try.in_cart .btn-primary--card-try,
.card-try.in_cart .card-try__price {
    display: none;
}

.card-try.in_cart .card-try__buy {
    justify-content: end;
}

.card-try.in_cart .card-try__btn-buy {
    width: 100%;
}

.card-try.in_cart .input-count{
    padding: 0;
}

.card-try.in_cart .input-count button .icon {
    font-size: 1.2rem;
}

.js-wrap-detail-cart-btn.panel-buy__col-price{
    gap: 0;
}

/* торг. предложения */
.js-offer-buy-block.in_cart .js-btn-to-cart {
    display: none;
}
.js-offer-buy-block.in_cart.section-price__buy  .js-input-count {
    display: inline-flex;
}
.js-offer-buy-block.in_cart.section-price__buy .js-btn-in-cart{
    display: inline-flex;
}

/* попап фото */
@media (min-width: 575.98px) {
    body .modal-fullsize {
        width: min(94rem, 90vh);
    }
}

#product-tab-1 .table-props__link{
    text-decoration: underline;
}

#product-tab-1 .table-props__link:hover{
    color: var(--primary-color);
}

.section-price__buy__count:not(.section-price__buy__count--select) .btn-stock {
    cursor: default;
}

/* todo временный фикс слайдера */
@media (min-width: 575.98px) {
    body .slider-gallery__thumbs{
        display:block;
    }
}

/* ==========================================================================
   CWD-2351: редизайн детальной страницы товара (index-C8j3lX3F.css,
   cr-shop.hotline-design.ru/product.html). Все селекторы — с префиксом
   #page-product (id тела страницы товара, element.php:17): без него правила
   проигрывают main-bundle.css по порядку загрузки при равной специфичности.
   main-bundle.css не трогаем (см. инцидент CWD-2249).
   ========================================================================== */

/* main-bundle.css прячет футер на мобиле для товарной (устаревшее) — на детальной футер нужен */
@media (max-width: 1049.98px) {
    #page-product .page-footer {
        display: block !important;
    }
}

/* header.php вешает .page-header--hidden-on-mobile на весь /catalogue/ — на детальной шапка на мобиле нужна, остальной листинг не трогаем */
@media (max-width: 575.98px) {
    #page-product .page-header.page-header--hidden-on-mobile {
        display: contents !important;
    }
}

/* липкий поиск: на референсе прячется при скролле вниз только до 1049.98px (мобил+планшет), на десктопе
   остаётся на месте (transform:none) — сверено computed style на самом референсе на 1049 и 1050px.
   #page-cart в бандле прячет всегда безусловно — здесь ограничиваем тем же брейкпоинтом, что весь
   остальной редизайн этой страницы */
@media (max-width: 1049.98px) {
    #page-product.is-page-scrolled-down .page-header__sticker {
        transform: translateY(-100%);
    }
}

#page-product .layout-product__about {
    display: grid;
    grid-template-columns: 53.4rem 1fr;
    grid-template-areas: none;
    gap: .8rem 1.6rem;
}

#page-product .layout-product__about__left {
    min-width: 0;
    align-self: flex-start;
    position: sticky;
    top: 9.6rem;
}

#page-product .layout-product__about__right {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

@media (max-width: 1049.98px) {
    #page-product .layout-product__about {
        position: relative;
        display: block;
    }

    #page-product .layout-product__about__left {
        position: static;
        margin-bottom: .8rem;
    }
}

/* OEM-номера: разметка и стили из верстки (section-oems / tags-oems в main-bundle.css), поиск — SearchFilter, «Показать еще» — LessMore из main-bundle.js */

#page-product .js-search-filter-item[hidden] {
    display: none;
}

/* Доставка: аккордеон + баннер компенсации (баннер — существующая логика, просто перенесён сюда из section-price) */

#page-product .section-delivery {
    border-radius: 2.4rem;
    background: var(--background-white-100, #fff);
    padding: .8rem 0;
}

#page-product .section-delivery__header {
    display: flex;
    align-items: center;
    gap: .8rem;
    cursor: pointer;
    padding: 1.6rem 2.4rem;
}

#page-product .section-delivery__header__h1 {
    flex-grow: 1;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 120%;
    text-transform: uppercase;
}

#page-product .section-delivery__header .icon {
    font-size: 1.6rem;
    color: var(--Grey-L);
    transition: transform .2s ease;
}

#page-product .section-delivery__inner.opened .section-delivery__header .icon {
    transform: rotate(180deg);
}

#page-product .section-delivery__panel {
    height: 0;
    overflow: hidden;
    transition: height .3s ease;
}

#page-product .section-delivery__body {
    padding: 0 2.4rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

#page-product .section-delivery__sep {
    background: #e8e8e8;
    height: 1px;
}

#page-product .section-delivery__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#page-product .section-delivery__item__h1 {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.8rem;
}

#page-product .section-delivery__item__tags {
    display: flex;
    gap: .4rem;
}

#page-product .section-delivery__item__tags li {
    height: 2.4rem;
    display: flex;
    align-items: center;
    padding: 0 .8rem;
    border-radius: 2.2rem;
    background: var(--Background-Grey-XXS, #f6f6f6);
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.4rem;
}

#page-product .section-delivery__banner-compensation {
    margin: 0 2.4rem -.8rem;
}

@media (max-width: 1049.98px) {
    #page-product .section-delivery {
        padding: 0;
    }

    #page-product .section-delivery__header {
        padding: 1.6rem;
    }

    #page-product .section-delivery__header__h1 {
        text-transform: none;
        font-size: 1.6rem;
        font-weight: 700;
        line-height: 110%;
    }

    #page-product .section-delivery__body {
        padding: 0 1.6rem 1.6rem;
    }

    #page-product .section-delivery__item {
        flex-wrap: wrap;
        gap: .8rem;
    }

    #page-product .section-delivery__item__h1 {
        font-size: 1.2rem;
        font-weight: 500;
        line-height: 1.4rem;
        flex-basis: 100%;
    }

    #page-product .section-delivery__item__tags {
        flex-wrap: wrap;
    }

    #page-product .section-delivery__banner-compensation {
        margin: 0 1.6rem;
    }
}

/* Пустое состояние списка отзывов */

#page-product .section-reviews__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--Grey-L, #8b8d8e);
    font-size: 1.4rem;
}

@media (min-width: 1050px) {
    #page-product .section-price__stats {
        gap: .4rem;
    }
}

/* Гарантия/возврат/применимость/оплата у цены — .btn-light база уже в бандле, тут только новое */

#page-product .section-price__item-check {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#page-product .section-price__item-check__tags {
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
}

#page-product .section-price__tag-feature {
    transition: background .2s;
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .8rem;
    border-radius: 2.2rem;
    background: var(--Background-Grey-XXS, #f6f6f6);
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.4rem;
    cursor: pointer;
}

#page-product .section-price__tag-feature__icon-type {
    font-size: 1.6rem;
    line-height: 0;
}

#page-product .section-price__tag-feature__icon-info {
    font-size: 1.2rem;
    line-height: 0;
    color: var(--Grey-M);
    cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
    #page-product .section-price__tag-feature:hover {
        background: var(--Grey-XS, #e8e8e8);
    }
}

#page-product .section-price__pay-methods {
    display: flex;
    gap: .4rem;
}

#page-product .section-price__pay-methods__item {
    border-radius: 2.2rem;
    background: var(--Background-Grey-XXS, #f6f6f6);
    padding: .8rem;
    min-width: 4rem;
    text-align: center;
    color: var(--Grey-Dark);
    line-height: 0;
}

#page-product .section-price__pay-methods__item .icon {
    font-size: 1.6rem;
}

#page-product .modal-quick-info {
    position: relative;
    border-radius: 2rem;
    background: var(--background-white-100, #fff);
    width: 42.4rem;
    box-shadow: 0 4px 8px -4px #16223314, 0 16px 24px #16223314;
}

#page-product .modal-quick-info__image-banner {
    padding: 0;
    aspect-ratio: 376/120;
    margin-top: -3.4%;
}

#page-product .modal-quick-info__h1 {
    margin-top: 2.4rem;
    font-family: Lato, sans-serif;
    font-size: 2rem;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    padding: 0 2.4rem;
}

#page-product .modal-quick-info__desc {
    color: var(--Grey-L, #8b8d8e);
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.8rem;
    margin-top: 1.6rem;
    padding: 0 2.4rem;
}

#page-product .modal-quick-info__desc p:not(:first-child) {
    margin-top: 1.6rem;
}

#page-product .modal-quick-info__btn-more {
    margin-top: 2.4rem;
    padding: 0 2.4rem 2.4rem;
}

#page-product .modal-quick-info__btn-close {
    transition: color .2s, background .2s;
    position: absolute;
    z-index: 10;
    top: 3.2rem;
    right: 3.2rem;
    padding: .4rem;
    line-height: 0;
    border-radius: .8rem;
    background: #ffffffb3;
    backdrop-filter: blur(2px);
    color: var(--Grey-L, #8b8d8e);
    cursor: pointer;
}

#page-product .modal-quick-info__btn-close .icon {
    font-size: 1.6rem;
}

#page-product .modal-quick-info--live {
    margin: auto;
}

@media (max-width: 1049.98px) {
    #page-product .section-price__item-check {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 1.6rem;
    }

    #page-product .section-price__item-check__tags {
        order: -1;
        flex-wrap: wrap;
    }

    #page-product .section-price__tag-feature {
        gap: .4rem;
        padding: .4rem .6rem;
    }

    #page-product .modal-quick-info {
        width: 100%;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        padding-bottom: 4rem;
    }

    #page-product .modal-quick-info__btn-close {
        top: 1.6rem;
        right: 1.6rem;
    }

    #page-product .modal-quick-info--live {
        margin: auto 0 0;
    }
}

#page-product .section-price__btn-check {
    transition: background .2s;
    padding: .8rem 1.6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .6rem;
    color: var(--background-white-100, #fff);
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.6rem;
    border-radius: 4rem;
    background: var(--Grey-Dark);
}

@media (max-width: 1049.98px) {
    #page-product .section-price__btn-check {
        padding: 1.2rem 1.6rem;
        width: 100%;
    }
}

/* Быстрые ссылки на категории товара — .nav-favorites-links уже есть в бандле, тут только недостающее */

#page-product .slider-tabs--on-gray-bg {
    --edge-gradient-from: rgba(246, 246, 246, 0);
    --edge-gradient-to: rgba(246, 246, 246, 100%);
}

#page-product .layout-product__about__sections {
    padding: .8rem 0;
}



/* Баннер бренда — картинки в архиве есть только для LUZAR, других брендов нет */

#page-product .banner-brand {
    position: relative;
}

#page-product .banner-brand__image-bg {
    padding: 0;
    position: absolute;
    inset: 0;
    border-radius: 2.4rem;
    overflow: hidden;
}

#page-product .banner-brand__image-logo {
    width: 8.54rem;
    padding-top: 0;
    aspect-ratio: 85.4/21.56;
    flex-shrink: 0;
}

#page-product .banner-brand__content {
    position: relative;
    z-index: 10;
    padding: 1.6rem 2.4rem;
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

#page-product .banner-brand__desc {
    color: var(--background-white-100, #fff);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.8rem;
}

#page-product .banner-brand__btn-link {
    position: relative;
    z-index: 20;
    margin-left: auto;
    transition: background .2s;
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .2rem .2rem .2rem .8rem;
    border-radius: 2.2rem;
    background: #ffffffb3;
    color: var(--Grey-Dark);
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.4rem;
}

#page-product .banner-brand__btn-link .icon {
    transition: transform .2s;
    box-sizing: content-box;
    padding: .4rem;
    background: #fff;
    border-radius: 50%;
    font-size: 1.2rem;
}

@media (hover: hover) and (pointer: fine) {
    #page-product .banner-brand__btn-link:hover {
        background: var(--background-white-70, rgba(255, 255, 255, .8));
    }

    #page-product .banner-brand__btn-link:hover .icon {
        transform: rotate(45deg);
    }
}

@media (max-width: 1049.98px) {
    #page-product .banner-brand__image-logo {
        width: 9.84rem;
        grid-column: span 2;
    }

    #page-product .banner-brand__content {
        display: grid;
        grid-template-columns: 1fr auto;
        padding: 1.6rem;
    }

    #page-product .banner-brand__btn-link {
        align-self: flex-end;
    }
}

#page-product .card-review__header__tag-source,
#page-product .card-text-review__user__tag-source {
    padding: .3rem .8rem;
}

#page-product .card-review__media__item[data-media-type="video"] .card-review__media__image-hq {
    background: var(--Grey-Dark, #2c2d2e);
}


#page-product .media-review__count {
    pointer-events: auto;
    cursor: pointer;
}

/* Характеристики: артикул с копированием + бабл-ссылки на сопутствующие товары */
#page-product .table-props__sku {
    display: flex;
    align-items: center;
    gap: .4rem;
}

#page-product .table-props__sku .icon {
    font-size: 1.6rem;
    color: var(--Grey-L, #8b8d8e);
    cursor: pointer;
}

#page-product .table-props__sku .icon:hover {
    color: var(--Grey-Dark);
}

#page-product .table-props__tag-code {
    transition: background .2s, color .2s;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    height: 3.2rem;
    padding-left: 1.2rem;
    padding-right: .8rem;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.8rem;
    border-radius: 2.2rem;
    background: var(--Background-Grey-XXS, #f6f6f6);
    cursor: pointer;
}

#page-product .table-props__tag-code:hover {
    background: var(--Grey-XL, #565758);
    color: var(--background-white-100, #fff);
}

#page-product .table-props__tag-code .icon {
    font-size: 1.6rem;
    color: var(--Grey-M, #b2b4b3);
}

/* Сертификаты: кнопка "См. в реестре" — модификаторы отсутствуют в main-bundle.css */
#page-product .btn-light--circle {
    width: 4rem;
}

#page-product .btn-light--orange-hover:hover {
    color: #fff;
    background: var(--Orange-Orange, #ff6e00);
}

/* Сертификаты: раскладка карточки (title слева, кнопки справа) — .section-certificates* нет в main-bundle.css */
#page-product .section-certificates {
    display: flex;
    flex-direction: column;
}

#page-product .section-certificates__item {
    display: flex;
    flex-direction: row;
    gap: .8rem;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 0;
    border-bottom: 1px solid #f6f6f6;
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 1.8rem;
    color: var(--Grey-L, #8b8d8e);
}

#page-product .section-certificates__item:last-child {
    border-bottom: 0;
}

#page-product .section-certificates__item-title {
    color: var(--Grey-Dark, #2c2d2e);
}

#page-product .section-certificates__item-title:hover {
    color: var(--Orange-Orange, #ff6e00);
}

#page-product .section-certificates__item-btns {
    display: flex;
    gap: .8rem;
}

@media (max-width: 1049.98px) {
    #page-product .section-certificates__item {
        flex-direction: column;
        padding: 1.6rem 0;
        gap: 1.6rem;
        align-items: flex-start;
        justify-content: flex-start;
    }
}

/* .section-matching__btn-reset позиционировался в main-bundle.css, но подключён другой файл (bundles/) без этого правила — кнопка падала после таблицы.
   Кнопка перенесена в разметке внутрь .finder__auto-form (flex-ряд селектов) как обычный flex-элемент —
   .finder__auto-selects растягивается на flex-grow:1 и уступает кнопке место справа, без абсолютного позиционирования */
#page-product .finder__auto-form > .section-matching__btn-reset {
    flex-shrink: 0;
}

/* В вёрстке .section-matching__fields__col-reset скрыт на мобильном (max-width:1049.98px) —
   сброс там делается через чипсы (.section-matching__filter__checked, генерируются в script.js), а не кнопкой внутри формы */
@media (max-width: 1049.98px) {
    #page-product .finder__auto-form > .section-matching__btn-reset {
        display: none;
    }
}

/* чипсы+"Сбросить" — flex без justify-content, "Сбросить" всегда последним div — :last-child прижимает вправо */
@media (max-width: 575.98px) {
    #page-product .section-matching__filter__checked > div:last-child {
        margin-left: auto;
    }
}

/* End */


/* Start:/local/components/carville/reviews/templates/.default/style.css?1791276357222*/
.media-review__item--no-poster .media-review__image {
    background: #2b2b2b;
}

.media-review__item--no-poster .media-review__btn-play {
    inset: 0;
    margin: auto;
    width: fit-content;
    height: fit-content;
}

/* End */


/* Start:/local/components/carville/filter_applicability_cars/templates/.default/style.css?1769063493424*/
.finder__find-saved-auto-item.finder__find-saved-auto-item--removed .finder__find-saved-auto-return-btn {
    display: flex;
}
.finder__find-saved-auto-item .finder__find-saved-auto-return-btn,
.finder__find-saved-auto-item.finder__find-saved-auto-item--removed .finder__find-saved-auto-apply-btn,
.finder__find-saved-auto-item.finder__find-saved-auto-item--removed .finder__find-saved-auto-remove-btn {
    display: none;
}
/* End */


/* Start:/local/templates/shop/components/bitrix/catalog.section/recommend_detail/style.css?176889495994*/
.recommended__content .wrap_load_pagination{
    display: flex;
    justify-content: center;
}
/* End */
/* /local/templates/shop/components/bitrix/catalog.element/.default/style.css?179629116119690 */
/* /local/components/carville/reviews/templates/.default/style.css?1791276357222 */
/* /local/components/carville/filter_applicability_cars/templates/.default/style.css?1769063493424 */
/* /local/templates/shop/components/bitrix/catalog.section/recommend_detail/style.css?176889495994 */
