/*NOTE: This file is intended for programmers. Aspro technical support is not advised to work with him.*/

/* Examples (uncomment to use):*/

/* Expand site width */
/* body .wrapper { max-width: 1400px !important; } */

/* Set site background image */
/* body { background: url(image_source) top no-repeat; } */

/* Hide compare button */
/* a.compare_item { display: none !important; }*/

/* Центрированный заголовок баннеров под тему сайта */
.float-banners-title { text-align: center; }

/* ПК версия (десктоп) */
@media (min-width: 769px) {
    .item-title, .item-title a, .item-title span, .catalog_item_title {
        font-size: 14px !important;
        line-height: 1.4 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 4 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        word-break: break-word !important;
        height: auto !important;
        max-height: none !important;
    }
}

/* Мобильная версия */
@media (max-width: 768px) {
    .item-title, .item-title a, .item-title span, .catalog_item_title {
        font-size: 13px !important;
        line-height: 1.4 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 5 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        word-break: break-word !important;
        height: auto !important;
        max-height: none !important;
    }
}

/* Общий текст — аккуратный перенос */
.block-item__title span {
    overflow-wrap: break-word !important;
    word-break: normal !important;
}

/* Если встречаются длинные куски — разрешаем разрыв */
.block-item__title span {
    hyphens: auto;
}

/* Ранее просмотренные — точечный фикс */
.block-item__title,
.block-item__title a,
.block-item__title span {
    font-size: 10px !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 5 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

/* Жёсткий перенос длинных аббревиатур */
.block-item__title,
.block-item__title a,
.block-item__title span {
    overflow-wrap: anywhere !important;
    word-break: normal !important;
}

/* 🔥 ВОТ ГЛАВНОЕ — ЦЕНА В ОДНУ СТРОКУ */
.price_only_price {
    white-space: nowrap !important;
}

/* Мобильная корректировка */
@media (max-width: 768px) {
    .price-request-text {
        white-space: nowrap !important;
        font-size: 14px !important;
        display: inline-block;
    }
}
/* 👇 Только блок "Ранее вы смотрели" */
.viewed_product_block .price_only_price {
    font-size: 10px !important;
    white-space: nowrap !important;
}
/* ==================================================
   Опросный лист — вертикальное хранение
   Модальное окно
   ================================================== */

/* ПК */
html body #popup_iframe_wrapper
.send_review_frame.jqmWindow.popup.jqm-init.scrollblock.show:has(.form.POLL_VERTIKALNOE_HRANENIE, .form.POLL_VERTICAL_VIKAT_KASSET, .form.POLL_SYEMNIE_KASSETI, .form.POLL_GORIZONTAL_VIKAT_KASSET, .form.POLL_COMBINIR_ST, .form.POLL_KHRANENIE_NA_BAZE_FRONTALNOGO, .form.POLL_LISTMET_MEH_ELEKTROPRIVOD, .form.RACK_CONSOLE, .form.POLL_LISTMET_MEHPRIVOD) {
    width: 800px !important;
    min-width: 800px !important;
    max-width: 800px !important;
    height: auto !important;
    max-height: 90vh !important;
    box-sizing: border-box !important;
}

/* Мобильные устройства */
@media (max-width: 767px) {
    html body #popup_iframe_wrapper
    .send_review_frame.jqmWindow.popup.jqm-init.scrollblock.show:has(.form.POLL_VERTIKALNOE_HRANENIE, .form.POLL_VERTICAL_VIKAT_KASSET, .form.POLL_SYEMNIE_KASSETI, .form.POLL_GORIZONTAL_VIKAT_KASSET, .form.POLL_COMBINIR_ST, .form.POLL_KHRANENIE_NA_BAZE_FRONTALNOGO, .form.POLL_LISTMET_MEH_ELEKTROPRIVOD, .form.RACK_CONSOLE, .form.POLL_LISTMET_MEHPRIVOD) {
        width: calc(100vw - 30px) !important;
        min-width: 0 !important;
        max-width: calc(100vw - 30px) !important;
        height: auto !important;
        max-height: 90vh !important;
        box-sizing: border-box !important;
    }
}

/* Шапка именно нашей формы */
html body #popup_iframe_wrapper
.send_review_frame.jqmWindow.popup.jqm-init.scrollblock.show:has(.form.POLL_VERTIKALNOE_HRANENIE, .form.POLL_VERTICAL_VIKAT_KASSET, .form.POLL_SYEMNIE_KASSETI, .form.POLL_GORIZONTAL_VIKAT_KASSET, .form.POLL_COMBINIR_ST, .form.POLL_KHRANENIE_NA_BAZE_FRONTALNOGO, .form.POLL_LISTMET_MEH_ELEKTROPRIVOD, .form.RACK_CONSOLE, .form.POLL_LISTMET_MEHPRIVOD)
.form_head {
    background: #ff8000 !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    overflow-wrap: break-word !important;
    box-sizing: border-box !important;
    min-height: 90px !important;
    padding-top: 10px;
    padding-right: 15px;
    padding-left: 10px;
}

/* Текст шапки */
html body #popup_iframe_wrapper
.send_review_frame.jqmWindow.popup.jqm-init.scrollblock.show:has(.form.POLL_VERTIKALNOE_HRANENIE, .form.POLL_VERTICAL_VIKAT_KASSET, .form.POLL_SYEMNIE_KASSETI, .form.POLL_GORIZONTAL_VIKAT_KASSET, .form.POLL_COMBINIR_ST, .form.POLL_KHRANENIE_NA_BAZE_FRONTALNOGO, .form.POLL_LISTMET_MEH_ELEKTROPRIVOD, .form.RACK_CONSOLE, .form.POLL_LISTMET_MEHPRIVOD)
.form_head * {
    color: #fff !important;
}

/* Главная страница: единый H1 и вводный текст */
.homepage-intro {
    padding: 18px 0 24px;
    text-align: center;
}

.homepage-intro .top_block_title {
    display: block;
    margin: 0 0 10px;
}

.homepage-intro__lead {
    max-width: 940px;
    margin: 0 auto;
}