/* Tejori — product card */

/* ---------- product card ---------- */

.pc__media {
  position: relative;
  height: 31.927vw;
  overflow: hidden;
  background: #f3f3f3;
}

.pc__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pc__hit {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.pc__wish {
  position: absolute;
  right: .781vw;
  bottom: .781vw;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  height: 2.344vw;
  padding: .8rem;
  line-height: 0;
  color: var(--c-ink);
  background: #fff;
  border: .1rem solid rgba(18, 18, 18, .08);
  border-radius: 999px;
  transition: transform .15s ease;
}

.pc__wish svg {
  width: 1.406vw;
  height: 1.38vw;
  stroke-width: .083vw;
}

.pc__wish.is-on svg path {
  fill: red;
  stroke: red;
}

.pc__sold {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  padding: 5px 13px 6px;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 1px;
  color: #fff;
  background: #242833;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 40px;
}

.pc__cond {
  position: absolute;
  top: 1.042vw;
  right: 1.042vw;
  z-index: 2;
  display: flex;
  justify-content: center;
  width: 5.874vw;
  height: 1.602vw;
  font-family: var(--ff-alt);
  font-size: .587vw;
  line-height: 1.702vw;
  text-transform: uppercase;
  color: #fff;
  background: #000;
  border-radius: 3.898vw;
}

.pc__info {
  padding-top: 1.406vw;
}

.pc__t {
  margin: 0;
  font-weight: 400;
}

.pc__t a {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 1.042vw;
  font-weight: 600;
  line-height: 1.177vw;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--c-txt);
}

.pc__t a:hover {
  color: var(--c-green);
}

.pc__row {
  display: flex;
  align-items: center;
  gap: 1.563vw;
  margin-top: 1.146vw;
}

.pc__p {
  font-size: 2.083vw;
  font-weight: 700;
  line-height: 1.354vw;
  letter-spacing: normal;
  text-transform: uppercase;
  color: #3e3e3e;
}

/* the button is as wide as its own label, as the original's is — the cap only
   catches a label long enough to crowd the price beside it */
.pc__cta {
  position: relative;
  line-height: 1.4;
  display: block;
  max-width: 10.417vw;
  padding: .547vw .421vw;
  font-size: 1.042vw;
  font-weight: 700;
  letter-spacing: .052vw;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--c-green);
  overflow: hidden;
}

.pc__cta .btn__in {
  gap: .781vw;
  justify-content: center;
}

.pc__cta::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: #000;
  transition: width .4s ease;
}

.pc__cta:hover::before {
  width: 100%;
}

@media (max-width: 767px) {
  .pc__media {
    height: 72.287vw;
  }

  .pc__wish {
    right: 2.273vw;
    bottom: 2.273vw;
    height: 7.344vw;
    padding: 1.136vw 2.273vw;
  }

  .pc__wish svg {
    width: 4.091vw;
    height: 4.091vw;
  }

  .pc__cond {
    top: 2.273vw;
    right: 2.273vw;
    width: 20.268vw;
    height: 5.528vw;
    font-size: 2.027vw;
    line-height: 5.688vw;
    border-radius: 13.451vw;
  }

  .pc__info {
    padding-top: 3.409vw;
  }

  .pc__t a {
    font-size: 3.182vw;
    line-height: 1;
  }

  .pc__row {
    gap: 1.818vw;
    margin-top: 3.409vw;
  }

  .pc__p {
    font-size: 5.455vw;
    line-height: 1;
  }

  .pc__cta {
    display: none;
  }
}
