html,
body {
  background: var(--white);
}

.shop-page {
  min-height: 100vh;

  background: var(--white);
  color: var(--black);
}

.shop-logo {
  width: min(88vw, 1180px);

  margin: 34px auto 0;

  display: flex;
  justify-content: center;
}

.shop-logo img {
  width: min(420px, 82vw);
  height: auto;
  display: block;
}

.shop-hero {
  min-height: 52vh;

  display: flex;
  align-items: flex-start;
  justify-content: center;

  padding: 72px 0 18px;
}

.shop-heading {
  width: min(88vw, 1180px);

  display: flex;
  justify-content: space-between;
  gap: 2rem;

  font-size: 0.78rem;

  line-height: 1.6;

  letter-spacing: 0.22em;

  text-transform: uppercase;
}

.shop-grid-section {
  min-height: 100vh;

  display: flex;
  align-items: flex-start;
  justify-content: center;

  padding: 0 0 96px;
}

.shop-grid {
  width: min(88vw, 1180px);

  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 18px;
}

.shop-category-section {
  min-height: 58vh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 30px 0 18px;
}

.shop-category-hub {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  grid-auto-flow: column;
  grid-template-rows: repeat(4, auto);
  column-gap: 1.4rem;
  row-gap: 0.35rem;

  white-space: nowrap;
}

.shop-item a {
  display: block;
}

.shop-image {
  width: 100%;
  aspect-ratio: 3 / 4;

  background: var(--white);

  overflow: hidden;
}

.shop-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: contain;

  transition:
    transform 0.8s var(--ease),
    filter 0.8s ease,
    opacity 0.8s ease;
}

.shop-item:hover img {
  transform: scale(1.025);
  opacity: 0.92;
}

.shop-info {
  display: flex;
  flex-direction: column;

  gap: 0.25rem;

  margin-top: 0.75rem;

  font-size: 0.66rem;

  line-height: 1.45;

  letter-spacing: 0.16em;

  text-transform: uppercase;
}

.shop-info p:nth-child(2),
.shop-info p:nth-child(3) {
  opacity: 0.48;
}

.shop-navigation {
  min-height: 50vh;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  padding: 28px 0;
}

.shop-index-page .shop-navigation {
  min-height: calc(55vh + 250px);
}

.shop-title {
  position: relative;

  width: fit-content;

  padding-right: 520px;
}

.shop-title > a {
  width: fit-content;
}

.shop-title-submenu {
  position: absolute;

  left: 0;
  top: 0;

  display: grid;
  grid-template-columns: repeat(4, max-content);
  grid-auto-flow: column;
  grid-template-rows: repeat(4, auto);
  column-gap: 1.4rem;
  row-gap: 0.35rem;
  padding-left: 58px;

  opacity: 0;
  pointer-events: none;

  white-space: nowrap;

  transition: opacity 0.35s ease;
}

.shop-title:hover .shop-title-submenu {
  opacity: 1;
  pointer-events: auto;
}

.shop-title-submenu a,
.shop-category-hub a {
  font-size: 0.62rem;
  line-height: 1.6;

  letter-spacing: 0.18em;
  text-transform: uppercase;

  opacity: 0.42;
}

.shop-title-submenu .shop-future-category,
.shop-category-hub .shop-future-category {
  color: currentColor;
  font-size: 0.62rem;
  line-height: 1.6;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: line-through;
  opacity: 0.24;
  cursor: default;
  pointer-events: none;
}

.shop-title-submenu a:hover,
.shop-category-hub a:hover {
  opacity: 1;
  font-weight: 600;
}

.shop-category-hub:hover a {
  opacity: 0.42;
}

.shop-category-hub:hover a:hover {
  opacity: 1;
}

.shop-menu {
  width: min(88vw, 1180px);

  display: flex;
  flex-direction: column;

  gap: 1.1rem;
}

.shop-menu a,
.shop-menu span,
.shop-menu-item,
.shop-menu .site-search {
  width: fit-content;

  font-size: 0.78rem;

  line-height: 1.6;

  letter-spacing: 0.22em;

  text-transform: uppercase;
}

.shop-menu a:hover {
  opacity: 0.45;
}

