/* A normal block form. Only OUR action row is a grid. */
body.single-product div.product .summary,
body.single-product div.product .summary form.cart,
body.single-product div.product .summary .single_variation_wrap,
body.single-product div.product .summary .woocommerce-variation-add-to-cart {
    min-width:0;
    max-width:100%;
}
body.single-product div.product .summary form.cart,
body.single-product div.product .summary .woocommerce-variation-add-to-cart {
    display:block;
    width:100%;
}
.woocommerce div.product form.cart .ls-product-purchase-actions {
    display:grid;
    grid-template-columns:72px minmax(0,1fr) minmax(0,1fr);
    align-items:start;
    gap:10px;
    width:100%;
    min-width:0;
    margin:0 0 16px;
}
.woocommerce div.product form.cart .ls-product-purchase-actions > .quantity {
    float:none;
    width:100%;
    margin:0;
    min-width:0;
}
.woocommerce div.product form.cart .ls-product-purchase-actions .qty {
    width:100%;
    max-width:100%;
    min-height:48px;
    box-sizing:border-box;
}
.woocommerce div.product form.cart .ls-product-purchase-actions > :is(.single_add_to_cart_button,.lanna-buy-now) {
    float:none;
    width:100%;
    min-width:0;
    max-width:100%;
    min-height:48px;
    margin:0;
    white-space:normal;
    text-align:center;
    box-sizing:border-box;
}
.ls-product-purchase-actions > :is(wc-order-attribution-inputs,input[type=hidden]) {display:none}
body.single-product div.product .summary :is(.wc-ppcp-product-payments__container,.ppc-button-wrapper) {
    display:block;
    clear:both;
    float:none;
    width:100%;
    max-width:100%;
    min-width:0;
    margin:0 0 20px;
    padding:0;
    overflow:visible;
    box-sizing:border-box;
}
body.single-product div.product .summary :is(
    .wc-ppcp-product-payment__methods,
    .wc-ppcp-product-payment-method,
    #wc-ppcp-product-button-container,
    #ppc-button-ppcp-gateway
) {
    float:none;
    width:100%;
    min-width:0;
    max-width:100%;
    margin-inline:0;
    padding-inline:0;
    box-sizing:border-box;
}
body.single-product div.product .summary .wc-ppcp-product-payment__methods {
    display:block;
    list-style:none;
}
body.single-product div.product .summary :is(#wc-ppcp-product-button-container,#ppc-button-ppcp-gateway) > .paypal-buttons {
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
}
body.single-product div.product .summary :is(.wc-ppcp-product-payments__container,.ppc-button-wrapper) iframe {
    max-width:100%!important;
    /* Provider controls the expanding panel height, not the theme. */
}
@media(max-width:600px) {
    body.single-product .ls-commerce {width:calc(100% - 24px)}
    .woocommerce div.product form.cart .ls-product-purchase-actions {
        grid-template-columns:64px minmax(0,1fr);
    }
    .woocommerce div.product form.cart .ls-product-purchase-actions > .lanna-buy-now {
        grid-column:1 / -1;
    }
}
