/* Scoped design only. No overrides to visibility, order, payment gateways or WooCommerce state. */
body.loc-commerce :where(.site-content,.wp-site-blocks main,main#main) {
 --lc-pad:var(--loc-commerce-padding); --lc-gutter:var(--loc-commerce-gutter);
 --lc-gap:var(--loc-commerce-gap); --lc-radius:var(--loc-commerce-radius);
 --lc-border:var(--loc-commerce-border); --lc-bg:var(--loc-commerce-surface);
 --lc-heading:var(--loc-commerce-heading); --lc-accent:var(--loc-commerce-accent);
}
body.loc-commerce :where(.site-content,.wp-site-blocks main,main#main) :is(.woocommerce,.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout) {max-width:min(var(--loc-commerce-width),calc(100% - var(--lc-gutter) - var(--lc-gutter)));margin-inline:auto;min-width:0;box-sizing:border-box}
body.loc-commerce :where(.site-content,main#main,.wp-site-blocks main) :is(.hero-header .hero-title,.entry-header .entry-title,.page-header .page-title) {color:var(--loc-commerce-heading)}
body.loc-commerce :where(.site-content,main#main,.wp-site-blocks main) :is(.hero-header h1,h1.entry-title,h1.page-title) {font-size:var(--loc-commerce-h1);line-height:1.2;letter-spacing:-.025em;color:var(--loc-commerce-heading);overflow-wrap:anywhere}
body.loc-commerce :where(.site-content,main#main,.wp-site-blocks main) .hero-header {background-color:var(--loc-commerce-soft);background-image:none;border-bottom:1px solid var(--lc-border)}
body.loc-commerce :where(.site-content,main#main,.wp-site-blocks main) .hero-header .hero-title {padding-block:clamp(20px,3vw,40px)}
body.loc-commerce :where(.site-content,main#main,.wp-site-blocks main) :is(.woocommerce-MyAccount-content,.woocommerce-form-login,.woocommerce-form-register,.woocommerce-ResetPassword,.woocommerce-cart-form,.cart_totals,.woocommerce-billing-fields,.woocommerce-shipping-fields,.woocommerce-additional-fields,.woocommerce-order,.woocommerce-checkout-review-order-table,.checkout_coupon) {box-sizing:border-box;min-width:0}
body.loc-commerce :where(.site-content,main#main,.wp-site-blocks main) :is(.woocommerce-MyAccount-content,.woocommerce-form-login,.woocommerce-form-register,.woocommerce-ResetPassword,.cart_totals,.woocommerce-billing-fields,.woocommerce-shipping-fields,.woocommerce-additional-fields,.woocommerce-order,.checkout_coupon) {background-color:var(--lc-bg);border:1px solid var(--lc-border);border-radius:var(--lc-radius);padding:var(--lc-pad);color:var(--loc-commerce-text);font-size:var(--loc-commerce-text-size);line-height:1.6}
body.loc-commerce :where(.site-content,main#main,.wp-site-blocks main) :is(.woocommerce-billing-fields,.woocommerce-shipping-fields,.woocommerce-additional-fields) {margin-bottom:var(--lc-gap)}
body.loc-commerce :where(.site-content,main#main,.wp-site-blocks main) :is(.woocommerce-MyAccount-content,.cart_totals,.woocommerce-billing-fields,.woocommerce-shipping-fields,.woocommerce-additional-fields,.woocommerce-order) :is(h2,h3),body.loc-commerce-checkout :where(.site-content,main#main,.wp-site-blocks main) #order_review_heading {color:var(--lc-heading);font-size:var(--loc-commerce-heading-size);line-height:1.3;letter-spacing:-.015em;margin-top:0}
body.loc-commerce :where(.site-content,main#main,.wp-site-blocks main) .woocommerce-MyAccount-navigation {background:var(--loc-commerce-soft);border:1px solid var(--lc-border);border-radius:var(--lc-radius);padding:10px;box-sizing:border-box;min-width:0}
body.loc-commerce :where(.site-content,main#main,.wp-site-blocks main) .woocommerce-MyAccount-navigation ul {list-style:none;margin:0;padding:0}
body.loc-commerce :where(.site-content,main#main,.wp-site-blocks main) .woocommerce-MyAccount-navigation li {list-style:none;margin:0;border:0;padding:0}
body.loc-commerce :where(.site-content,main#main,.wp-site-blocks main) .woocommerce-MyAccount-navigation li a {display:block;padding:11px 12px;border-radius:var(--lc-radius);color:var(--lc-heading);text-decoration:none;border-bottom:0;box-shadow:none;background:none;overflow-wrap:anywhere;line-height:1.4;font-size:var(--loc-commerce-text-size)}
body.loc-commerce :where(.site-content,main#main,.wp-site-blocks main) .woocommerce-MyAccount-navigation li a:is(:hover,:focus-visible) {background:var(--lc-bg);color:var(--lc-accent)}
body.loc-commerce :where(.site-content,main#main,.wp-site-blocks main) .woocommerce-MyAccount-navigation li.is-active a {background:var(--loc-commerce-button-bg);color:var(--loc-commerce-button-text);font-weight:600}
/* Only direct classic account siblings, not custom login templates or payment endpoints. */
@media(min-width:900px){
 body.loc-commerce-account.loc-commerce-account-layout :where(.site-content,main#main,.wp-site-blocks main) .woocommerce:has(> .woocommerce-MyAccount-navigation):has(> .woocommerce-MyAccount-content) {display:flow-root}
 body.loc-commerce-account.loc-commerce-account-layout :where(.site-content,main#main,.wp-site-blocks main) .woocommerce:has(> .woocommerce-MyAccount-content) > .woocommerce-MyAccount-navigation {float:inline-start;width:var(--loc-commerce-nav-width);margin:0}
 body.loc-commerce-account.loc-commerce-account-layout :where(.site-content,main#main,.wp-site-blocks main) .woocommerce:has(> .woocommerce-MyAccount-navigation) > .woocommerce-MyAccount-content {float:inline-end;width:calc(100% - var(--loc-commerce-nav-width) - var(--lc-gap));margin:0}
}
@media(max-width:899px){
 body.loc-commerce-account.loc-commerce-account-layout :where(.site-content,main#main,.wp-site-blocks main) .woocommerce > :is(.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content) {float:none;width:100%;margin:0 0 var(--lc-gap)}
}
/* Classic tables: retain native mobile row labels and Woo layout. */
body.loc-commerce :where(.site-content,main#main,.wp-site-blocks main) :is(.woocommerce-cart-form,.cart_totals,.woocommerce-MyAccount-content,.woocommerce-order,.woocommerce-checkout-review-order) table.shop_table {width:100%;border:1px solid var(--lc-border);border-radius:var(--lc-radius);border-spacing:0;border-collapse:separate;background:var(--lc-bg);margin-bottom:var(--lc-gap);color:var(--loc-commerce-text)}
body.loc-commerce :where(.site-content,main#main,.wp-site-blocks main) :is(.woocommerce-cart-form,.cart_totals,.woocommerce-MyAccount-content,.woocommerce-order,.woocommerce-checkout-review-order) table.shop_table :is(th,td) {border-color:var(--lc-border);overflow-wrap:anywhere;vertical-align:middle}
body.loc-commerce :where(.site-content,main#main,.wp-site-blocks main) :is(.woocommerce-cart-form,.cart_totals,.woocommerce-MyAccount-content,.woocommerce-order,.woocommerce-checkout-review-order) table.shop_table thead th {background:var(--loc-commerce-soft);color:var(--lc-heading);font-weight:600}
body.loc-commerce-cart :where(.site-content,main#main,.wp-site-blocks main) .woocommerce-cart-form .product-thumbnail img {border-radius:calc(var(--lc-radius) / 2);max-width:80px;height:auto}
body.loc-commerce-cart :where(.site-content,main#main,.wp-site-blocks main) .woocommerce-cart-form .product-name a {color:var(--lc-heading);font-weight:600;overflow-wrap:anywhere}
body.loc-commerce :where(.site-content,main#main,.wp-site-blocks main) :is(.cart_totals,.woocommerce-checkout-review-order,.woocommerce-order) .order-total :is(th,td) {color:var(--lc-heading);font-weight:700}
body.loc-commerce :where(.site-content,main#main,.wp-site-blocks main) :is(.woocommerce-MyAccount-content,.woocommerce-order,.woocommerce-cart-form,.cart_totals) :is(.woocommerce-Price-amount,.amount) {font-variant-numeric:tabular-nums}
body.loc-commerce :where(.site-content,main#main,.wp-site-blocks main) .woocommerce-order-overview {background:var(--loc-commerce-soft);border:1px solid var(--lc-border);border-radius:var(--lc-radius);padding:16px;overflow-wrap:anywhere}
/* Inputs: known forms only, no card details or third-party payment fields. */
body.loc-commerce-forms:not(.loc-commerce-account-payment):not(.loc-commerce-order-pay) :where(.site-content,main#main,.wp-site-blocks main) :is(.woocommerce-billing-fields,.woocommerce-shipping-fields,.woocommerce-additional-fields,.woocommerce-form-login,.woocommerce-form-register,.woocommerce-ResetPassword,.woocommerce-EditAccountForm,.woocommerce-address-fields,.checkout_coupon,.woocommerce-cart-form .coupon) :is(input.input-text:not([type=hidden]),textarea.input-text,select:not(.select2-hidden-accessible)) {box-sizing:border-box;min-height:var(--loc-commerce-input-height);max-width:100%;border:1px solid var(--lc-border);border-radius:var(--lc-radius);background:var(--lc-bg);color:var(--loc-commerce-text);font-size:var(--loc-commerce-text-size);box-shadow:none}
body.loc-commerce-forms :where(.site-content,main#main,.wp-site-blocks main) :is(.woocommerce-billing-fields,.woocommerce-shipping-fields,.woocommerce-address-fields) .select2-container .select2-selection--single {min-height:var(--loc-commerce-input-height);border-color:var(--lc-border);border-radius:var(--lc-radius);background:var(--lc-bg)}
body.loc-commerce-forms :where(.site-content,main#main,.wp-site-blocks main) :is(.woocommerce-billing-fields,.woocommerce-shipping-fields,.woocommerce-address-fields) .select2-selection--single :is(.select2-selection__rendered,.select2-selection__arrow) {line-height:var(--loc-commerce-input-height);height:var(--loc-commerce-input-height)}
body.loc-commerce-forms :where(.site-content,main#main,.wp-site-blocks main) :is(.woocommerce-billing-fields,.woocommerce-shipping-fields,.woocommerce-additional-fields,.woocommerce-form-login,.woocommerce-form-register,.woocommerce-ResetPassword,.woocommerce-EditAccountForm,.woocommerce-address-fields) label {color:var(--lc-heading);font-weight:500;line-height:1.4}
/* Preserve gateway buttons, disabled states, link buttons, express checkout, and checkout validation. */
body.loc-commerce-buttons :where(.site-content,main#main,.wp-site-blocks main) :is(.wc-proceed-to-checkout a.checkout-button, #place_order, .woocommerce-form-login button.woocommerce-form-login__submit, .woocommerce-form-register button.woocommerce-form-register__submit, .woocommerce-ResetPassword button.woocommerce-Button, .woocommerce-EditAccountForm button[name=save_account_details], .woocommerce-address-fields button[name=save_address], .woocommerce-cart-form button[name=update_cart], .woocommerce-cart-form button[name=apply_coupon], .checkout_coupon button[name=apply_coupon], .return-to-shop a.button):not(:disabled):not([aria-disabled=true]):not(.disabled) {background:var(--loc-commerce-button-bg);color:var(--loc-commerce-button-text);border:1px solid var(--loc-commerce-button-bg);border-radius:var(--lc-radius);min-height:var(--loc-commerce-button-height);font-weight:600;line-height:1.35;white-space:normal;text-decoration:none;box-shadow:none}
body.loc-commerce-buttons :where(.site-content,main#main,.wp-site-blocks main) :is(.wc-proceed-to-checkout a.checkout-button, #place_order, .woocommerce-form-login button.woocommerce-form-login__submit, .woocommerce-form-register button.woocommerce-form-register__submit, .woocommerce-ResetPassword button.woocommerce-Button, .woocommerce-EditAccountForm button[name=save_account_details], .woocommerce-address-fields button[name=save_address], .woocommerce-cart-form button[name=update_cart], .woocommerce-cart-form button[name=apply_coupon], .checkout_coupon button[name=apply_coupon], .return-to-shop a.button):not(:disabled):not([aria-disabled=true]):not(.disabled):hover {filter:brightness(1.14)}
body.loc-commerce-buttons :where(.site-content,main#main,.wp-site-blocks main) :is(button:disabled,button[aria-disabled=true],a.button.disabled) {cursor:not-allowed}
body.loc-commerce :where(.site-content,main#main,.wp-site-blocks main) :is(.woocommerce,.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout) :is(a,button,input,select,textarea,summary):focus-visible {outline:2px solid var(--lc-accent);outline-offset:3px}
body.loc-commerce-notices :where(.site-content,main#main,.wp-site-blocks main) :is(.woocommerce-message,.woocommerce-info,.woocommerce-error) {border-radius:var(--lc-radius);line-height:1.6;overflow-wrap:anywhere}
/* Minimal Blocks styling; no nested layout overrides or container queries. */
body.loc-commerce-blocks :where(.site-content,main#main,.wp-site-blocks main) :is(.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout) {color:var(--loc-commerce-text)}
body.loc-commerce-blocks :where(.site-content,main#main,.wp-site-blocks main) :is(.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout) :is(.wc-block-components-title,.wc-block-components-totals-item__label) {color:var(--lc-heading)}
body.loc-commerce-blocks.loc-commerce-buttons :where(.site-content,main#main,.wp-site-blocks main) :is(.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button):not(:disabled):not([aria-disabled=true]):not(.disabled) {background:var(--loc-commerce-button-bg);color:var(--loc-commerce-button-text);border-radius:var(--lc-radius);min-height:var(--loc-commerce-button-height);font-weight:600}
body.loc-commerce-blocks :where(.site-content,main#main,.wp-site-blocks main) .wc-block-cart__submit-container {background-color:var(--lc-bg)}
/* A single native underline in account copy, without touching buttons. */
body.loc-commerce :where(.site-content,main#main,.wp-site-blocks main) .woocommerce-MyAccount-content p a:not(.button):not([role=button]) {color:var(--lc-accent);text-decoration:underline;text-underline-offset:3px;border-bottom:0;box-shadow:none;background-image:none}
body.loc-commerce :where(.site-content,main#main,.wp-site-blocks main) .woocommerce-MyAccount-content p a:not(.button):not([role=button])::after {content:none}
@media(max-width:767px){
 body.loc-commerce :where(.site-content,.wp-site-blocks main,main#main) {--lc-pad:var(--loc-commerce-mobile-padding);--lc-gutter:var(--loc-commerce-mobile-gutter)}
 body.loc-commerce :where(.site-content,main#main,.wp-site-blocks main) :is(.hero-header h1,h1.entry-title,h1.page-title) {font-size:var(--loc-commerce-h1-mobile)}
 body.loc-commerce :where(.site-content,main#main,.wp-site-blocks main) :is(.woocommerce-MyAccount-content,.cart_totals,.woocommerce-billing-fields,.woocommerce-shipping-fields,.woocommerce-additional-fields,.woocommerce-order) :is(h2,h3) {font-size:clamp(18px,5vw,var(--loc-commerce-heading-size))}
 body.loc-commerce-forms:not(.loc-commerce-account-payment):not(.loc-commerce-order-pay) :where(.site-content,main#main,.wp-site-blocks main) :is(.woocommerce-billing-fields,.woocommerce-shipping-fields,.woocommerce-additional-fields,.woocommerce-form-login,.woocommerce-form-register,.woocommerce-ResetPassword,.woocommerce-EditAccountForm,.woocommerce-address-fields,.checkout_coupon,.woocommerce-cart-form .coupon) :is(input.input-text:not([type=hidden]),textarea.input-text,select:not(.select2-hidden-accessible)) {font-size:max(16px,var(--loc-commerce-text-size))}
}

/* V1.0.1: restore panel padding where Goya's more specific rules reset it.
   Scope to the classic cart and checkout, never account or payment endpoints. */
body.loc-commerce-cart :is(.site-content,main#main,.wp-site-blocks main) .woocommerce .cart_totals,
body.loc-commerce-checkout :is(.site-content,main#main,.wp-site-blocks main) .woocommerce :is(.woocommerce-billing-fields,.woocommerce-shipping-fields,.woocommerce-additional-fields,.checkout_coupon) {
 padding:var(--lc-pad) !important;
 box-sizing:border-box;
}
/* The table is the cart panel. Apply spacing to its cells rather than adding a
   second wrapper, which can break native mobile table and coupon layouts. */
body.loc-commerce-cart :is(.site-content,main#main,.wp-site-blocks main) .woocommerce :is(.woocommerce-cart-form,.cart_totals) table.shop_table > :is(thead,tbody,tfoot) > tr > :is(th,td),
body.loc-commerce-checkout :is(.site-content,main#main,.wp-site-blocks main) .woocommerce #order_review table.shop_table > :is(thead,tbody,tfoot) > tr > :is(th,td) {
 padding-block:clamp(8px,calc(var(--lc-pad) * .5),18px) !important;
 padding-inline:clamp(8px,calc(var(--lc-pad) * .65),24px) !important;
}
/* Outer payment panel only. Leave payment_box, gateway inputs, iframes,
   shipping widgets and the gateway's own controls untouched. */
body.loc-commerce-checkout :is(.site-content,main#main,.wp-site-blocks main) .woocommerce #order_review #payment {
 padding:var(--lc-pad) !important;
 box-sizing:border-box;
}

/* 1.1.0: LOC Manrope, scoped presentation only. */
body.loc-commerce :where(.site-content,main#main,.wp-site-blocks main) :is(.hero-header h1,h1.entry-title,h1.page-title){font-family:Manrope,Inter,system-ui,sans-serif;font-weight:800}
body.loc-commerce :where(.site-content,main#main,.wp-site-blocks main) :is(.woocommerce-MyAccount-content,.cart_totals,.woocommerce-billing-fields,.woocommerce-shipping-fields,.woocommerce-additional-fields,.woocommerce-order) :is(h2,h3){font-family:Manrope,Inter,system-ui,sans-serif;letter-spacing:-.02em}
body.loc-commerce :where(.site-content,main#main,.wp-site-blocks main) :is(.woocommerce-cart-form,.cart_totals,.woocommerce-MyAccount-content) .woocommerce-Price-amount{font-family:Manrope,Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums}
