

/* Start:/local/templates/euroauto/components/bitrix/catalog.element/.default/style.css?178703174925161*/
.mobile-description-card {
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .09);
    padding: 25px;
    margin-top: 20px;
}

.mobile-description-card__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ebebeb;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: #3d464d;
}

/* Фикс позиционирования цены на мобильных */
@media (max-width: 767px) {
    .product__info {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 25px !important;
        /* Отступ от галереи сверху */
    }

    .product__prices-stock {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin: 0 0 15px 0 !important;
        width: 100% !important;
    }

    .product__info-body {
        padding: 20px !important;
        background: transparent !important;
        /* Убираем лишний фон */
    }

    .product__info-card {
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        background: #fff !important;
        border-radius: 2px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, .09);
    }

    .product__price {
        margin-bottom: 0 !important;
    }
}

/* ===== NEW TEMPLATE BLOCKS (UTD STYLES) ===== */

/* Шаг 1: Мета-информация и бейджи */
.product__meta-top {
    font-size: 12px;
    color: #8a8a82;
    margin-bottom: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.product__meta-top strong {
    color: #5a5a54;
    font-weight: 600;
}
.status-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}
.status-badges .badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 2px;
    font-weight: 500;
    white-space: nowrap;
}
.badge-green {
    background: #e8f5ee;
    color: #1e7d45;
}
.badge-gray {
    background: #ebebeb;
    color: #555;
}
.badge-accent {
    background: #fff3ea;
    color: var(--color-primary, #f25900);
}
.badge-warn {
    background: #fff8e0;
    color: #8a6200;
}

/* Шаг 2: Галерея и теги */
.product-gallery__featured {
    position: relative;
}
.photo-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 2px;
    background: #e8f5ee;
    color: #1e7d45;
    z-index: 10;
}

.video-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #1565a8;
    margin-top: 10px;
    padding: 0;
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
}
.video-link:hover {
    text-decoration: underline;
}

/* Шаг 3: Технические характеристики */
.product__details-left {
    grid-column: 1 / 3;
    grid-row: 4;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}
