/* ==========================================================================
   1. ОБНОВЛЕНИЕ ТАБОВ И ВКЛАДОК (В стиле Balex)
   ========================================================================== */
.nav-tabs {
    border-bottom: 2px solid #7E7E7D !important;
    margin-bottom: 30px !important;
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
}

.nav-tabs .nav-link {
    border: none !important;
    color: #7E7E7D !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 12px 24px !important;
    background: transparent !important;
    position: relative !important;
}

.nav-tabs .nav-link.active, 
.nav-tabs .nav-link.active:hover {
    color: #E06510 !important;
    background: transparent !important;
}

.nav-tabs .nav-link.active::after {
    content: "" !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    width: 100% !important;
    height: 3px !important;
    background-color: #E06510 !important;
    border-radius: 3px 3px 0 0 !important;
}

/* ==========================================================================
   2. КНОПКИ КУПИТЬ И ДОБАВИТЬ В КОРЗИНУ (Без анимации движения)
   ========================================================================== */
.btn-primary, 
.add-to-cart, 
#search_widget .btn,
.btn_search,
.ajax_add_to_cart_button {
    background: #E06510 !important; /* Чистый цвет вместо тяжелого градиента */
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important; /* Чуть строже скругление */
    padding: 12px 28px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Просто меняем цвет при наведении, БЕЗ scale и translateY */
.btn-primary:hover, 
.add-to-cart:hover,
.ajax_add_to_cart_button:hover {
    background: #ED7042 !important; 
}

/* ==========================================================================
   3. КАРТОЧКИ ТОВАРОВ И ЦЕНЫ (Статичные, без прыжков вверх)
   ========================================================================== */
.product-miniature, .ajax_block_product {
    background: #ffffff !important;
    border: 1px solid #7E7E7D !important;
    border-radius: 8px !important;
    padding: 20px !important;
}

/* При наведении просто мягко подсвечиваем рамку оранжевым, не двигая блок */
.product-miniature:hover, .ajax_block_product:hover {
    border-color: #E06510 !important;
}

/* Картинка товара внутри карточки — статика */
.product-miniature img, .product_img_link img {
    border-radius: 6px !important;
}

.product-price, .price {
    color: #000000 !important;
    font-weight: 700 !important;
    font-size: 18px !important;
}

.discount-percentage, .on-sale {
    background-color: #BD1824 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* ==========================================================================
   4. СКРЫТИЕ B2B СТЕПЕРА ПРИ АКТИВНОМ МОДУЛЕ ADDIFY UOM
   ========================================================================== */
#add-to-cart-or-refresh:has(.addify_uom_container, [class*="addify"], [id*="addify"]) #b2b-pack-data,
#add-to-cart-or-refresh:has(.addify_uom_container, [class*="addify"], [id*="addify"]) .b2b-custom-stepper {
    display: none !important;
}

/* ==========================================================================
   5. СКРЫТИЕ БЛОКА ЦЕН ADDIFY В ТАБЛИЦЕ ПОДТВЕРЖДЕНИЯ ЗАКАЗА
   ========================================================================== */
.order-confirmation-table .addify-uom-price-container {
    display: none !important;
}

