.nx-wqr {
    --nx-wqr-blue: #1d4ed8;
    --nx-wqr-blue-dark: #153eaa;
    --nx-wqr-border: #d9e0ea;
    --nx-wqr-text: #111827;
    --nx-wqr-muted: #5f6b7a;
    color: var(--nx-wqr-text);
    font-family: inherit;
}

.nx-wqr-cart-card {
    margin-top: 18px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--nx-wqr-border);
    border-radius: 10px;
}

.nx-wqr-cart-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.35;
}

.nx-wqr-cart-card p {
    margin: 0 0 14px;
    color: var(--nx-wqr-muted);
    line-height: 1.6;
}

.nx-wqr .nx-wqr-button,
.nx-wqr .button.nx-wqr-button {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--nx-wqr-blue);
    border-color: var(--nx-wqr-blue);
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

.nx-wqr .nx-wqr-button:hover,
.nx-wqr .button.nx-wqr-button:hover {
    background: var(--nx-wqr-blue-dark);
    border-color: var(--nx-wqr-blue-dark);
    color: #fff;
}

.nx-wqr-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.nx-wqr-table th,
.nx-wqr-table td {
    border-bottom: 1px solid var(--nx-wqr-border);
    padding: 10px;
    text-align: left;
    vertical-align: middle;
}

.nx-wqr-table th {
    color: #111827;
    font-weight: 700;
}

.nx-wqr-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--nx-wqr-badge) 14%, #fff);
    color: var(--nx-wqr-badge);
    border: 1px solid color-mix(in srgb, var(--nx-wqr-badge) 35%, #fff);
    font-size: 12px;
    font-weight: 700;
}

.nx-wqr-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--nx-wqr-border);
    margin-bottom: 14px;
}

.nx-wqr-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.nx-wqr-inline {
    display: inline;
}

.nx-wqr .nx-wqr-danger {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
}

.nx-wqr-timeline {
    margin-left: 18px;
}

.nx-wqr-quote-mobile-list {
    display: none;
}

.nx-wqr-quote-checkout {
    --nx-wqr-quote-pink: #e11d48;
    --nx-wqr-quote-pink-dark: #be123c;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 14px;
}

.nx-wqr-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
    gap: 22px;
    align-items: start;
}

.nx-wqr-quote-checkout h1 {
    margin: 0 0 16px;
    font-size: 28px;
    line-height: 1.25;
}

.nx-wqr-checkout-section,
.nx-wqr-checkout-summary {
    margin-bottom: 18px;
    padding: 20px;
    border: 1px solid var(--nx-wqr-border);
    border-radius: 8px;
    background: #fff;
}

.nx-wqr-table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.nx-wqr-checkout-section h2,
.nx-wqr-checkout-summary h2 {
    margin: 0 0 14px;
    font-size: 19px;
    line-height: 1.35;
}

.nx-wqr-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.nx-wqr-section-head h2 {
    margin: 0;
}

.nx-wqr-section-head a,
.nx-wqr-edit-address {
    color: #0b7fd0;
    border: 0;
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.nx-wqr-selected-address {
    display: grid;
    gap: 5px;
    min-height: 104px;
    padding: 15px;
    border: 1px solid var(--nx-wqr-border);
    border-radius: 8px;
    background: #fbfcfe;
}

.nx-wqr-address-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.nx-wqr-address-option {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    min-height: 116px;
    padding: 14px;
    border: 1px solid var(--nx-wqr-border);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.nx-wqr-address-option:has(input:checked) {
    border-color: var(--nx-wqr-quote-pink);
    box-shadow: 0 0 0 1px var(--nx-wqr-quote-pink);
}

.nx-wqr-address-option input {
    margin-top: 4px;
}

.nx-wqr-address-card-text,
.nx-wqr-selected-address {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.nx-wqr-address-card-text strong,
.nx-wqr-selected-address strong,
.nx-wqr-product-cell strong {
    color: var(--nx-wqr-text);
}

.nx-wqr-address-card-text span,
.nx-wqr-address-card-text small,
.nx-wqr-selected-address span,
.nx-wqr-selected-address small,
.nx-wqr-product-cell small {
    color: var(--nx-wqr-muted);
    line-height: 1.45;
}

.nx-wqr-address-dialog {
    width: min(760px, calc(100vw - 28px));
    max-height: min(760px, calc(100vh - 28px));
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: var(--nx-wqr-text);
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
}

.nx-wqr-address-dialog::backdrop {
    background: rgba(15, 23, 42, 0.45);
}

.nx-wqr-address-dialog-head,
.nx-wqr-address-dialog-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--nx-wqr-border);
}

.nx-wqr-address-dialog-head h3 {
    margin: 0;
    font-size: 19px;
}

.nx-wqr-address-dialog-head button {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--nx-wqr-border);
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
}

