:root {
  --product-card-width: 240px;
  --product-card-hover-width: 490px;
  --product-card-hover-img-height: 570px;
  --product-card-text-padding: 0;
}

.product-card {
  min-width: var(--product-card-width);
  width: var(--product-card-width);
  margin-right: 5vw;
  /* flex: 1 0 auto; */
  padding-bottom: 140px;
  position: relative;
  transition: all 0.3s 0.1s;
}
.product-card:last-child { margin-right: calc(var(--product-card-hover-width) - var(--product-card-width)); }

.product-card .mobile-click {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;  
}

.product-card .main-inner {
  height: 100%;
  opacity: 1;
  transition: 0.3s 0.3s;
}
.product-card .hover-inner {
  position: absolute;
  top: 0;
  left: 0;
  /* height: calc(100% - 140px); */
  height: calc(100% - 140px);
  width: 100%;
  max-width: 0px;
  overflow: hidden;
  transition: 0.3s;
}
.product-card .text-absolute {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 120px;
  width: 100%;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: 0.2s;
  cursor: pointer;
}

/* hov */
.product-card:hover {
  min-width: var(--product-card-hover-width);
  transition: 0.3s;
}
.product-card:hover .main-inner {
  opacity: 0;
  transition: 0.3s;
}
.product-card:hover .hover-inner {
  max-width: var(--product-card-hover-width);
  transition: 0.3s 0.3s;
}
.product-card:hover .text-absolute {
  opacity: 1;
  max-height: 140px;
  transition: 0.3s 0.3s;
}


.product-card .main-inner img {
  display: block;
  width: var(--product-card-width);
  height: 100%;
  object-fit: contain;
  object-position: bottom;
}
.product-card .hover-inner img {
  display: block;
  /* width: 650px;
  height: 750px; */
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.product-card .text-absolute .line-one {
  border-bottom: solid 2px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.product-card .text-absolute .name-number {
  flex: 1;
  padding-left: var(--product-card-text-padding);
  padding-right: 5px;
}
.product-card .text-absolute .name-number h3 {
  font-size: 29px;
  font-style: normal;
  font-weight: 600;
  line-height: 0.93; /* 93.336% */
  display: inline-block;
}
.product-card .text-absolute .name-number .number {
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: 27px;
}
.product-card .text-absolute .info-icon {
  margin-right: var(--product-card-text-padding);
  cursor: pointer;
}

.product-card .text-absolute .line-two {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: var(--product-card-text-padding);
  padding-right: var(--product-card-text-padding);
}
.product-card .text-absolute .line-two .description {
  max-width: 350px;
  width: calc(100% - var(--product-card-width));
  padding-right: 10px;
  font-size: 14.7px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.62; /* 162.323% */
  flex: 1;
  padding-right: 10px;
  margin-right: auto;
}

.product-card .text-absolute .line-two h4 {
  display: inline;
  font-size: 25px;
  font-style: normal;
  font-weight: 600;
  line-height: 1;
}
.product-card .text-absolute .line-two h4 span {
  font-size: 18px;
}
.product-card .text-absolute .line-two .abv,
.product-card .text-absolute .line-two .dot,
.product-card .text-absolute .line-two .ibu {
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 175%; /* 28px; */
}

.product-card .text-absolute .smaller { display: none; }

.product-card.hidden {
  min-width: 0 !important;
  width: 0 !important;
  margin-right: 0 !important;
  opacity: 0 !important;
  overflow: hidden;
  flex: 0;
  transition: all 0.3s 0.1s;
}

@media (max-width: 951px) {

  .product-card .mobile-click {
    cursor: pointer;
    pointer-events: all;
  }

  /* hover off */
  .product-card:hover {
    min-width: var(--product-card-width);
  }
  .product-card:hover .main-inner {
    opacity: 1;
  }
  .product-card:hover .hover-inner {
    max-width: 0;
  }
  .product-card:hover .text-absolute {
    opacity: 0;
    max-height: 0;
  }
}

@media (max-width: 751px) {
  :root {
    --product-card-width: 180px;
  }
}

@media (max-width: 601px) {
  :root {
    --product-card-width: 140px;
  }
}

