/* ============================================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ САЙТА
   ============================================================ */

/* ---- Блок с картинкой монитора (Гонка за лидером и т.д.) ---- */
.gr-bx {
    padding: 30px;
    background: #f1f1f1;
    overflow: hidden;
}

/* На ПК - float: left */
.gr-bx .monitor-img {
    float: left;
    margin-right: 30px;
    width: auto;
}

.gr-bx .monitor-img img {
    display: block;
    max-width: 100%;
    height: auto;
}

.gr-bx .monitor-text {
    overflow: hidden;
}

.gr-bx .monitor-text .monitor-item {
    height: 110px;
    margin-top: 10px;
}

.gr-bx .monitor-text .monitor-item:first-child {
    margin-top: 0;
}

.gr-bx .monitor-text .monitor-item p {
    margin: 0;
    line-height: 1.5;
}

/* Адаптив для блока монитора - на смартфонах картинка слева по центру */
@media screen and (max-width: 991px) {
    .gr-bx {
        padding: 20px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 20px !important;
    }
    .gr-bx .monitor-img {
        float: none !important;
        margin: 0 !important;
        width: 30% !important;
        max-width: 200px !important;
        flex-shrink: 0 !important;
    }
    .gr-bx .monitor-img img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .gr-bx .monitor-text {
        overflow: visible !important;
        flex: 1 !important;
        text-align: left !important;
    }
    .gr-bx .monitor-text .monitor-item {
        height: auto !important;
        min-height: 50px !important;
        margin-top: 8px !important;
    }
    .gr-bx .monitor-text .monitor-item:first-child {
        margin-top: 0 !important;
    }
    .gr-bx .monitor-text .monitor-item p {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
}

@media screen and (max-width: 767px) {
    .gr-bx {
        padding: 15px !important;
        gap: 15px !important;
    }
    .gr-bx .monitor-img {
        width: 25% !important;
        max-width: 140px !important;
    }
    .gr-bx .monitor-text .monitor-item {
        min-height: 45px !important;
    }
    .gr-bx .monitor-text .monitor-item p {
        font-size: 13px !important;
    }
}

@media screen and (max-width: 480px) {
    .gr-bx {
        padding: 10px !important;
        gap: 12px !important;
    }
    .gr-bx .monitor-img {
        width: 22% !important;
        max-width: 100px !important;
    }
    .gr-bx .monitor-text .monitor-item {
        min-height: 40px !important;
    }
    .gr-bx .monitor-text .monitor-item p {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }
}

/* ---- MT110 (отступ для картинки PM5) ---- */
.mt110 {
    text-align: center;
    margin-top: 110px;
}
.mt110 img {
    margin: auto;
    max-width: 100%;
    height: auto;
}

/* ---- Продукты (отступы) ---- */
.products-spacer {
    margin-top: 30px;
    margin-bottom: -20px;
    color: #666;
}

/* ---- Модальные окна ---- */
.reveal-modal {
    text-align: center;
}

/* ---- Блок SkiErg ---- */
.skierg-text-block {
    margin: 0 0 0 30px;
    padding: 55px;
    width: 377px;
    background: url('../img/skierg_bg.png') no-repeat center top;
}
.skierg-text-block h2,
.skierg-text-block h4 {
    color: #FFF;
}
.skierg-text-block p {
    color: #ccc;
}
.skierg-text-block .separator {
    background: #FFF;
    height: 4px;
}
.skierg-text-block h4 {
    margin: 25px 0 15px 0;
}
.skierg-product {
    vertical-align: top;
    display: inline-block;
    margin-left: 30px;
    padding-bottom: 13px;
    text-align: center;
    width: 487px;
    background: rgba(255,255,255,.8);
}
.skierg-product .price {
    display: inline-block;
    font-size: 1.4em;
    color: #4c535b;
    font-weight: bold;
}
.skierg-product .price span {
    font-weight: normal;
}
.skierg-product .storage.available {
    display: inline-block;
    padding-left: 25px;
    font-size: 0.8em;
    margin: 10px 0 0 0;
    background: url('../img/icons/available.png') no-repeat left top;
}
.skierg-meta {
    margin-top: 40px;
    margin-left: 30px;
    color: #777;
    font-size: 0.9em;
}

/* ---- Блок Slider (Concept2 Slider) ---- */
.pad85 {
    padding-left: 85px;
    padding-right: 85px;
}
.pad85 .bx1 {
    display: inline-block;
    width: 60%;
    vertical-align: top;
}
.pad85 .bx2 {
    display: inline-block;
    width: 38%;
    vertical-align: top;
}
.pad85 .bx2 img {
    max-width: 100%;
    height: auto;
}

/* ---- Блок Соревнования ---- */
.pad25 {
    padding-left: 25px;
    padding-right: 25px;
}

/* ---- Подписка ---- */
.subscription-form input[type="text"] {
    width: 300px;
}

/* ---- Footer ---- */
.footer-form input[type="text"] {
    width: 230px;
}
.footer-form textarea {
    width: 100%;
    max-width: 506px;
    box-sizing: border-box;
}
.footer-contacts .ph a {
    color: #000;
    text-decoration: none;
}

/* ============================================================
   СТИЛИ ДЛЯ БЛОКА FAQ (ВОПРОСЫ-ОТВЕТЫ)
   ============================================================ */
.faq-section {
    background: #f8f9fa;
    padding: 40px 0;
}
.faq-section .wrapper {
    padding: 20px 0;
}
.faq-section h2 {
    text-align: center;
    margin-bottom: 10px;
    color: #333;
}
.faq-section .separator {
    margin: 10px auto 30px;
    background: #abbd27;
}
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}
.faq-item {
    margin-bottom: 12px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}
