/* #### SHOP ################################################################################### */

.shop-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: var(--block-16);
  width: 100%;
  color: var(--shade-7);
}
.shop-header > div:nth-child(2),
.shop-header > div:nth-child(2) a {
  color: var(--shade-6);
}
.shop-header > div:nth-child(3),
.shop-header > div:nth-child(3) a {
  color: var(--shade-7);
}

.shop-header div.logo svg {
  height: var(--block-80);
}
.shop-header div.cross svg {
  height: var(--block-48);
}
.shop-header div.etsy svg {
  height: var(--block-64);
}

main section .shop {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--padding-mid);
  margin-bottom: calc(0rem - var(--padding-mid));
}

.shop a {
  -webkit-backdrop-filter: blur(2px);
  translate: inherit;
  scale: 1;
  backdrop-filter: blur(2px);
  transition:
    scale 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out,
    translate 0.2s ease-in-out;
  margin: 0 var(--block-8) var(--block-16) var(--block-8);
  box-shadow: var(--low-shadow);
  border: var(--content-border);
  border-radius: var(--border-radius-default);
  background-color: var(--content-background);
  padding: var(--block-16);
  min-width: var(--item-width);
  max-width: var(--item-width);
  color: var(--shade-7);
  text-decoration: none;
}
.shop a:hover {
  translate: 0 calc(0rem - var(--block-4));
  scale: 1.05;
  z-index: 2;
  box-shadow: var(--high-shadow);
}
.shop a:not(:hover) {
  animation: zIndexAbove 0.2s;
}

.shop img {
  transition: filter 0.2s ease-in-out;
  border-radius: var(--border-radius-default);
  aspect-ratio: 1 / 1.25;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  object-fit: cover;
  object-position: center;
}
.shop a:not(:hover) img {
  filter: brightness(0.9) saturate(0.66);
}

.shop p.title {
  margin-top: var(--block-8);
  width: 100%;
  overflow: hidden;
  color: var(--shade-5);
  font-weight: 500;
  font-family: var(--font-1);
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop p.price {
  margin-top: var(--block-8);
  width: 100%;
  overflow: hidden;
  color: var(--shade-8);
  font-weight: 500;
  font-size: var(--block-32);
  font-family: var(--font-1);
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-link {
  margin-top: var(--block-32);
  width: 100%;
  font-size: var(--block-32);
  text-align: center;
}

.shop-link svg {
  width: 33%;
}
.shop-link a {
  color: var(--shade-7);
  text-decoration: underline;
}
.shop-link a:hover {
  color: var(--shade-6);
}

/* ################################################################################################ */
/* ################################################################################################ */
/* ################################################################################################ */

@media screen and (max-width: 608px) {
  .shop a {
    margin: 0 0 var(--block-32) 0;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }
  .shop a:not(:hover) img {
    filter: brightness(1) saturate(1);
  }
  .shop a:hover {
    translate: initial;
    scale: initial;
    box-shadow: var(--low-shadow);
  }

  .shop a:last-of-type {
    margin-bottom: 0;
  }

  .shop-link svg {
    width: 75%;
  }
}
