/* Premium Product Cards Styles */
.premium-card {
  position: relative;
  background: var(--bg-card);
  border-radius: 0px !important; /* Swiss Sharp */
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  background-image: none !important;
  backdrop-filter: none !important;
}

body.theme-dark .premium-card, body.theme-red .premium-card {
  background-image: linear-gradient(135deg, rgba(30,30,30,0.6), rgba(20,20,20,0.2));
}

.premium-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Badge Superior */
.card-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--primary);
  color: #FFF;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 8px 15px;
  border-radius: 0 !important;
  z-index: 10;
  letter-spacing: 2px;
}

/* Imagem Maior e com Fundo Elegante */
/* Imagem Maior e com Fundo Elegante */
.product-image-container {
  width: 100%;
  height: 220px; /* Aumentado para mais destaque */
  background: #FFFFFF !important; /* Branco sólido para fundir com o fundo das fotos */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0px !important; /* Removido para a imagem colar aos limites e preencher tudo */
  transition: background 0.3s;
}

body.theme-dark .product-image-container, body.theme-red .product-image-container {
  background: #FFFFFF !important; /* Mantém branco para as fotos aparecerem limpas */
}

.premium-card .product-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  filter: none !important; /* Removida a sombra cinzenta que incomodava o utilizador */
}

.premium-card:hover .product-image {
  transform: scale(1.08) translateY(-5px);
}

/* Conteúdo */
.premium-card .product-content {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.premium-card .product-category {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 8px;
}

.premium-card .product-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.premium-card .product-short-info {
  font-size: 12px;
  color: var(--text-secondary);
  background: rgba(0,0,0,0.04);
  padding: 5px 10px;
  border-radius: 6px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 12px;
  font-weight: 600;
}

body.theme-dark .premium-card .product-short-info, body.theme-red .premium-card .product-short-info {
  background: rgba(255,255,255,0.05);
}

.premium-card .product-price-section {
  margin-top: auto;
  margin-bottom: 12px;
}

.premium-card .product-price {
  font-size: 24px;
  font-weight: 900;
  color: var(--text-accent);
  letter-spacing: -0.5px;
}

.premium-card .premium-add-btn {
  width: 100%;
  background: #000;
  color: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  padding: 14px;
  border-radius: 0 !important;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.premium-card .premium-add-btn ion-icon {
  font-size: 20px;
}

.premium-card .premium-add-btn:hover {
  background: var(--primary);
  color: #FFF;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--primary-glow);
}

/* --- ESTILO NCR PREMIUM (NOVO) --- */
.product-card.ncr-style {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #EDEDED;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
}

.product-card.ncr-style:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transform: translateY(-5px);
}

.product-card.ncr-style .product-image-container {
  height: 250px;
  background: #FFF;
  padding: 20px;
  position: relative;
}

.product-card.ncr-style .product-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-card.ncr-style .product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #000;
  color: #FFF;
  font-size: 9px;
  font-weight: 800;
  padding: 4px 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-info-premium {
  padding: 15px 20px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.brand-label {
  color: var(--primary);
  font-weight: 800;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 5px;
}

.product-name-ncr {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1A1A1A;
  margin: 0 0 15px 0;
  line-height: 1.4;
  height: 42px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price-container {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price-ncr {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: #000;
  letter-spacing: -0.5px;
}

.add-to-cart-ncr {
  background: #F5F5F5;
  color: #000;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-to-cart-ncr ion-icon {
  font-size: 20px;
}

.add-to-cart-ncr:hover {
  background: var(--primary);
  color: #FFF;
  transform: rotate(90deg);
}
