#main.qr-commerce-shell {
    --checkout-orange: #c63c00;
    --checkout-paper: #fff;
    --checkout-line: #e9e3df;
    --checkout-muted: #655d58;
    --checkout-radius: 20px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(32px, 4vw, 62px) 0 clamp(48px, 7vw, 90px);
    background: #f8f6f4;
    letter-spacing: normal;
}
.qr-commerce-inner {
    width: min(1180px, calc(100% - 56px));
    margin-inline: auto;
}
.qr-commerce-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 26px;
}
.qr-commerce-heading h1 {
    margin: 0;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.06em;
}
.qr-continue {
    font-size: 14px;
    font-weight: 750;
    color: var(--checkout-orange);
    white-space: nowrap;
}
.qr-commerce-shell .woocommerce {
    min-width: 0;
    overflow-wrap: anywhere;
}
.qr-commerce-shell .woocommerce form.woocommerce-checkout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    align-items: start;
    gap: 20px 24px;
}
.qr-commerce-shell .woocommerce form.woocommerce-checkout > * {
    grid-column: 1 / -1;
    min-width: 0;
}
.qr-commerce-shell :is(.woocommerce-cart-form, .cart_totals, #customer_details, #order_review, #payment) {
    background: var(--checkout-paper);
    border: 1px solid var(--checkout-line);
    border-radius: var(--checkout-radius);
    min-width: 0;
    padding: clamp(18px, 2.5vw, 30px);
    box-shadow: 0 8px 25px #22140808;
}
.qr-commerce-shell .woocommerce form.woocommerce-checkout > #customer_details,
.qr-commerce-shell .woocommerce form.woocommerce-checkout > #payment {
    grid-column: 1;
    width: 100%;
}
.qr-commerce-shell .woocommerce form.woocommerce-checkout > #order_review {
    grid-column: 2;
    grid-row: span 2;
    align-self: start;
    width: 100%;
    float: none;
    background: #fffcf9;
    border-top: 3px solid var(--qr-accent);
}
.qr-commerce-shell #order_review_heading {
    position: absolute;
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.qr-commerce-shell .woocommerce form.checkout #customer_details :is(.col-1,.col-2) {
    float: none;
    width: 100%;
}
.qr-commerce-shell .woocommerce form.checkout #customer_details .col-2 {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--checkout-line);
}
.qr-commerce-shell :is(.cart_totals h2, #customer_details h3, .qr-order-heading, .qr-pay-picker h2) {
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: -.035em;
    margin: 0 0 18px;
    font-weight: 800;
}
.qr-commerce-shell #customer_details h3 label {
    font-size: 15px;
    letter-spacing: normal;
}
/* Keep address pairs aligned even when WooCommerce enhances a select. */
.qr-commerce-shell #customer_details :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
}
.qr-commerce-shell #customer_details :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper) > * {
    grid-column: 1 / -1;
    float: none;
    clear: none;
    width: auto;
    min-width: 0;
}
.qr-commerce-shell #customer_details :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper) > .form-row-first {
    grid-column: 1;
}
.qr-commerce-shell #customer_details :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper) > .form-row-last {
    grid-column: 2;
}
.qr-commerce-shell .woocommerce .form-row {
    padding: 0;
    margin-bottom: 13px;
}
.qr-commerce-shell .woocommerce .form-row :is(input.input-text, textarea, select, .select2-selection) {
    min-height: 47px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #cec6bf;
    border-radius: 10px;
    color: var(--qr-ink);
    font-size: 16px;
}
.qr-commerce-shell .woocommerce .form-row :is(input.input-text, textarea, select):focus {
    border-color: var(--checkout-orange);
    outline-offset: 2px;
    outline-color: var(--checkout-orange);
}
.qr-commerce-shell .select2-container .select2-selection--single {
    display: flex;
    align-items: center;
    height: 47px;
}
.qr-commerce-shell .select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    line-height: 25px;
}
.qr-commerce-shell .select2-container .select2-selection--single .select2-selection__arrow {
    height: 44px;
    right: 8px;
}
.qr-commerce-shell .woocommerce .shop_table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
}
.qr-commerce-shell .woocommerce .shop_table :is(th, td) {
    vertical-align: middle;
    border-color: var(--checkout-line);
    padding: 14px 7px;
}
.qr-commerce-shell .woocommerce .shop_table thead th {
    color: var(--checkout-muted);
    font-weight: 750;
    font-size: 12px;
    letter-spacing: .02em;
}
.qr-commerce-shell :is(.product-name a, .product-total, .product-subtotal, .order-total) {
    font-weight: 750;
}
.qr-commerce-shell :is(.product-total, .product-subtotal, .order-total td) {
    text-align: end;
}
.qr-commerce-shell .order-total :is(th, td) {
    font-size: 19px;
}
.qr-commerce-shell .shop_table .woocommerce-Price-amount,
.qr-commerce-shell .woocommerce-cart-form thead :is(.product-price, .product-quantity, .product-subtotal) {
    white-space: nowrap;
    overflow-wrap: normal;
}
.qr-commerce-shell .woocommerce-cart-form .product-name {
    overflow-wrap: anywhere;
}
.qr-commerce-shell .woocommerce-cart-form .product-quantity .quantity {
    display: inline-block;
}
.qr-commerce-shell #order_review .shop_table thead .product-total {
    width: 49%;
}
.qr-commerce-shell #order_review .cart-subtotal td {
    text-align: end;
}
.qr-commerce-shell #order_review .woocommerce-shipping-totals > :is(th, td) {
    vertical-align: top;
}
.qr-commerce-shell #order_review .woocommerce-shipping-methods li {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    align-items: baseline;
    margin: 0 0 7px;
}
.qr-commerce-shell #order_review .woocommerce-shipping-methods li:has(input[type="radio"]) {
    grid-template-columns: auto minmax(0, 1fr);
}
.qr-commerce-shell #order_review .woocommerce-shipping-methods li input[type="radio"] {
    margin: 0;
    accent-color: var(--checkout-orange);
}
.qr-commerce-shell #order_review .woocommerce-shipping-methods li label {
    font-size: 13px;
    font-weight: 650;
    overflow-wrap: normal;
}
.qr-commerce-shell .woocommerce-cart-form .product-thumbnail img {
    display: block;
    width: 64px;
    min-width: 48px;
    border-radius: 9px;
    background: #f6f3ef;
}
.qr-commerce-shell .woocommerce-cart-form .coupon {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}
.qr-commerce-shell .woocommerce table.cart td.actions .coupon .input-text {
    width: 140px;
    border-radius: 9px;
    padding: 8px;
}
.qr-commerce-shell .woocommerce .cart-collaterals .cart_totals {
    float: none;
    width: 100%;
    background: #fffcf9;
    border-top: 3px solid var(--qr-accent);
}
.qr-commerce-shell .wc-proceed-to-checkout {
    padding: 14px 0 0;
}
.qr-commerce-shell .woocommerce :is(.checkout-button, #place_order) {
    width: 100%;
    margin: 0;
    min-height: 52px;
    padding: 13px 18px;
    border: 1px solid var(--checkout-orange);
    background: var(--checkout-orange);
    color: #fff;
    border-radius: 11px;
    font-weight: 800;
    font-size: 15px;
    text-align: center;
}
.qr-commerce-shell .woocommerce :is(.checkout-button, #place_order):hover {
    background: #a93200;
    color: #fff;
}
.qr-commerce-shell .woocommerce #payment {
    background: var(--checkout-paper);
    border-radius: var(--checkout-radius);
    overflow: hidden;
}
.qr-commerce-shell .woocommerce #payment .payment_methods {
    padding: 10px 0;
    border: 0;
}
.qr-commerce-shell .woocommerce #payment .place-order {
    display: flow-root;
    padding: 0;
    margin: 16px 0 0;
}
.qr-commerce-shell .qr-pay-choices {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    border: 0;
    min-width: 0;
}
.qr-commerce-shell .qr-pay-choice {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 15px;
    min-height: 70px;
    border: 1px solid #cec6bf;
    border-radius: 12px;
    cursor: pointer;
}
.qr-commerce-shell .qr-pay-choice:has(input:checked) {
    border-color: var(--checkout-orange);
    background: #fff3e9;
}
.qr-commerce-shell .qr-pay-choice input {
    accent-color: var(--checkout-orange);
    margin: 0;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}
