/* ==========================================================================
   CSS SPECIFICO: SCHEDA SINGOLO PRODOTTO (APPLE CONVERSION STYLE)
   ========================================================================== */

.product-detail-section {
  padding: 40px 0 70px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: #6B7280;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.breadcrumb-nav a {
  color: #4B5563;
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb-nav a:hover {
  color: var(--flame-warm);
}

/* GRIGLIA PRINCIPALE PRODOTTO */
.product-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}

/* COLONNA SINISTRA: FOTO E BADGE */
.product-gallery-card {
  background: #FFFFFF;
  border-radius: 30px;
  padding: 34px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 100px;
}

.product-image-stage {
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, #FFFFFF 0%, #FAF7F2 100%);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 24px;
}

.product-image-stage img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.certifications-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.cert-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cert-gse    { background: #DCFCE7; color: #166534; border: 1px solid #86EFAC; }
.cert-stars  { background: #FEF3C7; color: #B45309; border: 1px solid #FDE68A; }
.cert-energy { background: #EDF7EE; color: #15803D; border: 1px solid #BBF7D0; }

/* COLONNA DESTRA: DETTAGLI & CONVERSIONE */
.product-info-column {
  display: flex;
  flex-direction: column;
}

.brand-chip-detail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFBEB;
  border: 1px solid rgba(217, 119, 6, 0.25);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 800;
  color: #B45309;
  margin-bottom: 14px;
  width: fit-content;
}

.product-title-detail {
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.16;
  color: #1D1D1F;
  margin-bottom: 16px;
}

/* BOX COMMERCIALE PREZZO RISERVATO */
.reserved-price-box {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 2px solid #F59E0B;
  border-radius: 22px;
  padding: 24px;
  margin-bottom: 26px;
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.1);
}

.reserved-price-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.badge-discount-tag {
  background: #D95B16;
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
}

/* BOX NORMA GSE PUFFER SPECIFICO PER CALDAIE */
.puffer-callout-card {
  background: #F0FDF4;
  border: 2px solid #86EFAC;
  border-radius: 20px;
  padding: 20px 24px;
  margin-bottom: 26px;
}

/* TABELLA DATI TECNICI A SCHEDE */
.tech-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 26px 0;
}

.spec-cell {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 14px;
  padding: 14px 16px;
}

.spec-label {
  font-size: 0.76rem;
  font-weight: 800;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
}

.spec-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1D1D1F;
  margin-top: 2px;
  display: block;
}

/* DESCRIZIONE EDITORIALE */
.product-desc-box {
  background: #FFFFFF;
  border-radius: 22px;
  padding: 28px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 1rem;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 26px;
}

/* BOX GARANZIE SHOWROOM */
.product-perks-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 10px;
}

.perk-mini {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1D1D1F;
}

@media (max-width: 1024px) {
  .product-main-grid { grid-template-columns: 1fr; gap: 36px; }
  .product-gallery-card { position: static; }
  .product-image-stage { height: 360px; }
}

@media (max-width: 640px) {
  .tech-specs-grid, .product-perks-strip { grid-template-columns: 1fr; }
}