/*
 * Retours client recette V5 (16/11/2026). Charge en dernier depuis
 * templates/_partials/head.tpl.
 */

/* ==========================================================================
   Menu mobile (panneau iqitmegamenu)
   ========================================================================== */

/* Panneau sur toute la largeur de l'ecran. */
#_mobile_iqitmegamenu-mobile.dropdown-menu,
#_mobile_iqitmegamenu-mobile #iqitmegamenu-mobile {
  width: 100% !important;
  max-width: none !important;
}

/* Bandeaux gris -> beige de la charte (meme teinte que l'en-tete des categories). */
#iqitmegamenu-mobile .mobile-menu__header-wrapper,
#iqitmegamenu-mobile .mobile-menu__footer {
  background: #e9e4db !important;
}

/* Logo en tete (ajoute par pere-blaize-header.js), au niveau principal seulement. */
#iqitmegamenu-mobile .mobile-menu__header-wrapper {
  display: flex;
  align-items: center;
  min-height: 64px;
}
#iqitmegamenu-mobile .pb-mobile-menu-logo {
  display: block;
  margin-left: 8px;
  line-height: 0;
}
#iqitmegamenu-mobile .pb-mobile-menu-logo img {
  width: auto;
  height: 46px;
  mix-blend-mode: multiply;
}
#iqitmegamenu-mobile.mobile-menu--active .pb-mobile-menu-logo,
#iqitmegamenu-mobile .mobile-menu__header:not(.mobile-menu__header--active) {
  display: none;
}
#iqitmegamenu-mobile .mobile-menu__close {
  margin-left: auto;
}

/* Graisse : niveau 1 en gras, niveau 2 en normal. */
#iqitmegamenu-mobile .mobile-menu__tab > .mobile-menu__link {
  font-weight: 700;
}
#iqitmegamenu-mobile .mobile-menu__submenu .mobile-menu__column-title,
#iqitmegamenu-mobile .mobile-menu__title {
  font-weight: 400;
}

/* Notre heritage et La Gazette : sans photos, une liste homogene
   (meme presentation que les rubriques de "Marque Pere Blaize"). */
#iqitmegamenu-mobile :is(.mobile-menu__tab--id-9, .mobile-menu__tab--id-6) .mobile-menu__column > a:has(> img),
#iqitmegamenu-mobile :is(.mobile-menu__tab--id-9, .mobile-menu__tab--id-6) .mobile-menu__banner-image {
  display: none !important;
}
/* Gazette : les vignettes doublonnaient la liste de liens. */
#iqitmegamenu-mobile .mobile-menu__tab--id-6 .mobile-menu__submenu:has(.mobile-menu__links-list-li) .mobile-menu__column:has(> .mobile-menu__column-title) {
  display: none !important;
}
#iqitmegamenu-mobile :is(.mobile-menu__tab--id-9, .mobile-menu__tab--id-6) .mobile-menu__column:empty,
#iqitmegamenu-mobile :is(.mobile-menu__tab--id-9, .mobile-menu__tab--id-6) .mobile-menu__column:not(:has(a)) {
  display: none !important;
}
#iqitmegamenu-mobile :is(.mobile-menu__tab--id-9, .mobile-menu__tab--id-6) .mobile-menu__column,
#iqitmegamenu-mobile :is(.mobile-menu__tab--id-9, .mobile-menu__tab--id-6) :is(.mobile-menu__links-list, .mobile-menu__links-list-li, .pb-heritage-menu-aside) {
  margin: 0 !important;
  padding: 0 !important;
}
#iqitmegamenu-mobile :is(.mobile-menu__tab--id-9, .mobile-menu__tab--id-6) .mobile-menu__links-list {
  list-style: none;
}
#iqitmegamenu-mobile :is(.mobile-menu__tab--id-9, .mobile-menu__tab--id-6) .pb-heritage-menu-aside {
  display: block !important;
}
#iqitmegamenu-mobile :is(.mobile-menu__tab--id-9, .mobile-menu__tab--id-6) :is(.mobile-menu__column-title, .mobile-menu__links-list-li > a, .pb-heritage-menu-aside > a) {
  display: block !important;
  margin: 0 !important;
  padding: 13px 0 !important;
  border-bottom: 1px solid rgb(0 0 0 / 8%);
  color: #595050 !important;
  font-family: var(--pb-font-body) !important;
  font-size: 14.6667px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}
#iqitmegamenu-mobile .mobile-menu__tab--id-9 .pb-heritage-menu-aside img {
  display: block;
  width: 110px;
  margin: 28px auto 0;
}

/* ==========================================================================
   Accueil mobile
   ========================================================================== */
