/* V4: balanced SB Gifts-inspired content rhythm, no edge-to-edge desktop layout */
:root { --max: 1310px; }
.container { width: min(var(--max), calc(100% - 88px)); margin-inline: auto; }
.section { padding-block: 56px; }
.section-heading { margin-bottom: 26px; }
.gallery-grid { display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: auto; gap: 18px; }
.gallery-item,.gallery-large { grid-row: auto; min-width:0; aspect-ratio: 1.36; border-radius: 9px; background:#f3f1ec; }
.gallery-item img { width:100%; height:100%; object-fit:contain; padding: 5px; }
.gallery-item:after { inset:60% 0 0; }
.gallery-item span { font-size: 12px; font-weight:600; letter-spacing:.45px; left: 14px; bottom: 15px; text-shadow: 0 1px 8px #000a; }
@media(max-width:1100px){ .container {width:calc(100% - 56px);} .gallery-grid{gap:14px;} }
@media(max-width:860px){ .container {width:calc(100% - 40px);} .section{padding-block:44px;} .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));} .gallery-item{aspect-ratio:1.3;} }
@media(max-width:560px){ .container{width:calc(100% - 28px);} .section{padding-block:36px;} .gallery-grid{grid-template-columns:1fr;gap:12px;} .gallery-item{aspect-ratio:1.6;} .gallery-item span{font-size:12px;} }
