/* =============================================================================
   GRIFE FACAS SG - v8
   Repaginacao visual dos cards e secoes de produto (dark + dourado).
   Carregado depois do style-sg-v7.css.
============================================================================= */

/* // Card de produto: acabamento premium */

.item.product-container {
  position: relative;
  background: var(--sg-surface);
  border: 1px solid var(--sg-line);
  border-radius: 6px;
  overflow: hidden;
  padding: 0;
}

.item.product-container:hover {
  border-color: var(--sg-gold-soft);
  transform: translateY(-4px);
  box-shadow: 0 28px 52px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px var(--sg-gold-faint);
}

/* // Moldura da imagem */

.item .item-image {
  position: relative;
  background: radial-gradient(120% 90% at 50% 0%, rgba(212, 175, 55, 0.07), transparent 62%);
}

.item .item-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom: 1px solid var(--sg-line);
  pointer-events: none;
}

.item .item-image img {
  transition: transform 0.8s var(--sg-ease);
}

.item:hover .item-image img {
  transform: scale(1.05);
}

/* // Bloco de texto */

.item .item-description {
  padding: 16px 18px 20px;
}

/* // Marca */

.item .item-brand {
  display: inline-block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--sg-gold);
  opacity: 0.9;
}

.item .item-brand:hover {
  opacity: 1;
  color: var(--sg-gold);
}

/* // Nome */

.item .item-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.14rem;
  font-weight: 500;
  line-height: 1.24;
  color: var(--sg-text);
}

/* // Precos */

.item .item-price-container {
  border-top: 1px solid var(--sg-line);
  margin-top: 12px;
  padding-top: 12px;
}

.item .item-price {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  color: var(--sg-gold);
}

.item .price-compare {
  font-size: 0.8rem;
  color: var(--sg-muted);
}

.item .item-installments,
.item .item-price-container .order-2,
.item .item-price-container .order-3 {
  font-size: 0.78rem;
  color: var(--sg-muted);
}

/* // Selos / etiquetas (ultima peca, sem estoque, frete gratis) */

.item .labels .label,
.product-detail .labels .label {
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.56rem;
  font-weight: 600;
  padding: 5px 11px;
  border: 1px solid var(--sg-gold-soft);
  background: rgba(11, 11, 11, 0.88);
  color: var(--sg-gold);
}

.item .labels .label-accent {
  background: var(--sg-gold);
  color: var(--sg-bg);
  border-color: var(--sg-gold);
}

.item .labels .label-stock {
  background: rgba(11, 11, 11, 0.88);
  color: var(--sg-text);
  border-color: var(--sg-line);
}

/* // Botao de compra do card */

.item .item-actions {
  margin-top: 14px;
}

.item .item-actions .btn-add-to-cart,
.item .item-submit-container .btn-add-to-cart {
  border-radius: 3px;
  width: 100%;
}

/* // Espacamento das secoes de produto */

.section-featured-products-home .section-title,
.section-new-products-home .section-title,
.section-sale-products-home .section-title,
.section-promotion-products-home .section-title,
.section-best-seller-products-home .section-title {
  margin-bottom: 30px;
}

.row-grid .item-product {
  margin-bottom: 26px;
}

/* // Listagens (categoria / busca) */

.category-body .item.product-container,
.js-product-table .item.product-container {
  height: 100%;
}

@media (max-width: 767px) {
  .item .item-description {
    padding: 12px 12px 16px;
  }

  .item .item-name {
    font-size: 1rem;
  }

  .item .item-price {
    font-size: 1.32rem;
  }

  .row-grid .item-product {
    margin-bottom: 18px;
  }
}