.nx-wqr-address-dialog .nx-wqr-address-options {
    max-height: min(520px, calc(100vh - 180px));
    overflow: auto;
    padding: 18px;
}

.nx-wqr-address-dialog-actions {
    border-top: 1px solid var(--nx-wqr-border);
    border-bottom: 0;
}

.nx-wqr-confirm-address {
    min-height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    background: var(--nx-wqr-quote-pink);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.nx-wqr-products-table td:nth-child(3),
.nx-wqr-products-table td:nth-child(4),
.nx-wqr-products-table td:nth-child(5),
.nx-wqr-products-table td:nth-child(6),
.nx-wqr-products-table th:nth-child(3),
.nx-wqr-products-table th:nth-child(4),
.nx-wqr-products-table th:nth-child(5),
.nx-wqr-products-table th:nth-child(6) {
    text-align: right;
    white-space: nowrap;
}

.nx-wqr-products-table td:first-child,
.nx-wqr-products-table th:first-child {
    text-align: center;
    white-space: nowrap;
}

.nx-wqr-product-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.nx-wqr-product-cell img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border: 1px solid var(--nx-wqr-border);
    border-radius: 6px;
    background: #fff;
}

.nx-wqr-product-cell span {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.nx-wqr-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
}

.nx-wqr-field-grid .form-row {
    margin: 0;
}

.nx-wqr-field-grid .form-row-wide {
    grid-column: 1 / -1;
}

.nx-wqr-field-grid label,
.nx-wqr-checkline {
    display: block;
    margin-bottom: 5px;
    color: var(--nx-wqr-text);
    font-weight: 700;
}

.nx-wqr-field-grid input,
.nx-wqr-field-grid select,
.nx-wqr-quote-checkout textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--nx-wqr-border);
    border-radius: 6px;
    background: #fff;
}

.nx-wqr-quote-checkout textarea {
    min-height: 88px;
}

.nx-wqr-payment-methods {
    display: grid;
    gap: 10px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.nx-wqr-payment-methods li {
    padding: 12px;
    border: 1px solid var(--nx-wqr-border);
    border-radius: 8px;
}

.nx-wqr-payment-methods label {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0;
    font-weight: 700;
}

.nx-wqr-payment-methods input {
    width: auto;
}

.nx-wqr-payment-methods small {
    display: block;
    margin-top: 6px;
    color: var(--nx-wqr-muted);
}

.nx-wqr-summary-payment {
    margin: 0 0 18px;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--nx-wqr-border);
}

.nx-wqr-summary-payment h2 {
    margin: 0 0 14px;
    font-size: 19px;
    line-height: 1.35;
}

.nx-wqr-checkout-summary {
    position: sticky;
    top: 24px;
}

.nx-wqr-review-table th,
.nx-wqr-review-table td {
    text-align: right;
}

.nx-wqr-review-table th:first-child,
.nx-wqr-review-table td:first-child {
    text-align: left;
}

.nx-wqr-grand-total th,
.nx-wqr-grand-total td {
    font-size: 18px;
    font-weight: 800;
}

.nx-wqr-confirm-quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    margin-top: 16px;
    border: 0;
    border-radius: 7px;
    background: var(--nx-wqr-quote-pink);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
}

