.catalog-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem 2rem;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: #f8fafc;
    color: #0f172a;
}

/* Заголовок H1 */
.catalog-page h1 {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 1.5rem 0;
    color: #0a3b5c;
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 0.8rem;
}

.catalog-page h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background-color: #2c9c6e;
}

.catalog-page h2 {
    font-size: 24px;
    font-weight: 600;
    color: #0a3b5c;
    margin: 1.5rem 0 1rem;
    text-align: center;
}

.catalog-page h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e5799;
    margin: 1rem 0;
    text-align: center;
}

/* Каталог товаров - сетка */
.catalog-page .catalog-box {
    margin: 1rem 0;
}

.catalog-page .items-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Карточка товара */
.catalog-page .item-wrap {
    display: flex;
}

.catalog-page .item-catalog {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    padding: 0.8rem;
    padding-bottom: 10px;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.catalog-page .item-catalog:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Заголовок карточки */
.catalog-page .cat-title-wrap {
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.catalog-page .cat-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #003366;
    line-height: 1.3;
}

.catalog-page .cat-title-upper {
    text-transform: uppercase;
}

/* Контейнер изображения */
.catalog-page .cat-photo-wrap {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.3rem 0;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.catalog-page .cat-photo-wrap img {
    max-width: 100%;
    max-height: 130px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.catalog-page .item-catalog:hover .cat-photo-wrap img {
    transform: scale(1.02);
}

/* Текст с количеством моделей */
.catalog-page .item-catalog p {
    font-size: 0.8rem;
    margin: 0.3rem 0;
    font-weight: 500;
    flex-shrink: 0;
}

/* Контейнер для группы кнопок - вертикальное расположение групп */
.catalog-page .button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    margin-bottom: 0px;
    width: 100%;
}

/* Каждая пара кнопок (строка с двумя кнопками) */
.catalog-page .button-row {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
}

/* ===== ФИКСИРОВАННЫЕ РАЗМЕРЫ ДЛЯ ВСЕХ КНОПОК ===== */
/* Кнопки в ряду */
.catalog-page .button-row .btn-order-custom,
.catalog-page .button-row .btn-order,
.catalog-page .button-row .order-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 0px 12px !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    flex: 1 !important;
    box-sizing: border-box !important;
    background: white !important;
    text-align: center !important;
    min-width: 0 !important;
    line-height: 38px !important;
    margin: 0 !important;
    border: 1px solid !important;
    height: 38px !important;
    white-space: nowrap !important;
    width: auto !important;
}

/* Одиночные кнопки - прижимаем к низу через margin-top: auto */
.catalog-page .item-catalog > .btn-order,
.catalog-page .item-catalog > .btn-white,
.catalog-page .item-catalog > .btn-model {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0px 16px !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    text-align: center !important;
    line-height: 42px !important;
    margin-top: auto !important;
    margin-bottom: 0 !important;
    height: 42px !important;
    white-space: nowrap !important;
    width: 100% !important;
    background: #f0f4ff !important;
    color: #1e5799 !important;
    border: 1px solid #dce3f0 !important;
}

.catalog-page .item-catalog > .btn-order:hover,
.catalog-page .item-catalog > .btn-white:hover,
.catalog-page .item-catalog > .btn-model:hover {
    background: #1e5799 !important;
    color: white !important;
    border-color: #1e5799 !important;
}

/* Кнопка "Заказать" в ряду - красная */
.catalog-page .button-row .btn-order-custom,
.catalog-page .button-row .order-btn {
    color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.catalog-page .button-row .btn-order-custom:hover,
.catalog-page .button-row .order-btn:hover {
    background: #dc3545 !important;
    color: white !important;
    transform: translateY(-2px) !important;
}

/* Кнопка "Подробнее / вариант" в ряду - синяя */
.catalog-page .button-row .btn-order {
    color: #1e5799 !important;
    border-color: #1e5799 !important;
}

.catalog-page .button-row .btn-order:hover {
    background: #1e5799 !important;
    color: white !important;
    transform: translateY(-2px) !important;
}

/* Цена */
.catalog-page .cat-price-wrap {
    font-size: 0.75rem;
    margin: 0.3rem 0;
    color: #666;
}

/* Видео */
.catalog-page .video {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

/* Текстовая информация */
.catalog-page .info-text {
    margin-top: 1.5rem;
    padding: 0.7rem 1rem;
    background: #eef2ff;
    border-radius: 1rem;
    font-size: 0.85rem;
    line-height: 1.35;
    color: #1e3a5f;
    clear: both;
}

/* Список расчетов */
.catalog-page .calculation-list {
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 1rem;
    margin: 2rem 0;
}

.catalog-page .calculation-list ul {
    margin: 0.5rem 0 0 1.5rem;
}

.catalog-page .calculation-list li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

/* Адаптив */
@media (max-width: 900px) {
    .catalog-page {
        padding: 0.8rem 1rem;
    }
    
    .catalog-page .items-wrap {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .catalog-page .cat-photo-wrap {
        height: 140px;
    }
    
    .catalog-page .cat-photo-wrap img {
        max-height: 120px;
    }
    
    .catalog-page .button-row .btn-order-custom,
    .catalog-page .button-row .btn-order,
    .catalog-page .button-row .order-btn {
        line-height: 36px !important;
        height: 36px !important;
        font-size: 12px !important;
        padding: 0px 10px !important;
    }
    
    .catalog-page .item-catalog > .btn-order,
    .catalog-page .item-catalog > .btn-white,
    .catalog-page .item-catalog > .btn-model {
        line-height: 38px !important;
        height: 38px !important;
        font-size: 12px !important;
        padding: 0px 12px !important;
        margin-top: auto !important;
    }
}

@media (max-width: 600px) {
    .catalog-page {
        padding: 0.5rem;
    }
    
    .catalog-page .items-wrap {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .catalog-page h1 {
        font-size: 20px;
    }
    
    .catalog-page .cat-photo-wrap {
        height: 160px;
    }
    
    .catalog-page .cat-photo-wrap img {
        max-height: 140px;
    }
    
    .catalog-page .button-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .catalog-page .button-row {
        flex-direction: row;
        gap: 8px;
    }
    
    .catalog-page .button-row .btn-order-custom,
    .catalog-page .button-row .btn-order,
    .catalog-page .button-row .order-btn {
        line-height: 34px !important;
        height: 34px !important;
        font-size: 11px !important;
        padding: 0px 6px !important;
        flex: 1 !important;
    }
    
    .catalog-page .item-catalog > .btn-order,
    .catalog-page .item-catalog > .btn-white,
    .catalog-page .item-catalog > .btn-model {
        line-height: 36px !important;
        height: 36px !important;
        font-size: 11px !important;
        padding: 0px 8px !important;
        margin-top: auto !important;
    }
}


/* ===== МОДАЛЬНОЕ ОКНО ДЛЯ ИЗОБРАЖЕНИЙ ===== */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.image-modal-content {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: auto;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10001;
}

.image-modal-close:hover {
    color: #1e5799;
}

/* Текст над фото */
.image-modal-label {
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    color: #ff0a0a;
    font-size: 18px;
    font-weight: 700;
    padding: 8px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    max-width: 80%;
    line-height: 1.3;
    letter-spacing: 0.3px;
    pointer-events: none;
}

/* Текст снизу (из regul-text) */
.image-modal-bottom-label {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    color: #ff0a0a;
    font-size: 16px;
    font-weight: 700;
    padding: 6px 15px;
    text-align: center;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 80%;
    line-height: 1.3;
    letter-spacing: 0.3px;
    pointer-events: none;
}

/* Кнопка в модальном окне */
.image-modal-footer {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 10001;
}

.image-modal-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0px 16px !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    text-align: center !important;
    line-height: 42px !important;
    height: 42px !important;
    white-space: nowrap !important;
    min-width: 160px !important;
}

/* Стили для кнопки на страницах каталога (btn-model) */
.image-modal-btn.btn-model {
    background: #f0f4ff !important;
    color: #1e5799 !important;
    border: 1px solid #dce3f0 !important;
    box-shadow: none !important;
}

.image-modal-btn.btn-model:hover {
    background: #1e5799 !important;
    color: white !important;
    border-color: #1e5799 !important;
    transform: translateY(-3px);
}

/* Стили для кнопки на страницах товара (btn-order) */
.image-modal-btn.btn-order {
    background: linear-gradient(135deg, #1e5799 0%, #2a7bcb 100%) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(30, 87, 153, 0.4) !important;
    border-radius: 8px !important;
}

.image-modal-btn.btn-order:hover {
    background: linear-gradient(135deg, #0d3c6e 0%, #1e5799 100%) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 87, 153, 0.5) !important;
}

/* Адаптив */
@media (max-width: 768px) {
    .image-modal-content {
        max-width: 95vw;
        max-height: 80vh;
    }
    
    .image-modal-close {
        top: 10px;
        right: 20px;
        font-size: 35px;
    }
    
    .image-modal-label {
        top: 70px;
        font-size: 14px;
        padding: 6px 15px;
        max-width: 90%;
    }
    
    .image-modal-bottom-label {
        bottom: 80px;
        font-size: 13px;
        padding: 4px 12px;
        max-width: 85%;
    }
    
    .image-modal-footer {
        bottom: 30px;
        right: 20px;
    }
    
    .image-modal-btn {
        line-height: 38px !important;
        height: 38px !important;
        font-size: 12px !important;
        min-width: 140px !important;
        padding: 0px 12px !important;
    }
}

@media (max-width: 480px) {
    .image-modal-label {
        top: 60px;
        font-size: 12px;
        padding: 4px 12px;
        max-width: 92%;
    }
    
    .image-modal-bottom-label {
        bottom: 65px;
        font-size: 11px;
        padding: 3px 10px;
        max-width: 90%;
    }
    
    .image-modal-footer {
        bottom: 20px;
        right: 15px;
    }
    
    .image-modal-btn {
        line-height: 34px !important;
        height: 34px !important;
        font-size: 11px !important;
        min-width: 120px !important;
        padding: 0px 10px !important;
    }
}

/* ================================================================ */
/* ===== ФИКСЫ ДЛЯ КАРТОЧЕК КАТАЛОГА (ДВУХСТРОЧНОЕ РАСПОЛОЖЕНИЕ) ===== */
/* ================================================================ */

/* ----- Ограничение ширины карточки ----- */
.catalog-page .item-catalog {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* ----- Контейнер для действий (статус + кнопка Подробнее - ПЕРВАЯ СТРОКА) ----- */
.catalog-page .item-catalog .ptp-product-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    padding: 4px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* ----- Первая строка: статус + кнопка Подробнее ----- */
.catalog-page .item-catalog .ptp-product-actions .ptp-top-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    flex-wrap: wrap !important;
}

/* ----- Вторая строка: цена + корзина (на одном уровне) ----- */
.catalog-page .item-catalog .ptp-product-actions .ptp-bottom-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    flex-wrap: wrap !important;
    padding-top: 2px !important;
    border-top: 1px solid #e5e7eb !important;
    padding-top: 6px !important;
}

/* ----- Статус "В наличии" (НЕ РАСТЯГИВАЕТСЯ) ----- */
.catalog-page .item-catalog .availability {
    font-size: 12px !important;
    padding: 4px 12px !important;
    border-radius: 30px !important;
    background: #dcfce7 !important;
    color: #166534 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    font-weight: 600 !important;
    height: 32px !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    text-align: center !important;
    vertical-align: middle !important;
    max-width: 180px !important;
    min-width: 80px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.catalog-page .item-catalog .availability.out-of-stock {
    background: #fee2e2 !important;
    color: #991b1b !important;
    max-width: 140px !important;
}

.catalog-page .item-catalog .availability.eta {
    background: #fef9c3 !important;
    color: #854d0e !important;
    font-size: 11px !important;
    padding: 4px 8px !important;
    max-width: 160px !important;
    min-width: 70px !important;
}

/* ----- Кнопка "Подробнее" (СТАБИЛЬНЫЙ ШРИФТ 12px) ----- */
.catalog-page .item-catalog .btn-detail {
    padding: 4px 12px !important;
    border-radius: 40px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    background: #1f2d7c !important;
    color: #ffffff !important;
    border: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: 0.15s !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    height: 32px !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    text-align: center !important;
    vertical-align: middle !important;
    min-width: 110px !important;
    max-width: 180px !important;
    margin: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.catalog-page .item-catalog .btn-detail:hover {
    background: #16205a !important;
}

/* ----- Цена (вторая строка - слева) ----- */
.catalog-page .item-catalog .product-price-block {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
    flex-wrap: wrap !important;
}

/* ----- Контейнер для корзины (вторая строка - справа) ----- */
.catalog-page .item-catalog .ptp-cart-control {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    box-sizing: border-box !important;
    height: 36px !important;
}

/* ----- Пустой блок для товаров не в наличии (скрываем) ----- */
.catalog-page .item-catalog .ptp-empty-cart-placeholder {
    display: none !important;
}

/* ----- Кнопка "В корзину" (С ТЕКСТОМ) ----- */
.catalog-page .item-catalog .add-to-cart {
    background: #ffffff !important;
    color: #1f2d7c !important;
    border: 2px solid #1f2d7c !important;
    padding: 4px 16px !important;
    border-radius: 30px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: 0.15s !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
    box-shadow: none !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    text-align: center !important;
    vertical-align: middle !important;
    height: 32px !important;
    min-width: 100px !important;
    margin: 0 !important;
}

.catalog-page .item-catalog .add-to-cart .cart-icon {
    font-size: 16px !important;
    line-height: 1 !important;
}

.catalog-page .item-catalog .add-to-cart .cart-text {
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
}

.catalog-page .item-catalog .add-to-cart:hover {
    background: #1f2d7c !important;
    color: #ffffff !important;
    border-color: #1f2d7c !important;
    transform: scale(0.97) !important;
    box-shadow: none !important;
}

/* ----- Контрол количества (компактный) ----- */
.catalog-page .item-catalog .qty-control-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
    background: #f1f5f9 !important;
    border-radius: 40px !important;
    padding: 3px 6px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    height: 32px !important;
    box-sizing: border-box !important;
    width: auto !important;
    max-width: none !important;
}

.catalog-page .item-catalog .qty-btn {
    background: #ffffff !important;
    border: 1px solid #d1d9e6 !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: 0.15s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #1e293b !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
}

.catalog-page .item-catalog .qty-btn:hover {
    background: #1f2d7c !important;
    color: #ffffff !important;
    border-color: #1f2d7c !important;
}

.catalog-page .item-catalog .qty-input {
    width: 32px !important;
    min-width: 28px !important;
    max-width: 40px !important;
    height: 24px !important;
    text-align: center !important;
    border: 1px solid #d1d9e6 !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    background: #ffffff !important;
    padding: 0 2px !important;
    outline: none !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
}

/* ================================================================ */
/* ===== МОБИЛЬНАЯ АДАПТАЦИЯ ===== */
/* ================================================================ */

@media (max-width: 768px) {
    .catalog-page .item-catalog .availability {
        font-size: 11px !important;
        padding: 3px 8px !important;
        max-width: 140px !important;
        min-width: 60px !important;
        height: 28px !important;
    }
    
    .catalog-page .item-catalog .availability.eta {
        font-size: 10px !important;
        padding: 3px 6px !important;
        max-width: 120px !important;
        min-width: 50px !important;
    }
    
    .catalog-page .item-catalog .btn-detail {
        font-size: 11px !important;
        padding: 3px 8px !important;
        height: 28px !important;
        min-width: 60px !important;
        max-width: 140px !important;
    }
    
    .catalog-page .item-catalog .ptp-cart-control {
        height: 32px !important;
    }
    
    .catalog-page .item-catalog .add-to-cart {
        font-size: 12px !important;
        height: 28px !important;
        min-width: 90px !important;
        padding: 3px 12px !important;
    }
    
    .catalog-page .item-catalog .add-to-cart .cart-icon {
        font-size: 14px !important;
    }
    
    .catalog-page .item-catalog .add-to-cart .cart-text {
        font-size: 12px !important;
    }
    
    .catalog-page .item-catalog .qty-control-wrapper {
        height: 28px !important;
        padding: 2px 4px !important;
    }
    
    .catalog-page .item-catalog .qty-btn {
        width: 20px !important;
        height: 20px !important;
        font-size: 11px !important;
    }
    
    .catalog-page .item-catalog .qty-input {
        width: 26px !important;
        min-width: 22px !important;
        max-width: 34px !important;
        height: 20px !important;
        font-size: 10px !important;
    }
    
    .catalog-page .item-catalog .ptp-product-actions .ptp-bottom-row {
        padding-top: 4px !important;
    }
}

@media (max-width: 480px) {
    .catalog-page .item-catalog .availability {
        font-size: 10px !important;
        padding: 2px 8px !important;
        max-width: 110px !important;
        min-width: 50px !important;
        height: 24px !important;
    }
    
    .catalog-page .item-catalog .availability.eta {
        font-size: 10px !important;
        padding: 2px 6px !important;
        max-width: 130px !important;
        min-width: 45px !important;
    }
    
    .catalog-page .item-catalog .btn-detail {
        font-size: 10px !important;
        padding: 2px 8px !important;
        height: 24px !important;
        min-width: 50px !important;
        max-width: 110px !important;
    }
    
    .catalog-page .item-catalog .ptp-cart-control {
        height: 28px !important;
    }
    
    .catalog-page .item-catalog .add-to-cart {
        font-size: 11px !important;
        height: 26px !important;
        min-width: 75px !important;
        padding: 2px 10px !important;
        border-width: 1.5px !important;
    }
    
    .catalog-page .item-catalog .add-to-cart .cart-icon {
        font-size: 12px !important;
    }
    
    .catalog-page .item-catalog .add-to-cart .cart-text {
        font-size: 11px !important;
    }
    
    .catalog-page .item-catalog .qty-control-wrapper {
        height: 24px !important;
        padding: 2px 3px !important;
    }
    
    .catalog-page .item-catalog .qty-btn {
        width: 18px !important;
        height: 18px !important;
        font-size: 10px !important;
    }
    
    .catalog-page .item-catalog .qty-input {
        width: 22px !important;
        min-width: 18px !important;
        max-width: 28px !important;
        height: 18px !important;
        font-size: 9px !important;
    }
    
    .catalog-page .item-catalog .ptp-product-actions .ptp-bottom-row {
        padding-top: 3px !important;
    }
}

@media (max-width: 350px) {
    .catalog-page .item-catalog .availability.eta {
        font-size: 9px !important;
        padding: 2px 5px !important;
        max-width: 120px !important;
        min-width: 40px !important;
    }

    .catalog-page .item-catalog .btn-detail {
        font-size: 9px !important;
        padding: 2px 5px !important;
        height: 22px !important;
        min-width: 40px !important;
        max-width: 80px !important;
    }
    
    .catalog-page .item-catalog .add-to-cart {
        font-size: 10px !important;
        min-width: 65px !important;
        padding: 2px 6px !important;
        height: 24px !important;
    }
    
    .catalog-page .item-catalog .add-to-cart .cart-text {
        font-size: 10px !important;
    }
}

/* ================================================================ */
/* ===== КОНЕЦ ФИКСОВ ===== */
/* ================================================================ */