/* Compact contextual catalog cards; complete photographs in detail and viewer. */
#productGrid.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
#productGrid .product-card-link{display:flex;flex-direction:column;min-width:0;padding:10px;border:1px solid #d3ddce;border-radius:14px;background:#fff;color:#233c31;text-decoration:none;overflow:hidden}
#productGrid .product-image{height:auto;aspect-ratio:1.3;min-height:0;border-radius:9px;overflow:hidden;background:#e8ede2}
#productGrid .product-image img{width:100%;height:100%;object-fit:cover;object-position:50% 54%;display:block}
#productGrid .product-card-link h3{font-size:clamp(16px,2vw,22px);line-height:1.3;margin:6px 0 9px;letter-spacing:-.3px;overflow-wrap:normal;word-break:normal}
#productGrid .product-card-link .code{margin:12px 0 0;font-size:11px}
#productGrid .product-card-description{font-size:14px;line-height:1.5;margin:0 0 12px}
#productGrid .card-action{margin-top:auto;min-height:44px;display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:600;border-top:1px solid #e1e7dd}
#productGrid .product-index{display:none}
#productGrid .product-card-link:focus-visible{outline:3px solid #2b7148;outline-offset:3px}
.detail-layout{align-items:start;column-gap:40px;row-gap:12px}
.detail-layout>.product-intro{grid-column:2;grid-row:1;min-width:0}
.detail-layout>.detail-media.has-gallery{grid-column:1;grid-row:1 / span 2;height:auto;min-height:0}
.detail-layout>.product-info{grid-column:2;grid-row:2;padding-top:0}
.product-intro h1{margin:10px 0 14px;overflow-wrap:normal;word-break:normal;line-height:1.1}
.product-intro .detail-description{font-size:16px;line-height:1.6;margin:0 0 12px}
.gallery-stage{background:#f4f6f0}
.gallery-enlarge{display:flex;align-items:center;justify-content:center;min-height:0;background:#f4f6f0;touch-action:pan-y pinch-zoom}
.detail-media .gallery-stage img{width:auto;height:auto;max-width:100%;max-height:min(60svh,560px);object-fit:contain;aspect-ratio:auto;background:transparent}
.gallery-stage figcaption{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px}
.gallery-stage figcaption strong{font-size:13px;line-height:1.4;font-weight:500}
.gallery-stage .gallery-caption{min-width:0}
.gallery-stage .gallery-zoom-label{white-space:nowrap;color:#21643c;font-size:13px;font-weight:600;min-height:44px;border:0;background:transparent;padding:6px;cursor:pointer}
.gallery-count{letter-spacing:0;margin:0;font-size:13px}
.gallery-thumbs{display:grid;grid-template-columns:repeat(var(--gallery-count,5),minmax(0,1fr));gap:7px;overflow:visible;padding:10px 2px 4px;scroll-snap-type:none}
.gallery-thumbs button{width:100%;min-width:0;min-height:44px;flex:none;aspect-ratio:1.2;max-height:84px;box-sizing:border-box}
.detail-media .gallery-thumbs img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:50% 54%}
.product-gallery .gallery-note{font-size:12px!important;margin:8px 0;line-height:1.5}
html.gallery-modal-open,body.gallery-modal-open{overflow:hidden;overscroll-behavior:none}
.gallery-viewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(1100px,calc(100vw - 16px));height:calc(100dvh - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:0;box-sizing:border-box;overflow:hidden;overscroll-behavior:contain;border-radius:12px}
.viewer-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 10px;border-bottom:1px solid #d3ddce;min-height:56px;box-sizing:border-box}
.viewer-close{position:static;width:auto;min-width:44px;height:44px;padding:8px 14px;border-radius:8px;font-size:16px;flex:none}
.gallery-viewer figure{display:grid;grid-template-rows:minmax(0,1fr) auto;min-height:0;min-width:0;margin:0;padding:4px 8px;overflow:hidden;touch-action:pan-y pinch-zoom}
.gallery-viewer figure img{width:100%;height:100%;max-height:100%;min-height:0;object-fit:contain}
.gallery-viewer figcaption{font-size:12px;line-height:1.4;margin:4px 0;max-height:3em;overflow:auto}
.gallery-viewer .viewer-controls{display:flex;justify-content:space-between;align-items:center;flex-wrap:nowrap;gap:8px;margin:0;padding:5px 12px max(5px,env(safe-area-inset-bottom));border-top:1px solid #d3ddce;min-height:56px;box-sizing:border-box}
.viewer-controls button{border-radius:8px;min-height:44px;min-width:44px;font-size:16px}
.viewer-controls>span{font-size:12px;text-align:center;color:#456047}
.process-grid article{min-width:0}
.process-grid article>p{grid-column:2;min-width:0;overflow-wrap:normal;word-break:normal}
.booking-dialog .field-label,.booking-dialog p{overflow-wrap:normal;word-break:normal}
@media(max-width:800px){#productGrid.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px}.detail-layout{grid-template-columns:minmax(0,1fr);gap:16px}.detail-layout>.product-intro,.detail-layout>.detail-media.has-gallery,.detail-layout>.product-info{grid-column:1;grid-row:auto}.product-intro h1{font-size:clamp(30px,6vw,40px)}.detail-media .gallery-stage img{max-height:min(50svh,470px)}}
@media(max-width:600px){#productGrid .product-card-link{padding:7px}#productGrid .product-card-link h3{font-size:16px;line-height:1.3}#productGrid .product-card-description{font-size:13px;line-height:1.45}.gallery-stage figcaption{padding:8px 10px}.detail-layout>.product-intro .detail-description{font-size:15px}.process-grid article>h3,.process-grid article>p{grid-column:2}.visualizer-inner{grid-template-columns:minmax(0,1fr)}.visualizer-image{display:none}.visualizer-copy h2{font-size:clamp(26px,7vw,34px);line-height:1.2}.visualizer-copy .button{white-space:normal;text-align:center}}
@media(max-height:450px){.gallery-viewer .viewer-bar{min-height:48px;padding:2px 8px}.gallery-viewer .viewer-controls{min-height:48px;padding-block:2px}.gallery-viewer figcaption{max-height:1.5em;margin:2px 0}}
@media(max-width:600px){.catalog-page .page-intro{padding-block:18px 20px}.catalog-page .page-intro .breadcrumbs{margin-bottom:16px}.catalog-page .page-intro>.section-shell>.eyebrow{display:none}.catalog-page .page-intro h1{font-size:clamp(30px,8vw,38px);line-height:1.12;margin-bottom:12px}.catalog-page .page-intro>.section-shell>p:not(.eyebrow):not(.breadcrumbs){font-size:14px;line-height:1.5;margin-bottom:0}.catalog-page .catalog-search{margin-top:16px}.catalog-toolbar{margin-bottom:18px;gap:12px}.catalog-toolbar>p{font-size:12px;line-height:1.5}.process-grid article>p{font-size:14px;line-height:1.6}}
@media(max-width:800px){body{padding-bottom:calc(90px + env(safe-area-inset-bottom))}html{scroll-padding-top:90px}}
