/* One gallery design for all three Maison Chanzy collections. */
.chanzy-gallery-section > .wrap { max-width:1240px; margin-inline:auto; padding-inline:32px; }
.chanzy-gallery-section .section-head { display:flex; align-items:end; justify-content:space-between; gap:32px; margin-bottom:30px; }
.chanzy-gallery-section .section-head h2 { font-size:clamp(2rem,4vw,3.35rem); line-height:1.18; margin-bottom:0; }
.chanzy-gallery-section .section-head p { max-width:430px; }
.chanzy-gallery-section .chanzy-gallery-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:none; grid-auto-rows:auto; gap:13px; margin:0; }
.chanzy-gallery-section .chanzy-gallery-grid .gallery-item { display:flex; align-items:center; justify-content:center; grid-column:auto; grid-row:auto; width:100%; height:auto; aspect-ratio:3/2; min-width:0; border:0; padding:0; margin:0; background:var(--paper,#fffdf8); overflow:hidden; cursor:zoom-in; }
.chanzy-gallery-section .chanzy-gallery-grid .gallery-item img { display:block; width:100%; height:100%; object-fit:contain!important; object-position:center!important; transform:none!important; }
.chanzy-gallery-section .chanzy-gallery-grid .gallery-item:focus-visible { outline:2px solid var(--sage,#526a53); outline-offset:3px; }
.chanzy-gallery-section .gallery-more { display:flex; justify-content:center; margin-top:22px; }
.chanzy-gallery-section .gallery-more .btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:48px; padding:12px 23px; font-size:.94rem; font-weight:600; border-radius:5px; background:var(--sage,#526a53); color:var(--paper,#fffdf8); margin:0; }
.chanzy-gallery-section .gallery-more svg { width:19px; height:19px; flex:none; stroke:currentColor; stroke-width:1.4; fill:none; }
#viewer:not(.plan-viewer) { width:min(1000px,94vw); }
#viewer:not(.plan-viewer) img:not(.crop-old-card):not(.crop-social-counter) { width:100%; height:min(64vh,650px); object-fit:contain; object-position:center; }
@media(max-width:780px){
 .chanzy-gallery-section > .wrap { padding-inline:20px; }
 .chanzy-gallery-section .section-head { display:block; }
 .chanzy-gallery-section .section-head p { margin-top:15px; }
 .chanzy-gallery-section .chanzy-gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .chanzy-gallery-section .chanzy-gallery-grid .gallery-item:first-child { grid-column:1/-1; }
 #viewer:not(.plan-viewer) img:not(.crop-old-card):not(.crop-social-counter) { height:58vh; }
}
