/* ================= PRODUCT PAGE ================= */
.product-page {
  background: var(--bg-color);
}

.product-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 10px;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.back-link {
  color: var(--secondary-color);
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
}

.whatsapp-icon-btn {
  font-size: 1.6rem;
  color: #25D366;
}

/* ================= PRODUCT CARD PRINCIPAL ================= */
.product-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 25px;
}

.product-image {
  text-align: center;
  margin-bottom: 20px;
}

.product-image img {
  max-width: 100%;
  max-height: 380px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.product-info {
  padding: 0 5px;
}

.rating-badge-row {
  gap: 12px;
  margin-bottom: 12px;
}

.price-action-row {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 20px;
}

.price-left {
  flex: 1;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.discount-badge-large {
  background: var(--discount-red);
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 6px 14px;
  border-radius: 4px;
}

.mega-deal {
  background: #b30000;
  animation: pulse 2s infinite;
}

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

.current-price-large {
  font-size: 2rem;
  font-weight: bold;
  color: var(--discount-red);
  line-height: 1;
}

.old-price-below {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.btn-large {
  background: var(--button-amazon);
  color: #111 !important;
  font-size: 1.15rem;
  font-weight: bold;
  padding: 16px 24px;
  border-radius: var(--border-radius);
  border: 2px solid #a88734;
  width: 100%;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  transition: all 0.2s;
}

.btn-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.btn-disabled {
  background: #ddd;
  color: #777 !important;
  cursor: not-allowed;
}

/* ================= DESCRIÇÃO E FAQ ================= */
.product-description {
  background: white;
  padding: 20px;
  border-radius: var(--border-radius);
  margin-bottom: 25px;
  line-height: 1.6;
}

.faq {
  background: white;
  padding: 20px;
  border-radius: var(--border-radius);
  margin-top: 25px;
}

/* ================= PRODUTOS SEMELHANTES ================= */
.similar-products {
  margin-top: 30px;
}

.similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.similar-grid .card {
  margin: 0;
  height: 100%;
}

/* ================= ANIMAÇÃO MEGA DEAL ================= */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

/* ================= DESKTOP ================= */
@media (min-width: 768px) {
  .product-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
  }

  .product-image {
    margin-bottom: 0;
  }

  .price-action-row {
    flex-direction: row;
    align-items: flex-end;
  }

  .btn-large {
    width: auto;
    min-width: 220px;
  }

  .similar-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}