.component-card-product {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 24px;
  width: 100%;
  min-height: 480px;
  border-radius: 20px;
  overflow: hidden;
  padding: 32px;
  cursor: pointer;

  @media (min-width: 768px) {
    max-width: calc(50% - 25px);
  }
  @media (min-width: 1200px) {
    min-height: 550px;
    max-width: calc(33% - 29px);
  }

  &:hover {
    .component-card-product-arrow path {
      transform: translate(5px, -5px);
    }

    .component-card-product-image img {
      scale: 1.1;
    }
  }
}

.component-card-product-categories {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  width: fit-content;
  margin-bottom: 16px;

  .component-card-product-categories-title {
    font-family: var(--primary-font);
    color: var(--color-black);
  }

  .component-card-product-categories-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    img {
      width: 100%;
    }
  }
}

.component-card-product-tags {
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  margin-bottom: 16px;
  margin-left: 16px;

  .component-card-product-tags-item {
    white-space: nowrap;
    padding: 3px 10px 3px;
    color: var(--color-light);
    font-weight: 400;
    border: 1px solid var(--color-light);
    border-radius: 100px;
    margin-bottom: 10px;
    margin-left: -16px;
    font-size: 13px;
  }
}

.component-card-product-arrow {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;

  svg {
    width: 55px;
    height: 55px;
  }

  path {
    transition: transform 0.3s ease-in-out;
  }
}

.component-card-product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  background-color: var(--color-black);

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    scale: 1;
    transition: scale 0.3s ease-out;
  }
}

.component-card-product-price {
  position: relative;
  z-index: 1;
  color: var(--color-white);

  del bdi {
    opacity: 0.8;
  }

  ins {
    font-weight: 400;
  }
}

.component-card-product-title {
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  color: var(--color-white);
}

.component-card-product-content {
  position: relative;
  z-index: 1;
  color: var(--color-white);
}
