.feral-product-shelf {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 84px 0 48px;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 102, 174, 0.62), transparent 32%),
    radial-gradient(circle at 43% 8%, rgba(223, 255, 179, 0.68), transparent 28%),
    radial-gradient(circle at 77% 58%, rgba(244, 159, 228, 0.78), transparent 34%),
    radial-gradient(circle at 56% 92%, rgba(195, 238, 241, 0.8), transparent 31%),
    #f4d4e5;
  color: #101012;
}

.feral-product-shelf__background {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.feral-product-shelf__background img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feral-product-shelf__inner {
  position: relative;
  z-index: 1;
  width: min(1800px, 100%);
  margin: 0 auto;
  padding: 0 32px;
}

.feral-product-shelf__header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-bottom: 24px;
}

.feral-product-shelf__tabs {
  display: flex;
  gap: 8px;
  justify-self: center;
}

.feral-product-shelf__tabs button {
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #101012;
  cursor: pointer;
  font-family: "Space Mono", monospace;
  font-size: clamp(15px, 1.25vw, 24px);
  letter-spacing: 0.1em;
}

.feral-product-shelf__tabs button.is-active {
  background: #101012;
  color: #fff;
}

.feral-product-shelf__count {
  justify-self: end;
  color: #a4657f;
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.feral-product-shelf__panel[hidden] {
  display: none;
}

.feral-product-shelf .block-product-list {
  background: transparent;
}

.feral-product-shelf .block-product-card__content {
  gap: 0 !important;
  height: 100%;
  overflow: hidden;
  border: 1px solid #101012;
  background: #fff;
}

.feral-product-shelf .block-product-card__layer-image-wrapper {
  background: #f5f4f1;
}

.feral-product-shelf .feral-card-wishlist-bar {
  position: relative;
  z-index: 3;
  flex: 0 0 48px;
  width: 100%;
  height: 48px;
  background: #101012;
}

.feral-product-shelf .feral-card-wishlist-bar .product-list-collect-btn {
  position: static !important;
  inset: auto !important;
  display: flex !important;
  gap: 9px;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  color: #fff !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.feral-product-shelf .feral-card-wishlist-bar .product-list-collect-btn::after {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  line-height: 1;
  content: "ADD TO WISH";
}

.feral-product-shelf .feral-card-wishlist-bar .product-list-collect-btn svg {
  width: 17px !important;
  height: 17px !important;
  color: currentcolor !important;
  fill: none;
}

.feral-product-shelf .feral-product-tag-badge {
  position: absolute;
  z-index: 4;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--feral-badge-padding-y) var(--feral-badge-padding-x);
  color: var(--feral-badge-color);
  background: var(--feral-badge-background);
  border-radius: var(--feral-badge-radius);
  font-family: "Space Mono", monospace;
  font-size: var(--feral-badge-font-size);
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.feral-product-shelf .block-product-card__title {
  padding: 16px 16px 0;
  color: #101012;
  font-family: "Syne", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.feral-product-shelf .block-product-card__price {
  padding: 12px 72px 16px 16px;
  color: #101012;
  font-family: "Space Mono", monospace;
}

.feral-product-shelf .block-product-card__price * {
  font-family: "Space Mono", monospace;
  font-size: 14px;
}

.feral-product-shelf .block-product-list__button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(16, 16, 18, 0.18);
}

.feral-product-shelf__all {
  position: relative;
  display: flex;
  width: min(245px, 70vw);
  min-height: 56px;
  align-items: center;
  justify-content: center;
  margin: 34px auto 0;
  color: #fff !important;
  font-family: "Space Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-decoration: none;
}

.feral-product-shelf__all img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feral-product-shelf__all span {
  position: relative;
}

@media (max-width: 749px) {
  .feral-product-shelf {
    padding: 48px 0 36px;
  }

  .feral-product-shelf__inner {
    padding: 0 18px;
  }

  .feral-product-shelf__header {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feral-product-shelf__tabs {
    justify-self: start;
    width: 100%;
    overflow-x: auto;
  }

  .feral-product-shelf__tabs button {
    flex: none;
    padding: 10px 20px;
  }

  .feral-product-shelf__count {
    justify-self: start;
  }
}
