/* =========================
   HERO
   ========================= */
.product-hero{
  /* BLU SOLO SOPRA, BIANCO SOTTO */
  background: linear-gradient(
    to bottom,
    var(--background-color) 0px,
    var(--background-color) 420px,
    #ffffff 420px,
    #ffffff 100%
  ) !important;

  background-image: none !important;
  padding-top: 100px;
  padding-bottom: 30px;
  position: relative;
}

/* desktop: fascia blu un po’ più alta */
@media (min-width: 992px){
  .product-hero{
    background: linear-gradient(
      to bottom,
      var(--background-color) 0px,
      var(--background-color) 460px,
      #ffffff 460px,
      #ffffff 100%
    ) !important;
  }
}

/* =========================
   TITOLI
   ========================= */
.hero-title{
  margin: 0;
  color:#fff;
  font-weight: 900;
  line-height: 1.03;
  font-size: 28px;
  letter-spacing: -0.5px;
}

.hero-subtitle{
  margin-top: 10px;
  color:#fff;
  opacity: .95;
  font-size: 12px;
  font-weight: 600;
}

@media (min-width: 992px){
  .hero-title{
    font-size: 58px;
    letter-spacing: -1px;
  }
  .hero-subtitle{
    font-size: 14px;
  }
}

/* =========================
   IMMAGINE PRODOTTO
   ========================= */
.product-hero img{
  display:block;
  width: 100%;
  max-width: 560px;
  height: auto;
}

/* =========================
   TABELLA NUTRIZIONALE
   ========================= */
.w-card{
  width: 100%;
}

@media (min-width: 992px){
  .w-card{
    max-width: 400px;
  }
}

.nutrition-card{
  background:#fff;
  border: 1px solid var(--contrast-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0px 15px rgba(0,0,0,.16);
  padding: 10px;
}

/* TABella: serve separate per gap + pillola */
.nutrition-table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 5px;       /* distanza verticale tra le righe */
  font-size: 13px;
  table-layout: fixed;
}

/* header */
.nutrition-table thead th{
  background: var(--contrast-background-color);
  color: #fff;
  padding: 12px;
  text-align: center;
  font-weight: 900;
  line-height: 1.15;
  border-radius: 20px;
}

.nutrition-table thead th span{
  font-weight: 700;
  opacity: .95;
  font-size: 12px;
}

/* celle body (pillola) */
.nutrition-table tbody td{
  background: #E0E0F1;        /* azzurrino */
  padding: 6px 14px;
  border-top: 0;
  vertical-align: top;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* radius pillola su ogni riga */
.nutrition-table tbody tr td:first-child{
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

.nutrition-table tbody tr td:last-child{
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

/* testi */
.nutr-name{
  font-weight: 900;
	font-size: 18px;
	letter-spacing: -6%;
  color: #201F5E;
  width: 62%;
}

.nutr-val{
  text-align: right;
  font-weight: 900;
  color: #201F5E;
  width: 38%;
	font-size: 14px;
	letter-spacing: -6%;
}

.product-body{ background:#fff; padding: 28px 0 30px; }

.product-breadcrumb{ font-weight: 600; margin-top: 10px; }

.product-buy{ text-decoration: none; font-weight: 700; white-space: nowrap; }

.product-description{ margin-top: 18px; font-size: 14px; line-height: 1.55; color: #201F5E; }

.product-section-title{ color: var(--contrast-background-color); font-weight: 900; }

.product-tabs{ background:#fff; padding: 10px 0 40px; }

.product-tabs .nav-tabs .nav-link h6{ margin: 0; font-weight: 900; color: var(--contrast-background-color); }