.nx-wqr-confirm-quote:hover {
    background: var(--nx-wqr-quote-pink-dark);
    color: #fff;
}

.nx-wqr-mobile-submit {
    display: none;
}

.nx-wqr-quote-checkout.is-submitting .nx-wqr-confirm-quote {
    opacity: 0.72;
    cursor: wait;
}

.nx-wqr-admin .nav-tab-wrapper {
    margin-bottom: 16px;
}

.nx-wqr-admin .nx-wqr-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 14px 0;
}

.nx-wqr-admin .nx-wqr-panel {
    margin: 16px 0;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--nx-wqr-border);
    border-radius: 8px;
}

.nx-wqr-admin .nx-wqr-editor-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.4fr);
    gap: 16px;
}

.nx-wqr-admin .nx-wqr-address {
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 8px 12px;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid var(--nx-wqr-border);
}

.nx-wqr-admin .nx-wqr-address label,
.nx-wqr-admin .nx-wqr-totals-grid label {
    display: grid;
    gap: 4px;
}

.nx-wqr-admin .nx-wqr-edit-items {
    min-width: 1200px;
}

.nx-wqr-admin .nx-wqr-items-panel {
    overflow-x: auto;
}

.nx-wqr-admin .nx-wqr-edit-items thead th {
    position: sticky;
    top: 32px;
    z-index: 2;
    background: #f6f7f7;
}

.nx-wqr-admin .nx-wqr-edit-items input,
.nx-wqr-admin .nx-wqr-edit-items textarea,
.nx-wqr-admin .nx-wqr-edit-items select {
    max-width: 100%;
}

.nx-wqr-admin .nx-wqr-edit-items textarea {
    width: 100%;
}

.nx-wqr-admin .nx-wqr-drag {
    cursor: move;
    text-align: center;
    color: var(--nx-wqr-muted);
}

.nx-wqr-admin .nx-wqr-product-results,
.nx-wqr-admin .nx-wqr-search-results {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-left: 8px;
}

.nx-wqr-admin .nx-wqr-totals-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    gap: 10px;
}

.nx-wqr-admin .nx-wqr-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.nx-wqr-admin .nx-wqr-summary span {
    padding: 8px 10px;
    border: 1px solid var(--nx-wqr-border);
    border-radius: 8px;
    background: #fff;
}

.nx-wqr-admin .nx-wqr-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.nx-wqr-admin .nx-wqr-preview-header h2 {
    margin: 0;
}

