/* Source product control classes/variables; native Woo fields and validation remain. */
body.template-product .lm-reference-product .lm-purchase table.variations{ text-transform:capitalize }
body.template-product .lm-reference-product .lm-purchase .woocommerce-variation-add-to-cart,
body.template-product .lm-reference-product .lm-purchase form.cart:not(.variations_form){align-items:stretch}
body.template-product .lm-reference-product .lm-purchase .single_add_to_cart_button,
body.template-product .lm-reference-product .lm-find-store{font-size:inherit;font-weight:400;line-height:normal;min-height:0;height:auto;padding:calc(var(--button-padding-block) - 4px) var(--button-padding-inline) var(--button-padding-block)}
body.template-product .lm-reference-product .lm-purchase quantity-selector.quantity{order:1;display:inline-grid;grid-template-columns:30px auto 30px;gap:0;width:auto;height:auto;min-height:100%;flex:0 0 auto;align-items:normal;justify-content:normal;margin:0;padding:0;border:1px solid;border-radius:var(--button-border-radius)}
body.template-product .lm-reference-product .lm-purchase quantity-selector.quantity input.quantity-selector__input{width:var(--quantity-selector-character-count,1ch);min-width:var(--quantity-selector-input-width,3ch);height:100%;padding:0;border:0;border-radius:0;box-shadow:none;background:none;font-family:inherit;font-size:inherit;font-weight:600;line-height:normal}
body.template-product .lm-reference-product .lm-purchase quantity-selector .quantity-selector__button{padding:0;border:0;border-radius:0;min-width:0;background:none;color:inherit;font:inherit}
body.template-product .lm-reference-product .lm-variation-options button.color-swatch{background:var(--swatch-background)}
body.template-product .lm-reference-product .lm-find-store{border:1px solid transparent;display:block;text-align:center;background:rgb(var(--button-background-primary));color:rgb(var(--button-text-primary))}

/* Keep the source generic components isolated from Woo's main-cart grid. */
body.template-product .custom-upsell form.lm-cross-sell-form{display:block}
body.template-product .custom-upsell .lm-cross-sell-form .subheading-xs{font-size:var(--smaller-base-size)}
/* Source variant-picker owns its label type scale and8px option gap. */
body.template-product .lm-reference-product .lm-purchase .lm-selected-option{margin-inline-start:.5rem}
body.template-product .lm-reference-product .lm-purchase .single_add_to_cart_button:has(>.button__content),
body.template-product .lm-reference-product .lm-find-store:has(>.button__content){padding:0}
