/* ============================================================
   PRODUCT CARD (shop grid + related products)
   Port of ProductCard.tsx (quick-view modal omitted — it had no
   trigger in the source UI, so it never rendered).
   ============================================================ */
.product-card { text-align: center; position: relative; }
.product-card__link { display: block; }
.product-card__media {
  position: relative; aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; overflow: hidden; background: #F9F9F9;
}
@media (width >= 768px) { .product-card__media { margin-bottom: 2rem; } }
.product-card__media-inner { position: relative; width: 100%; height: 100%; padding: 1rem; transition: transform 0.7s; }
@media (width >= 768px) { .product-card__media-inner { padding: 2rem; } }
.product-card__media-inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-card__content { display: flex; flex-direction: column; gap: 0.5rem; padding-bottom: 0.5rem; padding-left: 0.5rem; padding-right: 0.5rem; }
@media (width >= 768px) { .product-card__content { gap: 0.75rem; padding-bottom: 1rem; } }
.product-card__name { font-size: 0.875rem; font-weight: 700; color: #000; line-height: 1.25; transition: color 0.15s; }
@media (width >= 768px) { .product-card__name { font-size: 16px; } }
.product-card__prices { display: flex; align-items: center; gap: 0.5rem; justify-content: center; font-weight: 700; font-size: 11px; }
@media (width >= 768px) { .product-card__prices { gap: 0.75rem; font-size: 12px; } }
.product-card__old { color: #99a1af; text-decoration: line-through; text-decoration-color: rgba(0,0,0,0.3); }
.product-card__price { color: #000; }

.product-card__hover {
  position: absolute; left: 0; right: 0; top: 100%;
  opacity: 0; transform: translateY(1rem); transition: all 0.3s; z-index: 30; pointer-events: none;
}
.product-card:hover .product-card__hover { opacity: 1; transform: translateY(0); pointer-events: auto; }
.product-card__btn {
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid #000; background: #fff; padding: 0.875rem 1.5rem; transition: background 0.3s;
}
.product-card__btn:hover { background: #F9E4E1; }
.product-card__btn span { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; }
.product-card__btn-icon { display: flex; align-items: center; }
.product-card__btn-divider { height: 1.5rem; width: 1px; background: #000; margin-right: 1rem; }
