.lfp-qbff-loop-button-wrap {
    margin-bottom: 10px;
    text-align: center;
    width: 100%;
}

.lfp-qbff-add-button {
    border-radius: 4px;
    font-weight: 700;
    line-height: 1.2;
}

.lfp-qbff-basket {
    margin: 0 auto;
    max-width: 1180px;
}

body.lfp-qbff-quote-page #st-primary-content {
    flex: 0 0 100%;
    max-width: 100%;
}

body.lfp-qbff-quote-page #st-secondary-content,
body.lfp-qbff-quote-page .sidebar,
body.lfp-qbff-quote-page .widget-area {
    display: none !important;
}

body.lfp-qbff-quote-page .lfp-qbff-basket {
    max-width: none;
    width: 100%;
}

.lfp-qbff-basket h2 {
    margin: 0 0 18px;
}

.lfp-qbff-table-wrap {
    overflow-x: auto;
}

.lfp-qbff-table {
    margin-bottom: 18px;
    min-width: 820px;
    table-layout: auto;
    width: 100%;
}

.lfp-qbff-table th,
.lfp-qbff-table td {
    line-height: 1.35;
    padding: 14px 12px;
    vertical-align: middle;
}

.lfp-qbff-table th {
    white-space: nowrap;
}

.lfp-qbff-table th:nth-child(1),
.lfp-qbff-table td:nth-child(1) {
    width: 42%;
}

.lfp-qbff-table th:nth-child(2),
.lfp-qbff-table td:nth-child(2) {
    min-width: 130px;
    width: 13%;
}

.lfp-qbff-table th:nth-child(3),
.lfp-qbff-table td:nth-child(3),
.lfp-qbff-table th:nth-child(4),
.lfp-qbff-table td:nth-child(4),
.lfp-qbff-table th:nth-child(5),
.lfp-qbff-table td:nth-child(5) {
    min-width: 92px;
    white-space: nowrap;
    width: 9%;
}

.lfp-qbff-table th:nth-child(6),
.lfp-qbff-table td:nth-child(6) {
    text-align: center;
    width: 46px;
}

.lfp-qbff-product {
    align-items: center;
    display: flex;
    gap: 12px;
    min-width: 260px;
}

.lfp-qbff-product img {
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    height: 58px;
    object-fit: cover;
    width: 58px;
}

.lfp-qbff-product small {
    color: #555;
    display: block;
    margin-top: 3px;
}

.lfp-qbff-qty {
    max-width: 86px;
}

.lfp-qbff-remove {
    align-items: center;
    background: #f5f5f5;
    border: 1px solid #d7d7d7;
    border-radius: 50%;
    color: #555;
    cursor: pointer;
    display: inline-flex;
    font-size: 22px;
    height: 32px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 32px;
}

.lfp-qbff-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 22px;
}

.lfp-qbff-actions .button {
    background: #f58220;
    border: 1px solid #f58220;
    border-radius: 4px;
    color: #fff;
    font-weight: 700;
    padding: 10px 16px;
}

.lfp-qbff-actions .button:hover,
.lfp-qbff-actions .button:focus {
    background: #df6f12;
    border-color: #df6f12;
    color: #fff;
}

.lfp-qbff-form-wrap {
    border-top: 1px solid #e2e2e2;
    margin-top: 18px;
    padding-top: 22px;
}

.lfp-qbff-checkout-enquiry {
    background: #fff7f0;
    border: 1px solid #f6c49b;
    border-radius: 6px;
    margin: 18px 0 8px;
    padding: 18px;
}

.lfp-qbff-checkout-copy h3 {
    font-size: 20px;
    line-height: 1.25;
    margin: 0 0 6px;
}

.lfp-qbff-checkout-copy p {
    margin: 0 0 12px;
}

.lfp-qbff-checkout-contact {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 0 14px;
}

.lfp-qbff-checkout-contact-title {
    color: #1f2933;
    font-weight: 700;
    grid-column: 1 / -1;
}

.lfp-qbff-checkout-contact label {
    display: block;
    margin: 0;
}

.lfp-qbff-checkout-contact span {
    color: #333;
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
}

.lfp-qbff-checkout-contact input {
    box-sizing: border-box;
    min-height: 44px;
    width: 100%;
}

.lfp-qbff-checkout-message {
    box-sizing: border-box;
    display: block;
    margin: 0 0 12px;
    min-height: 96px;
    resize: vertical;
    width: 100%;
}

.lfp-qbff-checkout-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.lfp-qbff-checkout-submit.button {
    background: #f58220;
    border-color: #f58220;
    border-radius: 4px;
    color: #fff;
    font-weight: 700;
    min-height: 44px;
    padding: 10px 18px;
}

.lfp-qbff-checkout-submit.button:hover,
.lfp-qbff-checkout-submit.button:focus {
    background: #df6f12;
    border-color: #df6f12;
    color: #fff;
}

.lfp-qbff-checkout-status {
    color: #555;
    flex: 1 1 260px;
    font-size: 14px;
    line-height: 1.35;
}

.lfp-qbff-checkout-status-success {
    color: #1f7a3a;
    font-weight: 700;
}

.lfp-qbff-checkout-status-error {
    color: #b42318;
    font-weight: 700;
}

@media (max-width: 720px) {
    .lfp-qbff-table-wrap {
        overflow-x: visible;
    }

    .lfp-qbff-table {
        min-width: 0;
    }

    .lfp-qbff-product {
        min-width: 0;
    }

    .lfp-qbff-table td {
        display: block;
        text-align: left !important;
    }

    .lfp-qbff-table thead {
        display: none;
    }

    .lfp-qbff-table tr {
        border-bottom: 1px solid #e4e4e4;
        display: block;
        padding: 12px 0;
    }

    .lfp-qbff-table td::before {
        color: #666;
        content: attr(data-title);
        display: block;
        font-size: 12px;
        font-weight: 700;
        margin-bottom: 4px;
        text-transform: uppercase;
    }

    .lfp-qbff-checkout-enquiry {
        padding: 14px;
    }

    .lfp-qbff-checkout-contact {
        grid-template-columns: 1fr;
    }

    .lfp-qbff-checkout-submit.button {
        width: 100%;
    }
}