.faq-question {
    padding: 18px 25px;
    cursor: pointer;
    background: #fff;
    transition: background 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}
.faq-question:hover {
    background: #f5f5f5;
}
.faq-question span:first-child {
    font-size: 1.1em;
    font-weight: 600;
    color: #2c3e50;
}
.faq-toggle {
    font-size: 1.8em;
    font-weight: 300;
    color: #abbd27;
    line-height: 1;
    flex-shrink: 0;
    margin-left: 15px;
}
.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: #fff;
}
.faq-answer p {
    padding: 15px 0 20px;
    margin: 0;
    line-height: 1.6;
    color: #555;
}
.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 5px 25px 15px;
}

/* ============================================================
   СТИЛИ ДЛЯ ТАБЛИЦЫ СРАВНЕНИЯ
   ============================================================ */
.compare-section {
    background: #ffffff;
    padding: 40px 0;
}
.compare-section .wrapper {
    padding: 20px 0;
}
.compare-section h2 {
    text-align: center;
    margin-bottom: 10px;
    color: #333;
}
.compare-section .separator {
    margin: 10px auto 30px;
    background: #abbd27;
}
.compare-table-wrap {
    overflow-x: auto;
    max-width: 100%;
}
.compare-table {
    border-collapse: collapse;
    width: 100%;
    font-family: Arial, sans-serif;
    font-size: 0.9em;
    border: 1px solid #ddd;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
}
.compare-table thead tr {
    background: linear-gradient(135deg, #4e555d 0%, #161b21 100%);
    color: #fff;
}
.compare-table thead th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 700;
    border-bottom: 2px solid #abbd27;
}
.compare-table thead th span {
    font-weight: 400;
    font-size: 0.8em;
    color: #ccc;
}
.compare-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
}
.compare-table tbody tr:nth-child(even) {
    background: #fafafa;
}
.compare-table tbody td:first-child {
    font-weight: 700;
    color: #2c3e50;
}
.compare-note {
    margin-top: 20px;
    padding: 20px 25px;
    background: #f0f4f8;
    border-radius: 8px;
    border-left: 4px solid #abbd27;
}
.compare-note p {
    margin: 0;
    line-height: 1.6;
    color: #333;
    font-size: 0.95em;
}

/* Адаптив таблицы */
@media screen and (max-width: 767px) {
    .compare-table {
        font-size: 0.75em;
    }
    .compare-table thead th,
    .compare-table tbody td {
        padding: 8px 10px;
    }
    .compare-table thead th span {
        font-size: 0.7em;
    }
}
@media screen and (max-width: 480px) {
    .compare-table {
        font-size: 0.65em;
    }
    .compare-table thead th,
    .compare-table tbody td {
        padding: 6px 8px;
    }
    .compare-note {
        padding: 12px 15px;
        font-size: 0.85em;
    }
}

