/* ============================================================
   BOBOLED-8 — Оптовые ступенчатые цены v3.5 (Cyber-Luxury & Clean B2B)
   Дизайн-код NovaShop + UI/UX Pro Max стандарты.
   ============================================================ */

/* 1. ПРЯЧЕМ СТАРУЮ ПОДСКАЗКУ (Убираем дублирование цены) */
.bbl-min-price-hint {
    display: none !important;
}

/* 2. ОБЁРТКА БЛОКА — Полноширинная карточка */
.bbl-opt-wrapper {
    position: relative;
    width: 100%;
    margin: 14px 0 16px;
    padding: 0;
    background: var(--background-color, #ffffff);
    border: 1px solid color-mix(in srgb, var(--dark-color, #101418) 12%, transparent);
    border-radius: 14px;
    box-shadow: 0 2px 8px color-mix(in srgb, var(--dark-color, #101418) 4%, transparent);
    overflow: hidden;
    box-sizing: border-box;
}

/* 3. ШАПКА БЛОКА «ТАБЛИЦА ОПТОВЫХ ЦЕН» */
.bbl-opt-header {
    padding: 10px 14px;
    background: color-mix(in srgb, var(--dark-color, #101418) 4%, var(--background-color, #ffffff));
    border-bottom: 1px solid color-mix(in srgb, var(--dark-color, #101418) 10%, transparent);
    text-align: center;
}

.bbl-opt-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--dark-color, #101418) 85%, var(--background-color, #ffffff));
}

/* 4. ТАБЛИЦА ЦЕН С ЧЕРЕДОВАНИЕМ СТРОК (Zebra Striping) */
.bbl-opt-wrapper .bbl-opt-table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    border-spacing: 0;
    background: transparent;
    font-variant-numeric: tabular-nums;
}

.bbl-opt-wrapper .bbl-opt-table thead th {
    padding: 9px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-align: left;
    white-space: nowrap;
    color: color-mix(in srgb, var(--dark-color, #101418) 60%, var(--background-color, #ffffff));
    border-bottom: 1px solid color-mix(in srgb, var(--dark-color, #101418) 8%, transparent);
    background: color-mix(in srgb, var(--dark-color, #101418) 2%, var(--background-color, #ffffff));
}

.bbl-opt-wrapper .bbl-opt-table thead th:last-child {
    text-align: right;
}

/* Чередование строк (Четные / Нечетные) */
.bbl-opt-wrapper .bbl-opt-table tbody tr {
    transition: background-color .15s ease;
}

.bbl-opt-wrapper .bbl-opt-table tbody tr:nth-child(odd) td {
    background: var(--background-color, #ffffff);
}

.bbl-opt-wrapper .bbl-opt-table tbody tr:nth-child(even) td {
    background: color-mix(in srgb, var(--dark-color, #101418) 3.5%, var(--background-color, #ffffff));
}

.bbl-opt-wrapper .bbl-opt-table tbody td {
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.35;
    color: var(--dark-color, #101418);
    border-bottom: 1px solid color-mix(in srgb, var(--dark-color, #101418) 6%, transparent);
    white-space: nowrap;
}

/* Pull text away from absolute edges */
.bbl-opt-wrapper .bbl-opt-table thead th:first-child,
.bbl-opt-wrapper .bbl-opt-table tbody td:first-child {
    padding-left: 20px;
}
.bbl-opt-wrapper .bbl-opt-table thead th:last-child,
.bbl-opt-wrapper .bbl-opt-table tbody td:last-child {
    padding-right: 20px;
}

.bbl-opt-wrapper .bbl-opt-table tbody tr:last-child td {
    border-bottom: 0;
}

/* Кликабельность строк */
.bbl-opt-wrapper .bbl-opt-table tbody tr.bbl-opt-row-clickable {
    cursor: pointer;
}

.bbl-opt-wrapper .bbl-opt-table tbody tr.bbl-opt-row-clickable:hover td {
    background: color-mix(in srgb, var(--primary-color) 9%, var(--background-color, #ffffff)) !important;
}

/* Ячейки цены */
.bbl-opt-wrapper .bbl-opt-table td.bbl-opt-price-cell,
.bbl-opt-wrapper .bbl-opt-table td:last-child {
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

/* 5. АКТИВНАЯ СТРОКА ТИРА */
.bbl-opt-wrapper .bbl-opt-table tbody tr.is-active td {
    background: color-mix(in srgb, var(--primary-color) 12%, var(--background-color, #ffffff)) !important;
    font-weight: 700;
}

.bbl-opt-wrapper .bbl-opt-table tbody tr.is-active td:first-child {
    box-shadow: inset 4px 0 0 var(--primary-color);
}

.bbl-opt-wrapper .bbl-opt-table tbody tr.is-active td:last-child,
.bbl-opt-wrapper .bbl-opt-table tbody tr.is-active td.bbl-opt-price-cell {
    color: var(--accent-color, #16a34a);
}

/* 6. ОБЩАЯ СТОИМОСТЬ (Итог партии) */
.bbl-opt-wrapper .bbl-opt-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    font-size: 14px;
    color: color-mix(in srgb, var(--dark-color, #101418) 75%, var(--background-color, #ffffff));
    background: color-mix(in srgb, var(--dark-color, #101418) 5%, var(--background-color, #ffffff));
    border-top: 1px solid color-mix(in srgb, var(--dark-color, #101418) 10%, transparent);
}

.bbl-opt-wrapper .bbl-opt-total .bbl-opt-total-label {
    font-weight: 600;
}

.bbl-opt-wrapper .bbl-opt-total #bbl-opt-total-value,
.bbl-opt-wrapper .bbl-opt-total .bbl-opt-total-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color, #101418);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.bbl-opt-wrapper.is-priced .bbl-opt-total {
    background: color-mix(in srgb, var(--accent-color, #16a34a) 8%, var(--background-color, #ffffff));
    box-shadow: inset 3px 0 0 var(--accent-color, #16a34a);
}

/* 7. ТОСТ КРАТНОСТИ УПАКОВКИ */
.bbl-step-toast {
    position: fixed !important;
    left: 50% !important;
    bottom: 24px !important;
    transform: translate(-50%, 10px) !important;
    z-index: 99999 !important;
    max-width: 90vw !important;
    padding: 10px 18px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    text-align: center !important;
    color: #ffffff !important;
    background: rgba(16, 20, 24, 0.94) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.35) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.22s ease, transform 0.22s ease !important;
}

.bbl-step-toast.is-visible {
    opacity: 1 !important;
    transform: translate(-50%, 0) !important;
}

/* 8. ЧИСТЫЙ СТЕППЕР — УБИРАЕМ ШАГИ ПОД КНОПКАМИ И 'ШТ' ПОД ИНПУТОМ */
.quantity__step,
.quantity_step .quantity__step,
.quantity__unit,
.quantity__unit_bottom {
    display: none !important;
}

.product-add-to-cart__quantity.quantity,
.quantity {
    display: inline-flex !important;
    align-items: center !important;
    height: 48px !important;
    background: #f2f4f7 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid color-mix(in srgb, var(--dark-color, #101418) 12%, transparent) !important;
    min-width: 135px !important;
    box-sizing: border-box !important;
}

.product-add-to-cart__quantity .quantity__button,
.quantity_step .quantity__button,
.quantity__button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 48px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    color: var(--dark-color, #101418) !important;
    cursor: pointer !important;
    flex: 0 0 44px !important;
    line-height: 1 !important;
    transition: background-color 0.15s ease !important;
}

.product-add-to-cart__quantity .quantity__button:hover,
.quantity__button:hover {
    background: color-mix(in srgb, var(--dark-color, #101418) 8%, transparent) !important;
}

.product-add-to-cart__quantity .quantity__input-box,
.quantity__input-box {
    flex: 1 1 auto !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 55px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.product-add-to-cart__quantity .quantity__field,
.product-add-to-cart__quantity .quantity__field_active,
.quantity__field,
input.quantity__input {
    display: block !important;
    width: 100% !important;
    height: 48px !important;
    line-height: 48px !important;
    padding: 0 2px !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    text-align: center !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--dark-color, #101418) !important;
    box-sizing: border-box !important;
}

/* 9. МОБИЛЬНАЯ ВЕРСИЯ — ПЛАНШЕТЫ И ТЕЛЕФОНЫ */
/* Степпер и кнопка «В корзину» ВСЕГДА присутствуют внутри карточки товара в естественном потоке */
@media (max-width: 1023px) {
    .product-add-to-cart__controls,
    .product-add-to-cart__controls_fixed {
        position: static !important;
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        margin: 14px 0 16px !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        left: auto !important;
        bottom: auto !important;
        z-index: auto !important;
        gap: 10px !important;
        box-sizing: border-box !important;
    }

    .product-add-to-cart__controls-quantity {
        flex: 0 0 135px !important;
        width: 135px !important;
        display: block !important;
    }

    .product-add-to-cart__controls-button {
        flex: 1 1 auto !important;
        display: block !important;
    }

    .product-add-to-cart__button {
        width: 100% !important;
        height: 48px !important;
        border-radius: 12px !important;
    }

    .bbl-opt-header { padding: 8px 10px; }
    .bbl-opt-title { font-size: 12px; }
    .bbl-opt-wrapper .bbl-opt-table thead th { padding: 7px 10px; }
    .bbl-opt-wrapper .bbl-opt-table tbody td { padding: 8px 10px; font-size: 13px; }
    .bbl-opt-wrapper .bbl-opt-total { padding: 10px; font-size: 13px; }
    .bbl-opt-wrapper .bbl-opt-total #bbl-opt-total-value { font-size: 16px; }
}

/* 10. МЕССЕНДЖЕРЫ «ЗАКАЗАТЬ ЧЕРЕЗ:» — СТРОГО В ОДИН РЯД НА ДЕСКТОПЕ И МОБИЛЬНЫХ */
.product-add-to-cart__msgorder,
.msgorder {
    margin-top: 14px !important;
}

.product-add-to-cart__msgorder .msgorder,
.msgorder {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: 100% !important;
}

.product-add-to-cart__msgorder .msgorder__label,
.msgorder .msgorder__label {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    margin: 0 !important;
    color: var(--dark-color, #101418) !important;
}

.product-add-to-cart__msgorder .msgorder__share,
.msgorder .msgorder__share {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 8px !important;
    flex: 0 0 auto !important;
}

.product-add-to-cart__msgorder .msgorder__share a,
.msgorder .msgorder__share a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    width: 36px !important;
    height: 36px !important;
}

.product-add-to-cart__msgorder .msgorder__share svg,
.msgorder .msgorder__share svg {
    width: 36px !important;
    height: 36px !important;
    display: block !important;
    transition: transform 0.15s ease, opacity 0.15s ease !important;
}

.product-add-to-cart__msgorder .msgorder__share a:hover svg,
.msgorder .msgorder__share a:hover svg {
    transform: scale(1.08) !important;
    opacity: 0.9 !important;
}

/* 11. КОРЗИНА И ОФОРМЛЕНИЕ ЗАКАЗА (/order/) — СТИЛЬНЫЙ КОМПАКТНЫЙ ПРОМОКОД И БОНУСЫ */
.order-cart-decorator .wa-cart-details .wa-column-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    max-width: 460px !important;
}

/* Секция промокода */
.bbl-coupon-section,
.order-cart-decorator .wa-cart-details .wa-coupon-section {
    margin: 0 !important;
    padding: 0 !important;
}

/* Промокод: Состояние ввода (неактивно) */
.order-cart-decorator .wa-cart-details .wa-coupon-section:not(.is-active) .wa-inactive-state,
.bbl-coupon-input-group {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
}

.order-cart-decorator .wa-cart-details .wa-coupon-section:not(.is-active) .wa-active-state {
    display: none !important;
}

/* Промокод: Состояние примененного кода (активно) */
.order-cart-decorator .wa-cart-details .wa-coupon-section.is-active .wa-inactive-state {
    display: none !important;
}

.order-cart-decorator .wa-cart-details .wa-coupon-section.is-active .wa-active-state,
.order-cart-decorator .wa-cart-details .wa-affiliate-section.is-active .wa-active-state {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 14px !important;
    background: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    border-radius: var(--inputs-buttons-border-radius, 12px) !important;
    font-size: 13px !important;
    color: #166534 !important;
}

.bbl-coupon-input,
.order-cart-decorator .wa-cart-details .wa-coupon-section .wa-inactive-state .wa-input {
    flex: 1 1 auto !important;
    max-width: 220px !important;
    height: 40px !important;
    line-height: 40px !important;
    padding: 0 14px !important;
    background: #f4f6f9 !important;
    border: 1px solid color-mix(in srgb, var(--dark-color, #101418) 15%, transparent) !important;
    border-radius: var(--inputs-buttons-border-radius, 12px) !important;
    font-size: 14px !important;
    color: var(--dark-color, #101418) !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: border-color 0.15s ease, background 0.15s ease !important;
}

.bbl-coupon-input:focus,
.order-cart-decorator .wa-cart-details .wa-coupon-section .wa-inactive-state .wa-input:focus {
    background: #ffffff !important;
    border-color: var(--primary-color) !important;
}

.bbl-coupon-btn,
.order-cart-decorator .wa-cart-details .wa-coupon-section .wa-inactive-state .wa-button {
    flex: 0 0 auto !important;
    height: 40px !important;
    padding: 0 18px !important;
    background: var(--primary-color) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: var(--inputs-buttons-border-radius, 12px) !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.15s ease !important;
}

.bbl-coupon-btn:hover,
.order-cart-decorator .wa-cart-details .wa-coupon-section .wa-inactive-state .wa-button:hover {
    background: var(--primary-color-hover, rgb(0,96,148)) !important;
}

.bbl-cancel-btn,
.order-cart-decorator .wa-cart-details .wa-coupon-section.is-active .wa-active-state .wa-button,
.order-cart-decorator .wa-cart-details .wa-affiliate-section.is-active .wa-active-state .wa-button {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 0 0 6px !important;
    color: #ff3131 !important;
    font-size: 12.5px !important;
    text-decoration: underline !important;
    cursor: pointer !important;
}

/* Карточка бонусных баллов — стиль в унисон с формой оформления (#f7f8f9) */
.bbl-bonus-card,
.order-cart-decorator .wa-cart-details .wa-affiliate-section {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 14px 16px !important;
    background: #f7f8f9 !important;
    border: 1px solid rgba(16, 20, 24, 0.08) !important;
    border-radius: var(--inputs-buttons-border-radius, 14px) !important;
    box-sizing: border-box !important;
    margin: 8px 0 0 !important;
}

/* Бонусы: Состояния активен / неактивен */
.order-cart-decorator .wa-cart-details .wa-affiliate-section:not(.is-active) .wa-inactive-state,
.bbl-bonus-inactive {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
}

.order-cart-decorator .wa-cart-details .wa-affiliate-section:not(.is-active) .wa-active-state {
    display: none !important;
}

.order-cart-decorator .wa-cart-details .wa-affiliate-section.is-active .wa-inactive-state {
    display: none !important;
}

.bbl-bonus-info,
.order-cart-decorator .wa-cart-details .wa-bonus-details .wa-details {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    font-size: 13.5px !important;
    line-height: 1.35 !important;
    color: var(--dark-color, #101418) !important;
    margin: 0 !important;
}

.bbl-bonus-coin {
    font-size: 16px !important;
    line-height: 1 !important;
}

.bbl-use-bonus-btn,
.order-cart-decorator .wa-cart-details .wa-bonus-details .wa-inactive-state .wa-button {
    height: 36px !important;
    padding: 0 16px !important;
    background: #ffffff !important;
    color: var(--dark-color, #101418) !important;
    border: 1px solid rgba(16, 20, 24, 0.15) !important;
    border-radius: var(--inputs-buttons-border-radius, 10px) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    white-space: nowrap !important;
}

.bbl-use-bonus-btn:hover,
.order-cart-decorator .wa-cart-details .wa-bonus-details .wa-inactive-state .wa-button:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
}

/* Начисление бонусов за текущий заказ */
.bbl-bonus-accrual,
.order-cart-decorator .wa-cart-details .wa-order-bonus {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 12.5px !important;
    color: #64748b !important;
    padding-top: 8px !important;
    border-top: 1px dashed rgba(16, 20, 24, 0.1) !important;
    margin: 2px 0 0 !important;
    flex-wrap: wrap !important;
}

.bbl-accrual-pill {
    display: inline-flex !important;
    align-items: center !important;
    background: #dcfce7 !important;
    color: #166534 !important;
    font-weight: 700 !important;
    font-size: 11.5px !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
}

/* ============================================================
   Стилизация степпера в корзине (единый дизайн со степпером карточки товара)
   ============================================================ */
.order-cart-decorator .wa-quantity-cart-section .wa-section-body {
    display: inline-flex !important;
    align-items: center !important;
    height: 40px !important;
    background: #f2f4f7 !important;
    border-radius: 12px !important;
    border: 1px solid rgba(16, 20, 24, 0.12) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    padding: 0 !important;
}

.order-cart-decorator .wa-quantity-cart-section .wa-button-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.order-cart-decorator .wa-quantity-cart-section .wa-button.js-decrease,
.order-cart-decorator .wa-quantity-cart-section .wa-button.js-increase {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 40px !important;
    min-width: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--dark-color, #101418) !important;
    cursor: pointer !important;
    border-radius: 0 !important;
    transition: background-color 0.15s ease !important;
}

.order-cart-decorator .wa-quantity-cart-section .wa-button.js-decrease:hover,
.order-cart-decorator .wa-quantity-cart-section .wa-button.js-increase:hover {
    background: rgba(16, 20, 24, 0.08) !important;
}

.order-cart-decorator .wa-quantity-cart-section .wa-field-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.order-cart-decorator .wa-quantity-cart-section .wa-field.js-product-quantity {
    display: block !important;
    width: 48px !important;
    height: 40px !important;
    line-height: 40px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-align: center !important;
    color: var(--dark-color, #101418) !important;
    font-variant-numeric: tabular-nums !important;
    outline: none !important;
}

/* Убираем "шт." внутри степпера корзины */
.order-cart-decorator .wa-quantity-cart-section .wa-unit {
    display: none !important;
}

/* ============================================================
   Устранение дублирования стоимости и итогов
   ============================================================ */
/* Скрываем дублирующие строки "Подытог" и "Скидка", так как они уже есть в order-cart-info */
.order-cart-decorator #wa-cart-subtotal,
.order-cart-decorator #wa-cart-discount,
.order-cart-decorator #wa-cart-discount-coupon,
.order-cart-decorator #wa-cart-discount-affiliate {
    display: none !important;
}

/* На десктопе весь заказ и итоги уже отображаются справа в блоке «Оформление заказа».
   Скрываем дублирующий нижний блок стоимости в левой колонке корзины */
@media (min-width: 1024px) {
    .order-cart-decorator .order-cart-info,
    .order-cart-decorator .wa-cart-details .wa-column-price {
        display: none !important;
    }
}

/* На мобильных устройствах красиво стилизуем итог */
@media (max-width: 1023px) {
    .order-cart-decorator .wa-cart-details .wa-column-price {
        margin-top: 10px !important;
        padding-top: 10px !important;
        border-top: 1px dashed rgba(16, 20, 24, 0.12) !important;
    }
    .order-cart-decorator .wa-cart-details .wa-price-total {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        font-size: 16px !important;
        font-weight: 700 !important;
    }
}

/* ============================================================
   BOBOLED B2B CART COCKPIT (Шаг 1: Корзина оптовика)
   ============================================================ */

/* 1. Общий контейнер корзины (Канонический 1680px) */
.cart-page {
    max-width: 1680px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Убираем громоздкие двойные внешние рамки блочного лейаута на странице корзины */
.cart-page.blocks,
.cart-page .blocks__item,
.cart-page .block {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.cart-page .block-header__main .title {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: normal !important;
}

/* Десктопная 2-колоночная компоновка корзины (B2B Cockpit 1680px) */
@media (min-width: 1024px) {
    .cart-page__container {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 420px !important;
        gap: 32px !important;
        align-items: start !important;
        width: 100% !important;
    }
    .cart-page__container-items {
        min-width: 0 !important;
        width: 100% !important;
    }
    .cart-page__container-summary {
        position: sticky !important;
        top: 24px !important;
        min-width: 0 !important;
        width: 420px !important;
    }
}

/* 2. Четкая 5-колоночная таблица корзины */
.bbl-cart-header {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    margin-bottom: 16px !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

@media (min-width: 1024px) {
    .bbl-cart-header__container,
    .cart-item__container {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 140px 170px 160px 54px !important;
        gap: 0 !important;
        align-items: stretch !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .bbl-cart-header__container > div + div {
        border-left: 1px solid #e2e8f0 !important;
    }

    .cart-item__container > div + div {
        border-left: 1px solid #f1f5f9 !important;
    }

    .bbl-cart-mobile-unit-price,
    .bbl-mobile-delete-box,
    .bbl-mobile-only,
    .bbl-item-index-badge {
        display: none !important;
    }
    .bbl-desktop-only {
        display: inline-flex !important;
    }
}

.bbl-cart-header__container > *,
.cart-item__container > * {
    min-width: 0 !important;
}

.bbl-cart-header__container {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    color: #64748b !important;
    min-height: 42px !important;
}

.bbl-cart-header__container .bbl-col-product {
    display: flex !important;
    align-items: center !important;
    padding: 10px 16px !important;
    box-sizing: border-box !important;
    text-align: left !important;
}

.bbl-hdr-num-label {
    width: 28px !important;
    text-align: center !important;
    color: #94a3b8 !important;
    font-weight: 700 !important;
    flex-shrink: 0 !important;
}

.bbl-hdr-prod-label {
    margin-left: 92px !important;
}

.bbl-cart-header__container .bbl-col-price,
.bbl-cart-header__container .bbl-col-qty,
.bbl-cart-header__container .bbl-col-total {
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 12px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.bbl-cart-header__container .bbl-col-del {
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 10px 4px !important;
}

/* Карточка товара в корзине */
.cart-items__item {
    border-bottom: 1px solid #f1f5f9 !important;
}

.cart-items__item:last-child {
    border-bottom: 0 !important;
}

.cart-item {
    padding: 10px 0 !important;
    transition: background-color 0.15s ease !important;
}

.cart-item:hover {
    background: #f8fafc !important;
}

.bbl-cart-col-product {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 8px 16px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.bbl-item-index {
    width: 28px !important;
    height: 28px !important;
    border-radius: 6px !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    flex-shrink: 0 !important;
    font-variant-numeric: tabular-nums !important;
    user-select: none !important;
}

.bbl-item-index-badge {
    display: none !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    padding: 1px 6px !important;
    border-radius: 4px !important;
    margin-right: 6px !important;
    vertical-align: middle !important;
    line-height: 1.3 !important;
}

.cart-item__container-image {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border: 1px solid #f1f5f9 !important;
    background: #f8fafc !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    padding: 4px !important;
    box-sizing: border-box !important;
}

.cart-item__container-image img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: auto !important;
}

.bbl-dummy-img-box {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f8fafc !important;
}

.bbl-cart-multiplicity-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: var(--primary-color) !important;
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
    border-radius: 6px !important;
    padding: 2px 7px !important;
    margin-top: 6px !important;
    width: fit-content !important;
}

.cart-item__container-info {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.cart-item__name-container .link {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
}

.cart-item__name-container .link:hover {
    color: var(--primary-color) !important;
}

/* Колонка цены за штуку */
.cart-item__container-unit-price,
.bbl-cart-unit-price {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    padding: 10px 12px !important;
    box-sizing: border-box !important;
    flex-shrink: 1 !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

.bbl-cart-unit-price .bbl-unit-val {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    white-space: nowrap !important;
}

.bbl-cart-unit-price .bbl-compare-val {
    font-size: 12px !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
    white-space: nowrap !important;
    margin-top: 2px !important;
}

/* Колонка количества со степпером */
.cart-item__container-quantity {
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.cart-item__container-quantity .quantity {
    display: inline-flex !important;
    align-items: center !important;
    height: 38px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04) !important;
}

.cart-item__container-quantity .quantity__button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 38px !important;
    background: #f1f5f9 !important;
    color: var(--primary-color) !important;
    cursor: pointer !important;
    transition: background-color 0.12s ease !important;
}

.cart-item__container-quantity .quantity__button:hover {
    background: #e2e8f0 !important;
}

.cart-item__container-quantity .quantity__input {
    width: 52px !important;
    height: 38px !important;
    border: none !important;
    text-align: center !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    padding: 0 !important;
    background: #ffffff !important;
}

.cart-item__container-quantity .quantity__step,
.cart-item__container-quantity .quantity__unit {
    display: none !important;
}

/* Колонка итого */
.cart-item__container-total {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    padding: 10px 12px !important;
    box-sizing: border-box !important;
    flex-shrink: 1 !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

.cart-item__total-prices {
    text-align: center !important;
    width: 100% !important;
}

.cart-item__total-price {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: var(--primary-color) !important;
    white-space: nowrap !important;
}

.cart-item__sub-total {
    display: none !important;
}

/* Колонка удаления */
.cart-item__container-delete,
.bbl-cart-col-del {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    padding: 10px 4px !important;
    box-sizing: border-box !important;
    flex-shrink: 1 !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.bbl-delete-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    color: #94a3b8 !important;
    cursor: pointer !important;
    border: none !important;
    border-bottom: none !important;
    text-decoration: none !important;
    outline: none !important;
    background: transparent !important;
    transition: all 0.15s ease !important;
}

.bbl-delete-btn:hover {
    color: #ef4444 !important;
    background: #fef2f2 !important;
}

.bbl-delete-btn svg {
    display: block !important;
}

/* 3. Современный B2B правый сайдбар (B2B Cockpit Summary) */
.cart-summary {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 26px 22px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

/* Скрываем прогресс бар оптовой выгоды (по запросу: убирает лишнюю инфу) */
.bbl-cart-progress-box {
}

.bbl-cart-progress-head {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 8px !important;
}

.bbl-cart-progress-title {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
}

.bbl-cart-progress-val {
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #10b981 !important;
    background: #ecfdf5 !important;
    padding: 2px 6px !important;
    border-radius: 6px !important;
}

.bbl-cart-progress-track {
    height: 8px !important;
    background: #e2e8f0 !important;
    border-radius: 4px !important;
    overflow: hidden !important;
}

.bbl-cart-progress-bar {
    height: 100% !important;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-color) 60%, #10b981 100%) !important;
    border-radius: 4px !important;
    transition: width 0.3s ease !important;
}

.bbl-cart-progress-hint {
    font-size: 12px !important;
    color: #475569 !important;
    margin-top: 8px !important;
    line-height: 1.35 !important;
}

/* Аккордеон промокода / купона */
.bbl-coupon-accordion {
    margin: 12px 0 !important;
    background: #ffffff !important;
    border: 1px solid #dbe6f0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}

.bbl-coupon-toggle-btn {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 14px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--primary-color) !important;
    transition: background-color 0.15s ease !important;
}

.bbl-coupon-toggle-btn:hover {
    background: #f8fafc !important;
}

.bbl-coupon-toggle-text {
    flex: 1 !important;
    text-align: left !important;
    margin-left: 8px !important;
}

.bbl-coupon-toggle-arrow {
    font-size: 10px !important;
    color: #64748b !important;
}

.bbl-coupon-body {
    padding: 10px 14px 14px !important;
    border-top: 1px solid #f1f5f9 !important;
    background: #f8fafc !important;
}

.bbl-coupon-field-wrap {
    display: flex !important;
    gap: 8px !important;
}

.bbl-coupon-input {
    flex: 1 !important;
    height: 36px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 6px 10px !important;
    font-size: 13px !important;
    background: #ffffff !important;
}

.bbl-coupon-input:focus {
    border-color: var(--primary-color) !important;
    outline: none !important;
}

.bbl-coupon-btn {
    height: 36px !important;
    padding: 0 14px !important;
    background: var(--primary-color) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

.bbl-coupon-btn:hover {
    background: var(--primary-color-hover) !important;
}

.bbl-coupon-error {
    font-size: 11.5px !important;
    color: #ef4444 !important;
    margin-top: 6px !important;
    font-weight: 600 !important;
}

/* Бонусы и кешбэк */
.bbl-bonus-cashback-box {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #ecfdf5 !important;
    border: 1px solid #a7f3d0 !important;
    border-radius: 9px !important;
    padding: 8px 12px !important;
    margin-top: 10px !important;
    font-size: 12.5px !important;
    color: #065f46 !important;
}

.bbl-bonus-cashback-text strong {
    color: #047857 !important;
    font-weight: 800 !important;
}

.bbl-bonus-use-box {
    margin-top: 10px !important;
    background: #ffffff !important;
    border: 1px solid #dbe6f0 !important;
    border-radius: 9px !important;
    padding: 8px 12px !important;
}

.bbl-bonus-label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    font-size: 12.5px !important;
    color: #334155 !important;
}

.bbl-bonus-sub {
    font-weight: 400 !important;
    color: #64748b !important;
    font-size: 11.5px !important;
}

.bbl-bonus-chk {
    accent-color: var(--primary-color) !important;
    width: 16px !important;
    height: 16px !important;
    cursor: pointer !important;
}

.bbl-bonus-guest-box,
.bbl-bonus-zero-box {
    margin-top: 10px !important;
    background: #f8fafc !important;
    border: 1px dashed #cbd5e1 !important;
    border-radius: 9px !important;
    padding: 9px 12px !important;
    font-size: 12px !important;
    color: #475569 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    line-height: 1.4 !important;
}

.bbl-bonus-guest-icon,
.bbl-bonus-pill-icon {
    font-size: 14px !important;
    flex-shrink: 0 !important;
}

.bbl-bonus-guest-login-link {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    cursor: pointer !important;
}

.bbl-bonus-guest-login-link:hover {
    color: var(--primary-color) !important;
}

/* Order Bumps (Инфобизнес Boboled) */
.bbl-order-bump-container {
    background: linear-gradient(135deg, #f0f7ff 0%, #e2effd 100%) !important;
    border: 1.5px solid var(--primary-color) !important;
    border-radius: 12px !important;
    padding: 12px !important;
    margin: 16px 0 !important;
}

.bbl-order-bump-badge {
    display: inline-block !important;
    background: var(--primary-color) !important;
    color: #ffffff !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    padding: 2px 7px !important;
    border-radius: 5px !important;
    margin-bottom: 8px !important;
}

.bbl-bump-row {
    display: flex !important;
    gap: 10px !important;
    padding: 10px !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 79, 122, 0.15) !important;
    border-radius: 9px !important;
    margin-bottom: 8px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

.bbl-bump-row:last-child {
    margin-bottom: 0 !important;
}

.bbl-bump-row:hover {
    border-color: var(--primary-color) !important;
    box-shadow: 0 2px 6px rgba(0, 79, 122, 0.08) !important;
}

.bbl-bump-check {
    width: 18px !important;
    height: 18px !important;
    accent-color: var(--primary-color) !important;
    cursor: pointer !important;
    margin-top: 2px !important;
}

.bbl-bump-content {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

.bbl-bump-header-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
}

.bbl-bump-title {
    font-size: 12.5px !important;
    color: #0f172a !important;
    font-weight: 700 !important;
}

.bbl-bump-price-badge {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
    white-space: nowrap !important;
}

.bbl-bump-price-badge del {
    color: #94a3b8 !important;
    font-size: 11px !important;
    margin-left: 3px !important;
}

.bbl-bump-desc {
    font-size: 11px !important;
    color: #64748b !important;
    line-height: 1.3 !important;
    margin-top: 3px !important;
}

/* Кнопка «← Продолжить покупки» в сайдбаре корзины */
.bbl-cart-continue-wrap {
    margin-top: 10px !important;
    width: 100% !important;
}

.bbl-cart-continue-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    height: 42px !important;
    background: #ffffff !important;
    border: 1.5px solid #dbe6f0 !important;
    border-radius: var(--inputs-buttons-border-radius, 12px) !important;
    color: var(--primary-color) !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
}

.bbl-cart-continue-btn:hover {
    background: #f0f5fa !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color-hover) !important;
}

/* Вспомогательные кнопки в сайдбаре (Печать и Excel) */
.bbl-cart-secondary-actions {
    display: flex !important;
    gap: 8px !important;
    margin-top: 10px !important;
}

.bbl-print-btn,
.bbl-excel-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    flex: 1 1 50% !important;
    padding: 9px 10px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    white-space: nowrap !important;
}

.bbl-print-btn {
    background: #ffffff !important;
    border: 1px solid #dbe6f0 !important;
    color: var(--primary-color) !important;
}

.bbl-print-btn:hover {
    background: #e0ecf8 !important;
    border-color: var(--primary-color) !important;
}

.bbl-excel-btn {
    background: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    color: #166534 !important;
}

.bbl-excel-btn:hover {
    background: #dcfce7 !important;
    border-color: #86efac !important;
}

/* Ссылка возврата в каталог в заголовке корзины */
.bbl-cart-header-main {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
}

.bbl-cart-header-back {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    padding: 4px 10px !important;
    border-radius: 16px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: all 0.15s ease !important;
}

.bbl-cart-header-back:hover {
    color: var(--primary-color) !important;
    border-color: #cbd5e1 !important;
    background: #f8fafc !important;
}

.bbl-cart-header-back svg {
    width: 13px !important;
    height: 13px !important;
}

/* Предупреждение плагина минимального заказа (когда сумма реально меньше 5000) */
#minimum-message {
    background: #fff1f2 !important;
    border: 1px solid #fecdd3 !important;
    color: #be123c !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin: 12px 0 !important;
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    line-height: 1.4 !important;
}

#minimum-message._minimum-hidden-element,
#minimum-message.hidden,
#minimum-message[hidden] {
    display: none !important;
}

#minimum-message::before {
    content: '⚠️';
    font-size: 15px !important;
}

/* Блок похожих товаров под таблицей */
.bbl-cross-sell-heading {
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    color: var(--primary-color) !important;
}

/* Шаг 2: Ссылка «← Вернуться к списку товаров» */
.bbl-back-link {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: var(--primary-color) !important;
    padding: 6px 12px !important;
    background: #f0f5fa !important;
    border: 1px solid #dbe6f0 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    margin-bottom: 12px !important;
}

.bbl-back-link:hover {
    background: #e0ecf8 !important;
}

/* Мобильная адаптация корзины: карточки товаров без наложений и дублей */
.bbl-print-specification {
    display: none !important;
}

@media (max-width: 1099px) {
    .cart-page__container {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
    }
    .cart-page__container-items,
    .cart-page__container-summary {
        width: 100% !important;
    }
    .bbl-cart-header,
    .bbl-desktop-only,
    .cart-item__container-unit-price {
        display: none !important;
    }
    
    .cart-items__item {
        position: relative !important;
        background: transparent !important;
        border: none !important;
        border-bottom: 1px solid #f1f5f9 !important;
        border-radius: 0 !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
    }
    .cart-items__item:last-child {
        border-bottom: none !important;
    }
    .cart-item {
        padding: 0 !important;
    }
    .cart-item__container {
        display: grid !important;
        grid-template-areas: 
            "prod prod"
            "qty total" !important;
        grid-template-columns: auto 1fr !important;
        gap: 12px !important;
        align-items: center !important;
        width: 100% !important;
    }
    .bbl-cart-col-product {
        grid-area: prod !important;
        display: flex !important;
        align-items: flex-start !important;
        gap: 12px !important;
        position: relative !important;
        padding-right: 36px !important;
        width: 100% !important;
    }
    .bbl-cart-col-product .cart-item__container-image {
        width: 76px !important;
        height: 76px !important;
        min-width: 76px !important;
        border-radius: 8px !important;
        flex-shrink: 0 !important;
    }
    .bbl-mobile-delete-box {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        display: block !important;
    }
    .bbl-cart-mobile-unit-price {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        margin-top: 4px !important;
        font-size: 12.5px !important;
        font-weight: 600 !important;
        color: #475569 !important;
    }
    .bbl-mobile-price-val {
        color: var(--primary-color) !important;
        font-weight: 700 !important;
    }
    .bbl-mobile-compare-val {
        text-decoration: line-through !important;
        color: #94a3b8 !important;
        font-size: 11px !important;
    }
    .cart-item__container-quantity {
        grid-area: qty !important;
        justify-content: flex-start !important;
        margin: 0 !important;
        width: auto !important;
    }
    .cart-item__container-total {
        grid-area: total !important;
        justify-content: flex-end !important;
        text-align: right !important;
        width: auto !important;
    }
    .cart-item__total-price {
        font-size: 17px !important;
        font-weight: 800 !important;
        color: var(--primary-color) !important;
    }
}

/* Печать официальной B2B спецификации (Strictly A4, 1 страница) */
@media print {
    @page {
        size: A4 portrait;
        margin: 10mm 12mm;
    }
    
    html, body {
        background: #ffffff !important;
        color: #0f172a !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Скрываем весь сайт на печати */
    body * {
        visibility: hidden !important;
    }

    header, footer, nav, aside,
    .header, .footer, .site-header, .site-footer,
    .cart-page__header, .cart-page__form, .cart-summary,
    .bbl-cart-secondary-actions, .bbl-checkout-btn, .cart-summary__button,
    .bbl-cart-cross-sells, .bbl-checkout-progress,
    .quick-variant-drawer, .bbl-toast, .bbl-mobile-bottom-bar,
    .order-page__back, .bbl-final-total-box, .bbl-bump-list,
    .cart-item, .bbl-cart-product-group, .form__loader {
        display: none !important;
    }
    
    /* Показываем строго блок спецификации и его содержимое */
    .bbl-print-specification,
    .bbl-print-specification * {
        visibility: visible !important;
    }

    .bbl-print-specification {
        display: block !important;
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        background: #ffffff !important;
        color: #0f172a !important;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
        font-size: 11px !important;
        line-height: 1.3 !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    .bbl-print-head {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        padding-bottom: 12px !important;
        border-bottom: 2px solid var(--primary-color) !important;
        margin-bottom: 14px !important;
    }
    
    .bbl-print-brand-title {
        font-size: 20px !important;
        font-weight: 900 !important;
        color: var(--primary-color) !important;
        letter-spacing: 0.05em !important;
    }
    
    .bbl-print-brand-sub {
        font-size: 10.5px !important;
        color: #64748b !important;
        margin-bottom: 6px !important;
    }
    
    .bbl-print-legal-info {
        font-size: 10px !important;
        color: #334155 !important;
        line-height: 1.35 !important;
    }
    
    .bbl-print-doc-info {
        text-align: right !important;
    }
    
    .bbl-print-doc-badge {
        display: inline-block !important;
        background: var(--primary-color) !important;
        color: #ffffff !important;
        font-size: 9.5px !important;
        font-weight: 800 !important;
        letter-spacing: 0.06em !important;
        padding: 3px 8px !important;
        border-radius: 4px !important;
        margin-bottom: 4px !important;
    }
    
    .bbl-print-doc-num {
        font-size: 13px !important;
        font-weight: 800 !important;
        color: #0f172a !important;
    }
    
    .bbl-print-doc-date {
        font-size: 11px !important;
        color: #475569 !important;
    }
    
    .bbl-print-doc-note {
        font-size: 9px !important;
        color: #64748b !important;
        margin-top: 4px !important;
    }
    
    .bbl-print-table {
        width: 100% !important;
        border-collapse: collapse !important;
        margin-bottom: 14px !important;
    }
    
    .bbl-print-table th {
        background: #f1f5f9 !important;
        color: #1e293b !important;
        font-weight: 700 !important;
        font-size: 10.5px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.03em !important;
        padding: 6px 8px !important;
        border: 1px solid #cbd5e1 !important;
    }
    
    .bbl-print-table td {
        padding: 6px 8px !important;
        border: 1px solid #cbd5e1 !important;
        font-size: 10.5px !important;
        vertical-align: middle !important;
    }
    
    .bbl-td-num { text-align: center !important; }
    .bbl-td-sku { font-family: monospace !important; font-size: 10px !important; color: #475569 !important; }
    .bbl-td-name { font-size: 11px !important; }
    .bbl-td-price { text-align: right !important; white-space: nowrap !important; }
    .bbl-td-qty { text-align: center !important; font-weight: 700 !important; }
    .bbl-td-sum { text-align: right !important; font-weight: 800 !important; white-space: nowrap !important; }
    
    .bbl-print-footer-grid {
        display: grid !important;
        grid-template-columns: 1.4fr 1fr !important;
        gap: 16px !important;
        margin-bottom: 16px !important;
        align-items: start !important;
    }
    
    .bbl-print-terms {
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 6px !important;
        padding: 8px 10px !important;
    }
    
    .bbl-print-terms-title {
        font-size: 10px !important;
        font-weight: 700 !important;
        color: var(--primary-color) !important;
        margin-bottom: 4px !important;
        text-transform: uppercase !important;
    }
    
    .bbl-print-terms-text {
        font-size: 9.5px !important;
        color: #475569 !important;
        line-height: 1.3 !important;
    }
    
    .bbl-print-calc {
        background: #f8fafc !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 6px !important;
        padding: 8px 12px !important;
    }
    
    .bbl-print-calc-line {
        display: flex !important;
        justify-content: space-between !important;
        font-size: 10.5px !important;
        margin-bottom: 4px !important;
        color: #334155 !important;
    }
    
    .bbl-print-discount-line {
        color: var(--primary-color) !important;
    }
    
    .bbl-print-final-line {
        border-top: 1.5px solid var(--primary-color) !important;
        padding-top: 6px !important;
        margin-top: 6px !important;
        font-size: 12.5px !important;
        font-weight: 800 !important;
        color: var(--primary-color) !important;
    }
    
    .bbl-print-final-price {
        font-size: 14px !important;
    }
    
    .bbl-print-signatures {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 24px !important;
        margin-top: 18px !important;
        page-break-inside: avoid !important;
    }
    
    .bbl-print-sign-box {
        border: 1px dashed #94a3b8 !important;
        border-radius: 6px !important;
        padding: 10px 12px !important;
        position: relative !important;
    }
    
    .bbl-print-sign-role {
        font-size: 9.5px !important;
        font-weight: 800 !important;
        color: var(--primary-color) !important;
        text-transform: uppercase !important;
        letter-spacing: 0.04em !important;
    }
    
    .bbl-print-sign-company {
        font-size: 10px !important;
        font-weight: 600 !important;
        color: #334155 !important;
        margin: 2px 0 8px !important;
    }
    
    .bbl-print-sign-line {
        font-size: 10px !important;
        color: #64748b !important;
    }
    
    .bbl-print-stamp {
        position: absolute !important;
        right: 12px !important;
        bottom: 8px !important;
        width: 38px !important;
        height: 38px !important;
        border: 1px dashed #cbd5e1 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #94a3b8 !important;
        font-size: 9px !important;
        font-weight: 700 !important;
    }
}

/* ============================================================
   BOBOLED B2B CHECKOUT (Шаг 2: Оформление заказа)
   ============================================================ */

.checkout-page {
    background: transparent !important;
}

.checkout-steps {
    display: flex !important;
    background: #f0f5fa !important;
    border: 1px solid #dbe6f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    margin-bottom: 24px !important;
}

.checkout-steps__step {
    font-weight: 700 !important;
    font-size: 13px !important;
    color: #475569 !important;
    padding: 12px 18px !important;
}

.checkout-steps__step_current {
    background: var(--primary-color) !important;
    color: #ffffff !important;
}

.checkout-steps__step_done {
    background: #e2effd !important;
    color: var(--primary-color) !important;
}

.checkout-page__step-container .block {
    background: #ffffff !important;
    border: 1px solid #dbe6f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 79, 122, 0.05) !important;
    padding: 24px !important;
}

.checkout-page__step-header .title_h2 {
    color: var(--primary-color) !important;
    font-weight: 800 !important;
}

/* Переключатель Физлицо / Юрлицо (B2B Switcher) */
.bbl-buyer-type-switcher {
    display: flex !important;
    gap: 10px !important;
    background: #f0f5fa !important;
    border: 1px solid #dbe6f0 !important;
    padding: 6px !important;
    border-radius: 12px !important;
    margin-bottom: 20px !important;
}

.bbl-buyer-btn {
    flex: 1 !important;
    padding: 10px 16px !important;
    text-align: center !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
    background: transparent !important;
    color: #475569 !important;
    transition: all 0.15s ease !important;
}

.bbl-buyer-btn.active {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 79, 122, 0.2) !important;
}

.bbl-b2b-fields {
    background: #f0f5fa !important;
    border: 1px solid #dbe6f0 !important;
    border-radius: 12px !important;
    padding: 16px !important;
    margin-bottom: 20px !important;
}

.bbl-b2b-fields-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
    margin-bottom: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.bbl-field-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
}

@media (max-width: 767px) {
    .bbl-field-grid {
        grid-template-columns: 1fr !important;
    }
}

.bbl-input-label {
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    margin-bottom: 4px !important;
    display: block !important;
}

.bbl-input-text {
    width: 100% !important;
    height: 40px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    background: #ffffff !important;
    color: #0f172a !important;
}

.bbl-input-text:focus {
    border-color: var(--primary-color) !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(0, 79, 122, 0.15) !important;
}

/* Ссылка возврата в корзину */
.bbl-return-to-cart {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
    background: #f0f5fa !important;
    border: 1px solid #dbe6f0 !important;
    padding: 8px 14px !important;
    border-radius: 9px !important;
    text-decoration: none !important;
    margin-bottom: 16px !important;
    transition: all 0.15s ease !important;
}

.bbl-return-to-cart:hover {
    background: #e0ecf8 !important;
    border-color: var(--primary-color) !important;
}

/* ============================================================
   P3: Крупная итоговая сумма в корзине (Шаг 1)
   ============================================================ */

.cart-summary__total-container.bbl-cart-total-container {
    align-items: baseline !important;
    padding-top: 14px !important;
    margin-top: 6px !important;
    border-top: 2px solid #e2ecf5 !important;
}

.cart-summary__total.bbl-cart-total-value {
    font-size: 27px !important;
    font-weight: 800 !important;
    color: var(--primary-color) !important;
    letter-spacing: normal !important;
    line-height: 1.1 !important;
    font-variant-numeric: tabular-nums !important;
}

.cart-summary__total.bbl-cart-total-value .js-price {
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
}

.cart-summary__total-label {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #334155 !important;
}

/* ============================================================
   P2: Спиннер состояния загрузки на блоке списания бонусов
   ============================================================ */

#bbl-bonus-use-box {
    position: relative !important;
}

#bbl-bonus-use-box.is-loading .bbl-bonus-label {
    opacity: 0.45 !important;
    pointer-events: none !important;
}

#bbl-bonus-use-box.is-loading::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: inherit !important;
    background: rgba(255, 255, 255, 0.55) !important;
    z-index: 1 !important;
}

#bbl-bonus-spinner {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 2 !important;
    color: var(--primary-color) !important;
    display: inline-flex !important;
}

#bbl-bonus-spinner[hidden] {
    display: none !important;
}

/* ============================================================
   P4: Шаг 2 (/order/) — прогресс-бар «Корзина → Контакты → Оплата»

/* ============================================================
   P4: Полировка SS9-формы чекаута внутри #js-order-form
   ============================================================ */

/* Секция шага: премиальная карточка */
#js-order-form .wa-step-section {
    background: #ffffff !important;
    border: 1px solid #e2ecf5 !important;
    border-radius: 14px !important;
    padding: 20px !important;
    margin-bottom: 16px !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
}

/* Заголовки секций SS9-формы */
#js-order-form .wa-step-section .wa-title,
#js-order-form .wa-step-section h2 {
    color: var(--primary-color) !important;
    font-weight: 800 !important;
}

/* Поля ввода SS9-формы */
#js-order-form .wa-step-section input.input,
#js-order-form .wa-step-section input[type="text"],
#js-order-form .wa-step-section input[type="email"],
#js-order-form .wa-step-section input[type="tel"],
#js-order-form .wa-step-section textarea,
#js-order-form .wa-step-section select {
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 10px 12px !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

#js-order-form .wa-step-section input:focus,
#js-order-form .wa-step-section textarea:focus,
#js-order-form .wa-step-section select:focus {
    border-color: var(--primary-color) !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(0, 79, 122, 0.15) !important;
}

/* Варианты доставки и оплаты — карточки */
#js-order-form .wa-delivery-variant,
#js-order-form .wa-payment-variant {
    border: 1.5px solid #e2ecf5 !important;
    border-radius: 10px !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease !important;
}

#js-order-form .wa-delivery-variant:hover,
#js-order-form .wa-payment-variant:hover {
    border-color: #b9cfe2 !important;
    background: #f8fbfe !important;
}

#js-order-form .wa-delivery-variant.selected,
#js-order-form .wa-payment-variant.selected,
#js-order-form .wa-delivery-variant.is-active,
#js-order-form .wa-payment-variant.is-active {
    border-color: var(--primary-color) !important;
    background: #f0f7fc !important;
    box-shadow: 0 0 0 1px var(--primary-color) inset !important;
}

/* Финальная кнопка «Оформить заказ» в SS9-форме */
#js-order-form .wa-submit-button .wa-button,
#js-order-form button.wa-submit-button,
#js-order-form .wa-actions-section .wa-button {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 15.5px !important;
    border-radius: 12px !important;
    padding: 14px 24px !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(0, 79, 122, 0.25) !important;
    transition: all 0.15s ease !important;
    cursor: pointer !important;
}

#js-order-form .wa-submit-button .wa-button:hover,
#js-order-form button.wa-submit-button:hover,
#js-order-form .wa-actions-section .wa-button:hover {
    background: var(--primary-color-hover) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(0, 79, 122, 0.35) !important;
}

/* Popover корзины: первичная кнопка «Оформить заказ →» */
.cart-popup__button_fill .button_fill {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    font-weight: 700 !important;
}

.cart-popup__button_fill .button_fill:hover {
    background: var(--primary-color-hover) !important;
}

.cart-popup__buttons .button_style_inverse {
    border: 1.5px solid #dbe6f0 !important;
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

.cart-popup__buttons .button_style_inverse:hover {
    border-color: var(--primary-color) !important;
}

@media (prefers-reduced-motion: reduce) {
    .bbl-checkout-progress,
    .bbl-checkout-progress__num,
    #js-order-form .wa-delivery-variant,
    #js-order-form .wa-payment-variant,
    #js-order-form .wa-submit-button .wa-button {
        transition: none !important;
    }
}

/* ============================================================
   B2B CHECKOUT STEP 2 UI UPDATES (BUYER TYPE, SHIPPING CARDS, STICKY SUMMARY)
   ============================================================ */

.bbl-field-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
}

@media (max-width: 767px) {
    .bbl-field-grid {
        grid-template-columns: 1fr !important;
    }
}

.bbl-input-label {
    display: block !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    margin-bottom: 6px !important;
}

.bbl-input-text {
    width: 100% !important;
    border: 1px solid #cbd5e1 !important;
    background: #f8fafc !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    color: #0f172a !important;
    transition: all 0.2s ease !important;
}

.bbl-input-text:focus {
    border-color: var(--primary-color) !important;
    background: #ffffff !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 79, 122, 0.1) !important;
}

/* 4. PAYMENT METHODS STYLED IN SECTION 12 BELOW (100% UNIFIED CARDS) */

/* ==========================================================================
   5. OZON-STYLE VARIANT & COLOR SWITCHERS (BOBOLED B2B)
   ========================================================================== */

.bbl-feature-header, .bbl-sku-header {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-bottom: 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    line-height: 1.4 !important;
}

.bbl-feature-title, .bbl-sku-title {
    color: #64748b !important;
    font-weight: 600 !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

.bbl-feature-active-name, .bbl-sku-active-name {
    color: var(--primary-color) !important;
    font-weight: 800 !important;
    transition: color 0.15s ease !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: inline-block !important;
    min-width: 0 !important;
}

/* Gallery SKU-filter hidden slides (Task #72) */
.bbl-gallery-slide-hidden {
    display: none !important;
}

/* Color Swatches (Circles) */
.bbl-color-swatches {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    align-items: center !important;
    padding: 4px 2px !important;
}

.bbl-color-wrapper {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.bbl-color-wrapper:hover {
    transform: scale(1.15) !important;
}

.product-feature-select_color .product-feature-select__color {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    border: 2px solid rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
}

.product-feature-select_color .product-feature-select__color_dark {
    border: 2px solid rgba(255, 255, 255, 0.25) !important;
}

/* Ozon Double-Ring for Selected Color */
.product-feature-select_color .product-feature-select__color_selected {
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--primary-color) !important;
    transform: scale(1.06) !important;
}

/* Non-color Feature Chips */
.bbl-chips-swatches {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 4px 2px !important;
}

.bbl-chip-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 7px 14px !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.bbl-chip-pill:hover {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    background: #f8fafc !important;
    transform: translateY(-1px) !important;
}

.product-feature-select__value_selected.bbl-chip-pill {
    border-color: var(--primary-color) !important;
    background: var(--primary-color) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 79, 122, 0.25) !important;
}

/* Flat SKUs Photo Grid & Compact Chips */
.bbl-product-skus-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    max-height: 240px !important;
    overflow-y: auto !important;
    padding: 4px 2px !important;
    scrollbar-width: thin !important;
    scrollbar-color: #cbd5e1 #f1f5f9 !important;
}

.bbl-product-skus-grid::-webkit-scrollbar {
    width: 5px !important;
}

.bbl-product-skus-grid::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 4px !important;
}

.bbl-sku-item {
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
    border-radius: 8px !important;
    border: 2px solid #e2e8f0 !important;
    background: #ffffff !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    user-select: none !important;
}

.bbl-sku-radio {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

.bbl-sku-item_has-img {
    width: 56px !important;
    height: 56px !important;
    overflow: hidden !important;
}

.bbl-sku-thumb-container {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 3px !important;
    background: #ffffff !important;
}

.bbl-sku-thumb-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 6px !important;
}

.bbl-sku-name-text {
    display: inline-block !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    white-space: nowrap !important;
}

.bbl-sku-item:hover {
    border-color: #94a3b8 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.bbl-sku-item_selected {
    border-color: var(--primary-color) !important;
    background: #f0f7fc !important;
    box-shadow: 0 0 0 1px var(--primary-color) !important;
}

.bbl-sku-item_selected .bbl-sku-name-text {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

.bbl-sku-check-mark {
    display: none !important;
    position: absolute !important;
    top: 2px !important;
    right: 2px !important;
    background: var(--primary-color) !important;
    color: #ffffff !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    width: 15px !important;
    height: 15px !important;
    border-radius: 50% !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    z-index: 2 !important;
}

.bbl-sku-item_selected .bbl-sku-check-mark {
    display: flex !important;
}

.bbl-sku-item_out-of-stock {
    opacity: 0.45 !important;
    border-style: dashed !important;
}

@media (max-width: 767px) {
    .bbl-product-skus-grid {
        max-height: none !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        padding-bottom: 6px !important;
    }
    .bbl-sku-item {
        flex-shrink: 0 !important;
        scroll-snap-align: start !important;
    }
}

/* ==========================================================================
   B2B Cart Multi-Variant Grouping & Quick Drawer Styles
   ========================================================================== */

/* Cart Product Group Box */
.bbl-cart-product-group {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    margin-bottom: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.2s ease !important;
}

.bbl-cart-product-group:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
}

.bbl-cart-group-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding: 10px 16px !important;
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.bbl-cart-group-badge {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

.bbl-group-tag {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #ffffff !important;
    border: 1px solid #dbeafe !important;
    border-radius: 20px !important;
    padding: 4px 12px !important;
    font-size: 12.5px !important;
    color: var(--primary-color) !important;
    box-shadow: 0 1px 2px rgba(30, 58, 138, 0.04) !important;
}

.bbl-group-tag .bbl-tag-icon {
    font-size: 13px !important;
}

.bbl-group-tag strong {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

.bbl-group-price-tag {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    border-radius: 20px !important;
    padding: 4px 12px !important;
    font-size: 12.5px !important;
    color: #15803d !important;
    box-shadow: 0 1px 2px rgba(22, 163, 74, 0.04) !important;
}

.bbl-group-price-tag strong {
    color: #166534 !important;
    font-weight: 700 !important;
}

/* Subtle, modern wholesale tier next-step hint */
.bbl-cart-group-next-hint {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--primary-color) !important;
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    white-space: nowrap !important;
}

.bbl-cart-group-next-hint strong {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

.bbl-cart-group-next-hint.is-max-tier {
    color: var(--primary-color) !important;
    background: #f0f9ff !important;
    border-color: #bae6fd !important;
}

.bbl-cart-group-items {
    display: flex !important;
    flex-direction: column !important;
}

.bbl-cart-group-items .cart-items__item {
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.bbl-cart-group-items .cart-items__item:last-child {
    border-bottom: none !important;
}

.bbl-cart-group-footer {
    padding: 8px 16px 12px 16px !important;
    background: #fafcff !important;
    border-top: 1px dashed #e2e8f0 !important;
}

.bbl-cart-single-add-wrap {
    margin-top: 8px !important;
    padding-top: 8px !important;
}

.bbl-cart-group-add-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #ffffff !important;
    border: 1px dashed var(--primary-color) !important;
    color: var(--primary-color) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    text-decoration: none !important;
}

.bbl-cart-group-add-btn:hover {
    background: #f0f9ff !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.bbl-cart-group-add-btn svg {
    transition: transform 0.15s ease !important;
}

.bbl-cart-group-add-btn:hover svg {
    transform: translateY(1px) !important;
}

/* Quick Variant Drawer / Bottom Sheet */
.bbl-variant-drawer {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.25s ease, visibility 0.25s ease !important;
}

.bbl-variant-drawer.is-open {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.bbl-variant-drawer__backdrop {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
}

.bbl-variant-drawer__panel {
    position: relative !important;
    z-index: 1 !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    width: 92% !important;
    max-width: 520px !important;
    max-height: 85vh !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3) !important;
    transform: translateY(20px) scale(0.97) !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow: hidden !important;
}

.bbl-variant-drawer.is-open .bbl-variant-drawer__panel {
    transform: translateY(0) scale(1) !important;
}

.bbl-variant-drawer__header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background: #fafcff !important;
}

.bbl-variant-drawer__header-info {
    flex: 1 !important;
    padding-right: 12px !important;
}

.bbl-variant-drawer__badge {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: var(--primary-color) !important;
    background: #e0f2fe !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    display: inline-block !important;
    margin-bottom: 4px !important;
}

.bbl-variant-drawer__title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

.bbl-variant-drawer__subtitle {
    font-size: 12px !important;
    color: #64748b !important;
    margin-top: 3px !important;
}

.bbl-variant-drawer__close {
    background: #f1f5f9 !important;
    border: none !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #64748b !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

.bbl-variant-drawer__close:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

.bbl-variant-drawer__body {
    padding: 14px 20px !important;
    overflow-y: auto !important;
    max-height: 52vh !important;
    -webkit-overflow-scrolling: touch !important;
}

.bbl-variant-drawer__list {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

/* Variant Row Item inside Drawer */
.bbl-drawer-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 12px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    gap: 12px !important;
    transition: all 0.15s ease !important;
}

.bbl-drawer-item.is-selected {
    border-color: var(--primary-color) !important;
    background: #f0f9ff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.bbl-drawer-item__left {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex: 1 !important;
    min-width: 0 !important;
}

.bbl-drawer-item__img {
    width: 64px !important;
    height: 64px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    flex-shrink: 0 !important;
}

.bbl-drawer-item__img-placeholder {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 640px) {
    .bbl-drawer-item__img,
    .bbl-drawer-item__img-placeholder {
        width: 56px !important;
        height: 56px !important;
    }
}

.bbl-drawer-item__info {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    min-width: 0 !important;
}

.bbl-drawer-item__name {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.bbl-drawer-item__meta {
    font-size: 11px !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.bbl-drawer-item__incart-tag {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    background: #e0f2fe !important;
    padding: 1px 5px !important;
    border-radius: 4px !important;
}

.bbl-drawer-item__right {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

.bbl-drawer-stepper {
    display: flex !important;
    align-items: center !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

.bbl-drawer-stepper-btn {
    width: 30px !important;
    height: 30px !important;
    border: none !important;
    background: #f8fafc !important;
    color: #334155 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: background 0.1s ease !important;
    padding: 0 !important;
}

.bbl-drawer-stepper-btn:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

.bbl-drawer-stepper-btn:disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
}

.bbl-drawer-stepper-input {
    width: 48px !important;
    height: 30px !important;
    border: none !important;
    border-left: 1px solid #cbd5e1 !important;
    border-right: 1px solid #cbd5e1 !important;
    text-align: center !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    padding: 0 !important;
    outline: none !important;
    background: transparent !important;
}

/* Drawer Footer */
.bbl-variant-drawer__footer {
    padding: 14px 20px !important;
    border-top: 1px solid #e2e8f0 !important;
    background: #fafcff !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.bbl-drawer-summary-line {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 13px !important;
    color: #475569 !important;
}

.bbl-drawer-summary-line strong {
    font-size: 14px !important;
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

/* Скрываем прогресс бар оптовой выгоды (по запросу: убирает лишнюю инфу) */
.bbl-cart-progress-box {
    display: none !important;
}

/* Полное удаление всех зачеркнутых цен отовсюду в корзине и оформлении */
.wa-price-compare,
.js-product-compare,
.cart-item__total-compare-price,
.cart-item__compare-price,
.bbl-compare-val,
.bbl-mobile-compare-val,
.cart-popup-item__compare-price,
.cart-popup-item__full-price_compare,
.bbl-bump-price-badge del,
.cart-item__total-price_with-compare,
.product-add-to-cart__compare-price-block {
    display: none !important;
}

/* Скрытие заголовка УДАЛИТЬ на шапке таблицы */
.bbl-cart-header__container .bbl-col-del {
    visibility: hidden !important;
}

/* Скрытие дублирующей кнопки продолжить покупки под кнопкой заказа */
.bbl-cart-continue-wrap {
    display: none !important;
}

.bbl-variant-drawer__submit-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 12px 16px !important;
    background: var(--primary-color) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

.bbl-variant-drawer__submit-btn:hover:not(:disabled) {
    background: var(--primary-color-hover) !important;
    box-shadow: 0 4px 12px rgba(0, 79, 122, 0.25) !important;
}

.bbl-variant-drawer__submit-btn:disabled {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
}

/* Mobile Bottom Sheet Adaptations */
@media (max-width: 767px) {
    .bbl-variant-drawer {
        align-items: flex-end !important;
    }
    .bbl-variant-drawer__panel {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 20px 20px 0 0 !important;
        max-height: 82vh !important;
        transform: translateY(100%) !important;
    }
    .bbl-variant-drawer.is-open .bbl-variant-drawer__panel {
        transform: translateY(0) !important;
    }
    .bbl-cart-group-header {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
}

/* ============================================================
   B2B Cart Redesign: Prominent Total Box & Airy Modern Spacing
   ============================================================ */

.bbl-cart-final-total-box {
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 14px !important;
    padding: 18px 20px !important;
    margin: 20px 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
}

.bbl-final-total-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    gap: 12px !important;
}

.bbl-final-total-label {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.bbl-final-total-sum {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: normal !important;
    line-height: 1 !important;
    font-variant-numeric: tabular-nums !important;
    text-align: right !important;
}

.bbl-final-total-sum .js-price {
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
}

.bbl-final-cashback-badge {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 10px !important;
    padding-top: 10px !important;
    border-top: 1px dashed #e2e8f0 !important;
    font-size: 13px !important;
    color: #16a34a !important;
    font-weight: 600 !important;
}

/* Воздух в корзине (Airy layout) */
.cart-page__container {
    gap: 32px !important;
}

.cart-items__item {
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.cart-item {
    padding: 14px 16px !important;
    box-sizing: border-box !important;
}

.bbl-cart-product-group {
    margin-bottom: 24px !important;
}

.cart-summary__sub-totals {
    margin-bottom: 20px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.cart-summary__sub-totals .row-value {
    padding: 5px 0 !important;
    font-size: 15px !important;
}

.cart-summary__discount {
    color: #16a34a !important;
    font-weight: 700 !important;
}

/* -------------------------------------------------------------
   1. Hide Dark Blue Category Navigation Bar on Cart & Checkout
   ------------------------------------------------------------- */
body.cart-page .header__bottom-bar,
body.order-page .header__bottom-bar,
body.checkout-page .header__bottom-bar,
body:has(.cart-page) .header__bottom-bar,
body:has(.order-page) .header__bottom-bar,
body:has(#js-order-cart) .header__bottom-bar,
body:has(.checkout-step) .header__bottom-bar,
body:has(.bbl-cart-main-wrapper) .header__bottom-bar {
    display: none !important;
}

/* -------------------------------------------------------------
   2. B2B Ozon-Style Recommendations Block & 5-Column Grid
   ------------------------------------------------------------- */
.bbl-ozon-recommendations-section {
    margin-top: 36px !important;
}

.bbl-ozon-block {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 24px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03) !important;
}

.bbl-ozon-header {
    border-bottom: 2px solid #f1f5f9 !important;
    padding-bottom: 16px !important;
    margin-bottom: 24px !important;
}

.bbl-ozon-tabs {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
}
.bbl-ozon-tabs::-webkit-scrollbar {
    display: none !important;
}

.bbl-ozon-tab {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 18px !important;
    border-radius: 30px !important;
    border: 1.5px solid #e2e8f0 !important;
    background: #f8fafc !important;
    color: #334155 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}

.bbl-ozon-tab:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

.bbl-ozon-tab.is-active {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 79, 122, 0.2) !important;
}

.bbl-ozon-tab-count {
    display: inline-block !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    padding: 1px 7px !important;
    border-radius: 10px !important;
    background: rgba(0, 0, 0, 0.08) !important;
    color: inherit !important;
}

.bbl-ozon-tab.is-active .bbl-ozon-tab-count {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

.bbl-ozon-panel {
    display: none !important;
}

.bbl-ozon-panel.is-active {
    display: block !important;
    animation: bblFadeIn 0.25s ease !important;
}

@keyframes bblFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 5 Columns Grid */
.bbl-ozon-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 16px !important;
}

@media (max-width: 1200px) {
    .bbl-ozon-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 900px) {
    .bbl-ozon-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 600px) {
    .bbl-ozon-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
}

/* Product Card */
.bbl-ozon-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    transition: all 0.2s ease !important;
    position: relative !important;
}

.bbl-ozon-card:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 6px 20px rgba(0, 79, 122, 0.09) !important;
    transform: translateY(-3px) !important;
}

.bbl-ozon-card__image-box {
    position: relative !important;
    width: 100% !important;
    padding-top: 100% !important;
    background: #ffffff !important;
    overflow: hidden !important;
}

.bbl-ozon-card__image-link {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px !important;
}

.bbl-ozon-card__img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    transition: transform 0.25s ease !important;
}

.bbl-ozon-card:hover .bbl-ozon-card__img {
    transform: scale(1.04) !important;
}

.bbl-ozon-card__opt-tag {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    background: var(--primary-color) !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    padding: 2px 7px !important;
    border-radius: 6px !important;
    letter-spacing: 0.04em !important;
    z-index: 2 !important;
}

.bbl-ozon-card__body {
    padding: 12px 14px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    background: #ffffff !important;
}

.bbl-ozon-card__price-line {
    margin-bottom: 4px !important;
}

.bbl-ozon-card__price {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

.bbl-ozon-card__title {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 35px !important;
    margin-bottom: 6px !important;
    transition: color 0.15s ease !important;
}

.bbl-ozon-card__title:hover {
    color: var(--primary-color) !important;
}

.bbl-ozon-card__meta {
    margin-bottom: 12px !important;
}

.bbl-ozon-card__step {
    display: inline-block !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    background: #f1f5f9 !important;
    padding: 2px 7px !important;
    border-radius: 5px !important;
}

.bbl-ozon-card__action {
    margin-top: auto !important;
}

.bbl-ozon-card__btn {
    width: 100% !important;
    height: 36px !important;
    border-radius: 9px !important;
    border: none !important;
    background: #f0f7ff !important;
    color: var(--primary-color) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    transition: all 0.15s ease !important;
    text-decoration: none !important;
}

.bbl-ozon-card__btn:hover {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(0, 79, 122, 0.25) !important;
}

.bbl-ozon-card__btn.is-added {
    background: #ecfdf5 !important;
    color: #059669 !important;
    border: 1px solid #a7f3d0 !important;
}

/* ==========================================================================
   Ozon-Style "Поделиться" Popover & Toast Notifications
   ========================================================================== */

.bbl-cart-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.bbl-share-cart-wrapper {
    position: relative !important;
    display: inline-block !important;
}

.bbl-share-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #707f8d !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    transition: color 0.15s ease !important;
    outline: none !important;
    box-shadow: none !important;
}

.bbl-share-btn:hover {
    color: var(--primary-color) !important;
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
}

.bbl-share-popover {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    z-index: 99999 !important;
    width: 224px !important;
    background: #161a1e !important; /* Dark Ozon-style popover background */
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 6px 0 !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35) !important;
    display: none !important;
    animation: bblPopoverFadeIn 0.15s ease !important;
}

.bbl-share-cart-wrapper:hover .bbl-share-popover,
.bbl-share-popover.is-active,
.bbl-share-popover.is-visible {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Pseudo-bridge between share button and popover to prevent hover loss */
.bbl-share-popover::before {
    content: '' !important;
    position: absolute !important;
    top: -14px !important;
    left: 0 !important;
    right: 0 !important;
    height: 16px !important;
    background: transparent !important;
}

@keyframes bblPopoverFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.bbl-share-popover__arrow {
    position: absolute !important;
    top: -6px !important;
    right: 28px !important;
    width: 12px !important;
    height: 12px !important;
    background: #161a1e !important;
    transform: rotate(45deg) !important;
    border-top-left-radius: 2px !important;
}

.bbl-share-popover__item,
.bbl-share-popover__item span {
    color: #ffffff !important;
    font-family: Inter, -apple-system, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    user-select: none !important;
    transition: color 0.15s ease, background 0.15s ease !important;
}

.bbl-share-popover__item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 16px !important;
    cursor: pointer !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.bbl-share-popover__item:last-child {
    border-bottom: none !important;
}

.bbl-share-popover__item:hover,
.bbl-share-popover__item:hover span {
    color: #38bdf8 !important; /* яркий голубой цвет подсветки текста как на Ozon */
    background: rgba(255, 255, 255, 0.04) !important;
}

.bbl-share-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 0 !important;
    background: transparent !important;
    flex-shrink: 0 !important;
}

.bbl-share-popover svg {
    fill: revert !important;
    stroke: revert !important;
    width: 20px !important;
    height: 20px !important;
}

.bbl-share-popover img {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
}

/* Global Toast Notification */
.bbl-toast {
    position: fixed !important;
    top: 24px !important;
    right: 24px !important;
    z-index: 100000 !important;
    background: #0f172a !important;
    color: #ffffff !important;
    padding: 12px 20px !important;
    border-radius: 10px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25) !important;
    display: flex !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

.bbl-ozon-card__title {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 35px !important;
    margin-bottom: 6px !important;
    transition: color 0.15s ease !important;
}

.bbl-ozon-card__title:hover {
    color: var(--primary-color) !important;
}

.bbl-ozon-card__meta {
    margin-bottom: 12px !important;
}

.bbl-ozon-card__step {
    display: inline-block !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    background: #f1f5f9 !important;
    padding: 2px 7px !important;
    border-radius: 5px !important;
}

.bbl-ozon-card__action {
    margin-top: auto !important;
}

.bbl-ozon-card__btn {
    width: 100% !important;
    height: 36px !important;
    border-radius: 9px !important;
    border: none !important;
    background: #f0f7ff !important;
    color: var(--primary-color) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    transition: all 0.15s ease !important;
    text-decoration: none !important;
}

.bbl-ozon-card__btn:hover {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(0, 79, 122, 0.25) !important;
}

.bbl-ozon-card__btn.is-added {
    background: #ecfdf5 !important;
    color: #059669 !important;
    border: 1px solid #a7f3d0 !important;
}

/* ==========================================================================
   Ozon-Style "Поделиться" Popover & Toast Notifications
   ========================================================================== */

.bbl-cart-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

/* Global Toast Notification */
.bbl-toast {
    position: fixed !important;
    top: 24px !important;
    right: 24px !important;
    z-index: 100000 !important;
    background: #0f172a !important;
    color: #ffffff !important;
    padding: 12px 20px !important;
    border-radius: 10px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25) !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    animation: bblToastSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes bblToastSlide {
    from { opacity: 0; transform: translateY(-10px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==========================================================================
   B2B & B2C CHECKOUT STEP 2 (OZON-STYLE ORDER FORM & REQUISITES)
   ========================================================================== */

.bbl-return-to-cart {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--primary-color) !important;
    text-decoration: none !important;
    padding: 8px 16px !important;
    background: #f0f7ff !important;
    border: 1px solid #bae6fd !important;
    border-radius: 10px !important;
    transition: all 0.15s ease !important;
}

.bbl-return-to-cart:hover {
    background: #e0f2fe !important;
    color: var(--primary-color) !important;
    transform: translateX(-2px) !important;
}

@media (max-width: 640px) {
    .bbl-buyer-type-switcher {
        grid-template-columns: 1fr !important;
    }
}

.bbl-buyer-btn {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 16px 20px !important;
    background: #f8fafc !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 14px !important;
    cursor: pointer !important;
    text-align: left !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    outline: none !important;
}

.bbl-buyer-btn:hover {
    background: #ffffff !important;
    border-color: #94a3b8 !important;
    transform: translateY(-1px) !important;
}

.bbl-buyer-btn.active {
    background: #ffffff !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 4px 16px rgba(0, 79, 122, 0.12) !important;
}

.bbl-buyer-btn-icon {
    font-size: 26px !important;
    flex-shrink: 0 !important;
}

.bbl-buyer-btn-text {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.bbl-buyer-btn-text strong {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

.bbl-buyer-btn-text small {
    font-size: 12px !important;
    color: #64748b !important;
    line-height: 1.3 !important;
}

.bbl-buyer-btn.active .bbl-buyer-btn-text strong {
    color: var(--primary-color) !important;
}

/* B2B Card & Quick Tools */
.bbl-b2b-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 16px !important;
    padding: 24px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

.bbl-b2b-card-header {
    padding-bottom: 16px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    margin-bottom: 20px !important;
}

.bbl-b2b-card-title {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

.bbl-b2b-quick-tools {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    margin-bottom: 24px !important;
}

@media (max-width: 768px) {
    .bbl-b2b-quick-tools {
        grid-template-columns: 1fr !important;
    }
}

/* DaData INN Search Box */
.bbl-inn-search-box {
    position: relative !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 14px !important;
}

.bbl-inn-search-input-wrap {
    display: flex !important;
    gap: 8px !important;
    margin-top: 6px !important;
}

.bbl-btn-search {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 0 16px !important;
    height: 42px !important;
    background: var(--primary-color) !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: all 0.15s ease !important;
}

.bbl-btn-search:hover {
    background: var(--primary-color-hover) !important;
}

.bbl-suggestions-dropdown {
    position: absolute !important;
    top: calc(100% + 4px) !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    max-height: 240px !important;
    overflow-y: auto !important;
}

.bbl-suggestion-item {
    padding: 10px 14px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    cursor: pointer !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    color: #1e293b !important;
    transition: background 0.1s ease !important;
}

.bbl-suggestion-item:hover {
    background: #f0f7ff !important;
    color: var(--primary-color) !important;
}

.bbl-suggestion-item strong {
    display: block !important;
    color: #0f172a !important;
}

.bbl-suggestion-item span {
    font-size: 12px !important;
    color: #64748b !important;
}

/* File Dropzone */
.bbl-file-upload-box {
    background: #f8fafc !important;
    border: 2px dashed #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 14px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.bbl-file-upload-box:hover,
.bbl-file-upload-box.drag-over {
    background: #eff6ff !important;
    border-color: var(--primary-color) !important;
}

.bbl-dropzone-content {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-align: left !important;
}

.bbl-dropzone-icon {
    font-size: 28px !important;
    color: var(--primary-color) !important;
}

.bbl-dropzone-text strong {
    font-size: 14px !important;
    color: #0f172a !important;
    display: block !important;
}

.bbl-dropzone-text span {
    font-size: 12px !important;
    color: #64748b !important;
}

.bbl-file-browse-link {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    cursor: pointer !important;
}

.bbl-file-status,
.bbl-search-status {
    margin-top: 8px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #059669 !important;
}

/* Requisites Field Grid */
.bbl-form-section-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    color: #475569 !important;
    margin-bottom: 12px !important;
}

.bbl-field-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
}

@media (max-width: 640px) {
    .bbl-field-grid {
        grid-template-columns: 1fr !important;
    }
}

.bbl-field-full {
    grid-column: 1 / -1 !important;
}

.bbl-input-label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    margin-bottom: 6px !important;
}

.bbl-req-star {
    color: #e11d48 !important;
}

.bbl-input-text {
    width: 100% !important;
    height: 42px !important;
    padding: 0 14px !important;
    font-size: 14px !important;
    color: #0f172a !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: all 0.15s ease !important;
}

.bbl-input-text:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(0, 79, 122, 0.12) !important;
}

.bbl-input-text.is-auto-filled {
    background: #f0fdf4 !important;
    border-color: #86efac !important;
    animation: bblPulseGreen 1s ease !important;
}

@keyframes bblPulseGreen {
    0% { background: #dcfce7; }
    100% { background: #f0fdf4; }
}

/* Contact Details Card (Receiver Info) */
.bbl-contact-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 16px !important;
    padding: 24px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

.bbl-contact-card-header {
    padding-bottom: 16px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    margin-bottom: 20px !important;
}

.bbl-contact-card-title {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

@media (max-width: 640px) {
    .checkout-contactinfo__form .form-decorator,
    .bbl-form-decorator {
        grid-template-columns: 1fr !important;
    }
}

.checkout-contactinfo__form .wa-field {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    margin-bottom: 0 !important;
}

.checkout-contactinfo__form .wa-field.wa-field-address,
.checkout-contactinfo__form .wa-field.wa-field-im {
    grid-column: 1 / -1 !important;
}

.checkout-contactinfo__form .wa-name {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
    width: 100% !important;
}

.checkout-contactinfo__form .wa-name em.errormsg,
.checkout-contactinfo__form .errormsg {
    color: #e11d48 !important;
    font-style: normal !important;
    font-size: 12px !important;
    margin-left: 4px !important;
}

.checkout-contactinfo__form .wa-value {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.checkout-contactinfo__form input.input-text,
.checkout-contactinfo__form input[type="text"],
.checkout-contactinfo__form input[type="email"],
.checkout-contactinfo__form input[type="tel"],
.checkout-contactinfo__form select {
    width: 100% !important;
    height: 42px !important;
    padding: 0 14px !important;
    font-size: 14px !important;
    color: #0f172a !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: all 0.15s ease !important;
}

.checkout-contactinfo__form input:focus,
.checkout-contactinfo__form select:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(0, 79, 122, 0.12) !important;
}

/* Checkout Summary Right Box & Currency nowrap */
.checkout-summary {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 20px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

.checkout-summary__total-container {
    padding-top: 14px !important;
    margin-top: 14px !important;
    border-top: 2px dashed #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
}

.checkout-summary__total-label {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    white-space: nowrap !important;
}

.checkout-summary .row-value {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 8px !important;
}

.checkout-summary .row-value__label-text {
    font-size: 14px !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

.checkout-summary .row-value__value-text {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    white-space: nowrap !important;
}

.checkout-summary__total,
.checkout-summary__total * {
    font-size: 24px !important;
    font-weight: 900 !important;
    color: var(--primary-color) !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: baseline !important;
    letter-spacing: normal !important;
}

/* ==========================================================================
   BOBOLED-9 — Ozon-полировка карточки товара и каталога (только CSS)
   Основа: штатный 3-колоночный вид NovaShop (shop_product_form_variant=default).
   Правила не затрагивают .bbl-opt-* (опт-таблица), .bbl-share-* (шаринг)
   и Ozon-свотчи вариантов. HTML-шаблоны не изменялись.
   ========================================================================== */

/* --- 1. Хлебные крошки: плоский стиль Ozon (без «пилюль») ---------------- */
.breadcrumbs {
    font-size: 13px;
    line-height: 1.4;
}

.breadcrumbs__wrapper {
    gap: 2px 6px;
}

.breadcrumbs__item .link {
    padding: 2px 0;
    color: #707f8d;
    background-color: transparent;
    border-radius: 0;
    transition: color 0.15s ease;
}

.breadcrumbs__item .link:hover {
    color: var(--dark-color, #101418);
}

.breadcrumbs__item + .breadcrumbs__item::before {
    width: 14px;
    height: 14px;
    opacity: 0.45;
}

.breadcrumbs__item-container,
.breadcrumbs__item_current-text {
    padding: 2px 0;
    color: #707f8d;
    background-color: transparent;
    border-radius: 0;
}

.breadcrumbs__item_current .link {
    color: #707f8d;
    text-decoration: none;
}

/* --- 2. Мета-бар справа от крошек (артикул / сравнение / поделиться) ---- */
.breadcrumbs-add .product-cart-form__top-blocks {
    align-items: baseline;
}

.breadcrumbs-add .product-cart-form__top-block_sku {
    font-size: 13px;
    color: #707f8d;
}

.breadcrumbs-add .product-cart-form__top-block_sku .value__value-text {
    color: var(--dark-color, #101418);
    font-weight: 500;
}

.breadcrumbs-add .product-additional-buttons {
    gap: 18px;
}

.breadcrumbs-add .product-additional-buttons__button {
    font-size: 13px;
    color: #707f8d;
}

.breadcrumbs-add .product-additional-buttons__button:hover {
    color: var(--dark-color, #101418);
}

/* --- 3. Галерея: скругления как у Ozon ----------------------------------- */

/* --- 4. Заголовок и рейтинг ---------------------------------------------- */
.product-page .product-cart-form .title {
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: normal !important;
}

.product-page .product-cart-form__rating {
    color: #707f8d;
    font-size: 13.5px;
}

/* --- 5. «О товаре»: серое свойство — тёмное значение ---------------------- */
.product-page .product-feature__name {
    color: #707f8d;
}

.product-page .product-feature__value {
    color: var(--dark-color, #101418);
    font-weight: 500;
}

/* --- 6. Buy Box: цена и кнопка «В корзину» -------------------------------- */
.product-page .product-add-to-cart__price {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: normal !important;
}

.product-page .product-add-to-cart__compare-price {
    font-size: 18px;
}

.product-page .product-add-to-cart {
    border-radius: 16px;
}

.product-page .product-add-to-cart .product-add-to-cart__button,
.product-page .product-add-to-cart button[type="submit"] {
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    height: 48px;
    white-space: nowrap;
    padding: 0 24px;
}

.product-page .product-add-to-cart__controls-button {
    flex: 1 1 auto;
}

/* --- 7. Кросс-сейл: карточки Ozon-формата --------------------------------- */

/* --- 8. Каталог: карточки товаров в том же стиле -------------------------- */

/* --- 9. Адаптив ------------------------------------------------------------ */
@media (max-width: 1023px) {
    .product-page .product-add-to-cart__price {
        font-size: 24px;
    }

    .product-page .product-add-to-cart .product-add-to-cart__button,
    .product-page .product-add-to-cart button[type="submit"] {
        height: 46px;
    }

    .breadcrumbs-add .product-additional-buttons {
        gap: 12px;
    }
}

/* ==========================================================================
   10. CHECKOUT STEP 2 (BOBOLED CLEAN OZON-STYLE SUMMARY & CONTACT FORM)
   ========================================================================== */

/* Recipient Contact Info Card */
.bbl-contact-card {
    background: #ffffff !important;
    border: 1px solid #e2ecf5 !important;
    border-radius: 16px !important;
    padding: 24px !important;
    margin-top: 24px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03) !important;
}

.bbl-contact-card-header {
    margin-bottom: 20px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.bbl-contact-card-title {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Live validation indicators */
.is-valid-inn {
    border-color: #10b981 !important;
    background-color: #f0fdf4 !important;
}

.is-invalid-inn {
    border-color: #f43f5e !important;
}

.is-auto-filled {
    transition: background-color 0.3s ease, border-color 0.3s ease !important;
    background-color: #ecfdf5 !important;
    border-color: #10b981 !important;
}

/* ==========================================================================
   11. CHECKOUT STEP 1: DELIVERY CARD & OPTIONS
   ========================================================================== */
.bbl-delivery-card {
    background: #ffffff !important;
    border: 1px solid #e2ecf5 !important;
    border-radius: 16px !important;
    padding: 24px !important;
    margin-top: 24px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03) !important;
}

.bbl-delivery-card-header {
    margin-bottom: 20px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.bbl-delivery-card-title {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.bbl-delivery-options {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
}

.bbl-delivery-option {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    padding: 16px 18px !important;
    border: 2px solid #e2ecf5 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
}

.bbl-delivery-option:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

.bbl-delivery-option.active {
    border-color: var(--primary-color) !important;
    background: #f8fafc !important;
    box-shadow: 0 4px 12px rgba(0, 79, 122, 0.08) !important;
}

.bbl-delivery-radio {
    display: none !important;
}

.bbl-delivery-radio-custom {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    border: 2px solid #cbd5e1 !important;
    background: #ffffff !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

.bbl-delivery-option.active .bbl-delivery-radio-custom {
    border-color: var(--primary-color) !important;
    background: var(--primary-color) !important;
}

.bbl-delivery-option.active .bbl-delivery-radio-custom:after {
    content: '' !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
}

.bbl-delivery-option-info {
    flex: 1 1 auto !important;
}

.bbl-delivery-option-top {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    margin-bottom: 4px !important;
}

.bbl-delivery-option-top strong {
    font-size: 15px !important;
    color: #0f172a !important;
}

.bbl-delivery-option-desc {
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.4 !important;
    display: block !important;
}

.bbl-delivery-fields-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    margin-bottom: 16px !important;
}

@media (max-width: 767px) {
    .bbl-delivery-fields-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   12. CHECKOUT STEP 2: PAYMENT CARDS & ALERTS
   ========================================================================== */
.bbl-step-alert {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 14px 18px !important;
    background: #fefce8 !important;
    border: 1px solid #fef08a !important;
    border-radius: 12px !important;
    color: #854d0e !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

.bbl-step-alert strong {
    display: block !important;
    font-size: 14px !important;
    color: #713f12 !important;
    margin-bottom: 2px !important;
}

.bbl-step-alert__icon {
    font-size: 20px !important;
    line-height: 1 !important;
}

.bbl-link-back-cart {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    text-decoration: none !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
    background: transparent !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.2s ease !important;
}

.bbl-link-back-cart:hover {
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
    background: #f8fafc !important;
}

/* Shipping Note in Checkout Summary */
.bbl-summary-shipping-note {
    font-size: 12px !important;
    line-height: 1.4 !important;
    color: #475569 !important;
    background: #f8fafc !important;
    border: 1px dashed #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    margin: 12px 0 6px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

/* Badges */
.bbl-badge {
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.bbl-badge_green {
    background: #dcfce7 !important;
    color: #15803d !important;
}

.bbl-badge_blue {
    background: #e0f2fe !important;
    color: var(--primary-color) !important;
}

.bbl-badge_orange {
    background: #ffedd5 !important;
    color: #c2410c !important;
}

.bbl-badge_gray {
    background: #f1f5f9 !important;
    color: #475569 !important;
}

/* ==========================================================================
   13. CHECKOUT STEP 3: EXECUTIVE ORDER DASHBOARD

@media (max-width: 900px) {
    .bbl-confirm-grid {
        grid-template-columns: 1fr !important;
    }
}

.bbl-confirm-card {
    background: #ffffff !important;
    border: 1px solid #e2ecf5 !important;
    border-radius: 14px !important;
    padding: 18px 20px !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02) !important;
    display: flex !important;
    flex-direction: column !important;
}

.bbl-confirm-card__header {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding-bottom: 10px !important;
    margin-bottom: 12px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.bbl-confirm-card__icon {
    font-size: 18px !important;
}

.bbl-confirm-card__title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

.bbl-confirm-row {
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #0f172a !important;
    margin-bottom: 4px !important;
}

.bbl-confirm-row_muted {
    color: #64748b !important;
}

.bbl-confirm-badge-row {
    margin-top: auto !important;
    padding-top: 12px !important;
}

/* Modern Items List on Confirmation */
.bbl-confirm-items-card {
    background: #ffffff !important;
    border: 1px solid #e2ecf5 !important;
    border-radius: 16px !important;
    padding: 24px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03) !important;
}

.bbl-confirm-items-header {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding-bottom: 14px !important;
    margin-bottom: 16px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.bbl-confirm-items-list {
    display: flex !important;
    flex-direction: column !important;
}

.bbl-confirm-item {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #f8fafc !important;
}

.bbl-confirm-item:last-child {
    border-bottom: none !important;
}

.bbl-confirm-item__img-box {
    width: 56px !important;
    height: 56px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #f8fafc !important;
    border: 1px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.bbl-confirm-item__img-box img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.bbl-confirm-item__noimg {
    font-size: 24px !important;
}

.bbl-confirm-item__main {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.bbl-confirm-item__title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
    margin-bottom: 4px !important;
}

.bbl-confirm-item__sku {
    font-size: 12px !important;
    color: #94a3b8 !important;
}

.bbl-confirm-item__qty {
    text-align: right !important;
    flex-shrink: 0 !important;
    padding: 0 16px !important;
}

.bbl-confirm-item__qty-val {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    display: block !important;
}

.bbl-confirm-item__unit-price {
    font-size: 12px !important;
    color: #64748b !important;
}

.bbl-confirm-item__total {
    text-align: right !important;
    flex-shrink: 0 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: var(--primary-color) !important;
    white-space: nowrap !important;
    min-width: 90px !important;
}

/* Submit Order Button */
.bbl-btn-submit-order {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    height: 52px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px rgba(0, 79, 122, 0.25) !important;
    transition: all 0.2s ease !important;
    border: none !important;
}

.bbl-btn-submit-order:hover {
    background: #003e61 !important;
    box-shadow: 0 6px 18px rgba(0, 79, 122, 0.35) !important;
    transform: translateY(-1px) !important;
}

@keyframes bblFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.bbl-link-back-cart {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    text-decoration: none !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.2s ease !important;
}

.bbl-link-back-cart:hover {
    color: #0f172a !important;
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}

/* Cart Buyer Switcher (Fizlico vs Yurlico in Cart) */
.bbl-cart-buyer-switcher-box {
    background: #ffffff !important;
    border: 1px solid #dbe6f0 !important;
    border-radius: 14px !important;
    padding: 16px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 2px 10px rgba(0, 79, 122, 0.04) !important;
}

.bbl-cart-buyer-switcher {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
}

@media (max-width: 640px) {
    .bbl-cart-buyer-switcher {
        grid-template-columns: 1fr !important;
    }
}

.bbl-cart-buyer-btn {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 14px 18px !important;
    background: #f8fafc !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    text-align: left !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    outline: none !important;
    width: 100% !important;
}

.bbl-cart-buyer-btn:hover {
    background: #ffffff !important;
    border-color: #94a3b8 !important;
    transform: translateY(-1px) !important;
}

.bbl-cart-buyer-btn.active {
    background: #ffffff !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 4px 14px rgba(0, 79, 122, 0.12) !important;
}

.bbl-cart-buyer-icon {
    font-size: 24px !important;
    flex-shrink: 0 !important;
}

.bbl-cart-buyer-text {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.bbl-cart-buyer-text strong {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

.bbl-cart-buyer-btn.active .bbl-cart-buyer-text strong {
    color: var(--primary-color) !important;
}

.bbl-cart-buyer-badge {
    display: inline-block !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
    width: fit-content !important;
}

.bbl-cart-buyer-badge_green {
    background: #ecfdf5 !important;
    color: #059669 !important;
    border: 1px solid #a7f3d0 !important;
}

.bbl-cart-buyer-badge_blue {
    background: #eff6ff !important;
    color: var(--primary-color) !important;
    border: 1px solid #bae6fd !important;
}

.bbl-cart-buyer-notice {
    margin-top: 12px !important;
    padding: 10px 14px !important;
    background: #f8fafc !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    font-size: 13px !important;
    color: #475569 !important;
    line-height: 1.4 !important;
}

.bbl-cart-notice-item {
    display: none !important;
    align-items: center !important;
    gap: 8px !important;
}

.bbl-cart-notice-item.is-active {
    display: flex !important;
}

.bbl-cart-notice-item.is-hidden {
    display: none !important;
}

.bbl-cart-notice-icon {
    font-size: 16px !important;
    flex-shrink: 0 !important;
}

/* Cart Summary B2B Extra Fee Row */
.cart-summary__sub-total_b2b-fee {
    animation: bblFadeIn 0.2s ease-in-out;
}

/* ==========================================================================
   BOBOLED OZON-STYLE REDESIGN: GREY BACKDROP & CRISP WHITE CARDS
   ========================================================================== */

body.page_cart,
body.page_checkout,
body.cart-page-body,
body.page_cart .content-container,
body.page_cart .container.container_content,
body.page_cart .container,
body.page_cart .content,
body.page_cart .content__content,
body.page_checkout .content-container,
body.page_checkout .container.container_content,
body.page_checkout .container,
body.page_checkout .content,
body.page_checkout .content__content,
body:has(.cart-page),
body:has(.checkout-page),
.page:has(.cart-page),
.page:has(.checkout-page),
.index:has(.cart-page),
.index:has(.checkout-page),
.index__wrapper:has(.cart-page),
.index__wrapper:has(.checkout-page),
.index__content:has(.cart-page),
.index__content:has(.checkout-page),
.content-container:has(.cart-page),
.content-container:has(.checkout-page),
.container_content:has(.cart-page),
.container_content:has(.checkout-page),
.container:has(.cart-page),
.container:has(.checkout-page),
.content:has(.cart-page),
.content:has(.checkout-page),
.content__content:has(.cart-page),
.content__content:has(.checkout-page),
.content-wrapper:has(.cart-page),
.content-wrapper:has(.checkout-page),
.content-wrapper__block:has(.cart-page),
.content-wrapper__block:has(.checkout-page),
.cart-page,
.checkout-page,
.cart-page > .block,
.checkout-page > .block {
    background-color: #f2f4f7 !important;
    background: #f2f4f7 !important;
    box-shadow: none !important;
}

/* Base block containers transparent so cards can stand out */
.cart-page.block,
.checkout-page.block,
.checkout-page__step-container > .block {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* White Cards in /cart/ */
.bbl-cart-buyer-switcher-box {
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
    padding: 20px 24px !important;
    margin-bottom: 20px !important;
}

.cart-page__items,
.cart-page__container-items .cart-items-container,
.cart-items-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.cart-page__container-summary .cart-summary {
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
    padding: 24px !important;
}

.bbl-step-alert {
    background: #fffbeb !important;
    border: 1px solid #fef08a !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.06) !important;
}

/* ==========================================================================
   CHECKOUT STEP 1: HIDE DUPLICATE ADDRESS & ENHANCE UI
   ========================================================================== */

/* 1. Strictly hide duplicate address fields and split name fields inside contact card */
.bbl-contact-card .wa-field-address,
.bbl-contact-card .wa-field-address-shipping,
.bbl-contact-card .wa-field-im,
.bbl-contact-card .wa-field-firstname,
.bbl-contact-card .wa-field-lastname {
    display: none !important;
}

/* Unified Single-Line FIO */
.bbl-unified-fio-field {
    margin-bottom: 14px !important;
}

.bbl-unified-fio-field input {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 2. FIO Passport Alert Pill */
.bbl-fio-hint-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    font-size: 13.5px;
    color: #166534;
    margin-bottom: 20px;
}

.bbl-fio-hint-icon {
    font-size: 18px;
    flex-shrink: 0;
}

/* 3. Extra Phone Toggle Button & Container */
.bbl-hidden,
.bbl-btn-add-extra-phone.bbl-hidden,
.bbl-extra-phone-wrapper.bbl-hidden {
    display: none !important;
}

.bbl-btn-add-extra-phone {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 8px !important;
    padding: 5px 12px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--primary-color) !important;
    background: #f0f7ff !important;
    border: 1px solid #bae6fd !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

.bbl-btn-add-extra-phone:hover {
    background: #e0f2fe !important;
    color: var(--primary-color) !important;
}

.bbl-plus-circle {
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

.bbl-extra-phone-wrapper {
    margin-top: 8px !important;
    animation: bblFadeIn 0.2s ease !important;
}

.bbl-extra-phone-input-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.bbl-btn-remove-extra-phone {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #64748b !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    transition: all 0.15s ease !important;
    flex-shrink: 0 !important;
}

.bbl-btn-remove-extra-phone:hover {
    background: #fee2e2 !important;
    color: #dc2626 !important;
    border-color: #fca5a5 !important;
}

.bbl-optional-hint {
    font-size: 12px;
    font-weight: 400;
    color: #94a3b8;
}

/* 4. Messenger Icon Checkboxes (Icons Only, Nice Checkboxes, No Text) */
.bbl-messengers-card-group {
    margin-top: 18px !important;
    padding-top: 16px !important;
    border-top: 1px solid #f1f5f9 !important;
}

.bbl-messenger-icons-row {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin-top: 8px !important;
    flex-wrap: wrap !important;
}

.bbl-messenger-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    margin: 0 !important;
    user-select: none !important;
    padding: 6px 12px !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    transition: all 0.15s ease !important;
}

.bbl-messenger-item:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}

.bbl-messenger-item input.bbl-messenger-chk {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    accent-color: var(--primary-color) !important;
    cursor: pointer !important;
    margin: 0 !important;
}

.bbl-messenger-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 0 !important;
}

.bbl-messenger-icon svg {
    display: block !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08) !important;
}

/* 5. Different Recipient Toggle */
.bbl-recipient-toggle-box {
    margin-top: 20px !important;
    padding: 16px 18px !important;
    background: #f8fafc !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.bbl-diff-recipient-input {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    accent-color: var(--primary-color) !important;
    cursor: pointer !important;
    margin: 0 !important;
    flex: 0 0 20px !important;
}

.bbl-recipient-toggle-header,
.bbl-recipient-toggle-label {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    cursor: pointer !important;
    margin: 0 !important;
    user-select: none !important;
    width: 100% !important;
}

.bbl-recipient-fields {
    display: none;
    width: 100% !important;
    margin-top: 16px !important;
    padding-top: 16px !important;
    border-top: 1px dashed #cbd5e1 !important;
    box-sizing: border-box !important;
}

.bbl-recipient-toggle-text {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.bbl-recipient-toggle-text strong {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

.bbl-recipient-toggle-text small {
    font-size: 12.5px !important;
    color: #64748b !important;
}

.bbl-recipient-stack {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
}

.bbl-recipient-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    width: 100% !important;
}

.bbl-recipient-row .bbl-input-label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    margin: 0 !important;
}

.bbl-recipient-row input {
    width: 100% !important;
    box-sizing: border-box !important;
    height: 44px !important;
    padding: 10px 14px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    background: #ffffff !important;
    color: #0f172a !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}

.bbl-recipient-row input:focus {
    border-color: var(--primary-color) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 79, 122, 0.15) !important;
}

/* 6. Yandex Delivery Badge */
.bbl-badge_yellow {
    background: #fef9c3 !important;
    color: #854d0e !important;
    border: 1px solid #fef08a !important;
}

/* ==========================================================================
   CHECKOUT STEP 2: PURE CSS PAYMENT METHOD FILTERING GUARANTEE
   ========================================================================== */

/* ==========================================================================
   CHECKOUT & CART CRO REVAMP: HEADER STYLE & COMPACT ELEMENTS
   ========================================================================== */

/* Preserve native NovaShop header styling (floating white card on grey canvas) */
.header .header__top-bar,
.header .header__middle-bar,
.header .header__bottom-bar {
    background-color: #f2f4f7 !important;
}

/* Compact Authorized Buyer Badge */
.bbl-auth-compact-badge {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 16px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}
.bbl-auth-badge-avatar {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
}
.bbl-auth-badge-name {
    font-size: 13.5px !important;
    color: #334155 !important;
}
.bbl-auth-badge-name strong {
    color: #0f172a !important;
    font-weight: 700 !important;
}
.bbl-auth-badge-logout {
    margin-left: auto !important;
    font-size: 12.5px !important;
    color: #ef4444 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}
.bbl-auth-badge-logout:hover {
    text-decoration: underline !important;
}

/* 2-Column Grid for Contact Information */
.bbl-contact-card {
    padding: 24px !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
    margin-bottom: 24px !important;
    box-sizing: border-box !important;
}

.bbl-contact-card .form,
.bbl-contact-card .bbl-form-decorator {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

.bbl-contact-card .form__group {
    width: 100% !important;
    max-width: 100% !important;
}

.bbl-contact-card .form__fields {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 18px 24px !important;
    width: 100% !important;
    align-items: start !important;
    box-sizing: border-box !important;
}

.bbl-contact-card .form__field {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.bbl-contact-card .form-field__name,
.bbl-contact-card .wa-name {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.bbl-contact-card .form-field__value,
.bbl-contact-card .wa-value {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.bbl-contact-card .form-field__value input,
.bbl-contact-card .input-text,
.bbl-contact-card .bbl-input-text {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    height: 44px !important;
    padding: 10px 14px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-size: 14.5px !important;
    color: #0f172a !important;
    background: #ffffff !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}

.bbl-contact-card .form-field__value input:focus,
.bbl-contact-card .bbl-input-text:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(0, 79, 122, 0.15) !important;
    outline: none !important;
}

/* 2-Column Placement */
.bbl-contact-card .bbl-unified-fio-field {
    grid-column: 1 / 2 !important;
    grid-row: 1 / 2 !important;
}
.bbl-contact-card .wa-field-phone {
    grid-column: 2 / 3 !important;
    grid-row: 1 / 2 !important;
}
.bbl-contact-card .wa-field-email {
    grid-column: 1 / 2 !important;
    grid-row: 2 / 3 !important;
}

/* Extra Phone inside Phone value container */
.bbl-extra-phone-wrapper {
    margin-top: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.bbl-extra-phone-label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    margin-bottom: 5px !important;
    display: block !important;
}
.bbl-extra-phone-input-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
}
.bbl-extra-phone-input-wrap input {
    flex: 1 1 auto !important;
    width: 100% !important;
    height: 44px !important;
    padding: 10px 14px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-size: 14.5px !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
}
.bbl-btn-remove-extra-phone {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    background: #f8fafc !important;
    color: #64748b !important;
    cursor: pointer !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    transition: all 0.15s ease !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}
.bbl-btn-remove-extra-phone:hover {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
    color: #dc2626 !important;
}

/* Messengers row */
.bbl-messenger-icons-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    height: 44px !important;
    flex-wrap: nowrap !important;
    margin-top: 0 !important;
}
.bbl-messenger-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    user-select: none !important;
    margin: 0 !important;
    padding: 6px 14px !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    height: 44px !important;
    box-sizing: border-box !important;
    transition: all 0.15s ease !important;
}
.bbl-messenger-item:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}
.bbl-messenger-item:has(.bbl-messenger-chk:checked) {
    background: #f0f7ff !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 1px 4px rgba(0, 79, 122, 0.1) !important;
}
.bbl-messenger-chk {
    width: 18px !important;
    height: 18px !important;
    accent-color: var(--primary-color) !important;
    cursor: pointer !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}
.bbl-messenger-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

/* Recipient box full width underneath */
.bbl-recipient-toggle-box {
    margin-top: 20px !important;
    padding: 16px 20px !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    clear: both !important;
}
.bbl-recipient-toggle-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    cursor: pointer !important;
    user-select: none !important;
    margin: 0 !important;
    width: 100% !important;
}
.bbl-diff-recipient-input {
    width: 20px !important;
    height: 20px !important;
    accent-color: var(--primary-color) !important;
    cursor: pointer !important;
    margin: 0 !important;
    flex: 0 0 20px !important;
}
.bbl-recipient-toggle-text strong {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}
.bbl-recipient-toggle-text small {
    font-size: 12.5px !important;
    color: #64748b !important;
    margin-top: 2px !important;
    display: block !important;
}
.bbl-recipient-fields {
    margin-top: 16px !important;
    padding-top: 16px !important;
    border-top: 1px dashed #cbd5e1 !important;
}
.bbl-recipient-stack {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
}
.bbl-recipient-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    width: 100% !important;
}
.bbl-recipient-row input {
    width: 100% !important;
    box-sizing: border-box !important;
    height: 44px !important;
    padding: 10px 14px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    background: #ffffff !important;
}

/* Delivery Option Carrier Logos */
.bbl-delivery-option-top {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}
.bbl-delivery-option-title-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}
.bbl-carrier-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 3px 10px !important;
    height: 32px !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    flex-shrink: 0 !important;
}
.bbl-carrier-badge img {
    height: 22px !important;
    width: auto !important;
    max-width: 96px !important;
    object-fit: contain !important;
    display: block !important;
}
.bbl-carrier-badge_mini {
    padding: 2px 6px !important;
    height: 28px !important;
}
.bbl-carrier-logos-group {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
}

/* Sidebar CTA button */
.bbl-summary-cta {
    margin-top: 16px !important;
    width: 100% !important;
}
.bbl-summary-submit-btn {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    height: 44px !important;
    cursor: pointer !important;
    border: none !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s !important;
}
.bbl-summary-submit-btn:hover {
    background: var(--primary-color-hover) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 79, 122, 0.25) !important;
}

/* Responsive */
/* Cart Top Header Bar (Centered Title & Unified Buttons) */
.bbl-cart-page-header-block {
    margin-bottom: 24px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px dashed #cbd5e1 !important;
}
.bbl-cart-top-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    width: 100% !important;
    gap: 16px !important;
}
.bbl-cart-top-left {
    flex: 1 1 30% !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
}
.bbl-cart-top-center {
    flex: 1 1 40% !important;
    text-align: center !important;
}
.bbl-cart-hdr-title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    text-align: center !important;
}
.bbl-cart-top-right {
    flex: 1 1 30% !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 10px !important;
}

/* Subtle Back Link */
.bbl-cart-back-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
    line-height: normal !important;
    padding: 6px 0 !important;
}
.bbl-cart-back-link:hover {
    color: var(--primary-color) !important;
}
.bbl-cart-back-link svg {
    flex-shrink: 0 !important;
    transition: transform 0.15s ease !important;
}
.bbl-cart-back-link:hover svg {
    transform: translateX(-2px) !important;
}

/* Compact Share Icon Button */
.bbl-cart-share-icon-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    color: #475569 !important;
    cursor: pointer !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04) !important;
    transition: all 0.15s ease !important;
    box-sizing: border-box !important;
}
.bbl-cart-share-icon-btn:hover {
    background: #f8fafc !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.06) !important;
}
.bbl-cart-share-icon-btn svg {
    flex-shrink: 0 !important;
}

.bbl-cart-hdr-badge {
    display: inline-block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    padding: 2px 10px !important;
    border-radius: 12px !important;
    margin-left: 8px !important;
    vertical-align: middle !important;
}

@media (max-width: 768px) {
    .bbl-cart-top-bar {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        grid-template-areas:
            "back share"
            "title title" !important;
        gap: 10px 8px !important;
        width: 100% !important;
    }
    .bbl-cart-top-left {
        grid-area: back !important;
        flex: none !important;
        width: auto !important;
        justify-content: flex-start !important;
    }
    .bbl-cart-top-right {
        grid-area: share !important;
        flex: none !important;
        width: auto !important;
        justify-content: flex-end !important;
    }
    .bbl-cart-top-center {
        grid-area: title !important;
        flex: none !important;
        width: 100% !important;
        text-align: left !important;
    }
    .bbl-cart-hdr-title {
        font-size: 22px !important;
        text-align: left !important;
    }
}

/* ==========================================================================
   BOBOLED-9.2 — Вторая итерация сближения с эталоном Ozon (по скриншоту 1920px)
   ========================================================================== */

/* --- 1. Галерея крупнее: убираем потери на negative margins и расширяем
   колонку (фото 455px + srcset @2x → запас резкости есть).
   Только ≥1024px — на мобильных/планшетах штатная раскладка. --------------- */

/* --- 2. Заголовок и цена крупнее (Ozon-масштаб) ---------------------------- */
.product-page .product-cart-form .title {
    font-size: 26px;
}

.product-page .product-add-to-cart__price {
    font-size: 32px;
    font-weight: 800;
}

/* --- 3. Мета-бар: сторонние ссылки плагинов (wish и др.) в общем стиле ---- */
.breadcrumbs-add .product-cart-form__top-block a.link,
.breadcrumbs-add .product-cart-form__top-blocks a {
    color: #707f8d;
    font-size: 13px;
    text-decoration: none;
}

.breadcrumbs-add .product-cart-form__top-block a.link:hover,
.breadcrumbs-add .product-cart-form__top-blocks a:hover {
    color: var(--dark-color, #101418);
    text-decoration: none;
}

@media (max-width: 1023px) {
    .product-page .product-cart-form .title {
        font-size: 22px;
    }

    .product-page .product-add-to-cart__price {
        font-size: 26px;
    }
}

/* ==========================================================================
   B2B PERSONAL CABINET COCKPIT & MODERN PROFILE STYLES
   ========================================================================== */

.bbl-cabinet-cockpit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

@media (max-width: 900px) {
    .bbl-cabinet-cockpit {
        flex-direction: column;
        align-items: flex-start;
    }
}

.bbl-cockpit-manager {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bbl-manager-avatar {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #ffffff;
    border: 2px solid #93c5fd;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.bbl-avatar-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.bbl-manager-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 2px;
}

.bbl-manager-name {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.bbl-manager-contacts {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.bbl-manager-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.bbl-manager-tel {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}
.bbl-manager-tel:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.bbl-manager-wa {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}
.bbl-manager-wa:hover {
    background: #059669;
    color: #ffffff;
}

.bbl-manager-tg {
    background: #eff6ff;
    color: var(--primary-color);
    border: 1px solid #bae6fd;
}
.bbl-manager-tg:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.bbl-cockpit-status {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #ffffff;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    min-width: 260px;
}

@media (max-width: 900px) {
    .bbl-cockpit-status {
        width: 100%;
        box-sizing: border-box;
    }
}

.bbl-status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
}

.bbl-status-label {
    color: #64748b;
    font-weight: 500;
}

.bbl-status-val {
    font-weight: 700;
    color: #0f172a;
}

.bbl-status-badge_green {
    background: #dcfce7;
    color: #15803d;
    font-weight: 700;
    font-size: 11.5px;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid #bbf7d0;
}

.bbl-quick-actions {
    display: flex;
    gap: 6px;
}

.bbl-qa-btn {
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    transition: all 0.15s ease;
}

.bbl-qa-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.bbl-qa-btn_primary {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color-hover);
}

.bbl-qa-btn_primary:hover {
    background: var(--primary-color-hover);
    color: #ffffff;
}

/* Cards Grid for Profile */
.bbl-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .bbl-cards-grid {
        grid-template-columns: 1fr;
    }
}

.bbl-profile-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.2s ease;
}

.bbl-profile-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.bbl-profile-card_wide {
    grid-column: 1 / -1;
}

.bbl-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 14px;
}

.bbl-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bbl-field-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 6px 0;
    border-bottom: 1px dashed #f1f5f9;
}

.bbl-field-row:last-child {
    border-bottom: none;
}

.bbl-field-label {
    font-size: 13px;
    color: #64748b;
    flex-shrink: 0;
}

.bbl-field-val {
    font-size: 13.5px;
    color: #0f172a;
    text-align: right;
    word-break: break-word;
}

.bbl-empty-company-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fffbeb;
    border: 1px dashed #fde68a;
    border-radius: 10px;
    padding: 14px;
}

.bbl-notice-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.bbl-notice-text strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 4px;
}

.bbl-notice-text p {
    font-size: 12px;
    color: #b45309;
    margin: 0;
    line-height: 1.4;
}

.bbl-addr-list {
    margin: 0;
    padding-left: 18px;
}

.bbl-addr-list li {
    font-size: 13.5px;
    color: #0f172a;
    margin-bottom: 4px;
}

/* Edit Button */
.bbl-btn-edit,
.bbl-btn-save,
.my-profile__edit-button,
.bbl-org-edit-btn,
.bbl-org-add-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: var(--primary-color) !important;
    color: #0A0F24 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.bbl-btn-edit:hover,
.bbl-btn-save:hover,
.my-profile__edit-button:hover,
.bbl-org-edit-btn:hover,
.bbl-org-add-btn:hover {
    background: #00E5FF !important;
    color: #0A0F24 !important;
    box-shadow: 0 4px 12px rgba(0, 194, 209, 0.28) !important;
}

/* Edit Form */
.bbl-profile-form-wrapper,
.my-profile__form {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-top: 20px !important;
}

.bbl-form-header {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.bbl-form-header h3 {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.bbl-form-header p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.bbl-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.bbl-btn-save {
    padding: 10px 24px;
    height: 44px;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
}

.bbl-btn-save:hover {
    background: var(--primary-color-hover);
}

.bbl-btn-cancel {
    padding: 10px 24px;
    height: 44px;
    background: #f1f5f9;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    cursor: pointer;
    transition: all 0.15s ease;
}

.bbl-btn-cancel:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Auth Cards */
.bbl-auth-card {
    margin-top: 24px;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

/* Белый фон для самой верхней полосы шапки (убираем серую полоску с городом и контактами) */
.header__top-bar,
.header-top-bar,
.page_blocks .header-top-bar {
    background-color: #ffffff !important;
}

.bbl-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 14px;
}

.bbl-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bbl-field-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 6px 0;
    border-bottom: 1px dashed #f1f5f9;
}

.bbl-field-row:last-child {
    border-bottom: none;
}

.bbl-field-label {
    font-size: 13px;
    color: #64748b;
    flex-shrink: 0;
}

.bbl-field-val {
    font-size: 13.5px;
    color: #0f172a;
    text-align: right;
    word-break: break-word;
}

.bbl-empty-company-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fffbeb;
    border: 1px dashed #fde68a;
    border-radius: 10px;
    padding: 14px;
}

.bbl-notice-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.bbl-notice-text strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 4px;
}

.bbl-notice-text p {
    font-size: 12px;
    color: #b45309;
    margin: 0;
    line-height: 1.4;
}

.bbl-addr-list {
    margin: 0;
    padding-left: 18px;
}

.bbl-addr-list li {
    font-size: 13.5px;
    color: #0f172a;
    margin-bottom: 4px;
}

/* Edit Button */
.bbl-btn-edit,
.bbl-btn-save,
.my-profile__edit-button,
.bbl-org-edit-btn,
.bbl-org-add-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: var(--primary-color) !important;
    color: #0A0F24 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.bbl-btn-edit:hover,
.bbl-btn-save:hover,
.my-profile__edit-button:hover,
.bbl-org-edit-btn:hover,
.bbl-org-add-btn:hover {
    background: #00E5FF !important;
    color: #0A0F24 !important;
    box-shadow: 0 4px 12px rgba(0, 194, 209, 0.28) !important;
}

/* Edit Form */
.bbl-profile-form-wrapper,
.my-profile__form {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-top: 20px !important;
}

.bbl-form-header {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.bbl-form-header h3 {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.bbl-form-header p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.bbl-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.bbl-btn-save {
    padding: 10px 24px;
    height: 44px;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
}

.bbl-btn-save:hover {
    background: var(--primary-color-hover);
}

.bbl-btn-cancel {
    padding: 10px 24px;
    height: 44px;
    background: #f1f5f9;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    cursor: pointer;
    transition: all 0.15s ease;
}

.bbl-btn-cancel:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Auth Cards */
.bbl-auth-card {
    margin-top: 24px;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

/* Белый фон для самой верхней полосы шапки (убираем серую полоску с городом и контактами) */
.header__top-bar,
.header-top-bar,
.page_blocks .header-top-bar {
    background-color: #ffffff !important;
}

/* Duplicate root and header override removed */

/* ============================================================
   OZON-STYLE TOP BAR (BREADCRUMBS, SKU, ACTIONS) & GALLERY (SSOT)
   ============================================================ */

/* Container and spacing reduction to raise page content */
.container_content,
.content-container {
    padding-top: 8px !important;
}

.content__breadcrumbs {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    margin-top: 0 !important;
    margin-bottom: 14px !important;
    padding: 0 !important;
    min-height: 26px !important;
    line-height: 1 !important;
}

/* Breadcrumbs (Left) */
.breadcrumbs,
.breadcrumbs__wrapper {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.breadcrumbs__item {
    display: inline-flex !important;
    align-items: center !important;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #64748b !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.breadcrumbs__item a,
.breadcrumbs__item .link {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #64748b !important;
    text-decoration: none !important;
    line-height: 1 !important;
    transition: color 0.15s ease !important;
}

.breadcrumbs__item a:hover,
.breadcrumbs__item .link:hover {
    color: var(--primary-color) !important;
}

.breadcrumbs__item:not(:last-child)::after {
    content: "›" !important;
    margin-left: 6px !important;
    color: #94a3b8 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
}

/* Actions & Sku (Right) */
.breadcrumbs-add {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}

.breadcrumbs-add .product-cart-form__header,
.breadcrumbs-add .product-cart-form__top-blocks-container,
.breadcrumbs-add .product-cart-form__top-blocks {
    display: inline-flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.product-cart-form__top-block {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1 !important;
}

.product-cart-form__top-block a,
.product-cart-form__top-block span,
.product-cart-form__top-block button {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
}

.product-cart-form__top-block a:hover,
.product-cart-form__top-block button:hover {
    color: var(--primary-color) !important;
}

/* Wishlist Plugin Link */
.product-cart-form__top-block .shop-wish-plugin__add,
.product-cart-form__top-block .shop-wish-plugin__remove {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #64748b !important;
    text-decoration: none !important;
    line-height: 1 !important;
    transition: color 0.15s ease !important;
}

.product-cart-form__top-block .shop-wish-plugin__add:hover,
.product-cart-form__top-block .shop-wish-plugin__remove:hover {
    color: var(--primary-color) !important;
}

/* SKU Block */
.product-cart-form__top-block_sku {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    transition: color 0.15s ease !important;
}

.product-cart-form__top-block_sku:hover,
.product-cart-form__top-block_sku:hover .value__label-text,
.product-cart-form__top-block_sku:hover .value__value-text,
.product-cart-form__top-block_sku:hover svg {
    color: var(--primary-color) !important;
    stroke: var(--primary-color) !important;
}

.product-cart-form__top-block_sku .copy__icon,
.product-cart-form__top-block_sku-icon {
    width: 16px !important;
    height: 16px !important;
    stroke: #64748b !important;
    fill: none !important;
    vertical-align: middle !important;
    transition: stroke 0.15s ease !important;
}

.product-cart-form__top-block_sku .value,
.product-cart-form__top-block_sku .value_fixed {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.product-cart-form__top-block_sku .value__label-text {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #64748b !important;
    line-height: 1 !important;
    transition: color 0.15s ease !important;
}

.product-cart-form__top-block_sku .product-cart-form__sku-value,
.product-cart-form__top-block_sku .copy__value {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #64748b !important;
    line-height: 1 !important;
    transition: color 0.15s ease !important;
}

/* Additional Buttons (Compare, Favorite, Share) */
.product-additional-buttons {
    display: inline-flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.product-additional-buttons__container {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.product-additional-buttons__button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #707f8d !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
}

.product-additional-buttons__button .icon-box {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    line-height: 1 !important;
}

.product-additional-buttons__button .icon-box__icon {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
}

.product-additional-buttons__button .pseudo-link-box__link {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #707f8d !important;
    border: none !important;
    line-height: 1 !important;
    transition: color 0.15s ease !important;
}

.product-additional-buttons__button:hover,
.product-additional-buttons__button:hover .pseudo-link-box__link {
    color: var(--primary-color) !important;
}

.product-additional-buttons__button svg,
.product-additional-buttons__button .svg-icon {
    width: 15px !important;
    height: 15px !important;
    fill: none !important;
    stroke: #707f8d !important;
    stroke-width: 1.8 !important;
    vertical-align: middle !important;
    transition: stroke 0.15s ease, fill 0.15s ease !important;
}

.product-additional-buttons__button:hover svg {
    stroke: var(--primary-color) !important;
}

/* Unified Product Card Action Buttons (Share & Favorite matching Cart) */
.product-additional-buttons {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.bbl-share-cart-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    position: relative !important;
    line-height: normal !important;
}

.bbl-share-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: auto !important;
    padding: 2px 0 !important;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #64748b !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    cursor: pointer !important;
    transition: color 0.15s ease !important;
    box-sizing: border-box !important;
    line-height: normal !important;
    white-space: nowrap !important;
    outline: none !important;
}

.bbl-share-btn:hover {
    background: transparent !important;
    border: none !important;
    color: var(--primary-color) !important;
    box-shadow: none !important;
}

.bbl-share-btn:hover span {
    color: var(--primary-color) !important;
}

.bbl-share-btn svg {
    width: 16px !important;
    height: 16px !important;
    stroke: currentColor !important;
    stroke-width: 1.9 !important;
    fill: none !important;
    flex-shrink: 0 !important;
    vertical-align: middle !important;
    transition: stroke 0.15s ease !important;
}

.bbl-share-btn:hover svg {
    stroke: var(--primary-color) !important;
}

.bbl-share-btn span {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: inherit !important;
    line-height: 1 !important;
    transition: color 0.15s ease !important;
}

/* [REMOVED: favorite override #1] */

/* [REMOVED: favorite override #2] */

.product-favorite:hover .pseudo-link-box__link {
    color: var(--primary-color) !important;
}

.product-favorite:hover svg {
    stroke: var(--primary-color) !important;
}

.product-favorite .product-favorite-button__icon {
    width: 16px !important;
    height: 16px !important;
    stroke: currentColor !important;
    fill: none !important;
    flex-shrink: 0 !important;
    vertical-align: middle !important;
    transition: stroke 0.15s ease, fill 0.15s ease !important;
}

.product-favorite .pseudo-link-box__link {
    color: inherit !important;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
}

/* [REMOVED: favorite override #3] */

.product-favorite_active:hover .pseudo-link-box__link {
    color: var(--primary-color) !important;
}

.product-favorite_active .product-favorite-button__icon {
    fill: #e11d48 !important;
    stroke: #e11d48 !important;
}

.product-favorite_active .pseudo-link-box__link {
    color: #64748b !important;
}

/* ============================================================
   OZON PRODUCT GALLERY & CARD SIZING (NO OFF-SCREEN OVERFLOW)
   ============================================================ */

/* /* Desktop layout (>= 1024px) */
@media (min-width: 1024px) {
    .product-cart-form__container {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        width: 100% !important;
    }

    .product-cart-form__columns {
        display: flex !important;
        justify-content: space-between !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 28px !important;
    }

    .product-cart-form__columns-main {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    .product-cart-form__columns-additional {
        flex: 0 0 350px !important;
        width: 350px !important;
        max-width: 350px !important;
        margin-left: auto !important;
    }

    /* Constrain main image container: 430px width gives 573px height at 3:4 ratio, matching Ozon scale */
}

/* Tablet & Mobile (< 1024px) handled in unified section below */

/* ============================================================
   PAGE TYPOGRAPHY HARMONIZATION (OZON-GRADE INTER)
   ============================================================ */

/* Harmonize all product page elements to clean Inter (excluding icon fonts) */
.product-cart-form,
.product-cart-form *:not(.lg-icon):not([class*="lg-"]),
.dp-product,
.dp-product *:not(.lg-icon):not([class*="lg-"]) {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* H1 Title */
.product-cart-form__title .title,
h1.title_h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.25 !important;
    margin-bottom: 6px !important;
}

/* Rating / Reviews line */
.product-cart-form__rating {
    font-size: 13px !important;
    color: #707f8d !important;
    margin-bottom: 12px !important;
}

/* Characteristics / Features */
.product-cart-form__features {
    font-size: 13.5px !important;
}
.product-cart-form__features .feature__name,
.product-cart-form__features .feature-label {
    color: #64748b !important;
}
.product-cart-form__features .feature__value,
.product-cart-form__features .feature-value {
    color: #0f172a !important;
    font-weight: 500 !important;
}

/* ============================================================
   PDP PRICE & BONUSES ROW + MIDDLE STOCK STATUS
   ============================================================ */

/* Price and Bonuses inline */
.bbl-pdp-price-row {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    margin-bottom: 12px !important;
}

.bbl-pdp-price-row .product-add-to-cart__prices {
    margin: 0 !important;
    padding: 0 !important;
}

.bbl-pdp-price-row .product-add-to-cart__bonuses {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* Middle column stock status */
.product-cart-form__middle-stock {
    margin-top: 4px !important;
    margin-bottom: 14px !important;
    display: flex !important;
    align-items: center !important;
}

.product-cart-form__middle-stock .product-add-to-cart__skus-stocks {
    margin: 0 !important;
    padding: 0 !important;
}

.product-cart-form__middle-stock .product-available {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
}

/* ============================================================
   PDP MIDDLE COLUMN ADAPTIVE CENTERING (DESKTOP / LAPTOP / MOBILE)
   ============================================================ */
@media (min-width: 1441px) {
    .product-cart-form__columns-main {
        padding-left: 44px !important;
        padding-right: 20px !important;
    }
}

@media (min-width: 1200px) and (max-width: 1440px) {
    .product-cart-form__columns-main {
        padding-left: 20px !important;
        padding-right: 12px !important;
    }
}

@media (max-width: 1199px) {
    .product-cart-form__columns-main {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* ============================================================
   PDP MESSENGER BUTTONS (WHATSAPP, TELEGRAM, MAX IN 1 ROW)
   ============================================================ */
.product-cart-form__blocks-soc {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    width: 100% !important;
    margin-top: 12px !important;
}

.product-cart-form__blocks-soc .items-list__soc-item {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 0 4px !important;
    height: 38px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    border-radius: 20px !important;
}

.product-cart-form__blocks-soc .items-list__soc-item .icon-box {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
}

.product-cart-form__blocks-soc .items-list__soc-item .icon-box__icon svg,
.product-cart-form__blocks-soc .items-list__soc-item .icon-box__icon img {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    flex-shrink: 0 !important;
}

.product-cart-form__blocks-soc .items-list__soc-item .icon-box__content {
    font-size: 12px !important;
    line-height: 1 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* ============================================================
   MOBILE PDP: FULL-WIDTH LARGE PHOTO, THUMBNAILS & EXPANDED BUY BOX
   ============================================================ */
@media (max-width: 1023px) {
    /* 1. Full-Height Uncropped Product Photo Gallery */

    /* Horizontal swipeable thumbnail chips under the main photo */

    /* 2. Full-Width Wholesale Price Table & Buy Box */
    .product-cart-form__columns-additional {
        margin-left: -15px !important;
        margin-right: -15px !important;
        width: calc(100% + 30px) !important;
        max-width: none !important;
        padding: 0 6px !important;
        margin-top: 14px !important;
    }

    .product-add-to-cart {
        width: 100% !important;
        padding: 14px 12px !important;
        border-radius: 18px !important;
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
    }

    .bbl-pdp-price-row {
        gap: 10px !important;
        margin-bottom: 10px !important;
    }

    .bbl-opt-tier-table,
    .table_style_light {
        width: 100% !important;
        font-size: 13px !important;
    }

    .bbl-opt-tier-table th,
    .bbl-opt-tier-table td {
        padding: 8px 10px !important;
    }

    /* Large touch-friendly counter and buttons on mobile */
    .product-add-to-cart .product-add-to-cart__button-box {
        display: flex !important;
        gap: 10px !important;
        align-items: center !important;
        margin-top: 12px !important;
    }

    .product-add-to-cart .quantity {
        height: 46px !important;
        border-radius: 23px !important;
    }

    .product-add-to-cart .button_fill {
        height: 46px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        border-radius: 23px !important;
    }

    .product-cart-form__blocks-soc {
        margin-top: 10px !important;
        gap: 6px !important;
    }

    .product-cart-form__blocks-soc .items-list__soc-item {
        height: 38px !important;
        font-size: 12px !important;
    }

    /* 3. Clean Mobile Breadcrumbs top line & Actions (strict 1-row nowrap scroll) */
    .content__breadcrumbs {
        margin: 0 0 12px 0 !important;
        padding: 0 !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .breadcrumbs,
    .breadcrumbs__list,
    .breadcrumbs__wrapper,
    .content__breadcrumbs .breadcrumbs,
    .content__breadcrumbs .breadcrumbs__list,
    .content__breadcrumbs .breadcrumbs__wrapper {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 6px !important;
        margin: 0 !important;
        padding: 0 2px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .breadcrumbs::-webkit-scrollbar,
    .breadcrumbs__list::-webkit-scrollbar,
    .breadcrumbs__wrapper::-webkit-scrollbar,
    .content__breadcrumbs .breadcrumbs::-webkit-scrollbar,
    .content__breadcrumbs .breadcrumbs__list::-webkit-scrollbar,
    .content__breadcrumbs .breadcrumbs__wrapper::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    .breadcrumbs__item,
    .content__breadcrumbs .breadcrumbs__item {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        font-size: 12px !important;
    }

    .breadcrumbs__item .link,
    .breadcrumbs__item a,
    .breadcrumbs__item span,
    .content__breadcrumbs .breadcrumbs__item .link,
    .content__breadcrumbs .breadcrumbs__item a,
    .content__breadcrumbs .breadcrumbs__item span {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    .breadcrumbs-add {
        display: none !important;
    }

    .product-additional-buttons {
        display: flex !important;
        flex-flow: row nowrap !important;
        align-items: center !important;
        gap: 6px !important;
        margin: 0 !important;
    }

    .product-additional-buttons .product-additional-buttons__container {
        margin: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
    }

    .product-additional-buttons .pseudo-link-box {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 32px !important;
        height: 32px !important;
        border-radius: 8px !important;
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        padding: 0 !important;
        color: #64748b !important;
        cursor: pointer !important;
        transition: background 0.15s ease, border-color 0.15s ease !important;
    }

    .product-additional-buttons .pseudo-link-box:hover {
        background: #f1f5f9 !important;
        border-color: #cbd5e1 !important;
    }

    .product-additional-buttons .pseudo-link-box .pseudo-link-box__link {
        display: none !important;
    }

    .product-additional-buttons .pseudo-link-box .svg-icon {
        width: 15px !important;
        height: 15px !important;
        display: block !important;
        margin: auto !important;
    }

    .product-additional-buttons .bbl-share-btn {
        height: 32px !important;
        padding: 0 10px !important;
        border-radius: 8px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        color: #475569 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
    }

    /* Clean mobile SKU badge placed under photo right above product title H1 */
    .product-cart-form__sku-mobile {
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        background: #f1f5f9 !important;
        padding: 4px 9px !important;
        border-radius: 6px !important;
        border: 1px solid #e2e8f0 !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
        margin-bottom: 8px !important;
        cursor: pointer !important;
        user-select: none !important;
        color: #64748b !important;
        width: fit-content !important;
        transition: background 0.15s ease !important;
    }

    .product-cart-form__sku-mobile:hover {
        background: #e2e8f0 !important;
    }

    .product-cart-form__sku-mobile .copy__icon {
        width: 13px !important;
        height: 13px !important;
        flex-shrink: 0 !important;
        color: #64748b !important;
    }

    .product-cart-form__sku-mobile-label {
        color: #64748b !important;
        font-weight: 500 !important;
    }

    .product-cart-form__sku-mobile-value {
        color: #0f172a !important;
        font-weight: 700 !important;
        letter-spacing: 0.2px !important;
    }

    /* ============================================================
       MOBILE CART OVERHAUL (EDGE-TO-EDGE, UN-SQUISHED & CLEAN)
       ============================================================ */
    .cart-page {
        padding-left: 4px !important;
        padding-right: 4px !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .cart-page.blocks,
    .cart-page .blocks__item,
    .cart-page .block,
    .cart-page__items,
    .cart-page__container-items,
    .cart-page__container-items .cart-items-container,
    .cart-items-container,
    .cart-items {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    .bbl-cart-buyer-switcher-box {
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03) !important;
        padding: 12px 10px !important;
        margin-bottom: 12px !important;
    }

    .bbl-cart-buyer-switcher {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
    }

    .bbl-cart-buyer-btn {
        flex: 1 1 50% !important;
        padding: 10px 8px !important;
        font-size: 12px !important;
        gap: 6px !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        border-radius: 10px !important;
    }

    .bbl-cart-buyer-btn strong {
        font-size: 12px !important;
        display: block !important;
    }

    .bbl-cart-buyer-badge {
        display: block !important;
        margin-left: 0 !important;
        margin-top: 2px !important;
        font-size: 10px !important;
    }

    .bbl-cart-buyer-notice {
        margin-top: 10px !important;
        padding: 8px 12px !important;
        border-radius: 8px !important;
        font-size: 11.5px !important;
        line-height: 1.35 !important;
    }

    .bbl-cart-header {
        display: none !important;
    }

    /* Product Groups on Mobile */
    .bbl-cart-product-group {
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03) !important;
        margin-bottom: 12px !important;
        overflow: hidden !important;
    }

    .bbl-cart-group-header {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        padding: 8px 10px !important;
        background: #f8fafc !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }

    .bbl-cart-group-badge {
        display: flex !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        width: 100% !important;
    }

    .bbl-group-tag,
    .bbl-group-price-tag {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        padding: 3px 8px !important;
        font-size: 11.5px !important;
        border-radius: 6px !important;
        white-space: nowrap !important;
    }

    .bbl-cart-group-next-hint {
        display: block !important;
        width: 100% !important;
        padding: 4px 8px !important;
        font-size: 11.5px !important;
        line-height: 1.35 !important;
        border-radius: 6px !important;
        box-sizing: border-box !important;
        white-space: normal !important;
    }

    .cart-items__item {
        background: transparent !important;
        border: none !important;
        border-bottom: 1px solid #f1f5f9 !important;
        border-radius: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
    }

    .cart-items__item:last-child {
        border-bottom: none !important;
    }

    .cart-item {
        padding: 12px 10px !important;
    }

    /* 2-Row Clean Native E-Commerce Grid on Mobile */
    .cart-item__container {
        display: grid !important;
        grid-template-areas: 
            "product product"
            "quantity total" !important;
        grid-template-columns: 1fr auto !important;
        row-gap: 10px !important;
        column-gap: 10px !important;
        align-items: center !important;
        width: 100% !important;
    }

    .bbl-cart-col-product {
        grid-area: product !important;
        display: flex !important;
        align-items: flex-start !important;
        gap: 10px !important;
        width: 100% !important;
        position: relative !important;
    }

    .cart-item__container-image {
        width: 72px !important;
        height: 72px !important;
        min-width: 72px !important;
        border-radius: 8px !important;
        border: 1px solid #f1f5f9 !important;
        background: #f8fafc !important;
        overflow: hidden !important;
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 4px !important;
        box-sizing: border-box !important;
    }

    .cart-item__container-image img {
        max-width: 100% !important;
        max-height: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
        margin: auto !important;
    }

    .cart-item__container-info {
        flex: 1 1 auto !important;
        padding-right: 28px !important;
        min-width: 0 !important;
    }

    .cart-item__name-container .link {
        font-size: 13.5px !important;
        font-weight: 600 !important;
        color: #0f172a !important;
        line-height: 1.35 !important;
        display: block !important;
        -webkit-line-clamp: unset !important;
        overflow: visible !important;
        word-break: break-word !important;
    }

    .bbl-cart-multiplicity-badge {
        font-size: 11px !important;
        padding: 2px 7px !important;
        margin-top: 4px !important;
        border-radius: 6px !important;
    }

    .bbl-cart-mobile-unit-price {
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        margin-top: 4px !important;
        font-size: 12px !important;
        color: #64748b !important;
    }

    .bbl-mobile-price-val {
        color: #0f172a !important;
        font-weight: 700 !important;
    }

    .bbl-mobile-delete-box {
        position: absolute !important;
        top: -4px !important;
        right: -4px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 34px !important;
        height: 34px !important;
        cursor: pointer !important;
    }

    .bbl-mobile-delete-box .cart-item__delete-button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 30px !important;
        height: 30px !important;
        border-radius: 8px !important;
        color: #94a3b8 !important;
    }

    .bbl-cart-unit-price,
    .cart-item__container-unit-price,
    .bbl-desktop-only {
        display: none !important;
    }
    .bbl-mobile-only {
        display: inline-block !important;
    }

    .cart-item__container-quantity {
        grid-area: quantity !important;
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        width: auto !important;
        margin: 0 !important;
    }

    .cart-item__container-quantity .quantity {
        display: inline-flex !important;
        align-items: center !important;
        height: 36px !important;
        border-radius: 8px !important;
        border: 1px solid #cbd5e1 !important;
        overflow: hidden !important;
    }

    .cart-item__container-quantity .quantity__button {
        width: 34px !important;
        height: 36px !important;
        background: #f1f5f9 !important;
        color: var(--primary-color) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .cart-item__container-quantity .quantity__input {
        width: 48px !important;
        height: 36px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        text-align: center !important;
    }

    .cart-item__container-total {
        grid-area: total !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-end !important;
        text-align: right !important;
        width: auto !important;
    }

    .cart-item__total-prices {
        text-align: right !important;
    }

    .cart-item__total-price {
        font-size: 18px !important;
        font-weight: 800 !important;
        color: var(--primary-color) !important;
        white-space: nowrap !important;
    }

    .bbl-cart-group-footer {
        padding: 8px 12px 10px 12px !important;
    }

    .bbl-cart-group-add-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 8px 12px !important;
    }

    /* Mobile Summary Card */
    .cart-summary {
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 14px !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03) !important;
        padding: 16px 14px !important;
        margin-top: 10px !important;
    }

    .bbl-order-bump-container {
        padding: 10px !important;
        margin: 12px 0 !important;
        border-radius: 10px !important;
    }

    .bbl-final-total-row {
        display: flex !important;
        justify-content: space-between !important;
        align-items: baseline !important;
    }

    .bbl-final-total-label {
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #0f172a !important;
    }

    .bbl-final-total-sum {
        font-size: 22px !important;
        font-weight: 800 !important;
        color: var(--primary-color) !important;
    }

}

/* ============================================================
   LIGHTGALLERY MOBILE MODAL: CLEAN SIZING & PROMINENT CLOSE BUTTON
   ============================================================ */
.lg-outer {
    z-index: 99999999 !important;
    touch-action: pan-y pinch-zoom !important;
}

.lg-backdrop {
    background-color: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    z-index: 99999998 !important;
    cursor: pointer !important;
}

.lg-outer .lg-toolbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 64px !important;
    z-index: 100000000 !important;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, transparent 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    pointer-events: auto !important;
}

.lg-outer .lg-toolbar .lg-icon {
    color: #ffffff !important;
    font-size: 20px !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(4px) !important;
    margin-right: 8px !important;
    transition: background 0.2s ease, transform 0.15s ease !important;
}

.lg-outer .lg-toolbar .lg-icon:hover,
.lg-outer .lg-toolbar .lg-icon:active {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.05) !important;
}

.lg-outer .lg-toolbar .lg-close {
    position: fixed !important;
    top: 12px !important;
    right: 12px !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    background: #ef4444 !important;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.6), 0 2px 6px rgba(0, 0, 0, 0.5) !important;
    border: 2.5px solid #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 100000001 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: transform 0.15s ease, background-color 0.15s ease !important;
}

.lg-outer .lg-toolbar .lg-close::after {
    content: "✕" !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    line-height: 1 !important;
    margin-top: -1px !important;
}

.lg-outer .lg-toolbar .lg-close:hover {
    background: #dc2626 !important;
}

.lg-outer .lg-toolbar .lg-close:active {
    transform: scale(0.92) !important;
    background: #b91c1c !important;
}

.lg-outer .lg-toolbar .lg-counter {
    color: #f8fafc !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 0 12px !important;
    position: fixed !important;
    top: 14px !important;
    left: 14px !important;
    line-height: 44px !important;
}

.lg-outer .lg-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 60px 10px 80px 10px !important;
    box-sizing: border-box !important;
}

.lg-outer .lg-img-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.lg-outer .lg-image {
    max-width: 90vw !important;
    max-height: 72vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 14px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6) !important;
    margin: auto !important;
    display: block !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
}

.lg-outer .lg-prev,
.lg-outer .lg-next {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    backdrop-filter: blur(6px) !important;
    z-index: 100000000 !important;
}

/* ============================================================
   GLOBAL / DESKTOP SAFEGUARDS
   ============================================================ */
/* Hide mobile-specific SKU chip on desktop (desktop uses .breadcrumbs-add SKU) */
@media (min-width: 1024px) {
    .product-cart-form__sku-mobile {
        display: none !important;
    }
}

/* Permanently eliminate Compare button across all devices and views */
.product-compare,
.header-compare,
.product-additional-buttons__item_compare,
.product-cart-form__compare,
[data-compare],
.compare-button,
.catalog-list__compare,
.product-preview__compare {
    display: none !important;
}

/* ==========================================================================
   BOBOLED MASTER OS: COMPREHENSIVE CHECKOUT & CART UNIFICATION (ALL STEPS)
   ========================================================================== */

/* 1. Hide mobile bottom navigation bar on all checkout steps */
body:has(.checkout-page) .header__bottom-bar,
body:has(.checkout-step) .header__bottom-bar,
.checkout-page ~ .header__bottom-bar,
body.page_checkout .header__bottom-bar {
    display: none !important;
}

/* 2. Canonical 1680px Desktop Container & Alignment */
@media (min-width: 1024px) {
    .checkout-page {
        max-width: 1680px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
    }
}

/* 3. Mobile Edge-to-Edge Layout for Checkout */
@media (max-width: 768px) {
    .checkout-page {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
    .checkout-page .bbl-contact-card,
    .checkout-page .bbl-delivery-card,
    .checkout-page .bbl-b2b-card,
    .checkout-page .checkout-payment__methods,
    .checkout-page .bbl-cart-buyer-switcher-box,
    .checkout-page .bbl-confirm-items-card,
    .checkout-page .bbl-confirm-card {
        padding: 16px 12px !important;
        border-radius: 12px !important;
        margin-bottom: 12px !important;
    }
    .checkout-page__steps-container {
        margin-bottom: 12px !important;
    }
}

/* 4. Unified Header Return Link (Cart & Checkout) */
.bbl-checkout-nav-bar {
    margin-bottom: 16px !important;
}

.bbl-checkout-nav-bar .bbl-cart-back-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: #707f8d !important;
    text-decoration: none !important;
    padding: 6px 0 !important;
    cursor: pointer !important;
    transition: color 0.15s ease, transform 0.15s ease !important;
}

.bbl-checkout-nav-bar .bbl-cart-back-link:hover {
    color: var(--primary-color) !important;
}

.bbl-checkout-nav-bar .bbl-cart-back-link .bbl-back-arrow {
    font-size: 15px !important;
    transition: transform 0.15s ease !important;
}

.bbl-checkout-nav-bar .bbl-cart-back-link:hover .bbl-back-arrow {
    transform: translateX(-3px) !important;
}

/* 5. Unified Primary Action Buttons (10px Radius, Brand Gradient) */
.checkout-page__button,
.bbl-btn-submit-order {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    height: 48px !important;
    padding: 0 24px !important;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color) 100%) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    border: none !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 14px rgba(0, 79, 122, 0.25) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
    text-decoration: none !important;
}

.checkout-page__button:hover,
.bbl-btn-submit-order:hover {
    background: linear-gradient(135deg, #023856 0%, #025380 100%) !important;
    box-shadow: 0 6px 20px rgba(0, 79, 122, 0.35) !important;
    transform: translateY(-1px) !important;
    color: #ffffff !important;
}

.checkout-page__button:active,
.bbl-btn-submit-order:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(0, 79, 122, 0.2) !important;
}

/* 6. Step 1: Extra Phone Button (Modern Pill, 10px Radius) */
.bbl-btn-add-extra-phone {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 10px !important;
    padding: 7px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--primary-color) !important;
    background: #f0f7ff !important;
    border: 1.5px solid #bae6fd !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

.bbl-btn-add-extra-phone:hover {
    background: #e0f2fe !important;
    border-color: #7dd3fc !important;
    color: var(--primary-color) !important;
    transform: translateY(-1px) !important;
}

.bbl-btn-add-extra-phone .bbl-plus-circle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    background: var(--primary-color) !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

/* 7. Step 1: Touch-Friendly Messenger Chips (44px min touch target) */
.bbl-messenger-icons-row {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 8px !important;
    flex-wrap: wrap !important;
}

.bbl-messenger-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 44px !important;
    padding: 6px 14px !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    user-select: none !important;
    transition: all 0.15s ease !important;
    box-sizing: border-box !important;
}

.bbl-messenger-item:hover {
    border-color: #cbd5e1 !important;
    background: #f8fafc !important;
}

.bbl-messenger-item:has(input:checked) {
    border-color: var(--primary-color) !important;
    background: #f0f7ff !important;
    box-shadow: 0 0 0 1px var(--primary-color) !important;
}

.bbl-messenger-item input.bbl-messenger-chk {
    accent-color: var(--primary-color) !important;
    width: 18px !important;
    height: 18px !important;
    cursor: pointer !important;
    margin: 0 !important;
}

/* 8. Step 2: Harmonized Security Alert Banner */
.bbl-step-alert {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 14px 18px !important;
    background: #fffbeb !important;
    border: 1.5px solid #fde68a !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.05) !important;
}

.bbl-step-alert__icon {
    font-size: 20px !important;
    flex-shrink: 0 !important;
    line-height: 1.3 !important;
}

.bbl-step-alert__text strong {
    display: block !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #92400e !important;
    margin-bottom: 4px !important;
}

.bbl-step-alert__text span {
    display: block !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    color: #b45309 !important;
}

/* 11. Modern Inputs & Focus Rings */
.bbl-input-text,
.wa-field input[type="text"],
.wa-field input[type="tel"],
.wa-field input[type="email"] {
    border-radius: 10px !important;
    border: 1.5px solid #e2e8f0 !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
    box-sizing: border-box !important;
}

.bbl-input-text:focus,
.wa-field input[type="text"]:focus,
.wa-field input[type="tel"]:focus,
.wa-field input[type="email"]:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(0, 79, 122, 0.1) !important;
    outline: none !important;
}

/* 12. Fixed Bottom Bar on Checkout & Cart active */
/* Previous suppression rule removed */

/* 13. Cart Sidebar Buyer Switcher & Group Polish */
.cart-page__container-summary .bbl-cart-buyer-switcher-box {
    margin-bottom: 16px !important;
    padding: 16px !important;
}

@media (min-width: 1024px) {
    .cart-page__container-summary .bbl-cart-buyer-switcher {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .cart-page__container-summary .bbl-cart-buyer-btn {
        padding: 12px 14px !important;
        gap: 10px !important;
    }
    .cart-page__container-summary .bbl-cart-buyer-icon {
        font-size: 20px !important;
    }
    .cart-page__container-summary .bbl-cart-buyer-text strong {
        font-size: 13.5px !important;
    }
    .cart-page__container-summary .bbl-cart-buyer-badge {
        font-size: 11px !important;
        padding: 2px 6px !important;
    }
    .cart-page__container-summary .bbl-cart-buyer-notice {
        margin-top: 10px !important;
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
}

/* ==========================================================================
   14. BOBOLED B2B CART STITCH REDESIGN (Canonical 1680px Layout)
   ========================================================================== */

/* --- Animations & Keyframes --- */
@keyframes bblFadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bblToastSlideBounce {
    0% { opacity: 0; transform: translateY(-20px) scale(0.96); }
    60% { opacity: 1; transform: translateY(4px) scale(1.01); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes bblNeonGlowPulse {
    0%, 100% {
        box-shadow: 0 0 12px rgba(75, 65, 225, 0.25), 0 0 2px rgba(99, 102, 241, 0.35);
        border-color: rgba(75, 65, 225, 0.5);
    }
    50% {
        box-shadow: 0 0 24px rgba(75, 65, 225, 0.45), 0 0 8px rgba(111, 251, 190, 0.3);
        border-color: rgba(99, 102, 241, 0.85);
    }
}

@keyframes bblGreenGlowPulse {
    0%, 100% {
        box-shadow: 0 8px 24px -4px rgba(5, 150, 105, 0.25), 0 0 0 1px rgba(52, 211, 153, 0.3);
    }
    50% {
        box-shadow: 0 10px 28px -2px rgba(5, 150, 105, 0.4), 0 0 16px 2px rgba(110, 231, 183, 0.45);
    }
}

@keyframes bblTimerPulse {
    0%, 100% {
        transform: scale(1);
        background-color: rgba(245, 158, 11, 0.15);
    }
    50% {
        transform: scale(1.025);
        background-color: rgba(245, 158, 11, 0.28);
        box-shadow: 0 0 10px rgba(245, 158, 11, 0.35);
    }
}

@keyframes bblShimmerSweep {
    0% { transform: translateX(-150%) skewX(-20deg); }
    100% { transform: translateX(250%) skewX(-20deg); }
}

/* --- Utilities --- */
.bbl-toast-bounce {
    animation: bblToastSlideBounce 0.65s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, bblGreenGlowPulse 4s ease-in-out infinite 0.7s;
}

.vip-neon-glow {
    animation: bblNeonGlowPulse 3s ease-in-out infinite;
}

.timer-urgency-pulse {
    animation: bblTimerPulse 2s ease-in-out infinite;
}

.btn-shimmer {
    position: relative;
    overflow: hidden;
}
.btn-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    animation: bblShimmerSweep 3.5s infinite ease-in-out;
    pointer-events-none;
}

/* --- Canonical 1680px Main Container --- */
.cart-page {
    max-width: 1680px !important;
    margin: 0 auto !important;
    padding: 16px 24px 48px !important;
    box-sizing: border-box !important;
}

/* --- 1. Stitch Header Bar --- */
.bbl-cart-stitch-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    margin-bottom: 18px !important;
}

.bbl-cart-header-left {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.bbl-stitch-back-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
}

.bbl-stitch-back-link:hover {
    color: #0f172a !important;
    transform: translateX(-2px) !important;
}

.bbl-cart-title-row {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}

.bbl-stitch-title {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: normal !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.bbl-stitch-badge-pill {
    display: inline-flex !important;
    align-items: center !important;
    padding: 4px 12px !important;
    border-radius: 9999px !important;
    background: #f1f5fa !important;
    color: #5a5e6a !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border: 1px solid #e2e8f0 !important;
    font-family: 'JetBrains Mono', monospace !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02) !important;
}

.bbl-cart-header-right {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.bbl-stitch-share-btn {
    height: 38px !important;
    padding: 0 16px !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.bbl-stitch-share-btn:hover {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    box-shadow: 0 2px 8px rgba(75, 65, 225, 0.12) !important;
}

/* --- 2. Wholesale Value Proposition Banner --- */
.bbl-wholesale-prop-banner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    padding: 12px 18px !important;
    background: #f8faff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    margin-bottom: 24px !important;
    font-size: 12.5px !important;
    transition: border-color 0.2s ease !important;
}

.bbl-wholesale-prop-banner:hover {
    border-color: rgba(75, 65, 225, 0.3) !important;
}

.bbl-prop-left {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
}

.bbl-prop-icon {
    display: inline-flex !important;
    align-items: center !important;
    color: var(--primary-color) !important;
}

.bbl-prop-right {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    color: #5a5e6a !important;
    font-size: 12px !important;
}

.bbl-prop-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.bbl-pulse-dot {
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    display: inline-block !important;
}

.bbl-dot-green {
    background-color: #10b981 !important;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2) !important;
}

.bbl-dot-purple {
    background-color: var(--primary-color) !important;
}

/* --- 3. Split Grid Layout: 8 / 4 on Desktop (1680px canonical) --- */
.cart-page__container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    align-items: flex-start !important;
}

@media (min-width: 1024px) {
    .cart-page__container {
        grid-template-columns: minmax(0, 1fr) 420px !important;
    }
}

@media (min-width: 1440px) {
    .cart-page__container {
        grid-template-columns: minmax(0, 1fr) 450px !important;
        gap: 32px !important;
    }
}

/* --- 4. Bulk Controls Bar --- */
.bbl-bulk-controls-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    padding: 12px 18px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03) !important;
    margin-bottom: 16px !important;
}

.bbl-bulk-select-all {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    cursor: pointer !important;
    user-select: none !important;
}

.bbl-stitch-checkbox {
    width: 16px !important;
    height: 16px !important;
    border-radius: 4px !important;
    border: 1.5px solid #cbd5e1 !important;
    accent-color: var(--primary-color) !important;
    cursor: pointer !important;
    transition: transform 0.15s ease !important;
}

.bbl-stitch-checkbox:hover {
    transform: scale(1.1) !important;
}

.bbl-bulk-actions {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 12px !important;
    color: #64748b !important;
}

.bbl-bulk-action-btn {
    background: transparent !important;
    border: none !important;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 4px 6px !important;
    border-radius: 6px !important;
    transition: color 0.15s ease, background 0.15s ease !important;
}

.bbl-bulk-action-btn:hover {
    color: #ba1a1a !important;
    background: #fef2f2 !important;
}

.bbl-bulk-sep {
    color: #e2e8f0 !important;
}

/* --- 5. Product Card & Groups (Stitch Modern Standard) --- */
.bbl-cart-product-group {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
    margin-bottom: 16px !important;
    padding: 18px 20px !important;
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s ease, border-color 0.2s ease !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
}

.bbl-cart-product-group:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 0 16px rgba(75, 65, 225, 0.05) !important;
    border-color: #cbd5e1 !important;
}

/* Hide legacy Webasyst table headers */
.cart-items-header.bbl-cart-header {
    display: none !important;
}

/* Cart Item Container inside Group */
.cart-item__container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Left part: Checkbox + Index + Image + Info */
.bbl-cart-col-product {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    flex: 1 1 340px !important;
    min-width: 0 !important;
}

.bbl-item-select-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    flex-shrink: 0 !important;
}

.bbl-item-index-label {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    user-select: none !important;
}

/* 80x80px Image Box */
.cart-item__container-image {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    border-radius: 10px !important;
    background: #f8faff !important;
    border: 1px solid #e2e8f0 !important;
    padding: 4px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

.cart-item__image-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    transition: transform 0.3s ease-out !important;
}

.bbl-cart-product-group:hover .cart-item__image-box img {
    transform: none !important;
}

/* Product Info */
.cart-item__container-info {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.cart-item__name-container .link {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
}

.cart-item__name-container .link:hover {
    color: var(--primary-color) !important;
}

/* Packaging badge */
.bbl-cart-multiplicity-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 11px !important;
    color: #64748b !important;
    background: #f1f5fa !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    width: fit-content !important;
}

/* Right Controls Column: Stepper + Price + Actions */
.bbl-item-controls-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 20px !important;
    flex-shrink: 0 !important;
}

/* Stitch Ergonomic Stepper (36px high, rounded-lg) */
.cart-item__container-quantity.quantity-toggles {
    height: auto !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    overflow: visible !important;
}

.cart-item__container-quantity.quantity-toggles:hover {
    border-color: transparent !important;
}

.quantity__button {
    width: 32px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    color: #64748b !important;
    cursor: pointer !important;
    border: none !important;
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease !important;
}

.quantity__button:hover {
    background: #f1f5fa !important;
    color: var(--primary-color) !important;
}

.quantity__button:active {
    transform: scale(0.88) !important;
}

.quantity__input-box input.quantity__input {
    width: 48px !important;
    height: 36px !important;
    text-align: center !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    font-family: 'JetBrains Mono', monospace !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    padding: 0 !important;
}

/* Price Column */
.cart-item__container-total {
    min-width: 130px !important;
    text-align: right !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 2px !important;
}

.bbl-item-retail-old-price {
    font-size: 11.5px !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
    font-family: 'JetBrains Mono', monospace !important;
}

.cart-item__total-price {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    font-family: 'JetBrains Mono', monospace !important;
    letter-spacing: normal !important;
    line-height: 1.15 !important;
}

.bbl-item-unit-calc-price {
    font-size: 11.5px !important;
    color: #64748b !important;
    font-family: 'JetBrains Mono', monospace !important;
}

/* Action Buttons (Favorite + Delete) */
.bbl-item-actions-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.bbl-item-action-icon-btn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #94a3b8 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

.bbl-item-action-icon-btn:hover {
    background: #f1f5fa !important;
    color: var(--primary-color) !important;
}

.bbl-item-action-icon-btn.bbl-delete-action:hover {
    color: #ba1a1a !important;
    background: #fef2f2 !important;
}

/* Attached Upsell Tier Banner */
.bbl-cart-upsell-tier {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 8px;
    background: #eeedff;
    border: 1px solid rgba(75, 65, 225, 0.25);
    font-size: 14px;
    color: #3730a3;
    transition: all 0.25s ease;
}

.bbl-cart-upsell-tier.is-max-tier {
    background: rgba(16, 185, 129, 0.12) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
    color: #065f46 !important;
    font-size: 14px !important;
    padding: 10px 16px !important;
}

.bbl-upsell-tier-left {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    font-weight: 500 !important;
    font-size: 14px !important;
}

.bbl-upsell-tier-icon {
    font-size: 18px !important;
    color: var(--primary-color) !important;
}

.bbl-upsell-tier-price {
    font-weight: 800 !important;
    font-size: 15px !important;
    color: #4338ca !important;
    font-family: 'JetBrains Mono', monospace !important;
}

.bbl-upsell-tier-qty-badge {
    background: #ffffff !important;
    padding: 3px 10px !important;
    border-radius: 6px !important;
    border: 1.5px solid #c7d2fe !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    font-family: 'JetBrains Mono', monospace !important;
    color: #3730a3 !important;
    letter-spacing: 0.2px !important;
    box-shadow: 0 1px 2px rgba(75, 65, 225, 0.08) !important;
}

/* Strictly hide crossed-out retail old price */
.bbl-item-retail-old-price,
.cart-item__container-total .old-price,
.cart-item__container-total .bbl-item-retail-old-price {
    display: none !important;
}

/* VIP Special Bundle Card in Cart (with Glow) */
#bundle-cart-card {
    background: linear-gradient(135deg, rgba(75,65,225,0.06), #ffffff 70%) !important;
    border: 2px solid rgba(75, 65, 225, 0.35) !important;
}

#bundle-cart-card:hover {
    border-color: var(--primary-color) !important;
}

.bbl-bundle-icon-box {
    width: 80px !important;
    height: 80px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, var(--primary-color), #1e1b4b) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    flex-shrink: 0 !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2) !important;
}

.bbl-bundle-tag-pill {
    padding: 2px 7px !important;
    border-radius: 4px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    font-family: 'JetBrains Mono', monospace !important;
}

.bbl-bundle-tag-purple {
    background: var(--primary-color) !important;
    color: #ffffff !important;
}

.bbl-bundle-tag-green {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #065f46 !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

/* --- 6. Right Sidebar Sticky Cockpit --- */
.cart-page__container-summary {
    position: sticky !important;
    top: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

/* Green Toast Notification Box (Hidden by default) */
#bbl-vip-toast {
    background: linear-gradient(90deg, #059669, #0f766e) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    box-shadow: 0 10px 25px -5px rgba(5, 150, 105, 0.25) !important;
    border: 1px solid rgba(52, 211, 153, 0.4) !important;
    display: none;
    align-items: flex-start !important;
    gap: 12px !important;
    transition: all 0.3s ease !important;
}

#bbl-vip-toast.is-visible {
    display: flex !important;
}

.bbl-toast-icon {
    font-size: 20px !important;
    color: #a7f3d0 !important;
    flex-shrink: 0 !important;
}

.bbl-toast-body {
    flex: 1 !important;
}

.bbl-toast-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin-bottom: 4px !important;
}

.bbl-toast-title {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
}

.bbl-toast-badge {
    font-size: 10px !important;
    font-weight: 700 !important;
    background: rgba(255,255,255,0.2) !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    font-family: 'JetBrains Mono', monospace !important;
}

.bbl-toast-desc {
    font-size: 11px !important;
    line-height: 1.4 !important;
    color: #d1fae5 !important;
    margin: 0 !important;
}

/* Order Details Card */
.bbl-summary-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 24px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

.bbl-summary-card-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #f1f5fa !important;
}

.bbl-segmented-switcher {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 4px !important;
    background: #f1f5fa !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 4px !important;
}

.bbl-segmented-btn {
    padding: 8px 10px !important;
    border-radius: 6px !important;
    border: none !important;
    background: transparent !important;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    transition: all 0.15s ease !important;
}

.bbl-segmented-btn.is-active {
    background: #ffffff !important;
    color: #0f172a !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
    border: 1px solid #e2e8f0 !important;
}

.bbl-stitch-notice-box {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    background: #f8faff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 10px 12px !important;
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    color: #475569 !important;
}

.bbl-stitch-notice-icon {
    font-size: 16px !important;
    color: var(--primary-color) !important;
    flex-shrink: 0 !important;
    margin-top: 1px !important;
}

/* Financial Breakdown Rows */
.bbl-financial-breakdown {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 14px 0 !important;
    border-top: 1px solid #f1f5fa !important;
    border-bottom: 1px solid #f1f5fa !important;
    font-size: 12.5px !important;
}

.bbl-breakdown-row {
    display: flex;
    align-items: center !important;
    justify-content: space-between !important;
    color: #64748b !important;
}

#tax-row {
    display: none !important;
}

#tax-row.is-visible {
    display: flex !important;
}

.bbl-breakdown-val {
    font-weight: 600 !important;
    color: #0f172a !important;
    font-family: 'JetBrains Mono', monospace !important;
}

.bbl-breakdown-row.is-discount {
    color: #047857 !important;
}

.bbl-breakdown-row.is-discount .bbl-breakdown-val {
    color: #047857 !important;
    font-weight: 700 !important;
}

/* Total Sum Row */
.bbl-total-sum-row {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    margin-top: 2px !important;
}

.bbl-total-sum-label {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

.bbl-total-sum-val {
    font-size: 28px !important;
    font-weight: 900 !important;
    color: var(--primary-color) !important;
    font-family: 'JetBrains Mono', monospace !important;
    letter-spacing: normal !important;
}

/* Promocode Field */
.bbl-stitch-promocode-wrap {
    display: flex !important;
    gap: 8px !important;
}

.bbl-stitch-promocode-input {
    flex: 1 !important;
    height: 38px !important;
    padding: 0 12px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    outline: none !important;
    transition: border-color 0.15s ease !important;
}

.bbl-stitch-promocode-input:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(75, 65, 225, 0.1) !important;
}

.bbl-stitch-promocode-btn {
    height: 38px !important;
    padding: 0 16px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background: #f1f5fa !important;
    color: #0f172a !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

.bbl-stitch-promocode-btn:hover {
    background: #e2e8f0 !important;
}

/* Primary CTA Button */
.bbl-stitch-primary-cta {
    width: 100% !important;
    height: 48px !important;
    padding: 0 24px !important;
    border-radius: var(--inputs-buttons-border-radius, 12px) !important;
    background: var(--primary-color) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.bbl-stitch-primary-cta:hover {
    background: var(--primary-color-hover) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18) !important;
    transform: translateY(-1px) !important;
}

.bbl-stitch-primary-cta:active {
    transform: scale(0.98) !important;
}

/* Secondary B2B Action Buttons */
.bbl-stitch-secondary-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    padding-top: 10px !important;
    border-top: 1px solid #f1f5fa !important;
}

.bbl-stitch-sec-btn {
    height: 36px !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

.bbl-stitch-sec-btn:hover {
    background: #f8faff !important;
    border-color: #cbd5e1 !important;
}

/* Trust Badges */
.bbl-stitch-trust-badges {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding-top: 12px !important;
    border-top: 1px solid #f1f5fa !important;
    font-size: 11.5px !important;
    color: #64748b !important;
}

.bbl-trust-item {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
}

.bbl-trust-item svg {
    color: var(--primary-color) !important;
    flex-shrink: 0 !important;
}

/* --- 7. Special Offers Block (Urgency & 3 Packs + Mega Bundle) --- */
#special-offers-section {
    background: #ffffff !important;
    border: 2px solid rgba(75, 65, 225, 0.35) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 25px -5px rgba(75, 65, 225, 0.1) !important;
    display: flex !important;
    flex-direction: column !important;
}

.bbl-offers-top-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-hover) 60%, var(--dark-color, #0e364f)) !important;
    padding: 14px 16px !important;
    color: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.bbl-offers-top-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.bbl-offers-top-title {
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
}

.bbl-offers-top-badge {
    background: rgba(255,255,255,0.15) !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    padding: 2px 7px !important;
    border-radius: 9999px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #fde047 !important;
    font-family: 'JetBrains Mono', monospace !important;
}

.bbl-offers-timer-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    background: rgba(0,0,0,0.25) !important;
    backdrop-filter: blur(4px) !important;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    font-size: 11px !important;
}

.bbl-offers-timer-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    color: #fde047 !important;
    font-weight: 700 !important;
    font-family: 'JetBrains Mono', monospace !important;
}

.bbl-offers-body {
    padding: 14px !important;
    background: #f8faff !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

/* Individual Pack Card */
.bbl-offer-card {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 12px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    transition: all 0.2s ease !important;
}

.bbl-offer-card.border-amber {
    border-color: rgba(245, 158, 11, 0.35) !important;
}
.bbl-offer-card.border-amber:hover {
    border-color: #f59e0b !important;
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.12) !important;
}

.bbl-offer-card.border-indigo {
    border-color: rgba(75, 65, 225, 0.35) !important;
}
.bbl-offer-card.border-indigo:hover {
    border-color: var(--primary-color) !important;
    box-shadow: 0 6px 16px rgba(75, 65, 225, 0.12) !important;
}

.bbl-offer-card.border-emerald {
    border-color: rgba(16, 185, 129, 0.35) !important;
}
.bbl-offer-card.border-emerald:hover {
    border-color: #10b981 !important;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.12) !important;
}

.bbl-offer-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.bbl-offer-title {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
}

.bbl-offer-list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    font-size: 11px !important;
    color: #64748b !important;
}

.bbl-offer-list li {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.bbl-offer-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 8px !important;
    border-top: 1px solid #f1f5fa !important;
}

.bbl-offer-prices {
    display: flex !important;
    align-items: baseline !important;
    gap: 6px !important;
}

.bbl-offer-old {
    font-size: 11px !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
    font-family: 'JetBrains Mono', monospace !important;
}

.bbl-offer-new {
    font-size: 14px !important;
    font-weight: 800 !important;
    font-family: 'JetBrains Mono', monospace !important;
}

.bbl-offer-badge-in-bundle {
    padding: 2px 8px !important;
    border-radius: 4px !important;
    background: rgba(16, 185, 129, 0.12) !important;
    color: #065f46 !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
}

/* Mega Bundle Card */
.bbl-mega-bundle-card {
    background: linear-gradient(135deg, rgba(75,65,225,0.08), #ffffff) !important;
    border: 2px solid var(--primary-color) !important;
    border-radius: 12px !important;
    padding: 14px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.bbl-bundle-btn-toggle {
    height: 38px !important;
    border-radius: 8px !important;
    background: #059669 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
}

.bbl-bundle-btn-toggle.is-inactive {
    background: var(--primary-color) !important;
}

/* --- 8. Floating Sticky Bottom Bar on Scroll --- */
.bbl-floating-cart-bar {
    position: fixed !important;
    bottom: 20px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    padding: 0 16px !important;
    pointer-events: none !important;
    transform: translateY(140px) !important;
    opacity: 0 !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease !important;
}

.bbl-floating-cart-bar.is-visible {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.bbl-floating-bar-inner {
    max-width: 1080px !important;
    margin: 0 auto !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.16) !important;
    padding: 12px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
}

.bbl-float-left {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.bbl-float-cart-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    background: #eeedff !important;
    color: var(--primary-color) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.bbl-float-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.bbl-float-title-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.bbl-float-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

.bbl-float-sub-row {
    font-size: 11px !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.bbl-float-right {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
}

.bbl-float-price-col {
    text-align: right !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
}

.bbl-float-price-label {
    font-size: 10.5px !important;
    color: #64748b !important;
}

.bbl-float-price-val {
    font-size: 22px !important;
    font-weight: 900 !important;
    color: var(--primary-color) !important;
    font-family: 'JetBrains Mono', monospace !important;
    line-height: 1 !important;
}

.bbl-float-cta-btn {
    height: 42px !important;
    padding: 0 20px !important;
    border-radius: 10px !important;
    background: var(--primary-color) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 4px 12px rgba(75, 65, 225, 0.25) !important;
}

/* --- 9. Recommendations Tabs & Cards (Stitch Alignment) --- */
.bbl-ozon-recommendations-section {
    margin-top: 36px !important;
}

.bbl-ozon-tabs {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding-bottom: 2px !important;
    margin-bottom: 18px !important;
}

.bbl-ozon-tab {
    background: transparent !important;
    border: none !important;
    padding: 8px 4px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    cursor: pointer !important;
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: color 0.15s ease !important;
}

.bbl-ozon-tab:hover {
    color: #0f172a !important;
}

.bbl-ozon-tab.is-active {
    color: var(--primary-color) !important;
}

.bbl-ozon-tab.is-active::after {
    content: '' !important;
    position: absolute !important;
    bottom: -3px !important;
    left: 0 !important;
    right: 0 !important;
    height: 2px !important;
    background: var(--primary-color) !important;
}

.bbl-tab-count {
    padding: 2px 6px !important;
    border-radius: 9999px !important;
    background: #eeedff !important;
    color: #3323cc !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    font-family: 'JetBrains Mono', monospace !important;
}

.bbl-ozon-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
}

@media (min-width: 768px) {
    .bbl-ozon-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

.bbl-ozon-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 14px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 12px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.bbl-ozon-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.08) !important;
}

.bbl-ozon-card__image-box {
    width: 100% !important;
    height: 140px !important;
    background: #f8faff !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    position: relative !important;
}

.bbl-ozon-card__img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    transition: transform 0.3s ease !important;
}

.bbl-ozon-card:hover .bbl-ozon-card__img {
    transform: scale(1.05) !important;
}

.bbl-ozon-card__price {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    font-family: 'JetBrains Mono', monospace !important;
}

.bbl-ozon-card__title {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
}

.bbl-ozon-card__btn {
    width: 100% !important;
    height: 32px !important;
    border-radius: 6px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    transition: all 0.15s ease !important;
}

.bbl-ozon-card__btn:hover {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
}

/* --- Mobile Responsiveness Adjustments --- */
@media (max-width: 767px) {
    .cart-page {
        padding: 10px 8px 40px !important;
    }
    .bbl-cart-stitch-header {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .bbl-stitch-title {
        font-size: 20px !important;
    }
    .bbl-wholesale-prop-banner {
        padding: 10px 12px !important;
    }
    .bbl-cart-product-group {
        padding: 12px !important;
    }
    .cart-item__container {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .bbl-cart-col-product {
        width: 100% !important;
    }
    .bbl-item-controls-wrap {
        width: 100% !important;
        justify-content: space-between !important;
        padding-top: 10px !important;
        border-top: 1px dashed #e2e8f0 !important;
    }
    .bbl-floating-bar-inner {
        flex-direction: column !important;
        gap: 10px !important;
        padding: 10px 14px !important;
    }
    .bbl-float-right {
        width: 100% !important;
        justify-content: space-between !important;
    }
}

/* Fast-Track & Auth Badge */
.bbl-fasttrack-badge {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    background: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    font-size: 11.5px !important;
    color: #166534 !important;
    margin-bottom: 14px !important;
}
.bbl-fasttrack-badge.bbl-fasttrack-guest {
    background: #f8fafc !important;
    border: 1px dashed #cbd5e1 !important;
    color: #64748b !important;
}
.bbl-fasttrack-badge a {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

/* ==========================================================================
   SECTION 15: B2B CART STITCH UPGRADES (OFFERS, TABS, RECOMMENDATIONS, STEPPERS)
   ========================================================================== */

/* 1. Stitch Monolithic Stepper (Zero Doubled Borders, Clean Unified Capsule) */
.cart-page .cart-item__container-quantity,
.cart-item-card .cart-item__container-quantity,
.cart-item__container-quantity.quantity-toggles,
.cart-item__container-quantity {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

.cart-page .quantity,
.cart-item-card .quantity,
.cart-item .quantity,
.cart-item__container-quantity .quantity {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
    box-sizing: border-box !important;
}

.cart-page .quantity:hover,
.cart-item-card .quantity:hover,
.cart-item__container-quantity .quantity:hover {
    border-color: #6366f1 !important;
    box-shadow: 0 1px 4px rgba(99, 102, 241, 0.15) !important;
}

.cart-page .quantity__button,
.cart-item-card .quantity__button,
.cart-item .quantity__button,
.cart-item__container-quantity .quantity__button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #64748b !important;
    cursor: pointer !important;
    outline: none !important;
    transition: background-color 0.15s ease, color 0.15s ease !important;
    user-select: none !important;
    box-sizing: border-box !important;
}

.cart-page .quantity__button:hover,
.cart-item-card .quantity__button:hover,
.cart-item__container-quantity .quantity__button:hover {
    background: #f1f5f9 !important;
    color: #4338ca !important;
}

.cart-page .quantity__button:active,
.cart-item-card .quantity__button:active,
.cart-item__container-quantity .quantity__button:active {
    background: #e2e8f0 !important;
    transform: scale(0.92) !important;
}

.cart-page .quantity__button svg,
.cart-item-card .quantity__button svg,
.cart-item__container-quantity .quantity__button svg {
    width: 14px !important;
    height: 14px !important;
    stroke: currentColor !important;
    stroke-width: 2.5 !important;
}

.cart-page .quantity__input-box,
.cart-item-card .quantity__input-box,
.cart-item__container-quantity .quantity__input-box {
    display: flex !important;
    align-items: center !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

.cart-page .quantity__input,
.cart-item-card .quantity__input,
.cart-item__container-quantity .quantity__input,
.cart-page input.qty-input,
.cart-page .quantity__input-box input.quantity__input {
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    height: 34px !important;
    line-height: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-left: 1px solid #f1f5f9 !important;
    border-right: 1px solid #f1f5f9 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    outline: none !important;
    text-align: center !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    box-sizing: border-box !important;
}

.cart-page .quantity__step,
.cart-item-card .quantity__step,
.cart-item .quantity__step,
.quantity_step .quantity__step,
.cart-page .quantity__unit,
.cart-item-card .quantity__unit,
.cart-item .quantity__unit {
    display: none !important;
}

/* 1.1 Cart Item Actions & Favorite Button */
.bbl-item-actions-wrap {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.bbl-item-action-icon-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    color: #94a3b8 !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: all 0.15s ease !important;
}

.bbl-item-action-icon-btn:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

.bbl-fav-btn:hover {
    background: #fef2f2 !important;
    color: #ef4444 !important;
}

.bbl-fav-btn.is-active {
    color: #ef4444 !important;
    background: #fee2e2 !important;
}

.bbl-fav-btn.is-active svg {
    fill: #ef4444 !important;
    stroke: #ef4444 !important;
}

.bbl-delete-action:hover {
    background: #fef2f2 !important;
    color: #ef4444 !important;
}

/* 2. Special Offers Buttons & States in Sidebar */
.bbl-offer-btn-add {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border: 1px solid transparent !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    white-space: nowrap !important;
    user-select: none !important;
}

.bbl-btn-amber {
    background: #f59e0b !important;
    border-color: #d97706 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3) !important;
}
.bbl-btn-amber:hover {
    background: #d97706 !important;
    border-color: #b45309 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4) !important;
}

.bbl-btn-indigo {
    background: var(--primary-color) !important;
    border-color: #3730a3 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(75, 65, 225, 0.3) !important;
}
.bbl-btn-indigo:hover {
    background: #3730a3 !important;
    border-color: #312e81 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(75, 65, 225, 0.4) !important;
}

.bbl-btn-emerald {
    background: #10b981 !important;
    border-color: #059669 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3) !important;
}
.bbl-btn-emerald:hover {
    background: #059669 !important;
    border-color: #047857 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4) !important;
}

.bbl-offer-btn-add.is-added {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #64748b !important;
    box-shadow: none !important;
    font-weight: 600 !important;
}
.bbl-offer-btn-add.is-added:hover {
    background: #e2e8f0 !important;
    color: #475569 !important;
}

.bbl-offer-btn-add.is-in-bundle {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
    opacity: 0.8 !important;
}

/* Digital Offer and Bundle Cards in Cart: Strictly Hidden Unless Active */
.bbl-digital-offer-card,
#bundle-cart-card,
#offer-guide-cart-card,
#offer-media-cart-card,
#offer-legal-cart-card {
    display: none !important;
}

.bbl-digital-offer-card.is-visible,
#bundle-cart-card.is-visible,
#offer-guide-cart-card.is-visible,
#offer-media-cart-card.is-visible,
#offer-legal-cart-card.is-visible {
    display: flex !important;
}

/* 3. Toast Close Button */
.bbl-toast-close {
    background: none !important;
    border: none !important;
    color: #a7f3d0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    padding: 2px 6px !important;
    margin-left: auto !important;
    line-height: 1 !important;
    transition: color 0.15s ease !important;
    border-radius: 4px !important;
}
.bbl-toast-close:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15) !important;
}

/* 4. Stitch Recommendations in Left Column */
.bbl-stitch-rec-section {
    margin-top: 32px !important;
    padding-top: 24px !important;
    border-top: 1px solid #e2e8f0 !important;
}

/* Tabs Header: Sleek Underlined Text Buttons strictly matching Stitch */
.bbl-stitch-rec-tabs-header {
    display: flex !important;
    align-items: center !important;
    gap: 28px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 20px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
}
.bbl-stitch-rec-tabs-header::-webkit-scrollbar {
    display: none !important;
}

.bbl-stitch-rec-tab {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 2px 14px 2px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}
.bbl-stitch-rec-tab:hover {
    color: #0f172a !important;
}
.bbl-stitch-rec-tab.is-active {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    border-bottom-color: var(--primary-color) !important;
}

.bbl-stitch-tab-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 20px !important;
    height: 20px !important;
    padding: 0 6px !important;
    border-radius: 9999px !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    font-family: 'JetBrains Mono', monospace !important;
    transition: all 0.2s ease !important;
}
.bbl-stitch-rec-tab.is-active .bbl-stitch-tab-badge {
    background: #eef2ff !important;
    color: var(--primary-color) !important;
}

/* Panels */
.bbl-stitch-rec-panel {
    display: none !important;
}
.bbl-stitch-rec-panel.is-active {
    display: block !important;
    animation: bblFadeIn 0.3s ease-out forwards !important;
}

/* 4-column compact grid */
.bbl-stitch-rec-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
}
@media (max-width: 1280px) {
    .bbl-stitch-rec-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
@media (max-width: 768px) {
    .bbl-stitch-rec-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}

/* Stitch Recommendation Catalog Card Style */
.bbl-stitch-rec-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 10px !important;
    transition: all 0.2s ease !important;
    position: relative !important;
}
.bbl-stitch-rec-card:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1) !important;
    transform: translateY(-2px) !important;
}

.bbl-stitch-rec-thumb {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    max-height: 160px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
}
.bbl-stitch-rec-thumb img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    transition: transform 0.3s ease !important;
}
.bbl-stitch-rec-card:hover .bbl-stitch-rec-thumb img {
    transform: scale(1.06) !important;
}

.bbl-stitch-rec-pill {
    position: absolute !important;
    top: 6px !important;
    left: 6px !important;
    padding: 2px 7px !important;
    border-radius: 4px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    background: #f59e0b !important;
    color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.25) !important;
}

.bbl-stitch-rec-body {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex-grow: 1 !important;
    margin-top: 8px !important;
}

.bbl-stitch-rec-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    line-height: 1.35 !important;
    min-height: 35px !important;
    max-height: 35px !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
}
.bbl-stitch-rec-title:hover {
    color: var(--primary-color) !important;
}

.bbl-stitch-rec-pricing {
    margin-top: 8px !important;
    padding-top: 6px !important;
    border-top: 1px dashed #e2e8f0 !important;
}
.bbl-stitch-rec-prices {
    display: flex !important;
    align-items: baseline !important;
    gap: 6px !important;
}
.bbl-stitch-rec-price-main {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    font-family: 'JetBrains Mono', monospace !important;
}
.bbl-stitch-rec-price-old {
    font-size: 11px !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
}
.bbl-stitch-rec-price-opt {
    font-size: 11px !important;
    color: #16a34a !important;
    font-weight: 700 !important;
    margin-top: 2px !important;
}

.bbl-stitch-rec-cta {
    margin-top: 8px !important;
}
.bbl-stitch-rec-add-btn {
    width: 100% !important;
    height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    border-radius: var(--inputs-buttons-border-radius, 12px) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    background-color: #004F7A !important;
    border: 1px solid #004F7A !important;
    color: #FFFFFF !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
.bbl-stitch-rec-add-btn span {
    color: #FFFFFF !important;
}
.bbl-stitch-rec-add-btn svg {
    flex-shrink: 0 !important;
    stroke: #FFFFFF !important;
    color: #FFFFFF !important;
}
.bbl-stitch-rec-add-btn:hover {
    background-color: #003B5C !important;
    border-color: #003B5C !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(0, 79, 122, 0.25) !important;
}


/* === BOBOLED LOVABLE UI & FIXES === */
footer img, .footer img, .footer__logo img, .footer .logo img { max-width: 110px !important; max-height: 72px !important; width: auto !important; height: auto !important; object-fit: contain !important; }
.product-code, .product-code span, .header-block .product-code, .breadcrumbs-add .product-code { font-weight: 400 !important; font-size: 13px !important; color: #64748b !important; white-space: nowrap !important; display: inline-flex !important; align-items: center !important; gap: 5px !important; }
a[href*="b2b-digital"] { display: none !important; }
/* ====================================================================
   АРХИТЕКТУРА КАРТОЧКИ ТОВАРА (PDP):
   СИСТЕМА «БЕЛЫЕ СКРУГЛЕННЫЕ ОСТРОВА НА СВЕТЛО-СЕРОМ ФОНЕ #F5F7FA»
   ==================================================================== */

/* 1. Верхняя и средняя полосы шапки (top/middle) — 100% чисто-белые на всю ширину экрана */
header, .header, .header-top, .header-fixed,
.header .header__top-bar, .header .header__middle-bar,
.header__top-bar, .header__middle-bar,
.header-top-bar, .header-middle-bar,
.header-mobile, .header-mobile__top-bar, .header-mobile__main-bar {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

/* 1.1 Горизонтальная полоса меню категорий (.header-bottom-bar) — фирменный темно-синий фон #004F7A и белые буквы */
header .header__bottom-bar,
.header .header__bottom-bar,
.header__bottom-bar,
.header-bottom,
.header-bottom-bar,
.header-bottom-bar_colored,
.header-bottom-bar__container,
.header-bottom-bar__container_blocks,
.header-bottom-bar__container-links {
    background: var(--primary-color, #004F7A) !important;
    background-color: var(--primary-color, #004F7A) !important;
}

.header-bottom-bar a,
.header-bottom-bar .header-bottom-bar-links__link,
.header-bottom-bar .catalog-category-button,
.header-bottom-bar .hide-links-menu__link {
    color: #ffffff !important;
}

.header-bottom-bar a:hover,
.header-bottom-bar .header-bottom-bar-links__link:hover,
.header-bottom-bar .catalog-category-button:hover,
.header-bottom-bar .hide-links-menu__link:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    opacity: 0.95 !important;
}

/* 2. Реальные структурные обертки NovaShop для карточки товара — светло-серый фон #F5F7FA без белой простыни посередине! */
body:has(.product-page),
.page:has(.product-page),
.index:has(.product-page),
.index__wrapper:has(.product-page),
.index__content:has(.product-page),
.content-container:has(.product-page),
.container.container_content:has(.product-page),
.container_content:has(.product-page),
.content-container:has(.product-page) > .container,
.content:has(.product-page),
.content__content:has(.product-page),
.content-wrapper:has(.product-page),
.content-wrapper__block:has(.product-page) {
    background: #F5F7FA !important;
    background-color: #F5F7FA !important;
    box-shadow: none !important;
    border: none !important;
}

/* Внутренние обертки .product-page прозрачные с шагом 24px между островами */
.product-page,
.product-page > .blocks,
.blocks_product,
.blocks_product > .blocks__item,
.b2b-calc-wrap,
.b2b-dig-wrap,
.b2b-comm-wrap {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
}
.blocks_product {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
}

/* 3. Первый экран товара (стиль Lovable: карточки на сером фоне) и остальные белые острова */
.product-cart-form {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 24px !important;
    box-sizing: border-box !important;
}

.b2b-calc-card,
#crossselling > .block,
#upselling > .block,
#b2b-digital-upsell-module,
.product-page__content,
#recently > .block {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-radius: 20px !important;
    padding: 28px 32px !important;
    border: none !important;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.03) !important;
    box-sizing: border-box !important;
}
@media (max-width: 767px) {
    /* 2. Убрать боковые поля на мобильных устройствах < 768px (EDGE-TO-EDGE) */
    .container_content:has(.product-page),
    .content-container:has(.product-page),
    .content-container:has(.product-page) > .container,
    .index__content:has(.product-page),
    .product-page {
        padding-left: 3px !important;
        padding-right: 3px !important;
    }

    .blocks_product {
        gap: 12px !important;
    }

    .product-cart-form__columns-main,
    .bbl-card-wholesale.bbl-opt-wrapper,
    .bbl-card-buybox,
    .bbl-card-delivery,
    .product-cart-form__dp-container,
    .b2b-calc-card,
    #crossselling > .block,
    #upselling > .block,
    #b2b-digital-upsell-module,
    .product-page__content,
    #recently > .block {
        border: 1px solid #eef2f6 !important;
        border-radius: 14px !important;
        padding: 14px 12px !important;
        box-sizing: border-box !important;
    }
}

/* Внутри первого экрана товара (3 правые карточки Lovable: чисто-белые с рамкой и тенью) */
.bbl-card-wholesale.bbl-opt-wrapper,
.bbl-card-buybox,
.bbl-card-delivery,
.product-cart-form__dp-container {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
}
.bbl-card-wholesale .bbl-opt-header {
    background: transparent !important;
    border-bottom: 1px solid #f1f5f9 !important;
}
.bbl-card-wholesale .bbl-opt-table {
    background: transparent !important;
}
.bbl-card-wholesale .bbl-opt-table tbody tr {
    background: #ffffff !important;
}
.bbl-card-wholesale .bbl-opt-table tbody tr:nth-child(even) td,
.bbl-card-wholesale .bbl-opt-table tbody tr:nth-child(odd) td {
    background: #ffffff !important;
}
.bbl-card-wholesale .bbl-opt-table tbody td {
    padding: 9px 18px !important;
    font-size: 13.5px !important;
    line-height: 1.35 !important;
    color: #334155 !important;
    font-weight: 400 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    box-shadow: none !important;
}
.bbl-card-wholesale .bbl-opt-table tbody td.bbl-opt-tier-label {
    font-size: 13.5px !important;
    font-weight: 400 !important;
    color: #334155 !important;
}
.bbl-card-wholesale .bbl-opt-table tbody td.bbl-opt-price,
.bbl-card-wholesale .bbl-opt-table tbody td.bbl-opt-price-cell,
.bbl-card-wholesale .bbl-opt-table tbody td:last-child {
    text-align: right !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
}
/* Конфликтующие синие стили активной ступени удалены: канон находится в блоке BOBOLED UNIFIED ACTIONS в конце файла. */

/* Контейнеры фото на общем сером фоне #F5F7FA */

/* Адаптив планшета (1024px - 1440px): гибкие фото и миниатюры без срезания слева */

@media (min-width: 1024px) and (max-width: 1360px) {
    .product-cart-form__columns {
        gap: 18px !important;
    }
    .product-cart-form__columns-main {
        min-width: 380px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .product-cart-form__columns-additional {
        flex: 0 0 340px !important;
        width: 340px !important;
        min-width: 340px !important;
        max-width: 340px !important;
    }
}

/* Мобильная адаптация (< 1024px) */
@media (max-width: 1023px) {
    .product-cart-form__columns-main {
        background: #ffffff !important;
        border-radius: 16px !important;
        padding: 16px !important;
        border: 1px solid #e2e8f0 !important;
        margin-bottom: 12px !important;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
        box-sizing: border-box !important;
    }
    .product-cart-form__columns-main .product-cart-form__header,
    .product-cart-form__columns-main .product-cart-form__blocks,
    .product-cart-form__columns-main .product-cart-form__block,
    .product-cart-form__columns-main .product-cart-form__sub-blocks {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }
    .product-cart-form__columns-additional {
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
    .product-add-to-cart {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        box-shadow: none !important;
    }
}

/* Устранение дубликата «от» в каталоге и слайдерах */

/* Внутри белого острова Описания/Характеристик */
.product-page__content .content-tabs,
.product-page__content .content-tabs__contents,
.product-page__content .content-tabs__content,
.product-page__content .block,
.product-page__content .block_secondary,
.product-page__content .tab-content,
.product-page__content .product-description,
.product-page__content .product-page__description,
.product-page__content .block__content {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
.product-page__content .block__header,
.product-page__content .block__header_text,
.product-page__content .content-tabs__content .block__header {
    display: none !important;
}

/* Синий баннер комьюнити */
.b2b-comm-banner {
    border-radius: 20px !important;
    margin-bottom: 0 !important;
}

/* Внутри белого острова Цифровых товаров карточки с легкой подложкой #F8FAFC */
#b2b-digital-upsell-module .b2b-dig-guides-grid { margin-bottom: 0 !important; }
#b2b-digital-upsell-module .b2b-dig-guide-card {
    background: #F8FAFC !important;
    border: 1px solid #EEF0F4 !important;
    box-shadow: none !important;
}
#b2b-digital-upsell-module .b2b-dig-guide-card:hover {
    background: #ffffff !important;
    border-color: #93c5fd !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08) !important;
}

/* 100% штатные карточки в слайдерах без самодельных рамок */
#crossselling .slider-block__header-container,
#upselling .slider-block__header-container,
#recently .slider-block__header-container,
.bbl-cross-sell-block .slider-block__header-container {
    margin-bottom: 18px !important;
}
#crossselling .slider-block__header-text-container,
#upselling .slider-block__header-text-container,
#recently .slider-block__header-text-container,
.bbl-cross-sell-block .slider-block__header-text-container,
.bbl-cross-sell-heading,
.b2b-calc-header__title,
.b2b-calc-top-bar__title,
#crossselling .block__header,
#upselling .block__header,
.b2b-dig-title,
#recently .block__header {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

/* ====================================================================
   LOVABLE TYPOGRAPHY & CLEAN SPEC SYSTEM
   ==================================================================== */
.product-page, .product-page *:not(.lg-icon):not([class*="lg-"]) {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    -webkit-font-smoothing: antialiased !important;
}

/* Смягчение жирности в Характеристиках */
.bbl-specs-heading {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    letter-spacing: normal !important;
}
.product-page .product-feature__name,
.product-features .product-feature__name,
.features-list__name {
    font-size: 13.5px !important;
    font-weight: 400 !important;
    color: #64748b !important;
}
.product-page .product-feature__value,
.product-features .product-feature__value,
.product-feature__value,
.product-feature__value a,
.product-feature__value span,
.product-feature__value * {
    font-weight: 500 !important;
    font-size: 13.5px !important;
    color: #1e293b !important;
}
.product-full-features .product-feature__name-box,
.product-features .product-feature__name-box {
    width: auto !important;
    max-width: none !important;
    flex: 1 1 auto !important;
    padding-right: 16px !important;
}

/* Скрытие стрелок над вертикальными миниатюрами фото */

/* Единый тихий шрифт и цвет Артикула */
.product-cart-form__top-block_sku,
.product-cart-form__top-block_sku .value,
.product-cart-form__top-block_sku .value__label-text,
.product-cart-form__top-block_sku .value__value-text,
.product-cart-form__top-block_sku svg {
    font-family: Inter, -apple-system, sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 400 !important;
    color: #94a3b8 !important;
    letter-spacing: normal !important;
    transition: color 0.15s ease !important;
}
.product-cart-form__top-block_sku svg {
    stroke: #94a3b8 !important;
}
.product-cart-form__top-block_sku:hover,
.product-cart-form__top-block_sku:hover .value,
.product-cart-form__top-block_sku:hover .value__label-text,
.product-cart-form__top-block_sku:hover .value__value-text {
    color: #475569 !important;
}
.product-cart-form__top-block_sku:hover svg {
    stroke: #475569 !important;
}

/* Артикул и кнопки Избранное/Поделиться в 1 строку над H1 на мобилке */
@media (max-width: 1023px) {
    .product-cart-form__columns-main .product-cart-form__header {
        margin-bottom: 6px !important;
        width: 100% !important;
    }
    .product-cart-form__columns-main .product-cart-form__top-blocks {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        margin-bottom: 6px !important;
    }
    .product-cart-form__columns-main .product-cart-form__top-block_additional-buttons .product-additional-buttons {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
    .product-cart-form__columns-main .product-cart-form__top-block_additional-buttons .product-additional-buttons__button,
    .product-cart-form__columns-main .product-cart-form__top-block_additional-buttons .bbl-share-btn {
        width: 30px !important;
        height: 30px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Единый стиль плашки бонусов (+1 бонусов) */
.bonus-block,
    .product-cart-form__middle-bonuses .bonus-block {
    background: #eff6ff !important;
    border: 1px solid #dbeafe !important;
    color: var(--primary-color) !important;
    border-radius: 8px !important;
    padding: 3px 10px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
}
.bonus-block svg, .bonus-block img {
    width: 14px !important;
    height: 14px !important;
    fill: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

/* Высокоприоритетный селектор для темного поповера «Поделиться» */
.breadcrumbs-add .product-cart-form__top-block .bbl-share-popover .bbl-share-popover__item,
.breadcrumbs-add .product-cart-form__top-block .bbl-share-popover .bbl-share-popover__item span,
.product-cart-form .bbl-share-popover .bbl-share-popover__item,
.product-cart-form .bbl-share-popover .bbl-share-popover__item span {
    color: #ffffff !important;
    font-weight: 400 !important;
    font-size: 13.5px !important;
}
.breadcrumbs-add .product-cart-form__top-block .bbl-share-popover .bbl-share-popover__item:hover,
.breadcrumbs-add .product-cart-form__top-block .bbl-share-popover .bbl-share-popover__item:hover span,
.product-cart-form .bbl-share-popover .bbl-share-popover__item:hover,
.product-cart-form .bbl-share-popover .bbl-share-popover__item:hover span {
    color: #38bdf8 !important;
}


/* 1. На мобилке (<1024px) главное фото строго 100% ширины без вылезающего справа второго слайда */
@media (max-width: 1023px) {
    /* Верхняя строка мобилки: Артикул слева, Избранное и Поделиться справа по одной оси */
    .product-cart-form__columns-main .product-cart-form__header,
    .product-cart-form__columns-main .product-cart-form__top-blocks {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        min-height: 28px !important;
        margin: 0 0 8px 0 !important;
        padding: 0 !important;
    }
    .product-cart-form__columns-main .product-additional-buttons {
        display: inline-flex !important;
        align-items: center !important;
        gap: 12px !important;
    }
    /* На мобилке скрываем текст у кнопок Избранное/Поделиться, оставляя аккуратные иконки, а поповер открываем под кнопкой */
    .product-cart-form__columns-main .product-favorite .pseudo-link-box__link,
    .product-cart-form__columns-main .bbl-share-btn span {
        display: none !important;
    }
    .product-cart-form__columns-main .bbl-share-popover {
        right: 0 !important;
        left: auto !important;
        top: calc(100% + 8px) !important;
    }
}

/* 2. Ровная базовая линия для Артикула */
.product-cart-form__top-block_sku {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
}
.bbl-sku-unified-text,
.bbl-sku-unified-text .copy__value {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    color: #94a3b8 !important;
    vertical-align: baseline !important;
    display: inline !important;
}

/* 3. Оформление блока бонусов и возврат чистого вида "В наличии" */
.product-cart-form__middle-stock-row {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 8px 0 14px !important;
}
.product-cart-form__middle-stock .product-available {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #16a34a !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    height: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.product-cart-form__middle-bonuses .bonus-block,
.bonus-block {
    background: #f1f5f9 !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 4px 10px !important;
    height: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    color: #334155 !important;
}
.bonus-block *, .bonus-block span, .bonus-block strong {
    color: #334155 !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
}
.bonus-block svg, .bonus-block img {
    width: 14px !important;
    height: 14px !important;
    display: inline-block !important;
}

/* 4. Квадратики выбора вариантов без белых щелей по бокам */
.bbl-sku-thumb-container {
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
}
.bbl-sku-thumb-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 9px !important;
}


/* 1. Исправление ширины контейнера главного фото на мобилке (перебиваем calc(100% - 76px) без поломки Swiper!) */
@media (max-width: 1023px) {
    /* Убираем внутреннюю вторую рамку вокруг фото и фиксированную высоту 380px, чтобы фото было крупным квадратом 1:1 во всю ширину карточки */
    /* Аккуратные квадратные миниатюры 50x50px со скруглением 8px (не кружки) */
    /* Защита карточки заголовка и характеристик от горизонтального переполнения на мобилке */
    .product-cart-form__columns-main {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    .product-feature__value {
        white-space: normal !important;
        word-break: break-word !important;
    }
}

/* 2. Пробел и ровная линия между "Артикул:" и значением */
.product-cart-form__top-block_sku .value__label-text {
    margin-right: 4px !important;
}


@media (max-width: 1023px) {
    .product-cart-form__columns-main .product-cart-form__header,
    .product-cart-form__columns-main .product-cart-form__top-blocks-container,
    .product-cart-form__columns-main .product-cart-form__top-blocks {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }
    .product-cart-form__columns-main .product-cart-form__top-block_additional-buttons,
    .product-cart-form__columns-main .product-additional-buttons {
        margin-left: auto !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 14px !important;
    }
    /* Одинаковые чистые иконки без рамок и кружков для Избранного и Поделиться */
    .product-additional-buttons .product-favorite,
    .product-additional-buttons .pseudo-link-box,
    .product-additional-buttons .bbl-share-btn {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        width: 24px !important;
        height: 24px !important;
        padding: 0 !important;
        border-radius: 0 !important;
        color: #64748b !important;
    }
}

.product-feature__name-box,
.product-feature__name-align,
.product-feature__name {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}
/* ====================================================================
   3-СТУПЕНЧАТАЯ АДАПТИВНАЯ СЕТКА КАРТОЧКИ ТОВАРА (SSOT 1680px)
   ==================================================================== */

/* --- РЕЖИМ 1: ШИРОКИЙ ДЕСКТОП (>= 1280px) — 3 колонки как на Ozon с крупным адаптивным фото --- */
@media (min-width: 1280px) {
    .product-page .product-cart-form__container {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        gap: 28px !important;
        width: 100% !important;
    }
    /* Крупная резиновая галерея фото слева (42% ширины, до 580px) */
    /* Правая часть (Центр + Правый сайдбар) */
    
    .product-page .product-cart-form__columns {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        gap: 24px !important;
        width: 100% !important;
    }
    .product-page .product-cart-form__columns-main {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        padding: 0 !important;
    }
    .product-page .product-cart-form__columns-additional {
        flex: 0 0 370px !important;
        width: 370px !important;
        max-width: 370px !important;
        margin-left: 0 !important;
    }
}

/* --- РЕЖИМ 2: СУЖЕННОЕ ОКНО БРАУЗЕРА / НОУТБУК / ПЛАНШЕТ (768px – 1279px) — 2 колонки точно как на демо-сайте NovaShop! --- */
/* Слева липкое фото (46%), справа в одну ровную колонку идут Заголовок + Характеристики, а СРАЗУ ПОД НИМИ на 100% ширины правой колонки — Оптовые цены, Покупка и Доставка! */
@media (min-width: 768px) and (max-width: 1279px) {
    .product-page .product-cart-form__container {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 24px !important;
        width: 100% !important;
    }
    
    /* Внутри правой колонки выстраиваем Характеристики и Оптовые цены строго друг под другом на 100% ширины без дыры слева! */
    .product-page .product-cart-form__columns {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
    }
    .product-page .product-cart-form__columns-main,
    .product-page .product-cart-form__columns-additional {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
    }
}

/* --- РЕЖИМ 3: МОБИЛЬНЫЕ УСТРОЙСТВА (< 768px) — 1 колонка, крупное фото по центру и ОТЦЕНТРОВАННЫЕ ПОСЕРЕДИНЕ миниатюры --- */
@media (max-width: 767px) {
    .product-page .product-cart-form__container {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }
    .product-page .product-cart-form__container-content,
    .product-page .product-cart-form__columns,
    .product-page .product-cart-form__columns-main,
    .product-page .product-cart-form__columns-additional {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    /* Центруем ряд миниатюр строго ПОСЕРЕДИНЕ под главным фото, чтобы они не жались влево и не обрезались! */
}

/* Шапка хлебных крошек и правой панели всегда разнесена по краям (слева крошки, справа артикул и кнопки), не сваливаясь в центр */
@media (min-width: 768px) {
    .content__breadcrumbs {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
    }
    .breadcrumbs-add {
        margin-left: auto !important;
        flex-shrink: 0 !important;
    }
}
/* ====================================================================
   OZON-GRADE FULL-WIDTH ADAPTIVE PHOTO & CLEAN SPECS GRID
   ==================================================================== */

/* 1. Полностью убираем белую коробку-паспарту, квадратный зажим 1:1 и зажим высоты 380px у главного фото */

/* Сама фотография занимает 100% ширины от края до края со скруглением 16px прямо на картинке (как на Ozon!) */

/* Миниатюры слева на десктопе (>=768px): пропорция 3:4 (62x82px), object-fit: cover без белых полос */

/* На мобилке (<768px) убираем лишние поля у карточки фото, чтобы фото шло во всю ширину без белой рамки вокруг */

/* Шапка «О товаре» и компактная 2-колоночная сетка характеристик */
.bbl-specs-heading-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin: 18px 0 8px !important;
}
.bbl-specs-heading {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 !important;
}
.bbl-scroll-to-desc {
    display: inline-flex !important;
    align-items: center !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    padding: 4px 11px !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
}
.bbl-scroll-to-desc:hover {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}
@media (min-width: 768px) {
    .product-short-features .product-features .product-feature {
        display: grid !important;
        grid-template-columns: 45% 55% !important;
        gap: 12px !important;
        align-items: baseline !important;
    }
    .product-short-features .product-feature__value,
    .product-short-features .product-feature__value * {
        text-align: left !important;
    }
}
/* ====================================================================
   FIX MAIN PHOTO & THUMBNAILS POSITIONING (RESTORE HEIGHT & NATURAL FLOW)
   ==================================================================== */

/* Миниатюры слева: фиксируем 100% высоту внутри контейнера */
/* ====================================================================
   1. АДАПТИВНЫЙ РАЗМЕР ФОТО ПОД ЛЮБОЙ МОНИТОР (OZON VIEWPORT-SAFE)
   ==================================================================== */

/* ====================================================================
   3. ЧИСТЫЕ КАРТОЧКИ СЛАЙДЕРА OZON-GRADE («РЕКОМЕНДУЕМ ТАКЖЕ / С ЭТИМ ТОВАРОМ»)
   ==================================================================== */
/* 1) Скрываем внутри карточек слайдера статус «В наличии» и плашку «Бонусы» */

/* 2) Нежирный аккуратный шрифт названия в 2 строки */

/* 3) Сердечко «В избранное» в правом верхнем углу поверх фото */

/* 4) Кнопка «В корзину» на всю ширину карточки в цвете var(--primary-color) */
/* ====================================================================
   UNIFIED DESIGN SYSTEM (ROUNDING VARS, BUTTONS, TABS, CAROUSEL)
   ==================================================================== */

/* 1. Привязываем все кнопки и инпуты карточки товара к штатной настройке скругления из админки NovaShop: var(--inputs-buttons-border-radius, 12px) */
.product-page .bbl-buybox-btn,
    .product-page .bbl-buybox-stepper-wrap .quantity,
    .product-page .b2b-dig-more-btn,
    .product-page .b2b-calc-channel-btn,
    .product-page .b2b-calc-field__input,
    .product-page .content-tabs .tabs__tab {
    border-radius: var(--inputs-buttons-border-radius, 12px) !important;
}

/* Конфликтующие синие и градиентные стили buybox удалены: канон находится в блоке BOBOLED UNIFIED ACTIONS в конце файла. */

/* 3. Активные вкладки и каналы калькулятора сохраняют существующее поведение; цвет кнопок здесь не меняется. */
.product-page .content-tabs .tabs__tab {
    font-family: Inter, -apple-system, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 9px 18px !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: none !important;
    transition: all 0.15s ease !important;
}
.product-page .content-tabs .tabs__tab_selected,
.product-page .content-tabs .tabs__tab:hover {
    background: var(--primary-color) !important;
    color: #ffffff !important;
}
.product-page .b2b-calc-channel-btn.is-active {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
}

/* 4. Убираем старое ограничение height: 352px у колонки миниатюр слева на десктопе, из-за которого 5-я миниатюра обрезалась пополам! */

/* 5. В слайдере «Рекомендуем также» делаем все фотографии единого формата без белых дыр по бокам (чтобы сердечко всегда лежало на самой фотографии, а не в белой пустоте) */
/* ====================================================================
   FIXES AFTER COMMIT 1312399 (SLIDER BUTTONS & FAVORITES, THUMBS, DESC)
   ==================================================================== */

/* 1. Возвращаем штатные сердечки и контролы в слайдере «Рекомендуем также» (без самодельных кружков) */

/* 2. Фотографии в карточках «Рекомендуем также»: object-fit: contain (не обрезать фото!) */

/* 4. Миниатюры слева на десктопе: помещаются все 6 миниатюр без обрезки снизу */

/* 5. Миниатюры на мобилке: аккуратная квадратная форма 52x52px с отступом сверху 12px */

/* 6. Нормальное форматирование и переносы строк внутри вкладки «Описание» */
.product-page__description {
    font-size: 14.5px !important;
    line-height: 1.65 !important;
    color: #334155 !important;
}
.product-page__description p,
.product-page__description ul,
.product-page__description ol,
.product-page__description div {
    display: block !important;
    margin-bottom: 10px !important;
}
.product-page__description li {
    display: list-item !important;
    margin-bottom: 4px !important;
    margin-left: 18px !important;
}
/* ====================================================================
   TASK 1: ИСПРАВЛЕНИЕ КНОПКИ «В КОРЗИНУ» И СЕРДЕЧКА В «РЕКОМЕНДУЕМ ТАКЖЕ»
   ==================================================================== */
/* 1) Скрываем любое дублирующее сердечко поверх фотографии */

/* 2) Нижний ряд: кнопка «В корзину» на всю ширину + одно аккуратное сердечко справа */

/* ====================================================================
   TASK 3: ЕДИНЫЙ СТИЛЬ МОБИЛЬНЫХ АККОРДЕОНОВ (<768px)
   (ОПИСАНИЕ, ХАРАКТЕРИСТИКИ, КАЛЬКУЛЯТОР ПРИБЫЛИ, ЦИФРОВЫЕ ТОВАРЫ)
   ==================================================================== */

/* Скрываем десктопные элементы аккордеона на больших экранах */
@media (min-width: 768px) {
    .b2b-mob-acc-controls,
    .b2b-dig-mob-acc-controls {
        display: none !important;
    }
}

/* Мобильный аккордеон (<768px) */
@media (max-width: 767px) {
    /* 1. Штатные вкладки Описание / Характеристики */
    .responsive-tabs__tab-header-container {
        background: #ffffff !important;
        border-radius: 14px !important;
        border: 1px solid #eef2f6 !important;
        padding: 14px 16px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        cursor: pointer !important;
        margin-bottom: 10px !important;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
    }
    .responsive-tabs__tab-header-text-container {
        font-family: Inter, -apple-system, sans-serif !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #0f172a !important;
        line-height: 1.3 !important;
    }
    .responsive-tabs__tab-header-arrow {
        color: #64748b !important;
        transition: transform 0.2s ease !important;
    }
    .responsive-tabs__tab-container_selected .responsive-tabs__tab-header-arrow {
        transform: rotate(90deg) !important;
    }

    /* 2. Калькулятор прибыли на мобилке */
    .b2b-calc-wrap {
        margin: 20px 0 !important;
    }
    .b2b-calc-card {
        background: #ffffff !important;
        border-radius: 14px !important;
        border: 1px solid #eef2f6 !important;
        padding: 0 !important;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
        overflow: hidden !important;
        gap: 0 !important;
    }
    .b2b-calc-top-bar {
        background: #ffffff !important;
        padding: 14px 16px !important;
        margin: 0 !important;
        border-bottom: none !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        cursor: pointer !important;
        flex-wrap: nowrap !important;
    }
    .b2b-calc-top-bar__left {
        gap: 10px !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }
    .b2b-calc-top-bar__icon {
        width: 32px !important;
        height: 32px !important;
        border-radius: 8px !important;
    }
    .b2b-calc-top-bar__icon svg {
        width: 17px !important;
        height: 17px !important;
    }
    .b2b-calc-top-bar__title {
        font-family: Inter, -apple-system, sans-serif !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #0f172a !important;
    }
    .b2b-calc-top-bar__subtitle {
        display: none !important;
    }
    .b2b-mob-acc-controls {
        display: inline-flex !important;
        align-items: center !important;
        gap: 10px !important;
        flex: 0 0 auto !important;
        margin-left: auto !important;
    }
    .b2b-mob-acc-badge {
        display: inline-flex !important;
        align-items: center !important;
        background: #ecfdf5 !important;
        border: 1px solid #a7f3d0 !important;
        color: #059669 !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        padding: 3px 8px !important;
        border-radius: 9999px !important;
        white-space: nowrap !important;
    }
    .b2b-mob-acc-arrow {
        font-size: 18px !important;
        line-height: 1 !important;
        color: #64748b !important;
        transition: transform 0.2s ease !important;
        display: inline-block !important;
    }
    /* Скрываем тело калькулятора по умолчанию на мобилке */
    .b2b-calc-card .b2b-calc-top-bar__channels,
    .b2b-calc-card .b2b-calc-steps-row,
    .b2b-calc-card .b2b-calc-bar-block,
    .b2b-calc-card .b2b-calc-settings-toggle,
    .b2b-calc-card .b2b-calc-settings-box {
        display: none !important;
    }
    /* Когда открыт .is-mob-open */
    .b2b-calc-card.is-mob-open .b2b-calc-top-bar {
        border-bottom: 1px solid #f1f5f9 !important;
    }
    .b2b-calc-card.is-mob-open .b2b-mob-acc-arrow {
        transform: rotate(90deg) !important;
    }
    .b2b-calc-card.is-mob-open {
        padding: 0 0 16px 0 !important;
    }
    .b2b-calc-card.is-mob-open .b2b-calc-top-bar__channels {
        display: grid !important;
        grid-template-columns: repeat(3, auto) !important;
        padding: 14px 14px 0 !important;
    }
    .b2b-calc-card.is-mob-open .b2b-calc-steps-row {
        display: grid !important;
        padding: 14px 14px 0 !important;
    }
    .b2b-calc-card.is-mob-open .b2b-calc-bar-block {
        display: block !important;
        padding: 14px 14px 0 !important;
    }
    .b2b-calc-card.is-mob-open .b2b-calc-settings-toggle {
        display: inline-flex !important;
        margin: 12px 14px 0 !important;
    }
    .b2b-calc-card.is-mob-open .b2b-calc-settings-box.is-open {
        display: flex !important;
        padding: 12px 14px 0 !important;
    }

    /* 3. Цифровые товары для селлеров на мобилке */
    .b2b-dig-wrap {
        margin: 20px 0 !important;
    }
    .b2b-dig-head {
        background: #ffffff !important;
        border-radius: 14px !important;
        border: 1px solid #eef2f6 !important;
        padding: 14px 16px !important;
        margin-bottom: 10px !important;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        cursor: pointer !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
    }
    .b2b-dig-head__text-wrap {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }
    .b2b-dig-eyebrow {
        display: none !important;
    }
    .b2b-dig-title {
        font-family: Inter, -apple-system, sans-serif !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #0f172a !important;
        margin: 0 !important;
        line-height: 1.3 !important;
    }
    .b2b-dig-subtitle {
        display: none !important;
    }
    .b2b-dig-head .b2b-dig-gift-banner {
        display: none !important;
    }
    .b2b-dig-mob-acc-controls {
        display: inline-flex !important;
        align-items: center !important;
        gap: 10px !important;
        flex: 0 0 auto !important;
        margin-left: auto !important;
    }
    .b2b-dig-mob-gift-pill {
        display: inline-flex !important;
        align-items: center !important;
        background: #eff6ff !important;
        border: 1px solid #bfdbfe !important;
        color: var(--primary-color) !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        padding: 3px 8px !important;
        border-radius: 9999px !important;
        white-space: nowrap !important;
    }
    .b2b-dig-mob-acc-arrow {
        font-size: 18px !important;
        line-height: 1 !important;
        color: #64748b !important;
        transition: transform 0.2s ease !important;
        display: inline-block !important;
    }
    /* Скрываем сетку карточек по умолчанию на мобилке */
    #b2b-digital-upsell-module .b2b-dig-guides-grid {
        display: none !important;
    }
    /* Когда открыт .is-mob-open */
    #b2b-digital-upsell-module.is-mob-open .b2b-dig-mob-acc-arrow {
        transform: rotate(90deg) !important;
    }
    #b2b-digital-upsell-module.is-mob-open .b2b-dig-guides-grid {
        display: flex !important;
    }
    #b2b-digital-upsell-module.is-mob-open .b2b-dig-head {
        border-radius: 14px 14px 0 0 !important;
        margin-bottom: 0 !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }
}
/* ====================================================================
   HOTFIX: 4 MOBILE BUGS (CALCULATOR LAYOUT, DIGITAL UPSELL, ACCORDIONS, SLIDER FAVORITES)
   ==================================================================== */

/* 1. Верхнее сердечко в слайдерах: скрываем ТОЛЬКО на десктопе, а на мобилке возвращаем штатное поведение NovaShop */

/* 2. Десктоп/Мобилка переключение заголовков цифровых товаров */
.b2b-dig-title-mob {
    display: none !important;
}
.b2b-dig-title-desk {
    display: inline !important;
}

@media (max-width: 767px) {
    .b2b-dig-title-desk {
        display: none !important;
    }
    .b2b-dig-title-mob {
        display: inline !important;
        font-family: Inter, -apple-system, sans-serif !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #0f172a !important;
        white-space: nowrap !important;
    }
    /* Скрываем плашку подарка в мобильной шапке до 30 000 ₽ */
    #b2b-dig-mob-gift-pill {
        display: none !important;
    }
    #b2b-dig-mob-gift-pill.is-unlocked {
        display: inline-flex !important;
    }
}

/* 3. Калькулятор прибыли на мобилке (<768px): идеальная 2-строчная структура в развернутом виде */
@media (max-width: 767px) {
    .b2b-calc-card {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .b2b-calc-header {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        box-sizing: border-box !important;
        gap: 8px !important;
    }
    .b2b-calc-top-bar {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 14px 16px !important;
    }
    .b2b-calc-top-bar__title {
        white-space: nowrap !important;
    }
    
    /* Свернутое состояние: каналы скрыты */
    .b2b-calc-card:not(.is-mob-open) .b2b-calc-channels,
    .b2b-calc-card:not(.is-mob-open) .b2b-calc-top-bar__channels {
        display: none !important;
    }

    /* Развернутое состояние: пилюля скрывается, шапка в колонку, каналы отдельной 2-й строкой */
    .b2b-calc-card.is-mob-open #b2b-mob-profit-preview {
        display: none !important;
    }
    .b2b-calc-card.is-mob-open .b2b-calc-top-bar {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        width: 100% !important;
    }
    .b2b-calc-card.is-mob-open .b2b-calc-channels,
    .b2b-calc-card.is-mob-open .b2b-calc-top-bar__channels {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    .b2b-calc-card.is-mob-open .b2b-calc-channels .b2b-calc-pill-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 8px 4px !important;
        font-size: 11.5px !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
}

/* 4. Вкладки «Описание» и «Характеристики» на мобилке (<768px): убираем вылет стрелочки и двойные рамки */
@media (max-width: 767px) {
    .product-page__content {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin-top: 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .responsive-tabs {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .responsive-tabs__tab-container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        background: #ffffff !important;
        border: 1px solid #eef2f6 !important;
        border-radius: 14px !important;
        margin-bottom: 12px !important;
        overflow: hidden !important;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
    }
    .responsive-tabs__tab-header-container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 14px 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        background: #ffffff !important;
        border: none !important;
        box-shadow: none !important;
    }
    .responsive-tabs__tab-header-text-container {
        font-family: Inter, -apple-system, sans-serif !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #0f172a !important;
        line-height: 1.3 !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }
    .responsive-tabs__tab-header-arrow-container {
        flex-shrink: 0 !important;
        margin-left: 12px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .responsive-tabs__tab-content-container {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 16px 16px 16px !important;
    }
}


/* ====================================================================
   TASK 1: МОБИЛЬНЫЕ АККОРДЕОНЫ (<768px) - СТИЛИЗАЦИЯ И РАЗДЕЛЕНИЕ КОРОБОК
   ==================================================================== */
@media (max-width: 767px) {
    /* 1. Убираем рамку-коробку вокруг всего модуля цифровых товаров на мобилке */
    #b2b-digital-upsell-module,
    .b2b-dig-wrap.b2b-digital-upsell,
    .b2b-dig-wrap {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* 2. Стильная карточка заголовка «Цифровые товары» с нежно-голубым градиентом */
    .b2b-dig-head {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        box-sizing: border-box !important;
        background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%) !important;
        border: 1px solid #bae6fd !important;
        border-radius: 14px !important;
        padding: 14px 18px !important;
        margin: 0 !important;
        cursor: pointer !important;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
    }
    #b2b-digital-upsell-module.is-mob-open .b2b-dig-head {
        border-radius: 14px 14px 0 0 !important;
        border-bottom: 1px solid #bae6fd !important;
    }
    #b2b-digital-upsell-module.is-mob-open .b2b-dig-guides-grid {
        background: #ffffff !important;
        border: 1px solid #bae6fd !important;
        border-top: none !important;
        border-radius: 0 0 14px 14px !important;
        padding: 16px 14px 14px !important;
        margin: 0 !important;
    }

    /* Иконка и заголовок цифровых товаров */
    .b2b-dig-title-mob {
        display: inline-flex !important;
        align-items: center !important;
        gap: 10px !important;
        font-family: Inter, -apple-system, sans-serif !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        color: var(--primary-color) !important;
    }
    .b2b-dig-mob-icon {
        width: 32px !important;
        height: 32px !important;
        border-radius: 9px !important;
        background: #ffffff !important;
        color: var(--primary-color) !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12) !important;
    }
    .b2b-dig-mob-count-pill {
        display: inline-flex !important;
        align-items: center !important;
        background: #ffffff !important;
        border: 1px solid #bae6fd !important;
        color: var(--primary-color) !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        padding: 3px 8px !important;
        border-radius: 9999px !important;
        white-space: nowrap !important;
    }

    /* 3. Карточка «Калькулятор прибыли» в свернутом виде (нежно-мятный градиент) */
    .b2b-calc-wrap {
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
    }
    .b2b-calc-card:not(.is-mob-open) {
        background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%) !important;
        border: 1px solid #bbf7d0 !important;
        border-radius: 14px !important;
        padding: 12px 18px !important;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
        min-height: 56px !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        margin: 0 !important;
    }
    .b2b-calc-card:not(.is-mob-open) .b2b-calc-top-bar {
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        min-height: auto !important;
    }
    .b2b-calc-card:not(.is-mob-open) .b2b-calc-top-bar__icon {
        width: 32px !important;
        height: 32px !important;
        border-radius: 8px !important;
        background: #dcfce7 !important;
        color: #16a34a !important;
    }
    .b2b-calc-card:not(.is-mob-open) .b2b-calc-top-bar__title {
        color: #166534 !important;
        font-weight: 700 !important;
    }

    /* Развернутый калькулятор */
    .b2b-calc-card.is-mob-open {
        background: #ffffff !important;
        border: 1px solid #bbf7d0 !important;
        border-radius: 14px !important;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
        padding: 0 0 16px 0 !important;
        margin: 0 !important;
    }
    .b2b-calc-card.is-mob-open .b2b-calc-top-bar {
        background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%) !important;
        border-radius: 14px 14px 0 0 !important;
        border-bottom: 1px solid #dcfce7 !important;
        padding: 14px 18px !important;
    }
}

/* ====================================================================
   TASK 2: СТАНДАРТИЗАЦИЯ СТРЕЛОЧЕК И ОТСТУПОВ ВО ВСЕХ 4 АККОРДЕОНАХ (<768px)
   ==================================================================== */
@media (max-width: 767px) {
    /* Фиксируем отступы и выравнивание контейнера вкладок Описание / Характеристики */
    .responsive-tabs__tab-header-container {
        padding: 15px 18px !important;
        min-height: 54px !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        position: relative !important;
    }
    .responsive-tabs__tab-header-text-container {
        flex: 1 1 auto !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .responsive-tabs__tab-header-arrow-container {
        position: static !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        margin-left: 12px !important;
        flex: 0 0 20px !important;
        width: 20px !important;
        height: 20px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .responsive-tabs__tab-header-arrow {
        width: 16px !important;
        height: 16px !important;
        display: block !important;
        color: #94a3b8 !important;
        transition: transform 0.25s ease !important;
    }
    .responsive-tabs__tab-container_selected .responsive-tabs__tab-header-arrow {
        transform: rotate(90deg) !important;
    }

    /* Стрелочки калькулятора и цифровых товаров */
    .b2b-mob-acc-arrow,
    .b2b-dig-mob-acc-arrow {
        width: 16px !important;
        height: 16px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #94a3b8 !important;
        transition: transform 0.25s ease !important;
        flex-shrink: 0 !important;
    }
    .b2b-calc-card.is-mob-open .b2b-mob-acc-arrow,
    #b2b-digital-upsell-module.is-mob-open .b2b-dig-mob-acc-arrow {
        transform: rotate(90deg) !important;
    }
}

/* ====================================================================
   TASK 3: ЕДИНЫЕ ВЕРТИКАЛЬНЫЕ ОТСТУПЫ МЕЖДУ ВСЕМИ СЕКЦИЯМИ (12px / 20px)
   ==================================================================== */
/* Десктоп (>=768px): ровно 20px */
@media (min-width: 768px) {
    .product-page .blocks_product {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    .product-page .blocks_product > .blocks__item,
    .product-page__content,
    .b2b-calc-wrap,
    .b2b-dig-wrap,
    #crossselling,
    #upselling,
    .bbl-cross-sell-block {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    /* Если блоки идут подряд не через flex gap */
    .b2b-calc-wrap + .b2b-dig-wrap,
    .b2b-dig-wrap + .product-page__content,
    .product-page__content + .b2b-calc-wrap,
    .product-page__content + #crossselling,
    .b2b-dig-wrap + #crossselling {
        margin-top: 20px !important;
    }
}

/* Мобилка (<768px): ровно 12px */
@media (max-width: 767px) {
    .product-page .blocks_product {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }
    .product-page .blocks_product > .blocks__item,
    .product-page__content,
    .responsive-tabs,
    .b2b-calc-wrap,
    .b2b-dig-wrap,
    #crossselling,
    #upselling,
    .bbl-cross-sell-block {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
    }
    .responsive-tabs__tab-container {
        margin-bottom: 12px !important;
    }
    .responsive-tabs__tab-container:last-child {
        margin-bottom: 0 !important;
    }
    /* Гарантия расстояния 12px между блоками */
    .product-page__content + .b2b-calc-wrap,
    .b2b-calc-wrap + .b2b-dig-wrap,
    .b2b-dig-wrap + #crossselling,
    .b2b-calc-wrap + #crossselling,
    #crossselling + #upselling {
        margin-top: 12px !important;
    }
}

/* ====================================================================
   TASK 4: СЕРДЕЧКИ В КАРТОЧКАХ СЛАЙДЕРОВ («РЕКОМЕНДУЕМ ТАКЖЕ» И ДР.)
   ==================================================================== */
/* 1. Верхние сердечки на фото СКРЫВАЕМ НА ВСЕХ УСТРОЙСТВАХ (десктоп + мобилка) */
#crossselling .product-favorite.product-favorite_top,
    #upselling .product-favorite.product-favorite_top {
    display: none !important;
}

/* ====================================================================
   PRODUCT THUMB POLISH (SLIDERS & CATALOG)
   ==================================================================== */

/* 1. Сделать степпер [- 10 +] в карточках (.product-thumb .quantity) точно такой же высоты и скругления, как кнопка «В корзину» */
.product-thumb .quantity,
.product-thumb .product-add-to-cart__quantity.quantity {
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    border-radius: var(--inputs-buttons-border-radius, 20px) !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    min-width: 0 !important;
    width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
}
.product-thumb .quantity .quantity__button {
    height: 38px !important;
    width: 38px !important;
    flex: 0 0 38px !important;
    font-size: 14px !important;
}
.product-thumb .quantity .quantity__input-box {
    height: 38px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
}
.product-thumb .quantity .quantity__field,
.product-thumb .quantity input.quantity__input {
    height: 38px !important;
    line-height: 38px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}
@media (max-width: 767px) {
    .product-thumb .quantity,
    .product-thumb .product-add-to-cart__quantity.quantity {
        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
    }
    .product-thumb .quantity .quantity__button,
    .product-thumb .quantity .quantity__input-box,
    .product-thumb .quantity .quantity__field,
    .product-thumb .quantity input.quantity__input {
        height: 34px !important;
        line-height: 34px !important;
    }
}

/* 2. Выстроить «В наличии» и «Бонусы» в 1 строчку в карточках товаров (.product-thumb) */
.product-thumb__available,
.product-thumb__bonuses,
.product-thumb .product-available,
.product-thumb .bonus-block {
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
    width: auto !important;
}
.product-thumb__available {
    margin-right: 8px !important;
    margin-bottom: 4px !important;
}
.product-thumb__bonuses {
    margin-bottom: 4px !important;
}


/* ====================================================================
   BOBOLED BUYBOX CARD V4.2 (LOVABLE CANON)
   ==================================================================== */
.bbl-card-buybox {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
}

/* 1. Верхняя строка количества */
.bbl-buybox-qty-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
}
.bbl-buybox-qty-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    min-width: 0 !important;
}
.bbl-buybox-qty-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.2 !important;
}
.bbl-buybox-step-label {
    white-space: nowrap !important;
    font-size: 12.5px !important;
    color: #64748b !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

/* Белая капсула степпера */
.bbl-buybox-stepper-wrap {
    flex-shrink: 0 !important;
}
.bbl-buybox-stepper-wrap .quantity {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 42px !important;
    background: #ffffff !important;
    border-radius: 9999px !important;
    border: 1px solid #cbd5e1 !important;
    overflow: hidden !important;
    min-width: 132px !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}
.bbl-buybox-stepper-wrap .quantity__button {
    width: 38px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    color: #0f172a !important;
    cursor: pointer !important;
    transition: background 0.15s ease, color 0.15s ease !important;
    border: none !important;
    outline: none !important;
    user-select: none !important;
}
.bbl-buybox-stepper-wrap .quantity__button:hover {
    background: #f1f5f9 !important;
    color: var(--primary-color) !important;
}
.bbl-buybox-stepper-wrap .quantity__field {
    width: 48px !important;
    height: 40px !important;
    background: transparent !important;
    border: none !important;
    text-align: center !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    padding: 0 !important;
    outline: none !important;
}

/* 2. Бирюзовая плашка следующей ступени с кнопкой «Добрать» */
.bbl-buybox-tier-box {
    background: linear-gradient(135deg, #d5f5f6 0%, #dcfce7 100%) !important;
    border: 1px solid #a7f3d0 !important;
    border-radius: 12px !important;
    padding: 11px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}
.bbl-tier-box-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
}
.bbl-buybox-tier-tip {
    font-size: 12.5px !important;
    color: #0f172a !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}
.bbl-buybox-tier-tip strong {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}
/* Цвета «Добрать» перенесены в единый блок BOBOLED UNIFIED ACTIONS; размеры и JS не меняются. */
.bbl-tier-progress-track {
    width: 100% !important;
    height: 5px !important;
    background: rgba(255, 255, 255, 0.75) !important;
    border-radius: 9999px !important;
    overflow: hidden !important;
}
.bbl-tier-progress-fill {
    height: 100% !important;
    background: linear-gradient(90deg, #4f46e5 0%, #06b6d4 55%, #10b981 100%) !important;
    border-radius: 9999px !important;
    transition: width 0.25s ease !important;
}

/* 3. Серый финансовый блок расчета Lovable */
.bbl-buybox-summary-card {
    background: #f8fafc !important;
    border: 1px solid #eef2f6 !important;
    border-radius: 14px !important;
    padding: 14px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}
.bbl-summary-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    font-size: 13px !important;
}
.bbl-summary-label {
    color: #64748b !important;
    font-weight: 500 !important;
}
.bbl-summary-val {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
}
.bbl-summary-discount-val {
    font-size: 13.5px !important;
    font-weight: 700 !important;
}
.bbl-buybox-total-main {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
}
.bbl-card-buybox .bbl-opt-total {
    display: inline-block !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.bbl-card-buybox .bbl-opt-total-value {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.1 !important;
    font-variant-numeric: tabular-nums !important;
}
.bbl-buybox-min-order {
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    background: #fff1f2 !important;
    color: #e11d48 !important;
    border: 1px solid #fecdd3 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 7px 12px !important;
    border-radius: 10px !important;
    margin-top: 2px !important;
}

/* 4. Кнопка «В корзину» */
.bbl-buybox-actions {
    width: 100% !important;
    margin-top: 4px !important;
}

/* ====================================================================
   BUYBOX HOTFIXES (PROFIT BADGE HIDE, SPACES, TIER TIP)
   ==================================================================== */
#bbl-buybox-profit-badge,
.bbl-buybox-profit-badge {
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

#bbl-buybox-tier-tip,
.bbl-buybox-tier-tip {
    display: block !important;
    white-space: normal !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 12.5px !important;
    color: #0f172a !important;
    line-height: 1.35 !important;
}
#bbl-buybox-tier-tip strong,
.bbl-buybox-tier-tip strong {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

/* ====================================================================
   BOBOLED GALLERY RESTORATION (EXACT COMMIT 7419a65 STANDARD)
   ==================================================================== */
.product-page .product-images__images-container,
.product-page .product-images__images,
.product-page .product-images__image,
.product-page .product-images__image .image-box,
.product-page .product-images__image a.image-box_fill {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.product-page .product-images__image .image-box img,
.product-page .product-images__image a.image-box_fill img,
.product-page .product-images__image img {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: min(600px, calc(100vh - 180px)) !important;
    object-fit: contain !important;
    border-radius: 16px !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Миниатюры слева: вертикальные 3:4 (62x78px), как было в 7419a65 */
@media (min-width: 768px) {
    .product-page .product-images_thumbs-position_left .product-images__thumb-slide {
        width: 62px !important;
        height: 84px !important;
        padding-bottom: 6px !important;
    }
    .product-page .product-images_thumbs-position_left .product-images__thumb {
        width: 62px !important;
        height: 78px !important;
        border-radius: 10px !important;
        overflow: hidden !important;
        border: 1.5px solid #e2e8f0 !important;
    }
    .product-page .product-images_thumbs-position_left .swiper-slide-thumb-active > .product-images__thumb,
    .product-page .product-images_thumbs-position_left .product-images__thumb_focus {
        border: 2px solid var(--primary-color) !important;
    }
    .product-page .product-images_thumbs-position_left .product-images__thumb img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
}
/* === BOBOLED BRANDING & DESIGN SYSTEM BINDING (NovaShop Native SSOT) === */
/* Привязка кастомных модулей к штатным переменным NovaShop:
   var(--primary-color), var(--primary-color-hover), var(--accent-color),
   var(--inputs-buttons-border-radius), var(--font-family). */

/* Фирменная плашка Акции/Скидки */
.badge--discount,
.b-badge--sale,
.badge-discount,
.autobadge-discount,
.badge-sale,
.b-product-card__badge--sale,
.sticker-sale {
  background: var(--badge-discount-color, var(--color-accent-magenta, #FF2EDB)) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border-radius: var(--inputs-buttons-border-radius, 6px) !important;
  box-shadow: 0 2px 8px rgba(255, 46, 219, 0.35) !important;
}

/* Типографика заголовков и цен — привязана к шрифту темы */
h1, h2, h3, 
.b-product-card__price, 
.price, 
.product-price,
.bbl-opt-price-cell,
.bbl-cart-unit-price .bbl-unit-val,
.cart-item__total-price {
  font-family: var(--font-family, var(--font-family, 'Inter', sans-serif), sans-serif) !important;
}

/* Фокус-стайты для доступности */
.btn-primary:focus-visible,
.button.btn-primary:focus-visible {
  outline: 2px solid var(--primary-color) !important;
  outline-offset: 2px !important;
}

/* === HIDE THEME PREVIEW BAR PERMANENTLY === */
.theme-preview,
div.theme-preview,
#wa-theme-preview-bar,
.wa-theme-preview-bar,
div[style*="z-index: 100500"],
div[style*="z-index: 99999"],
div[style*="recovery-mode-background"],
div:has(.js-stop-preview-theme),
div[class*="preview-bar"],
div:has(> a[href*="theme_preview=close"]) {
    display: none !important;
    height: 0 !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ============================================================
   ШТАТНЫЕ ЭЛЕМЕНТЫ: АККУРАТНЫЕ ГРАНИЦЫ И СНЯТИЕ ДУБЛИРУЮЩИХСЯ РАМОК
   ============================================================ */

/* 1. Футер: аккуратный верхний кант с градиентом темы */
footer,
.index__footer,
.footer,
.footer.footer_blocks,
.b-footer,
.site-footer,
.shop-footer {
  border-top: none !important;
  border-image: none !important;
}

/* Снимаем границы со всех вложенных элементов футера (убираем лишние полосы) */
footer *,
.index__footer *,
.footer *,
.b-footer *,
.site-footer *,
.shop-footer * {
  border-top: none !important;
  border-bottom: none !important;
}

footer a:hover,
.footer a:hover,
.footer-rows__row a:hover {
  color: var(--primary-color) !important;
}

/* 2. Меню категорий: чистое оформление без лишних рамок */
.header-bottom-bar *,
.header__bottom-bar *,
.header-horizontal-menu *,
.horizontal-menu-wrapper * {
  border-bottom: none !important;
}

.header-horizontal-menu a:hover,
.horizontal-menu-wrapper a:hover,
.b-horizontal-nav__link:hover,
.header-bottom-bar-links__link:hover,
.header-bottom-bar a:hover,
.hide-links-menu__link:hover {
  color: var(--primary-color) !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

.header-bottom-bar-links__link::after,
.header-bottom-bar a::after,
.hide-links-menu__link::after {
  display: none !important;
}

/* Скрытие преимуществ */
.advantages,
.b-advantages,
.product-advantages,
.blocks__item-advantages,
.advantages-holder,
.advantage,
.advantages_blocks-view {
    display: none !important;
}

/* Меню категорий: скрытие аватарок в горизонтальном баре */
.header-bottom-bar .icon-box__icon,
.header-bottom-bar-links__link-image,
.header-horizontal-catalog .icon-box__icon,
.header-horizontal-catalog img {
    display: none !important;
}

.header-bottom-bar__container-links {
    flex-direction: row !important;
}
.header-bottom-bar-links_additional {
    order: -1 !important;
    margin-right: 12px !important;
}

.header-bottom-bar a[href*="sales"],
.header-bottom-bar a[href*="akcii"],
.header-bottom-bar a[href*="new"],
.header-bottom-bar a[href*="novinki"] {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.header-bottom-bar a:hover,
.header-bottom-bar .header-bottom-bar-links__link:hover {
    color: var(--primary-color) !important;
}

/* ==========================================================================
   МОДУЛЬ 1: КАРТОЧКА ТОВАРА — ПРИВЯЗКА К ПЕРЕМЕННЫМ ТЕМЫ NOVASHOP
   ========================================================================== */

/* 1.1 Главная кнопка «В корзину» */
body .product-page .product-add-to-cart__button,
body .product-page .bbl-buybox-btn.product-add-to-cart__button,
body .product-page .bbl-buybox-btn,
body #product-cart-button,
body .s-product-cart__btn,
body .product__add-to-cart-form button[type="submit"],
body .product-add-to-cart button[type="submit"] {
    background: var(--add-to-cart-button-color, var(--primary-color)) !important;
    color: var(--add-to-cart-button-text-color, #FFFFFF) !important;
    font-family: var(--font-family, var(--font-family, 'Inter', sans-serif), sans-serif) !important;
    font-weight: 700 !important;
    border-radius: var(--inputs-buttons-border-radius, 12px) !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
    transition: all 0.2s ease-in-out !important;
}

body .product-page .product-add-to-cart__button:hover:not(:disabled),
body .product-page .bbl-buybox-btn.product-add-to-cart__button:hover:not(:disabled),
body .product-page .bbl-buybox-btn:hover:not(:disabled),
body #product-cart-button:hover:not(:disabled),
body .s-product-cart__btn:hover:not(:disabled),
body .product__add-to-cart-form button[type="submit"]:hover:not(:disabled),
body .product-add-to-cart button[type="submit"]:hover:not(:disabled) {
    background: var(--add-to-cart-button-color-hover, var(--primary-color-hover)) !important;
    color: var(--add-to-cart-button-text-hover-color, #FFFFFF) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18) !important;
    transform: translateY(-1px) !important;
}

body .product-page .bbl-buybox-btn *,
body #product-cart-button *,
body .s-product-cart__btn *,
body .product__add-to-cart-form button[type="submit"] *,
body .product-add-to-cart button[type="submit"] * {
    color: var(--add-to-cart-button-text-color, #FFFFFF) !important;
    fill: var(--add-to-cart-button-text-color, #FFFFFF) !important;
    font-weight: 700 !important;
}

/* 1.2 Кнопка «Добрать» */
body .product-page .bbl-card-buybox .bbl-tier-dobrat-btn,
body .product-page .bbl-card-buybox #bbl-tier-dobrat-btn,
body .bbl-tier-dobrat-btn,
body #bbl-tier-dobrat-btn {
    background: var(--accent-color, #FF2EDB) !important;
    color: #FFFFFF !important;
    font-family: var(--font-family, var(--font-family, 'Inter', sans-serif), sans-serif) !important;
    font-weight: 700 !important;
    border-radius: var(--inputs-buttons-border-radius, 9999px) !important;
    padding: 4px 12px !important;
    font-size: 11.5px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
    transition: all 0.2s ease-in-out !important;
}

body .product-page .bbl-card-buybox .bbl-tier-dobrat-btn:hover,
body .product-page .bbl-card-buybox #bbl-tier-dobrat-btn:hover,
body .bbl-tier-dobrat-btn:hover,
body #bbl-tier-dobrat-btn:hover {
    background: var(--accent-color-hover, var(--primary-color-hover)) !important;
    color: #FFFFFF !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18) !important;
    transform: translateY(-1px) !important;
}

body .product-page .bbl-card-buybox .bbl-tier-dobrat-btn *,
body .bbl-tier-dobrat-btn * {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
}

/* 1.3 Полоса прогресса добора в карточке */
body .product-page #bbl-tier-progress-fill.bbl-tier-progress-fill,
body #bbl-tier-progress-fill,
body .product-page .bbl-tier-progress-fill,
body .bbl-tier-progress-fill {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-color-hover) 100%) !important;
    border-radius: var(--inputs-buttons-border-radius, 9999px) !important;
}

/* 1.4 Активная таблетка канала в «Калькуляторе прибыли» */
body .b2b-calc-pill-btn.is-active,
body .bbl-channel-pill.is-active {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #FFFFFF !important;
    font-family: var(--font-family, var(--font-family, 'Inter', sans-serif), sans-serif) !important;
    font-weight: 700 !important;
    border-radius: var(--inputs-buttons-border-radius, 8px) !important;
}

/* 1.5 Активная вкладка «Описание» и табы в карточке */
body .product-tabs__item.is-active a,
body .product-tabs a.active,
body .list-tabs__item_active .list-tabs__header,
body .tab-pills__item.is-active,
body .nav-tabs > li.active > a,
body .product-tabs__link_active,
body .product-page .tabs__item_active a,
body .product-page .tab.is-active {
    background: var(--primary-color) !important;
    color: #FFFFFF !important;
    border-color: var(--primary-color) !important;
    border-radius: var(--inputs-buttons-border-radius, 8px) !important;
    font-weight: 700 !important;
}

/* 1.6 Ссылки «Условия ->», «Изменить цену и расходы», SKU */
.bbl-buybox-terms-link,
.bbl-edit-expenses-link,
.bbl-calc-edit-link,
a.bbl-buybox-terms-link,
a.bbl-edit-expenses-link,
.bbl-deliv-link,
#b2b-calc-settings-toggle,
.b2b-calc-settings-toggle {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
    transition: color 0.15s ease !important;
}

.bbl-buybox-terms-link:hover,
.bbl-edit-expenses-link:hover,
.bbl-calc-edit-link:hover,
a.bbl-buybox-terms-link:hover,
a.bbl-edit-expenses-link:hover,
.bbl-deliv-link:hover,
#b2b-calc-settings-toggle:hover,
.b2b-calc-settings-toggle:hover {
    color: var(--primary-color-hover) !important;
}

/* 1.7 Активная строка в таблице «Оптовые цены» */
body .product-page .bbl-card-wholesale .bbl-opt-table tbody tr.is-active td,
body .product-page .bbl-card-wholesale .bbl-opt-table tbody tr.is-active:nth-child(even) td,
body .product-page .bbl-card-wholesale .bbl-opt-table tbody tr.is-active:nth-child(odd) td,
body .product-page .bbl-opt-wrapper .bbl-opt-table tbody tr.is-active td,
body .bbl-opt-table tbody tr.is-active td,
body tr.bbl-opt-row.is-active td {
    background: var(--light-color, rgba(49, 118, 209, 0.08)) !important;
    color: var(--dark-color, #0A0F24) !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}
body .product-page .bbl-card-wholesale .bbl-opt-table tbody tr.is-active td:first-child,
body .product-page .bbl-opt-wrapper .bbl-opt-table tbody tr.is-active td:first-child,
body .bbl-opt-table tbody tr.is-active td:first-child,
body tr.bbl-opt-row.is-active td:first-child {
    border-left: 3px solid var(--primary-color) !important;
    box-shadow: none !important;
}
body .product-page .bbl-card-wholesale .bbl-opt-table tbody tr.is-active td.bbl-opt-tier-label,
body .product-page .bbl-card-wholesale .bbl-opt-table tbody tr.is-active td.bbl-opt-price,
body .product-page .bbl-opt-wrapper .bbl-opt-table tbody tr.is-active td:last-child {
    color: var(--dark-color, #0A0F24) !important;
    font-weight: 700 !important;
}

/* 1.8 Блок «С этим товаром также покупают» — 4 карточки на 100% ширины */
#crossselling .products-thumbs,
.bbl-cross-sell-block .products-thumbs {
    grid-template-columns: repeat(4, 1fr) !important;
}
@media (min-width: 1024px) {
    #crossselling .products-thumbs__item,
    .bbl-cross-sell-block .products-thumbs__item,
    #crossselling .products-thumbs__item.swiper-slide,
    .bbl-cross-sell-block .products-thumbs__item.swiper-slide {
        width: 25% !important;
        max-width: 25% !important;
        flex: 0 0 25% !important;
    }
}

/* 1.9 Кнопка избранного и шаринга в карточке */
.product-favorite,
.product-thumb__additional-button.product-favorite,
.product-additional-buttons .product-favorite,
.product-additional-buttons .bbl-share-btn,
.product-thumb__additional-button {
    border-radius: var(--inputs-buttons-border-radius, 10px) !important;
}

/* 1.10 Счётчик количества [-] и [+] в карточке товара */
.quantity__button:hover,
.quantity__minus-button:hover,
.quantity__plus-button:hover,
.bbl-buybox-stepper-wrap .quantity__button:hover,
.qty-btn:hover,
.product-quantity__button:hover {
    color: var(--primary-color) !important;
    fill: var(--primary-color) !important;
    stroke: var(--primary-color) !important;
}

/* ==========================================================================
   МОДУЛЬ 2: ОПТОВАЯ КОРЗИНА — ПРИВЯЗКА К ПЕРЕМЕННЫМ ТЕМЫ NOVASHOP
   ========================================================================== */

/* 2.1 Главная кнопка оформления заказа в корзине */
body .bbl-checkout-btn,
body .cart-summary__button .button,
body .bbl-cart-main-wrapper .button_submit,
body .cart__submit {
    background: var(--primary-color) !important;
    color: #FFFFFF !important;
    font-family: var(--font-family, var(--font-family, 'Inter', sans-serif), sans-serif) !important;
    font-weight: 700 !important;
    border-radius: var(--inputs-buttons-border-radius, 12px) !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
    transition: all 0.2s ease-in-out !important;
}

body .bbl-checkout-btn:hover,
body .cart-summary__button .button:hover,
body .bbl-cart-main-wrapper .button_submit:hover,
body .cart__submit:hover {
    background: var(--primary-color-hover) !important;
    color: #FFFFFF !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18) !important;
    transform: translateY(-1px) !important;
}

body .bbl-checkout-btn * {
    color: #FFFFFF !important;
}

/* 2.2 Прогресс-бар корзины (минимальный заказ / оптовые скидки) */
.bbl-cart-progress-bar,
.bbl-cart-progress-head .bbl-cart-progress-bar {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-color-hover) 100%) !important;
    border-radius: var(--inputs-buttons-border-radius, 8px) !important;
}

.bbl-cart-upsell-tier {
    border-radius: var(--inputs-buttons-border-radius, 12px) !important;
    border-color: var(--primary-color) !important;
}


.bbl-cart-buyer-btn.active .bbl-cart-buyer-text strong {
    color: #FFFFFF !important;
}

/* 2.4 Бейджи квантов и ступеней */
.bbl-cart-multiplicity-badge {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    background: var(--light-color, #f0f9ff) !important;
    border-radius: var(--inputs-buttons-border-radius, 6px) !important;
}

/* 2.5 Кнопка добавления позиции в группе */
.bbl-cart-group-add-btn {
    color: var(--primary-color) !important;
    border-radius: var(--inputs-buttons-border-radius, 8px) !important;
}
.bbl-cart-group-add-btn:hover {
    color: var(--primary-color-hover) !important;
    background: var(--light-color, #f1f5fa) !important;
}

/* ==========================================================================
   МОДУЛЬ 3: ШАГИ ОФОРМЛЕНИЯ / ЧЕКАУТ — ПРИВЯЗКА К ПЕРЕМЕННЫМ ТЕМЫ NOVASHOP
   ========================================================================== */

/* 3.1 Верхний индикатор шагов оформления заказа */
.checkout-steps__step_current {
    background: var(--primary-color) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

.checkout-steps__step_done {
    background: var(--light-color, #ecfdf5) !important;
    color: var(--primary-color) !important;
}

.bbl-checkout-progress__step.is-done .bbl-checkout-progress__num {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #FFFFFF !important;
}

.bbl-checkout-progress__step.is-done .bbl-checkout-progress__label {
    color: var(--primary-color) !important;
}

.bbl-checkout-progress__step.is-active .bbl-checkout-progress__num {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #FFFFFF !important;
}

.bbl-checkout-progress__line.is-done {
    background: var(--primary-color) !important;
}

/* 3.2 Карточки доставки и оплаты */
.checkout-shipping-method,
.checkout-payment-method,
.bbl-payment-card {
    border-radius: var(--inputs-buttons-border-radius, 14px) !important;
}

.checkout-shipping-method_checked,
.checkout-payment-method_checked,
.bbl-payment-card.checkout-payment-method_checked {
    border-color: var(--primary-color) !important;
    background: var(--light-color, #f8fafc) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
}

.checkout-shipping-method_checked .checkout-shipping-method__state,
.bbl-payment-card.checkout-payment-method_checked .checkout-payment-method__state {
    border-color: var(--primary-color) !important;
    background: var(--primary-color) !important;
}

/* 3.3 Мессенджеры в контактных данных */
.bbl-messenger-item {
    border-radius: var(--inputs-buttons-border-radius, 10px) !important;
}

.bbl-messenger-item:has(input:checked) {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 1px var(--primary-color) !important;
}

.bbl-messenger-item input:checked ~ .bbl-messenger-name {
    color: var(--primary-color) !important;
}

/* 3.4 Главная кнопка подтверждения заказа */
#js-order-form .wa-submit-button .wa-button,
#js-order-form button.wa-submit-button,
.bbl-btn-submit-order,
.checkout-step .button_submit,
.step-confirmation .button_submit {
    background: var(--primary-color) !important;
    color: #FFFFFF !important;
    font-family: var(--font-family, var(--font-family, 'Inter', sans-serif), sans-serif) !important;
    font-weight: 700 !important;
    border-radius: var(--inputs-buttons-border-radius, 12px) !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
    transition: all 0.2s ease !important;
}

#js-order-form .wa-submit-button .wa-button:hover,
#js-order-form button.wa-submit-button:hover,
.bbl-btn-submit-order:hover,
.checkout-step .button_submit:hover,
.step-confirmation .button_submit:hover {
    background: var(--primary-color-hover) !important;
    color: #FFFFFF !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18) !important;
    transform: translateY(-1px) !important;
}

/* ==========================================================================
   МОДУЛЬ 4: ЛИЧНЫЙ КАБИНЕТ — ПРИВЯЗКА К ПЕРЕМЕННЫМ ТЕМЫ NOVASHOP
   ========================================================================== */

/* 4.1 Активные табы навигации кабинета */
.tabs.tabs_links.my-nav .tabs__tab_selected a,
.tabs.tabs_links.my-nav .selected a,
.tabs.my-nav .tabs__tab_selected a,
.tabs.my-nav .selected a,
.bbl-my-nav-scroll .selected .bbl-nav-tab-link,
.bbl-my-nav-scroll .bbl-nav-tab_active .bbl-nav-tab-link {
    background: var(--primary-color) !important;
    color: #FFFFFF !important;
    border: 1px solid var(--primary-color) !important;
    font-weight: 600 !important;
    border-radius: var(--inputs-buttons-border-radius, 8px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.tabs.tabs_links.my-nav .tabs__tab_selected a svg,
.tabs.tabs_links.my-nav .selected a svg,
.bbl-my-nav-scroll .selected .bbl-nav-tab-link svg,
.bbl-my-nav-scroll .bbl-nav-tab_active .bbl-nav-tab-link svg {
    stroke: #FFFFFF !important;
}

/* 4.2 Кнопки действий в кабинете (редактировать профиль, сохранить) */
.my-profile__edit-button,
.bbl-profile-btn-save,
.bbl-orders-filter-btn.is-active,
.bbl-order-repeat-btn {
    background: var(--primary-color) !important;
    color: #FFFFFF !important;
    font-family: var(--font-family, var(--font-family, 'Inter', sans-serif), sans-serif) !important;
    font-weight: 700 !important;
    border-radius: var(--inputs-buttons-border-radius, 10px) !important;
    border: none !important;
    transition: all 0.2s ease !important;
}

.my-profile__edit-button:hover,
.bbl-profile-btn-save:hover,
.bbl-orders-filter-btn.is-active:hover,
.bbl-order-repeat-btn:hover {
    background: var(--primary-color-hover) !important;
    color: #FFFFFF !important;
    transform: translateY(-1px) !important;
}

/* ==========================================================================
   ФУНКЦИОНАЛЬНЫЕ ИНВАРИАНТЫ: СКРОЛЛ МОДАЛОК, ОТСТУПЫ КОРЗИНЫ, ОПИСАНИЕ
   ========================================================================== */

/* FIX (BUGS_HISTORY.md #2026-11-07): mobile cart navigation spacing. DO NOT REFACTOR */
@media (max-width: 767px) {
    .bbl-mobile-cart-wrapper {
        padding-bottom: 90px !important;
    }
    .bbl-mobile-cart-wrapper aside.sticky {
        bottom: 64px !important;
    }
    .bbl-mobile-cart-wrapper .cart-item .bbl-stitch-checkbox {
        margin-right: 6px;
    }
    .bbl-mobile-cart-wrapper .bbl-opt-badge {
        font-size: 10px !important;
        line-height: 1 !important;
        padding: 2px 5px !important;
        background: rgba(10, 15, 36, 0.85) !important;
        color: #D946EF !important;
    }
}

/* Modal Scrolling & Wheel Unblock */
.modal-wrapper {
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
}

.modal,
.mixorder-modal,
[class*="modal-body"],
.modal__content,
.dialog,
.dialog-window,
.dialog-content,
[data-mx-root],
.mixorder-ui {
    overscroll-behavior: contain !important;
}

.modal__content,
.mixorder-modal [class*="list"],
.dialog-content {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    max-height: calc(90vh - 80px) !important;
}

#bbl-region-select {
    padding-left: 12px !important;
    padding-right: 36px !important;
    text-indent: 0 !important;
    font-size: 14px !important;
    letter-spacing: normal !important;
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
    box-sizing: border-box !important;
    appearance: auto !important;
    -webkit-appearance: menulist !important;
    -moz-appearance: menulist !important;
}

#bbl-region-select option {
    padding: 6px 12px !important;
    font-size: 14px !important;
    color: #0F172A !important;
    background: #FFFFFF !important;
    text-indent: 0 !important;
    letter-spacing: normal !important;
}

/* FIX (BUGS_HISTORY.md #2026-11-07-EMERALD): Скрытие артикула в плитках каталога. DO NOT REFACTOR */
.product-thumb__sku,
.product-tile__sku,
.products-thumbs .product-sku,
.products-list .product-sku,
.product-thumb .product-sku {
    display: none !important;
}
.product-thumb__bonuses {
    display: none !important;
}

/* FIX (BUGS_HISTORY.md #2026-11-07-EMERALD): Блок описания в карточке — единый белый модуль. DO NOT REFACTOR */
.product-page__content {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: var(--inputs-buttons-border-radius, 16px) !important;
    padding: 24px 28px !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
    margin-top: 16px !important;
}
.product-page__content .content-tabs__headers,
.product-page__content .list-tabs,
.product-page__content .tabs-list {
    border-bottom: 1px solid #E2E8F0 !important;
    padding-bottom: 14px !important;
    margin-bottom: 20px !important;
    background: transparent !important;
}
.product-page__content .content-tabs,
.product-page__content .content-tabs__contents,
.product-page__content .content-tabs__content,
.product-page__content .block,
.product-page__content .block_secondary,
.product-page__content .tab-content,
.product-page__content .product-description,
.product-page__content .product-page__description,
.product-page__content .block__content {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Native Wheel Scroll in Modals */
.modal, .modal-dialog, .modal-content, .mixorder-modal, 
.mixorder-modal-body, .mixorder-orders-list, [class*="modal-body"], [class*="modal"] [class*="list"] {
    overscroll-behavior: contain !important;
    overflow-y: auto !important;
    pointer-events: auto !important;
}

/* Mobile slider overlay ergonomics */
@media (max-width: 767px) {
    .slider_mobile .slider__slide,
    .slider.slider_adaptive .slider__slide,
    .slider_mobile .slide,
    .slider.slider_adaptive .slide {
        position: relative !important;
        height: 250px !important;
        min-height: 250px !important;
        overflow: hidden !important;
        border-radius: var(--inputs-buttons-border-radius, 12px) !important;
    }

    .slider_mobile .slide__background,
    .slider.slider_adaptive .slide__background {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 1 !important;
    }

    .slider_mobile .slide__background-image,
    .slider.slider_adaptive .slide__background-image,
    .slider_mobile .slide__background img,
    .slider.slider_adaptive .slide__background img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: 80% center !important;
        display: block !important;
    }

    .slider_mobile .slide__text,
    .slider.slider_adaptive .slide__text {
        position: absolute !important;
        inset: 0 !important;
        margin: 0 !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        align-items: flex-start !important;
        padding: 16px 18px !important;
        background: linear-gradient(0deg, rgba(10, 15, 36, 0.92) 0%, rgba(10, 15, 36, 0.55) 60%, rgba(10, 15, 36, 0.2) 100%) !important;
        z-index: 2 !important;
        text-align: left !important;
    }

    .slider_mobile .slide__title,
    .slider.slider_adaptive .slide__title,
    .slider_mobile .slide__title-text,
    .slider.slider_adaptive .slide__title-text {
        color: #FFFFFF !important;
        font-family: var(--font-family, var(--font-family, 'Inter', sans-serif), sans-serif) !important;
        font-size: 17px !important;
        font-weight: 800 !important;
        line-height: 1.25 !important;
        letter-spacing: normal !important;
        text-shadow: 0 2px 10px rgba(10, 15, 36, 0.8) !important;
        margin: 0 0 6px 0 !important;
        display: block !important;
    }

    .slider_mobile .slide__body,
    .slider.slider_adaptive .slide__body {
        display: none !important;
    }

    .slider_mobile .slide__button-container,
    .slider.slider_adaptive .slide__button-container {
        margin-top: 6px !important;
        display: block !important;
    }

    .slider_mobile .slide__button-container a.button,
    .slider.slider_adaptive .slide__button-container a.button {
        background: var(--primary-color) !important;
        color: #FFFFFF !important;
        border: 1px solid rgba(255, 255, 255, 0.35) !important;
        font-weight: 700 !important;
        padding: 8px 18px !important;
        font-size: 13px !important;
        border-radius: var(--inputs-buttons-border-radius, 8px) !important;
        display: inline-block !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
    }

    .slider_mobile .slider__prev-arrow,
    .slider_mobile .slider__next-arrow,
    .slider.slider_adaptive .slider__prev-arrow,
    .slider.slider_adaptive .slider__next-arrow {
        display: none !important;
    }

    .slider_mobile .slider__dots,
    .slider.slider_adaptive .slider__dots {
        position: absolute !important;
        left: auto !important;
        right: 16px !important;
        bottom: 16px !important;
        width: auto !important;
        display: flex !important;
        gap: 6px !important;
        margin: 0 !important;
        transform: none !important;
        z-index: 10 !important;
    }
}

/* ==========================================================================
   BOBO-96: Полировка табов навигации ЛК и выравнивание адреса
   ========================================================================== */
.bbl-nav-tab-link,
.tabs.my-nav .tabs__tab a,
.my-nav a,
.tabs_links.my-nav a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 9px 18px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    font-family: var(--font-family, 'Inter', sans-serif), Inter, -apple-system, sans-serif !important;
    color: #475569 !important;
    text-decoration: none !important;
    background: #F1F5F9 !important;
    border: 1px solid #E2E8F0 !important;
    line-height: 20px !important;
    box-shadow: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
}
.bbl-nav-tab-link svg,
.tabs.my-nav a svg,
.my-nav a svg {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
    stroke: #64748B !important;
    margin: 0 !important;
    transition: stroke 0.2s ease !important;
}
.bbl-nav-tab-link span,
.tabs.my-nav a span,
.my-nav a span {
    display: inline-block !important;
    line-height: 1 !important;
}
.bbl-nav-tab.selected .bbl-nav-tab-link,
.bbl-nav-tab_active .bbl-nav-tab-link,
.tabs.my-nav .tabs__tab_selected a,
.tabs.my-nav .tabs__tab.selected a,
.my-nav .tabs__tab_selected a {
    background: var(--button-color, var(--primary-color)) !important;
    color: var(--button-text-color, #FFFFFF) !important;
    border: 1px solid var(--button-color, var(--primary-color)) !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(0, 79, 122, 0.25) !important;
}
.bbl-nav-tab.selected .bbl-nav-tab-link:hover,
.bbl-nav-tab_active .bbl-nav-tab-link:hover,
.tabs.my-nav .tabs__tab_selected a:hover,
.tabs.my-nav .tabs__tab.selected a:hover,
.my-nav .tabs__tab_selected a:hover {
    background: var(--button-color-hover, var(--primary-color-hover)) !important;
    border-color: var(--button-color-hover, var(--primary-color-hover)) !important;
    color: var(--button-text-color, #FFFFFF) !important;
}
.bbl-nav-tab.selected .bbl-nav-tab-link svg,
.bbl-nav-tab_active .bbl-nav-tab-link svg,
.tabs.my-nav .tabs__tab_selected a svg,
.tabs.my-nav .tabs__tab.selected a svg,
.my-nav .tabs__tab_selected a svg {
    stroke: var(--button-text-color, #FFFFFF) !important;
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
}

/* Главные кнопки ЛК и профиля строго в цвет кнопки «Каталог» темы NovaShop (.button_fill) */
.bbl-btn-edit,
.bbl-btn-save,
.my-profile__edit-button,
.button.button_fill.bbl-btn-edit,
.button.button_fill.bbl-btn-save,
.bbl-org-add-btn {
    background-color: var(--button-color, var(--primary-color)) !important;
    color: var(--button-text-color, #FFFFFF) !important;
    border: 1px solid transparent !important;
    border-radius: var(--inputs-buttons-border-radius, 16px) !important;
    font-weight: 600 !important;
    box-shadow: 0 1px 3px rgba(0, 79, 122, 0.2) !important;
    transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out !important;
}
.bbl-btn-edit:hover,
.bbl-btn-save:hover,
.my-profile__edit-button:hover,
.button.button_fill.bbl-btn-edit:hover,
.button.button_fill.bbl-btn-save:hover,
.bbl-org-add-btn:hover {
    background-color: var(--button-color-hover, var(--primary-color-hover)) !important;
    border-color: transparent !important;
    color: var(--button-text-color, #FFFFFF) !important;
    box-shadow: 0 4px 12px rgba(0, 79, 122, 0.3) !important;
}
.bbl-btn-edit svg,
.bbl-btn-save svg,
.my-profile__edit-button svg {
    stroke: var(--button-text-color, #FFFFFF) !important;
}

/* Выравнивание адреса доставки строго по левому краю */
.bbl-card-body_addr,
.bbl-addr-human,
.bbl-addr-empty {
    text-align: left !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    display: block !important;
    justify-content: flex-start !important;
}

/* ==========================================================================
   BOBO-96: Карточки в стиле верхнего баннера (#F8FAFC) + белые поля ввода
   ========================================================================== */
.bbl-form-cards {
    display: block !important;
    gap: 0 !important;
    margin-bottom: 24px !important;
}
.bbl-form-card,
.bbl-profile-card {
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 16px !important;
    padding: 24px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04) !important;
}
.bbl-form-card-title,
.bbl-card-title {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    margin-bottom: 18px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #E2E8F0 !important;
}
.bbl-form-card-title svg,
.bbl-card-title svg {
    stroke: var(--primary-color, #004f7a) !important;
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
}

/* Чисто-белые контрастные поля ввода */
.bbl-form-input,
.bbl-form-select,
.bbl-input-text,
.bbl-form-field input,
.bbl-form-field select,
.bbl-form-field textarea,
#bbl-region-select {
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 8px !important;
    color: #0F172A !important;
    font-size: 14px !important;
    padding: 10px 14px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
}
.bbl-form-input:focus,
.bbl-form-select:focus,
.bbl-input-text:focus,
.bbl-form-field input:focus,
.bbl-form-field select:focus,
.bbl-form-field textarea:focus,
#bbl-region-select:focus {
    border-color: #3176D1 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(49, 118, 209, 0.15) !important;
    background: #FFFFFF !important;
}

#bbl_inn_search {
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 8px !important;
}
.bbl-file-upload-box {
    border: 1.5px dashed #CBD5E1 !important;
}
.bbl-file-upload-box:hover,
.bbl-file-upload-box.dragover {
    border-color: #3176D1 !important;
    background: #F0F9FF !important;
}

/* Компактные кнопки сохранения */
.bbl-form-actions,
.my-profile__control-buttons-box {
    display: flex !important;
    gap: 12px !important;
    justify-content: flex-start !important;
    align-items: center !important;
    margin-top: 24px !important;
    flex-wrap: wrap !important;
}
.bbl-btn-save,
.bbl-form-actions .bbl-btn-save,
.my-profile__control-buttons-box .bbl-btn-save {
    width: auto !important;
    min-width: 200px !important;
    padding: 12px 32px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: var(--button-color, var(--primary-color)) !important;
    color: var(--button-text-color, #FFFFFF) !important;
    border: 1px solid transparent !important;
    box-shadow: 0 1px 3px rgba(0, 79, 122, 0.2) !important;
    cursor: pointer !important;
}
.bbl-btn-save:hover,
.bbl-form-actions .bbl-btn-save:hover {
    background-color: var(--button-color-hover, var(--primary-color-hover)) !important;
    box-shadow: 0 4px 12px rgba(0, 79, 122, 0.3) !important;
}
.bbl-btn-cancel,
.bbl-form-actions .bbl-btn-cancel,
.my-profile__cancel-button {
    width: auto !important;
    padding: 12px 24px !important;
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 10px !important;
    color: #334155 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}
.bbl-btn-cancel:hover,
.bbl-form-actions .bbl-btn-cancel:hover,
.my-profile__cancel-button:hover {
    background: #F8FAFC !important;
    border-color: #94A3B8 !important;
    color: #0F172A !important;
}

/* ==========================================================================
   BOBO-100: Чистый дизайн ЛК (без серой заплатки), белые карточки #FFFFFF,
   компактные кнопки и сокрытие кнопки редактирования
   ========================================================================== */


.my-page {
    padding: 0 !important;
    border-radius: 0 !important;
    margin-bottom: 24px !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .my-page {
        padding: 0 !important;
        border-radius: 0 !important;
        margin-bottom: 16px !important;
    }
}

/* Белые карточки профиля */
.bbl-cabinet-cockpit,
.bbl-form-card,
.bbl-profile-card,
.bbl-auth-card {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 14px !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04) !important;
    padding: 20px !important;
    margin-bottom: 16px !important;
    box-sizing: border-box !important;
}

.bbl-cockpit-status {
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
}

.bbl-form-input,
.bbl-form-select,
.bbl-input-text,
.bbl-form-field input,
.bbl-form-field select,
.bbl-form-field textarea,
#bbl-region-select,
#bbl_inn_search {
    background: #F8FAFC !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 8px !important;
    color: #0F172A !important;
    font-size: 14px !important;
    font-family: inherit !important;
    height: 42px !important;
    padding: 10px 14px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    box-sizing: border-box !important;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease !important;
}

.bbl-form-input:focus,
.bbl-form-select:focus,
.bbl-input-text:focus,
.bbl-form-field input:focus,
.bbl-form-field select:focus,
.bbl-form-field textarea:focus,
#bbl-region-select:focus,
#bbl_inn_search:focus {
    border-color: #3176D1 !important;
    background: #FFFFFF !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(49, 118, 209, 0.15) !important;
}

.bbl-tc-pill:hover,
.bbl-tc-pill:has(input:checked),
.bbl-tc-pill_active {
    background: #EFF6FF !important;
    border-color: #3176D1 !important;
}

/* Ссылки на контакты строго #0F172A */
.bbl-contact-link,
.bbl-profile-card a,
.bbl-card-body a,
.bbl-field-val a,
.bbl-field-val strong,
.bbl-field-val a.inline,
a[href^="mailto:"],
a[href^="tel:"],
.bbl-manager-mail,
.bbl-manager-mail span {
    color: #0F172A !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.bbl-contact-link:hover,
.bbl-profile-card a:hover,
.bbl-card-body a:hover,
.bbl-field-val a:hover,
.bbl-field-val a.inline:hover,
a[href^="mailto:"]:hover,
a[href^="tel:"]:hover,
.bbl-manager-mail:hover,
.bbl-manager-mail:hover span {
    color: var(--color-primary, #3176D1) !important;
    text-decoration: underline !important;
}

/* Компактные кнопки профиля */
.bbl-btn-edit,
.my-profile__edit-button {
    width: auto !important;
    padding: 10px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.bbl-btn-save,
.bbl-form-actions .bbl-btn-save,
.my-profile__control-buttons-box .bbl-btn-save {
    width: auto !important;
    min-width: 140px !important;
    padding: 10px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.bbl-btn-cancel,
.bbl-form-actions .bbl-btn-cancel,
.my-profile__cancel-button {
    width: auto !important;
    padding: 10px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Скрытие кнопки редактирования при открытой форме */
.my-profile:not(.my-profile_edit):not(.bbl-form-active) .bbl-edit-btn-box,
.my-profile:not(.my-profile_edit):not(.bbl-form-active) .my-profile__edit-button-box {
    display: flex !important;
    margin-top: 20px !important;
    justify-content: flex-start !important;
}

.my-profile_edit .bbl-edit-btn-box,
.my-profile_edit .my-profile__edit-button-box,
.my-profile_edit .my-profile__edit-button,
.my-profile_edit .bbl-btn-edit,
.bbl-form-active .bbl-edit-btn-box,
.bbl-form-active .my-profile__edit-button-box,
.bbl-form-active .my-profile__edit-button,
.bbl-form-active .bbl-btn-edit {
    display: none !important;
}

.my-profile_edit .my-profile__form,
.my-profile_edit #my-profile-form,
.bbl-form-active #my-profile-form,
.bbl-form-active .my-profile__form {
    display: block !important;
}


/* ==========================================================================
   BOBOLED 16:9 PROMO SLIDER - AMBIENT PANORAMIC BOKEH & HIGH-DEFINITION RIGHT FIT
   // FIX (BUGS_HISTORY.md #2026-11-09-BANNER-AMBIENT-AND-TYPOGRAPHY): Ambient bokeh, primary-color button, large typography
   ========================================================================== */
.slider,
.slider__slider,
.slider__slide,
.slide,
.slide_home,
.slider_size_s,
.slide__background {
    background-color: #060D1E !important;
}

@media (min-width: 768px) {
    .slider_size_s,
    .slider__slider {
        border-radius: 20px !important;
        overflow: hidden !important;
    }

    .slide,
    .slide_home {
        position: relative !important;
        background-color: #060D1E !important;
        overflow: hidden !important;
    }

    .slide__background {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background-color: #060D1E !important;
        overflow: hidden !important;
        z-index: 1 !important;
    }

    /* а) Фоновый слой на 100% ширины слайдера (1680px): живое размытое боке */
    .slide__ambient-backdrop {
        position: absolute !important;
        inset: -25px !important;
        width: calc(100% + 50px) !important;
        height: calc(100% + 50px) !important;
        overflow: hidden !important;
        pointer-events: none !important;
        z-index: 1 !important;
    }

    .slide__ambient-backdrop picture,
    .slide__ambient-backdrop img,
    .slide__ambient-image {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
        filter: blur(26px) brightness(0.42) saturate(1.35) !important;
        -webkit-filter: blur(26px) brightness(0.42) saturate(1.35) !important;
        transform: scale(1.1) !important;
        pointer-events: none !important;
        display: block !important;
    }

    /* Мягкая виньетка слева под текстом для эталонного контраста */
    .slide__ambient-backdrop::after {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        background: linear-gradient(90deg, rgba(6, 13, 30, 0.72) 0%, rgba(6, 13, 30, 0.45) 45%, rgba(6, 13, 30, 0.1) 75%, transparent 100%) !important;
        pointer-events: none !important;
        z-index: 2 !important;
    }

    /* б) Основной четкий слой справа */
    .slide__background picture:not(.slide__ambient-backdrop picture) {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        position: absolute !important;
        inset: 0 !important;
        pointer-events: none !important;
        z-index: 3 !important;
    }

    .slide__background img.slide__background-image,
    .slide__background-image {
        position: absolute !important;
        right: 0 !important;
        top: 0 !important;
        left: auto !important;
        bottom: auto !important;
        height: 100% !important;
        width: auto !important;
        max-width: 65% !important;
        object-fit: contain !important;
        object-position: right center !important;
        -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 15%, rgba(0, 0, 0, 0.85) 26%, black 35%, black 100%) !important;
        mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 15%, rgba(0, 0, 0, 0.85) 26%, black 35%, black 100%) !important;
        z-index: 3 !important;
        pointer-events: none !important;
    }

    /* Отключаем старый сплошной оверлей */
    .slide__background::after {
        display: none !important;
    }

    /* Текстовый блок */
    .slide__text {
        position: relative !important;
        z-index: 5 !important;
        max-width: 58% !important;
        padding-left: 64px !important;
        padding-right: 32px !important;
        margin: 0 !important;
        justify-content: center !important;
    }

    .slide__title {
        max-width: 640px !important;
    }

    .slide__title-text {
        font-family: var(--font-family, 'Inter', sans-serif), sans-serif !important;
        font-weight: 800 !important;
        color: #FFFFFF !important;
        font-size: clamp(32px, 3vw, 46px) !important;
        line-height: 1.12 !important;
        letter-spacing: normal !important;
        text-shadow: 0 2px 14px rgba(6, 13, 30, 0.95) !important;
        max-width: 640px !important;
        display: block !important;
    }

    .slide__body-text {
        font-family: 'Inter', sans-serif !important;
        color: rgba(255, 255, 255, 0.9) !important;
        font-size: 17px !important;
        line-height: 1.45 !important;
        margin-top: 14px !important;
        max-width: 580px !important;
        display: block !important;
        text-shadow: 0 1px 8px rgba(6, 13, 30, 0.85) !important;
    }

    .slide__button-container {
        margin-top: 24px !important;
    }

    .slide__button-container .button {
        background: var(--primary-color) !important;
        color: #FFFFFF !important;
        border: 1px solid rgba(255, 255, 255, 0.35) !important;
        font-weight: 700 !important;
        font-size: 15px !important;
        padding: 13px 32px !important;
        border-radius: var(--inputs-buttons-border-radius, 10px) !important;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35) !important;
        transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease !important;
    }

    .slide__button-container .button:hover {
        background: var(--primary-color) !important;
        opacity: 0.92 !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45) !important;
    }
}

/* ==========================================================================
   BOBOLED 3 PROMO BANNERS - SOFT GRADIENT OVERLAY UNDER TEXT & CHIPS
   // FIX (BUGS_HISTORY.md #2026-11-09-BANNER-AMBIENT-AND-TYPOGRAPHY): High contrast banner cards
   ========================================================================== */
.banner {
    position: relative !important;
    border-radius: 16px !important;
    overflow: hidden !important;
}

.banner::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    pointer-events: none !important;
    background: linear-gradient(90deg, rgba(6, 13, 30, 0.82) 0%, rgba(6, 13, 30, 0.45) 55%, transparent 100%) !important;
    border-radius: inherit !important;
}

.banner__content {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 24px !important;
    display: flex !important;
    flex-flow: column !important;
    gap: 8px !important;
    justify-content: flex-end !important;
    z-index: 3 !important;
}

.banner__name {
    font-family: var(--font-family, 'Inter', sans-serif), sans-serif !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    text-shadow: 0 2px 10px rgba(6, 13, 30, 0.9) !important;
}

.banner__list-item {
    background: rgba(6, 13, 30, 0.55) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #FFFFFF !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.banner__list-item:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: #FFFFFF !important;
    color: #FFFFFF !important;
}

/* ==========================================================================
   BOBOLED HOME ABOUT BLOCK - BENTO-UI 2026
   // FIX (BUGS_HISTORY.md #2026-11-12-BENTO-ABOUT-AND-COMMUNITY-FIX): Modern 2026 Bento UI
   ========================================================================== */
.home-about,
.about-block,
.index__about {
    align-items: center !important;
}

.home-about__img-block,
.home-about__img-block img,
.home-about__content {
    align-self: center !important;
}

.home-about__badge {
    display: inline-flex !important;
    align-items: center !important;
    background: rgba(0, 79, 122, 0.08) !important;
    color: var(--primary-color) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 6px 12px !important;
    border-radius: 99px !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    margin-bottom: 8px !important;
    width: fit-content !important;
}

.home-about__header,
.home-about h1,
.home-about h2,
.home-about__title,
.home-about__title * {
    font-size: 26px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: normal !important;
    color: #0F172A !important;
    margin: 12px 0 10px !important;
    font-family: var(--font-family, 'Inter', sans-serif), -apple-system, sans-serif !important;
}

.home-about__lead {
    font-size: 15px !important;
    line-height: 1.5 !important;
    color: #475569 !important;
    margin: 0 0 20px 0 !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
    max-width: 680px !important;
}

.home-about__bento-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    margin-bottom: 22px !important;
    width: 100% !important;
}

.home-about__bento-card {
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
    box-sizing: border-box !important;
}

.home-about__bento-card:hover {
    border-color: rgba(0, 79, 122, 0.3) !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04) !important;
    transform: translateY(-1px) !important;
}

.home-about__bento-title {
    font-weight: 800 !important;
    color: var(--primary-color) !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    letter-spacing: normal !important;
}

.home-about__bento-desc {
    font-size: 13px !important;
    color: #475569 !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

.home-about__button {
    margin-top: 6px !important;
    border-radius: var(--inputs-buttons-border-radius, 10px) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 10px 28px !important;
    background: var(--primary-color) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
}

.home-about__button:hover {
    opacity: 0.9 !important;
    transform: translateY(-1px) !important;
}

@media (max-width: 767px) {
    .home-about__bento-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin-bottom: 18px !important;
    }
    .home-about__title {
        font-size: 22px !important;
    }
    .home-about__lead {
        font-size: 14px !important;
    }
}

.home-about__img-block img,
.home-about__img {
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

@media (max-width: 767px) {
    .home-about {
        flex-direction: column !important;
        gap: 20px !important;
    }
    .home-about__header,
    .home-about h1,
    .home-about h2,
    .home-about__title,
    .home-about__title * {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }
    .home-about__text,
    .home-about p,
    .home-about__text * {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
}


/* ==========================================================================
   ФИРМЕННЫЙ БЛОК СООБЩЕСТВА / СОЦСЕТЕЙ (Главная страница и Карточка товара)
   ========================================================================== */
.blocks__item-community {
    margin-top: 36px !important;
    margin-bottom: 24px !important;
    width: 100% !important;
    clear: both !important;
}

.blocks__item-community .b2b-comm-wrap {
    margin: 0 !important;
    width: 100% !important;
}

.b2b-comm-banner {
    border-radius: var(--inputs-buttons-border-radius, 20px) !important;
}

.b2b-comm-card {
    border-radius: var(--inputs-buttons-border-radius, 14px) !important;
}

@media (max-width: 767px) {
    .blocks__item-community {
        margin-top: 20px !important;
        margin-bottom: 16px !important;
    }
    .b2b-comm-wrap {
        margin: 16px 0 !important;
        width: 100% !important;
    }
    .b2b-comm-banner {
        padding: 20px 16px !important;
        border-radius: var(--inputs-buttons-border-radius, 16px) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 16px !important;
    }
    .b2b-comm-info {
        max-width: 100% !important;
    }
    .b2b-comm-title {
        font-size: 20px !important;
        font-weight: 800 !important;
        line-height: 1.25 !important;
        margin: 0 0 6px !important;
    }
    .b2b-comm-sub {
        font-size: 13px !important;
        line-height: 1.4 !important;
        margin: 0 !important;
    }
    .b2b-comm-links {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
    }
    .b2b-comm-card {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 11px 12px !important;
        border-radius: var(--inputs-buttons-border-radius, 12px) !important;
        min-height: 44px !important;
        box-sizing: border-box !important;
    }
    .b2b-comm-card:nth-child(5) {
        grid-column: 1 / -1 !important;
    }
    .b2b-comm-icon {
        width: 22px !important;
        height: 22px !important;
    }
    .b2b-comm-icon svg {
        width: 22px !important;
        height: 22px !important;
    }
    .b2b-comm-label {
        display: inline-block !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        white-space: nowrap !important;
    }
    .b2b-comm-label-short {
        display: none !important;
    }
}

/* ==========================================================================
   КАТАЛОГ: АККУРАТНЫЙ УЗКИЙ БАННЕР НАД ТОВАРАМИ И БАННЕРЫ В САЙДБАРЕ
   ========================================================================== */
.products__top-banner-container,
.catalog-banner,
.category-banner,
.products-banner {
    width: 100% !important;
    height: 160px !important;
    max-height: 160px !important;
    border-radius: var(--inputs-buttons-border-radius, 16px) !important;
    overflow: hidden !important;
    margin-bottom: 24px !important;
    display: block !important;
}

.products__top-banner-container a,
.products__top-banner-container .image-box,
.catalog-banner a,
.catalog-banner .image-box {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 160px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: var(--inputs-buttons-border-radius, 16px) !important;
    overflow: hidden !important;
}

.products__top-banner-container img,
.catalog-banner img,
.category-banner img,
.products-banner img {
    width: 100% !important;
    height: 100% !important;
    max-height: 160px !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    border-radius: var(--inputs-buttons-border-radius, 16px) !important;
}

@media (max-width: 767px) {
    .products__top-banner-container,
    .catalog-banner,
    .category-banner,
    .products-banner {
        height: 110px !important;
        max-height: 110px !important;
        margin-bottom: 16px !important;
        border-radius: var(--inputs-buttons-border-radius, 12px) !important;
    }
    .products__top-banner-container a,
    .products__top-banner-container .image-box,
    .catalog-banner a,
    .catalog-banner .image-box {
        max-height: 110px !important;
        border-radius: var(--inputs-buttons-border-radius, 12px) !important;
    }
    .products__top-banner-container img,
    .catalog-banner img,
    .category-banner img,
    .products-banner img {
        height: 100% !important;
        max-height: 110px !important;
        border-radius: var(--inputs-buttons-border-radius, 12px) !important;
    }
}

/* Сайдбар-баннеры (255x350px) */
.sidebar-banner {
    border-radius: var(--inputs-buttons-border-radius, 16px) !important;
    overflow: hidden !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08) !important;
    margin-bottom: 20px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.sidebar-banner:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12) !important;
}

.sidebar-banner a,
.sidebar-banner .image-box {
    display: block !important;
    width: 100% !important;
    border-radius: var(--inputs-buttons-border-radius, 16px) !important;
    overflow: hidden !important;
    padding: 0 !important;
}

.sidebar-banner img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: var(--inputs-buttons-border-radius, 16px) !important;
}


/* ====================================================================
   BOBOLED 2026: BENTO-UI ICONS & COLOR SOCIAL BADGES (BOBO-COLOR-SOCIALS-AND-BENTO-ICONS)
   ==================================================================== */
.home-about__bento-icon {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    border-radius: 8px !important;
    background: rgba(0, 79, 122, 0.08) !important;
    color: var(--primary-color) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 8px !important;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease !important;
}

.home-about__bento-card:hover .home-about__bento-icon {
    background: rgba(0, 79, 122, 0.14) !important;
    transform: scale(1.06) !important;
}

.home-about__bento-icon svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
}

/* 5 Официальных цветных бейджей соцсетей (28px desktop / 24px mobile) */
.b2b-comm-icon {
    width: 28px !important;
    height: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    background: transparent !important;
}

.b2b-comm-icon svg {
    width: 28px !important;
    height: 28px !important;
    display: block !important;
    flex-shrink: 0 !important;
}

.b2b-social-badge {
    border-radius: 7px !important;
    overflow: hidden !important;
}

@media (max-width: 767px) {
    .b2b-comm-icon {
        width: 24px !important;
        height: 24px !important;
    }
    .b2b-comm-icon svg {
        width: 24px !important;
        height: 24px !important;
    }
}


/* ==========================================================================
   BOBOLED THEME INTEGRITY 2026: UNIFIED FONT SYSTEM & SUBSCRIBE SUPPRESSION
   // FIX (BUGS_HISTORY.md #2026-11-12-REVERT-ANTIGRAVITY-MESS): Strict Inter & zero subscription bar
   ========================================================================== */
:root {
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

body, html, button, input, select, textarea,
.home-about, .home-about *,
.banner, .banner *,
.b2b-comm-wrap, .b2b-comm-wrap *,
.product-page, .product-page * {
    font-family: var(--font-family, 'Inter', sans-serif) !important;
    letter-spacing: normal !important;
}

/* Скрытие капсулы над заголовком "О компании" */
.home-about__badge {
    display: none !important;
}

/* Аккуратное выравнивание по высоте картинки about_img.jpg */
.home-about {
    display: flex !important;
    align-items: center !important;
    gap: 32px !important;
}

.home-about__img-block {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.home-about__img-block img {
    max-height: 460px !important;
    width: auto !important;
    object-fit: contain !important;
    border-radius: var(--inputs-buttons-border-radius, 16px) !important;
}

.home-about__content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.home-about__title {
    font-size: 24px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: normal !important;
    color: #0F172A !important;
    margin: 0 0 10px 0 !important;
}

.home-about__lead {
    font-size: 14.5px !important;
    line-height: 1.5 !important;
    letter-spacing: normal !important;
    color: #475569 !important;
    margin: 0 0 16px 0 !important;
}

.home-about__bento-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: normal !important;
}

.home-about__bento-desc {
    font-size: 12.5px !important;
    letter-spacing: normal !important;
}

/* 100% сокрытие серой плашки рассылки "Будьте в курсе" */
.footer-subscribe,
.mailer-subscribe,
.subscribe-block,
.index-subscribe,
.index__subscribe,
.block-subscribe,
.footer__subscribe,
.footer_subscribe,
.index-subscribe__header,
.index-subscribe__form,
.home-block_subscribe {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

/* ==========================================================================
   BOBOLED B2B COMMUNITY MODULE 2026 - ZERO EMPTY SPACE ON ALL DEVICES
   // FIX (BUGS_HISTORY.md #2026-11-12-MOBILE-TABLET-AND-CONFIGURATOR-FIX): Compact heights
   ========================================================================== */
#b2b-community-module,
.b2b-comm-wrap,
.b2b-comm-banner {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: unset !important;
}

.b2b-comm-banner {
    padding: 28px 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 32px !important;
}

.b2b-comm-links {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(155px, 1fr)) !important;
    gap: 12px !important;
}

.b2b-comm-card {
    min-width: 155px !important;
    padding: 12px 18px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
}

.b2b-comm-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
}

.b2b-comm-icon svg {
    width: 32px !important;
    height: 32px !important;
}

/* Планшеты (до 1240px, включая iPad Pro 1194x834) */
@media (max-width: 1240px) {
    .b2b-comm-banner {
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        padding: 22px 20px !important;
        gap: 16px !important;
        height: auto !important;
        min-height: 0 !important;
    }
    .b2b-comm-info {
        flex: 0 0 auto !important;
        max-width: 100% !important;
        width: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
    }
    .b2b-comm-title {
        margin: 0 0 6px !important;
    }
    .b2b-comm-links {
        width: 100% !important;
        flex: 0 0 auto !important;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
        gap: 10px !important;
    }
}

/* Смартфоны (320px–767px, включая iPhone 440px и Galaxy 412px) - Строго < 260px */
@media (max-width: 767px) {
    #b2b-community-module,
    .b2b-comm-wrap {
        margin: 12px 0 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
    }
    .b2b-comm-banner {
        padding: 14px 14px !important;
        border-radius: var(--inputs-buttons-border-radius, 14px) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: 255px !important;
    }
    .b2b-comm-info {
        flex: 0 0 auto !important;
        max-width: 100% !important;
        width: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
    }
    .b2b-comm-title {
        font-size: 16px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        margin: 0 0 2px !important;
    }
    .b2b-comm-sub {
        font-size: 11.5px !important;
        line-height: 1.25 !important;
        margin: 0 !important;
        opacity: 0.9 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .b2b-comm-links {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
        width: 100% !important;
        flex: 0 0 auto !important;
    }
    .b2b-comm-links a:last-child {
        grid-column: 1 / -1 !important;
    }
    .b2b-comm-card {
        min-width: unset !important;
        padding: 6px 10px !important;
        gap: 8px !important;
        border-radius: 8px !important;
    }
    .b2b-comm-icon {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        min-height: 24px !important;
    }
    .b2b-comm-icon svg {
        width: 24px !important;
        height: 24px !important;
    }
    .b2b-comm-name {
        font-size: 12px !important;
        line-height: 1.1 !important;
    }
    .b2b-comm-action {
        font-size: 10px !important;
        line-height: 1.1 !important;
    }
}

/* ==========================================================================
   3 МАЛЫХ ПРОМО-БАННЕРА НА МОБИЛЬНЫХ (ВЫСОТА 180PX, БЕЗ ОБРЕЗКИ ТЕКСТА)
   ========================================================================== */
@media (max-width: 767px) {
    .banners .banner,
    .home-banners .banner,
    .banners-holder .banner {
        height: 180px !important;
        min-height: 180px !important;
        max-height: 180px !important;
        border-radius: 14px !important;
    }
    .banners .banner__content,
    .home-banners .banner__content,
    .banners-holder .banner__content {
        padding: 16px !important;
        gap: 6px !important;
        justify-content: flex-end !important;
        box-sizing: border-box !important;
    }
    .banners .banner__title,
    .home-banners .banner__title,
    .banners-holder .banner__title {
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }
    .banners .banner__name,
    .home-banners .banner__name,
    .banners-holder .banner__name {
        font-size: 18px !important;
        line-height: 1.2 !important;
        font-weight: 800 !important;
        white-space: normal !important;
        word-break: break-word !important;
    }
    .banners .banner__icon,
    .home-banners .banner__icon,
    .banners-holder .banner__icon {
        width: 18px !important;
        height: 18px !important;
        flex-shrink: 0 !important;
    }
    .banners .banner__list,
    .home-banners .banner__list,
    .banners-holder .banner__list {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        margin-top: 2px !important;
    }
    .banners .banner__list-item,
    .home-banners .banner__list-item,
    .banners-holder .banner__list-item {
        font-size: 11.5px !important;
        padding: 3px 8px !important;
        line-height: 1.2 !important;
        border-radius: 5px !important;
        white-space: nowrap !important;
    }
}

/* ==========================================================================
   КОМПАКТНЫЙ МОБИЛЬНЫЙ ФУТЕР (FOOTER_VARIANT == 2, БЕЗ ДУБЛЕЙ И ЧЕРНОГО ЛОГО)
   ========================================================================== */
@media (max-width: 991px) {
    .r-footer-main__logo,
    .r-footer-messengers,
    .r-footer-socials,
    .r-footer .footer-columns,
    .footer-mobile .r-footer-main__logo,
    .footer-mobile .r-footer-messengers,
    .footer-mobile .r-footer-socials,
    .footer-mobile .footer-columns {
        display: none !important;
    }
    .r-footer_compact,
    .footer_size_s.r-footer {
        padding: 20px 0 16px !important;
        text-align: center !important;
    }
    .r-footer-contacts_compact,
    .r-footer_compact .footer__content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
    }
    .footer-rows_compact {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px 16px !important;
    }
}

/* ==========================================================================
   BOBO-RESPONSIVE-IPAD-MOBILE-FIX 2026
   ========================================================================== */
/* 1. Блок О компании: идеальный 50/50 грид на iPad (>=992px) и 16:9 на смартфонах */
@media (min-width: 992px) {
    .home-about,
    .about-block,
    .index__about {
        display: grid !important;
        grid-template-columns: 48% 1fr !important;
        gap: 32px !important;
        align-items: center !important;
        width: 100% !important;
    }
    .home-about__img-block,
    .home-about__content {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        float: none !important;
    }
    .home-about__img-block img,
    .home-about__img {
        width: 100% !important;
        height: auto !important;
        max-height: 480px !important;
        object-fit: cover !important;
        border-radius: 16px !important;
    }
}

@media (max-width: 991px) {
    .home-about,
    .about-block,
    .index__about {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        width: 100% !important;
    }
    .home-about__img-block,
    .home-about__content {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        float: none !important;
    }
}

@media (max-width: 767px) {
    .home-about__img-block img,
    .home-about__img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
        object-fit: cover !important;
        border-radius: 12px !important;
    }
}

/* 2. 3 малых промо-баннера: идеальная верстка на Galaxy 412px и iPad 1194px без вылетов текста */
@media (max-width: 1240px) {
    .banner__content {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        padding: 16px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        gap: 6px !important;
        box-sizing: border-box !important;
    }
    .banner__name {
        font-size: 18px !important;
        line-height: 1.2 !important;
        font-weight: 800 !important;
        margin: 0 !important;
        padding: 0 !important;
        white-space: normal !important;
        word-break: break-word !important;
        color: #FFFFFF !important;
        text-shadow: 0 2px 10px rgba(6, 13, 30, 0.9) !important;
    }
    .banner__list {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        margin: 0 !important;
    }
    .banner__list-item {
        font-size: 11.5px !important;
        padding: 3px 8px !important;
        border-radius: 5px !important;
        white-space: nowrap !important;
    }
}

/* 3. Блок соцсетей: никаких растянутых кнопок MAX, читаемый подзаголовок */
@media (max-width: 767px) {
    .b2b-comm-sub {
        font-size: 12px !important;
        line-height: 1.35 !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        opacity: 0.92 !important;
    }
    .b2b-comm-links {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .b2b-comm-links a,
    .b2b-comm-card {
        flex: 1 1 calc(50% - 6px) !important;
        max-width: calc(50% - 4px) !important;
        min-width: 135px !important;
        padding: 8px 10px !important;
        border-radius: 10px !important;
        min-height: 44px !important;
        box-sizing: border-box !important;
    }
    .b2b-comm-links a:last-child,
    .b2b-comm-card:nth-child(5) {
        grid-column: unset !important;
        flex: 0 1 calc(50% - 6px) !important;
        max-width: calc(50% - 4px) !important;
    }
}

/* 4. Мобильный футер: белоснежный контрастный текст, компактная высота <= 120px */
@media (max-width: 991px) {
    .footer,
    .r-footer,
    .r-footer_compact {
        background: var(--primary-color, #004F7A) !important;
        padding: 12px 0 10px !important;
        color: #ffffff !important;
    }
    .footer a,
    .r-footer a,
    .footer-rows a,
    .link-box__link,
    .icon-box__content {
        color: #ffffff !important;
        font-size: 13px !important;
        font-weight: 600 !important;
    }
    .footer svg,
    .r-footer svg {
        fill: #ffffff !important;
        color: #ffffff !important;
    }
    .footer-copyright__links,
    .footer-copyright__links a,
    .footer-copyright__organization,
    .footer-copyright-row-bottom {
        color: rgba(255, 255, 255, 0.75) !important;
        font-size: 11.5px !important;
    }
}

/* Ultra-compact Mobile Footer 2026 (<= 120px) */
@media (max-width: 991px) {
    .footer,
    .footer_size_s,
    .r-footer,
    .r-footer_compact {
        background: var(--primary-color, #004F7A) !important;
        padding: 8px 0 6px !important;
        color: #ffffff !important;
    }
    .footer .container {
        padding: 0 16px !important;
    }
    .footer__content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 6px !important;
        text-align: center !important;
    }
    .footer__contacts-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 4px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .footer__organization {
        display: none !important;
    }
    .footer-rows,
    .footer-rows_size-s {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 6px 14px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .footer-rows__row {
        margin: 0 !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
    }
    .footer a,
    .r-footer a,
    .footer-rows a,
    .link-box,
    .link-box__link,
    .icon-box__content {
        color: #ffffff !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        text-decoration: none !important;
    }
    .footer svg,
    .r-footer svg,
    .icon-box__icon svg {
        fill: #ffffff !important;
        color: #ffffff !important;
        width: 14px !important;
        height: 14px !important;
    }
    .footer__copyright {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
    .footer-copyright-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 4px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .footer-copyright-row__payments,
    .footer-copyright-row__payments-container {
        margin: 2px 0 !important;
        padding: 0 !important;
    }
    .footer-copyright-row__links,
    .footer-copyright__links,
    .footer-links {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 4px 12px !important;
        margin: 0 !important;
    }
    .footer-copyright-row__links a,
    .footer-copyright__links a,
    .footer-links a {
        color: rgba(255, 255, 255, 0.75) !important;
        font-size: 11.5px !important;
        font-weight: 500 !important;
        text-decoration: none !important;
    }
    .footer-copyright-row__developers {
        display: none !important;
    }
}

/* Баннер сообщества внизу ЛК */
.bbl-my-community-banner-wrap {
    display: block !important;
}

/* ============================================================
   BOBOLED STEP 2: CART RECONSTRUCTION & UNIFIED 1680px RESPONSIVE
   ============================================================ */

/* 1. Mobile Quick Jump Anchor Banner (<1024px) */
.bbl-mobile-jump-banner {
    display: none;
    margin-bottom: 16px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1023px) {
    .bbl-mobile-jump-banner {
        display: block !important;
    }
}

.bbl-mobile-jump-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    gap: 10px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.bbl-mobile-jump-info {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13px !important;
    color: #334155 !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
}

.bbl-jump-cart-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--primary-color) !important;
    flex-shrink: 0 !important;
}

.bbl-jump-text {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 12.5px !important;
}

.bbl-jump-text strong {
    color: #0f172a !important;
    font-weight: 700 !important;
}

.bbl-jump-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: var(--primary-color) !important;
    color: #ffffff !important;
    padding: 8px 14px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 6px rgba(75, 65, 225, 0.25) !important;
    transition: background 0.2s ease, transform 0.15s ease !important;
}

.bbl-jump-btn:hover {
    background: var(--primary-color-hover) !important;
    transform: translateY(-1px) !important;
}

/* 2. Permanent Invalidation & Suppression of Floating Bottom Bar */
.bbl-floating-cart-bar,
#floating-cart-bar {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* 3. VIP Mega Bundle Button & Clean Delete Fix */
.bbl-bundle-btn-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
}

.bbl-bundle-delete-btn,
#sidebar-bundle-delete-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 8px !important;
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    color: #dc2626 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: background 0.2s ease, color 0.2s ease !important;
}

.bbl-bundle-delete-btn:hover,
#sidebar-bundle-delete-btn:hover {
    background: #fee2e2 !important;
    color: #b91c1c !important;
}

#sidebar-bundle-delete-btn[style*="display: none"],
#sidebar-bundle-delete-btn.hidden {
    display: none !important;
}

/* 4. Unified Responsive Grid for /cart/ */
.bbl-cart-unified-wrapper {
    width: 100% !important;
    display: block !important;
}

@media (min-width: 1024px) {
    .cart-page {
        max-width: 1680px !important;
        margin: 0 auto !important;
        padding: 16px 24px 48px !important;
    }
    .cart-page__container {
        display: flex !important;
        gap: 32px !important;
        align-items: flex-start !important;
        width: 100% !important;
    }
    .cart-page__container-items {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: calc(100% - 452px) !important;
    }
    .cart-page__container-summary {
        width: 420px !important;
        max-width: 420px !important;
        flex: 0 0 420px !important;
        position: sticky !important;
        top: 24px !important;
    }
}

@media (max-width: 1023px) {
    .cart-page {
        max-width: 100% !important;
        padding: 12px 14px 40px !important;
        box-sizing: border-box !important;
    }
    .cart-page__container {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
    }
    .cart-page__container-items,
    .cart-page__container-summary {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
        position: static !important;
    }
    .bbl-cart-stitch-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    .bbl-cart-header-right {
        width: 100% !important;
        display: flex !important;
        justify-content: flex-end !important;
    }
    .bbl-item-controls-wrap {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
}

/* 5. Mobile 390px/412px Anti-Overflow & Drawer Responsiveness */
@media (max-width: 767px) {
    .cart-page,
    .cart-page__container,
    .cart-page__container-items,
    .cart-page__container-summary,
    .bbl-summary-card,
    #special-offers-section,
    .bbl-offers-body,
    .bbl-offer-card,
    .bbl-mega-bundle-card,
    .bbl-cart-product-group,
    .cart-item-card {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .cart-item__container {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    .bbl-item-controls-wrap {
        width: 100% !important;
        justify-content: space-between !important;
    }
    .bbl-variant-drawer__panel {
        width: 100% !important;
        max-width: 100vw !important;
        border-radius: 20px 20px 0 0 !important;
        max-height: 85vh !important;
        box-sizing: border-box !important;
    }
}


/* ==========================================================================
   BOBO-CART STEP 2.1: POLISH STYLES (Single-line tier, Carousel, Badges)
   ========================================================================== */
.bbl-cart-upsell-tier {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 38px;
    height: auto;
    padding: 6px 14px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    color: #334155;
    margin-top: 8px;
    margin-bottom: 4px;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.bbl-cart-upsell-tier:empty,
.bbl-cart-upsell-tier.is-hidden,
.bbl-cart-upsell-tier[style*="display: none"],
.bbl-cart-upsell-tier[hidden] {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    min-height: 0 !important;
    height: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.bbl-cart-upsell-tier.is-max-tier {
    background: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
    color: #166534 !important;
}

.bbl-upsell-tier-row {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

.bbl-tier-icon {
    font-size: 14px !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}

.bbl-tier-icon-check {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    background: #22c55e !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    flex-shrink: 0 !important;
}

.bbl-tier-text {
    color: #334155 !important;
    font-weight: 500 !important;
    font-size: 13px !important;
}

.bbl-tier-max-text {
    color: #15803d !important;
    font-weight: 600 !important;
}

.bbl-tier-price {
    font-weight: 700 !important;
    color: #0369a1 !important;
    font-family: inherit !important;
}

.bbl-tier-pill {
    display: inline-flex !important;
    align-items: center !important;
    background: #0284c7 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
    letter-spacing: 0.2px !important;
    white-space: nowrap !important;
    box-shadow: 0 1px 2px rgba(2, 132, 199, 0.2) !important;
}

/* Recommendations 1-Row Carousel & Arrows */
.bbl-rec-header-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 16px !important;
}

.bbl-rec-carousel-arrows {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.bbl-carousel-arrow {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #475569 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    padding: 0 !important;
}

.bbl-carousel-arrow:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

.bbl-rec-carousel-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 16px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 4px 2px 12px 2px !important;
}

.bbl-rec-carousel-track::-webkit-scrollbar {
    display: none !important;
}

.bbl-rec-carousel-track > .bbl-rec-card,
.bbl-rec-carousel-track > .bbl-stitch-rec-card {
    flex: 0 0 calc((100% - 48px) / 4) !important;
    min-width: calc((100% - 48px) / 4) !important;
    max-width: calc((100% - 48px) / 4) !important;
    scroll-snap-align: start !important;
    box-sizing: border-box !important;
}

@media (max-width: 1024px) {
    .bbl-rec-carousel-track > .bbl-rec-card,
    .bbl-rec-carousel-track > .bbl-stitch-rec-card {
        flex: 0 0 calc((100% - 32px) / 3) !important;
        min-width: calc((100% - 32px) / 3) !important;
        max-width: calc((100% - 32px) / 3) !important;
    }
}

@media (max-width: 640px) {
    .bbl-rec-carousel-track > .bbl-rec-card,
    .bbl-rec-carousel-track > .bbl-stitch-rec-card {
        flex: 0 0 calc(68% - 8px) !important;
        min-width: calc(68% - 8px) !important;
        max-width: calc(68% - 8px) !important;
    }
    .bbl-rec-carousel-arrows {
        display: none !important;
    }
}

.bbl-rec-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

.bbl-rec-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
    border-color: #cbd5e1 !important;
}

.bbl-rec-card .bbl-rec-btn-add {
    background: #0284c7 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 7px 12px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.15s ease !important;
    text-align: center !important;
}

.bbl-rec-card .bbl-rec-btn-add:hover {
    background: #0369a1 !important;
}

/* Fast-Track & Payer Dynamic Notice Box */
.bbl-ft-action-wrap {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
}

.bbl-ft-sep {
    margin: 0 5px !important;
    opacity: 0.4 !important;
}

.bbl-ft-logout {
    color: inherit !important;
    opacity: 0.75 !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
    font-size: 0.85em !important;
}

.bbl-stitch-notice-box {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    background: #fefce8 !important;
    border: 1px solid #fef08a !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    color: #854d0e !important;
    margin-top: 10px !important;
}

.bbl-stitch-notice-icon {
    font-size: 14px !important;
    line-height: 1.2 !important;
    flex-shrink: 0 !important;
}

/* Mobile Card Layout & Variant Drawer Badges */
@media (max-width: 640px) {
    .cart-item__container-info {
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }
    .cart-item__name-container {
        width: 100% !important;
        min-width: 0 !important;
    }
    .cart-item__name-container a {
        word-break: normal !important;
        overflow-wrap: break-word !important;
        font-size: 14px !important;
        line-height: 1.35 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
}

.bbl-drawer-item__meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px 6px !important;
    align-items: center !important;
}

.bbl-drawer-item__incart-tag,
.bbl-drawer-item__step,
.bbl-drawer-item__badge,
.bbl-drawer-item__sku {
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* Hard suppression of leftover floating bar elements */
.bbl-float-right,
#floating-checkout-btn,
#floating-total-price {
    display: none !important;
}

/* ============================================================
   STEP 2.2 AUTHORITATIVE POLISH OVERRIDES (BOBO-136)
   ============================================================ */

/* 1. Share Popover Styling (Sync with PDP: Dark Slate + White Text) */
.bbl-share-popover {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    left: auto !important;
    z-index: 99999 !important;
    width: 230px !important;
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    padding: 6px 0 !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4) !important;
}

.bbl-share-popover__arrow {
    position: absolute !important;
    top: -6px !important;
    right: 28px !important;
    width: 12px !important;
    height: 12px !important;
    background: #1e293b !important;
    border-left: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    transform: rotate(45deg) !important;
}

.bbl-share-popover,
.bbl-share-popover *,
.bbl-share-popover__item,
.bbl-share-popover__item span {
    color: #ffffff !important;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
}

.bbl-share-popover__item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 9px 16px !important;
    cursor: pointer !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: transparent !important;
    transition: background 0.15s ease, color 0.15s ease !important;
}

.bbl-share-popover__item:last-child {
    border-bottom: none !important;
}

.bbl-share-popover__item:hover,
.bbl-share-popover__item:hover span {
    color: #38bdf8 !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

.bbl-share-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 0 !important;
    background: transparent !important;
    flex-shrink: 0 !important;
}

.bbl-share-icon svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
}

@media (max-width: 639px) {
    .bbl-share-popover {
        right: 0 !important;
        left: auto !important;
        max-width: calc(100vw - 32px) !important;
        width: 220px !important;
    }
    .bbl-share-popover__arrow {
        right: 22px !important;
    }
}

/* 2. Recommendations Carousel Photos: Centered & Enlarged (~200px) */
.bbl-stitch-rec-thumb {
    position: relative !important;
    width: 100% !important;
    height: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    margin: 0 auto !important;
    overflow: hidden !important;
}

.bbl-stitch-rec-thumb a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 auto !important;
}

.bbl-stitch-rec-thumb img {
    max-width: 90% !important;
    max-height: 185px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    display: block !important;
    transition: transform 0.3s ease !important;
}

.bbl-stitch-rec-card:hover .bbl-stitch-rec-thumb img {
    transform: scale(1.05) !important;
}

/* 3. LK Customer Row in Order Details (Replaces Fast-Track) */
.bbl-lk-customer-row {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 6px 12px !important;
    padding: 9px 12px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    margin-bottom: 14px !important;
    font-size: 13px !important;
    color: #475569 !important;
}

.bbl-lk-customer-info {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    gap: 4px 6px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
}

.bbl-lk-customer-label {
    color: #64748b !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
}

.bbl-lk-customer-name {
    color: #0f172a !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    word-break: break-word !important;
    white-space: normal !important;
}

.bbl-lk-customer-name:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

.bbl-lk-customer-logout {
    color: #94a3b8 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    transition: color 0.15s ease !important;
}

.bbl-lk-customer-logout:hover {
    color: #ef4444 !important;
    text-decoration: underline !important;
}

/* 4. Payer Switcher: 2 Balanced Lines (No Orphan НДС) */
.bbl-segmented-btn.bbl-btn-jur,
#btn-jur {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.15 !important;
    padding: 6px 10px !important;
    text-align: center !important;
}

.bbl-btn-jur-top {
    font-size: 13px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

.bbl-btn-jur-sub {
    font-size: 11px !important;
    font-weight: 500 !important;
    opacity: 0.85 !important;
    white-space: nowrap !important;
    margin-top: 2px !important;
}

#btn-fiz {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px 10px !important;
    line-height: 1.15 !important;
}

/* 5. Mobile Jump Anchor: No Sum Truncation & Compact Height */
.bbl-mobile-jump-banner {
    box-sizing: border-box !important;
}

.bbl-mobile-jump-info {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
}

.bbl-jump-text {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.bbl-jump-total-val,
#bbl-jump-total {
    font-weight: 700 !important;
    color: #0f172a !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.bbl-jump-btn {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 6px 12px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
}

/* 6. Compact Mobile Header & Spacing (<768px) */
@media (max-width: 767px) {
    .cart-page {
        padding: 8px 12px 32px !important;
    }
    .bbl-cart-stitch-header {
        margin-bottom: 8px !important;
        padding-bottom: 8px !important;
        gap: 6px !important;
    }
    .bbl-cart-header-left {
        gap: 4px !important;
    }
    .bbl-stitch-back-link {
        font-size: 11px !important;
        margin-bottom: 2px !important;
    }
    .bbl-cart-title-row {
        gap: 8px !important;
    }
    .bbl-stitch-title {
        font-size: 20px !important;
    }
    .bbl-stitch-badge-pill {
        padding: 2px 8px !important;
        font-size: 11px !important;
    }
    .bbl-wholesale-prop-banner {
        margin-bottom: 8px !important;
        padding: 8px 10px !important;
        gap: 6px !important;
    }
    .bbl-prop-left {
        font-size: 11.5px !important;
    }
    .bbl-prop-chip {
        font-size: 11px !important;
        padding: 2px 8px !important;
    }
    .bbl-mobile-jump-banner {
        margin-bottom: 8px !important;
        padding: 6px 10px !important;
    }
}

/* 7. Mobile <640px Cart Item: Zero Dead Space Under Thumbnail */
@media (max-width: 640px) {
    .cart-item__container {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }
    .bbl-cart-col-product {
        display: flex !important;
        align-items: flex-start !important;
        gap: 10px !important;
        width: 100% !important;
        flex: 0 0 auto !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }
    .cart-item__container-image {
        width: 72px !important;
        height: 72px !important;
        min-width: 72px !important;
        max-width: 72px !important;
        flex-shrink: 0 !important;
    }
    .cart-item__container-info {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        padding: 0 !important;
    }
    .bbl-item-controls-wrap {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        width: 100% !important;
        padding-top: 6px !important;
        border-top: 1px dashed #f1f5f9 !important;
    }
    .cart-item__container-total {
        text-align: right !important;
        margin: 0 !important;
    }
    .bbl-item-actions-wrap {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }
}


/* ==========================================================================
   Header Profile Dropdown Popover (NovaShop v1.2.1 Light Theme)
   ========================================================================== */
.bbl-header-profile-dropdown {
    position: relative !important;
}

.bbl-header-profile-dropdown .bbl-profile-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    margin-top: 8px !important;
    z-index: 9999 !important;
    min-width: 250px !important;
    display: none;
    pointer-events: none;
    text-align: left !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Hover bridge and open states */
.bbl-header-profile-dropdown:hover .bbl-profile-menu,
.bbl-header-profile-dropdown.is-active .bbl-profile-menu,
.bbl-header-profile-dropdown.dropdown_active .bbl-profile-menu {
    display: block !important;
    pointer-events: auto !important;
}

/* Invisible hover bridge without any borders or pseudo-arrows */
.bbl-header-profile-dropdown .bbl-profile-menu::before,
.bbl-header-profile-dropdown .dropdown__dropdown_right-arrow::before {
    content: '' !important;
    position: absolute !important;
    top: -14px !important;
    left: 0 !important;
    right: 0 !important;
    height: 16px !important;
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
}

.bbl-header-profile-dropdown .bbl-profile-menu::after,
.bbl-header-profile-dropdown .dropdown__dropdown_right-arrow::after {
    display: none !important;
    content: none !important;
    border: none !important;
}

.bbl-profile-menu__card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.16), 0 4px 12px -2px rgba(15, 23, 42, 0.08) !important;
    padding: 14px 16px !important;
    color: #1e293b !important;
    box-sizing: border-box !important;
}

.bbl-profile-menu__user-row {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding-bottom: 8px !important;
}

.bbl-profile-menu__avatar {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    color: #475569 !important;
}

.bbl-profile-menu__meta {
    flex: 1 !important;
    min-width: 0 !important;
}

.bbl-profile-menu__name {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.25 !important;
}

.bbl-profile-menu__badge {
    display: inline-block !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #0284c7 !important;
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
    border-radius: 4px !important;
    padding: 1px 6px !important;
    margin-top: 3px !important;
    line-height: 1.3 !important;
}

.bbl-profile-menu__divider {
    height: 1px !important;
    background: #f1f5f9 !important;
    margin: 8px 0 !important;
}

.bbl-profile-menu__nav {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.bbl-profile-menu__nav li {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.bbl-profile-menu__item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
}

.bbl-profile-menu__item svg {
    stroke: #64748b !important;
    flex-shrink: 0 !important;
    transition: stroke 0.15s ease !important;
}

.bbl-profile-menu__item:hover {
    background: #f8fafc !important;
    color: #0284c7 !important;
    text-decoration: none !important;
}

.bbl-profile-menu__item:hover svg {
    stroke: #0284c7 !important;
}

.bbl-profile-menu__logout {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #dc2626 !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
}

.bbl-profile-menu__logout svg {
    stroke: #dc2626 !important;
    flex-shrink: 0 !important;
}

.bbl-profile-menu__logout:hover {
    background: #fef2f2 !important;
    color: #b91c1c !important;
    text-decoration: none !important;
}

/* ==========================================================================
   Variant B Catalog / Favorites Buttons
   ========================================================================== */
.bbl-btn-select-variant {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    gap: 6px !important;
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
    transition: all 0.2s ease !important;
}

.bbl-btn-select-variant:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
    border-color: #94a3b8 !important;
    text-decoration: none !important;
}

.product_added .product-thumb__add-to-cart:not(.bbl-btn-select-variant) {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
}

.product_added .product-thumb__add-to-cart:not(.bbl-btn-select-variant) .product__btn-text {
    color: #ffffff !important;
}

/* ==========================================================================
   Step 2.4: Variant A Header Row, Borderless PDP Share Button & Clean LK
   ========================================================================== */
.bbl-cart-stitch-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    margin-bottom: 16px !important;
}

.bbl-cart-header-main-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
}

.bbl-cart-header-title-box {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.bbl-cart-header-subtitle {
    display: flex !important;
    align-items: center !important;
}

.bbl-cart-header-share-wrap {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

/* Borderless PDP Style for Share Button in Cart */
.bbl-stitch-share-btn,
.bbl-share-btn.bbl-stitch-share-btn {
    height: auto !important;
    min-height: 32px !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: #64748b !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    font-family: Inter, -apple-system, sans-serif !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    transition: color 0.15s ease, background 0.15s ease !important;
}

.bbl-stitch-share-btn:hover,
.bbl-share-btn.bbl-stitch-share-btn:hover {
    color: var(--primary-color) !important;
    background: #f1f5f9 !important;
    border: none !important;
    box-shadow: none !important;
}

.bbl-stitch-share-btn svg,
.bbl-share-btn.bbl-stitch-share-btn svg {
    stroke: currentColor !important;
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
    transition: stroke 0.15s ease !important;
}

.bbl-stitch-share-btn:hover svg,
.bbl-share-btn.bbl-stitch-share-btn:hover svg {
    stroke: var(--primary-color) !important;
}

.bbl-share-btn-text-desktop {
    display: inline !important;
}
.bbl-share-btn-text-mobile {
    display: none !important;
}

@media (max-width: 640px) {
    .bbl-share-btn-text-desktop {
        display: none !important;
    }
    .bbl-share-btn-text-mobile {
        display: inline !important;
    }
}

/* Ensure Share Popover triggers visibly on mobile and desktop clicks */
.bbl-share-popover.is-visible {
    display: block !important;
}

/* Guest Login Prompt in Order Details */
.bbl-cart-guest-login-prompt {
    margin-bottom: 14px !important;
    padding: 9px 12px !important;
    background: #f8fafc !important;
    border: 1px dashed #cbd5e1 !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.4 !important;
}

.bbl-cart-guest-login-prompt .bbl-guest-login-link {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    transition: color 0.15s ease !important;
}

.bbl-cart-guest-login-prompt .bbl-guest-login-link:hover {
    color: #0f172a !important;
}

/* Wholesale Value Proposition Banner is excised */
.bbl-wholesale-prop-banner {
    display: none !important;
}

@media (max-width: 767px) {
    .bbl-cart-stitch-header {
        margin-bottom: 8px !important;
        padding-bottom: 8px !important;
        gap: 6px !important;
    }
    .bbl-cart-header-main-row {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .bbl-stitch-title {
        font-size: 19px !important;
        line-height: 1.25 !important;
    }
    .bbl-stitch-share-btn,
    .bbl-share-btn.bbl-stitch-share-btn {
        padding: 5px 8px !important;
        font-size: 12.5px !important;
    }
}


/* ==========================================================================
   FIX (BUGS_HISTORY.md): Never show mobile bottom fixed-bar on desktop (BOBO-148)
   ========================================================================== */
@media (min-width: 1024px) {
    .fixed-bar,
    .mobile-bottom-nav,
    .mobile-tabbar,
    .bar_bottom {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}


/* ==========================================================================
   BOBO-156: Calm Neutral Badge for Wholesale Tier Pill (.bbl-tier-pill)
   ========================================================================== */
.bbl-tier-pill,
.bbl-cart-upsell-tier .bbl-tier-pill {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    padding: 2px 7px !important;
    border-radius: 6px !important;
}

/* ==========================================================================
   BOBO-156: Mobile Customer Cabinet (/my/*) Horizontal Overflow Guard (<1024px)
   ========================================================================== */
@media (max-width: 1023px) {
    body,
    .page,
    .index,
    .index__wrapper,
    .content-container,
    .content-wrapper,
    .content-wrapper_my,
    .content-wrapper__block,
    .bbl-lk-top,
    .my-page,
    .r-my,
    .bbl-profile-page {
        overflow-x: clip !important;
        max-width: 100% !important;
    }
    .bbl-my-nav-scroll {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        max-width: 100% !important;
    }
    .my-page .row,
    .r-my .row,
    .bbl-profile-page .row,
    .content-wrapper_my .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}


/* ==========================================================================
   BOBO-157: Step 3 Terms Checkbox & Mobile Checkout Responsive Polish
   ========================================================================== */
.checkout-confirmation__policy-container,
.wa-terms-agreement {
    margin: 20px 0;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}
.checkout-confirmation__policy-container .checkbox,
.wa-terms-agreement .checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #334155;
}
.checkout-confirmation__policy-container input[type="checkbox"],
.wa-terms-agreement input[type="checkbox"],
input[name="terms"] {
    width: 20px !important;
    height: 20px !important;
    accent-color: #004F7A !important;
    cursor: pointer !important;
    flex-shrink: 0;
}
.checkout-confirmation__policy-container a,
.wa-terms-agreement a {
    color: #004F7A;
    text-decoration: underline;
    font-weight: 600;
}

/* Mobile Checkout Polish (< 1024px) */
@media (max-width: 1023px) {
    .checkout-page,
    .checkout-page__content,
    .checkout-page__main,
    .checkout-contactinfo,
    .checkout-payment,
    .checkout-confirmation,
    .checkout-success-block,
    .bbl-delivery-card,
    .bbl-b2b-card,
    .bbl-b2b-fields {
        max-width: 100% !important;
        overflow-x: clip !important;
        box-sizing: border-box !important;
    }
    .bbl-field-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .bbl-delivery-fields-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .bbl-delivery-options {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    .bbl-delivery-option {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .bbl-delivery-option-top {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    .bbl-messenger-icons-row {
        flex-wrap: wrap !important;
        gap: 10px !important;
    }
    .bbl-confirm-card,
    .bbl-confirm-items-card {
        padding: 14px !important;
        box-sizing: border-box !important;
    }
    .checkout-page__button-container {
        flex-direction: column-reverse !important;
        gap: 10px !important;
    }
    .checkout-page__button-container .button {
        width: 100% !important;
        text-align: center !important;
    }
}


/* ==========================================================================
   FIX (BUGS_HISTORY.md 2026-11-19): Checkout UI & Cart Upsells Point Styles
   1. Checkout buyer notice active/hidden state display
   2. Clickable user profile link in checkout auth badge
   3. Calm green wholesale discount in checkout right sidebar
   4. Added & In-Bundle states for cart digital upsells buttons
   DO NOT REFACTOR

.bbl-auth-user-link {
    color: inherit !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(15, 23, 42, 0.35) !important;
    text-underline-offset: 3px !important;
    transition: color 0.15s ease, text-decoration-color 0.15s ease !important;
}
.bbl-auth-user-link:hover {
    color: var(--primary-color, #0284c7) !important;
    text-decoration-color: var(--primary-color, #0284c7) !important;
}

.bbl-discount-green {
    color: #10b981 !important;
    font-weight: 600 !important;
}

.bbl-offer-btn-add.is-added {
    background: #ecfdf5 !important;
    border: 1.5px solid #10b981 !important;
    color: #047857 !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}
.bbl-offer-btn-add.is-added:hover {
    background: #fee2e2 !important;
    border-color: #ef4444 !important;
    color: #b91c1c !important;
}

.bbl-offer-btn-add.is-in-bundle {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #64748b !important;
    cursor: not-allowed !important;
    opacity: 0.9 !important;
}


/* Mobile Safe Bottom Padding for Cart & Checkout above Fixed Bar */
@media (max-width: 1023px) {
    .cart-page,
    .checkout-page {
        padding-bottom: 76px !important;
    }
}

/* ==========================================================================
   BOBO-168: Unified native border-radius & mobile order item card
   ========================================================================== */

/* 1. Единый штатный радиус кнопок и полей ввода (NovaShop v1.2.1) */
.bbl-btn,
.bbl-btn-repeat,
.bbl-btn-merge,
.bbl-btn-doc,
.bbl-btn-details,
.bbl-btn-back,
.bbl-btn-action,
.bbl-btn-transfer-cart,
.bbl-btn-list-more,
.bbl-btn-list-delete,
.bbl-btn-save-fav,
.bbl-btn-fav-add,
.bbl-btn-catalog-primary,
.bbl-btn-catalog-secondary,
.bbl-material-btn-add,
.bbl-material-btn-in-cart,
.bbl-btn-order-link,
.bbl-support-btn,
.bbl-card-edit-btn,
.bbl-btn-main,
.bbl-btn-light,
#bbl_inn_search_btn,
.bbl-input-field,
.bbl-select-field,
.bbl-modal-text-input {
    border-radius: var(--inputs-buttons-border-radius, 16px) !important;
}

/* 2. Мобильная карточка товара в заказе (< 768px) */
@media (max-width: 767px) {
    .order-items-table {
        border: none !important;
        background: transparent !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }
    .order-items-table .table__head,
    .order-items-table__head {
        display: none !important;
    }
    .order-items-table .table__body,
    .order-items-table__body {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }
    .order-items-table__row.order-list-item {
        display: grid !important;
        grid-template-columns: 64px 1fr auto !important;
        grid-template-rows: auto auto !important;
        grid-template-areas: 
            "img name name"
            "img qty total" !important;
        gap: 6px 12px !important;
        align-items: center !important;
        padding: 12px !important;
        background: #FFFFFF !important;
        border: 1px solid #E2E8F0 !important;
        border-radius: var(--inputs-buttons-border-radius, 16px) !important;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
        box-sizing: border-box !important;
        width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
    }
    .order-items-table__cell_sku {
        display: none !important;
    }
    .order-items-table__cell_image {
        grid-area: img !important;
        width: 64px !important;
        height: 64px !important;
        min-width: 64px !important;
        max-width: 64px !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
    }
    .order-items-table__cell_image .order-list-item__image-box,
    .order-items-table__cell_image .image-box {
        width: 64px !important;
        height: 64px !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }
    .order-items-table__cell_image img.order-list-item__image {
        width: 64px !important;
        height: 64px !important;
        object-fit: cover !important;
        border-radius: 8px !important;
        display: block !important;
    }
    .order-items-table__cell_name {
        grid-area: name !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 0 !important;
        border: none !important;
    }
    .bbl-order-item-title {
        font-size: 14px !important;
        font-weight: 600 !important;
        line-height: 1.35 !important;
        color: #0A0F24 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        word-break: break-word !important;
    }
    .bbl-mobile-order-sku {
        display: block !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        color: #64748B !important;
        margin-top: 2px !important;
    }
    .order-items-table__cell_quantity {
        grid-area: qty !important;
        width: auto !important;
        padding: 0 !important;
        border: none !important;
        font-size: 13px !important;
        color: #475569 !important;
        white-space: nowrap !important;
    }
    .order-items-table__cell_total {
        grid-area: total !important;
        width: auto !important;
        padding: 0 !important;
        border: none !important;
        text-align: right !important;
        justify-self: end !important;
        white-space: nowrap !important;
    }
    .bbl-order-item-total {
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #0A0F24 !important;
    }
    .order-items-table .table__label-text {
        display: none !important;
    }
    .bbl-mobile-qty-count {
        display: inline !important;
    }
    .bbl-desktop-qty-count {
        display: none !important;
    }
}
@media (min-width: 768px) {
    .bbl-mobile-order-sku {
        display: none !important;
    }
    .bbl-mobile-qty-count {
        display: none !important;
    }
    .bbl-desktop-qty-count {
        display: inline !important;
    }
}

/* BBL-POLISH: LK /my/orders/ button heights & radii unification */
.bbl-order-card__actions .bbl-btn,
.bbl-order-card__actions .bbl-btn-repeat,
.bbl-order-card__actions .bbl-btn-merge,
.bbl-order-card__actions .bbl-btn-doc,
.bbl-order-card__actions .bbl-btn-cancel,
.bbl-order-card__actions .bbl-btn-details {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 0 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    border-radius: var(--inputs-buttons-border-radius, 16px) !important;
    gap: 6px !important;
}
.bbl-order-card__actions .bbl-order-status-hint {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    border-radius: var(--inputs-buttons-border-radius, 16px) !important;
    white-space: nowrap !important;
}


/* === MOBILE CART CLEAN FIX (MAX 100 LINES) === */
@media (max-width: 1023px) {
    #configurator, .bbl-configurator-wrapper { display: none !important; }
}

@media (max-width: 767px) {
    .container.container_content {
        padding-left: 8px !important; padding-right: 8px !important; width: 100% !important; box-sizing: border-box !important;
    }
    .content, .content__content, .cart-page, .bbl-cart-unified-wrapper, .cart-page__container-items, .cart-page__items, .cart-items-container, .cart-items {
        padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important; border: none !important; box-shadow: none !important; background: transparent !important;
    }
    .bbl-cart-product-group {
        width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; box-sizing: border-box !important;
    }
    .bbl-bulk-actions, .bbl-bulk-controls-bar, .bbl-cart-upsell-tier, .bbl-stitch-notice-box {
        border: none !important; box-shadow: none !important;
    }
    .bbl-mobile-jump-banner, #bbl-mobile-jump-anchor, .cart-floating-bar {
        position: static !important; top: auto !important; margin-top: 4px !important; margin-bottom: 8px !important; width: 100% !important;
    }
    .bbl-segmented-switcher {
        display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px !important; width: 100% !important; padding: 4px !important; box-sizing: border-box !important; align-items: stretch !important;
    }
    .bbl-segmented-btn {
        width: 100% !important; min-width: 0 !important; min-height: 44px !important; height: auto !important; padding: 6px 8px !important; box-sizing: border-box !important;
        display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important;
    }
    .bbl-btn-jur-top { font-size: 12px !important; line-height: 1.2 !important; white-space: nowrap !important; }
    .bbl-btn-jur-sub { font-size: 10px !important; line-height: 1.1 !important; white-space: nowrap !important; }
    .bbl-total-sum-row {
        display: flex !important; flex-wrap: wrap !important; gap: 4px 8px !important; align-items: baseline !important;
    }
    .bbl-total-sum-label { font-size: 14px !important; }
    .bbl-total-sum-val { font-size: 18px !important; font-weight: 700 !important; }
    #primary-checkout-btn {
        height: 44px !important; min-height: 44px !important; border-radius: var(--inputs-buttons-border-radius, 16px) !important;
        font-size: 14px !important; padding: 0 12px !important; white-space: nowrap !important; width: 100% !important; box-sizing: border-box !important;
    }
    #sidebar-bundle-toggle-btn, .bbl-bundle-btn-toggle {
        height: 40px !important; min-height: 40px !important; border-radius: var(--inputs-buttons-border-radius, 16px) !important;
    }
    .bbl-offer-btn-add, #btn-add-guide, #btn-add-media, #btn-add-legal {
        height: 38px !important; min-height: 38px !important; padding: 0 12px !important; font-size: 12px !important;
        background: #004F7A !important; background-color: #004F7A !important; color: #FFFFFF !important; border: none !important;
        border-radius: var(--inputs-buttons-border-radius, 16px) !important; display: inline-flex !important; align-items: center !important; justify-content: center !important;
    }
    .bbl-stitch-sec-btn, #bbl-export-excel-btn, .bbl-cart-group-add-btn, .bbl-jump-btn, .js-scroll-to-summary, #floating-checkout-btn {
        height: 38px !important; min-height: 38px !important; border-radius: var(--inputs-buttons-border-radius, 16px) !important;
    }
    .quantity__button, .qty-btn, .bbl-item-action-icon-btn {
        height: 38px !important; min-height: 38px !important; border-radius: var(--inputs-buttons-border-radius, 16px) !important;
    }
}


/* === MOBILE CHECKOUT REFINEMENT (MICRO-PASS 2) === */
@media (max-width: 767px) {
    .checkout-page, .checkout-page .checkout-step, .checkout-page .bbl-b2b-card,
    .checkout-page .bbl-delivery-card, .checkout-page .bbl-confirm-card, .checkout-page .bbl-confirm-items-card,
    .checkout-page .bbl-inn-search-box, .checkout-page .bbl-file-upload-box, .checkout-page .bbl-b2b-quick-tools,
    .checkout-page .bbl-b2b-form-section, .checkout-page .bbl-b2b-fields, .checkout-page .bbl-contact-card {
        padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important;
        border: none !important; box-shadow: none !important; background: transparent !important;
    }
    .checkout-page input[type="text"], .checkout-page input[type="tel"], .checkout-page input[type="email"],
    .checkout-page .bbl-input-text, .checkout-page .textarea, .checkout-page select {
        width: 100% !important; height: 44px !important; min-height: 44px !important;
        border-radius: var(--inputs-buttons-border-radius, 16px) !important; box-sizing: border-box !important;
    }
    .checkout-page .textarea { height: auto !important; min-height: 80px !important; }
    .checkout-page .bbl-messenger-name { display: none !important; }
    .checkout-page .bbl-messenger-icons-row {
        display: flex !important; flex-wrap: nowrap !important; gap: 10px !important; height: 40px !important; align-items: center !important;
    }
    .checkout-page .bbl-messenger-item {
        display: inline-flex !important; align-items: center !important; justify-content: center !important;
        height: 40px !important; padding: 0 12px !important; gap: 8px !important; box-sizing: border-box !important;
        border-radius: var(--inputs-buttons-border-radius, 16px) !important;
    }
    .checkout-page .bbl-payment-card {
        padding: 12px !important; box-sizing: border-box !important;
        border-radius: var(--inputs-buttons-border-radius, 16px) !important;
    }
    .checkout-page .bbl-payment-card .bbl-payment-label {
        display: flex !important; align-items: flex-start !important; gap: 10px !important; width: 100% !important;
    }
    .checkout-page .bbl-payment-card .bbl-payment-fallback-icon,
    .checkout-page .bbl-payment-card .bbl-payment-logo-box { display: none !important; }
    .checkout-page .bbl-payment-card .bbl-payment-info-box {
        flex: 1 1 auto !important; min-width: 0 !important; width: 100% !important;
    }
    .checkout-page .bbl-payment-card .bbl-payment-title-row {
        display: flex !important; flex-wrap: wrap !important; gap: 6px !important; align-items: center !important;
    }
    .checkout-page .bbl-confirm-item {
        display: grid !important; grid-template-columns: 64px 1fr auto !important;
        grid-template-areas: "photo title title" "photo qty total" !important;
        column-gap: 12px !important; row-gap: 6px !important; align-items: center !important; padding: 10px 0 !important;
    }
    .checkout-page .bbl-confirm-item__img-box {
        grid-area: photo !important; width: 64px !important; height: 64px !important; align-self: start !important; border-radius: 10px !important;
    }
    .checkout-page .bbl-confirm-item__main { grid-area: title !important; width: 100% !important; min-width: 0 !important; }
    .checkout-page .bbl-confirm-item__title { font-size: 14px !important; line-height: 1.3 !important; }
    .checkout-page .bbl-confirm-item__qty {
        grid-area: qty !important; padding: 0 !important; text-align: left !important; font-size: 13px !important; display: flex !important; align-items: baseline !important; gap: 4px !important;
    }
    .checkout-page .bbl-confirm-item__total {
        grid-area: total !important; padding: 0 !important; text-align: right !important; font-size: 15px !important; font-weight: 700 !important;
    }
    .checkout-page .checkout-page__button, .checkout-page .bbl-btn-submit-order {
        height: 44px !important; min-height: 44px !important; border-radius: var(--inputs-buttons-border-radius, 16px) !important;
    }
    .checkout-page .bbl-delivery-option {
        border-radius: var(--inputs-buttons-border-radius, 16px) !important; padding: 12px !important;
    }
    .checkout-page .bbl-step-alert, .checkout-page .bbl-checkout-buyer-notice {
        border: none !important; box-shadow: none !important; background: #f8fafc !important; border-radius: 12px !important; padding: 10px 12px !important;
    }
    .up-button { display: none !important; }
}

/* === BOBO CHECKOUT UNIFIED MODULE === */
/* 1. Base / Common Rules (All Viewports) */
:root {     --bbl-checkout-radius: var(--inputs-buttons-border-radius, 16px);     --bbl-bg-card: #f8fafc;     --bbl-border-card: #e2e8f0; }
/* Visibility fix for login page and modals */
.login-page, .login-modal {     visibility: visible !important; }
/* Clickable completed steps and back buttons */
.checkout-steps__step_done,
.checkout-page__responsive-step_done,
.checkout-page__back-button {     cursor: pointer !important;     pointer-events: auto !important; }
.checkout-steps__step_done,
.checkout-page__responsive-step_done {     text-decoration: none !important;     color: inherit !important; }
/* Shared components */
.checkout-page__spinner, .checkout-page__loading, .checkout-page__overlay { display: none !important; }
.bbl-badge, .bbl-cart-buyer-badge {     display: inline-flex !important; align-items: center !important; font-size: 11px !important; font-weight: 700 !important;     padding: 2px 8px !important; border-radius: var(--bbl-checkout-radius) !important; line-height: 1.3 !important; }
.bbl-badge_green, .bbl-cart-buyer-badge_green { background: #E8F5E9 !important; color: #1B5E20 !important; }
.bbl-badge_blue, .bbl-cart-buyer-badge_blue { background: #E3F2FD !important; color: #0D47A1 !important; }
.bbl-badge_orange { background: #FFF3E0 !important; color: #E65100 !important; }
/* Base Buyer Switcher (Always Column container so Notice is strictly UNDER buttons) */
#bbl-buyer-switcher, .bbl-cart-buyer-switcher-box {     display: flex !important; flex-direction: column !important; width: 100% !important;     box-sizing: border-box !important; margin-bottom: 20px !important;     border-radius: var(--bbl-checkout-radius) !important; border: 1px solid var(--bbl-border-card) !important;     background: #ffffff !important; }
.bbl-cart-buyer-switcher {     display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 12px !important; width: 100% !important; }
.bbl-cart-buyer-switcher .bbl-buyer-btn, .bbl-cart-buyer-switcher .bbl-cart-buyer-btn {     width: 100% !important; min-height: 48px !important; height: auto !important;     border: 1.5px solid var(--bbl-border-card); border-radius: var(--bbl-checkout-radius);     background: #ffffff; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--color-text-main, #0A0F24) !important;     display: flex !important; align-items: center !important; justify-content: flex-start !important; gap: 12px !important;     box-sizing: border-box !important; }
.bbl-cart-buyer-switcher .bbl-buyer-btn.active, .bbl-cart-buyer-switcher .bbl-cart-buyer-btn.active {     background: #004F7A !important; border: 1.5px solid #004F7A !important; box-shadow: none !important; color: #FFFFFF !important; }
.bbl-cart-buyer-switcher .bbl-buyer-btn strong, .bbl-cart-buyer-switcher .bbl-cart-buyer-btn strong { color: var(--color-text-main, #0A0F24) !important; }
.bbl-cart-buyer-switcher .bbl-buyer-btn.active strong, .bbl-cart-buyer-switcher .bbl-cart-buyer-btn.active strong,
.bbl-cart-buyer-switcher .bbl-buyer-btn.active span, .bbl-cart-buyer-switcher .bbl-cart-buyer-btn.active span,
.bbl-cart-buyer-switcher .bbl-buyer-btn.active svg, .bbl-cart-buyer-switcher .bbl-cart-buyer-btn.active svg { color: #FFFFFF !important; fill: #FFFFFF !important; }
#bbl-checkout-buyer-notice, .bbl-cart-buyer-notice {     display: block !important; width: 100% !important; clear: both !important; box-sizing: border-box !important; }
.bbl-cart-notice-item {     padding: 10px 14px !important; border-radius: 8px !important; font-size: 13px !important; line-height: 1.45 !important;     display: flex !important; align-items: flex-start !important; gap: 8px !important; }
.bbl-notice-person { background: #f0fdf4 !important; border: 1px solid #bbf7d0 !important; color: #166534 !important; }
.bbl-notice-company { background: #eff6ff !important; border: 1px solid #bfdbfe !important; color: #1e40af !important; }
/* Base Payment Cards - Strictly Left-Aligned across all viewports */
.checkout-payment__methods, .checkout-payment__method, .checkout-payment-methods, .bbl-payment-stack {     display: flex !important; flex-direction: column !important; gap: 14px !important; width: 100% !important; max-width: 100% !important;     text-align: left !important; align-items: flex-start !important; justify-content: flex-start !important; }
.checkout-payment-method, .bbl-payment-card {     width: 100% !important; max-width: 100% !important; box-sizing: border-box !important;     border: 1.5px solid var(--bbl-border-card) !important; border-radius: var(--bbl-checkout-radius) !important;     text-align: left !important; align-items: flex-start !important; justify-content: flex-start !important; }
.bbl-payment-label {     display: flex !important; align-items: flex-start !important; gap: 12px !important; width: 100% !important;     text-align: left !important; cursor: pointer !important; }
.bbl-payment-info-box {     flex: 1 1 auto !important; width: auto !important; min-width: 0 !important;     text-align: left !important; align-items: flex-start !important; display: flex !important; flex-direction: column !important; }
.bbl-payment-title-row {     display: flex !important; flex-wrap: wrap !important; align-items: center !important; justify-content: flex-start !important;     gap: 8px !important; width: 100% !important; text-align: left !important; }
.bbl-payment-title { font-weight: 700 !important; font-size: 15px !important; color: #0f172a !important; text-align: left !important; }
.bbl-payment-subtitle {     font-size: 13px !important; color: #64748b !important; line-height: 1.45 !important; margin-top: 6px !important;     width: 100% !important; text-align: left !important; }
/* 2. Desktop & Tablet Refinements (>= 768px) */
@media (min-width: 768px) {     .checkout-page__steps-container { width: 100% !important; margin-bottom: 24px !important; }
     .checkout-page__container { width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }
     .checkout-page__container-content {         display: grid !important; grid-template-columns: minmax(0, 1fr) 360px !important;         gap: 32px !important; align-items: start !important; width: 100% !important;     }
     .checkout-page__form { grid-column: 1 / 2 !important; width: 100% !important; min-width: 0 !important; }
     .checkout-page__sidebar {         grid-column: 2 / 3 !important; width: 360px !important; position: sticky !important; top: 20px !important;     }
     .checkout-page__step-content {         background: var(--bbl-bg-card); border: 1px solid var(--bbl-border-card);         border-radius: var(--bbl-checkout-radius); padding: 28px; margin-bottom: 24px; width: 100%; box-sizing: border-box;     }
     #bbl-buyer-switcher, .bbl-cart-buyer-switcher-box {         padding: 20px 24px !important; margin-bottom: 24px !important;     }
     .bbl-cart-buyer-switcher {         grid-template-columns: 1fr 1fr !important; gap: 16px !important;     }
     .bbl-cart-buyer-switcher .bbl-buyer-btn, .bbl-cart-buyer-switcher .bbl-cart-buyer-btn {         padding: 12px 18px !important;     }
     #bbl-checkout-buyer-notice, .bbl-cart-buyer-notice {         margin-top: 14px !important;     }
     .bbl-b2b-quick-tools {         display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 16px !important;         align-items: stretch !important; width: 100% !important; margin-bottom: 24px !important;     }
     .bbl-inn-search-box, .bbl-file-upload-box {         width: 100% !important; min-height: 120px !important; height: auto !important; padding: 16px !important;         box-sizing: border-box !important; display: flex !important; flex-direction: column !important; justify-content: center !important;     }
     .bbl-messengers-card-group {         grid-column: 1 / -1 !important; width: 100% !important; margin-top: 8px !important;         padding-top: 12px !important; display: flex !important; flex-direction: column !important;     }
     .bbl-messenger-icons-row {         display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important;         gap: 12px !important; align-items: center !important; width: 100% !important; height: auto !important;         min-height: 40px !important; box-sizing: border-box !important;     }
     .bbl-messenger-item {         height: 40px !important; min-height: 40px !important; max-height: 40px !important;         display: inline-flex !important; align-items: center !important; gap: 8px !important; padding: 0 14px !important;         border: 1px solid var(--bbl-border-card) !important; border-radius: var(--bbl-checkout-radius) !important;         background: #ffffff !important; box-sizing: border-box !important; white-space: nowrap !important;         cursor: pointer !important; flex: 0 0 auto !important;     }
     .bbl-messenger-name, .bbl-msg-label { display: inline !important; font-size: 13px !important; font-weight: 600 !important; color: #334155 !important; }
     .bbl-messenger-hint {         display: block !important; margin-top: 8px !important; position: static !important; width: 100% !important;         clear: both !important; font-size: 12px !important; color: #64748b !important; line-height: 1.4 !important;     }
     #bbl_diff_recipient_fields, .bbl-different-recipient, .bbl-diff-recipient-box {         grid-column: 1 / -1 !important; width: 100% !important; margin-top: 16px !important; position: static !important; clear: both !important;     }
     .checkout-payment-method, .bbl-payment-card {         padding: 18px 20px !important;     }
     .bbl-confirm-items-card {         padding: 24px !important; background: var(--bbl-bg-card) !important; border-radius: var(--bbl-checkout-radius) !important;         border: 1px solid var(--bbl-border-card) !important; margin-bottom: 24px !important;     }
     .bbl-confirm-grid {         display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 20px !important; margin-bottom: 24px !important;     }
     .bbl-confirm-card {         padding: 20px !important; background: var(--bbl-bg-card) !important; border-radius: var(--bbl-checkout-radius) !important;         border: 1px solid var(--bbl-border-card) !important;     }
     .bbl-confirm-item {         display: grid !important; grid-template-columns: 48px 1fr 90px 110px !important; gap: 16px !important;         align-items: center !important; padding: 12px 0 !important; border-bottom: 1px solid var(--bbl-border-card) !important;     }
     .bbl-confirm-item__image { width: 48px !important; height: 48px !important; border-radius: 8px !important; }
     .bbl-confirm-item__title { font-weight: 600 !important; font-size: 14px !important; line-height: 1.35 !important; color: #0f172a !important; display: block !important; }
     .bbl-confirm-item__qty { text-align: right !important; white-space: nowrap !important; display: block !important; }
     .bbl-confirm-item__total { text-align: right !important; white-space: nowrap !important; font-weight: 700 !important; display: block !important; }
     .checkout-success-block { max-width: 600px !important; margin: 0 auto !important; padding: 40px 20px !important; text-align: center !important; }
     .checkout-success-actions { display: flex !important; flex-direction: row !important; justify-content: center !important; gap: 14px !important; width: 100% !important; }
     .checkout-success-actions .button { min-width: 200px !important; height: 44px !important; border-radius: var(--bbl-checkout-radius) !important; }
     .checkout-success-tg-card { padding: 20px !important; border-radius: var(--bbl-checkout-radius) !important; display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 16px !important; text-align: left !important; }
     .checkout-success-tg-card .button { flex: 0 0 auto !important; height: 44px !important; border-radius: var(--bbl-checkout-radius) !important; }
 }
/* 2b. Desktop Grid Layout (>= 1024px) — правая сводка СТРОГО справа */
@media (min-width: 1024px) {     .checkout-page__container { display: grid !important; grid-template-columns: minmax(0, 1fr) 360px !important; gap: 28px !important; align-items: start !important; max-width: 100% !important; }
     .checkout-page__container-content { width: auto !important; min-width: 0 !important; max-width: 100% !important; }
     .checkout-page__container-summary, .checkout-page__sidebar { width: 360px !important; position: sticky !important; top: 80px !important; margin-top: 0 !important; align-self: start !important; }
     .checkout-page .bbl-cart-buyer-btn.active, .checkout-page .bbl-buyer-btn.active { background: #004F7A !important; border: 1.5px solid #004F7A !important; box-shadow: none !important; color: #FFFFFF !important; }
     .checkout-page .bbl-cart-buyer-btn.active strong, .checkout-page .bbl-buyer-btn.active strong, .checkout-page .bbl-cart-buyer-btn.active span, .checkout-page .bbl-buyer-btn.active span, .checkout-page .bbl-cart-buyer-btn.active svg, .checkout-page .bbl-buyer-btn.active svg { color: #FFFFFF !important; fill: #FFFFFF !important; }
     /* Compact VIP Digital Offer on Mobile */     .bbl-vip-bundle-card, .bbl-digital-offer-card { padding: 10px 12px !important; }
     .bbl-vip-bundle-card [style*="340px"], .bbl-digital-offer-card [style*="340px"] { flex: 0 1 auto !important; min-height: 0 !important; }
     .bbl-vip-bundle-card p, .bbl-digital-offer-card p { display: none !important; }
     .bbl-vip-bundle-card .bbl-bundle-icon-box, .bbl-digital-offer-card .bbl-bundle-icon-box { width: 36px !important; height: 36px !important; min-height: 36px !important; }
     .bbl-vip-bundle-card > div:last-child, .bbl-digital-offer-card > div:last-child { margin-top: 6px !important; padding: 6px 8px !important; font-size: 11px !important; }
 }
/* 3. Mobile Responsive Overrides (< 768px) */
@media (max-width: 767px) {     .checkout-page, .container.container_content {         padding-left: 8px !important; padding-right: 8px !important; width: 100% !important; box-sizing: border-box !important;     }
     .checkout-page__container, .checkout-page__step-content,     .checkout-page .checkout-payment__methods, .checkout-page .checkout-payment__method,     .checkout-page .checkout-payment, .checkout-page .step-payment,     .bbl-b2b-fields, .bbl-b2b-card, #bbl-company-fields,     .bbl-b2b-form-section, .bbl-confirm-items-card, .checkout-page__form,     .checkout-page__container-content, .bbl-inn-search-box {         border-left: none !important; border-right: none !important; border-radius: 0 !important;         padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important;         background: transparent !important; box-shadow: none !important; width: 100% !important; box-sizing: border-box !important;     }
     #bbl-buyer-switcher, .bbl-cart-buyer-switcher-box {         padding: 12px !important; border-radius: var(--bbl-checkout-radius) !important;         background: #ffffff !important; border: 1px solid var(--bbl-border-card) !important;         margin-bottom: 16px !important;     }
     .bbl-cart-buyer-switcher {         display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px !important; width: 100% !important;     }
     .bbl-cart-buyer-switcher .bbl-buyer-btn, .bbl-cart-buyer-switcher .bbl-cart-buyer-btn {         width: 100% !important; min-height: 48px !important; height: auto !important; padding: 8px 10px !important;         gap: 8px !important; font-size: 13px !important;     }
     #bbl-checkout-buyer-notice, .bbl-cart-buyer-notice {         width: 100% !important; margin-top: 8px !important; display: block !important;     }
     .bbl-inn-search-input-wrap { flex-direction: column !important; width: 100% !important; }
     #bbl_inn_search, #bbl_inn_search_btn { width: 100% !important; }
     .form__fields, .wa-field, .bbl-unified-fio-field { grid-template-columns: 1fr !important; width: 100% !important; }
     #bbl_unified_fio { width: 100% !important; }
     .bbl-form-section-title { border: none !important; padding: 0 !important; font-size: 15px !important; }
     .bbl-messenger-name, .bbl-msg-label { display: none !important; }
     .checkout-page .bbl-payment-card {         padding: 14px 12px !important; width: 100% !important; box-sizing: border-box !important;         text-align: left !important;     }
     .checkout-page .bbl-payment-label {         display: flex !important; align-items: flex-start !important; gap: 10px !important; width: 100% !important;         text-align: left !important;     }
     .checkout-page .bbl-payment-fallback-icon, .checkout-page .bbl-payment-logo-box, .checkout-page .checkout-payment-method__logo-container {         display: inline-flex !important; font-size: 20px !important; margin-top: 2px !important;     }
     .checkout-page .bbl-payment-info-box {         width: calc(100% - 50px) !important; min-width: 220px !important; flex: 1 1 auto !important;         text-align: left !important; align-items: flex-start !important;     }
     .bbl-payment-title-row {         flex-direction: column !important; align-items: flex-start !important; gap: 4px !important;         text-align: left !important;     }
     .bbl-payment-title { text-align: left !important; font-size: 14px !important; }
     .bbl-payment-subtitle { text-align: left !important; font-size: 12.5px !important; }
     .bbl-confirm-item {         grid-template-columns: 64px 1fr !important; grid-template-rows: auto auto !important; gap: 8px 12px !important;     }
     .bbl-confirm-item__main { grid-column: 2 / 3 !important; }
     .bbl-confirm-item__title { width: 100% !important; min-width: 220px !important; font-size: 13px !important; }
     .bbl-confirm-item__qty { grid-column: 2 / 3 !important; text-align: left !important; display: inline-block !important; }
     .bbl-confirm-item__total { grid-column: 2 / 3 !important; text-align: left !important; margin-top: 2px !important; }
     .bbl-confirm-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
     .bbl-confirm-card { padding: 14px !important; margin-bottom: 10px !important; }
     .checkout-page .up-button, .up-button { display: none !important; }
     .checkout-page__back-button { display: inline-flex !important; margin-bottom: 8px !important; }
     .checkout-success-block { padding: 24px 0 !important; width: 100% !important; }
     .checkout-success-block .button, .bbl-summary-submit-btn,     .bbl-checkout-btn, .checkout-page__button {         width: 100% !important; min-width: 320px !important; box-sizing: border-box !important;     }
     .checkout-success-actions { flex-direction: column; width: 100%; gap: 10px; }
     .checkout-success-actions .button, .checkout-success-tg-card .button { width: 100% !important; min-width: 0 !important; }
     .checkout-success-tg-card { flex-direction: column; align-items: stretch; text-align: left; padding: 16px 12px !important; }
     /* 3b. Mobile 1-Column Contacts & INN Stack */     .bbl-contact-card .form__fields { display: grid !important; grid-template-columns: 1fr !important; gap: 12px !important; width: 100% !important; box-sizing: border-box !important; }
     .bbl-contact-card .bbl-unified-fio-field, .bbl-contact-card .wa-field-phone, .bbl-contact-card .wa-field-email, .bbl-contact-card .bbl-messengers-card-group { grid-column: 1 / -1 !important; grid-row: auto !important; width: 100% !important; max-width: 100% !important; }
     .checkout-page .bbl-contact-fields, .checkout-page .bbl-b2b-fields, .checkout-page .bbl-b2b-form-section, .checkout-page .bbl-form-row, .checkout-page .wa-field-row, .checkout-page #bbl-company-fields, .checkout-page .checkout-contactinfo__fields { display: grid !important; grid-template-columns: 1fr !important; gap: 12px !important; width: 100% !important; box-sizing: border-box !important; }
     .bbl-inn-search-box { gap: 8px !important; padding: 12px !important; width: 100% !important; box-sizing: border-box !important; }
     .bbl-inn-search-input-wrap { flex-direction: column !important; gap: 8px !important; width: 100% !important; align-items: stretch !important; }
     #bbl_inn_search, #bbl_inn_search_btn { width: 100% !important; box-sizing: border-box !important; border-radius: var(--inputs-buttons-border-radius, 16px) !important; }
     .bbl-file-upload-box { margin-top: 12px !important; width: 100% !important; box-sizing: border-box !important; }
     .checkout-page .checkout-page__step-content { gap: 16px !important; padding: 12px !important; box-sizing: border-box !important; }
     .checkout-page .bbl-b2b-card, .checkout-page .bbl-contact-card { padding: 12px !important; border-radius: var(--inputs-buttons-border-radius, 16px) !important; }
     .checkout-page input[type='text'], .checkout-page input[type='tel'], .checkout-page input[type='email'], .checkout-page .bbl-input-text, .checkout-page select, .checkout-page .wa-field, .checkout-page .wa-value, .checkout-page .form-field, .checkout-page .form-field__value { width: 100% !important; min-width: 320px !important; max-width: 100% !important; box-sizing: border-box !important; border-radius: var(--inputs-buttons-border-radius, 16px) !important; }
     .checkout-page .bbl-cart-buyer-btn.active, .checkout-page .bbl-buyer-btn.active { background: #004F7A !important; border: 1.5px solid #004F7A !important; box-shadow: none !important; color: #FFFFFF !important; }
     .checkout-page .bbl-cart-buyer-btn.active strong, .checkout-page .bbl-buyer-btn.active strong, .checkout-page .bbl-cart-buyer-btn.active span, .checkout-page .bbl-buyer-btn.active span, .checkout-page .bbl-cart-buyer-btn.active svg, .checkout-page .bbl-buyer-btn.active svg { color: #FFFFFF !important; fill: #FFFFFF !important; }
     /* Compact VIP Digital Offer on Mobile */     .bbl-vip-bundle-card, .bbl-digital-offer-card { padding: 10px 12px !important; }
     .bbl-vip-bundle-card [style*="340px"], .bbl-digital-offer-card [style*="340px"] { flex: 0 1 auto !important; min-height: 0 !important; }
     .bbl-vip-bundle-card p, .bbl-digital-offer-card p { display: none !important; }
     .bbl-vip-bundle-card .bbl-bundle-icon-box, .bbl-digital-offer-card .bbl-bundle-icon-box { width: 36px !important; height: 36px !important; min-height: 36px !important; }
     .bbl-vip-bundle-card > div:last-child, .bbl-digital-offer-card > div:last-child { margin-top: 6px !important; padding: 6px 8px !important; font-size: 11px !important; }
 }
/* FIX (BUGS_HISTORY.md #2026-11-22): фантомный 2-й трек 360px в .checkout-page__container-content (старое правило 768px) — двойное сжатие формы и дыра 392px. DO NOT REFACTOR */
@media (min-width: 1024px) {   .checkout-page .checkout-page__container-content { grid-template-columns: minmax(0, 1fr) !important; gap: 0 !important; }
   .checkout-page .checkout-page__form { width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; }
   .checkout-page .bbl-cart-buyer-switcher { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; gap: 12px !important; }
   .checkout-page .bbl-cart-buyer-switcher .bbl-buyer-btn, .checkout-page .bbl-cart-buyer-switcher .bbl-cart-buyer-btn { width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; }
 }
/* FIX (BUGS_HISTORY.md #2026-11-22): бейджи «0%…»/«+8% без НДС» — тёмный текст при активной кнопке (0c65d74 белил span, ничья по специфичности решается порядком). DO NOT REFACTOR */
.checkout-page .bbl-cart-buyer-btn span.bbl-cart-buyer-badge_green, .checkout-page .bbl-cart-buyer-btn span.bbl-cart-buyer-badge_blue, .checkout-page .bbl-buyer-btn span.bbl-cart-buyer-badge_green, .checkout-page .bbl-buyer-btn span.bbl-cart-buyer-badge_blue { color: #0A0F24 !important; }
/* FIX (BUGS_HISTORY.md #2026-11-22): моб 360-440 — сдвиг 32/8 (двойной паддинг step-content+b2b-card) и переполнение B2B-карточки из-за min-width:320 у инпутов; пустота 44px у стрелки шага. DO NOT REFACTOR */
@media (max-width: 767px) {   .checkout-page .checkout-page__step-content { padding-left: 4px !important; padding-right: 4px !important; }
   .checkout-page .bbl-b2b-card, .checkout-page .bbl-contact-card { padding-left: 4px !important; padding-right: 4px !important; min-width: 0 !important; box-sizing: border-box !important; }
   .checkout-page .bbl-input-text, .checkout-page input[type='text'], .checkout-page input[type='tel'], .checkout-page input[type='email'] { min-width: 0 !important; }
   .checkout-page .form-decorator, .checkout-page .form__group, .checkout-page .form__fields { margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }
   .checkout-page .bbl-messengers-card-group, .checkout-page .bbl-messenger-icons-row { width: 100% !important; max-width: 100% !important; }
   .checkout-page__responsive-step-arrow-container { margin-top: 8px !important; margin-bottom: 8px !important; }
 }
/* ========== BOBO-186 Step3 polish edits (E4/E5/E6 + chk#3) ========== */
@media (min-width:1024px){ .checkout-page__steps-container{padding-left:0 !important;padding-right:0 !important}
 .checkout-page__container{grid-template-columns:minmax(0,1fr) 360px !important;gap:26px !important;align-items:start !important}
 .checkout-page__form,.checkout-page__step-content{padding-top:0 !important;margin-top:0 !important}
 }
.checkout-page .bbl-payment-logo-box,.checkout-page .checkout-payment-method__logo-container,
.checkout-page .bbl-payment-logo-box img,.checkout-page .checkout-payment-method__logo-container img{width:32px !important;height:32px !important;max-width:32px !important;max-height:32px !important;min-width:32px !important;min-height:32px !important;object-fit:contain !important;flex-shrink:0 !important}
.checkout-page .checkout-payment-method{text-align:left !important}
.checkout-page .checkout-payment-method__label,.checkout-page .bbl-payment-title-row{justify-content:flex-start !important;text-align:left !important}
.checkout-page .bbl-payment-radio-box,.checkout-page .checkout-payment-method__control,.checkout-page .checkout-payment-method__state{box-shadow:none !important;background:transparent !important;border:none !important}
@media (min-width:1024px){ .checkout-page .bbl-confirm-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:16px !important;align-items:stretch !important}
 .checkout-page .bbl-confirm-card{border-radius:var(--inputs-buttons-border-radius,16px) !important;border-radius:var(--inputs-buttons-border-radius,16px)}
 }
@media (max-width:767px){ .checkout-page .bbl-confirm-grid{gap:16px !important}
 .checkout-page .bbl-confirm-card{border-radius:var(--inputs-buttons-border-radius,16px) !important}
 }
.checkout-page .checkout-payment__submit,.checkout-page .checkout-payment .button,.checkout-page .checkout-page__form input[type="submit"],.checkout-page .checkout-payment-method__submit{min-height:44px !important;padding:12px 24px !important}
.checkout-page .checkout-page__back-button{display:none !important}
/* ========== BOBO CHECKOUT MICRO-PASS A (5 Targeted Fixes) ========== */
.checkout-page .checkout-page__step-content, .checkout-page__step-content { border: none !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; margin: 0 0 20px 0 !important; display: flex !important; flex-direction: column !important; gap: 16px !important; width: 100% !important; box-sizing: border-box !important; }
.checkout-page .checkout-contactinfo__auth-box, .checkout-contactinfo__auth-box { width: 100% !important; max-width: 100% !important; margin-bottom: 16px !important; box-sizing: border-box !important; }
.checkout-page .checkout-auth, .checkout-auth { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 16px !important; padding: 14px 18px !important; background: #FFFFFF !important; border: 1px solid #E2E8F0 !important; border-radius: var(--inputs-buttons-border-radius, 16px) !important; width: 100% !important; box-sizing: border-box !important; }
.checkout-page .checkout-auth__text, .checkout-auth__text { flex: 1 1 auto !important; font-size: 13.5px !important; line-height: 1.45 !important; color: #475569 !important; margin: 0 !important; }
.checkout-page .checkout-auth__controls, .checkout-auth__controls { flex: 0 0 auto !important; display: flex !important; align-items: center !important; gap: 12px !important; margin: 0 !important; }
.checkout-page .checkout-auth__auth a.js-checkout-login-link, .checkout-auth__auth a.js-checkout-login-link { display: inline-flex !important; align-items: center !important; justify-content: center !important; padding: 8px 18px !important; background: #F1F5F9 !important; color: #0F172A !important; border: 1px solid #CBD5E1 !important; border-radius: var(--inputs-buttons-border-radius, 16px) !important; font-size: 13.5px !important; font-weight: 600 !important; text-decoration: none !important; white-space: nowrap !important; }
@media (max-width: 600px) {   .checkout-page .checkout-auth, .checkout-auth { flex-direction: column !important; align-items: stretch !important; gap: 12px !important; padding: 12px 14px !important; }
   .checkout-page .checkout-auth__controls, .checkout-auth__controls { width: 100% !important; justify-content: flex-start !important; }
   .checkout-page .checkout-auth__auth, .checkout-auth__auth, .checkout-page .checkout-auth__auth a.js-checkout-login-link, .checkout-auth__auth a.js-checkout-login-link { width: 100% !important; box-sizing: border-box !important; text-align: center !important; }
 }
@media (min-width: 768px) {   .checkout-page .checkout-page__button-container, .checkout-page__button-container { display: flex !important; justify-content: flex-start !important; width: 100% !important; }
   .checkout-page .checkout-page__button, .checkout-page .bbl-btn-submit-order, .checkout-page button.button_wide, .checkout-page__button { width: auto !important; min-width: 220px !important; max-width: 340px !important; padding: 0 32px !important; height: 46px !important; min-height: 46px !important; border-radius: var(--inputs-buttons-border-radius, 16px) !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; }
 }
@media (max-width: 767px) {   .checkout-page .checkout-page__button, .checkout-page .bbl-btn-submit-order, .checkout-page__button { width: 100% !important; min-width: 0 !important; max-width: 100% !important; height: 46px !important; border-radius: var(--inputs-buttons-border-radius, 16px) !important; }
 }
.checkout-page .bbl-terms-highlight, .bbl-terms-highlight { border: 1px solid #E11D48 !important; background: #FFF1F2 !important; border-radius: 8px !important; padding: 8px 12px !important; transition: all 0.2s ease !important; }
.checkout-page .checkout-payment-method__state-container, .checkout-page .bbl-payment-radio-box, .checkout-page .checkout-payment-method__state,
.checkout-page .checkout-payment-method_checked .checkout-payment-method__state, .checkout-page .bbl-payment-card.checkout-payment-method_checked .checkout-payment-method__state,
.checkout-page .checkout-payment-method_checked .checkout-payment-method__state-container, .checkout-page .bbl-payment-card.checkout-payment-method_checked .bbl-payment-radio-box { display: none !important; border: none !important; background: transparent !important; box-shadow: none !important; }
.checkout-page .checkout-payment-method input[type="radio"], .checkout-page .bbl-payment-card input[type="radio"], .checkout-page .checkout-payment-method__control { display: inline-block !important; appearance: auto !important; -webkit-appearance: radio !important; width: 18px !important; height: 18px !important; min-width: 18px !important; min-height: 18px !important; margin: 4px 0 0 0 !important; padding: 0 !important; border: none !important; background: transparent !important; outline: none !important; box-shadow: none !important; accent-color: #004F7A !important; cursor: pointer !important; flex-shrink: 0 !important; }
.checkout-page .bbl-payment-logo-box, .checkout-page .checkout-payment-method__logo-container, .checkout-page .bbl-payment-logo-box img, .checkout-page .checkout-payment-method__logo-container img { width: 32px !important; height: 32px !important; max-width: 32px !important; max-height: 32px !important; min-width: 32px !important; min-height: 32px !important; object-fit: contain !important; flex-shrink: 0 !important; }
.checkout-page .bbl-delivery-notice, .bbl-delivery-notice { display: flex !important; align-items: flex-start !important; gap: 10px !important; padding: 14px 16px !important; background: #FFFBEB !important; border: 1px dashed #FDE68A !important; border-radius: var(--inputs-buttons-border-radius, 16px) !important; margin-top: 16px !important; box-sizing: border-box !important; width: 100% !important; }
.checkout-page .bbl-delivery-notice .bbl-notice-icon, .bbl-delivery-notice .bbl-notice-icon { display: inline-flex !important; align-items: center !important; justify-content: center !important; font-size: 20px !important; line-height: 1.2 !important; flex-shrink: 0 !important; margin-top: 1px !important; }
.checkout-page .bbl-delivery-notice .bbl-notice-text, .bbl-delivery-notice .bbl-notice-text { flex: 1 1 auto !important; display: flex !important; flex-direction: column !important; gap: 4px !important; }
/* FIX (BUGS_HISTORY.md #2026-11-22): Duplikat desktop header (index__header) na tabletakh/mobilnikh < 1024px. SKRYT' TOLKO desktop header (.header.r-hidden-md); mobilnyy r-header NEOBKHODIMO ostavit' vidimym (r-hidden-md bez CSS - pravilo zdes). DO NOT REFACTOR */
@media (max-width: 1023px) {   .index__header .header.r-hidden-md { display: none !important; }
 }
/* FIX (BUGS_HISTORY.md #2026-11-23): Гарантия видимости поп-апа и страницы регистрации, и формы создания пользователя на чекауте. DO NOT REFACTOR */
.signup-page, .signup-modal, .signup-page_js-is-init, .signup-page .wa-signup-form-wrapper, .signup-modal .wa-signup-form-wrapper { visibility: visible !important; }
.checkout-signup_active .checkout-signup__form { display: block !important; margin-top: 15px !important; }
/* === BOBO CHECKOUT MICRO-PASS C (Final Visual Polish) === */
@media (min-width: 1024px) {   .page_bar .index__wrapper, .index__wrapper { padding-bottom: 0 !important; }
 }
.checkout-page .bbl-confirm-card, .bbl-confirm-card { padding: 20px 22px !important; line-height: 1.55 !important; display: flex !important; flex-direction: column !important; justify-content: flex-start !important; }
.checkout-page .bbl-confirm-card__header, .bbl-confirm-card__header { display: flex !important; align-items: center !important; gap: 8px !important; margin-bottom: 10px !important; }
.checkout-page .bbl-confirm-card__title, .bbl-confirm-card__title { font-size: 13px !important; font-weight: 600 !important; color: #64748B !important; margin-bottom: 0 !important; }
.checkout-page .bbl-confirm-card__body, .bbl-confirm-card__body { display: flex !important; flex-direction: column !important; gap: 7px !important; flex: 1 1 auto !important; }
.checkout-page .bbl-confirm-row, .bbl-confirm-row { line-height: 1.55 !important; margin: 0 !important; font-size: 14px !important; }
.checkout-page .bbl-confirm-badge-row, .bbl-confirm-badge-row, .checkout-page .bbl-confirm-card .bbl-badge { margin-top: 10px !important; display: inline-flex !important; align-items: center !important; }
.checkout-payment__method { margin: 0 !important; }
.checkout-payment__method:has(.bbl-payment-card[style*="display: none"]),
.checkout-payment__method:has(.checkout-payment-method[style*="display: none"]),
.checkout-payment[data-buyer-type="company"] .checkout-payment__method:has([data-buyer-target="person"]),
.checkout-payment[data-buyer-type="person"] .checkout-payment__method:has([data-buyer-target="company"]) { display: none !important; margin: 0 !important; padding: 0 !important; height: 0 !important; }
.bbl-step-alert { margin-bottom: 20px !important; }
.checkout-payment__methods.bbl-payment-stack { margin-top: 0 !important; gap: 14px !important; }
.checkout-confirmation .checkout-confirmation__comment-container, .checkout-confirmation .checkout-confirmation__comment-container .block,
.checkout-page .checkout-confirmation__comment-container, .checkout-page .checkout-confirmation__comment-container .block { margin-top: 0 !important; }
.checkout-page .bbl-confirm-items-card { margin-bottom: 20px !important; }
.checkout-page .bbl-confirm-grid { margin-bottom: 20px !important; }
.checkout-page .bbl-cart-buyer-btn.active .bbl-cart-buyer-icon, .checkout-page .bbl-buyer-btn.active .bbl-cart-buyer-icon,
.bbl-cart-buyer-btn.active .bbl-cart-buyer-icon, .bbl-buyer-btn.active .bbl-cart-buyer-icon { display: inline-flex !important; align-items: center !important; justify-content: center !important; background: rgba(255, 255, 255, 0.16) !important; border-radius: 50% !important; width: 28px !important; height: 28px !important; min-width: 28px !important; min-height: 28px !important; }
.checkout-success-block { max-width: 620px !important; margin: 24px auto !important; padding: 36px 32px !important; border: 1px solid #E2E8F0 !important; border-radius: 20px !important; background: #FFFFFF !important; text-align: center !important; box-sizing: border-box !important; }
.checkout-success-icon { width: 56px !important; height: 56px !important; min-width: 56px !important; min-height: 56px !important; border-radius: 50% !important; background: #DCFCE7 !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; margin: 0 auto 20px auto !important; }
.checkout-success-header { font-size: 20px !important; font-weight: 700 !important; color: #0F172A !important; line-height: 1.35 !important; margin: 0 0 12px 0 !important; }
.checkout-success-desc { font-size: 14px !important; line-height: 1.55 !important; color: #475569 !important; margin-bottom: 24px !important; }
.checkout-success-tg-card { background: #F0F9FF !important; border: 1px solid #BAE6FD !important; border-radius: 16px !important; padding: 18px 20px !important; display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 16px !important; margin-bottom: 24px !important; text-align: left !important; box-sizing: border-box !important; }
.checkout-success-tg-body { flex: 1 1 auto !important; min-width: 0 !important; }
.checkout-success-tg-title { display: flex !important; align-items: center !important; gap: 8px !important; font-size: 14px !important; font-weight: 700 !important; color: #0369A1 !important; margin-bottom: 4px !important; }
.checkout-success-tg-desc { font-size: 12.5px !important; line-height: 1.45 !important; color: #0284C7 !important; }
.checkout-success-tg-card .checkout-success-btn-tg { flex: 0 0 auto !important; height: 44px !important; padding: 0 18px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important; background: #0284C7 !important; color: #FFFFFF !important; border: none !important; border-radius: var(--inputs-buttons-border-radius, 16px) !important; font-size: 13.5px !important; font-weight: 600 !important; text-decoration: none !important; white-space: nowrap !important; }
.checkout-success-tg-card .checkout-success-btn-tg svg { margin: 0 !important; flex-shrink: 0 !important; }
.checkout-success-actions { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 12px !important; width: 100% !important; margin-bottom: 20px !important; box-sizing: border-box !important; }
.checkout-success-actions:has(> :only-child) { grid-template-columns: 1fr !important; max-width: 280px !important; margin-left: auto !important; margin-right: auto !important; }
.checkout-success-actions .button, .checkout-success-actions .checkout-success-btn-cabinet, .checkout-success-actions .checkout-success-btn-shop { width: 100% !important; height: 44px !important; min-height: 44px !important; max-height: 44px !important; border-radius: var(--inputs-buttons-border-radius, 16px) !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; font-size: 13.5px !important; font-weight: 600 !important; padding: 0 16px !important; box-sizing: border-box !important; text-decoration: none !important; white-space: nowrap !important; }
.bbl-pin-info-row { display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 6px !important; padding: 8px 16px !important; background: #F8FAFC !important; border: 1px solid #E2E8F0 !important; border-radius: 12px !important; font-size: 13px !important; color: #475569 !important; margin-top: 8px !important; }
.bbl-pin-badge { color: #0F172A !important; font-weight: 700 !important; letter-spacing: 0.05em !important; margin-left: 2px !important; }
@media (max-width: 767px) {   .checkout-page .bbl-confirm-card, .bbl-confirm-card { padding: 16px !important; }
   .bbl-step-alert { margin-bottom: 14px !important; }
   .checkout-page .bbl-confirm-items-card { margin-bottom: 14px !important; }
   .checkout-page .bbl-confirm-grid { margin-bottom: 14px !important; }
   .checkout-payment__methods.bbl-payment-stack { gap: 12px !important; }
   .checkout-success-block { padding: 24px 16px !important; margin: 16px auto !important; border-radius: 16px !important; }
   .checkout-success-tg-card { flex-direction: column !important; align-items: stretch !important; padding: 16px 14px !important; gap: 12px !important; }
   .checkout-success-tg-card .checkout-success-btn-tg { width: 100% !important; }
 }
@media (max-width: 480px) {   .checkout-success-actions { grid-template-columns: 1fr !important; }
 }
/* === BOBO CHECKOUT STEP 1 FLAT CARD HIERARCHY (NO MATRYOSHKA) === */
.checkout-page #bbl-buyer-switcher, .checkout-page .bbl-cart-buyer-switcher-box { background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; margin-bottom: 20px !important; width: 100% !important; }
.checkout-page .bbl-cart-buyer-switcher { width: 100% !important; margin: 0 !important; }
.checkout-page #bbl-checkout-buyer-notice, .checkout-page .bbl-cart-buyer-notice { border: none !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; margin-top: 12px !important; width: 100% !important; }
.checkout-page .bbl-cart-notice-item { border: none !important; border-radius: 12px !important; padding: 12px 16px !important; width: 100% !important; box-sizing: border-box !important; }
.checkout-page #bbl-company-fields, .checkout-page .bbl-b2b-fields { background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; margin-bottom: 20px !important; width: 100% !important; }
.checkout-page .bbl-b2b-card { background: #FFFFFF !important; border: 1px solid #E2E8F0 !important; border-radius: 16px !important; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important; padding: 24px !important; margin: 0 !important; width: 100% !important; box-sizing: border-box !important; }
.checkout-page .bbl-inn-search-box, .checkout-page .bbl-file-upload-box { background: #F8FAFC !important; border: none !important; border-radius: 12px !important; padding: 16px !important; box-sizing: border-box !important; box-shadow: none !important; }
.checkout-page .bbl-contact-card, .checkout-page .bbl-delivery-card { background: #FFFFFF !important; border: 1px solid #E2E8F0 !important; border-radius: 16px !important; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important; padding: 24px !important; margin-bottom: 20px !important; width: 100% !important; box-sizing: border-box !important; }
.checkout-page .checkout-contactinfo__auth-box, .checkout-page .checkout-auth { margin-bottom: 20px !important; }
@media (max-width: 767px) {   .checkout-page #bbl-buyer-switcher, .checkout-page .bbl-cart-buyer-switcher-box, .checkout-page #bbl-company-fields, .checkout-page .bbl-b2b-fields, .checkout-page .bbl-contact-card, .checkout-page .bbl-delivery-card { margin-bottom: 14px !important; padding-left: 0 !important; padding-right: 0 !important; }
   .checkout-page .bbl-b2b-card { padding: 16px !important; }
   .checkout-page #bbl-checkout-buyer-notice, .checkout-page .bbl-cart-buyer-notice { margin-top: 10px !important; }
 }
/* === BOBO CHECKOUT STEP 2 DESKTOP CLEANUP MODULE === */
@media (min-width: 768px) {
  .checkout-page.block > .block__header { display: block !important; width: 100% !important; margin: 16px 0 18px 0 !important; }
  .checkout-page__header-container { display: grid !important; grid-template-columns: 1fr auto 1fr !important; align-items: center !important; margin: 0 !important; position: relative !important; width: 100% !important; max-width: 100% !important; }
  .bbl-checkout-nav-bar { grid-column: 1 / 2 !important; justify-self: start !important; margin: 0 !important; padding: 0 !important; }
  .bbl-cart-back-link { display: inline-flex !important; align-items: center !important; gap: 8px !important; font-size: 14px !important; font-weight: 500 !important; color: #64748B !important; text-decoration: none !important; transition: color 0.15s ease !important; }
  .bbl-cart-back-link:hover { color: #004F7A !important; }
  .checkout-page__header-text-container { grid-column: 2 / 3 !important; justify-self: center !important; margin: 0 !important; text-align: center !important; }
  .checkout-page .title_h1, .checkout-page__header-text-container .title_h1 { font-size: 26px !important; font-weight: 700 !important; color: #0F172A !important; margin: 0 !important; line-height: 1.2 !important; text-align: center !important; }
}
@media (max-width: 767px) {
  .checkout-page.block > .block__header { display: block !important; width: 100% !important; margin: 8px 0 12px 0 !important; }
  .checkout-page__header-container { display: flex !important; flex-direction: column !important; gap: 6px !important; margin: 0 !important; width: 100% !important; }
  .bbl-checkout-nav-bar { order: 1 !important; margin: 0 !important; }
  .checkout-page__header-text-container { order: 2 !important; }
  .checkout-page .title_h1 { font-size: 20px !important; margin: 0 !important; }
}
@media (min-width: 1024px) {
  .checkout-page__container { display: grid !important; grid-template-columns: minmax(0, 1fr) 380px !important; gap: 28px !important; align-items: start !important; width: 100% !important; }
  .checkout-page__container-summary, .checkout-page__sidebar { width: 380px !important; min-width: 380px !important; max-width: 380px !important; position: sticky !important; top: 24px !important; }
}
.checkout-summary { background-color: #FFFFFF !important; border: 1px solid #E2E8F0 !important; border-radius: 16px !important; padding: 24px !important; box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important; box-sizing: border-box !important; }
.bbl-summary-heading { font-size: 17px !important; font-weight: 700 !important; color: #0F172A !important; margin-bottom: 16px !important; display: block !important; }
.checkout-summary .row-value { display: flex !important; justify-content: space-between !important; align-items: center !important; padding: 6px 0 !important; margin: 0 !important; border-bottom: none !important; }
.checkout-summary .row-value__label-text { font-size: 14px !important; color: #64748B !important; font-weight: 500 !important; border-bottom: none !important; }
.checkout-summary .row-value__value-text { font-size: 15px !important; font-weight: 600 !important; color: #0F172A !important; font-variant-numeric: tabular-nums !important; white-space: nowrap !important; }
.checkout-summary .row-value__value-text.bbl-discount-green { color: #16A34A !important; }
.checkout-summary__total-container { display: flex !important; justify-content: space-between !important; align-items: baseline !important; border-top: 1px solid #E2E8F0 !important; margin: 14px 0 0 0 !important; padding-top: 14px !important; }
.checkout-summary__total-label { font-size: 16px !important; font-weight: 700 !important; color: #0F172A !important; margin: 0 !important; }
.checkout-summary__total, .checkout-summary__total * { font-size: 24px !important; font-weight: 800 !important; color: #004F7A !important; line-height: 1 !important; font-variant-numeric: tabular-nums !important; white-space: nowrap !important; }
.checkout-page input[type="text"], .checkout-page input[type="email"], .checkout-page input[type="tel"], .checkout-page input[type="password"], .checkout-page select, .checkout-page textarea, .checkout-page .bbl-input-text, .checkout-page .bbl-form-input, .checkout-page .bbl-form-select, #bbl_inn_search { background-color: #FFFFFF !important; border: 1px solid #CBD5E1 !important; border-radius: 12px !important; color: #0F172A !important; box-shadow: none !important; box-sizing: border-box !important; }
.checkout-page input[type="text"]:focus, .checkout-page input[type="email"]:focus, .checkout-page input[type="tel"]:focus, .checkout-page input[type="password"]:focus, .checkout-page select:focus, .checkout-page textarea:focus, .checkout-page .bbl-input-text:focus, .checkout-page .bbl-form-input:focus, .checkout-page .bbl-form-select:focus, #bbl_inn_search:focus { border-color: #004F7A !important; box-shadow: 0 0 0 3px rgba(0, 79, 122, 0.10) !important; outline: none !important; }
.bbl-contact-card .form__fields { align-items: start !important; }
.bbl-contact-card .wa-field-phone { align-self: start !important; }
.bbl-contact-card .wa-field-phone .wa-name, .bbl-contact-card .wa-field-phone .form-field__name { display: flex !important; justify-content: space-between !important; align-items: center !important; width: 100% !important; margin-bottom: 6px !important; min-height: 24px !important; }
.bbl-contact-card .bbl-unified-fio-field .wa-name, .bbl-contact-card .bbl-unified-fio-field .form-field__name { margin-bottom: 6px !important; min-height: 24px !important; display: flex !important; align-items: center !important; }
.bbl-contact-card .wa-field-email .wa-name, .bbl-contact-card .wa-field-email .form-field__name { margin-bottom: 6px !important; }
.bbl-contact-card .bbl-unified-fio-field { margin-bottom: 0 !important; }
.bbl-contact-card .wa-field-email { margin-top: 0 !important; }
.bbl-btn-add-extra-phone { display: inline-flex !important; align-items: center !important; gap: 4px !important; font-size: 12px !important; font-weight: 600 !important; color: #004F7A !important; background: #F0F9FF !important; border: 1px solid #BAE6FD !important; border-radius: 6px !important; padding: 2px 8px !important; height: auto !important; min-height: 0 !important; line-height: 1.4 !important; cursor: pointer !important; margin: 0 !important; text-decoration: none !important; transition: all 0.15s ease !important; }
.bbl-btn-add-extra-phone:hover { background: #E0F2FE !important; border-color: #004F7A !important; }
.bbl-btn-add-extra-phone .bbl-plus-circle { font-size: 13px !important; font-weight: 700 !important; }
.checkout-contactinfo__service-agreement { padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important; margin-top: 20px !important; width: 100% !important; }
.checkout-contactinfo__service-agreement .form-field { padding-left: 0 !important; margin-left: 0 !important; }
.checkout-page .checkout-payment-method, .checkout-page .bbl-payment-card { background-color: #FFFFFF !important; border: 1px solid #E2E8F0 !important; border-radius: 16px !important; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important; transition: border-color 0.15s ease, box-shadow 0.15s ease !important; }
.checkout-page .checkout-payment-method.checkout-payment-method_checked, .checkout-page .bbl-payment-card.checkout-payment-method_checked { background-color: #FFFFFF !important; border: 1.5px solid #004F7A !important; box-shadow: 0 4px 14px rgba(0, 79, 122, 0.08) !important; }
.checkout-page .checkout-page__button-container { margin-top: 24px !important; }


/* === BOBO CHECKOUT STEP 3: UNIFIED HINTS & INFO-CALLOUTS === */
.checkout-page .bbl-cart-notice-item,
.checkout-page .bbl-notice-person,
.checkout-page .bbl-notice-company,
.checkout-page .bbl-fio-hint-box,
.checkout-page .bbl-delivery-notice,
.checkout-page .bbl-step-alert,
.bbl-cart-notice-item,
.bbl-notice-person,
.bbl-notice-company,
.bbl-fio-hint-box,
.bbl-delivery-notice,
.bbl-step-alert {
    background: #F0F9FF !important;
    background-color: #F0F9FF !important;
    border: 1px solid #BAE6FD !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    color: #0F172A !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    box-sizing: border-box !important;
}
.checkout-page .bbl-cart-notice-item strong,
.checkout-page .bbl-notice-person strong,
.checkout-page .bbl-notice-company strong,
.checkout-page .bbl-fio-hint-box strong,
.checkout-page .bbl-delivery-notice strong,
.checkout-page .bbl-step-alert strong,
.bbl-cart-notice-item strong,
.bbl-fio-hint-box strong,
.bbl-delivery-notice strong,
.bbl-step-alert strong {
    color: #004F7A !important;
}
.checkout-page .bbl-cart-notice-icon,
.checkout-page .bbl-fio-hint-icon,
.checkout-page .bbl-notice-icon,
.checkout-page .bbl-step-alert__icon,
.bbl-cart-notice-icon,
.bbl-fio-hint-icon,
.bbl-notice-icon,
.bbl-step-alert__icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    color: #004F7A !important;
    margin-top: 2px !important;
}
.checkout-page .bbl-input-highlight,
.bbl-input-highlight {
    border-color: #004F7A !important;
    box-shadow: 0 0 0 3px rgba(0, 79, 122, 0.15) !important;
}
/* === BOBO CHECKOUT 4 MICRO-FIXES === */
.bbl-cart-notice-item.is-hidden,
.bbl-cart-notice-item[style*="display: none"],
.bbl-cart-notice-item[style*="display:none"],
.checkout-page .bbl-cart-notice-item.is-hidden,
.checkout-page .bbl-cart-notice-item[style*="display: none"],
.checkout-page .bbl-cart-notice-item[style*="display:none"] {
    display: none !important;
}
.checkout-summary .row-value__label-container::after,
.checkout-summary .row-value__label-container::before,
.checkout-summary .row-value::after,
.checkout-summary .row-value::before,
.checkout-summary .checkout-summary__sub-total::after,
.checkout-summary .checkout-summary__sub-total::before {
    display: none !important;
    content: none !important;
    border: none !important;
    background: none !important;
}
.checkout-page .bbl-step-alert span,
.checkout-page .bbl-step-alert__text span,
.bbl-step-alert span,
.bbl-step-alert__text span {
    color: #334155 !important;
}
.bbl-phone-label-text {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #0F172A !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
}
/* === BOBO CHECKOUT SURGICAL FIXES (GAP, PHONE LABEL & RED STARS) === */
.checkout-payment__methods, .checkout-payment__methods.bbl-payment-stack, .checkout-page .checkout-payment, .checkout-page .checkout-page__step-content { margin-bottom: 0 !important; }
.checkout-page .checkout-page__button-container { margin-top: 24px !important; padding-top: 0 !important; clear: both !important; }
.checkout-page .wa-field .wa-name::after, .checkout-page .form-field .form-field__name::after, .bbl-contact-card .wa-name::after, .bbl-contact-card .form-field__name::after { display: none !important; content: none !important; }
.bbl-btn-add-extra-phone { background: transparent !important; border: none !important; padding: 0 !important; color: #004F7A !important; font-size: 13px !important; font-weight: 500 !important; text-decoration: none !important; box-shadow: none !important; cursor: pointer !important; margin-left: auto !important; display: inline-flex !important; align-items: center !important; }
.bbl-btn-add-extra-phone:hover { text-decoration: underline !important; color: #003654 !important; }
.bbl-req-star { color: #EF4444 !important; font-weight: 600 !important; }
/* === BOBO CART SIDEBAR & CLEANUP UNIFICATION === */
.bbl-item-index-label { display: none !important; }

.bbl-stitch-notice-box, #notice-box {
    background: #F0F9FF !important;
    border: 1px solid #BAE6FD !important;
    color: #0C4A6E !important;
    border-radius: 8px !important;
}
.bbl-stitch-notice-box #notice-text { color: #0C4A6E !important; }
.bbl-offer-new, .bbl-offer-old { white-space: nowrap !important; }

/* === BOBO CART RECS CAROUSEL BUTTONS UNIFICATION === */
.bbl-stitch-rec-cta .bbl-stitch-rec-add-btn {
    background-color: #004F7A !important;
    color: #FFFFFF !important;
    border: 1px solid #004F7A !important;
    border-radius: var(--inputs-buttons-border-radius, 12px) !important;
}
.bbl-stitch-rec-cta .bbl-stitch-rec-add-btn span,
.bbl-stitch-rec-cta .bbl-stitch-rec-add-btn svg {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}
.bbl-stitch-rec-cta .bbl-stitch-rec-add-btn:hover {
    background-color: #003B5C !important;
    border-color: #003B5C !important;
    color: #FFFFFF !important;
}

/* === BOBO CART FINAL DESKTOP POLISH (SSOT) === */
/* 1. Header 3-Col Grid Bottom Baseline Alignment & 8px gap above bulk bar */
@media (min-width: 768px) {
  .bbl-cart-stitch-header { display: grid !important; grid-template-columns: 1fr auto 1fr !important; align-items: end !important; margin: 16px 0 8px 0 !important; padding-bottom: 8px !important; border-bottom: 1px solid #e2e8f0 !important; }
  .bbl-stitch-back-link { justify-self: start !important; margin: 0 !important; font-family: inherit !important; font-size: 13.5px !important; font-weight: 500 !important; line-height: 1.35 !important; text-transform: none !important; letter-spacing: normal !important; color: #64748B !important; display: inline-flex !important; align-items: center !important; gap: 8px !important; text-decoration: none !important; }
  .bbl-stitch-back-link:hover { color: #004F7A !important; }
  .bbl-stitch-back-link span { text-transform: none !important; letter-spacing: normal !important; font-family: inherit !important; font-size: 13.5px !important; font-weight: 500 !important; line-height: 1.35 !important; color: inherit !important; }
  .bbl-cart-header-title-box { justify-self: center !important; text-align: center !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: flex-end !important; margin: 0 !important; }
  .bbl-cart-header-subtitle, .bbl-cart-header-subtitle .bbl-stitch-badge-pill, #header-items-pill, #header-items-qty { font-family: inherit !important; font-size: 13.5px !important; font-weight: 500 !important; line-height: 1.35 !important; text-transform: none !important; letter-spacing: normal !important; color: #64748B !important; margin: 0 !important; padding: 0 !important; font-variant-numeric: tabular-nums !important; }
  .bbl-cart-header-share-wrap, .bbl-share-cart-wrapper { justify-self: end !important; display: flex !important; align-items: flex-end !important; justify-content: flex-end !important; margin: 0 !important; }
  .bbl-stitch-share-btn, .bbl-share-btn.bbl-stitch-share-btn { font-family: inherit !important; font-size: 13.5px !important; font-weight: 500 !important; line-height: 1.35 !important; text-transform: none !important; letter-spacing: normal !important; color: #64748B !important; margin: 0 !important; padding: 0 !important; display: inline-flex !important; align-items: center !important; gap: 6px !important; }
  .bbl-stitch-share-btn:hover, .bbl-share-btn.bbl-stitch-share-btn:hover { color: #004F7A !important; }
  .bbl-stitch-share-btn span, .bbl-share-btn.bbl-stitch-share-btn span { text-transform: none !important; letter-spacing: normal !important; font-family: inherit !important; font-size: 13.5px !important; font-weight: 500 !important; line-height: 1.35 !important; color: inherit !important; }
  .bbl-bulk-controls-bar { margin-top: 0 !important; }
}
@media (max-width: 767.98px) {
  .bbl-cart-stitch-header { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; margin: 12px 0 16px 0 !important; }
  .bbl-cart-header-title-box { text-align: left !important; }
}
.bbl-stitch-back-link { display: inline-flex !important; align-items: center !important; gap: 8px !important; font-family: inherit !important; font-size: 13.5px !important; font-weight: 500 !important; line-height: 1.35 !important; text-transform: none !important; letter-spacing: normal !important; color: #64748B !important; text-decoration: none !important; transition: color 0.15s ease !important; }
.bbl-stitch-back-link span { text-transform: none !important; letter-spacing: normal !important; font-family: inherit !important; font-size: 13.5px !important; font-weight: 500 !important; line-height: 1.35 !important; color: inherit !important; }
.bbl-stitch-back-link:hover { color: #004F7A !important; }
.bbl-stitch-title { font-size: 26px !important; font-weight: 700 !important; color: #0F172A !important; margin: 0 !important; line-height: 1.2 !important; text-align: center !important; font-family: inherit !important; }
.bbl-cart-header-subtitle { font-family: inherit !important; font-size: 13.5px !important; color: #64748B !important; margin-top: 2px !important; font-weight: 500 !important; line-height: 1.35 !important; text-transform: none !important; letter-spacing: normal !important; text-align: center !important; display: flex !important; justify-content: center !important; align-items: center !important; width: 100% !important; }
.bbl-cart-header-subtitle .bbl-stitch-badge-pill, #header-items-pill, #header-items-qty { background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; font-family: inherit !important; color: #64748B !important; font-weight: 500 !important; font-size: 13.5px !important; line-height: 1.35 !important; text-transform: none !important; letter-spacing: normal !important; font-variant-numeric: tabular-nums !important; }
.bbl-stitch-share-btn, .bbl-share-btn.bbl-stitch-share-btn { background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important; font-family: inherit !important; font-size: 13.5px !important; font-weight: 500 !important; line-height: 1.35 !important; text-transform: none !important; letter-spacing: normal !important; color: #64748B !important; display: inline-flex !important; align-items: center !important; gap: 6px !important; height: auto !important; cursor: pointer !important; transition: color 0.15s ease !important; }
.bbl-stitch-share-btn:hover, .bbl-share-btn.bbl-stitch-share-btn:hover { color: #004F7A !important; background: transparent !important; border: none !important; box-shadow: none !important; }
.bbl-stitch-share-btn span, .bbl-share-btn.bbl-stitch-share-btn span { text-transform: none !important; letter-spacing: normal !important; font-family: inherit !important; font-size: 13.5px !important; font-weight: 500 !important; line-height: 1.35 !important; color: inherit !important; }
.bbl-stitch-share-btn svg, .bbl-share-btn.bbl-stitch-share-btn svg { width: 15px !important; height: 15px !important; stroke: currentColor !important; flex-shrink: 0 !important; transition: stroke 0.15s ease !important; }
.bbl-stitch-share-btn:hover svg, .bbl-share-btn.bbl-stitch-share-btn:hover svg { stroke: #004F7A !important; }

/* 2. Zero Monospace across /cart/ */
.bbl-cart-unified-wrapper, .bbl-cart-unified-wrapper strong, .bbl-cart-unified-wrapper span, .bbl-cart-unified-wrapper p, .bbl-cart-unified-wrapper div, .bbl-cart-unified-wrapper a, .bbl-cart-unified-wrapper button, .bbl-cart-unified-wrapper input, .cart-page, .cart-page strong, .cart-page span, .cart-page p, .cart-page div, .cart-page a, .cart-page button, .cart-page input { font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important; }
.cart-item-card .quantity__input, .cart-item__container-quantity .quantity__input, .cart-page input.qty-input, .cart-page .quantity__input-box input.quantity__input, .quantity__input-box input.quantity__input, .quantity__input, .quantity__field, input.qty-input, input.quantity__input, .cart-page .bbl-tier-price, .cart-page .bbl-tier-pill, .cart-page .bbl-total-sum-val, .cart-page #total-price, .cart-page .cart-item__total-price, .cart-page .bbl-item-unit-calc-price, .cart-page .bbl-item-retail-old-price, .cart-page .unit-price, .cart-page .item-sum, .cart-page .bbl-breakdown-val, .cart-page .bbl-stitch-badge-pill, .cart-page .bbl-stitch-tab-badge, .cart-page .bbl-stitch-rec-price-main, .cart-page .bbl-stitch-rec-price-old, .cart-page .bbl-stitch-rec-price-opt, .cart-page .bbl-td-sku, .cart-page [class*="font-mono"], .cart-page .font-label-numeric, .cart-page .font-label-code { font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important; font-variant-numeric: tabular-nums !important; }

/* 3. Calm Cart Proportions: 72px Image, 15px Row Total, 16px Checkbox, 16px Icons */
.cart-items { display: flex !important; flex-direction: column !important; gap: 10px !important; }
.bbl-cart-product-group { padding: 10px 14px !important; margin-bottom: 8px !important; background: #FFFFFF !important; border: 1px solid #E2E8F0 !important; border-radius: 12px !important; box-sizing: border-box !important; }
.bbl-cart-group-items { display: flex !important; flex-direction: column !important; }
.bbl-cart-group-items .cart-items__item { border-bottom: 1px solid #F1F5F9 !important; padding: 6px 0 !important; }
.bbl-cart-group-items .cart-items__item:first-child { padding-top: 0 !important; }
.bbl-cart-group-items .cart-items__item:last-child { border-bottom: none !important; padding-bottom: 0 !important; }
.cart-item-card { padding: 0 !important; border: none !important; background: transparent !important; box-shadow: none !important; margin: 0 !important; }
.cart-item__container-image, .cart-item-card .cart-item__container-image, .cart-item__image-box, .cart-item-card .cart-item__image-box { width: 72px !important; height: 72px !important; min-width: 72px !important; max-width: 72px !important; max-height: 72px !important; padding: 0 !important; box-sizing: border-box !important; flex-shrink: 0 !important; }
.cart-item-card .cart-item__image-thumb img, .cart-item-card .cart-item__image-box img, .cart-item-card .cart-item__container-image img, .cart-item-card__image-link img, .bbl-cart-col-thumb img, .cart-item__image-thumb img, .cart-item__image-box img, .cart-item__container-image img { width: 72px !important; height: 72px !important; min-width: 72px !important; max-width: 72px !important; max-height: 72px !important; object-fit: contain !important; background-color: #FFFFFF !important; border: 1px solid #F1F5F9 !important; border-radius: 10px !important; padding: 4px !important; box-sizing: border-box !important; transform: none !important; }
.bbl-cart-product-group:hover .cart-item__image-box img, .bbl-cart-product-group:hover .cart-item__container-image img, .bbl-cart-product-group:hover .cart-item__image-thumb img { transform: none !important; }
.cart-item__name-container { margin: 0 !important; line-height: 1.25 !important; }
.cart-item__name, .cart-item__name a, .cart-item-card .cart-item__name a { font-size: 14.5px !important; font-weight: 600 !important; color: #0F172A !important; line-height: 1.25 !important; text-decoration: none !important; }
.cart-item__name a:hover { color: #004F7A !important; }
.cart-item__container-total { display: flex !important; flex-direction: column !important; align-items: flex-end !important; justify-content: center !important; min-width: 100px !important; }
.cart-item__total-price, .cart-item-card .cart-item__total-price, .cart-item__total-price.item-sum { font-size: 15px !important; font-weight: 600 !important; color: #0F172A !important; font-variant-numeric: tabular-nums !important; line-height: 1.25 !important; }
.bbl-item-unit-calc-price, .cart-item-card .bbl-item-unit-calc-price { display: none !important; }
.cart-item__container-checkbox input[type="checkbox"], .cart-item-card .item-checkbox, .cart-item-card input[type="checkbox"], .bbl-bulk-checkbox input[type="checkbox"] { width: 16px !important; height: 16px !important; min-width: 16px !important; min-height: 16px !important; border-radius: 4px !important; cursor: pointer !important; accent-color: #004F7A !important; }
.bbl-item-actions-wrap { display: inline-flex !important; align-items: center !important; gap: 6px !important; }
.bbl-item-action-icon-btn, .bbl-fav-btn, .bbl-delete-btn { width: 24px !important; height: 24px !important; min-width: 24px !important; min-height: 24px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; background: transparent !important; border: none !important; cursor: pointer !important; padding: 0 !important; color: #94A3B8 !important; border-radius: 6px !important; transition: all 0.15s ease !important; }
.bbl-item-action-icon-btn svg, .bbl-fav-btn svg, .bbl-delete-btn svg { width: 15px !important; height: 15px !important; max-width: 15px !important; max-height: 15px !important; stroke: #94A3B8 !important; }
.bbl-item-action-icon-btn:hover { color: #0F172A !important; background: #F1F5F9 !important; }
.bbl-item-action-icon-btn:hover svg { stroke: #0F172A !important; }
.bbl-fav-btn.is-active, .bbl-fav-btn.is-active svg { color: #E11D48 !important; stroke: #E11D48 !important; fill: #E11D48 !important; }
.bbl-cart-group-footer-left { display: inline-flex !important; align-items: center !important; gap: 16px !important; flex-wrap: wrap !important; }
.bbl-cart-multiplicity-badge { background: #F1F5F9 !important; border: none !important; color: #475569 !important; border-radius: 6px !important; font-size: 12px !important; font-weight: 500 !important; padding: 3px 8px !important; display: inline-flex !important; align-items: center !important; gap: 5px !important; box-shadow: none !important; line-height: 1.25 !important; margin: 0 !important; }
.bbl-cart-multiplicity-badge svg { color: #64748B !important; stroke: #64748B !important; }
.bbl-cart-group-add-btn { background: transparent !important; border: none !important; box-shadow: none !important; padding: 4px 0 !important; border-radius: 0 !important; color: #004F7A !important; font-family: inherit !important; font-size: 13px !important; font-weight: 500 !important; display: inline-flex !important; align-items: center !important; gap: 4px !important; cursor: pointer !important; transition: color 0.15s ease !important; }
.bbl-cart-group-add-btn svg { width: 14px !important; height: 14px !important; stroke: currentColor !important; }
.bbl-cart-group-add-btn:hover { color: #003B5C !important; text-decoration: underline !important; background: transparent !important; box-shadow: none !important; }

@media (min-width: 768px) {
  .cart-item__container { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: center !important; justify-content: space-between !important; gap: 14px !important; border: none !important; padding: 0 !important; background: transparent !important; }
  .bbl-cart-col-product { display: flex !important; align-items: center !important; gap: 12px !important; flex: 1 1 auto !important; min-width: 0 !important; padding: 0 !important; }
  .cart-item__container-info { padding: 0 !important; display: flex !important; flex-direction: column !important; justify-content: center !important; }
  .cart-item__container-total { padding: 0 !important; }
  .bbl-item-controls-wrap { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: center !important; justify-content: flex-end !important; gap: 16px !important; flex-shrink: 0 !important; border-top: none !important; padding-top: 0 !important; width: auto !important; }
}
@media (max-width: 767.98px) {
  .cart-item__container { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 8px !important; }
  .bbl-cart-col-product { display: flex !important; align-items: flex-start !important; gap: 10px !important; width: 100% !important; }
  .bbl-item-controls-wrap { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 8px !important; width: 100% !important; padding-top: 6px !important; border-top: 1px dashed #f1f5f9 !important; }
}

/* 4. Unified Calm Upsell Pill (Single #F0F9FF Pill, 0 Inner Gray Pills, 0 Dividers) */
.bbl-cart-group-footer { border-top: none !important; border-bottom: none !important; background: transparent !important; padding: 0 !important; margin-top: 6px !important; min-height: 0 !important; height: auto !important; box-shadow: none !important; }
.bbl-cart-upsell-wrap { display: inline-flex !important; align-items: center !important; gap: 8px !important; margin-left: auto !important; flex-shrink: 0 !important; min-height: 0 !important; height: auto !important; width: auto !important; }
.bbl-cart-upsell-tier, .bbl-cart-group-footer .bbl-cart-upsell-tier { white-space: nowrap !important; width: auto !important; max-width: none !important; flex-shrink: 0 !important; display: inline-flex !important; flex-direction: row !important; align-items: center !important; gap: 6px !important; padding: 6px 14px !important; min-height: 0 !important; border-radius: 12px !important; background: #F0F9FF !important; border: 1px solid #BAE6FD !important; font-size: 12.5px !important; line-height: 1.3 !important; color: #334155 !important; margin: 0 !important; box-sizing: border-box !important; }
.bbl-cart-upsell-tier span, .bbl-cart-upsell-tier strong { white-space: nowrap !important; }
.bbl-cart-upsell-tier .bbl-cur-price-val { font-weight: 600 !important; color: #0F172A !important; font-variant-numeric: tabular-nums !important; }
.bbl-cart-upsell-tier .bbl-tier-price { font-weight: 600 !important; color: #004F7A !important; font-variant-numeric: tabular-nums !important; }
.bbl-cart-upsell-tier .bbl-tier-pill { font-weight: 600 !important; color: #004F7A !important; font-variant-numeric: tabular-nums !important; background: transparent !important; border: none !important; padding: 0 !important; box-shadow: none !important; }
.bbl-cart-upsell-tier.is-max-tier { background: #F0FDF4 !important; border-color: #BBF7D0 !important; color: #166534 !important; }
.bbl-cart-upsell-tier.is-max-tier .bbl-tier-icon-check { color: #166534 !important; font-weight: 700 !important; }
@media (min-width: 768px) {
  .bbl-cart-group-footer { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 12px !important; width: 100% !important; box-sizing: border-box !important; }
  .bbl-cart-group-footer .bbl-cart-group-add-btn { flex-shrink: 0 !important; }
  .bbl-cart-group-footer .bbl-cart-upsell-wrap { margin-left: auto !important; flex-shrink: 0 !important; width: auto !important; }
  .bbl-cart-upsell-tier, .bbl-cart-group-footer .bbl-cart-upsell-tier { white-space: nowrap !important; width: auto !important; max-width: none !important; flex-shrink: 0 !important; flex-direction: row !important; }
}
@media (max-width: 767.98px) {
  .bbl-cart-group-footer { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 8px !important; width: 100% !important; }
  .bbl-cart-upsell-wrap { display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 6px !important; margin-left: 0 !important; width: 100% !important; }
  .bbl-cart-upsell-tier, .bbl-cart-group-footer .bbl-cart-upsell-tier { max-width: 100% !important; white-space: normal !important; }
}

/* 5. Payer Switcher: 10px Top Spacing & Strict Navy Styling */
.bbl-buyer-type-control .bbl-segmented-switcher, #buyer-switcher { margin-top: 10px !important; background: #F1F5F9 !important; border: none !important; padding: 4px !important; border-radius: 12px !important; display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 4px !important; }
.bbl-segmented-btn, #btn-fiz, #btn-jur { border-radius: 9px !important; border: none !important; height: 38px !important; min-height: 38px !important; font-size: 13.5px !important; transition: all 0.15s ease !important; cursor: pointer !important; font-family: inherit !important; }
.bbl-segmented-btn.is-active, #btn-fiz.is-active, #btn-jur.is-active { background: #004F7A !important; color: #FFFFFF !important; font-weight: 600 !important; box-shadow: 0 1px 3px rgba(0, 79, 122, 0.25) !important; border: none !important; }
.bbl-segmented-btn.is-active span, .bbl-segmented-btn.is-active .bbl-btn-jur-top { color: #FFFFFF !important; }
.bbl-segmented-btn:not(.is-active), #btn-fiz:not(.is-active), #btn-jur:not(.is-active) { background: transparent !important; color: #475569 !important; font-weight: 500 !important; border: none !important; box-shadow: none !important; }
.bbl-segmented-btn:not(.is-active):hover, #btn-fiz:not(.is-active):hover, #btn-jur:not(.is-active):hover { color: #0F172A !important; }
.bbl-segmented-btn:not(.is-active) span, .bbl-segmented-btn:not(.is-active) .bbl-btn-jur-top { color: #475569 !important; }
.bbl-segmented-btn:not(.is-active):hover span, .bbl-segmented-btn:not(.is-active):hover .bbl-btn-jur-top { color: #0F172A !important; }

/* 6. Recommendations & Tabs: Clean Photo (no square-in-square), Single "от ... ₽", 12px Button Radius */
.bbl-stitch-rec-tabs-header { padding: 0 4px !important; gap: 24px !important; border-bottom: 1px solid #E2E8F0 !important; margin-bottom: 18px !important; display: flex !important; align-items: center !important; }
.bbl-stitch-rec-tab { padding: 8px 2px 12px 2px !important; font-size: 14px !important; font-weight: 500 !important; color: #64748B !important; border-bottom: 2px solid transparent !important; cursor: pointer !important; transition: all 0.15s ease !important; }
.bbl-stitch-rec-tab:hover { color: #0F172A !important; }
.bbl-stitch-rec-tab.is-active { color: #004F7A !important; font-weight: 600 !important; border-bottom-color: #004F7A !important; }
.bbl-stitch-tab-badge { background: #F1F5F9 !important; color: #64748B !important; font-size: 11px !important; font-weight: 600 !important; border-radius: 9999px !important; padding: 1px 7px !important; font-family: inherit !important; }
.bbl-stitch-rec-tab.is-active .bbl-stitch-tab-badge { background: #E0F2FE !important; color: #004F7A !important; }
.bbl-stitch-rec-card { background: #FFFFFF !important; border: 1px solid #E2E8F0 !important; border-radius: 12px !important; padding: 12px !important; box-shadow: none !important; display: flex !important; flex-direction: column !important; justify-content: space-between !important; }
.bbl-stitch-rec-thumb { position: relative !important; width: 100% !important; height: 180px !important; min-height: 180px !important; max-height: 180px !important; display: flex !important; align-items: center !important; justify-content: center !important; background: transparent !important; border: none !important; box-shadow: none !important; border-radius: 10px !important; overflow: hidden !important; margin: 0 auto !important; padding: 0 !important; }
.bbl-stitch-rec-thumb-link, .bbl-stitch-rec-thumb a { display: flex !important; align-items: center !important; justify-content: center !important; width: 100% !important; height: 100% !important; margin: 0 !important; padding: 0 !important; border: none !important; background: transparent !important; }
.bbl-stitch-rec-img, .bbl-stitch-rec-thumb img { max-width: 100% !important; max-height: 100% !important; width: auto !important; height: auto !important; object-fit: contain !important; border: none !important; border-radius: 10px !important; box-shadow: none !important; background: transparent !important; display: block !important; transform: none !important; }
.bbl-stitch-rec-pricing { margin: 8px 0 10px 0 !important; display: flex !important; align-items: center !important; justify-content: flex-start !important; }
.bbl-stitch-rec-price-opt { font-size: 14px !important; font-weight: 600 !important; color: #0F172A !important; line-height: 1.3 !important; font-variant-numeric: tabular-nums !important; }
.bbl-stitch-rec-cta .bbl-stitch-rec-add-btn, .bbl-stitch-rec-add-btn { border-radius: 12px !important; background-color: #004F7A !important; color: #FFFFFF !important; font-weight: 500 !important; font-size: 13px !important; border: 1px solid #004F7A !important; height: 38px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 6px !important; width: 100% !important; cursor: pointer !important; box-shadow: none !important; transition: background-color 0.15s ease !important; }
.bbl-stitch-rec-cta .bbl-stitch-rec-add-btn:hover, .bbl-stitch-rec-add-btn:hover { background-color: #003B5C !important; border-color: #003B5C !important; color: #FFFFFF !important; }
.bbl-stitch-rec-cta .bbl-stitch-rec-add-btn span, .bbl-stitch-rec-add-btn span, .bbl-stitch-rec-cta .bbl-stitch-rec-add-btn svg, .bbl-stitch-rec-add-btn svg { color: #FFFFFF !important; stroke: #FFFFFF !important; }
.bbl-stitch-rec-pill { font-size: 11px !important; font-weight: 600 !important; }

/* Totals and Primary CTA */
.bbl-stitch-primary-cta, #primary-checkout-btn { height: 46px !important; min-height: 46px !important; border-radius: var(--inputs-buttons-border-radius, 16px) !important; }
.bbl-total-sum-row { display: flex !important; justify-content: space-between !important; align-items: baseline !important; }
.bbl-total-sum-label { font-size: 16px !important; font-weight: 700 !important; color: #0F172A !important; }
.bbl-total-sum-val, #total-price { font-size: 24px !important; font-weight: 800 !important; color: #004F7A !important; font-variant-numeric: tabular-nums !important; }
/* Special Offers Section Margin Top */
#special-offers-section, .vip-neon-glow, .bbl-special-offers-box { margin-top: 20px !important; }
