/* v0.8.14: commerce layout and notices, scoped to WooCommerce contexts. */
body.single-product .woocommerce{max-width:none!important;width:100%!important;margin:0!important;padding:0!important}
body.single-product .dmx-pdp{width:100%;max-width:none!important;margin:0!important;padding-left:2%;padding-right:2%}
body.woocommerce-account .woocommerce-Addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px}
body.woocommerce-account .woocommerce-Address{float:none!important;width:100%!important;min-width:0;border:1px solid #e5e5e5;padding:24px}
body.woocommerce-account .woocommerce-Address-title{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 18px}
body.woocommerce-account .woocommerce-Address-title h2{font-size:clamp(19px,2vw,25px)!important;line-height:1.25;margin:0!important;letter-spacing:-.025em}
body.woocommerce-account .woocommerce-Address-title .edit{float:none!important;font-size:12px;text-decoration:underline;text-underline-offset:4px}
body.woocommerce-account .woocommerce-Address address{font-size:14px;line-height:1.8;color:#555;font-style:normal}
body.woocommerce-account .woocommerce-Address .woocommerce-Address-title:after{display:none}
body.woocommerce-account .woocommerce-MyAccount-content{min-width:0}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message,
body.single-product .woocommerce-message{border:1px solid #e5e5e5!important;border-left:2px solid #111!important;border-top:1px solid #e5e5e5!important;background:#fafafa!important;color:#222!important;padding:20px 22px!important;font-size:14px;line-height:1.6;box-shadow:none!important;display:flex;align-items:center;gap:16px;flex-wrap:wrap}
body.woocommerce-account .woocommerce-info:before,
body.woocommerce-cart .woocommerce-info:before,
body.woocommerce-checkout .woocommerce-info:before,
body.woocommerce-checkout .woocommerce-message:before,
body.single-product .woocommerce-message:before{display:none!important}
body.woocommerce-checkout .woocommerce-message .button,
body.woocommerce-account .woocommerce-info .button{float:none!important;order:2;margin-left:auto!important;background:#171717!important;color:white!important;border-radius:0!important;padding:12px 18px!important}
body.woocommerce-checkout .page-content{max-width:1320px;margin:36px auto 80px;padding:0 24px}
body.woocommerce-checkout .page-content>.woocommerce{max-width:none;margin:0;padding:0}
body.woocommerce-checkout .woocommerce-checkout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(310px,1fr);gap:28px 52px;align-items:start}
body.woocommerce-checkout #customer_details{grid-column:1;grid-row:1 / span 3;width:100%}
body.woocommerce-checkout #customer_details .col-1,body.woocommerce-checkout #customer_details .col-2{float:none;width:100%;margin-bottom:25px}
body.woocommerce-checkout #order_review_heading{grid-column:2;margin:0;font-size:23px}
body.woocommerce-checkout #order_review{grid-column:2;background:#fafafa;padding:22px;min-width:0}
body.woocommerce-checkout .woocommerce-checkout h3{font-size:22px;letter-spacing:-.025em}
body.woocommerce-checkout .form-row input.input-text,body.woocommerce-checkout .form-row select,body.woocommerce-checkout .select2-selection{border:1px solid #c9c9c9;border-radius:0;background:white;min-height:44px;padding:9px 12px}
body.woocommerce-checkout #place_order{background:#111;color:white;border-radius:0;min-height:55px;width:100%;font-weight:600}
body.woocommerce-checkout .woocommerce-checkout-review-order-table{width:100%;border-collapse:collapse;font-size:14px}
body.woocommerce-checkout .woocommerce-checkout-review-order-table th,body.woocommerce-checkout .woocommerce-checkout-review-order-table td{padding:13px 6px;border-bottom:1px solid #ddd}
@media(max-width:850px){body.woocommerce-account .woocommerce-Addresses{grid-template-columns:1fr;gap:16px}body.woocommerce-checkout .woocommerce-checkout{display:block}body.woocommerce-checkout #order_review{margin-top:20px}body.woocommerce-checkout .page-content{padding:0 15px}}

/* v0.8.15: prevent horizontal clipping and restore true full-width storefront header. */
body.single-product .site-header,body.woocommerce-checkout .site-header,
body.single-product .announcement,body.woocommerce-checkout .announcement{width:100%;max-width:100%}
body.single-product .dmx-pdp{max-width:100%!important;width:100%!important;margin:0!important;padding:24px clamp(16px,3vw,56px) 35px!important;min-width:0}
body.single-product .dmx-pdp-top,body.single-product .dmx-pdp-gallery,body.single-product .dmx-pdp-buy{min-width:0}
body.single-product .dmx-pdp-gallery img{max-width:100%;height:auto}
body.single-product .dmx-pdp-recommend{margin-top:36px}
body.single-product .dmx-pdp-details{margin-top:30px}
body.woocommerce-checkout .woocommerce-message,body.woocommerce-checkout .woocommerce-info{border:1px solid #e4e4e4!important;border-left:2px solid #171717!important;background:#fafafa!important;box-shadow:none!important}
body.woocommerce-checkout .page-content{min-height:0;margin:32px auto 48px}
body.woocommerce-checkout .page-content>h1{font-size:clamp(25px,2.8vw,35px);font-weight:650;text-transform:none;margin:0 0 24px}
body.woocommerce-checkout .dmx-checkout-entry{border:1px solid #e3e3e3;padding:24px 26px;margin:0 0 30px;background:#fff}
body.woocommerce-checkout .dmx-checkout-entry h2{font-size:20px;margin:0 0 18px;letter-spacing:-.02em}
body.woocommerce-checkout .dmx-checkout-entry-actions{display:flex;gap:12px;flex-wrap:wrap}
body.woocommerce-checkout .dmx-checkout-entry-actions>*{display:inline-flex;justify-content:center;align-items:center;min-height:46px;padding:12px 25px;font-weight:600;font-size:13px;cursor:pointer;text-decoration:none}
body.woocommerce-checkout .dmx-entry-login{background:#161616;color:#fff}
body.woocommerce-checkout .dmx-entry-guest{border:1px solid #161616;background:#fff;color:#161616}
body.woocommerce-checkout .dmx-checkout-entry p{font-size:13px;line-height:1.6;color:#666;margin:15px 0 0}
@media(max-width:850px){body.single-product .dmx-pdp{padding:12px 14px 25px!important}body.woocommerce-checkout .dmx-checkout-entry{padding:20px 16px}}


/* v0.8.18: prevent product-only horizontal overflow from pushing the
   global header/footer outside the visible viewport. Product inner layout
   is not resized; cart/checkout styles remain unchanged. */
html:has(body.single-product),body.single-product{overflow-x:clip}
body.single-product > .announcement,
body.single-product > .site-header,
body.single-product > .descmx-footer{width:100%;max-width:100%;margin-left:0;margin-right:0;left:auto;right:auto;box-sizing:border-box}
body.single-product .dmx-pdp,body.single-product .dmx-pdp *{box-sizing:border-box}
body.single-product .dmx-pdp-top,body.single-product .dmx-pdp-gallery,body.single-product .dmx-pdp-buy{max-width:100%;min-width:0}

/* v0.8.19: WooCommerce adds `woocommerce` to the BODY on product pages.
   The legacy `.woocommerce { max-width:1250px; margin:40px auto; padding:0 25px }`
   unintentionally constrained the entire document, including header and footer.
   Reset only the root body, not WooCommerce's inner product content. */
body.single-product.woocommerce {
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
}