.specs-block {
    background: #ffffff;
    border: 1px solid #e0ddd6;
    border-radius: 2px;
    padding: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.specs-table tr {
    border-bottom: 1px solid #e0ddd6;
}
.specs-table tr:last-child {
    border-bottom: none;
}
.specs-table td {
    padding: 7px 4px;
}
.specs-table td:first-child {
    color: #8a8a82;
    width: 140px;
    padding-right: 8px;
}
.specs-table td:last-child {
    font-weight: 600;
    color: #1a1a1a;
}
.val-ok {
    color: #1e7d45 !important;
}
.val-warn {
    color: var(--color-primary, #f25900) !important;
}
.val-mono {
    font-family: 'Consolas', monospace;
    font-size: 12px;
}
.compat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.compat-tag {
    font-size: 12px;
    padding: 4px 10px;
    background: #f8f7f4;
    border: 1px solid #e0ddd6;
    border-radius: 2px;
    color: #5a5a54;
    text-decoration: none !important;
    display: inline-block;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
a.compat-tag:hover {
    background: #fff3ea !important;
    border-color: #f25900 !important;
    color: #f25900 !important;
}

/* Шаг 4: Блок покупки и мессенджеры */
.buy-block {
    background: #ffffff;
    border: 1px solid #e0ddd6;
    border-radius: 2px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.avail-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.avail-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1e7d45;
    flex-shrink: 0;
}
.avail-text {
    font-size: 13px;
    font-weight: 600;
    color: #1e7d45;
}
.avail-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.avail-warehouse {
    font-size: 12px;
    color: #8a8a82;
    padding-left: 16px;
    font-weight: 500;
}
.price-block {
    border-top: 1px solid #e0ddd6;
    border-bottom: 1px solid #e0ddd6;
    padding: 10px 0;
}
.price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
.price-main {
    font-size: 30px;
    font-weight: 700;
    color: #1a1a1a;
}
.price-old {
    font-size: 16px;
    color: #8a8a82;
    text-decoration: line-through;
}
.price-discount {
    font-size: 12px;
    font-weight: 700;
    background: var(--color-primary, #f25900);
    color: #fff;
    padding: 2px 8px;
    border-radius: 2px;
}
.price-compare {
    font-size: 12px;
    color: #8a8a82;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.price-compare strong {
    color: #5a5a54;
}
.btn-buy {
    background: var(--color-primary, #f25900);
    color: #fff;
    border: none;
}
.btn-buy:hover {
    background: #c45e00; /* Darker orange */
    color: #fff;
}
.messenger-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.btn-tg {
    background: #229ed9;
    color: #fff;
}
.btn-tg:hover {
    background: #1a8abf;
    color: #fff;
}
.btn-wa {
    background: #25d366;
    color: #fff;
}
.btn-wa:hover {
    background: #1db854;
    color: #fff;
}
.btn-call {
    background: #f8f7f4;
    color: #1a1a1a;
    border: 1px solid #e0ddd6;
}
.btn-call:hover {
    background: #ebebeb;
}
.info-rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #5a5a54;
    padding: 6px 10px;
    background: #f8f7f4;
    border: 1px solid #e0ddd6;
    border-radius: 2px;
}
.delivery-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    background: #f8f7f4;
    border: 1px solid #e0ddd6;
    border-radius: 2px;
    font-size: 13px;
}
.delivery-row i {
    font-size: 22px;
    color: var(--color-primary, #f25900);
    flex-shrink: 0;
    margin-top: 1px;
    width: 24px;
    text-align: center;
}
.delivery-row strong {
    color: #1a1a1a;
    display: block;
    font-weight: 600;
}
.delivery-row span {
    color: #8a8a82;
    font-size: 12px;
}

/* Шаг 5: Блок доверия и преимущества */
.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 6px;
}
.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 10px 8px;
    background: #f8f7f4;
    border-radius: 2px;
    border: 1px solid #e0ddd6;
}
.trust-item i {
    font-size: 22px;
    color: var(--color-primary, #f25900);
}
.trust-item .t-label {
    font-size: 10px;
    color: #8a8a82;
}
.trust-item .t-val {
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
}
.adv-block {
    background: #ffffff;
    border: 1px solid #e0ddd6;
    border-radius: 2px;
    padding: 16px 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
    margin-top: 12px;
}
.adv-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    background: #f8f7f4;
    border-radius: 2px;
    font-size: 13px;
    color: #5a5a54;
}
.adv-item .check {
    color: #1e7d45;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Шаг 6: Описание и происхождение */
.desc-block {
    background: #ffffff;
    border: 1px solid #e0ddd6;
    border-radius: 2px;
    padding: 16px 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.desc-text p {
    font-size: 14px;
    color: #5a5a54;
    line-height: 1.75;
    margin-bottom: 10px;
}
.desc-text p:last-child {
    margin-bottom: 0;
}
.desc-text strong {
    color: #1a1a1a;
    font-weight: 600;
}
.origin-box {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #f8f7f4;
    border: 1px solid #e0ddd6;
    border-radius: 2px;
    padding: 12px;
    margin-top: 12px;
}
.origin-box p {
    font-size: 13px;
    color: #5a5a54;
    line-height: 1.6;
    margin-bottom: 0;
}
.origin-box strong {
    color: #1a1a1a;
}

/* Шаг 7: Похожие агрегаты / Перелинковка */
.related-block {
    background: #ffffff;
    border: 1px solid #e0ddd6;
    border-radius: 2px;
    padding: 16px 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 12px;
}
.avail-row.avail-on-order .avail-dot {
    background: #f25900 !important; /* Наш фирменный оранжевый */
}
.avail-row.avail-on-order .avail-text {
    color: #f25900 !important;
}
.rel-avail--in-stock {
    color: #1e7d45 !important;
}
.rel-avail--on-order {
    color: #f25900 !important;
}

/* Ограничение количества выводимых карточек по ширине экрана */
.related-more-link {
    font-size: 13px;
    font-weight: 600;
    color: #f25900 !important;
    text-decoration: none !important;
    transition: opacity 0.2s;
}
.related-more-link:hover {
    opacity: 0.8;
    text-decoration: underline !important;
}

@media (max-width: 481px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .related-grid .rel-card:nth-child(n+5) {
        display: none;
    }
}
@media (min-width: 482px) and (max-width: 767px) {
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .related-grid .rel-card:nth-child(n+4) {
        display: none;
    }
}
@media (min-width: 768px) and (max-width: 1199px) {
    .related-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .related-grid .rel-card:nth-child(n+5) {
        display: none;
    }
}
@media (min-width: 1200px) and (max-width: 1399px) {
    .related-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    .related-grid .rel-card:nth-child(n+6) {
        display: none;
    }
}
@media (min-width: 1400px) {
    .related-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}
.rel-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    background: #f8f7f4;
    border: 1px solid #e0ddd6;
    border-radius: 2px;
    text-decoration: none !important;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.rel-card:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    border-color: var(--color-primary, #f25900);
}
.rel-img {
    height: 90px;
    background: #ebebeb;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.rel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rel-placeholder {
    font-size: 28px;
    color: #8a8a82;
}
.rel-name {
    font-size: 11px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.rel-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary, #f25900);
}
.rel-avail {
    font-size: 10px;
    font-weight: 600;
    color: #1e7d45;
}

/* Шаг 8: Вынесение заголовка (title-block) */
.title-block {
    background: #ffffff;
    border: 1px solid #e0ddd6;
    border-radius: 2px;
    padding: 16px 18px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.title-meta {
    font-size: 12px;
    color: #8a8a82;
    margin-bottom: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.title-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}
.title-meta strong {
    color: #5a5a54;
    font-weight: 600;
}
.product-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 10px;
}

/* Шаг 9: Блок подбора по VIN */
.vin-block {
    background: #fff3ea;
    border: 1px solid #f5c99a;
    border-radius: 2px;
    padding: 14px 18px;
    margin-top: 12px;
}
.vin-block .block-title {
    color: var(--color-primary, #f25900) !important;
}
.vin-block p {
    font-size: 13px;
    color: #5a5a54;
    margin-bottom: 8px;
}
.vin-list {
    font-size: 13px;
    color: #5a5a54;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 0;
    list-style: none;
    margin-top: 8px;
    margin-bottom: 0;
}
.vin-list li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}
.vin-list li::before {
    content: "•";
    color: var(--color-primary, #f25900);
    font-weight: 700;
    flex-shrink: 0;
}

/* Шаг 10: Подвал карточки товара (Brand Footer + Contact Block) */
.product-footers__brand {
    background: #ffffff;
    border: 1px solid #e0ddd6;
    border-radius: 2px;
    padding: 14px 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    margin-top: 12px;
}
.product-footers__brand strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
}
.product-footers__brand p {
    font-size: 13px;
    color: #5a5a54;
    line-height: 1.7;
    margin: 0;
}

.product-footers__contacts {
    background: #ffffff;
    border: 1px solid #e0ddd6;
    border-radius: 2px;
    padding: 14px 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    margin-top: 24px;
}
.product-footers__contacts .contacts-title {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}
.product-footers__contacts .contacts-desc {
    font-size: 12px;
    color: #5a5a54;
    line-height: 1.6;
    margin: 0 0 10px 0;
}
.product-footers__contacts .contacts-phone {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 2px 0;
}
.product-footers__contacts .contacts-site {
    font-size: 12px;
    color: #8a8a82;
    margin: 0;
}

/* Адаптивное позиционирование сайдбара и контактов */
@media (max-width: 1199.98px) {
    .product__info {
        display: flex !important;
        flex-direction: column !important;
    }
}

/* Единый отступ между всеми блоками в левой колонке */
.product__details-left > div {
    margin-top: 12px !important;
    margin-bottom: 0 !important;
}
.product__details-left > div:first-child {
    margin-top: 0 !important;
}

/* Стилизация и выравнивание табов под дизайн карточек */
.product__tabs.product-tabs {
    background: #ffffff !important;
    border: 1px solid #e0ddd6 !important;
    border-radius: 2px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
    overflow: hidden !important;
}
.product__tabs .product-tabs__list {
    padding-left: 18px !important;
    padding-right: 18px !important;
    border-bottom: 1px solid #e0ddd6 !important;
    margin-bottom: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
}
.product__tabs .product-tabs__item a {
    padding: 12px 16px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #5a5a54 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}
.product__tabs .product-tabs__item a:hover {
    color: var(--color-primary, #f25900) !important;
    background: #f8f7f4 !important;
}
.product__tabs .product-tabs__item--active a {
    color: var(--color-primary, #f25900) !important;
    box-shadow: inset 0 -2px var(--color-primary, #f25900) !important;
    background: transparent !important;
}
.product__tabs .product-tabs__pane--active {
    padding: 16px 18px !important;
}

/* Форсирование стилей для кнопок связи в блоке покупки */
.buy-block .messenger-row {
    display: flex !important;
    gap: 8px !important;
    margin-top: 10px !important;
    width: 100% !important;
}
.buy-block .btn-tg,
.buy-block .btn-wa {
    flex: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 2px !important;
    color: #ffffff !important;
    height: auto !important;
    width: auto !important;
    border: none !important;
    text-transform: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}
.buy-block .btn-tg {
    background: #229ed9 !important;
}
.buy-block .btn-tg:hover {
    background: #1a8abf !important;
}
.buy-block .btn-wa {
    background: #25d366 !important;
}
.buy-block .btn-wa:hover {
    background: #1db854 !important;
}
.buy-block .btn-call {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 2px !important;
    background: #f8f7f4 !important;
    color: #1a1a1a !important;
    border: 1px solid #e0ddd6 !important;
    height: auto !important;
    text-transform: none !important;
    box-shadow: none !important;
    margin-top: 10px !important;
    text-decoration: none !important;
}
.buy-block .btn-call:hover {
    background: #ebebeb !important;
}

/* Сброс скруглений контейнеров для интеграции с темой */
.product__card,
.product__card--one,
.product__card--two {
    border-radius: 2px !important;
}
.container {
    border-radius: 0 !important;
}

/* Стилизация шрифтовых иконок FontAwesome */
.info-row i {
    font-size: 14px;
    color: #8a8a82;
    margin-right: 6px;
    width: 16px;
    text-align: center;
}
.block-title i {
    color: var(--color-primary, #f25900);
    margin-right: 8px;
}
.video-link i {
    color: #f25900;
}
.buy-block .btn-tg i,
.buy-block .btn-wa i,
.buy-block .btn-call i {
    margin-right: 6px;
}
.buy-block .btn-tg i,
.buy-block .btn-wa i {
    color: #ffffff !important;
}
.rel-placeholder i {
    font-size: 28px;
    color: #8a8a82;
}
.compat-tag i {
    margin-right: 4px;
}

/* Липкий сайдбар для блока покупки и контактов при прокрутке */
@media (min-width: 992px) {
    .product__info {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 110px !important; /* Учитывает высоту фиксированной шапки сайта с безопасным отступом */
        align-self: start !important;
    }
}

/* Стили для интерактивных переходов по табам */
[data-target-tab] {
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.delivery-row[data-target-tab]:hover {
    background-color: #fcfcf9 !important;
    border-color: #d1d1ca !important;
}
.trust-grid .trust-item[data-target-tab]:hover {
    background-color: #fcfcf9 !important;
    border-color: #d1d1ca !important;
}

/* Выравнивание галереи по верхней границе на экранах 992-1200px */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .product__body .product__gallery,
    .product__body .product-gallery {
        align-self: start !important;
    }
}

/* ===== LIGHTHOUSE PERFORMANCE & CLS OPTIMIZATIONS (STAGE 2) ===== */

/* Предотвращение сдвигов макета (CLS) до инициализации Owl Carousel */
#product-gallery-main:not(.owl-loaded) {
    display: flex !important;
    overflow: hidden !important;
    aspect-ratio: 1 / 1 !important;
    max-height: 650px !important;
}
#product-gallery-main:not(.owl-loaded) > *:not(:first-child) {
    display: none !important;
}

#product-gallery-thumbnails:not(.owl-loaded) {
    display: flex !important;
    gap: 8px !important;
    overflow: hidden !important;
    height: 120px !important;
}
#product-gallery-thumbnails:not(.owl-loaded) > * {
    width: 120px !important;
    flex-shrink: 0 !important;
}

/* CSS-переключение вкладок на десктопе (экраны >= 1200px) без JavaScript.
   Если активна скрытая на десктопе вкладка "Описание", визуально активируем вкладку "Характеристики"
   и отображаем ее содержимое */
@media (min-width: 1200px) {
    /* Делаем вкладку "Характеристики" визуально активной, если активно скрытое "Описание" */
    .product-tabs__item--active#tab-desc-li ~ #tab-specs-li a {
        color: var(--color-primary, #f25900) !important;
        box-shadow: inset 0 -2px var(--color-primary, #f25900) !important;
    }
    
    /* Скрываем активную панель описания */
    .product-tabs__pane--active#product-tab-description {
        display: none !important;
        height: 0 !important;
        opacity: 0 !important;
    }
    
    /* Отображаем панель характеристик, когда активно скрытое на десктопе описание */
    .product-tabs__pane--active#product-tab-description ~ #product-tab-specs {
        display: block !important;
        height: auto !important;
        opacity: 1 !important;
        overflow: visible !important;
        padding: 48px !important; /* Стандартный паддинг для десктопа */
    }
}

/* Статический LCP плейсхолдер до загрузки карусели слайдера */
.product-gallery-lcp-placeholder {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    background: #fff;
    aspect-ratio: 1 / 1;
}
/* Когда карусель Owl Carousel загрузилась, скрываем плейсхолдер */
#product-gallery-main.owl-loaded + .product-gallery-lcp-placeholder {
    display: none !important;
}

/* Гарантированное центрирование текста надписи на кнопке Купить */
.btn-buy {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
}

/* Исправление отступа над галереей товара при разрешениях от 992px до 1199px */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .product--layout--full .product__gallery {
        grid-row: 1 !important;
        padding-top: 24px !important;
    }
    .product--layout--full .product__header {
        display: none !important;
    }
}


/* End */


/* Start:/local/templates/euroauto/assets/vendor/photoswipe/photoswipe.css?17678341874316*/
/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */
/*
	Styles for basic PhotoSwipe functionality (sliding area, open/close transitions)
*/
/* pswp = photoswipe */
.pswp {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  overflow: hidden;
  -ms-touch-action: none;
  touch-action: none;
  z-index: 1500;
  -webkit-text-size-adjust: 100%;
  /* create separate layer, to avoid paint on window.onscroll in webkit/blink */
  -webkit-backface-visibility: hidden;
  outline: none; }
  .pswp * {
    -webkit-box-sizing: border-box;
            box-sizing: border-box; }
  .pswp img {
    max-width: none; }

/* style is added when JS option showHideOpacity is set to true */
.pswp--animate_opacity {
  /* 0.001, because opacity:0 doesn't trigger Paint action, which causes lag at start of transition */
  opacity: 0.001;
  will-change: opacity;
  /* for open/close transition */
  -webkit-transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
          transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }

.pswp--open {
  display: block; }

.pswp--zoom-allowed .pswp__img {
  /* autoprefixer: off */
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.pswp--zoomed-in .pswp__img {
  /* autoprefixer: off */
  cursor: -webkit-grab;
  cursor: -moz-grab;
  cursor: grab; }

.pswp--dragging .pswp__img {
  /* autoprefixer: off */
  cursor: -webkit-grabbing;
  cursor: -moz-grabbing;
  cursor: grabbing; }

/*
	Background is added as a separate element.
	As animating opacity is much faster than animating rgba() background-color.
*/
.pswp__bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0;
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  will-change: opacity; }

.pswp__scroll-wrap {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; }

.pswp__container,
.pswp__zoom-wrap {
  -ms-touch-action: none;
  touch-action: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0; }

/* Prevent selection and tap highlights */
.pswp__container,
.pswp__img {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
      user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none; }

.pswp__zoom-wrap {
  position: absolute;
  width: 100%;
  -webkit-transform-origin: left top;
  -ms-transform-origin: left top;
  transform-origin: left top;
  /* for open/close transition */
  -webkit-transition: -webkit-transform 333ms cubic-bezier(0.4, 0, 0.22, 1);
          transition: transform 333ms cubic-bezier(0.4, 0, 0.22, 1); }

.pswp__bg {
  will-change: opacity;
  /* for open/close transition */
  -webkit-transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
          transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }

.pswp--animated-in .pswp__bg,
.pswp--animated-in .pswp__zoom-wrap {
  -webkit-transition: none;
  transition: none; }

.pswp__container,
.pswp__zoom-wrap {
  -webkit-backface-visibility: hidden; }

.pswp__item {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  overflow: hidden; }

.pswp__img {
  position: absolute;
  width: auto;
  height: auto;
  top: 0;
  left: 0; }

/*
	stretched thumbnail or div placeholder element (see below)
	style is added to avoid flickering in webkit/blink when layers overlap
*/
.pswp__img--placeholder {
  -webkit-backface-visibility: hidden; }

/*
	div element that matches size of large image
	large image loads on top of it
*/
.pswp__img--placeholder--blank {
  background: #222; }

.pswp--ie .pswp__img {
  width: 100% !important;
  height: auto !important;
  left: 0;
  top: 0; }

/*
	Error message appears when image is not loaded
	(JS option errorMsg controls markup)
*/
.pswp__error-msg {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  text-align: center;
  font-size: 14px;
  line-height: 16px;
  margin-top: -8px;
  color: #CCC; }

.pswp__error-msg a {
  color: #CCC;
  text-decoration: underline; }

/* End */


/* Start:/local/templates/euroauto/assets/vendor/photoswipe/default-skin/default-skin.css?176783418712089*/
/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */
/*

	Contents:

	1. Buttons
	2. Share modal and links
	3. Index indicator ("1 of X" counter)
	4. Caption
	5. Loading indicator
	6. Additional styles (root element, top bar, idle state, hidden state, etc.)

*/
/*
	
	1. Buttons

 */
/* <button> css reset */
.pswp__button {
  width: 44px;
  height: 44px;
  position: relative;
  background: none;
  cursor: pointer;
  overflow: visible;
  -webkit-appearance: none;
  display: block;
  border: 0;
  padding: 0;
  margin: 0;
  float: right;
  opacity: 0.75;
  -webkit-transition: opacity 0.2s;
          transition: opacity 0.2s;
  -webkit-box-shadow: none;
          box-shadow: none; }
  .pswp__button:focus, .pswp__button:hover {
    opacity: 1; }
  .pswp__button:active {
    outline: none;
    opacity: 0.9; }
  .pswp__button::-moz-focus-inner {
    padding: 0;
    border: 0; }

/* pswp__ui--over-close class it added when mouse is over element that should close gallery */
.pswp__ui--over-close .pswp__button--close {
  opacity: 1; }

.pswp__button,
.pswp__button--arrow--left:before,
.pswp__button--arrow--right:before {
  background: url(/local/templates/euroauto/assets/vendor/photoswipe/default-skin/default-skin.png) 0 0 no-repeat;
  background-size: 264px 88px;
  width: 44px;
  height: 44px; }

@media (-webkit-min-device-pixel-ratio: 1.1), (-webkit-min-device-pixel-ratio: 1.09375), (min-resolution: 105dpi), (min-resolution: 1.1dppx) {
  /* Serve SVG sprite if browser supports SVG and resolution is more than 105dpi */
  .pswp--svg .pswp__button,
  .pswp--svg .pswp__button--arrow--left:before,
  .pswp--svg .pswp__button--arrow--right:before {
    background-image: url(/local/templates/euroauto/assets/vendor/photoswipe/default-skin/default-skin.svg); }
  .pswp--svg .pswp__button--arrow--left,
  .pswp--svg .pswp__button--arrow--right {
    background: none; } }

.pswp__button--close {
  background-position: 0 -44px; }

.pswp__button--share {
  background-position: -44px -44px; }

.pswp__button--fs {
  display: none; }

.pswp--supports-fs .pswp__button--fs {
  display: block; }

.pswp--fs .pswp__button--fs {
  background-position: -44px 0; }

.pswp__button--zoom {
  display: none;
  background-position: -88px 0; }

.pswp--zoom-allowed .pswp__button--zoom {
  display: block; }

.pswp--zoomed-in .pswp__button--zoom {
  background-position: -132px 0; }

/* no arrows on touch screens */
.pswp--touch .pswp__button--arrow--left,
.pswp--touch .pswp__button--arrow--right {
  visibility: hidden; }

/*
	Arrow buttons hit area
	(icon is added to :before pseudo-element)
*/
.pswp__button--arrow--left,
.pswp__button--arrow--right {
  background: none;
  top: 50%;
  margin-top: -50px;
  width: 70px;
  height: 100px;
  position: absolute; }

.pswp__button--arrow--left {
  left: 0; }

.pswp__button--arrow--right {
  right: 0; }

.pswp__button--arrow--left:before,
.pswp__button--arrow--right:before {
  content: '';
  top: 35px;
  background-color: rgba(0, 0, 0, 0.3);
  height: 30px;
  width: 32px;
  position: absolute; }

.pswp__button--arrow--left:before {
  left: 6px;
  background-position: -138px -44px; }

.pswp__button--arrow--right:before {
  right: 6px;
  background-position: -94px -44px; }

/*

	2. Share modal/popup and links

 */
.pswp__counter,
.pswp__share-modal {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
      user-select: none; }

.pswp__share-modal {
  display: block;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  padding: 10px;
  position: absolute;
  z-index: 1600;
  opacity: 0;
  -webkit-transition: opacity 0.25s ease-out;
          transition: opacity 0.25s ease-out;
  -webkit-backface-visibility: hidden;
  will-change: opacity; }

.pswp__share-modal--hidden {
  display: none; }

.pswp__share-tooltip {
  z-index: 1620;
  position: absolute;
  background: #FFF;
  top: 56px;
  border-radius: 2px;
  display: block;
  width: auto;
  right: 44px;
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
          box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  -webkit-transform: translateY(6px);
      -ms-transform: translateY(6px);
          transform: translateY(6px);
  -webkit-transition: -webkit-transform 0.25s;
          transition: transform 0.25s;
  -webkit-backface-visibility: hidden;
  will-change: transform; }
  .pswp__share-tooltip a {
    display: block;
    padding: 8px 12px;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    line-height: 18px; }
    .pswp__share-tooltip a:hover {
      text-decoration: none;
      color: #000; }
    .pswp__share-tooltip a:first-child {
      /* round corners on the first/last list item */
      border-radius: 2px 2px 0 0; }
    .pswp__share-tooltip a:last-child {
      border-radius: 0 0 2px 2px; }

.pswp__share-modal--fade-in {
  opacity: 1; }
  .pswp__share-modal--fade-in .pswp__share-tooltip {
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0); }

/* increase size of share links on touch devices */
.pswp--touch .pswp__share-tooltip a {
  padding: 16px 12px; }

a.pswp__share--facebook:before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  top: -12px;
  right: 15px;
  border: 6px solid transparent;
  border-bottom-color: #FFF;
  -webkit-pointer-events: none;
  -moz-pointer-events: none;
  pointer-events: none; }

a.pswp__share--facebook:hover {
  background: #3E5C9A;
  color: #FFF; }
  a.pswp__share--facebook:hover:before {
    border-bottom-color: #3E5C9A; }

a.pswp__share--twitter:hover {
  background: #55ACEE;
  color: #FFF; }

a.pswp__share--pinterest:hover {
  background: #CCC;
  color: #CE272D; }

a.pswp__share--download:hover {
  background: #DDD; }

/*

	3. Index indicator ("1 of X" counter)

 */
.pswp__counter {
  position: absolute;
  left: 0;
  top: 0;
  height: 44px;
  font-size: 13px;
  line-height: 44px;
  color: #FFF;
  opacity: 0.75;
  padding: 0 10px; }

/*
	
	4. Caption

 */
.pswp__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  min-height: 44px; }
  .pswp__caption small {
    font-size: 11px;
    color: #BBB; }

.pswp__caption__center {
  text-align: left;
  max-width: 420px;
  margin: 0 auto;
  font-size: 13px;
  padding: 10px;
  line-height: 20px;
  color: #CCC; }

.pswp__caption--empty {
  display: none; }

/* Fake caption element, used to calculate height of next/prev image */
.pswp__caption--fake {
  visibility: hidden; }

/*

	5. Loading indicator (preloader)

	You can play with it here - http://codepen.io/dimsemenov/pen/yyBWoR

 */
.pswp__preloader {
  width: 44px;
  height: 44px;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -22px;
  opacity: 0;
  -webkit-transition: opacity 0.25s ease-out;
          transition: opacity 0.25s ease-out;
  will-change: opacity;
  direction: ltr; }

.pswp__preloader__icn {
  width: 20px;
  height: 20px;
  margin: 12px; }

.pswp__preloader--active {
  opacity: 1; }
  .pswp__preloader--active .pswp__preloader__icn {
    /* We use .gif in browsers that don't support CSS animation */
    background: url(/local/templates/euroauto/assets/vendor/photoswipe/default-skin/preloader.gif) 0 0 no-repeat; }

.pswp--css_animation .pswp__preloader--active {
  opacity: 1; }
  .pswp--css_animation .pswp__preloader--active .pswp__preloader__icn {
    -webkit-animation: clockwise 500ms linear infinite;
            animation: clockwise 500ms linear infinite; }
  .pswp--css_animation .pswp__preloader--active .pswp__preloader__donut {
    -webkit-animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite;
            animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite; }

.pswp--css_animation .pswp__preloader__icn {
  background: none;
  opacity: 0.75;
  width: 14px;
  height: 14px;
  position: absolute;
  left: 15px;
  top: 15px;
  margin: 0; }

.pswp--css_animation .pswp__preloader__cut {
  /* 
			The idea of animating inner circle is based on Polymer ("material") loading indicator 
			 by Keanu Lee https://blog.keanulee.com/2014/10/20/the-tale-of-three-spinners.html
		*/
  position: relative;
  width: 7px;
  height: 14px;
  overflow: hidden; }

.pswp--css_animation .pswp__preloader__donut {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 14px;
  height: 14px;
  border: 2px solid #FFF;
  border-radius: 50%;
  border-left-color: transparent;
  border-bottom-color: transparent;
  position: absolute;
  top: 0;
  left: 0;
  background: none;
  margin: 0; }

@media screen and (max-width: 1024px) {
  .pswp__preloader {
    position: relative;
    left: auto;
    top: auto;
    margin: 0;
    float: right; } }

@-webkit-keyframes clockwise {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg); }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg); } }

@keyframes clockwise {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg); }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg); } }

@-webkit-keyframes donut-rotate {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0); }
  50% {
    -webkit-transform: rotate(-140deg);
            transform: rotate(-140deg); }
  100% {
    -webkit-transform: rotate(0);
            transform: rotate(0); } }

