.gallery-intro{padding:55px 6% 0}.back{display:inline-block;font-size:0.875rem;border-bottom:1px solid var(--line);margin-bottom:50px}.gallery-intro h1{font-size:clamp(2.375rem,4.2vw,4.125rem);letter-spacing:-1.5px}.gallery-lead{font-family:Georgia,serif;font-size:1.5625rem;margin:25px 0 15px}.gallery-intro>p:last-of-type{font-size:1rem;color:var(--muted)}.gallery-meta{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:22px 0;margin-top:45px;font-size:0.875rem;color:var(--muted)}.gallery-grid{padding:12px 6% 80px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:50px 32px}.gallery-photo{display:block;position:relative;background:#e5e1d5}.gallery-photo img{display:block;width:100%;height:auto;aspect-ratio:5/4;object-fit:contain}.gallery-photo .enlarge{position:absolute;bottom:12px;right:12px;background:rgba(242,238,227,.94);padding:7px 12px;font-size:0.875rem}.gallery-photo:hover .enlarge{text-decoration:underline}.gallery-item figcaption{display:flex;justify-content:space-between;gap:16px;padding:17px 0;border-bottom:1px solid var(--line);font-size:0.875rem;letter-spacing:1px}.gallery-item figcaption span:last-child{letter-spacing:.4px;color:var(--muted)}#photo-viewer{border:0;background:var(--paper);color:var(--ink);padding:20px;width:min(1100px,96vw);max-width:96vw;max-height:94dvh}#photo-viewer::backdrop{background:rgba(24,24,20,.82)}.viewer-top,.viewer-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px}.viewer-top{padding-bottom:14px}.viewer-bottom{padding-top:14px}#viewer-title{font-size:0.875rem}#viewer-count{font-size:0.875rem}#photo-viewer button{flex-shrink:0;white-space:nowrap;border:1px solid var(--line);background:transparent;color:inherit;font:0.875rem Arial,sans-serif;min-height:44px;padding:10px 14px;cursor:pointer}#photo-viewer button:hover{background:#e5e1d5}#photo-viewer button:focus-visible{outline:2px solid #78472d;outline-offset:3px}#viewer-image{display:block;width:100%;height:auto;max-height:calc(94dvh - 155px);object-fit:contain}body.viewer-open{overflow:hidden}@media(max-width:900px) and (min-width:621px){header{flex-wrap:wrap}header nav{order:3;width:100%;justify-content:flex-start}}@media(max-width:620px){.gallery-intro{padding:30px 7% 0}.back{margin-bottom:34px}.gallery-intro h1{font-size:2.5rem}.gallery-lead{font-size:1.375rem}.gallery-meta{flex-direction:column;gap:4px;margin-top:30px}.gallery-grid{grid-template-columns:1fr;padding:8px 7% 50px;gap:30px}#photo-viewer{padding:12px}.viewer-bottom{gap:8px}.viewer-top{gap:8px}#viewer-title{font-size:0.875rem}#photo-viewer button{padding:8px 10px}.gallery-item figcaption{font-size:0.875rem}}

/* Separate image-view and Etsy actions; both remain visible on touch screens. */
.gallery-media{position:relative}
.gallery-buy:focus-visible{outline:2px solid #78472d;outline-offset:3px}
@media(max-width:380px){.gallery-photo .enlarge{right:8px;padding:7px 8px}}
.gallery-photo{cursor:zoom-in}

/* Caption above the photo; a slim, full-width purchase bar below it. */
.gallery-meta{padding-top:8px}
.gallery-item figcaption{padding:0 0 12px;border-bottom:0;align-items:baseline;flex-wrap:wrap;gap:4px 16px}
.gallery-item .gallery-buy {
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  width:100%; min-height:52px; padding:10px 17px;
  border:1px solid #78472d; background:#78472d; color:#f2eee3;
  font:500 16px/1.2 Arial,sans-serif;
}
.gallery-buy .buy-copy small { display:block; margin-bottom:3px; font-size:11px; letter-spacing:.025em; color:#f3decb; }
.gallery-buy .buy-copy strong { font:400 21px/1.1 Georgia,serif; }
.gallery-buy .buy-arrow { display:grid; place-items:center; flex:none; width:29px; height:29px; border:1px solid #e5cfba; border-radius:50%; }
.gallery-item .gallery-buy:hover { background:#5c3523; }

/* Video invitation in necklace galleries. */
.necklace-viewer .viewer-top{align-items:flex-start}
.necklace-viewer #viewer-title{margin:0 0 6px}
#viewer-video-note{margin:0;color:var(--muted);font-size:1rem;line-height:1.6}
#viewer-video-note a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.necklace-viewer #viewer-image{max-height:calc(94dvh - 190px)}
@media(max-width:620px){#viewer-video-note{font-size:1rem}.necklace-viewer #viewer-image{max-height:calc(94dvh - 215px)}}

/* Reserve the caption space so the picture stays still when the hint appears. */
#viewer-product{display:block;width:fit-content;max-width:100%;margin-inline:auto;text-align:center}
#viewer-product #viewer-image{width:auto;max-width:100%;max-height:calc(94dvh - 195px);margin-inline:auto}
#viewer-product:focus-visible{outline:2px solid #78472d;outline-offset:3px}
.viewer-product-hint{display:block;margin-top:.3rem;color:var(--muted);font-size:.875rem;line-height:1.5;opacity:0}
#viewer-product[href]:hover .viewer-product-hint,#viewer-product[href]:focus-visible .viewer-product-hint{opacity:1}
#viewer-product:not([href]) .viewer-product-hint{display:none}
.necklace-viewer #viewer-product #viewer-image{max-height:calc(94dvh - 220px)}
@media(hover:none){#viewer-product[href] .viewer-product-hint{opacity:1}}
@media(max-width:620px){.necklace-viewer #viewer-product #viewer-image{max-height:calc(94dvh - 245px)}}

/* Initial focus announces the product title when the viewer opens. */
#photo-viewer #viewer-title:focus { outline: none; }

/* Individual product copy, shown as crawlable text below its photograph. */
.gallery-item .product-description{margin:0;padding:16px 0;font-size:1rem;line-height:1.65;color:var(--muted);letter-spacing:0;overflow-wrap:break-word}
