.single-product .acr-main { width: min(1500px, calc(100% - 64px)); max-width: 1500px; }
.acr-product-purchase-grid.wp-block-columns { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(1.25rem, 2.4vw, 2.25rem); align-items: start; }
.acr-product-purchase-grid > * { min-width: 0; margin-block: 0; }
.acr-product-details h1.wp-block-post-title { font-size: clamp(1.5rem, 2vw, 2rem); line-height: 1.2; margin: 0 0 1rem; letter-spacing: -.025em; }
.acr-product-brand { font-size: .875rem; font-weight: 700; color: #333; margin: 0 0 .75rem; }
.acr-product-intro { font-size: .975rem; line-height: 1.6; }
.acr-product-availability { padding-left: .75rem; border-left: 3px solid #14c0df; font-size: .925rem; font-weight: 600; }
.acr-identity-facts { margin-block: 1.25rem; font-size: .875rem; }
.acr-identity-facts > div { margin-block: .75rem; overflow-wrap: anywhere; }
.acr-identity-facts dt { font-weight: 700; }
.acr-identity-facts dd { margin: .2rem 0 0; }
.acr-product-highlights { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
.acr-product-highlights li { border: 1px solid #d5e2e5; padding: .35rem .65rem; border-radius: 10px; background: #f8f7f3; font-size: .8125rem; }
.acr-buybox { border: 1px solid #d4e4e7; border-top: 5px solid #14c0df; border-radius: 22px; padding: clamp(1.1rem, 2vw, 1.5rem); background: linear-gradient(160deg, #fff 65%, #eaf9fc); color: #000; box-shadow: 0 14px 36px #172b3314; }
.acr-buybox form.cart { display: flex; flex-wrap: wrap; gap: .75rem; margin: .75rem 0 0; }
.acr-buybox .quantity { flex: 0 0 4.5rem; }
.acr-buybox input.qty { width: 100%; min-height: 44px; }
.acr-buybox .single_add_to_cart_button { flex: 1; min-height: 44px; background: #14c0df; color: #000; border: 2px solid transparent; }
.acr-buybox .single_add_to_cart_button:hover { background: #000; color: #fff; }
.acr-buybox .single_add_to_cart_button:focus-visible { outline: 3px solid #000; outline-offset: 3px; }
.acr-product-media .wp-block-woocommerce-product-image-gallery { max-width: none; }
.acr-product-media .woocommerce-product-gallery { float: none !important; width: 100% !important; }
.acr-product-media .woocommerce-product-gallery--with-images { padding: 1rem 1rem 1rem 76px; box-sizing: border-box; border-radius: 22px; background: #f8f7f3; }
.acr-product-media .flex-control-thumbs { position: absolute; inset: 0 auto auto 0; display: flex; flex-direction: column; gap: .6rem; width: 54px; max-height: 100%; overflow-y: auto; margin: 0 !important; padding: 0; }
.acr-product-media .flex-control-thumbs li { width: 100% !important; float: none !important; }
.acr-product-media .flex-control-thumbs img { border: 1px solid #d5e2e5; border-radius: 10px; background: #fff; }
.acr-product-media .flex-control-thumbs img.flex-active { border: 2px solid #14c0df; }
.acr-product-media .woocommerce-product-gallery__image img, .acr-product-media .woocommerce-product-gallery__image--placeholder img { width: 100%; object-fit: contain; border-radius: 16px; background: #fff; }
/* Reclaim transparent padding around the verified Xtreme cut-outs on desktop.
   The complete unit stays visible; lifestyle artwork, thumbnails and zoom are untouched. */
@media (min-width: 1024px) {
 .acr-product-media .woocommerce-product-gallery__image > a > img[src*="/MIDE-14904-Website-Product-Images-Xtreme-"]:not(.zoomImg) {
  display: block;
  width: 125%;
  max-width: none;
  height: auto;
  margin: -20% -12.5%;
  object-fit: contain;
 }
}
.acr-product-below { margin-top: 2rem; border-top: 1px solid #d5e2e5; border-radius: 24px; padding: clamp(1.15rem, 2.5vw, 2rem); background: #f8f7f3; }
.acr-product-below h2 { font-size: 1.5rem; }
.acr-product-below table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.acr-product-below th, .acr-product-below td { text-align: left; padding: .75rem; border-bottom: 1px solid #e5e5e5; overflow-wrap: anywhere; }
.acr-product-below th { width: 40%; }
.acr-product-warranty, .acr-product-reviews { padding-block: 1.5rem; border-top: 1px solid #ddd; margin-top: 2rem; }
.acr-product-purchase-grid .wp-block-column { min-width: 0; }
.acr-product-details .acr-identity-facts { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin: .75rem 0; }
.acr-product-details .acr-identity-facts > div { margin: 0; }
.acr-buybox { margin-top: 1.5rem; }
.acr-buybox h2 { font-size: 1.2rem; margin: 0 0 1rem; }
.acr-buybox h3 { font: 700 1rem/1.4 Arial, sans-serif; margin: 0 0 .25rem; }
.acr-configuration-options { display: grid; gap: .75rem; }
.acr-configuration-options > section { padding: 1rem; border: 1px solid #d5e2e5; border-radius: 16px; background: #fff; }
.acr-configuration-options .acr-configuration-supply { border-left: 4px solid #14c0df; }
.acr-configuration-options p { font-size: .875rem; line-height: 1.5; margin: .5rem 0 0; }
.acr-package-price { font-size: 1.25rem; font-weight: 700; }
.acr-installation-scope { border-top: 1px solid #e5e5e5; margin-top: .75rem; padding-top: .25rem; }
.acr-configuration-total { border-top: 1px solid #ddd; padding-top: 1rem; margin-top: 1rem; }
.acr-configuration-total > span { font-size: .875rem; }
.acr-configuration-total .price { font-size: 2rem; font-weight: 700; margin-top: .25rem; }
.acr-buybox .stock { display: none; } /* Availability is already rendered above the configuration. */
.acr-current-price { padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid #ddd; }
.acr-current-price > span { font-size: .875rem; }
.acr-current-price .price { font-size: 2rem; font-weight: 700; }
.acr-request-quote p { font-size: .925rem; line-height: 1.55; }
.acr-request-quote .button { display: inline-flex; justify-content: center; min-height: 44px; padding: .7rem 1.1rem; border: 2px solid #000; border-radius: 12px; background: #14c0df; color: #000; font-weight: 800; text-decoration: none; }
.acr-request-quote .button:hover { background: #000; color: #fff; }
.acr-request-quote .button:focus-visible { outline: 3px solid #ff3131; outline-offset: 3px; }

@media (max-width: 1050px) {
 .acr-product-purchase-grid.wp-block-columns { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 700px) {
 .single-product .acr-main { width: calc(100% - 2rem); }
 .acr-product-purchase-grid.wp-block-columns { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
 .acr-product-details h1.wp-block-post-title { font-size: 1.65rem; }
 .acr-product-media { max-width: 480px; width: 100%; justify-self: center; }
 .acr-product-below th, .acr-product-below td { padding: .5rem; }
}
.acr-buybox .acr-supply-only-notice { font-size: .8125rem; line-height: 1.5; }

/* Real simple-product configuration; native quantity and cart submit follow it. */
.acr-configurator { flex-basis: 100%; min-width: 0; }
.acr-configurator h2, .acr-purchase-selector legend { font: 700 1rem/1.4 Arial, sans-serif; margin: 0 0 .65rem; padding: 0; }
.acr-size-buttons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.acr-size-buttons a { min-height: 48px; display: flex; align-items: center; justify-content: center; padding: .45rem; border: 1px solid #afbec2; border-radius: 12px; background: #fff; color: #000; font-size: .875rem; text-decoration: none; text-align: center; }
.acr-size-buttons a[aria-current="true"] { border: 2px solid #000; background: #14c0df; font-weight: 800; box-shadow: inset 0 -3px 0 #ff3131; }
.acr-size-buttons a:hover, .acr-size-buttons a:focus-visible { outline: 2px solid #14c0df; outline-offset: 2px; }
.acr-purchase-selector { border: 0; padding: 0; margin: 1.25rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; min-width: 0; }
.acr-purchase-selector label { display: flex; align-items: center; gap: .6rem; min-height: 56px; padding: .75rem; border: 1px solid #afbec2; border-radius: 14px; background: #fff; font-size: .875rem; cursor: pointer; }
.acr-purchase-selector label:has(input:checked) { border: 2px solid #000; background: #e7f9fc; box-shadow: inset 0 -3px 0 #14c0df; }
.acr-purchase-selector input { accent-color: #000; flex: 0 0 auto; width: 18px; height: 18px; margin: 0; }
.acr-purchase-selector label:focus-within { outline: 2px solid #14c0df; outline-offset: 2px; }
.acr-installation-details { flex-basis: 100%; font-size: .8125rem; line-height: 1.5; padding: .5rem 0; }
.acr-installation-details p { margin: .5rem 0; }
.acr-installation-details summary { cursor: pointer; text-decoration: underline; min-height: 30px; }
.acr-electrical-notice { margin: .85rem 0; padding: .8rem .9rem; border: 1px solid #14c0df; border-left: 4px solid #14c0df; border-radius: 10px; background: #eefbfe; color: #111; overflow-wrap: anywhere; }
.acr-electrical-notice h3 { margin: 0 0 .35rem; font: 800 .9rem/1.35 Arial, sans-serif; }
.acr-electrical-notice p { margin: .35rem 0; }
.acr-configurator-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-top: 1px solid #ddd; margin-top: 1rem; padding-top: 1rem; }
.acr-configurator-total .price { font-size: 1.9rem; font-weight: 700; }
.acr-configurator-total [data-acr-total] > span { font-size: .8125rem; }
.acr-configurator [hidden], .acr-installation-details[hidden] { display: none !important; }
.acr-configuration-status { min-height: 1.2em; font-size: .8125rem; margin: .4rem 0 0; }
.acr-product-purchase-grid[aria-busy="true"] .acr-product-details { opacity: .65; }
@media (max-width: 400px) {
 .acr-size-buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .acr-buybox { padding: 1rem; }
}
