/* One product photo stage. Keep WooCommerce's native slider and lightbox. */
@media(min-width:701px){
 body.single-product .woocommerce div.product{align-items:start;column-gap:36px;row-gap:24px}
 body.single-product .woocommerce div.product>.woocommerce-product-gallery{grid-column:1;grid-row:1;align-self:start;margin:0;min-width:0}
 body.single-product .woocommerce div.product>.summary{grid-column:2;grid-row:1/span 2;align-self:start;margin:0;min-width:0}
 body.single-product .woocommerce div.product>.ep-product-purchase-details{grid-column:1;grid-row:2;align-self:start;min-width:0}
 body.single-product .woocommerce div.product .woocommerce-product-gallery{--ep-photo-height:420px}
 body.single-product .woocommerce div.product .woocommerce-product-gallery .flex-viewport{height:var(--ep-photo-height)!important;transition:none!important}
 body.single-product .woocommerce div.product .woocommerce-product-gallery__image{height:var(--ep-photo-height);position:relative}
 body.single-product .woocommerce div.product .woocommerce-product-gallery__image>a{display:block;height:100%;width:100%}
 body.single-product .woocommerce div.product .woocommerce-product-gallery__image>a>img:not(.zoomImg){width:100%;height:var(--ep-photo-height);max-height:none;object-fit:contain;object-position:center;margin:0}
 body.single-product .woocommerce div.product .woocommerce-product-gallery .zoomImg{max-height:none;max-width:none}
 body.single-product .woocommerce div.product .flex-control-thumbs{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;overflow:visible;margin:16px 0 0;padding:0;list-style:none}
 body.single-product .woocommerce div.product .flex-control-thumbs li{float:none;width:72px;flex:0 0 72px;margin:0;padding:0}
 body.single-product .woocommerce div.product .flex-control-thumbs img{display:block;width:72px;height:72px;max-height:none;object-fit:contain;padding:5px;margin:0;border:1px solid #c9d7e7;border-radius:9px;background:#fff;opacity:1;cursor:pointer;box-sizing:border-box}
 body.single-product .woocommerce div.product .flex-control-thumbs img.flex-active{border:2px solid #0063c8;padding:4px;background:#f1f7ff}
 body.single-product .woocommerce div.product .flex-control-thumbs img:hover{border-color:#0063c8}
 body.single-product .woocommerce div.product .woocommerce-product-gallery__trigger{top:8px;inset-inline-start:8px;inset-inline-end:auto;width:44px;height:44px;min-width:44px;min-height:44px;border:1px solid #d4e0ec;border-radius:50%;background:#fff;z-index:4;box-shadow:0 2px 8px #17191d0a}
 body.single-product .woocommerce div.product .woocommerce-product-gallery__trigger img{width:20px;height:20px;max-height:20px}
 body.single-product .woocommerce div.product .epx-gallery-kind{bottom:10px;inset-inline-start:10px;max-width:calc(100% - 20px);font-size:12px}
 body.single-product .woocommerce div.product .ep-product-purchase-details{display:grid;gap:16px}
 body.single-product .woocommerce div.product .ep-product-purchase-details>.epc-product-offer,
 body.single-product .woocommerce div.product .ep-product-purchase-details>.epl-product-note{margin:0;padding:22px;border:1px solid #d4e0ec;border-radius:12px;background:#fff;box-shadow:0 3px 14px #0063c805;overflow-wrap:anywhere}
 body.single-product .woocommerce div.product .ep-product-purchase-details>.epc-product-offer{border-top:3px solid #0063c8}
 body.single-product .woocommerce div.product .ep-product-purchase-details :is(h2,.epl-product-note>strong){display:block;font-size:22px;line-height:1.4;color:#17191d;font-weight:700;margin:0 0 14px;text-align:start}
 body.single-product .woocommerce div.product .ep-product-purchase-details .epx-offer-heading{font-size:13px;line-height:1.7;margin:0 0 14px;text-align:start}
 body.single-product .woocommerce div.product .ep-product-purchase-details .epx-offer-table{border:0;border-radius:0;overflow:visible}
 body.single-product .woocommerce div.product .ep-product-purchase-details .epx-offer-table>div{grid-template-columns:minmax(110px, .8fr) minmax(0,1.2fr);gap:14px;padding:12px 0;border-color:#e4ebf3;text-align:start}
 body.single-product .woocommerce div.product .ep-product-purchase-details .epx-offer-table dt{font-size:14px;line-height:1.65;font-weight:600;color:#17191d}
 body.single-product .woocommerce div.product .ep-product-purchase-details .epx-offer-table dd{font-size:14px;line-height:1.65;color:#475568}
 body.single-product .woocommerce div.product .ep-product-purchase-details .epl-product-note p{font-size:15px;line-height:1.8;margin:0 0 16px;color:#475568;text-align:start}
 body.single-product .woocommerce div.product .ep-product-purchase-details .ep-purchase-links{display:flex;flex-wrap:wrap;gap:8px;margin:0}
 body.single-product .woocommerce div.product .ep-product-purchase-details .ep-purchase-links a{min-height:44px;font-size:14px;line-height:1.5;padding:10px 12px;background:#f4f9ff;border:1px solid #c9dbed;border-radius:7px;color:#0050a6;display:inline-flex;align-items:center}
 body.single-product .woocommerce div.product .ep-product-purchase-details .ep-purchase-links a:hover{background:#eaf4ff;border-color:#0063c8}
 body.single-product .woocommerce div.product .ep-product-purchase-details .epx-offer-period{font-size:13px;line-height:1.7}
}
@media(min-width:701px) and (max-width:1000px){
 body.single-product .woocommerce div.product{column-gap:24px;padding:22px}
 body.single-product .woocommerce div.product .woocommerce-product-gallery{--ep-photo-height:340px}
 body.single-product .woocommerce div.product .ep-product-purchase-details>.epc-product-offer,
 body.single-product .woocommerce div.product .ep-product-purchase-details>.epl-product-note{padding:17px}
 body.single-product .woocommerce div.product .ep-product-purchase-details .epx-offer-table>div{grid-template-columns:1fr;gap:4px}
}
/* The existing mobile gallery remains compact; purchase details follow the summary. */
@media(max-width:700px){
 body.single-product .woocommerce div.product>.ep-product-purchase-details{grid-column:1/-1;min-width:0}
 body.single-product .woocommerce div.product>.ep-product-purchase-details>:first-child{margin-top:0}
}
