/* ============================================================
   Champagne product page — custom sections
   Scope: .page-product — safe, no global side effects
   ============================================================ */



@font-face {
  font-family: 'Adlery';
  src: url('Adlery_TRIAL.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
    --black: #000;
    --white: #fff;
    --primary: #d5ad70;
    --second: #000;
    --gold: #d5ad70;
}

.tt-producttitle {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.1rem;
  font-weight: 300;
  color: #000;
  text-align: center;
  border-bottom: none;
  margin-bottom:20px;
  line-height: normal;

}

/* ---- Variables locales ---- */
.page-product {
  --champ-gold:      #C49A3C;
  --champ-gold-light:#F5E6B8;
  --champ-border:    rgba(196,154,60,.25);
  --champ-text:      #2C2A22;
  --champ-muted:     #6B6555;
  --champ-bg:        #FDFBF6;
  --champ-radius:    12px;
}

/* ============================================================
  TITRE
   ============================================================ */

.champagne-product-heading {
  display: grid;
  grid-template-columns: 95px minmax(0, 1fr) 95px;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.champagne-product-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.champagne-product-icon img {
  width: auto;
  height: 82px;
  object-fit: contain;
  display: block;
}

.champagne-product-heading .tt-producttitle {
  margin: 0;
  padding: 0;
  border-bottom: 0;
  text-align: center;
}

@media (max-width: 768px) {
  .champagne-product-heading {
    display: block;
    text-align: center;
  }

  .champagne-product-icon {
    margin-bottom: 0.75rem;
  }

  .champagne-product-icon img {
    width: 64px;
    height: 64px;
  }
}


/* ============================================================
   SECTION : Accord insolite
   ============================================================ */

.product-information img {
    max-width: 100%;
}

.product-information .btn-default {
    background: var(--gold);
    color: #000;
    padding: 5px 15px;
    display: table;
    margin: 10px 0 30px auto;
    border-radius: 30px;
    float: none;
}

.product-information .btn-default:hover {
    background: var(--black);
    color: var(--gold);
}

[id^="product-description-short-"] h2 {
  position: relative;
  display: inline-block;
  padding-right: 70px;
  font-family: 'Adlery', cursive;
  font-size: 48px;
  color: #d5ad70;
  margin: 50px auto;
}

[id^="product-description-short-"] h2::after  {
  content: "";
  position: absolute;
  right: 0;
  top: -18px;
  width: 55px;
  height: 55px;
  background-image: url("../../../../img/cms/champagne-mets/h2.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

[id^="product-description-short-"] h3 {
  position: relative;
  display: inline-block;
  padding-right: 70px;
  font-family: 'Adlery', cursive;
  font-size: 48px;
  color: #d5ad70;
  margin: 50px auto;
}

#product-description-short-10 p  {
    padding: 0 !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 1.0rem !important;
    color: #111 !important;
    text-align: justify !important;
    letter-spacing: 0.01em;
}

/* ── Bloc "La Typicité du Vin" — style proche PDF ────────── */

.product-information .champagne-accord,
.product-additional-info .champagne-accord,
.champagne-accord {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 1.2rem 0 1.4rem !important;
  color: var(--text);
}

/* Titre */
.product-information .champagne-accord .accord-title,
.champagne-accord .accord-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.55rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.1;
  font-weight: 600;
  font-style: italic;
  color: #3a3a3a;
}

/* Petite étoile dorée avant le titre */
.product-information .champagne-accord .accord-title::before,
.champagne-accord .accord-title::before {
  content: "✦";
  display: inline-block;
  color: var(--gold);
  font-size: 1rem;
  line-height: 1;
  transform: translateY(-1px);
}

/* Lignes Assemblage / Dosage / Vieillissement */
.product-information .champagne-accord .accord-row,
.champagne-accord .accord-row {
  margin: 0 0 0.45rem !important;
  padding: 0 !important;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #2f2f2f;
}

/* Libellés dorés */
.product-information .champagne-accord .accord-label,
.champagne-accord .accord-label {
  color: var(--gold);
  font-weight: 700;
}

/* Séparateur */
.product-information .champagne-accord .accord-separator,
.champagne-accord .accord-separator {
  display: block;
  width: 100%;
  height: 1px;
  margin: 0.95rem 0 0.75rem !important;
  border: 0 !important;
  background: #ded6c8;
}

/* Lignes avec étoiles */
.product-information .champagne-stars-row,
.champagne-stars-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.22rem 0;
  border: 0 !important;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 0.84rem;
  line-height: 1.35;
  color: #3a3a3a;
}

.product-information .champagne-stars-label,
.champagne-stars-label {
  flex: 1;
}

/* Étoiles */
.product-information .champagne-stars,
.champagne-stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.product-information .champagne-star,
.champagne-star {
  display: inline-flex;
  width: 13px;
  height: 13px;
  align-items: center;
  justify-content: center;
}

.product-information .champagne-star::before,
.champagne-star::before {
  content: "★";
  display: block;
  font-size: 12px;
  line-height: 1;
  color: #e6dfd3;
}

.product-information .champagne-star.filled::before,
.champagne-star.filled::before {
  color: var(--gold);
}

/* ── Complexité aromatique — style proche PDF ───────────── */

.champagne-product-wide {
  clear: both;
  width: 100%;
  max-width: none !important;
  flex: 0 0 100%;
}

/* Bloc général */
.champagne-product-wide .champagne-aromatique,
.champagne-aromatique {
  width: 100%;
  max-width: none !important;
  margin: 4rem 0 4rem 0 !important;
  padding: 0 5%;
}

/* Titre */
.champagne-aromatique .aroma-title {
  margin: 0 0 2.4rem;
  text-align: left;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.65rem;
  line-height: 1.1;
  font-weight: 600;
  font-style: italic;
  color: var(--gold);
}

/* Chaque ligne */
.champagne-aromatique .aroma-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 680px);
  align-items: flex-start;
  column-gap: 2rem;
  margin-bottom: 2.15rem;
}

