:root {
  --color-brown: #382921;
  --color-cream: #f7f3ed;
  --color-muted: #aaa5a0;
}

.store-page-preview {
  min-width: 320px;
  margin: 0;
  color: var(--color-brown);
  background: var(--color-cream);
  font-family: "Nunito", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

.store-page-preview *,
.store-page-preview *::before,
.store-page-preview *::after {
  box-sizing: border-box;
}

.store-page-preview .oc-container {
  width: 100%;
  max-width: 1430px;
  margin: 0 auto;
  padding-right: 16px;
  padding-left: 16px;
}

/* Store hero +++ */

.store-hero {
  min-height: 500px;
  padding: 8px 0 88px;
  background: var(--color-cream);
}

.store-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 10px;
  min-height: 24px;
  color: var(--color-muted);
  font-size: 13px;
}

.store-breadcrumbs a {
  color: var(--color-brown);
  text-decoration: none;
}

.store-breadcrumbs a:hover,
.store-breadcrumbs a:focus {
  opacity: .65;
}

.store-breadcrumbs a:focus-visible {
  outline: 2px solid #9d7d68;
  outline-offset: 3px;
}

.store-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
  padding-top: 55px;
}

.store-hero__content {
  min-width: 0;
}

.store-hero__content h1 {
  margin: 0 0 27px;
  color: #171513;
  font-family: "Playfair Display SC", Georgia, serif;
  font-size: clamp(36px, 3vw, 46px);
  font-weight: 400;
  line-height: .98;
}

.store-hero__content p {
  max-width: 390px;
  margin: 0;
  color: #171513;
  font-size: 16px;
  line-height: 1.42;
}

.store-hero__media {
  min-width: 0;
  overflow: hidden;
  border-radius: 3px;
  background: #ded7cf;
  aspect-ratio: 1.95 / 1;
}

.store-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Store hero --- */

/* Store location +++ */

.store-location {
  padding: 48px 0 82px;
  color: var(--color-brown);
  background: var(--color-cream);
}

.store-location .section-head__title {
  margin: 0;
  padding-bottom: 58px;
  color: var(--color-brown);
  font-family: "Playfair Display SC", Georgia, serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  line-height: 1;
}

.store-location__layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(280px, 1fr);
  align-items: start;
  gap: 16px;
}

.store-location__map {
  height: 322px;
  overflow: hidden;
  border-radius: 2px;
  background: #ded7cf;
}

.store-location__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.store-location__aside {
  min-width: 0;
}

.store-location__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.store-location__contact {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  font-size: 16px;
  line-height: 1.35;
  text-decoration: none;
}

.store-location__contact img {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

a.store-location__contact:hover,
a.store-location__contact:focus {
  opacity: .65;
}

.store-location__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  margin-top: 20px;
  padding: 8px 20px;
  border: 1px solid var(--color-brown);
  border-radius: 2px;
  color: #fff;
  background: var(--color-brown);
  font-size: 15px;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}

.store-location__button:hover,
.store-location__button:focus {
  color: var(--color-brown);
  background: transparent;
}

/* Store location --- */

/* Store gallery +++ */

.store-gallery {
  padding: 52px 0 76px;
  color: var(--color-brown);
  background: var(--color-cream);
}

.store-gallery .section-head__title {
  margin: 0;
  padding-bottom: 58px;
  color: var(--color-brown);
  font-family: "Playfair Display SC", Georgia, serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  line-height: 1;
}

.store-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.store-gallery__item {
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: 3px;
  background: #ded7cf;
  aspect-ratio: 1 / 1;
}

.store-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, opacity .2s ease;
}

.store-gallery__item:hover img,
.store-gallery__item:focus img {
  opacity: .9;
  transform: scale(1.025);
}

.store-gallery__item:focus-visible {
  outline: 2px solid #9d7d68;
  outline-offset: 3px;
}

.mfp-bg {
  background: #17110e;
  opacity: .92;
}

.mfp-image-holder .mfp-close,
.mfp-arrow {
  color: #fff;
}

/* Store gallery --- */

@media (max-width: 1199px) {
  .store-hero__grid {
    grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
    gap: 42px;
  }

  .store-location__layout {
    grid-template-columns: minmax(0, 2fr) minmax(270px, 1fr);
  }

  .store-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .store-hero {
    padding-bottom: 70px;
  }

  .store-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding-top: 44px;
  }

  .store-hero__content p {
    max-width: 680px;
  }

  .store-hero__media {
    aspect-ratio: 1.8 / 1;
  }

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

  .store-location__aside {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, .6fr);
    align-items: end;
    gap: 28px;
  }

  .store-location__button {
    margin-top: 0;
  }

  .store-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .store-hero {
    min-height: 0;
    padding-bottom: 56px;
  }

  .store-hero__grid {
    padding-top: 36px;
  }

  .store-hero__content h1 {
    margin-bottom: 22px;
    font-size: 34px;
    line-height: 1.05;
  }

  .store-hero__media {
    aspect-ratio: 1.5 / 1;
  }

  .store-location {
    padding: 52px 0 60px;
  }

  .store-location .section-head__title {
    padding-bottom: 38px;
  }

  .store-location__map {
    height: 300px;
  }

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

  .store-location__contact {
    font-size: 15px;
  }

  .store-gallery {
    padding: 52px 0 60px;
  }

  .store-gallery .section-head__title {
    padding-bottom: 38px;
  }

  .store-gallery__grid {
    gap: 10px;
  }
}

@media (max-width: 479px) {
  .store-hero__content h1 {
    font-size: 30px;
  }

  .store-hero__media {
    aspect-ratio: 1.2 / 1;
  }

  .store-location .section-head__title {
    font-size: 26px;
  }

  .store-location__map {
    height: 260px;
  }

  .store-gallery .section-head__title {
    font-size: 26px;
  }
}
