.lens-gallery {
  padding:clamp(1.5rem,3vw,2.75rem) max(6vw,calc((100vw - 74rem)/2));
  background:#090f19;
  color:#f4f7ff;
}
.comparison-heading,.featured-comparison {max-width:32rem;margin-inline:auto}
.comparison-heading h2 {margin:0;font-size:clamp(1.4rem,2.3vw,2rem);line-height:1.1;letter-spacing:-.045em}
.featured-comparison {margin-block:.85rem .5rem}
.comparison-slide {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr);
  gap:.3rem;min-width:0;min-height:0;margin:0;
}
.comparison-slide > svg {display:block;width:100%;height:100%;min-width:0;min-height:0}
.featured-comparison .comparison-slide {aspect-ratio:1.66}
.gallery-open,#photo-viewer button {
  min-height:44px;padding:.4rem 1rem;border:1px solid #78859b;border-radius:2rem;
  background:#111c2a;color:#f4f7ff;font:inherit;cursor:pointer;
}
.gallery-open {display:block;margin:.8rem auto 0}
.gallery-open[hidden] {display:none}
.gallery-open:hover,#photo-viewer button:hover {border-color:#dce2e8}
#photo-viewer {
  position:fixed;inset:0;box-sizing:border-box;
  width:100%;height:100%;height:100dvh;max-width:none;max-height:none;margin:0;border:none;
  padding: max(1rem,env(safe-area-inset-top)) max(4vw,env(safe-area-inset-right)) max(1rem,env(safe-area-inset-bottom)) max(4vw,env(safe-area-inset-left));
  background:#080e17;color:#f4f7ff;
}
#photo-viewer[open] {display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:1rem}
html:has(#photo-viewer[open]) {overflow:hidden}
.viewer-heading,.viewer-navigation {display:flex;align-items:center;gap:1rem}
.viewer-heading {justify-content:space-between}
.viewer-heading h2 {margin:0;font-size:clamp(1.2rem,2.5vw,2rem)}
.viewer-photo {width:100%;max-width:80rem;min-height:0;margin:auto;height:100%}
.viewer-photo .comparison-slide {height:100%}
.viewer-navigation {justify-content:center;font-variant-numeric:tabular-nums}
@media (max-width:600px) {
  .viewer-photo .comparison-slide:not(.portrait-pair) {grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(2,minmax(0,1fr))}
}
.lens-gallery :focus-visible {outline:2px solid #ffe600;outline-offset:2px}
.gallery-reviews {
  margin:clamp(1rem,2.5vw,2rem) auto 0;
  max-width:64rem;
  scroll-margin-top:5rem;
}
.gallery-reviews h3 {margin:0 0 1rem;font-size:clamp(1.5rem,3vw,2.25rem);letter-spacing:-.035em}
.gallery-review-list {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));gap:1.5rem}
.gallery-review-list > div {padding-top:1rem;border-top:1px solid #506079}
.gallery-review-list blockquote {margin:0;font-size:1.05rem;line-height:1.65}
.review-stars {display:block;margin-bottom:.45rem;color:#ffe600;letter-spacing:.12em}
.reviews-header {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem 1rem;border-top:1px solid #dce2e834;padding-top:1rem}
.reviews-header h3 {margin:0}
.review-action {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.35rem 1.1rem;border-radius:2rem;background:#ffe600;color:#101626;font-weight:700;text-decoration:none}
.review-action:hover {background:#fff178}
.reviews-disclosure summary {width:fit-content;min-height:44px;padding:.65rem .2rem;color:#dce2e8;cursor:pointer}
.reviews-disclosure summary:hover {color:#fff}
.reviews-open-label,.reviews-disclosure[open] .reviews-closed-label {display:none}
.reviews-disclosure[open] .reviews-open-label {display:inline}
.reviews-disclosure .gallery-review-list {margin-top:.65rem}