/* Icônes façon dessin fin */
.champagne-aromatique .aroma-icon {
  width: 70px;
  min-height: 48px;
  border: 0 !important;
  background: transparent !important;
  color: #111;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.2rem;
}

.champagne-aromatique .aroma-icon svg {
  width: 52px;
  height: auto;
  display: block;
}

/* Ajustements par icône */
.champagne-aromatique .aroma-icon-nose svg {
  width: 42px;
  margin-top: -0.6rem;
}

.champagne-aromatique .aroma-icon-mouth svg {
  width: 54px;
}

/* Texte façon fiche PDF */
.champagne-aromatique .aroma-text {
  width: 100%;
  max-width: 680px;
  padding: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.18rem;
  line-height: 1.65;
  color: #111;
  text-align: justify;
  letter-spacing: 0.01em;
}

/* Nettoyage si PrestaShop injecte des paragraphes */
.champagne-aromatique .aroma-text p {
  margin: 0;
}

/* ── Complexité aromatique — version plus proche du PDF ── */

.champagne-product-wide .champagne-aromatique,
.champagne-aromatique {
  width: 100%;
  max-width: 760px !important;
  margin: 4.5rem 0 4.5rem 4.5rem !important;
  padding: 0 !important;
}

/* Titre doré façon fiche PDF */
.champagne-aromatique .aroma-title,
.champagne-aromatique h3.aroma-title {
    position: relative;
    display: inline-block;
    padding-right: 70px;
    font-family: 'Adlery', cursive;
    font-size: 48px;
    color: #d5ad70;
}

/* Lignes œil / nez / bouche */
.champagne-aromatique .aroma-row {
  display: grid !important;
  grid-template-columns: 62px minmax(0, 620px) !important;
  column-gap: 2.4rem !important;
  align-items: flex-start !important;
  margin-bottom: 2.35rem !important;
}

