/**
 * =============================================================================
 * WooPro Compare — Стили
 * Версия: 1.9.15
 * Изменения: стрелки на заголовке, подсказки не обрезаются, зазор справа,
 *            sticky-заголовки, откат кнопок
 * =============================================================================
 */


/* ============================================================
   1. БАЗОВЫЕ КНОПКИ И ЭЛЕМЕНТЫ
   ============================================================ */

/* Основная кнопка и кнопка "В корзину" */

.wcp-btn-primary,
.wcp-add-to-cart {
    background: #2563eb !important;
    color: #ffffff !important;
    padding: 10px 18px !important;
    border: none !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto;
    transition: background 0.2s !important;
}

.wcp-add-to-cart {
    width: 100% !important;
    box-sizing: border-box !important;
}

.wcp-btn-primary:hover,
.wcp-add-to-cart:hover {
    background: #1e40af !important;
    color: #ffffff !important;
}

/* Мини-кнопка "Купить" в шапке таблицы и в плавающей панели */

.wcp-btn-buy-small {
    background: #2563eb !important;
    color: #ffffff !important;
    padding: 7px 14px !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    box-sizing: border-box !important;
    transition: background 0.2s !important;
}

.wcp-btn-buy-small:hover {
    background: #1e40af !important;
    color: #ffffff !important;
}

/* Второстепенная контурная кнопка */

.wcp-btn-secondary-outline {
    background: #ffffff !important;
    color: #64748b !important;
    padding: 8px 16px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.2s !important;
}

.wcp-btn-secondary-outline:hover {
    background: #fee2e2 !important;
    color: #ef4444 !important;
    border-color: #fca5a5 !important;
}

/* Счётчик в меню */

.wcp-counter-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    text-decoration: none !important;
}

.wcp-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    padding: 4px 7px;
    background: #ef4444;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

.wcp-badge-top_left {
    right: auto;
    left: -5px;
}

.wcp-badge-before,
.wcp-badge-after {
    position: static;
    margin: 0 5px;
}

.wcp-counter-wrap.wcp-counter-badge-before,
.wcp-counter-wrap.wcp-counter-badge-after {
    width: auto;
    min-width: 44px;
    padding: 0 12px;
    border-radius: 22px;
}

/* Кнопка добавления на карточке товара */

.wcp-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wcp-add-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #1e293b;
}

.wcp-add-btn.active {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #3b82f6;
}


/* ============================================================
   2. ТАБЛИЦА СРАВНЕНИЯ (DNS STYLE)
   ============================================================ */

/* Контейнер и панель управления */

.wcp-comparison-container {
    position: relative;
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    box-sizing: border-box;
}

.wcp-table-controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* Вкладки категорий */

.wcp-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.wcp-tab-link {
    padding: 10px 20px;
    background: #f1f5f9;
    border: none;
    border-radius: 8px;
    color: #475569;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.wcp-tab-link:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.wcp-tab-link.active {
    background: #2563eb;
    color: #fff;
}

/* Обёртка и сама таблица */

