/* Блок бонусов в корзине */
.marta-bonus-cart-block {
    margin: 0 0 10px 0;
    padding: 12px 14px;
    border: 1px solid #ffbb00;
    border-radius: 8px;
    background: rgba(255, 187, 0, 0.07);
}

.marta-bonus-cart-block .mb-title {
    font-size: 13px;
    color: #ffbb00;
    font-weight: 600;
    margin-bottom: 8px;
}

.marta-bonus-cart-block .mb-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.marta-bonus-cart-block .mb-nums {
    display: flex;
    gap: 18px;
}

.marta-bonus-cart-block .mb-num-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.marta-bonus-cart-block .mb-label {
    font-size: 10px;
    color: #989696;
}

.marta-bonus-cart-block .mb-value {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
}

.marta-bonus-cart-block .mb-value.mb-available {
    color: #ffbb00;
}

/* Кнопка Списать */
.marta-bonus-cart-block .mb-btn-spend {
    padding: 7px 14px;
    background: #ffbb00;
    color: #333;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.marta-bonus-cart-block .mb-btn-spend:hover {
    background: #e6a800;
}

/* Состояние после списания */
.marta-bonus-cart-block.mb-applied {
    border-color: #a6ee0c;
    background: rgba(166, 238, 12, 0.07);
}

.marta-bonus-cart-block.mb-applied .mb-title {
    color: #a6ee0c;
}

.marta-bonus-cart-block.mb-applied .mb-value.mb-available {
    color: #a6ee0c;
}

/* Кнопка Не списывать */
.marta-bonus-cart-block .mb-btn-cancel {
    padding: 7px 14px;
    background: transparent;
    color: #989696;
    border: 1px solid #555;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.marta-bonus-cart-block .mb-btn-cancel:hover {
    border-color: #989696;
    color: #fff;
}

/* Строка бонусов в тоталах (после списания) */
.total-list__item.total-bonus-spent span:last-child {
    color: #a6ee0c;
    font-weight: 600;
}

/* Зачёркнутая старая сумма и новая */
.mb-price-old {
    text-decoration: line-through;
    color: #989696;
    font-size: 14px;
    font-weight: 400;
}

.mb-price-new {
    color: #a6ee0c;
    font-size: 18px;
    font-weight: bold;
}

.mb-prices {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.mb-remainder {
    font-size: 10px;
    color: #989696;
    margin-top: 3px;
}

.mb-guest-block {
    background: #2a2a2a;
    border: 1px solid #3a5a24;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 12px;
}
.mb-guest-text {
    font-size: 13px;
    color: #aaa;
    margin: 6px 0 12px;
    line-height: 1.5;
}
.mb-auth-input-wrap {
    margin-bottom: 8px;
}
.mb-auth-input-wrap input {
    width: 100%;
    padding: 9px 12px;
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 7px;
    color: #fff;
    font-size: 13px;
    font-family: "Raleway", sans-serif;
    box-sizing: border-box;
}
.mb-auth-input-wrap input:focus {
    outline: none;
    border-color: #445723;
}
.mb-auth-btn {
    width: 100%;
    padding: 9px;
    background: #445723;
    border: none;
    border-radius: 7px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: "Raleway", sans-serif;
    transition: background 0.2s;
}
.mb-auth-btn:hover {
    background: #5a7a2e;
}
.mb-auth-btn:disabled {
    opacity: 0.6;
    cursor: default;
}
.mb-auth-error {
    font-size: 12px;
    color: #e74c3c;
    margin-top: 4px;
}
.mb-auth-hint {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 10px;
}
.mb-auth-resend {
    width: 100%;
    margin-top: 8px;
    padding: 7px;
    background: transparent;
    border: 1px solid #444;
    border-radius: 7px;
    color: #888;
    font-size: 12px;
    cursor: pointer;
    font-family: "Raleway", sans-serif;
}
.mb-auth-resend:disabled {
    opacity: 0.5;
    cursor: default;
}
.mb-auth-ok {
    font-size: 13px;
    color: #a6d46a;
    text-align: center;
    padding: 10px 0;
}

/* Сообщение о блокировке бонусов */
.mb-block-message {
    margin-top: 8px;
    padding: 7px 10px;
    background: rgba(231, 76, 60, 0.08);
    border-left: 3px solid #e74c3c;
    border-radius: 0 5px 5px 0;
    font-size: 12px;
    color: #e74c3c;
    line-height: 1.4;
}