/* Pictos */
.champagne-aromatique .aroma-icon {
  width: 62px !important;
  min-height: 48px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  padding-top: 0.1rem !important;
  border: 0 !important;
  background: transparent !important;
  color: #111 !important;
}

.champagne-aromatique .aroma-icon svg {
  width: 48px !important;
  height: auto !important;
  stroke-width: 1.4 !important;
}

.champagne-aromatique .aroma-icon-nose svg {
  width: 38px !important;
  margin-top: -0.4rem !important;
}

.champagne-aromatique .aroma-icon-mouth svg {
  width: 50px !important;
}

/* Texte plus proche du PDF */
.champagne-aromatique .aroma-text {
  max-width: 620px !important;
  width: 100% !important;
  padding: 0 !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 1.0rem !important;
  color: #111 !important;
  text-align: justify !important;
  letter-spacing: 0.01em;
}

/* Nettoyage des paragraphes éventuels */
.champagne-aromatique .aroma-text p {
  margin: 0 !important;
}

/* Mobile */
@media (max-width: 768px) {
  .champagne-product-wide .champagne-aromatique,
  .champagne-aromatique {
    max-width: none !important;
    margin: 3rem 0 !important;
    padding: 0 1rem !important;
  }

  .champagne-aromatique .aroma-title,
  .champagne-aromatique h3.aroma-title {
    text-align: center !important;
    font-size: 2.1rem !important;
    margin-bottom: 2rem !important;
  }

  .champagne-aromatique .aroma-row {
    grid-template-columns: 44px minmax(0, 1fr) !important;
    column-gap: 1rem !important;
    margin-bottom: 1.8rem !important;
  }

  .champagne-aromatique .aroma-icon {
    width: 44px !important;
  }

  .champagne-aromatique .aroma-icon svg {
    width: 36px !important;
  }

  .champagne-aromatique .aroma-icon-nose svg {
    width: 30px !important;
  }

  .champagne-aromatique .aroma-text {
    max-width: none !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    text-align: left !important;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .champagne-product-wide .champagne-aromatique,
  .champagne-aromatique {
    margin: 3rem 0 !important;
    padding: 0 1rem;
  }

  .champagne-aromatique .aroma-title {
    text-align: center;
    font-size: 2.1rem;
    margin-bottom: 2rem;
  }

  .champagne-aromatique .aroma-row {
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 1rem;
    margin-bottom: 1.7rem;
  }

  .champagne-aromatique .aroma-icon {
    width: 48px;
  }

  .champagne-aromatique .aroma-icon svg,
  .champagne-aromatique .aroma-icon-mouth svg {
    width: 38px;
  }

  .champagne-aromatique .aroma-icon-nose svg {
    width: 32px;
  }

  .champagne-aromatique .aroma-text {
    max-width: none;
    font-size: 1rem;
    line-height: 1.55;
    text-align: left;
  }
}

/* ── Accords Mets & Champagnes — style proche PDF ───────── */

.champagne-product-mets-wide {
  clear: both;
  width: 100%;
  max-width: none !important;
  flex: 0 0 100%;
}

.champagne-product-mets-wide .champagne-mets,
.champagne-mets {
  width: 100%;
  max-width: 1080px !important;
  margin: 5rem auto 4rem !important;
  padding: 0 2rem !important;
  text-align: center;
}

/* Titre doré */
.champagne-mets .mets-title {
    position: relative;
    display: inline-block;
    padding-right: 70px;
    font-family: 'Adlery', cursive;
    font-size: 48px;
    color: #d5ad70;
}

/* Grille principale : met gauche | bouteille | met droite */
.champagne-mets .mets-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 250px minmax(0, 1fr) !important;
  align-items: end !important;
  column-gap: 3.5rem !important;
  width: 100%;
}

