.prins-product { border-top: 1px solid #d8e1dc; padding-block: 2rem; }
.prins-product-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 2rem; }
.prins-product-gallery { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; }
.prins-product-gallery > img { flex:0 0 100%; min-width:0; scroll-snap-align:start; }
.prins-product-gallery img { width:100%; height:auto; aspect-ratio:1; object-fit:contain; background:#fff; }
.prins-product label { display:block; font-weight:600; margin-top:1rem; }
.prins-product select, .prins-product input { width:100%; min-height:48px; font:inherit; padding:.6rem; border:1px solid #777; background:#fff; color:#1a1a1a; box-sizing:border-box; }
.prins-product table { width:100%; border-collapse:collapse; font-size:1rem; }
.prins-product caption { text-align:left; font-weight:700; margin-bottom:.75rem; }
.prins-product th,.prins-product td { text-align:left; padding:.65rem .3rem; border-bottom:1px solid #d8e1dc; }
.prins-price-result { font-weight:700; }
@media(max-width:781px) { .prins-product-layout { grid-template-columns:1fr; } }


.prins-product { margin-block:1.5rem; border:1px solid #d8e1dc; border-radius:12px; background:#fff; padding:clamp(16px,3vw,32px); }
.prins-product select,.prins-product input { border-radius:8px; }
.prins-product th { background:#edf4f0; }


/* One complete view at a time; vertical page scrolling and pinch zoom stay available. */
.prins-product-layout > div { min-width:0; }
.prins-product-gallery.is-slider { display:block; overflow:hidden; aspect-ratio:1; touch-action:pan-y pinch-zoom; border-radius:8px; background:#fff; }
.prins-product-gallery.is-slider img { display:block; width:100%; height:100%; object-fit:contain; user-select:none; }
.prins-product-gallery.is-slider img[hidden] { display:none; }
.prins-gallery-controls { display:flex; justify-content:space-between; align-items:center; gap:1rem; margin-top:.75rem; }
.prins-gallery-controls[hidden] { display:none; }
.prins-gallery-controls button { min-width:48px; min-height:48px; border:1px solid #b5c8be; border-radius:8px; background:#edf4f0; color:#10272d; font:inherit; font-size:1.4rem; cursor:pointer; }
.prins-gallery-controls button:disabled { opacity:.4; cursor:default; }
.prins-gallery-controls span { font-size:.95rem; }


.prins-catalog-overview,.prins-catalog-detail { max-width:1200px !important; margin-inline:auto; }
.prins-catalog-row { display:grid; grid-template-columns:140px minmax(0,1fr) auto; align-items:center; gap:clamp(16px,3vw,32px); padding:24px; margin-block:1rem; background:#fff; border:1px solid #d8e1dc; border-radius:12px; }
.prins-catalog-thumb { display:flex; align-items:center; justify-content:center; aspect-ratio:1; background:#fff; }
.prins-catalog-thumb img { display:block; width:100%; height:100%; object-fit:contain; }
.prins-catalog-summary { min-width:0; }
.prins-catalog-summary h2 { font-size:clamp(1.2rem,2vw,1.6rem); margin:0 0 .6rem; }
.prins-catalog-summary h2 a { color:inherit; text-decoration:none; }
.prins-catalog-summary h2 a:hover { text-decoration:underline; }
.prins-catalog-summary p { margin:.25rem 0; font-size:1rem; }
.prins-catalog-row > .wp-block-button__link { font-size:1rem; text-align:center; }
@media(max-width:781px) {
 .prins-catalog-row { grid-template-columns:88px minmax(0,1fr); padding:16px; }
 .prins-catalog-row > .wp-block-button__link { grid-column:1 / -1; }
}
