.store-photo-page {
  --gallery-ink: #10233f;
  --gallery-muted: #5d6877;
  --gallery-orange: #f59f00;
  --gallery-yellow: #ffc400;
  --gallery-surface: #fffaf0;
  color: var(--gallery-ink);
  padding-bottom: 54px;
}

.store-photo-breadcrumb {
  margin-bottom: 22px;
}

.store-photo-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 38px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(245, 159, 0, .28);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 18%, rgba(255, 196, 0, .34), transparent 29%),
    linear-gradient(135deg, #fffdf7 0%, #fff5d4 100%);
  box-shadow: 0 16px 42px rgba(16, 35, 63, .09);
}

.store-photo-hero::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -72px;
  width: 210px;
  height: 210px;
  border: 34px solid rgba(245, 159, 0, .12);
  border-radius: 50%;
  pointer-events: none;
}

.store-photo-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gallery-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.store-photo-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 18px 0 12px;
  color: var(--gallery-ink);
  font-size: clamp(30px, 4.2vw, 50px);
  font-weight: 800;
  line-height: 1.08;
}

.store-photo-hero p {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0;
  color: #445166;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
}

.store-photo-section {
  margin-top: 42px;
}

.store-photo-section__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 3px solid #ffe180;
}

.store-photo-section__heading h2 {
  margin: 0;
  color: var(--gallery-ink);
  font-size: clamp(23px, 3vw, 31px);
  font-weight: 800;
  line-height: 1.2;
}

.store-photo-section__heading > span {
  flex: 0 0 auto;
  color: var(--gallery-muted);
  font-size: 14px;
  font-weight: 700;
}

.store-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.store-photo-card {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #e9edf2;
  box-shadow: 0 10px 28px rgba(16, 35, 63, .13);
  color: #fff;
  aspect-ratio: 4 / 3;
  isolation: isolate;
}

.store-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}

.store-photo-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(9, 25, 48, .86));
  pointer-events: none;
}

.store-photo-card span {
  position: absolute;
  z-index: 1;
  right: 17px;
  bottom: 15px;
  left: 17px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.32;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .42);
}

.store-photo-card:hover img,
.store-photo-card:focus-visible img {
  transform: scale(1.035);
}

.store-photo-card:focus-visible {
  outline: 4px solid var(--gallery-yellow);
  outline-offset: 3px;
}

.store-photo-lightbox[hidden] {
  display: none;
}

.store-photo-lightbox {
  position: fixed;
  z-index: 1100;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(54px, 1fr) minmax(0, 1180px) minmax(54px, 1fr);
  align-items: center;
  padding: 28px;
  background: rgba(5, 15, 30, .95);
}

.store-photo-lightbox figure {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-height: calc(100vh - 56px);
  margin: 0;
}

.store-photo-lightbox figure img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 128px);
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .35);
}

.store-photo-lightbox figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  padding: 12px 12px 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.35;
  text-align: center;
}

.store-photo-lightbox figcaption small {
  color: #ffd65a;
  font-size: 14px;
  font-weight: 700;
}

.store-photo-lightbox button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  background: rgba(255, 255, 255, .13);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.store-photo-lightbox button:hover,
.store-photo-lightbox button:focus-visible {
  border-color: var(--gallery-yellow);
  background: var(--gallery-yellow);
  color: var(--gallery-ink);
  outline: none;
}

.store-photo-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.store-photo-lightbox__nav {
  justify-self: center;
}

.store-photo-lightbox__nav--prev {
  grid-column: 1;
}

.store-photo-lightbox__nav--next {
  grid-column: 3;
}

body.store-photo-lightbox-open {
  overflow: hidden;
}

@media (max-width: 991px) {
  .store-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  body.store-photo-page-active .site-header .site-header__inner {
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  body.store-photo-page-active .site-header .site-header__logo {
    flex: 0 1 150px !important;
    width: 150px !important;
  }

  body.store-photo-page-active .site-header .site-header__logo img {
    max-width: 150px !important;
  }

  body.store-photo-page-active .site-header .site-header__search {
    flex: 1 1 100% !important;
    min-width: 0 !important;
    order: 5 !important;
    width: 100% !important;
  }

  body.store-photo-page-active .site-mainnav {
    overflow: hidden;
  }

  body.store-photo-page-active .site-mainnav__inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  body.store-photo-page-active .site-mainnav__link {
    flex: 0 0 auto;
  }
}

@media (max-width: 600px) {
  .store-photo-page {
    padding-bottom: 36px;
  }

  .store-photo-breadcrumb {
    margin-bottom: 14px;
  }

  .store-photo-hero {
    margin-bottom: 30px;
    padding: 25px 20px;
    border-radius: 18px;
  }

  .store-photo-label {
    min-height: 29px;
    font-size: 11px;
  }

  .store-photo-section {
    margin-top: 34px;
  }

  .store-photo-section__heading {
    align-items: flex-start;
    gap: 10px;
  }

  .store-photo-section__heading h2 {
    font-size: 23px;
  }

  .store-photo-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .store-photo-card {
    border-radius: 14px;
  }

  .store-photo-card span {
    right: 14px;
    bottom: 13px;
    left: 14px;
  }

  .store-photo-lightbox {
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    align-items: end;
    gap: 8px;
    padding: 70px 12px 18px;
  }

  .store-photo-lightbox figure {
    grid-column: 1 / -1;
    grid-row: 1;
    max-height: calc(100vh - 150px);
  }

  .store-photo-lightbox figure img {
    max-height: calc(100vh - 208px);
  }

  .store-photo-lightbox__nav {
    grid-row: 2;
  }

  .store-photo-lightbox__nav--prev {
    grid-column: 1;
  }

  .store-photo-lightbox__nav--next {
    grid-column: 3;
  }

  .store-photo-lightbox__close {
    top: 12px;
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-photo-card img {
    transition: none;
  }
}