@keyframes donut-rotate {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0); }
  50% {
    -webkit-transform: rotate(-140deg);
            transform: rotate(-140deg); }
  100% {
    -webkit-transform: rotate(0);
            transform: rotate(0); } }

/*
	
	6. Additional styles

 */
/* root element of UI */
.pswp__ui {
  -webkit-font-smoothing: auto;
  visibility: visible;
  opacity: 1;
  z-index: 1550; }

/* top black bar with buttons and "1 of X" indicator */
.pswp__top-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 44px;
  width: 100%; }

.pswp__caption,
.pswp__top-bar,
.pswp--has_mouse .pswp__button--arrow--left,
.pswp--has_mouse .pswp__button--arrow--right {
  -webkit-backface-visibility: hidden;
  will-change: opacity;
  -webkit-transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
          transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }

/* pswp--has_mouse class is added only when two subsequent mousemove events occur */
.pswp--has_mouse .pswp__button--arrow--left,
.pswp--has_mouse .pswp__button--arrow--right {
  visibility: visible; }

.pswp__top-bar,
.pswp__caption {
  background-color: rgba(0, 0, 0, 0.5); }

/* pswp__ui--fit class is added when main image "fits" between top bar and bottom bar (caption) */
.pswp__ui--fit .pswp__top-bar,
.pswp__ui--fit .pswp__caption {
  background-color: rgba(0, 0, 0, 0.3); }

