/* ======== CARD DE PRODUTO - LUNA HAIR CUSTOM ======== */

.product-card {
  background: #fff;
  border: 1px solid #f1f1f1;
  border-radius: 16px;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.product-image {
  position: relative;
  text-align: center;
  background: #fff;
  padding: 20px;
  overflow: hidden;
}

.product-image img {
   transition: transform 0.3s ease;
  max-width: 220px;
  object-fit: contain;
  border-radius: 10px;
  transform-origin: center center; /* 🔥 ESSENCIAL */
}

.product-card:hover .product-image img {
  transform: scale(1.08);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.status-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #000;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 4px 10px;
  z-index: 2;
  text-transform: uppercase;
}

.status-tag.new { background: #6edb00; }
.status-tag.sold-out { background: #999; }

.sold-out-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  color: #444;
  font-size: 1rem;
  text-transform: uppercase;
  z-index: 5;
  backdrop-filter: blur(2px);
}

.sold-out .product-image img {
  filter: grayscale(100%);
  opacity: 0.6;
}

.product-info { padding: 16px; }

.brand {
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}

.product-name {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.4;
  margin-bottom: 10px;
  min-height: 40px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.price-area {
  display: flex;
  flex-direction: column;
}

.old-price {
  text-decoration: line-through;
  color: #aaa;
  font-size: 0.85rem;
}

.new-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: #000;
}

.installments {
  font-size: 0.85rem;
  color: #555;
  margin-top: 2px;
}

.btn-cart {
  background: #E35336;
  border: none;
  padding: 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-cart:hover {
  background: #a82e16;
}

.sold-out .btn-cart {
  background: #ccc;
  cursor: not-allowed;
}

/* ======== ESPAÇAMENTO ENTRE CARDS ======== */

.js-item-product {
  padding: 10px; /* espaço interno entre colunas */
}

.product-card {
  margin-bottom: 40px; /* espaço vertical entre linhas */
}

/* Opcional: se quiser aumentar o espaço lateral entre os cards em grid */
.grid-products,
.item-grid,
.swiper-wrapper {
  gap: 16px !important;
}
