.block-collection-card {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: rgb(var(--color-background));
}
.block-collection-card__image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: var(--aspect-ratio);
  padding: var(--padding);
  overflow: hidden;
  background-color: rgb(243 243 243 / 100%);
}
.block-collection-card__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: var(--fit-type);
}
.block-collection-card__image-wrapper .empty-image {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
}
.block-collection-card__image-title-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
}
.block-collection-card__image-title-wrapper.is-circle {
  top: 0;
  justify-content: center;
  gap: 16px;
  flex-direction: column;
  text-align: center;
}
.block-collection-card__title h3 {
  display: -webkit-box;
  color: rgb(var(--color-text));
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.block-collection-card__title p {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0;
  color: rgb(var(--color-text), 0.85);
}
.block-collection-card__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  min-width: 48px;
  height: 48px;
  color: rgb(var(--color-button-text));
  background-color: rgb(var(--color-button-background));
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.25s all;
}
.block-collection-card:hover .block-collection-card__button,
.block-collection-card__button:hover {
  border-color: rgb(var(--color-button-text), 0.85);
  background: rgb(var(--color-button-text));
  color: rgb(var(--color-button-background));
}
.block-collection-card__button:hover {
  box-shadow: 0 0 0 5px rgb(var(--color-button-text), 0.35);
}
.block-collection-card__image-wrapper img,
.block-collection-card__button svg {
  transition: transform 0.65s cubic-bezier(.15, .75, .5, 1) 0s;
  backface-visibility: hidden;
}
.block-collection-card__image-wrapper img {
  transform: scale(1.12) translateZ(0);
}
.block-collection-card__button svg {
  transform: scale(1.3) translateZ(0) rotate(180deg);
}
.block-collection-card:hover .block-collection-card__image-wrapper img {
  transform: scale(1) translateZ(0);
}
.block-collection-card:hover .block-collection-card__button svg {
  transform: scale(1) translateZ(0) rotate(180deg);
}
html[dir="rtl"] .block-collection-card__button svg {
  transform: scale(1.3) translateZ(0) rotate(0);
}
html[dir="rtl"] .block-collection-card:hover .block-collection-card__button svg {
  transform: scale(1) translateZ(0) rotate(0);
}