@media (max-width: 767px) {
  /* Hero : interlettrage reduit sur le titre manuscrit. */
  body#index .elementor-element-ljcpbow h1.elementor-heading-title {
    max-width: 300px; /* garde "Depuis 1815" sur une meme ligne */
    letter-spacing: -0.04em;
    word-spacing: 0.06em;
  }

  /* Rythme vertical commun : 40 px en haut et en bas de chaque section. */
  body#index .elementor-element.pb-story-section,
  body#index .elementor-element.elementor-element-0n3yt58,
  body#index .elementor-element.pb-health-section,
  body#index .elementor-element.pb-gazette {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  body#index .elementor-element.pb-reassurance {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }

  /* Bienvenue : moins d'espace sous le texte, fleur plus petite et remontee. */
  body#index .elementor-element.pb-welcome-section {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background-size: auto 130px !important;
  }
  body#index .pb-welcome-content {
    padding: 40px 25px 0 !important;
  }
  body#index .pb-welcome-photo,
  body#index .pb-welcome-photo > .elementor-column-wrap {
    min-height: 120px !important;
  }

  /* Heritage, Conseil, Expertise + illustration : espacements resserres. */
  body#index .pb-story-section .elementor-widget-wrap {
    padding: 0 !important;
  }
  body#index .pb-story-values,
  body#index .pb-story-values-editor .elementor-text-editor {
    margin: 28px 0 !important;
  }
  body#index .pb-story-illustration img {
    width: 110px;
  }

  /* Nos melanges : titre centre (contenu en attente). */
  body#index .elementor-element-0n3yt58 .elementor-heading-title {
    margin: 0 auto;
    text-align: center;
  }
  body#index .elementor-element-0n3yt58 .elementor-widget-wrap {
    justify-content: center;
    padding: 0 !important;
  }
  body#index .pb-health-title {
    margin-bottom: 28px !important;
  }

  /* Gazette : vignettes sur deux colonnes. */
  body#index .pb-gazette-posts .simpleblog-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  /* Pied de page : logo plus petit. */
  .pb-footer-center .pb-footer-logo {
    width: 180px;
  }
}

/* ==========================================================================
   Articles de la Gazette (16/11)
   ========================================================================== */

/* Visuels d'une serie (ex. Mois sans tabac) : grille de vignettes. */
.pb-article-content .pb-article-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 32px;
}
.pb-article-content .pb-article-gallery img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 !important;
  border-radius: 4px;
}
@media (max-width: 767px) {
  .pb-article-content .pb-article-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

/* Liens produits en attente du catalogue (href="#") : texte simple, et
   paragraphes "Decouvrir ..." masques tant qu'ils ne sont pas branches. */
.pb-article-content a.pb-link-todo {
  color: inherit !important;
  text-decoration: none !important;
  pointer-events: none;
  cursor: text;
}
.pb-article-content p.pb-todo-cta {
  display: none;
}

/* ==========================================================================
   Conseils personnalises : agenda Acuity (onglet "Prenez rendez-vous")
   ========================================================================== */
.pb-service__booking {
  margin: 8px -8px 0;
}
.pb-service__booking iframe {
  display: block;
  width: 100%;
  min-height: 800px;
  border: 0;
  background: #fff;
}
.pb-service__booking-alt {
  margin: 16px 0 0;
  font-size: 15px;
  text-align: center;
}

/* ==========================================================================
   Fiche produit : onglet Description (structure posee par
   pere-blaize-product-description.js)
   ========================================================================== */
body#product #description .product-description > .rte-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 8px 0 16px;
  color: #2b3824;
  font-size: 16px;
  line-height: 1.7;
}
body#product #description .rte-content.pb-desc-ready > p,
body#product #description .pb-desc-section p {
  margin: 0 0 12px;
}
body#product #description .pb-desc-section {
  padding: 28px 0;
  border-top: 1px solid rgb(43 56 36 / 14%);
}
body#product #description .rte-content > .pb-desc-section:first-child {
  padding-top: 8px;
  border-top: 0;
}
body#product #description .pb-desc-section > :last-child {
  margin-bottom: 0;
}
body#product #description .pb-desc-title {
  margin: 0 0 16px;
  color: #2b3824;
  font-family: var(--pb-font-title);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-transform: none;
}
body#product #description .pb-desc-title::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-bottom: 12px;
  background: #a57140;
}

/* Encadre conseil (paragraphes en italique). */
body#product #description .pb-desc-note {
  margin: 0 0 16px;
  padding: 16px 20px;
  border-left: 3px solid #a57140;
  border-radius: 0 10px 10px 0;
  background: #f3f0ea;
  font-size: 15px;
}
body#product #description .pb-desc-note p {
  margin: 0 0 8px;
}
body#product #description .pb-desc-note > :last-child {
  margin-bottom: 0;
}
body#product #description .pb-desc-note em {
  font-style: normal;
}

