/* Final photo layout layer. Keep after page-specific styles. */
@media (max-width: 768px) {
  .hero--slider {
    background: #080508 !important;
  }

  .hero--slider::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url("../images/hero-brand.webp") center / cover no-repeat;
    opacity: .48;
    pointer-events: none;
  }
}

.shop-storefront-card {
  display: block;
  min-width: 0;
  color: inherit;
}

.shop-storefront-strip figure {
  min-width: 0;
  margin: 0;
  background: #0d090e;
  border-right: 1px solid rgba(255, 255, 255, .16);
  transition: border-color .2s ease, background .2s ease;
}

.shop-storefront-card:last-child figure { border-right: 0; }

.shop-storefront-strip figure > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 0;
}

.shop-storefront-strip figcaption {
  display: grid;
  gap: .2rem;
  min-height: 64px;
  padding: .85rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.shop-storefront-strip figcaption strong { font-size: .8rem; line-height: 1.25; }
.shop-storefront-strip figcaption span { display: flex; justify-content: space-between; gap: .75rem; color: var(--muted); font-size: .72rem; }
.shop-storefront-strip figcaption b { color: var(--pink); font-size: .9rem; transition: transform .2s ease; }
.shop-storefront-card:hover figure { border-color: var(--pink); background: #1a0d17; }
.shop-storefront-card:hover figcaption b { transform: translateX(3px); }
.shop-storefront-card:focus-visible { position: relative; z-index: 1; outline: 3px solid #fff; outline-offset: 3px; }

.shop-location-row__media {
  position: relative;
  width: min(100%, 440px);
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #130b12;
  border: 1px solid rgba(247, 37, 169, .42);
}

.shop-location-row__media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.05);
  transition: transform .5s ease;
}

.shop-location-row:hover .shop-location-row__media > img { transform: scale(1.025); }

.shop-location-row__photo-index {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: var(--pink);
  color: #16040f;
  font: 18px var(--display);
}

@media (min-width: 901px) {
  .shop-location-row {
    grid-template-columns: minmax(320px, 440px) minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 6rem);
    align-items: center;
  }
}

@media (min-width: 701px) and (max-width: 900px) {
  .shop-location-row__media { justify-self: start; }
}

@media (max-width: 700px) {
  .shop-assortment { overflow: hidden; }

  .shop-storefront-strip {
    display: flex;
    grid-template-columns: none;
    gap: .75rem;
    margin-inline: calc((100vw - 100%) * -.5);
    padding: 0 max(1rem, calc((100vw - 100%) * .5)) .75rem;
    overflow-x: auto;
    border: 0;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1rem;
    overscroll-behavior-inline: contain;
  }

  .shop-storefront-card {
    flex: 0 0 min(82vw, 340px);
    scroll-snap-align: start;
  }

  .shop-storefront-strip figure {
    height: 100%;
    border: 1px solid rgba(255, 255, 255, .16);
  }

  .shop-storefront-card:last-child figure { border-right: 1px solid rgba(255, 255, 255, .16); }
  .shop-storefront-strip figcaption { min-height: 60px; padding: .75rem .9rem; }

  .shop-location-row { gap: 0; padding: 1.5rem 0 2.25rem; }

  .shop-location-row__media {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .shop-location-row__media > img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
  }

  .shop-location-row__content { padding-top: 1.25rem; }
  .shop-location-row h3 { margin: .45rem 0 .75rem; font-size: clamp(1.8rem, 9vw, 2.5rem); }
  .shop-location-row address { font-size: .95rem; line-height: 1.5; }
  .shop-location-row p { margin: .55rem 0; }

  .club-gallery__grid,
  .shop-gallery__grid {
    gap: .75rem;
    margin-inline: calc((100vw - 100%) * -.5);
    padding: 0 max(1rem, calc((100vw - 100%) * .5)) .75rem;
    scroll-padding-inline: 1rem;
    overscroll-behavior-inline: contain;
  }

  .club-gallery__item,
  .club-gallery__item--lead,
  .shop-gallery__item,
  .shop-gallery__item--lead {
    display: grid;
    grid-template-rows: auto minmax(56px, auto);
    flex: 0 0 min(86vw, 360px);
    min-height: 0;
    clip-path: none;
    border: 1px solid rgba(255, 255, 255, .16);
    background: #120b13;
  }

  .club-gallery__item img,
  .shop-gallery__item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .club-gallery__item span,
  .shop-gallery__item span {
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    padding: .8rem .9rem;
    background: #120b13;
    font-size: .9rem;
    line-height: 1.35;
  }

  .gallery-more { float: none; margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .shop-storefront-strip figure,
  .shop-storefront-strip figcaption b,
  .shop-location-row__media > img { transition: none; }
  .shop-storefront-card:hover figcaption b,
  .shop-location-row:hover .shop-location-row__media > img { transform: none; }
}
