.product-gallery[data-product-gallery] { display: block; min-width: 0; }
.gallery-main { display: block; position: relative; background: white; }
.gallery-main > img { display: block; width: 100%; height: 470px; object-fit: contain; padding: 12px; }
.gallery-zoom { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 38px; height: 38px; background: white; border: 1px solid var(--line); }
.gallery-strip { display: flex; gap: 8px; overflow-x: auto; padding: 12px 3px 5px; }
.gallery-strip button { flex: 0 0 82px; width: 82px; height: 70px; border: 2px solid var(--line); padding: 3px; background: white; cursor: pointer; border-radius: 3px; }
.gallery-strip img { width: 100%; height: 100%; object-fit: contain; }
.gallery-strip button[aria-pressed=true] { border-color: var(--teal); }
.gallery-counter { display: block; font-size: 12px; color: var(--muted); text-align: right; min-height: 20px; }
.gallery-dialog { width: min(1100px,94vw); max-width: 94vw; height: min(900px,92dvh); max-height: 92dvh; padding: 14px; border: 1px solid var(--line); border-radius: 4px; background: white; color: var(--ink); }
.gallery-dialog::backdrop { background: rgb(0 0 0 / .72); }
.gallery-dialog[open] { display: flex; flex-direction: column; }
.gallery-dialog-toolbar { display: flex; justify-content: space-between; align-items: center; flex: 0 0 42px; }
.gallery-dialog button { border: 1px solid var(--line); background: white; width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; padding: 8px; cursor: pointer; }
.gallery-dialog-stage { display: flex; align-items: center; gap: 10px; flex: 1; min-height: 0; margin: 8px 0; }
.gallery-dialog-stage > img { object-fit: contain; min-width: 0; width: 100%; height: 100%; flex: 1; }
.gallery-dialog p { font-size: 13px; line-height: 1.5; margin: 8px 0 0; flex: 0 0 auto; max-height: 100px; overflow: auto; }
body:has(.gallery-dialog[open]) { overflow: hidden; }
.catalog-filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0 14px; border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 68px; z-index: 10; }
.catalog-filters button { min-height: 42px; border: 1px solid var(--line); border-radius: 3px; padding: 9px 16px; color: var(--ink); background: white; font: inherit; font-weight: 650; cursor: pointer; }
.catalog-filters button[aria-pressed=true] { color: white; border-color: var(--teal); background: var(--teal); }
.catalog-results { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.catalog-family { padding-top: 32px; }
.catalog-family .section-head { margin-bottom: 18px; }
.product-status { display: block; font-size: 12px; line-height: 1.5; color: var(--teal-dark); border-left: 3px solid var(--amber); padding-left: 8px; margin: 10px 0; }
.range-link { display: inline-block; margin: 10px 14px 0 0; }
@media(max-width:600px) {
 .gallery-main > img { height: 350px; }
 .gallery-strip button { flex-basis: 70px; width: 70px; height: 62px; }
 .gallery-dialog { padding: 10px; height: 85dvh; }
 .gallery-dialog-stage { gap: 4px; }
 .gallery-dialog-stage button { width: 32px; flex-basis: 32px; height: 40px; padding: 4px; }
 .catalog-filters button { padding: 8px 11px; font-size: 13px; }
}
