/* One consistent photo/caption layout for all seven hydrant photos. */
.hydrant-product .detail-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.hydrant-product .detail-top>div{min-width:0}
.hydrant-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:52px 36px;max-width:1000px;margin-inline:auto}
.hydrant-photo-grid figure{margin:0;min-width:0}
.hydrant-photo-grid .case-photo-button{position:relative;width:100%;aspect-ratio:3/4;border-radius:6px;overflow:hidden;background:#f3eee6}
.hydrant-photo-grid .case-photo-button img{display:block;width:100%;height:100%;max-height:none;object-fit:contain}
.hydrant-photo-grid figcaption{padding:18px 4px 0;text-align:left}
.hydrant-photo-grid h3{font-size:18px;font-weight:500;line-height:1.6;margin:8px 0 0;word-break:keep-all;color:#513e2e}
.hydrant-photo-grid figure:last-child:nth-child(odd){grid-column:1/-1;width:calc((100% - 36px)/2);justify-self:center}
.hydrant-product .gallery-controls{min-width:0}.hydrant-product .gallery-thumbs{flex-wrap:nowrap;overflow-x:auto;min-width:0;justify-content:flex-start;padding:5px 2px 10px;scrollbar-width:thin}.hydrant-product .gallery-thumb{flex:0 0 auto}.hydrant-product .gallery-thumb img{object-fit:contain}
@media(max-width:768px){.hydrant-product .detail-top{grid-template-columns:minmax(0,1fr)}.hydrant-photo-grid{grid-template-columns:1fr;gap:34px;max-width:465px}.hydrant-photo-grid figure:last-child:nth-child(odd){grid-column:auto;width:100%}.hydrant-photo-grid h3{font-size:17px}.hydrant-photo-grid .photo-zoom-label{font-size:10px;padding:8px 12px}}
