/* ==========================================================================
   СПЕКТР-РЕСУРС: СТРОГИЙ, ЧИСТЫЙ И ПРЕМИАЛЬНЫЙ B2B ДИЗАЙН
   ========================================================================== */

/* Канвас страницы */
html, body {
    background-color: #F8FAFC !important;
    color: #0F172A !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

#container, #content, .container, main {
    background-color: #F8FAFC !important;
}

/* Убираем все возможные черные плашки, полосы и черные подложки */
.product-thumb, .product-thumb *, .caption, .button_group, .home_block, .home_block * {
    background-color: transparent;
}

/* Скрываем дубликаты, виджеты и недогруженные блоки */
.vk_widget, #vk_groups, .facebook_widget, .no-image, img[src*="no_image"], img[src*="placeholder"],
.slideshow, #slideshow, .swiper-viewport, #slider, .revslider, .snowflake, .snow, [class*="snow"] {
    display: none !important;
}

/* --- СТРОГАЯ БЕЛАЯ КАРТОЧКА ТОВАРА --- */
.product-thumb {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    padding: 16px !important;
    margin-bottom: 20px !important;
    transition: all 0.2s ease-in-out !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
}

.product-thumb:hover {
    border-color: #0284C7 !important;
    box-shadow: 0 10px 20px -3px rgba(2, 132, 199, 0.12) !important;
    transform: translateY(-2px) !important;
}

/* Картинка */
.product-thumb .image {
    background: #FFFFFF !important;
    padding: 10px !important;
    text-align: center !important;
    margin-bottom: 12px !important;
}

.product-thumb .image img {
    max-height: 160px !important;
    width: auto !important;
    object-fit: contain !important;
}

/* Название */
.product-thumb h4, .product-thumb .name {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    line-height: 1.4 !important;
    margin: 8px 0 !important;
    height: 42px !important;
    overflow: hidden !important;
}

.product-thumb h4 a, .product-thumb .name a {
    color: #0F172A !important;
    text-decoration: none !important;
}

.product-thumb h4 a:hover {
    color: #0284C7 !important;
}

/* Цена */
.product-thumb .price {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #0284C7 !important;
    margin: 10px 0 !important;
}

/* Кнопка "В корзину" */
.product-thumb .cart button, .product-thumb .button_cart, .product-thumb button.btn-primary {
    background: #0284C7 !important;
    border: none !important;
    color: #FFFFFF !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 10px 16px !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: background 0.15s ease !important;
}

.product-thumb .cart button:hover, .product-thumb .button_cart:hover {
    background: #0369A1 !important;
}

/* Заголовки разделов */
h1, h2, h3, .heading_title {
    color: #0F172A !important;
    font-weight: 800 !important;
    margin: 24px 0 16px 0 !important;
}

svg { max-width: 24px !important; max-height: 24px !important; }
