div.group.cursor-pointer:has(a[href^="/shop/"] img) {
  cursor: pointer;
}

div.group.cursor-pointer:has(a[href^="/shop/"] img) > div.relative:has(> a[href^="/shop/"] img) {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  aspect-ratio: auto !important;
  height: auto !important;
  margin-bottom: 14px !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
}

div.group.cursor-pointer:has(a[href^="/shop/"] img) > div.relative:has(> a[href^="/shop/"] img) > a[href^="/shop/"] {
  display: block !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, .07) !important;
  border-radius: 14px !important;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .1), transparent 56%),
    rgba(255, 255, 255, .045) !important;
}

div.group.cursor-pointer:has(a[href^="/shop/"] img) img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  padding: 10px !important;
}

div.group.cursor-pointer:has(a[href^="/shop/"] img):hover img {
  transform: scale(1.025) !important;
}

div.group.cursor-pointer:has(a[href^="/shop/"] img):focus-within > div.relative,
div.group.cursor-pointer:has(a[href^="/shop/"] img):hover > div.relative {
  border-color: rgba(255, 255, 255, .18) !important;
}

div.group.cursor-pointer:has(a[href^="/shop/"] img) > div.relative:has(> a[href^="/shop/"] img) > span.absolute {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  max-width: calc(100% - 54px) !important;
  min-height: 30px !important;
  margin: 0 !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  background: rgba(255, 255, 255, .08) !important;
  color: rgba(255, 255, 255, .78) !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

div.group.cursor-pointer:has(a[href^="/shop/"] img) > div.relative:has(> a[href^="/shop/"] img) > button.absolute {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 40px !important;
  width: 40px !important;
  height: 40px !important;
  opacity: 1 !important;
  transform: none !important;
  box-shadow: none !important;
}

@media (max-width: 640px) {
  div.group.cursor-pointer:has(a[href^="/shop/"] img) > div.relative:has(> a[href^="/shop/"] img) {
    gap: 8px !important;
    margin-bottom: 12px !important;
  }

  div.group.cursor-pointer:has(a[href^="/shop/"] img) img {
    padding: 8px !important;
  }

  div.group.cursor-pointer:has(a[href^="/shop/"] img) > div.relative:has(> a[href^="/shop/"] img) > span.absolute {
    min-height: 28px !important;
    padding-inline: 10px !important;
  }

  div.group.cursor-pointer:has(a[href^="/shop/"] img) > div.relative:has(> a[href^="/shop/"] img) > button.absolute {
    flex-basis: 38px !important;
    width: 38px !important;
    height: 38px !important;
  }
}