/* ============================================================
   СТИЛИ ДЛЯ СЛАЙДЕРА (КАРУСЕЛИ) - БЛОК СОРЕВНОВАНИЙ
   ============================================================ */
/* Только адаптив для мобильных - чтобы показывать по 1 фото */
@media screen and (max-width: 767px) {
    #carouselh .jscarousal-contents-horizontal > div > div {
        width: 100% !important;
        float: none !important;
        display: block !important;
        text-align: center !important;
    }
    #carouselh .jscarousal-contents-horizontal > div,
    #carouselh .jscarousal-contents-horizontal,
    #carouselh .jscarousal-horizontal {
        height: auto !important;
        min-height: 200px !important;
    }
    #carouselh .jscarousal-contents-horizontal > div > div img {
        width: 100% !important;
        max-width: 320px !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
        max-height: 240px !important;
        object-fit: contain !important;
    }
    /* Кнопки навигации */
    #carouselh .jscarousal-btn-left,
    #carouselh .jscarousal-btn-right {
        display: block !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 10 !important;
        background: rgba(0,0,0,0.5) !important;
        color: #fff !important;
        border: none !important;
        border-radius: 4px !important;
        padding: 8px 12px !important;
        font-size: 20px !important;
        cursor: pointer !important;
    }
    #carouselh .jscarousal-btn-left {
        left: 5px !important;
        right: auto !important;
    }
    #carouselh .jscarousal-btn-right {
        right: 5px !important;
        left: auto !important;
    }
}

@media screen and (max-width: 480px) {
    #carouselh .jscarousal-contents-horizontal > div,
    #carouselh .jscarousal-contents-horizontal,
    #carouselh .jscarousal-horizontal {
        min-height: 160px !important;
    }
    #carouselh .jscarousal-contents-horizontal > div > div img {
        max-width: 260px !important;
        max-height: 180px !important;
    }
}

/* ============================================================
   АДАПТИВНЫЕ СТИЛИ ДЛЯ КАРТИНОК
   ============================================================ */
@media screen and (max-width: 991px) {
    section.features .image_block img,
    section.features_plus .image_block img,
    section.monitors .text_block img,
    section.monitors .table_block img,
    section.slider .bx2 img,
    section.slider .wrapper .pad85 > img,
    section.competitions #carouselh img {
        max-width: 100% !important;
        height: auto !important;
        width: auto !important;
    }
    section.features .image_block {
        min-height: inherit !important;
        width: auto !important;
        display: block !important;
        margin-bottom: 30px !important;
    }
    section.features_plus .image_block {
        min-height: inherit !important;
        width: auto !important;
        display: block !important;
    }
    section.features_plus .image_block img {
        position: static !important;
        max-width: 100% !important;
    }
    .mt110 img {
        max-width: 100% !important;
        height: auto !important;
    }
    .pad85 .bx2 img {
        max-width: 100% !important;
        height: auto !important;
    }
    .pad85 > img {
        max-width: 100% !important;
        height: auto !important;
    }
    section.top .logo img {
        max-width: 140px !important;
        height: auto !important;
    }
}

/* ---- Логотип на смартфонах ---- */
@media screen and (max-width: 767px) {
    .reveal-modal .form_block input,
    .reveal-modal .form_block textarea {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    section.top .logo img {
        max-width: 160px !important;
        height: auto !important;
    }
    section.top .logo {
        width: auto !important;
        margin-left: -80px !important;
        left: 50% !important;
        text-align: center !important;
    }
    section.top .logo h2 {
        font-size: 16px !important;
    }
    /* Адаптив для блока Slider */
    .pad85 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .pad85 .bx1 {
        display: block !important;
        width: 100% !important;
    }
    .pad85 .bx2 {
        display: block !important;
        width: 100% !important;
        margin-top: 20px !important;
    }
}

@media screen and (max-width: 480px) {
    section.top .logo img {
        max-width: 140px !important;
        height: auto !important;
    }
    section.top .logo {
        margin-left: -70px !important;
    }
    .pad85 {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}