body.rfq-basket-open {
    overflow: hidden;
}

.js-rfq-add.is-in-rfq {
    background: #198754 !important;
    border-color: #198754 !important;
    color: #fff !important;
}

.rfq-basket-floating {
    position: fixed;
    right: 22px;
    bottom: 92px;
    z-index: 1040;
    border: 0;
    background: #071b3a;
    color: #fff;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 800;
    box-shadow: 0 18px 40px rgba(7, 27, 58, .22);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.rfq-basket-floating strong {
    background: #2f65b0;
    color: #fff;
    min-width: 26px;
    height: 26px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.rfq-basket-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 27, 58, .48);
    opacity: 0;
    pointer-events: none;
    z-index: 1045;
    transition: .22s ease;
}

body.rfq-basket-open .rfq-basket-overlay {
    opacity: 1;
    pointer-events: auto;
}

.rfq-basket-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(430px, 92vw);
    height: 100vh;
    background: #fff;
    z-index: 1050;
    transform: translateX(100%);
    transition: .25s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 45px rgba(7, 27, 58, .18);
}

body.rfq-basket-open .rfq-basket-drawer {
    transform: translateX(0);
}

.rfq-basket-header {
    padding: 22px;
    border-bottom: 1px solid rgba(7, 27, 58, .08);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.rfq-basket-header h3 {
    margin: 0;
    color: #071b3a;
    font-size: 22px;
    font-weight: 900;
}

.rfq-basket-header p {
    margin: 5px 0 0;
    color: #637089;
    font-size: 14px;
}

.rfq-basket-close {
    border: 0;
    background: #f1f4f9;
    color: #071b3a;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.rfq-basket-body {
    padding: 18px 22px;
    overflow-y: auto;
    flex: 1;
}

.rfq-basket-empty {
    border: 1px dashed rgba(7, 27, 58, .2);
    background: #f8fafc;
    border-radius: 16px;
    padding: 22px;
    color: #637089;
    text-align: center;
    font-weight: 700;
}

.rfq-basket-item {
    border: 1px solid rgba(7, 27, 58, .1);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 12px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
}

.rfq-basket-item-main strong {
    display: block;
    color: #071b3a;
    font-size: 15px;
    line-height: 1.35;
    margin-bottom: 6px;
}

.rfq-basket-item-main small {
    display: block;
    color: #637089;
    font-size: 12px;
    line-height: 1.45;
}

.rfq-basket-item-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.rfq-basket-item-actions label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #637089;
    font-size: 12px;
    font-weight: 800;
    margin: 0;
}

.rfq-basket-item-actions input {
    width: 68px;
    height: 36px;
    border: 1px solid rgba(7, 27, 58, .15);
    border-radius: 10px;
    padding: 0 8px;
    font-weight: 800;
}

.rfq-basket-item-actions button {
    border: 0;
    background: transparent;
    color: #c0392b;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    padding: 0;
}

.rfq-basket-footer {
    padding: 18px 22px 22px;
    border-top: 1px solid rgba(7, 27, 58, .08);
    display: grid;
    gap: 10px;
}

.rfq-basket-footer .btn {
    width: 100%;
}

.rfq-basket-clear {
    border: 0;
    background: transparent;
    color: #637089;
    font-weight: 800;
    cursor: pointer;
    padding: 8px;
}

.rfq-basket-clear:disabled,
#rfqBasketContinue:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.rfq-quote-summary {
    background: #f8fafc;
    border: 1px solid rgba(7, 27, 58, .1);
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 25px;
}

.rfq-quote-summary h3 {
    margin: 0 0 8px;
    color: #071b3a;
    font-weight: 900;
}

.rfq-quote-summary p {
    color: #637089;
    margin-bottom: 14px;
}

.rfq-quote-summary pre {
    white-space: pre-wrap;
    background: #fff;
    border: 1px solid rgba(7, 27, 58, .08);
    border-radius: 14px;
    padding: 14px;
    color: #071b3a;
    margin: 0;
    font-family: inherit;
    font-size: 14px;
}

@media (max-width: 576px) {
    .rfq-basket-floating {
        right: 15px;
        bottom: 78px;
        padding: 10px 14px;
    }

    .rfq-basket-item {
        grid-template-columns: 1fr;
    }

    .rfq-basket-item-actions {
        align-items: flex-start;
    }
}