/* Listes : puces discretes, lignes aerees. */
body#product #description .rte-content ul {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}
body#product #description .rte-content li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 22px;
}
body#product #description .rte-content li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a57140;
}

/* Precautions : sur fond clair pour les distinguer. */
body#product #description .pb-desc-section--precautions ul {
  padding: 18px 22px 10px;
  border-radius: 10px;
  background: #e6ebe1;
}

/* Ingredients : texte de reference, un cran plus petit. */
body#product #description .pb-desc-section--ingredients p {
  color: #4d5847;
  font-size: 14.5px;
  line-height: 1.65;
}

body#product #description .rte-content a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #a57140;
}

@media (max-width: 767px) {
  body#product #description .product-description > .rte-content {
    font-size: 15px;
  }
  body#product #description .pb-desc-section {
    padding: 22px 0;
  }
  body#product #description .pb-desc-title {
    font-size: 17px;
  }
  body#product #description .pb-desc-section--precautions ul {
    padding: 14px 16px 6px;
  }
}

/* ==========================================================================
   La Gazette : "On parle de nous" (articles de presse, liens externes)
   et texte d'attente des rubriques vides ("Les plantes").
   ========================================================================== */
.pb-season-listing .simpleblog__listing__post__wrapper > a.pb-press-cover:not(.pb-press-cover--image) {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px 16px;
  container-type: inline-size;
  border: 1px solid rgb(43 56 36 / 14%);
  background: #e6ebe1;
  color: #2b3824;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.pb-season-listing .simpleblog__listing__post__wrapper > a.pb-press-cover:not(.pb-press-cover--image)::before {
  content: "\201C";
  color: #a57140;
  font-family: Georgia, serif;
  font-size: 64px;
  line-height: 0.6;
}
.pb-season-listing .simpleblog__listing__post__wrapper > a.pb-press-cover:not(.pb-press-cover--image)::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgb(165 113 64 / 35%);
  pointer-events: none;
}
.pb-season-listing .simpleblog__listing__post:hover a.pb-press-cover:not(.pb-press-cover--image) {
  background: #dde4d6;
}
.pb-press-cover__kicker {
  font-family: var(--pb-font-script);
  font-size: 22px;
  line-height: 1;
  color: #a57140;
}
.pb-press-cover__media {
  font-family: var(--pb-font-institutional);
  max-width: 100%;
  /* Taille liee a la largeur de la carte : "La Marseillaise" tient sur une ligne par mot. */
  font-size: clamp(14px, 7.4cqi, 22px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.pb-press-cover__date {
  font-family: var(--pb-font-body);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #4d5847;
}
.pb-season-listing .pb-press-link {
  align-items: center;
  gap: 7px;
}

/* Texte de rubrique (ex. "Les plantes" en attente de contenu). */
.pb-season-listing .pb-blog-empty {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
}
:is(#module-ph_simpleblog-category, #module-ph_simpleblog-list) .pb-blog-intro {
  max-width: 720px;
  margin: 0 auto clamp(28px, 3vw, 44px);
  padding: clamp(28px, 4vw, 48px) clamp(22px, 4vw, 56px);
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  text-align: center;
}
:is(#module-ph_simpleblog-category, #module-ph_simpleblog-list) .pb-blog-intro .ph_cat_description {
  padding: 0 !important;
  color: #2b3824;
  font-family: var(--pb-font-body);
  font-size: 17px;
  line-height: 1.7;
}
:is(#module-ph_simpleblog-category, #module-ph_simpleblog-list) .pb-blog-intro .ph_cat_description p {
  margin: 0 0 12px;
}
:is(#module-ph_simpleblog-category, #module-ph_simpleblog-list) .pb-blog-intro .ph_cat_description p:first-child {
  color: #2b3824;
  font-family: var(--pb-font-title);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}
:is(#module-ph_simpleblog-category, #module-ph_simpleblog-list) .pb-blog-intro .ph_cat_description p:last-child {
  margin-bottom: 0;
}
:is(#module-ph_simpleblog-category, #module-ph_simpleblog-list) .pb-blog-intro .ph_cat_description p:first-child::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin: 18px auto 0;
  background: #a57140;
}

/* Cartes de la Gazette : le bouton est pousse en bas (margin-top: auto), ce qui
   annulait tout espace sur la carte au texte le plus long. Espace minimal garanti. */
.pb-season-listing .simpleblog__listing__post__wrapper__content > p {
  margin-bottom: 18px;
}

/* ==========================================================================
   Espace client : menu de gauche (liens alignes, rubrique en cours, survol)
   ========================================================================== */
.my-account-page-content-wrapper .my-account-side-links {
  padding-top: 6px;
  padding-bottom: 6px;
}
.my-account-page-content-wrapper .my-account-side-links > a {
  display: block;
  float: none;
  width: auto;
  max-width: none;
  margin: 0 0 2px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  color: #2b3824;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.my-account-page-content-wrapper .my-account-side-links .link-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 14px;
  font-size: 15.5px;
  line-height: 1.4;
}
.my-account-page-content-wrapper .my-account-side-links .link-item > i {
  flex: 0 0 18px;
  width: 18px;
  margin-top: 1px;
  color: #727d6c;
  font-size: 16px;
  text-align: center;
}
.my-account-page-content-wrapper .my-account-side-links > a:hover,
.my-account-page-content-wrapper .my-account-side-links > a:focus-visible {
  background: #ebe6dc;
  color: #2b3824;
}
.my-account-page-content-wrapper .my-account-side-links > a:hover .link-item > i {
  color: #a57140;
}
/* Rubrique en cours */
:is(body#identity #identity-link,
    body#addresses #addresses-link,
    body#address #address-link,
    body#address #addresses-link,
    body#history #history-link,
    body#order-detail #history-link,
    body#order-slip #order-slips-link,
    body#module-iqitwishlist-view #iqitwishlist,
    body#module-psgdpr-gdpr .my-account-side-links a[href*="psgdpr"],
    body#module-payzen-wallet #payzen-wallet-link) {
  background: #e6ebe1;
  box-shadow: inset 3px 0 0 #a57140;
  font-weight: 600;
}
/* Deconnexion : separee du reste */
.my-account-page-content-wrapper .my-account-side-links > a[href*="mylogout"] {
  margin-top: 10px;
  border-top: 1px solid rgb(43 56 36 / 12%);
  border-radius: 0;
  color: #4d5847;
}
/* PayZen : l'icone "material-icons" (police non chargee) s'affichait en texte "account_box". */
#payzen-wallet-link .material-icons {
  flex: 0 0 18px;
  width: 18px;
  overflow: hidden;
  font-size: 0;
  line-height: 1;
  text-align: center;
}
#payzen-wallet-link .material-icons::before {
  content: "\f09d";
  color: #727d6c;
  font-family: "Font Awesome 6 Free";
  font-size: 15px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.4;
}
/* Accueil de l'espace client */
.pb-account-welcome {
  font-size: 16px;
  line-height: 1.6;
}
.pb-account-welcome__title {
  margin-bottom: 6px;
  font-family: var(--pb-font-institutional);
  font-size: 20px;
  font-weight: 700;
  color: #2b3824;
}
@media (max-width: 767px) {
  .my-account-page-content-wrapper .my-account-side-links .link-item {
    padding: 10px 12px;
    font-size: 15px;
  }
  .my-account-page-content-wrapper .my-account-page-content {
    margin-top: 18px;
  }
}
/* Mes donnees personnelles (psgdpr) : titres a l'echelle, boutons lisibles. */
#module-psgdpr-gdpr .psgdprinfo17 {
  padding: 22px 24px;
  background: #fff;
}
#module-psgdpr-gdpr .psgdprinfo17 h2 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 700;
}
#module-psgdpr-gdpr .psgdprinfo17 p {
  font-size: 15.5px;
  line-height: 1.6;
}
#module-psgdpr-gdpr .psgdprinfo17 .clearfix {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
#module-psgdpr-gdpr .psgdprgetdatabtn17 {
  float: none;
  margin: 0 !important;
  border: 1px solid #727d6c;
  background: #727d6c;
  color: #fff;
  font-size: 15px;
}
#module-psgdpr-gdpr .psgdprgetdatabtn17:hover,
#module-psgdpr-gdpr .psgdprgetdatabtn17:focus-visible {
  border-color: #2b3824;
  background: #2b3824;
  color: #fff;
}

/* ==========================================================================
   Recette 16/11 (PDF "Retour recette")
   ========================================================================== */
/* Page des marques : le module ajoute la classe pb-brand-lexicon au <body>, et la regle
   ".pb-brand-lexicon { max-width: 1180px }" du bloc limitait toute la page (en-tete compris). */
body.pb-brand-lexicon {
  width: auto;
  max-width: none;
  margin: 0;
}
/* Reassurance (au-dessus du pied de page) : meme taille sur le panier, la commande et la
   page des marques que sur le reste du site (une ancienne regle la reduisait a 10 px). */
body:is(#cart, #checkout, .pb-brand-lexicon) .pb-reassurance .elementor-icon-box-description,
body:is(#cart, #checkout, .pb-brand-lexicon) .pb-reassurance .elementor-icon-box-description p {
  font-size: 12px !important;
  line-height: 1.5;
}