/* Chaque bloc met */
.champagne-mets .mets-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 1.8rem !important;
  min-width: 0;
}

/* Libellés manuscrits */
.champagne-mets .mets-label {
  min-height: 54px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  font-family: 'Adlery', cursive;
  font-size: 1.85rem !important;
  line-height: 1.05 !important;
  font-weight: 700 !important;
  color: #111 !important;
}

/* Image des mets en ovale */
.champagne-mets .mets-image,
.champagne-mets .mets-item img {
  width: 100% !important;
  max-width: 330px !important;
  height: auto;
  object-fit: cover !important;
  border: 0 !important;
  display: block !important;
}

/* Bouteille centrale */
.champagne-mets .mets-bottle {
  position: relative;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-end !important;
  min-height: 360px;
}

.champagne-mets .mets-bottle img {
  position: relative;
  z-index: 1;
  max-height: 330px !important;
  width: auto !important;
  display: block !important;
  margin: 0 auto !important;
}

/* Ombre dorée sous la bouteille */
.champagne-mets .mets-bottle-shadow {
  position: absolute;
  left: 50%;
  bottom: -8px;
  z-index: 1;
  width: 180px;
  height: 70px;
  border-radius: 50%;
  background: rgba(184, 150, 62, 0.48);
  transform: translateX(-50%);
}

/* Ajustement : met gauche légèrement plus bas comme sur le PDF */
.champagne-mets .mets-item-left {
  transform: translateY(8px);
}

.champagne-mets .mets-item-right {
  transform: translateY(8px);
}

/* Responsive */
@media (max-width: 900px) {
  .champagne-mets {
    margin: 4rem auto !important;
    padding: 0 1rem !important;
  }

  .champagne-mets .mets-title {
    font-size: 2.4rem !important;
    margin-bottom: 2.5rem !important;
  }

  .champagne-mets .mets-grid {
    grid-template-columns: 1fr !important;
    row-gap: 2.5rem !important;
  }

  .champagne-mets .mets-bottle {
    order: -1;
    min-height: auto;
  }

  .champagne-mets .mets-bottle img {
    max-height: 260px !important;
  }

  .champagne-mets .mets-bottle-shadow {
    width: 150px;
    height: 56px;
  }

  .champagne-mets .mets-item {
    transform: none !important;
  }

  .champagne-mets .mets-image,
  .champagne-mets .mets-item img {
    max-width: 320px !important;
    height: 145px !important;
    object-fit: contain !important;
  }

  .champagne-mets .mets-label {
    min-height: auto;
    font-size: 1.65rem !important;
  }


}


/* ============================================================
   Bouton
   ============================================================ */

.champagne-read-more-wrapper {
  text-align: right;
  margin-top: 15px;
  margin-bottom: 20px;
}

.champagne-read-more {
  display: inline-block;
  padding: 6px 28px;
  border-radius: 20px;
  background: #b8a071;
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.champagne-read-more:hover,
.champagne-read-more:focus {
  color: #fff;
  text-decoration: none;
  opacity: 0.85;
}

#champagne-aromatique,
#champagne-mets {
  scroll-margin-top: 200px!important;
}


/* ============================================================
   Cacher Bouton sur fiche sans caractéristiques
   ============================================================ */
.product-information:has(#product-description-short-11) .champagne-read-more-wrapper {
  display: none;
}





/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 640px) {
  .champ-accord { padding: 1.5rem 1.25rem; }
  .champ-accord__title { font-size: 1.3rem; }
  .champ-typicite { padding: 1.25rem; }
  .champ-stars__label { min-width: 160px; font-size: .78rem; }
  .champ-mets__grid { grid-template-columns: 1fr; }
  .champ-mets__bottle { display: none; }
  .champ-met-card__img { max-width: 150px; height: 130px; }
}

/* Blocs éditoriaux sortis de la colonne achat */
.champagne-product-wide {
  clear: both;
  width: 100%;
  margin-top: 2rem;
}

