.product-detail-content{min-width:0}
.product-purchase-sidebar{display:none}
.product-purchase-panel .sidebar-price,.product-purchase-panel .sidebar-shipping{display:none}
@media(min-width:1101px){
 .store section.product-detail-page{max-width:1600px;width:calc(100% - 64px)}
 .product-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:26px;align-items:start;position:relative;overflow:visible}
 .store .product-detail-content .detail-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}
 .product-purchase-sidebar{display:block;position:sticky;top:20px;align-self:start;min-width:0;max-height:calc(100dvh - 40px);overflow-y:auto;border:1px solid #e0e3e5;border-radius:12px;background:#fff;padding:20px;box-shadow:0 4px 18px #18293408}
 .store .product-detail-page .product-purchase-sidebar .product-purchase-panel{display:flex;flex-direction:column;gap:14px;margin:0;padding:0;border:0}
 .product-purchase-sidebar .product-purchase-panel .sidebar-price{display:flex;flex-wrap:wrap;padding:0 0 14px;margin:0;gap:8px}
 .store .product-detail-page .product-purchase-sidebar .sale-price{font-size:30px}
 .product-purchase-sidebar .product-purchase-panel .sidebar-shipping{display:block;color:#267342;font-size:14px;font-weight:700;margin:0}
 .store .product-detail-page .product-purchase-sidebar .demo-note{padding:0;background:none;color:#267342}
 .store .product-detail-page .product-purchase-sidebar .qty-control{margin:0;justify-content:space-between}
 .store .product-detail-page .product-purchase-sidebar .button{width:100%;border-radius:24px;min-height:44px;text-align:center}
 .store .product-detail-page .product-purchase-sidebar .buy-now{order:3;background:#ff5024;border-color:#ff5024;color:#fff}
 .store .product-detail-page .product-purchase-sidebar #detail-add{order:4;background:#fff;color:#222;border:1px solid #222}
}
@media(min-width:1400px){.product-detail-layout{grid-template-columns:minmax(0,1fr) 320px;gap:30px}}

/* Hold the gallery only while the adjacent product information scrolls. */
@media(min-width:1101px){
 .store .product-detail-content .detail-grid{align-items:start;overflow:visible}
 .store .product-detail-content .detail-grid>div:first-child{position:sticky;top:20px;align-self:start;min-width:0}
 .store .product-detail-content .gallery-stage{height:clamp(240px,calc(100dvh - 180px),680px);aspect-ratio:auto}
 .store .product-detail-content .gallery-stage .gallery-main{object-fit:contain}
 .store .product-detail-content .thumbnails{flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding-bottom:4px}
 .store .product-detail-content .thumbnails button{flex-shrink:0}
}
