/* STEP 0.2B: isolated Ekaterinburg package/piece order mode UI */
.bb-ekb-unit-mode {
    margin-top: 12px;
    padding: 12px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 16px;
    background: #f8fafc;
}

.bb-ekb-unit-mode__head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 9px;
    color: #334155;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bb-ekb-unit-mode__badge {
    color: #991b1b;
    text-transform: none;
    letter-spacing: 0;
}

.bb-ekb-unit-mode__buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.bb-ekb-unit-mode__button {
    min-height: 58px;
    padding: 10px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 14px;
    background: #ffffff;
    color: #0f172a;
    text-align: left;
    cursor: pointer;
}

.bb-ekb-unit-mode__button strong,
.bb-ekb-unit-mode__button span {
    display: block;
}

.bb-ekb-unit-mode__button strong {
    font-size: 13px;
    font-weight: 900;
}

.bb-ekb-unit-mode__button span {
    margin-top: 3px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 700;
}

.bb-ekb-unit-mode__button.is-active {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.bb-ekb-unit-mode__notice {
    margin: 9px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 700;
}

.bb-ekb-unit-mode__notice.is-fee {
    color: #991b1b;
    font-weight: 900;
}

.bb-order-cart-product-card.is-ekb-piece-mode .bb-order-cart-product-card__line-label {
    color: #991b1b;
    font-weight: 900;
}

.bb-order-cart-product-card.is-ekb-piece-mode .bb-order-cart-product-card__qty-note {
    color: #991b1b;
    font-weight: 900;
}

@media (max-width: 640px) {
    .bb-ekb-unit-mode__buttons {
        grid-template-columns: 1fr;
    }
}
