/* 1.25: scoped layout/commerce corrections, loaded after the Elementor adapter. */
body.mdb-complete-site:is(.mdb-native-cpo,.mdb-context-cart,.mdb-context-checkout),
body.mdb-complete-site:is(.mdb-native-cpo,.mdb-context-cart,.mdb-context-checkout) .mdb-main {
 background:var(--mdb-paper, #faf9f6); color:var(--mdb-ink, #444e60);
}
body.mdb-complete-site.mdb-native-cpo .mdb-woocommerce > .mdb-container {
 padding-top:24px; padding-bottom:32px; row-gap:0;
}
body.mdb-complete-site.mdb-native-cpo .mdb-woocommerce > .mdb-shared-roller-engineering {
 padding-top:32px;
}
body.mdb-complete-site.mdb-native-cpo .mdb-product-shell > .summary { padding-bottom:0; margin-bottom:0; }
body.mdb-complete-site.mdb-native-cpo .mdb-product-shell .cart { margin-bottom:0; }
body.mdb-complete-site.mdb-native-cpo .mdb-product-shell .posted_in { display:none!important; }
body.mdb-complete-site.mdb-native-cpo .mdb-product-shell :is(.product_meta,.mdb-tag-meta):empty { display:none; }
body.mdb-complete-site.mdb-native-cpo .mdb-product-media-proof { margin-top:24px; }
/* The caption is a span: legacy radio-label span styling must not outline it. */
body.mdb-native-cpo .product #uni_cpo_options .uni-cpo-option-label.mdb-range-card,
body.mdb-native-cpo .product #uni_cpo_options input:checked + .uni-cpo-option-label.mdb-range-card {
 border-width:1px!important; box-shadow:none!important;
}
body.mdb-native-cpo .product #uni_cpo_options .mdb-range-card :is(.mdb-range-caption,.mdb-range-caption span,.mdb-range-caption strong,.mdb-range-strip) {
 border:0!important; outline:0; box-shadow:none!important; background:transparent;
}
body.mdb-native-cpo .product #uni_cpo_options input:checked + .mdb-range-card { border-color:var(--mdb-ink)!important; background:var(--mdb-mist); }
body.mdb-native-cpo .product #uni_cpo_options input:focus-visible + .mdb-range-card { outline:2px solid var(--mdb-teal-dark); outline-offset:3px; }
/* Full-resolution chains keep their intrinsic proportions on a clean image surface. */
body.mdb-native-cpo .product #uni_cpo_options [data-mdb-artwork="chain"] img {
 display:block; width:100%!important; max-width:100%!important; height:auto!important;
 aspect-ratio:1; object-fit:contain!important; padding:8px; background:#fff!important;
}
body.mdb-complete-site .mdb-guide-swatches img[src*="chain-"] { background:#fff; object-fit:contain; }
body.mdb-complete-site .xoo-wsc-container .mdb-mini-cart-heading-icon { display:inline-flex!important; align-items:center; color:var(--mdb-ink)!important; font-size:0!important; background:none!important; }
body.mdb-complete-site .xoo-wsc-container .mdb-mini-cart-heading-icon::before,
body.mdb-complete-site .xoo-wsc-container .mdb-mini-cart-heading-icon::after { display:none!important; content:none!important; }
body.mdb-complete-site .xoo-wsc-container .mdb-mini-cart-heading-icon .mdb-icon-cart { width:26px; height:26px; }
body.mdb-complete-site .xoo-wsc-container :is(.xoo-wsc-pname,.xoo-wsc-pname a,.xoo-wsc-qty-price,.xoo-wsc-smr-ptotal,.xoo-wsc-subtotal,.xoo-wsc-ft-totals,.xoo-wsc-ft-amt,.woocommerce-Price-amount,.woocommerce-Price-amount bdi) { color:var(--mdb-ink)!important; }
body.mdb-complete-site .xoo-wsc-container :is(.xoo-wsc-header,.xoo-wsc-body,.xoo-wsc-footer) { color:var(--mdb-ink); }
body.mdb-complete-site .xoo-wsc-container .xoo-wsc-notice-success { color:var(--mdb-ink)!important; background:var(--mdb-mist)!important; border-color:var(--mdb-line)!important; }
/* Parent form visibility stays under WooCommerce control. */
body.mdb-complete-site .mdb-checkout-shell form.checkout_coupon .mdb-coupon-fields,
body.mdb-complete-site .mdb-cart-shell td.actions .coupon {
 display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:stretch; gap:8px; width:100%;
}
body.mdb-complete-site .mdb-checkout-shell form.checkout_coupon .mdb-coupon-fields > .form-row { display:block; float:none; width:auto; min-width:0; margin:0; padding:0; }
body.mdb-complete-site .mdb-checkout-shell form.checkout_coupon .mdb-coupon-fields :is(input,button),
body.mdb-complete-site .mdb-cart-shell td.actions .coupon :is(input,button) { width:100%!important; min-width:0!important; height:48px!important; margin:0!important; white-space:nowrap; }
body.mdb-complete-site .mdb-elementor-document .mdb-main .mdb-checkout-shell #order_review_heading,
body.mdb-complete-site .mdb-checkout-shell #order_review_heading { margin:0!important; padding-bottom:16px; border-bottom:0; }
body.mdb-complete-site .mdb-checkout-shell #order_review { margin-top:0!important; padding-top:0; border-top:0; }
body.mdb-complete-site .mdb-checkout-shell form.checkout { row-gap:0; }
/* Native overlays share the product slat animation; blocking behaviour is unchanged. */
body.mdb-complete-site :is(.blockUI.blockOverlay,.woocommerce .loader)::before {content:""!important;position:absolute!important;top:50%!important;left:50%!important;margin:-12px 0 0 -5px!important;background:#49c3c9!important;width:10px!important;height:24px!important;border:0!important;border-radius:0!important;box-shadow:-20px 0 #444e60,20px 0 #49c3c9!important;animation:mdb-option-slats 1.1s ease-in-out infinite!important;transform-origin:center!important;}
@media(prefers-reduced-motion:reduce){body.mdb-complete-site :is(.blockUI.blockOverlay,.woocommerce .loader)::before{animation:none!important;}}
@media(max-width:1050px) {
 /* Normal block flow removes both Woo floats and implicit Elementor grid tracks. */
 body.mdb-complete-site.mdb-native-cpo .mdb-woocommerce .product.mdb-product-shell { display:block!important; width:100%!important; min-width:0; }
 body.mdb-complete-site.mdb-native-cpo .mdb-woocommerce .product.mdb-product-shell > :is(.summary,.mdb-product-media) {
  display:block!important; float:none!important; clear:both; width:100%!important; max-width:100%!important; min-width:0!important;
  grid-column:auto; grid-row:auto; margin-inline:0!important; padding-inline:0; flex-basis:auto;
 }
 body.mdb-complete-site.mdb-native-cpo .mdb-product-shell > .summary { margin-top:28px; }
 body.mdb-complete-site.mdb-native-cpo .mdb-product-media-sticky { position:static!important; top:auto; width:100%; }
 body.mdb-complete-site.mdb-native-cpo .mdb-product-media .woocommerce-product-gallery { float:none!important; width:100%!important; max-width:100%; margin-inline:0!important; }
 body.mdb-complete-site.mdb-native-cpo .mdb-product-media .woocommerce-product-gallery img { height:auto; object-fit:contain; }
 body.mdb-complete-site.mdb-native-cpo .mdb-product-breadcrumb { display:flex; flex-direction:row; flex-wrap:wrap; gap:8px; padding:0; margin-bottom:16px; }
 body.mdb-complete-site.mdb-native-cpo .mdb-product-breadcrumb > * { width:auto; flex:none; }
}
@media(max-width:680px) {
 body.mdb-complete-site.mdb-native-cpo .mdb-woocommerce > .mdb-container { padding-top:16px; padding-bottom:24px; }
 body.mdb-complete-site.mdb-native-cpo .mdb-woocommerce > .mdb-shared-roller-engineering { padding-top:24px; }
 body.mdb-complete-site .mdb-checkout-shell form.checkout_coupon { padding:16px; }
 body.mdb-complete-site .mdb-checkout-shell form.checkout_coupon button,
 body.mdb-complete-site .mdb-cart-shell td.actions .coupon button { font-size:.75rem; padding-inline:10px!important; }
}