.qr-commerce-shell .qr-pay-choice small {
    display: block;
    color: var(--checkout-muted);
}
.qr-commerce-shell .qr-pay-message {
    margin: 12px 0 0;
    padding: 12px 15px;
    border-radius: 10px;
    background: #fff3e9;
    font-size: 14px;
}
.qr-commerce-shell .qr-pay-message p { margin: 0; }
.qr-commerce-shell .qr-login-link {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    margin-right: 16px;
    color: var(--checkout-orange);
    font-weight: 800;
}
.qr-commerce-shell #payment [hidden],
.qr-commerce-shell #payment:has(.qr-pay-blocked) .place-order {
    display: none !important;
}
@media (min-width: 850px) {
    .qr-commerce-shell .woocommerce form.woocommerce-checkout > #order_review {
        position: sticky;
        top: 116px;
    }
    .qr-commerce-shell .woocommerce:has(> .woocommerce-cart-form):has(> .cart-collaterals) {
        display: grid;
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
        align-items: start;
        gap: 20px 24px;
    }
    .qr-commerce-shell .woocommerce:has(> .woocommerce-cart-form) > :not(.woocommerce-cart-form, .cart-collaterals) {
        grid-column: 1 / -1;
    }
}
@media (max-width: 849px) {
    .qr-commerce-inner { width: calc(100% - 28px); }
    .qr-commerce-shell .woocommerce-cart-form { margin-bottom: 14px; }
    .qr-commerce-shell .woocommerce form.woocommerce-checkout { display: flex; flex-direction: column; }
    .qr-commerce-shell .woocommerce form.woocommerce-checkout > * { width: 100%; }
    .qr-commerce-shell .cart_totals { margin-top: 0; }
}
@media (max-width: 460px) {
    .qr-commerce-heading { flex-wrap: wrap; }
    .qr-commerce-shell #customer_details :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper) {
        grid-template-columns: minmax(0, 1fr);
    }
    .qr-commerce-shell #customer_details :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper) > :is(.form-row-first, .form-row-last) {
        grid-column: 1;
    }
    .qr-commerce-shell .woocommerce form .form-row-first,
    .qr-commerce-shell .woocommerce form .form-row-last { width: 100%; float: none; }
}
