/* Reuse current store palette and product detail layout. */
#product-main{padding-top:24px;padding-bottom:32px}.product-purchase h1{font-size:30px;line-height:1.25;overflow-wrap:anywhere}.product-purchase .price{font-size:30px}.product-description-rich table{width:100%;border-collapse:collapse}.product-description-rich th,.product-description-rich td{text-align:left;padding:10px;border-bottom:1px solid var(--line)}#page-add[hidden]{display:none}#page-reviews article{border-bottom:1px solid var(--line);padding:16px 0}
@media(max-width:720px){.product-overview{grid-template-columns:1fr}.product-gallery{min-height:260px;padding:24px}.product-gallery img{height:250px}.product-purchase,.product-information{padding:24px 16px}.product-purchase h1{font-size:25px}}

.store-review{border-block-start:1px solid #dce3ed;padding:1rem 0}.store-review time{margin-inline-start:.75rem;color:#55647a}.store-review p{white-space:pre-wrap}.product-information details{margin-block:1.5rem}.product-information summary{cursor:pointer}
.product-guarantee{margin:12px 0;padding:12px 14px;border:1px solid #d7e1ed;border-radius:7px;color:#223652}.product-guarantee small,.commercial-guarantee>strong{display:block}.commercial-guarantee{margin-top:.6rem}.commercial-guarantee img{display:block;margin:6px 0}.commercial-guarantee summary{cursor:pointer}.product-guarantee [hidden]{display:none}
.product-detail .product-gallery{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-width:0}
#page-zoom{border:0;background:transparent;cursor:zoom-in;padding:0;width:100%}
#page-zoom img{display:block;width:100%;height:clamp(200px,29vw,350px);object-fit:contain}
#page-thumbs{display:flex;gap:8px}#page-thumbs:empty{display:none}
#page-thumbs button{border:1px solid var(--line,#ccd5df);background:white;border-radius:5px;padding:4px;cursor:pointer}
#page-thumbs button[aria-pressed=true]{outline:2px solid var(--primary,#486796)}
#page-thumbs img{width:48px;height:48px;object-fit:contain;display:block;filter:none}
#page-lightbox{box-sizing:border-box;width:min(96vw,1100px);max-width:96vw;max-height:94dvh;padding:0;border:0;border-radius:8px;background:white}
#page-lightbox::backdrop{background:rgba(16,26,45,.72)}
#page-lightbox[open]{display:grid;grid-template-rows:auto minmax(0,1fr)}
#page-lightbox-close{justify-self:end;font-size:28px;width:44px;height:44px;border:0;background:white;cursor:pointer}
#page-large-image{display:block;width:100%;height:min(76dvh,850px);object-fit:contain}
.page-sku{font-size:.85rem;color:var(--muted,#506079)}.product-description-rich h2{margin:1.5rem 0 .55rem}.product-description-rich section:first-child h2{margin-top:0}

@media (max-width: 720px) {
  #product-main { padding-top: 8px; }
  #product-main > p:first-child { margin: 6px 0 10px; }
  #product-main .product-gallery { min-height: 0; padding: 8px 12px; gap: 6px; }
  #product-main #page-zoom img { height: clamp(130px, 35vw, 180px); }
  #product-main #page-thumbs button { min-width: 44px; min-height: 44px; }
  #product-main #page-thumbs img { width: 36px; height: 36px; }
  #product-main .product-purchase { padding: 10px 6px 22px; }
  #product-main .product-purchase h1 { margin: 4px 0 6px; }
  #product-main .page-sku, #product-main #page-stock, #product-main #page-price { margin: 5px 0; }
  #product-main .variant-picker { margin: 5px 0; }
  #product-main #page-add { margin: 9px 0; min-height: 48px; }
  #product-main #page-message:empty { display: none; }
}