.nx-wqr-admin .nx-wqr-template-settings {
    display: grid;
    grid-template-columns: minmax(340px, 520px) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.nx-wqr-admin .nx-wqr-template-form .nx-wqr-panel {
    margin-top: 0;
}

.nx-wqr-admin .nx-wqr-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.nx-wqr-admin .nx-wqr-font-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.nx-wqr-admin .nx-wqr-font-fields .nx-wqr-setting-control:first-child {
    grid-column: 1 / -1;
}

.nx-wqr-admin .nx-wqr-setting-control {
    display: grid;
    gap: 6px;
    font-weight: 600;
}

.nx-wqr-admin .nx-wqr-setting-control input,
.nx-wqr-admin .nx-wqr-setting-control textarea,
.nx-wqr-admin .nx-wqr-setting-control select {
    width: 100%;
}

.nx-wqr-admin .nx-wqr-setting-control input[type="color"] {
    width: 52px;
    min-height: 34px;
    padding: 2px;
}

.nx-wqr-admin .nx-wqr-setting-control input[type="file"] {
    width: auto;
}

.nx-wqr-admin .nx-wqr-inline-field {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nx-wqr-admin .nx-wqr-inline-field input {
    width: 100px;
}

.nx-wqr-admin .nx-wqr-setting-control .nx-wqr-media-field {
    display: flex;
    gap: 6px;
}

.nx-wqr-admin .nx-wqr-setting-control .nx-wqr-media-field input {
    min-width: 0;
}

.nx-wqr-admin .nx-wqr-toggle-list {
    display: grid;
    gap: 12px;
}

.nx-wqr-admin .nx-wqr-toggle-row {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #374151;
    font-weight: 600;
}

.nx-wqr-admin .nx-wqr-toggle-row input {
    width: 16px;
    height: 16px;
}

.nx-wqr-admin .nx-wqr-pdf-frame-wrap {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 0;
    aspect-ratio: 210 / 297;
    background: #dfe3ea;
    border: 1px solid #c5ccd8;
    border-radius: 8px;
    overflow: hidden;
}

.nx-wqr-admin .nx-wqr-pdf-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 920px;
    background: #fff;
    border: 0;
}

@media (max-width: 1100px) {
    .nx-wqr-checkout-layout {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
        gap: 16px;
    }

    .nx-wqr-checkout-section,
    .nx-wqr-checkout-summary {
        padding: 18px;
    }

    .nx-wqr-admin .nx-wqr-editor-grid,
    .nx-wqr-admin .nx-wqr-totals-grid,
    .nx-wqr-admin .nx-wqr-font-fields,
    .nx-wqr-admin .nx-wqr-template-settings {
        grid-template-columns: 1fr;
    }

    .nx-wqr-admin .nx-wqr-pdf-frame {
        min-height: 780px;
    }
}

@media (max-width: 860px) {
    .nx-wqr-checkout-layout {
        grid-template-columns: 1fr;
    }

    .nx-wqr-checkout-summary {
        position: static;
    }

    .nx-wqr-account-head {
        display: grid;
        gap: 10px;
    }

    .nx-wqr-account-head nav {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .nx-wqr-account-head nav a {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .nx-wqr-account-table {
        display: none;
    }

    .nx-wqr-quote-mobile-list {
        display: grid;
        gap: 8px;
    }

    .nx-wqr-quote-mobile-row {
        display: grid;
        grid-template-columns: minmax(120px, 1fr) auto minmax(96px, auto);
        align-items: center;
        gap: 8px;
        min-height: 54px;
        padding: 9px 10px;
        border: 1px solid var(--nx-wqr-border);
        border-radius: 8px;
        background: #fff;
        color: var(--nx-wqr-text);
        text-decoration: none;
    }

    .nx-wqr-quote-mobile-row:hover {
        border-color: #b8c3d3;
        color: var(--nx-wqr-text);
    }

    .nx-wqr-quote-mobile-main,
    .nx-wqr-quote-mobile-status {
        display: grid;
        gap: 2px;
        min-width: 0;
    }

    .nx-wqr-quote-mobile-main strong {
        overflow: hidden;
        font-size: 13px;
        line-height: 1.25;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .nx-wqr-quote-mobile-main small,
    .nx-wqr-quote-mobile-status small {
        overflow: hidden;
        color: var(--nx-wqr-muted);
        font-size: 11px;
        line-height: 1.25;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .nx-wqr-quote-mobile-total {
        font-size: 13px;
        font-weight: 800;
        white-space: nowrap;
    }

    .nx-wqr-quote-mobile-status {
        justify-items: end;
    }

    .nx-wqr-quote-mobile-status .nx-wqr-badge {
        max-width: 100%;
        min-height: 22px;
        padding: 2px 7px;
        font-size: 11px;
        white-space: nowrap;
    }

    .nx-wqr-quote-mobile-empty {
        padding: 12px;
        border: 1px solid var(--nx-wqr-border);
        border-radius: 8px;
        background: #fff;
    }

    .nx-wqr-detail {
        overflow: hidden;
    }

    .nx-wqr-detail .nx-wqr-heading {
        align-items: flex-start;
        gap: 10px;
    }

    .nx-wqr-detail .nx-wqr-heading h2 {
        margin: 0;
        min-width: 0;
        overflow-wrap: anywhere;
        font-size: 20px;
        line-height: 1.25;
    }

    .nx-wqr-detail > p {
        margin: 8px 0;
        font-size: 13px;
        line-height: 1.55;
    }

    .nx-wqr-detail-table {
        table-layout: fixed;
        width: 100%;
        border-collapse: collapse;
        background: #fff;
        font-size: 12px;
        line-height: 1.35;
    }

    .nx-wqr-detail-table th,
    .nx-wqr-detail-table td {
        padding: 6px 4px;
        overflow-wrap: anywhere;
        vertical-align: middle;
    }

    .nx-wqr-detail-table th:nth-child(1),
    .nx-wqr-detail-table td:nth-child(1) {
        width: 8%;
        text-align: center;
    }

    .nx-wqr-detail-table th:nth-child(2),
    .nx-wqr-detail-table td:nth-child(2) {
        width: 30%;
        text-align: left;
    }

    .nx-wqr-detail-table th:nth-child(3),
    .nx-wqr-detail-table td:nth-child(3) {
        width: 9%;
        text-align: center;
    }

    .nx-wqr-detail-table th:nth-child(4),
    .nx-wqr-detail-table td:nth-child(4),
    .nx-wqr-detail-table th:nth-child(5),
    .nx-wqr-detail-table td:nth-child(5),
    .nx-wqr-detail-table th:nth-child(6),
    .nx-wqr-detail-table td:nth-child(6) {
        text-align: right;
        white-space: normal;
    }

    .nx-wqr-detail-table th:nth-child(4),
    .nx-wqr-detail-table td:nth-child(4),
    .nx-wqr-detail-table th:nth-child(5),
    .nx-wqr-detail-table td:nth-child(5) {
        width: 15%;
    }

    .nx-wqr-detail-table th:nth-child(6),
    .nx-wqr-detail-table td:nth-child(6) {
        width: 23%;
    }

    .nx-wqr-detail-table tfoot th {
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .nx-wqr-detail-table tfoot th:first-child {
        color: var(--nx-wqr-text);
        text-align: left;
    }

    .nx-wqr-detail-table tfoot th:last-child {
        text-align: right;
    }
}

@media (max-width: 700px) {
    .nx-wqr-quote-checkout {
        padding: 0 10px 88px;
    }

    .nx-wqr-checkout-layout,
    .nx-wqr-field-grid,
    .nx-wqr-address-options {
        grid-template-columns: 1fr;
    }

    .nx-wqr-quote-checkout h1 {
        margin-bottom: 12px;
        font-size: 24px;
    }

    .nx-wqr-checkout-section,
    .nx-wqr-checkout-summary {
        margin-bottom: 12px;
        padding: 14px;
        border-radius: 8px;
    }

    .nx-wqr-checkout-section h2,
    .nx-wqr-checkout-summary h2,
    .nx-wqr-summary-payment h2 {
        font-size: 17px;
    }

    .nx-wqr-section-head {
        align-items: flex-start;
    }

    .nx-wqr-selected-address {
        min-height: 0;
        padding: 12px;
    }

    .nx-wqr-address-dialog {
        width: calc(100vw - 16px);
        max-height: calc(100dvh - 16px);
        border-radius: 8px;
    }

    .nx-wqr-address-dialog-head,
    .nx-wqr-address-dialog-actions {
        padding: 12px;
    }

    .nx-wqr-address-dialog .nx-wqr-address-options {
        max-height: calc(100dvh - 150px);
        padding: 12px;
    }

    .nx-wqr-address-dialog-actions {
        flex-wrap: wrap;
    }

    .nx-wqr-confirm-address {
        flex: 1 1 160px;
    }

    .nx-wqr-checkout-summary {
        position: static;
    }

    .nx-wqr-products-table,
    .nx-wqr-products-table tbody,
    .nx-wqr-products-table tr,
    .nx-wqr-products-table td {
        display: block;
        width: 100%;
    }

    .nx-wqr-products-table thead {
        display: none;
    }

    .nx-wqr-products-table tr {
        padding: 12px 0;
        border-bottom: 1px solid var(--nx-wqr-border);
    }

    .nx-wqr-products-table tr:last-child {
        border-bottom: 0;
    }

    .nx-wqr-products-table td {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        padding: 6px 0;
        border-bottom: 0;
        text-align: right;
        white-space: normal;
    }

    .nx-wqr-products-table td::before {
        content: attr(data-label);
        flex: 0 0 76px;
        color: var(--nx-wqr-muted);
        font-weight: 700;
        text-align: left;
    }

    .nx-wqr-products-table td:nth-child(2) {
        display: block;
        text-align: left;
    }

    .nx-wqr-products-table td:nth-child(2)::before {
        display: block;
        margin-bottom: 8px;
    }

    .nx-wqr-product-cell {
        align-items: flex-start;
    }

    .nx-wqr-product-cell img {
        width: 52px;
        height: 52px;
        flex: 0 0 52px;
    }

    .nx-wqr-summary-payment {
        margin-bottom: 14px;
        padding-bottom: 14px;
    }

    .nx-wqr-payment-methods li {
        padding: 11px;
    }

    .nx-wqr-quote-checkout textarea,
    .nx-wqr-payment-methods label,
    .nx-wqr-address-card-text,
    .nx-wqr-selected-address {
        font-size: 15px;
    }

    .nx-wqr-quote-checkout input,
    .nx-wqr-quote-checkout select,
    .nx-wqr-quote-checkout textarea,
    .nx-wqr-quote-checkout button {
        font-size: 16px;
    }

    .nx-wqr-checkout-summary > .nx-wqr-confirm-quote {
        display: none;
    }

    .nx-wqr-mobile-submit {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 9999;
        display: block;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--nx-wqr-border);
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 -10px 24px rgba(15, 23, 42, 0.12);
    }

    .nx-wqr-mobile-submit .nx-wqr-confirm-quote {
        margin: 0;
        min-height: 48px;
    }

    .nx-wqr-quote-mobile-row {
        grid-template-columns: minmax(104px, 1fr) auto minmax(84px, auto);
        gap: 6px;
        min-height: 50px;
        padding: 8px;
    }

    .nx-wqr-quote-mobile-main strong,
    .nx-wqr-quote-mobile-total {
        font-size: 12px;
    }

    .nx-wqr-quote-mobile-main small,
    .nx-wqr-quote-mobile-status small,
    .nx-wqr-quote-mobile-status .nx-wqr-badge {
        font-size: 10px;
    }

    .nx-wqr-detail .nx-wqr-heading h2 {
        font-size: 18px;
    }

    .nx-wqr-detail .nx-wqr-badge {
        font-size: 10px;
    }

    .nx-wqr-detail-table {
        font-size: 10.5px;
        line-height: 1.25;
    }

    .nx-wqr-detail-table th,
    .nx-wqr-detail-table td {
        padding: 5px 2px;
    }

    .nx-wqr-detail-table th:nth-child(2),
    .nx-wqr-detail-table td:nth-child(2) {
        width: 29%;
    }

    .nx-wqr-detail-table th:nth-child(4),
    .nx-wqr-detail-table td:nth-child(4),
    .nx-wqr-detail-table th:nth-child(5),
    .nx-wqr-detail-table td:nth-child(5) {
        width: 16%;
    }
}

@media (max-width: 420px) {
    .nx-wqr-detail-table {
        font-size: 9.5px;
        line-height: 1.2;
    }

    .nx-wqr-detail-table th,
    .nx-wqr-detail-table td {
        padding: 4px 1px;
    }

    .nx-wqr-detail-table th:nth-child(1),
    .nx-wqr-detail-table td:nth-child(1) {
        width: 7%;
    }

    .nx-wqr-detail-table th:nth-child(2),
    .nx-wqr-detail-table td:nth-child(2) {
        width: 27%;
    }

    .nx-wqr-detail-table th:nth-child(3),
    .nx-wqr-detail-table td:nth-child(3) {
        width: 8%;
    }

    .nx-wqr-detail-table th:nth-child(4),
    .nx-wqr-detail-table td:nth-child(4),
    .nx-wqr-detail-table th:nth-child(5),
    .nx-wqr-detail-table td:nth-child(5) {
        width: 17%;
    }

    .nx-wqr-detail-table th:nth-child(6),
    .nx-wqr-detail-table td:nth-child(6) {
        width: 24%;
    }
}
