/* Commerce consumes the existing brand/type tokens. Component files own layout only. */
body.fs-type-system.fsc-commerce-screen{
 --fs-commerce-text:var(--fsc-ink,#24372d);
 --fs-commerce-border:#62796c;
 --fs-commerce-muted:#58685e;
 color:var(--fs-commerce-text);
}
body.fs-type-system.fsc-commerce-screen main{font-family:var(--fs-font-body);font-size:var(--fs-type-body);font-weight:400;color:var(--fs-commerce-text);line-height:1.55}
body.fs-type-system.fsc-commerce-screen main :is(h1,h1.entry-title,h1.product_title){font-family:var(--fs-font-heading);font-size:var(--fs-type-section);font-weight:500;line-height:1.12;letter-spacing:-.012em;margin-bottom:24px;color:inherit}
body.fs-type-system.fsc-commerce-screen main :is(h2,h3){font-family:var(--fs-font-body);font-size:var(--fs-type-product);font-weight:600;line-height:1.25;color:inherit}
body.fs-type-system.fsc-commerce-screen main :is(h4,h5,h6){font-family:var(--fs-font-body);font-size:var(--fs-type-body);font-weight:600;line-height:1.3;color:inherit}
body.fs-type-system.fsc-commerce-screen main :is(label,legend){font-family:var(--fs-font-body);font-size:var(--fs-type-ui);line-height:1.45;font-weight:500;color:var(--fs-commerce-text)}
body.fs-type-system.fsc-commerce-screen main :is(input[type=text],input[type=email],input[type=number],input[type=tel],input[type=password],select,textarea){font-family:var(--fs-font-body);font-size:var(--fs-type-ui);font-weight:400;line-height:1.4;color:var(--fs-commerce-text);background:#fff;border:1px solid var(--fs-commerce-border);border-radius:4px;min-height:46px;padding:10px 12px;box-shadow:none;box-sizing:border-box}
body.fs-type-system.fsc-commerce-screen main :is(input,textarea)::placeholder{color:var(--fs-commerce-muted);opacity:1}
body.fs-type-system.fsc-commerce-screen main :is(input,select,textarea,button,a):focus-visible{outline:2px solid var(--fsc-forest,#284f3e);outline-offset:3px}
body.fs-type-system.fsc-commerce-screen main :is(input[type=radio],input[type=checkbox],input[type=range]){accent-color:var(--fsc-forest,#284f3e)}
body.fs-type-system.fsc-commerce-screen main input[type=range]{padding:0;background:transparent;border:0}
/* Brand actions. Wallet buttons keep the payment providers' own branding. */
body.fs-type-system.fsc-commerce-screen main :is(button[type=submit],button.button.alt,.woocommerce button.button,.woocommerce a.button,.woocommerce input.button){font-family:var(--fs-font-body);font-size:var(--fs-type-ui);font-weight:600;line-height:1.3;min-height:50px;padding:14px 20px;border:1px solid transparent;border-radius:0;background:var(--fsc-gold,#ffc415);color:var(--fsc-forest,#284f3e);box-shadow:none;text-shadow:none}
body.fs-type-system.fsc-commerce-screen #content div.product button.single_add_to_cart_button,
body.fs-type-system.fsc-commerce-screen #payment button#place_order{font-family:var(--fs-font-body);font-size:var(--fs-type-ui);font-weight:600;line-height:1.3;background:var(--fsc-gold,#ffc415);color:var(--fsc-forest,#284f3e);border-radius:0;min-height:50px;padding:14px 20px}
body.fs-type-system.fsc-commerce-screen main :is(button[type=submit],button.button.alt,.woocommerce a.button):hover,
body.fs-type-system.fsc-commerce-screen #content div.product button.single_add_to_cart_button:hover,
body.fs-type-system.fsc-commerce-screen #payment button#place_order:hover{background:var(--fsc-clay,#f3e2c7);color:var(--fsc-forest,#284f3e)}
body.fs-type-system.fsc-commerce-screen main button:disabled{opacity:.5;cursor:not-allowed}
body.fs-type-system.fsc-commerce-screen main :is(.price,.woocommerce-Price-amount,.woocommerce-variation-price){color:var(--fs-commerce-text);font-family:var(--fs-font-body)}
body.fs-type-system.fsc-commerce-screen main .woocommerce-variation-price{font-size:var(--fs-type-body);font-weight:500;margin-bottom:12px}
body.fs-type-system.fsc-commerce-screen main :is(.woocommerce a,.woocommerce-breadcrumb a,.woocommerce-privacy-policy-text a){color:var(--fsc-forest,#284f3e)}
/* Native Woo order summaries: emphasize the total rather than every row. */
body.fs-type-system.fsc-commerce-screen main table.shop_table{font-size:var(--fs-type-ui);line-height:1.45;border:1px solid var(--fsc-line,#284f3e40);border-collapse:collapse;border-radius:0}
body.fs-type-system.fsc-commerce-screen main table.shop_table :is(th,td){font-size:var(--fs-type-ui);line-height:1.45;padding:12px;border-color:var(--fsc-line,#284f3e40);color:var(--fs-commerce-text)}
body.fs-type-system.fsc-commerce-screen main table.shop_table :is(th,tfoot th,tfoot td){font-weight:500}
body.fs-type-system.fsc-commerce-screen main table.shop_table .order-total :is(th,td,strong){font-weight:600}
body.fs-type-system.fsc-commerce-screen main :is(.woocommerce-info,.woocommerce-message,.woocommerce-error){background:var(--fsc-sand,#f3e2c7);color:var(--fs-commerce-text);font-size:var(--fs-type-ui);line-height:1.5;box-shadow:none}
body.fs-type-system.fsc-commerce-screen main :is(.woocommerce-info,.woocommerce-message){border-top-color:var(--fsc-forest,#284f3e)}
body.fs-type-system.fsc-commerce-screen main :is(.woocommerce-info,.woocommerce-message)::before{color:var(--fsc-forest,#284f3e)}
body.fs-type-system.fsc-commerce-screen main .woocommerce-error{border-top-color:#8b291f}
body.fs-type-system.fsc-commerce-screen main .woocommerce-error::before{color:#8b291f}
body.fs-type-system.fsc-commerce-screen .woocommerce #payment{background:transparent;border-radius:0}
body.fs-type-system.fsc-commerce-screen .woocommerce #payment .payment_box{font-size:var(--fs-type-ui);line-height:1.5;color:var(--fs-commerce-text);background:transparent;padding:0;margin:12px 0}
body.fs-type-system.fsc-commerce-screen .woocommerce #payment .payment_box::before{display:none}
body.fs-type-system.fsc-commerce-screen .woocommerce form .form-row{margin-bottom:14px}
body.fs-type-system.fsc-commerce-screen .woocommerce form .form-row label{line-height:1.45;margin-bottom:6px}
body.fs-type-system.fsc-commerce-screen .woocommerce :is(.woocommerce-privacy-policy-text,.woocommerce-terms-and-conditions-wrapper){font-size:var(--fs-type-meta);line-height:1.5}
body.fs-type-system.fsc-commerce-screen .woocommerce ul.order_details{padding:0;display:flex;flex-wrap:wrap;gap:20px}
body.fs-type-system.fsc-commerce-screen .woocommerce ul.order_details li{float:none;border:0;padding:0;margin:0;font-size:var(--fs-type-meta);text-transform:none;font-weight:400}
body.fs-type-system.fsc-commerce-screen .woocommerce ul.order_details li strong{font-size:var(--fs-type-body);font-weight:600}
/* QR controls stay generous to tap, but their typography is no longer oversized. */
body.fs-type-system.fsc-commerce-screen .fsc-selfpay__product h2{font-family:var(--fs-font-body);font-size:var(--fs-type-body);font-weight:500;line-height:1.3}
body.fs-type-system.fsc-commerce-screen .fsc-selfpay__product p{font-size:var(--fs-type-ui)}
body.fs-type-system.fsc-commerce-screen .fsc-selfpay__stepper input{font-size:var(--fs-type-product);font-weight:500;text-align:center;padding:4px}
body.fs-type-system.fsc-commerce-screen .fsc-selfpay .fsc-selfpay__stepper button{font-family:var(--fs-font-body);font-size:28px;font-weight:400;line-height:1;background:var(--fsc-forest,#284f3e);color:var(--fsc-paper,#faf7f0);border-radius:4px;padding:0}
body.fs-type-system.fsc-commerce-screen .fsc-yard-pay__suggestions button{font-family:var(--fs-font-body);font-size:var(--fs-type-ui);font-weight:400;line-height:1.4;background:color-mix(in srgb,var(--fsc-forest,#284f3e) 10%,var(--fsc-paper,#faf7f0));color:var(--fs-commerce-text);border:1px solid var(--fs-commerce-border);min-height:80px;padding:12px}
body.fs-type-system.fsc-commerce-screen .fsc-yard-pay__suggestions strong{font-size:var(--fs-type-product);font-weight:500}
body.fs-type-system.fsc-commerce-screen .fsc-yard-pay__branches{font-size:var(--fs-type-ui);font-weight:400}
body.fs-type-system.fsc-commerce-screen .fsc-selfpay__test{font-size:var(--fs-type-meta);font-weight:400;line-height:1.5;padding:10px 14px}
body.fs-type-system.fsc-commerce-screen .fsc-material-order__timing a{font-family:var(--fs-font-body);font-size:var(--fs-type-ui);font-weight:500;line-height:1.4}
body.fs-type-system.fsc-commerce-screen .fsc-material-order__product h3{font-size:var(--fs-type-product);font-weight:600;line-height:1.25}
body.fs-type-system.fsc-commerce-screen .fsc-material-order__product label{font-size:var(--fs-type-ui);font-weight:500}
body.fs-type-system.fsc-commerce-screen .fsc-material-order__product input{font-size:var(--fs-type-ui)}
body.fs-type-system.fsc-commerce-screen #square-gift-card-buying-options label{font-family:var(--fs-font-body);font-size:var(--fs-type-ui);font-weight:500;line-height:1.45}
body.fs-type-system.fsc-commerce-screen #square-gift-card-buying-options>label{font-weight:400}
body.fs-type-system.fsc-commerce-screen main .variations label{font-size:var(--fs-type-ui);font-weight:500;line-height:1.45}
body.fs-type-system.fsc-commerce-screen .square-gift-card-field-wrapper label{font-size:var(--fs-type-ui);font-weight:500}
body.fs-type-system.fsc-commerce-screen #wc-square-gift-card-container{font-size:var(--fs-type-ui)}
@media(max-width:767px){body.fs-type-system.fsc-commerce-screen main :is(h1,h1.entry-title,h1.product_title){font-size:2rem}body.fs-type-system.fsc-commerce-screen .woocommerce ul.order_details{gap:14px}}
body.fs-type-system.fsc-commerce-screen .fsc-selfpay__test{background:var(--fsc-sand,#f3e2c7);border-left:3px solid var(--fsc-gold,#ffc415)}
body.fs-type-system.fsc-commerce-screen .fsc-selfpay__error{color:#8b291f}
body.fs-type-system.fsc-commerce-screen .fsc-yard-pay__branches{background:color-mix(in srgb,var(--fsc-forest,#284f3e) 10%,var(--fsc-paper,#faf7f0))}
body.fs-type-system.fsc-commerce-screen .fsc-material-order__timing a{border:1px solid var(--fs-commerce-border);border-radius:4px;color:var(--fsc-forest,#284f3e);background:transparent}
body.fs-type-system.fsc-commerce-screen .fsc-material-order__timing a[aria-current=true]{background:var(--fsc-forest,#284f3e);color:var(--fsc-paper,#faf7f0)}
body.fs-type-system.fsc-commerce-screen .wc-block-cart__submit-button{background:var(--fsc-gold,#ffc415);color:var(--fsc-forest,#284f3e);border-radius:0;font-family:var(--fs-font-body);font-size:var(--fs-type-ui);font-weight:600;min-height:50px}
/* Woo's alignwide breakout must respect the shared content frame, including phones. */
body.fs-type-system.fsc-commerce-screen main .wp-block-woocommerce-cart.alignwide,
body.fs-type-system.fsc-commerce-screen main .wp-block-woocommerce-checkout.alignwide{width:100%;max-width:100%;margin-inline:0}
body.fs-type-system.fsc-commerce-screen .wc-block-components-product-name{font-family:var(--fs-font-body);font-size:var(--fs-type-ui);font-weight:500;color:var(--fs-commerce-text)}