.shop-menu:hover > a,
.shop-menu:hover > span,
.shop-menu:hover > .shop-menu-item {
  opacity: 0.45;
}

.shop-menu:hover > a:hover,
.shop-menu:hover > .shop-menu-item:hover {
  opacity: 1;
}

.shop-menu:hover > .shop-menu-item:hover > a {
  opacity: 1;
}

.shop-menu:hover .site-search-toggle {
  opacity: 0.45;
}

.shop-menu:hover .site-search:hover .site-search-toggle {
  opacity: 1;
}

.shop-menu span {
  opacity: 0.34;
}

.shop-menu .menu-account {
  margin-top: 1.1rem;
}

@media (max-width: 900px) {
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop-heading {
    flex-direction: column;
  }

  .shop-title {
    padding-right: 0;
  }

  .shop-title-submenu {
    position: static;
    margin-top: 0.35rem;
    padding-left: 0;
    grid-template-columns: 1fr;
  }

  .shop-category-hub {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, max-content));
    grid-template-rows: none;
  }
}

@media (max-width: 520px) {
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.shop-menu-item {
  position: relative;
  width: fit-content;
}

.shop-submenu {
  position: absolute;

  left: 100%;
  top: 50%;

  display: flex;
  gap: 1.4rem;
  padding-left: 18px;

  opacity: 0;
  pointer-events: none;

  white-space: nowrap;

  transform: translateY(-50%);

  transition: opacity 0.35s ease;
}

.shop-menu-item:hover .shop-submenu {
  opacity: 1;
  pointer-events: auto;
}

.shop-submenu a {
  font-size: 0.62rem;
  line-height: 1.6;

  letter-spacing: 0.18em;
  text-transform: uppercase;

  opacity: 0.42;
}

.shop-submenu a:hover {
  opacity: 1;
  font-weight: 600;
}

@media (max-width: 900px) {
  .shop-submenu {
    position: static;
    margin-top: 0.35rem;
    padding-left: 0;
    transform: none;
    flex-wrap: wrap;
  }
}

@media (max-width: 620px) {
  .shop-item:hover img {
    transform: none;
  }

  .shop-logo {
    margin-top: 26px;
  }

  .shop-hero {
    min-height: auto;
    padding: 54px 0 30px;
  }

  .shop-heading {
    gap: 1rem;

    font-size: 0.72rem;
    line-height: 1.55;
    letter-spacing: 0.18em;
  }

  .shop-grid-section {
    min-height: auto;
    padding: 0 0 72px;
  }

  .shop-grid {
    gap: 14px 12px;
  }

  .shop-info {
    font-size: 0.58rem;
    line-height: 1.45;
    letter-spacing: 0.12em;
  }

  .shop-navigation {
    min-height: calc(55vh + 120px);
    padding: 24px 0;
  }

  .shop-index-page .shop-navigation {
    min-height: calc(55vh + 120px);
  }

  .shop-menu {
    gap: 0.95rem;
  }

  .shop-menu a,
  .shop-menu span,
  .shop-menu-item,
  .shop-menu .site-search {
    max-width: 100%;

    font-size: 0.72rem;
    line-height: 1.55;
    letter-spacing: 0.18em;
    white-space: normal;
  }

  .shop-category-section {
    min-height: 50vh;
    padding: 40px 0 26px;
  }

  .shop-title-submenu,
  .shop-category-hub {
    position: static;

    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    column-gap: 0.9rem;
    row-gap: 0.3rem;
    width: min(84vw, 360px);

    margin-top: 0.45rem;
    padding-left: 0;

    opacity: 1;
    pointer-events: auto;
    white-space: normal;
  }

  .shop-title-submenu a,
  .shop-title-submenu .shop-future-category,
  .shop-category-hub a,
  .shop-category-hub .shop-future-category,
  .shop-submenu a {
    font-size: 0.58rem;
    line-height: 1.55;
    letter-spacing: 0.14em;
    white-space: normal;
  }

  .shop-submenu {
    gap: 0.35rem 0.9rem;
    opacity: 1;
    pointer-events: auto;
    white-space: normal;
  }
}