.wcp-table-wrapper {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.wcp-table-wrapper::-webkit-scrollbar {
    display: none;
}

.wcp-main-table {
    width: auto;
    table-layout: fixed !important;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
}

.wcp-main-table th,
.wcp-main-table td {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    padding: 16px;
    background: #fff;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    word-break: break-word;
    word-wrap: break-word;
    hyphens: auto;
    transition: opacity 0.3s ease;
}

/* Длинные слова не ломают колонку */

.wcp-main-table td,
.wcp-main-table th {
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

.wcp-value-item,
.wcp-product-name,
.wcp-product-name-wrap {
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    hyphens: auto;
}

/* Заголовок блока характеристик
   Фикс: пропадание "Цена [?]" при горизонтальном скролле */

.wcp-attr-title-row {
    overflow: visible !important;
}

.wcp-attr-title-row td {
    position: sticky;
    left: 0;
    z-index: 11;
    padding: 0 !important;
    background-color: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    border-right: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
    overflow: visible !important;
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.wcp-label-inner {
    position: relative;
    left: auto;
    z-index: 12;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    max-width: none;
    background-color: #f8fafc;
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: visible !important;
    isolation: isolate;
}

/* Липкая шапка таблицы */

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 150;
    background: #fff !important;
    border-bottom: 2px solid #2563eb !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}


/* ============================================================
   3. УМНЫЕ ПОДСКАЗКИ (TOOLTIPS)
   Фикс тени и перекрытий
   ============================================================ */

.has-hint {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: help !important;
    isolation: auto;
}

.has-hint:hover {
    z-index: 300;
}

.wcp-hint-trigger {
    display: inline-block;
    color: #2563eb !important;
    font-size: 13px;
    font-weight: bold;
}

/* Тело подсказки */

.has-hint::after {
    content: attr(data-hint);
    position: absolute;
    top: 50%;
    z-index: 10001;
    width: 240px;
    max-width: 240px;
    padding: 12px 18px;
    background: #1e293b;
    color: #ffffff !important;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%);
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* Стрелка подсказки */

.has-hint::before {
    content: '';
    position: absolute;
    top: 50%;
    z-index: 10001;
    border: 8px solid transparent;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* Направления для десктопа */

.wcp-hint-right::after {
    left: 100%;
    margin-left: 15px;
}

.wcp-hint-right::before {
    left: 100%;
    margin-left: -1px;
    border-right-color: #1e293b;
}

.wcp-hint-left::after {
    right: 100%;
    margin-right: 15px;
}

.wcp-hint-left::before {
    right: 100%;
    margin-right: -1px;
    border-left-color: #1e293b;
}

/* Показ при наведении */

.has-hint:hover::after,
.has-hint:hover::before {
    visibility: visible;
    opacity: 1 !important;
}

/* Адаптив подсказок:
   на мобильных фиксируем внизу экрана, чтобы не обрезалось */

@media (max-width: 1024px) {

    .has-hint::after {
        position: fixed !important;
        top: auto !important;
        bottom: 20px !important;
        left: 50% !important;
        right: auto !important;
        width: 90% !important;
        max-width: 300px !important;
        margin: 0 !important;
        text-align: center !important;
        z-index: 10002 !important;
        transform: translateX(-50%) !important;
    }

    .has-hint::before {
        display: none !important;
    }
}

/* Значения характеристик */

.wcp-value-item {
    width: 100%;
    padding: 4px 0;
    border-bottom: 1px dotted #f1f5f9;
    line-height: 1.4;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.wcp-value-item:last-child {
    border-bottom: none;
}

/* Фикс разбиения [?] в значениях с переносом */

.wcp-value-item.has-hint {
    display: block !important;
    white-space: normal !important;
}

.wcp-value-item.has-hint .wcp-hint-trigger.small {
    display: inline !important;
    margin-left: 4px;
    white-space: nowrap !important;
    vertical-align: baseline;
    flex-shrink: 0;
}


/* ============================================================
   4. СЛАЙДЕР И ПЛАВАЮЩАЯ ПАНЕЛЬ
   ============================================================ */

/* Стрелки слайдера */

.wcp-slider-container {
    position: relative;
}

.wcp-slider-controls {
    pointer-events: none;
}

.wcp-slider-arrow {
    position: absolute;
    top: 120px;
    z-index: 10001 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #2563eb;
    color: #fff;
    border: 3px solid #fff;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.wcp-slider-arrow:hover {
    background: #1e40af;
    transform: scale(1.1);
}

.wcp-prev {
    left: -22px !important;
}

.wcp-next {
    right: -22px !important;
}

/* Плавающая панель сравнения */

.wcp-floating-bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    display: none;
    width: 100%;
    padding: 0;
    background: #ffffff;
    border-bottom: 3px solid #2563eb;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.wcp-floating-container {
    position: relative;
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    overflow: visible;
    box-sizing: border-box;
}

.wcp-float-wrapper {
    width: 100%;
    margin: 0 auto;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.wcp-float-wrapper::-webkit-scrollbar {
    display: none;
}

/* Чистка линий в плавающей панели */

.wcp-floating-bar .sticky-header {
    border-bottom: none !important;
    box-shadow: none !important;
}

.wcp-floating-bar .wcp-main-table th {
    padding: 12px 16px !important;
    border-bottom: none !important;
}

.wcp-floating-bar .wcp-main-table td {
    border-bottom: none !important;
}

/* Компактные карточки товаров в панели */

.wcp-floating-bar .wcp-product-info {
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px;
    padding: 10px 0 8px 0;
}

.wcp-floating-bar .wcp-product-image img {
    max-width: 60px !important;
    max-height: 60px !important;
    margin-bottom: 0 !important;
    object-fit: contain;
}

.wcp-floating-bar .wcp-product-name {
    max-height: 2.4em;
    font-size: 11px !important;
    line-height: 1.2;
    text-align: center;
    overflow: hidden;
}

.wcp-floating-bar .wcp-product-name-wrap {
    min-height: auto !important;
}

.wcp-floating-bar .wcp-price {
    color: #2563eb !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    white-space: nowrap;
}

.wcp-floating-bar .wcp-remove {
    top: 10px !important;
    right: 10px !important;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    font-size: 14px;
    line-height: 1;
}

.wcp-floating-bar .wcp-slider-arrow {
    top: 50%;
    transform: translateY(-50%);
}

/* В плавающей панели кнопка "Купить" — как внизу, но мини */

.wcp-floating-bar .wcp-btn-buy-small {
    margin-top: 4px;
    padding: 6px 12px !important;
    font-size: 12px !important;
}


/* ============================================================
   5. ЭЛЕМЕНТЫ ТАБЛИЦЫ
   ============================================================ */

/* Карточка товара в шапке */

.wcp-product-info {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    height: 100%;
    padding: 15px 0 10px 0;
    text-align: center;
}

.wcp-product-image img {
    max-width: 120px;
    max-height: 120px;
    margin-bottom: 5px;
    border-radius: 8px;
    object-fit: contain;
}

.wcp-product-name-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    min-height: 50px;
}

.wcp-product-name {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    color: #1e293b;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.wcp-price {
    color: #2563eb;
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
}

/* Кнопка удаления товара из сравнения */

.wcp-remove {
    position: absolute;
    top: 0;
    right: 5px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #fee2e2;
    border: 1px solid #fca5a5;
    border-radius: 50%;
    color: #ef4444;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    transition: 0.2s;
}


/* ============================================================
   6. АДАПТИВНОСТЬ: МОБИЛЬНЫЕ И ПЛАНШЕТЫ
   Контрольные точки:
   - 1024px — iPad Pro
   -  820px — iPad Air
   -  768px — iPad Mini и телефоны
   -  430px — iPhone 14 Pro Max и узкие телефоны
   -  360px — очень узкие экраны
   ============================================================ */

/* До 1024px: панель и таблица на 100% ширины
   (без фиксированных 950px, вызывающих наложение) */

@media (max-width: 1024px) {

    .wcp-comparison-container,
    .wcp-floating-container {
        max-width: 100% !important;
        padding-left: 12px;
        padding-right: 12px;
        box-sizing: border-box;
    }

    .wcp-table-wrapper {
        border-radius: 8px;
    }

    .wcp-main-table th,
    .wcp-main-table td {
        width: 210px !important;
        min-width: 210px !important;
        max-width: 210px !important;
        padding: 12px !important;
    }

    .wcp-floating-bar .wcp-main-table th,
    .wcp-floating-bar .wcp-main-table td {
        width: 210px !important;
        min-width: 210px !important;
        max-width: 210px !important;
        padding: 10px !important;
    }

    .wcp-product-image img {
        max-width: 90px !important;
        max-height: 90px !important;
    }

    .wcp-slider-arrow {
        width: 38px;
        height: 38px;
        font-size: 20px;
        top: 100px;
    }

    .wcp-prev {
        left: -12px !important;
    }

    .wcp-next {
        right: -12px !important;
    }
}

/* До 820px (iPad Air) */

@media (max-width: 820px) {

    .wcp-comparison-container,
    .wcp-floating-container {
        max-width: 100% !important;
        padding-left: 10px;
        padding-right: 10px;
    }

    .wcp-main-table th,
    .wcp-main-table td {
        width: 190px !important;
        min-width: 190px !important;
        max-width: 190px !important;
        padding: 11px !important;
    }

    .wcp-floating-bar .wcp-main-table th,
    .wcp-floating-bar .wcp-main-table td {
        width: 190px !important;
        min-width: 190px !important;
        max-width: 190px !important;
    }

    .wcp-floating-bar {
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.14);
    }

    .wcp-floating-bar .wcp-product-image img {
        max-width: 52px !important;
        max-height: 52px !important;
    }

    .wcp-floating-bar .wcp-product-name {
        font-size: 10px !important;
        -webkit-line-clamp: 2;
    }

    .wcp-floating-bar .wcp-price {
        font-size: 13px !important;
    }

    .wcp-floating-bar .wcp-btn-buy-small {
        padding: 5px 10px !important;
        font-size: 11px !important;
    }
}

/* До 768px (iPad Mini и телефоны):
   стрелки видны, категории в столбик, фикс плавающей панели */

@media (max-width: 768px) {

    .wcp-table-wrapper {
        overflow-x: auto !important;
        border-right: none;
        border-left: none;
        border-radius: 0;
    }

    .wcp-main-table th,
    .wcp-main-table td {
        width: 170px !important;
        min-width: 170px !important;
        max-width: 170px !important;
        padding: 10px !important;
    }

    .wcp-floating-bar .wcp-main-table th,
    .wcp-floating-bar .wcp-main-table td {
        width: 170px !important;
        min-width: 170px !important;
        max-width: 170px !important;
        padding: 8px 10px !important;
    }

    /* Плавающая панель: показываем названия */
    .wcp-floating-bar {
        padding: 4px 0;
    }

    .wcp-floating-bar .wcp-float-wrapper {
        overflow-x: auto !important;
    }

    .wcp-floating-bar .wcp-product-image img {
        max-width: 44px !important;
        max-height: 44px !important;
    }

    .wcp-floating-bar .wcp-product-name {
        display: block !important;
        max-height: 2.2em !important;
        font-size: 9px !important;
        line-height: 1.1 !important;
        text-align: center !important;
        overflow: hidden !important;
    }

    .wcp-floating-bar .wcp-product-name-wrap {
        display: block !important;
        min-height: auto !important;
    }

    .wcp-floating-bar .wcp-product-info {
        gap: 3px;
        padding: 6px 0 4px 0;
    }

    .wcp-floating-bar .wcp-price {
        font-size: 13px !important;
        line-height: 1.1;
    }

    .wcp-floating-bar .wcp-btn-buy-small {
        margin-top: 2px;
        padding: 5px 10px !important;
        font-size: 11px !important;
    }

    .wcp-floating-bar .wcp-remove {
        top: 6px !important;
        right: 6px !important;
        width: 18px;
        height: 18px;
        font-size: 12px;
    }

    .wcp-product-name {
        font-size: 12px !important;
        -webkit-line-clamp: 2;
    }

    .wcp-price {
        font-size: 14px !important;
    }

    /* Категории в столбик на телефоне */
    .wcp-table-controls-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .wcp-tabs {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        flex-wrap: wrap;
        overflow: visible;
    }

    .wcp-tab-link {
        width: 100%;
        text-align: center;
        white-space: normal;
        flex: 1 1 auto;
    }

    /* Стрелки показываем даже на телефоне */
    .wcp-slider-controls {
        display: block !important;
    }

    .wcp-slider-arrow {
        display: flex !important;
        width: 34px;
        height: 34px;
        font-size: 18px;
    }

    .wcp-prev {
        left: 4px !important;
    }

    .wcp-next {
        right: 4px !important;
    }

    .wcp-floating-bar .wcp-slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .wcp-floating-bar .wcp-prev {
        left: 2px !important;
    }

    .wcp-floating-bar .wcp-next {
        right: 2px !important;
    }
}

/* До 430px (iPhone 14 Pro Max и узкие телефоны): фикс кривой панели */

@media (max-width: 430px) {

    .wcp-comparison-container,
    .wcp-floating-container {
        max-width: 100% !important;
        padding-left: 8px;
        padding-right: 8px;
    }

    .wcp-table-controls-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .wcp-tabs {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        flex-wrap: wrap;
        overflow: visible;
    }

    .wcp-tab-link {
        width: 100%;
        padding: 8px 14px;
        font-size: 13px;
        text-align: center;
        white-space: normal;
        flex: 1 1 auto;
    }

    .wcp-main-table th,
    .wcp-main-table td {
        width: 140px !important;
        min-width: 140px !important;
        max-width: 140px !important;
        padding: 8px !important;
        font-size: 12px;
    }

    .wcp-floating-bar .wcp-main-table th,
    .wcp-floating-bar .wcp-main-table td {
        width: 140px !important;
        min-width: 140px !important;
        max-width: 140px !important;
        padding: 6px 8px !important;
    }

    .wcp-product-image img {
        max-width: 70px !important;
        max-height: 70px !important;
    }

    .wcp-product-name-wrap {
        min-height: auto;
    }

    .wcp-product-name {
        font-size: 11px !important;
        -webkit-line-clamp: 2;
    }

    .wcp-price {
        font-size: 13px !important;
    }

    /* Плавающая панель: ровная, цена и кнопка на разных строках,
       без наложения синей линии */
    .wcp-floating-bar {
        padding: 4px 0 6px 0;
        border-bottom-width: 2px !important;
    }

    .wcp-floating-bar .wcp-product-info {
        gap: 4px;
        padding: 4px 0;
    }

    .wcp-floating-bar .wcp-product-image img {
        max-width: 36px !important;
        max-height: 36px !important;
    }

    .wcp-floating-bar .wcp-product-name {
        display: block !important;
        max-height: 2.2em !important;
        font-size: 8px !important;
        line-height: 1.1 !important;
        text-align: center !important;
    }

    .wcp-floating-bar .wcp-price {
        font-size: 12px !important;
        line-height: 1.1;
    }

    .wcp-floating-bar .wcp-btn-buy-small {
        width: auto !important;
        margin-top: 2px;
        padding: 5px 10px !important;
        font-size: 11px !important;
        line-height: 1 !important;
    }

    .wcp-floating-bar .wcp-remove {
        top: 4px !important;
        right: 4px !important;
        width: 16px;
        height: 16px;
        font-size: 11px;
    }

    .wcp-label-inner {
        padding: 10px 12px;
        font-size: 12px;
    }

    .wcp-attr-title-row td {
        font-size: 12px;
    }

    /* Длинное слово на 430px не вылезает */
    .wcp-main-table td {
        font-size: 12px;
        line-height: 1.3;
    }
}

/* Очень узкие экраны (< 360px) */

@media (max-width: 360px) {

    .wcp-main-table th,
    .wcp-main-table td {
        width: 130px !important;
        min-width: 130px !important;
        max-width: 130px !important;
    }

    .wcp-floating-bar .wcp-main-table th,
    .wcp-floating-bar .wcp-main-table td {
        width: 130px !important;
        min-width: 130px !important;
        max-width: 130px !important;
    }
}