.gallery-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:24px}.gallery-controls button{border:1px solid #aaa;background:transparent;padding:12px 24px;border-radius:30px;cursor:pointer;font:inherit}.gallery-controls button[aria-pressed=true]{background:#183b36;color:white;border-color:#183b36}#gallery-count{margin-left:auto}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}.gallery-card{border:1px solid #dedad2;background:#fff}.gallery-card[hidden]{display:none}.photo{display:block;background:#e9e5dd;position:relative}.photo img{display:block;width:100%;height:370px;object-fit:contain}.photo span{position:absolute;bottom:12px;right:12px;background:#fff;padding:6px 10px;font-size:12px}.caption{padding:20px}.caption h2{font-size:22px;line-height:1.3;margin:10px 0}.caption small{letter-spacing:.08em;text-transform:uppercase}.review-note{font-size:14px;color:#666}dialog{max-width:94vw;max-height:94vh;border:0;padding:22px;background:#faf8f3}dialog::backdrop{background:#000c}dialog img{display:block;max-width:85vw;max-height:70vh;margin:auto}dialog h2{font-size:20px}#close-photo{display:block;margin:0 0 12px auto;padding:10px 18px;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #a66b32;outline-offset:4px}@media(max-width:900px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.gallery-grid{grid-template-columns:1fr}.photo img{height:360px}#gallery-count{width:100%;margin:0}}
.photo-controls{display:flex;align-items:center;justify-content:space-between;gap:18px}.photo-controls button{padding:10px;font:inherit;cursor:pointer}.photo-controls button:disabled{opacity:.4}#load-more{margin-top:32px}dialog{width:auto}dialog h2{line-height:1.4}

.gallery-controls button{color:#183b36}.gallery-controls button[aria-pressed="true"]{color:#fff}
