/* Only OceanWP single-product presentation. No configurator descendants styled. */
body.opka-sd-product-layout #primary.content-area {
    width:100%;max-width:100%;padding:0;border:0;float:none;
}
body.opka-sd-product-layout .entry-content > div.product {
    display:grid;grid-template-columns:minmax(0,42fr) minmax(0,58fr);
    gap:24px clamp(20px,3vw,48px);align-items:start;
}
body.opka-sd-product-layout .entry-content > div.product::before,
body.opka-sd-product-layout .entry-content > div.product::after,
body.opka-sd-product-layout .entry-content > div.product > .clear-after-summary {display:none}
body.opka-sd-product-layout .entry-content > div.product > * {
    grid-column:1/-1;min-width:0;
}
body.opka-sd-product-layout .entry-content > div.product > .woocommerce-product-gallery {
    grid-column:1;width:100%;float:none;margin:0;
}
body.opka-sd-product-layout .entry-content > div.product > .summary {
    grid-column:2;width:100%;float:none;margin:0;
}
body.opka-sd-product-layout .woocommerce-product-gallery__wrapper {margin:0}
body.opka-sd-product-layout .woocommerce-product-gallery__image > a {
    display:block;width:100%;aspect-ratio:1/1;background:#fff;
}
body.opka-sd-product-layout .woocommerce-product-gallery__image > a > img {
    display:block;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center;
}
body.opka-sd-product-layout .entry-content > div.product > .woocommerce-tabs,
body.opka-sd-product-layout .entry-content > div.product > .opka-sd-product-description {
    width:100%;max-width:100%;clear:both;margin:0;
}
/* Let the existing responsive configurator grid shrink within its parent.
   Its native mobile 1fr track otherwise inherits the form's min-content width. */
body.opka-sd-product-layout .threeopka-striscioni-layout > * {min-width:0}
@media(max-width:767px){
    body.opka-sd-product-layout .entry-content > div.product {grid-template-columns:minmax(0,1fr);gap:24px}
    body.opka-sd-product-layout .entry-content > div.product > .summary {grid-column:1}
}
