market-collection-grid {
  position: relative;
  display: block;
  padding-top: 60px;
  padding-bottom: 60px;
}
@media (max-width: 768px) {
  market-collection-grid header {
    padding-bottom: 15px;
  }
}
market-collection-grid header > *:empty {
  display: none;
}

market-collection-grid header {
  text-align: center;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}

market-collection-grid header span {
  line-height: 1.25;
  font-size: 1.5rem;
  text-transform: uppercase;
  font-weight: 600;
}

market-collection-grid header h2 {
  font-weight: 700;
  font-size: 2rem;
}

market-collection-grid header p {
  font-weight: 400;
  line-height: 1.5rem;
  font-size: 16px;
  max-width: 640px;
}

@media (max-width: 768px) {
  market-collection-grid header p {
    font-size: 14px;
    line-height: 20px;
  }
}

market-collection-grid [collections] {
  display: flex;
  justify-content: center;
  margin-top: 45px;
  gap: 30px;
  padding: 0 30px;
  overflow: scroll;
}

@media (max-width: 768px) {
  market-collection-grid [collections] {
    gap: 15px;
    padding: 0 15px;
    padding-bottom: 30px;
    justify-content: flex-start;
  }
}

market-collection-grid [collections] a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
  text-decoration: none;
  max-width: 55vw;
}
@media (max-width: 768px) {
  market-collection-grid [collections] a {
    min-width: 55vw;
  }
}
market-collection-grid [collections] a svg-img {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1;
  border-radius: 10px;
  background: color-mix(in srgb, var(--background), var(--text) 8%);
  overflow: hidden;
  width: 100%;
}

market-collection-grid [collections] a svg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

market-collection-grid [collections] a svg-img svg {
  width: 45px;
  height: 45px;
}

market-collection-grid [collections] :is(h3, h4) {
  line-height: 22px;
  font-size: 16px;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  market-collection-grid [collections] :is(h3, h4) {
    font-size: 12px;
    line-height: 18px;
  }
}
