.v352-gallery{width:100%;max-width:100%;padding:clamp(28px,5vw,72px);background:#f3f2ed;color:#183236;min-width:0;overflow:hidden;box-sizing:border-box}
.v352-gallery h2{font-size:clamp(24px,3vw,40px);line-height:1.15;margin:0 0 16px}
.v352-gallery-intro{max-width:760px;line-height:1.6;margin:0 0 24px}
.v352-gallery-controls{display:flex;gap:12px;justify-content:flex-end;margin:12px 0}
.v352-gallery button,.v352-lightbox button{min-width:44px;min-height:44px;padding:10px 16px;border:1px solid #7b9393;background:#fff;color:#183236;cursor:pointer;font:inherit}
.v352-gallery-track{display:grid;width:100%;max-width:100%;min-width:0;grid-auto-flow:column;grid-auto-columns:minmax(0,calc((100% - 48px)/3));gap:24px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;padding:0 0 16px;scrollbar-width:thin;box-sizing:border-box}
.v352-gallery figure{margin:0;min-width:0;scroll-snap-align:start;background:#fff}
.v352-gallery figure>a{display:block;position:relative;background:#e8e9e5}
.v352-gallery figure>a::after{content:'Увеличить ↗';position:absolute;right:8px;bottom:8px;background:#fff;color:#183236;padding:6px 10px;font-size:13px}
.v352-gallery img{display:block;width:100%;height:clamp(230px,28vw,340px);object-fit:contain}
.v352-gallery figcaption{padding:16px;line-height:1.5;font-size:16px;overflow-wrap:normal;word-break:normal;-webkit-hyphens:auto;hyphens:auto}
.v352-gallery figcaption small{display:block;font-size:12px;color:#586b6e;margin-top:8px}
.v352-gallery figcaption a{display:inline-block;padding:12px 0;text-decoration:underline;text-underline-offset:4px}
.v352-options{display:grid;min-width:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;margin-top:28px}
.v352-options h3{font-size:20px;margin:0 0 10px}.v352-options p{line-height:1.6;margin:0}
.v352-card-image{display:block;margin:0 0 24px;background:#eeeee8}.v352-card-image img{display:block;width:100%;height:clamp(220px,30vw,380px);object-fit:contain}
.v352-lightbox{padding:16px;border:0;background:#f5f4ef;color:#183236;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);width:1100px;box-sizing:border-box;overscroll-behavior:contain}
.v352-lightbox::backdrop{background:rgba(5,20,24,.88)}
.v352-lightbox[open]{display:flex;flex-direction:column;gap:10px}
.v352-lightbox img{display:block;width:100%;height:min(65dvh,800px);object-fit:contain;min-height:0}
.v352-lightbox-controls{display:flex;gap:8px;justify-content:space-between;flex-wrap:wrap}
.v352-lightbox p{margin:0;line-height:1.4;overflow-wrap:anywhere}
.v352-gallery a:focus-visible,.v352-gallery button:focus-visible,.v352-lightbox button:focus-visible,.v352-card-image:focus-visible{outline:3px solid #397f8a;outline-offset:4px}
@media(max-width:900px){
  .product-detail-page,.product-detail-page main,.product-detail-page main>section{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
  .product-detail-hero>* ,.product-detail-intro>* ,.product-detail-data>* ,.product-detail-section-heading>* ,.product-detail-use>* ,.product-detail-expertise>*{min-width:0;max-width:100%}
  .product-detail-hero h1,.product-detail-intro h2,.product-detail-data h2,.product-detail-section-heading h2,.product-detail-expertise h2{max-width:100%;overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto}
  .product-detail-project-grid{width:100%;max-width:100%;min-width:0;margin-right:0;padding-right:0;box-sizing:border-box}
  .product-detail-project-grid>a{min-width:0;max-width:86%}
  .product-detail-actions,.product-detail-actions a,.product-detail-data dl,.product-detail-data dl>div{min-width:0;max-width:100%;box-sizing:border-box}
  .product-detail-data dt,.product-detail-data dd,.product-detail-use h3,.product-detail-project-grid strong,.product-detail-sources a{min-width:0;overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto}
  .v352-gallery-controls{display:none}
  .v352-gallery-track{grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-columns:auto;gap:16px;overflow:visible;padding-bottom:0;scroll-snap-type:none}
  .v352-gallery figure{width:100%;max-width:100%;min-width:0;box-sizing:border-box;scroll-snap-align:none}
  .v352-gallery figure>a{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
  .v352-gallery figure>a::after{position:static;display:block;padding:12px 16px;border-top:1px solid #d7dbd7;background:#fff;white-space:normal;overflow-wrap:normal;word-break:normal}
  .v352-gallery figcaption{width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow-wrap:normal;word-break:normal;-webkit-hyphens:auto;hyphens:auto}
}
@media(max-width:599px){.v352-gallery{padding:32px max(16px,5vw)}.v352-gallery-track{grid-template-columns:minmax(0,1fr)}.v352-gallery img{height:auto;aspect-ratio:4/3;object-fit:contain}.v352-options{grid-template-columns:minmax(0,1fr)}.v352-lightbox{padding:12px}.v352-lightbox img{height:60dvh;aspect-ratio:auto}.product-detail-hero h1{font-size:clamp(34px,11vw,48px);line-height:.94}.product-detail-intro h2,.product-detail-data h2,.product-detail-section-heading h2,.product-detail-expertise h2{font-size:clamp(30px,9.5vw,42px)}}
@media(max-width:359px){.product-detail-data dl>div{grid-template-columns:minmax(0,1fr);gap:7px}.product-detail-use>div{grid-template-columns:minmax(0,1fr)}.product-detail-use article{min-height:auto;padding-right:0}.product-detail-use article h3{margin-top:28px}.product-detail-actions a{min-width:0;padding:16px}.v352-gallery-controls{justify-content:flex-start}}
@media(prefers-reduced-motion:no-preference){.v352-gallery-track{scroll-behavior:smooth}}