.champagne-product-wide .champagne-aromatique {
  max-width: 760px;
  margin: 2rem auto;
}

.champagne-product-mets-wide .champagne-mets {
  max-width: 980px;
  margin: 2.5rem auto 3rem;
}

/* Version plus proche du PDF : titre mets bien centré et aéré */
.champagne-product-mets-wide .mets-title {
  margin-bottom: 2rem;
}

/* On évite que le bloc mets soit trop serré */
.champagne-product-mets-wide .mets-grid {
  gap: 2.5rem;
}

/* Bouteille centrale un peu plus grande en pleine largeur */
.champagne-product-mets-wide .mets-bottle img {
  max-height: 280px;
}
/* ── Complexité aromatique — version proche PDF ─────────── */

.champagne-product-wide {
  clear: both;
  width: 100%;
  max-width: none;
}

.champagne-product-wide .champagne-aromatique,
.champagne-aromatique {
  width: 100%;
  max-width: 760px;
  margin: 3rem 0 3.5rem 0;
  padding: 0;
}

/* Titre doré manuscrit/élégant */
.champagne-aromatique .aroma-title,
.champagne-aromatique h3 {
  margin: 0 0 2.2rem;
  text-align: left;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.45rem;
  line-height: 1.1;
  font-weight: 600;
  font-style: italic;
  color: var(--gold);
}

/* Ligne : icône à gauche, texte à droite */
.champagne-aromatique .aroma-row {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: flex-start;
  column-gap: 2rem;
  margin-bottom: 2.1rem;
}

/* Icônes plus discrètes, sans cercle */
.champagne-aromatique .aroma-icon {
  width: 58px;
  height: auto;
  min-height: 42px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #222;
  font-size: 1.55rem;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 0.25rem;
}

/* Texte façon PDF */
.champagne-aromatique .aroma-text {
  max-width: 560px;
  padding: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.08rem;
  line-height: 1.65;
  color: #111;
  text-align: justify;
  letter-spacing: 0.015em;
}


/* ── Avis produit uniquement ───────────────────────────── */

.ttproductpagetab .nav-tabs li:nth-child(1),
.ttproductpagetab .nav-tabs li:nth-child(2),
.ttproductpagetab .tab-content .tab-pane:nth-child(1),
.ttproductpagetab .tab-content .tab-pane:nth-child(2) {
  display: none !important;
}

.champagne-product-reviews {
  clear: both;
  width: 100%;
  margin: 3rem auto 4rem;
  padding: 0 2rem;
}

.champagne-product-reviews .tabs {
  max-width: 980px;
  margin: 0 auto;
}

.champagne-product-reviews .nav-tabs {
  border-bottom: 1px solid #e8dcc8;
  margin-bottom: 2rem;
}

.champagne-product-reviews .nav-tabs .nav-link {
  border: 0;
  background: transparent;
  color: #3a3a3a;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.85rem 1.2rem;
}

.champagne-product-reviews .nav-tabs .nav-link.active {
  background: #d4c095;
  color: #fff;
}

.champagne-product-reviews .tab-content {
  font-family: 'Lato', Arial, sans-serif;
  color: #3a3a3a;
}


/* Mobile */
@media (max-width: 768px) {
  .champagne-product-wide .champagne-aromatique,
  .champagne-aromatique {
    max-width: none;
    margin: 2.5rem 0;
    padding: 0 1rem;
  }

  .champagne-aromatique .aroma-title,
  .champagne-aromatique h3 {
    text-align: center;
    font-size: 2rem;
  }

  .champagne-aromatique .aroma-row {
    grid-template-columns: 42px 1fr;
    column-gap: 1rem;
    margin-bottom: 1.6rem;
  }

  .champagne-aromatique .aroma-icon {
    width: 42px;
    font-size: 1.25rem;
  }

  .champagne-aromatique .aroma-text {
    font-size: 1rem;
    text-align: left;
  }
}