.gallery-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.25rem; color: #3d2a14; }
.gallery-heading h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; line-height: 1.2; }
.gallery-heading > span { color: #9c784a; font-size: .75rem; }
.nail-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.gallery-photo { position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: .85rem; background: #ece2d0; cursor: zoom-in; }
.gallery-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-photo:hover img { transform: scale(1.035); }
.gallery-expand { position: absolute; bottom: .65rem; right: .65rem; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; background: #fdfbf7eb; color: #3d2a14; border-radius: 50%; font-size: 1rem; pointer-events: none; }
.gallery-more { margin-top: 1.5rem; }
.gallery-more summary { width: fit-content; margin: 0 auto; padding: .65rem 1.3rem; border: 1px solid #dfceb4; border-radius: 2rem; font-size: .8rem; color: #5c4426; cursor: pointer; }
.gallery-more summary:focus-visible { outline: 2px solid #9c784a; outline-offset: 4px; }
.gallery-extra { margin-top: 1.5rem; }
.salon-gallery-heading { margin-top: 4rem; }
.salon-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.salon-gallery .gallery-photo { aspect-ratio: 4 / 3; }
.salon-gallery .salon-feature { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
.gallery-hint { text-align: center; font-size: .75rem; color: #9c784a; margin-top: 1.5rem; }
.gallery-lightbox { padding: 0; border: 0; background: #1c1917; color: #fdfbf7; width: min(1000px, 94vw); max-width: 94vw; max-height: 94dvh; border-radius: .75rem; }
.gallery-lightbox::backdrop { background: #1c1917e8; }
.gallery-lightbox-content { position: relative; padding: 2.8rem 1rem .75rem; }
.gallery-lightbox img { display: block; width: 100%; height: min(72dvh, 800px); object-fit: contain; }
.gallery-close { position: absolute; right: .6rem; top: .2rem; font-size: 2rem; width: 2.5rem; height: 2.5rem; line-height: 1; }
.gallery-lightbox-footer { display: flex; align-items: center; gap: .5rem; margin-top: .75rem; }
.gallery-lightbox-footer p { flex: 1; text-align: center; font-size: .8rem; line-height: 1.5; }
.gallery-lightbox-footer button { flex-shrink: 0; min-width: 44px; min-height: 44px; font-size: 1.5rem; }
html.gallery-is-open { overflow: hidden; }
@media (min-width: 1100px) { .nail-gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); } .gallery-photo { aspect-ratio: 3 / 4; } .gallery-extra { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 850px; margin-left: auto; margin-right: auto; } }
@media (max-width: 640px) { .nail-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; } .gallery-heading { flex-direction: column; gap: .4rem; } .gallery-heading h3 { font-size: 1.6rem; } .salon-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; } .salon-gallery .salon-feature { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; } .salon-gallery-heading { margin-top: 3rem; } }
@media (prefers-reduced-motion: reduce) { .gallery-photo img { transition: none; } .gallery-photo:hover img { transform: none; } }