/* pswp__ui--idle class is added when mouse isn't moving for several seconds (JS option timeToIdle) */
.pswp__ui--idle .pswp__top-bar {
  opacity: 0; }

.pswp__ui--idle .pswp__button--arrow--left,
.pswp__ui--idle .pswp__button--arrow--right {
  opacity: 0; }

/*
	pswp__ui--hidden class is added when controls are hidden
	e.g. when user taps to toggle visibility of controls
*/
.pswp__ui--hidden .pswp__top-bar,
.pswp__ui--hidden .pswp__caption,
.pswp__ui--hidden .pswp__button--arrow--left,
.pswp__ui--hidden .pswp__button--arrow--right {
  /* Force paint & create composition layer for controls. */
  opacity: 0.001; }

/* pswp__ui--one-slide class is added when there is just one item in gallery */
.pswp__ui--one-slide .pswp__button--arrow--left,
.pswp__ui--one-slide .pswp__button--arrow--right,
.pswp__ui--one-slide .pswp__counter {
  display: none; }

.pswp__element--disabled {
  display: none !important; }

.pswp--minimal--dark .pswp__top-bar {
  background: none; }

/* End */
/* /local/templates/euroauto/components/bitrix/catalog.element/.default/style.css?178703174925161 */
/* /local/templates/euroauto/assets/vendor/photoswipe/photoswipe.css?17678341874316 */
/* /local/templates/euroauto/assets/vendor/photoswipe/default-skin/default-skin.css?176783418712089 */
