/* =========================================================
   COMPONENT — CARD BASE
   ========================================================= */

.pt-card {
  color: #111;
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow .2s;
  display: flex;
  flex-direction: column;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  background: #fff;
  width: 100%;
  height: 100%;
}

.pt-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.10);
}

.pt-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto !important;
}

.pt-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: #f9f9f9;
  position: relative;
  flex-shrink: 0;
}

.pt-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  box-sizing: border-box;
  display: block;
}

.pt-info {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto !important;
}

.pt-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  min-height: calc(1.3em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pt-price {
  font-size: 14px;
  color: #C43B46;
  font-weight: 800;
  margin-top: auto;
}

.pt-price del {
  color: #999;
  font-weight: 500;
  margin-right: 4px;
  font-size: 12px;
}

.pt-price del span {
  color: #999 !important;
}

.pt-price ins {
  text-decoration: none;
}

.pt-price .woocommerce-price-suffix {
  font-size: 11px;
  color: #999;
  font-weight: 500;
}

.pt-empty {
  color: #999;
  font-size: 13px;
}

.shop-onsale {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #C43B46;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
  line-height: 1.4;
}