/* Textured-film gallery. Existing catalog and vacuum galleries are preserved. */
.product-gallery.product-gallery-textures.has-gallery-controls{grid-template-rows:minmax(220px,1fr) 34px 40px;aspect-ratio:auto;background:#fff}
.product-gallery-textures .product-detail-visual{background:#fff;padding:10px}
.product-gallery-textures .product-detail-visual img{padding:0}
.product-gallery-textures .product-detail-pack{left:8px;top:8px;padding:5px 8px;font-size:10px;opacity:.9}
.product-gallery-textures .product-gallery-arrow{top:calc((100% - 74px)/2)}
.texture-open-3d{display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-top:1px solid var(--line);background:var(--ink);color:white;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.texture-open-3d span{font-size:19px}.texture-open-3d:hover{background:#343b2d}
.texture-open-3d:focus-visible{outline:3px solid var(--acid);outline-offset:-3px}
.texture-model-open{overflow:hidden}
.texture-model-modal{position:fixed;z-index:230;inset:0;display:grid;place-items:center;padding:24px;background:rgba(8,10,8,.82)}
.texture-model-modal[hidden]{display:none}
.texture-model-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(100%,1060px);height:min(94svh,980px);overflow:hidden;border-radius:18px;background:white;color:var(--ink)}
.texture-model-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 20px;border-bottom:1px solid var(--line)}
.texture-model-header strong{font-size:16px;line-height:1.4}
.texture-model-close{flex:0 0 40px;width:40px;height:40px;border:0;border-radius:50%;background:#edf0e9;color:#111;font-size:27px;cursor:pointer}
.texture-model-frame{border:0;width:100%;height:100%;min-height:0;background:#fff}
.texture-model-footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;padding:13px 20px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}
.texture-model-footer a{color:var(--ink);font-weight:800}
@media(max-width:760px){.product-gallery.product-gallery-textures.has-gallery-controls{grid-template-rows:minmax(280px,1fr) 34px 46px}.product-gallery-textures .product-gallery-arrow{top:calc((100% - 80px)/2)}.texture-model-modal{padding:8px}.texture-model-panel{height:96svh;border-radius:12px}.texture-model-header{padding:10px 13px}.texture-model-header strong{font-size:13px}.texture-model-footer{padding:10px 13px;font-size:11px}}

