/* ============================================================
   ERAEN — CUSTOM CSS
   ============================================================
   Chargé après library/css/all.min.css via peexeoScriptsStyles()
   dans include/peexeo.php. Remplace l'ancien "CSS additionnel"
   du Customizer WordPress.

   À noter :
   - Les `!important` nombreux existent car ce fichier override
     all.min.css. À terme : corriger dans les sources SCSS.
   - Sélecteurs fragiles (à surveiller) :
       * body.page-id-16, 2022, 1639  → vidéos hardcodées
       * .wp-container-core-columns-is-layout-9d6595d7
         (classe auto-générée Gutenberg — change si re-save)
       * .cf1uIq (classe obfusquée plugin)
   ============================================================ */


/* ============================================================
   FIX RATIO IMAGES PRODUIT MOBILE
   ============================================================ */
@media (max-width: 767px) {
  body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img {
    aspect-ratio: 1 / 1.25 !important;
    border-radius: 0 !important;
  }
}


.woocommerce div.product form.cart .variations select {
    font-family: "roboto", sans-serif;
    font-size: 1.125rem;
    line-height: 1.5625rem;
    font-weight: 400;
    font-style: normal;
    color: #2b2e71;
    border-radius: .625rem;
    height: 3.125rem;
    display: flex;
    align-items: center;
}
.woocommerce div.product form.cart .variations th {
    border: 0;
    line-height: 2em;
    vertical-align: top;
		font-size: 26px;
		color: #2b2e71;
	text-align: left;
}
.woocommerce-product-gallery__wrapper > div{
	border-radius: 10px;
	overflow:hidden;
}
.single-product .fancybox-stage .fancybox-slide .fancybox-content video{
    max-height: 80vh;
}
.single-product .woocommerce .single-product .product .entry-summary form .quantity input {
    width: 3.631em;
    text-align: center;
	  border-radius: .625rem;
		color: #2b2e71;
}

.reviewsBar .cr-all-reviews-shortcode {
    padding-top: 50px;
    width: 95%;
    max-width: 28.125rem;
    top: 0;
    right: -25%;
    position: fixed;
    background-color: #fff;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: .3s all ease-in-out;
    padding-left: 30px;
    padding-right: 30px;
}

#reviews .cr-summaryBox-wrap .cr-average-rating, .cr-all-reviews-shortcode .cr-summaryBox-wrap .cr-average-rating, .cr-reviews-grid .cr-summaryBox-wrap .cr-average-rating {
    font-size: 36px;
    font-weight: bold;
    line-height: 50px;
    color: #2b2e71;
}

.cr-all-reviews-shortcode ol.commentlist li .comment-text .meta .woocommerce-review__author, #reviews.cr-reviews-ajax-reviews #comments.cr-reviews-ajax-comments .cr-ajax-reviews-list .comment-text .meta .woocommerce-review__author {
    color: #2b2e71;
    font-size: 16px;
    display: inline;
    font-weight: 500;
    margin: 0;
    text-indent: 0;
}
ol.commentlist li .comment-text p, #reviews.cr-reviews-ajax-reviews #comments.cr-reviews-ajax-comments .cr-ajax-reviews-list .comment-text p {
    margin: 1em 0;
    text-align: left;
    color: #2b2e71;
}

.cr-all-reviews-shortcode .cr-summaryBox-wrap, .cr-reviews-grid .cr-summaryBox-wrap {
    margin: 0;
    background-color: #FFFF;
	font-family: "roboto",sans-serif;
}

.cr-all-reviews-shortcode .cr-count-row, #reviews.cr-reviews-ajax-reviews .cr-count-row {
    background-color: #FFFF;
    padding: 10px 12px;
    font-size: 12px;
    color: #2b2e71;
    margin: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
	font-family: "roboto",sans-serif;
}

.cr-reviews-ajax-reviews .cr-ajax-reviews-sort-div .cr-ajax-reviews-sort, .cr-all-reviews-shortcode .cr-ajax-reviews-sort-div .cr-ajax-reviews-sort {
    display: block;
    margin: 0;
    background: transparent;
    border: 0px;
    padding: 4px;
    width: auto;
    height: auto;
    appearance: auto;
    color: #2b2e71;
    font-size: 12px;
    font-weight: 500;
		font-family: "roboto",sans-serif !important;
}
#reviews.cr-reviews-ajax-reviews #comments.cr-reviews-ajax-comments .cr-ajax-reviews-list .comment_container .comment-text, .cr-all-reviews-shortcode ol.commentlist li .comment-text {
    border-top: 1px solid #e4e1e3;
    border-left: 1px solid #e4e1e3;
    border-right: 1px solid #e4e1e3;
    border-bottom: 1px solid #e4e1e3;
    border-radius: 15px;
    padding: 10px;
    border-color: #2b2e71;
}

.cr-all-reviews-shortcode .crstar-rating, #reviews.cr-reviews-ajax-reviews #comments.cr-reviews-ajax-comments .cr-ajax-reviews-list .comment-text .crstar-rating, #reviews #comments .cr-summaryBox-wrap .crstar-rating {
    overflow: hidden;
    position: relative;
    height: 20px;
    line-height: 18px;
    font-size: 18px;
    width: 5.4em;
    font-family: crstar;
    color: #ffce38;
    margin: 10px 0;
}

.ivole-meter .ivole-meter-bar {
    border-radius: 7px;
    background: #fb0;
    background: -webkit-linear-gradient(top, #ffce00, #ffa700);
    background: #ffce38;
    /* background-color: #ffce00; */
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25), inset 0 -1px 0 rgba(0, 0, 0, .05);
    -webkit-transition: width .5s ease;
    transition: width .5s ease;
    float: left;
    font-size: 0;
    height: 100%;
    width: 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#snippet-box{
	display:none;
}
.woocommerce-cart,
.woocommerce-cart .woocommerce-cart-form,
.woocommerce-cart .cart-collaterals {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 1rem;
  margin: 0 auto;
}

.woocommerce-cart table.cart {
  width: 100%;
  table-layout: fixed;
}

.woocommerce-cart table.cart td,
.woocommerce-cart table.cart th {
  word-wrap: break-word;
  text-align: left;
  padding: 10px 0;
  font-size: 1rem;
}

@media (max-width: 479px) {
  .woocommerce-cart .coupon {
    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-1 * (100vw - 100%) / 2) !important;
    padding: 0 1rem !important;
    box-sizing: border-box !important;
  }

  .woocommerce-cart .coupon input[type="text"],
  .woocommerce-cart .coupon .input-text,
  .woocommerce-cart .coupon button {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 10px 0 !important;
    padding: 0.8rem 1rem !important;
    box-sizing: border-box !important;
    font-size: 1rem !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    border-radius: 6px !important;
  }

  .woocommerce-cart .coupon button {
    margin-bottom: 0 !important;
  }
}

@media (min-width: 480px) {
  .woocommerce-cart .coupon {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px;
    align-items: stretch;
    justify-content: flex-start;
  }

  .woocommerce-cart .coupon input[type="text"],
  .woocommerce-cart .coupon .input-text {
    flex: 1 1 auto !important;
    margin: 0 !important;
  }

  .woocommerce-cart .coupon button {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    margin: 0 !important;
  }
}

.woocommerce-cart .actions .button[name="update_cart"] {
  display: block;
  width: 100%;
  margin-top: 1rem;
  box-sizing: border-box;
  font-size: 1rem;
  padding: 0.8rem;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 1.5rem;
  font-size: 1.1rem;
  padding: 1rem;
  box-sizing: border-box;
}

body.page-id-16 .relative.w_70p.aspect-21 video,
body.page-id-2022 .relative.w_70p.aspect-21 video,
body.page-id-1639 .relative.w_70p.aspect-21 video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  z-index: 0 !important;
}

.cf1uIq {
    overflow: hidden;
    display: none !important;
}

.pxodisplayproduct .pxoproduct h3 {
    position: absolute;
    bottom: 80px;
    left: 30px;
    text-transform: uppercase;
}
.pxodisplayproduct .pxoproduct .price {
    position: absolute;
    bottom: 30px;
    left: 30px;
    font-family: "roboto", sans-serif;
    font-size: 1.625rem;
    line-height: 1.5625rem;
    font-weight: 700;
    font-style: normal;
}

.h_100dvh-220px {
    min-height: 600px;
}
@media (max-width: 479px) {
	.h_100dvh-220px {
    min-height: 430px;
}
}

.special {
  font-size: clamp(4rem, 14vw, 20rem);
  line-height: 1.05;
  font-weight: 600;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  white-space: normal;
  overflow-wrap: normal;
}

.menu-item a {
    font-family: "roboto", sans-serif;
    font-size: 1rem;
    line-height: 1.375rem;
    font-weight: 500;
    font-style: normal;
    text-decoration: none;
    color: #222c57;
    text-transform: uppercase;
    -webkit-transition: .3s all ease-in-out;
    transition: .3s all ease-in-out;
}

@media (max-width: 480px) {
  .brevo-conversations--side-bottom {
    bottom: 110px !important;
  }
}

.wp-container-core-columns-is-layout-9d6595d7 {
    flex-wrap: nowrap;
    margin-top: 100px;
    margin: 100px;
}

@media (max-width: 768px) {
  #agWidget-1 {
    display: none !important;
  }
}

/* ============================================================
   ERAEN — CSS ADDITIONNEL COMPLET
   Articles + Page Blog + Page Boutique
   
   Thème : Peexeo
   Polices : bebas-neue-pro (H1, H2), roboto (H3, body)
   Couleur principale : #222c57
   ============================================================ */


/* -------------------------------------------------------
   0. FIX HEADER FIXE
   ------------------------------------------------------- */

body.single-post #main.main-content > .h_100px {
  height: 160px;
}

body.blog #main.main-content > .h_150px {
  height: 180px;
}

body.page-template-page-boutique #main.main-content > .h_150px {
  height: 180px;
}


/* ==========================================================
   ARTICLES — SINGLE POST
   ========================================================== */


/* -------------------------------------------------------
   1. LAYOUT — Largeur de lecture et centrage
   ------------------------------------------------------- */

body.single-post #main.main-content {
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 80px;
  box-sizing: border-box;
}


/* -------------------------------------------------------
   2. PARAGRAPHES
   ------------------------------------------------------- */

body.single-post #main.main-content > p {
  margin-bottom: 1.5em;
  line-height: 1.75;
}

body.single-post #main.main-content > h1 + p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #4a506e;
  margin-bottom: 2em;
}


/* -------------------------------------------------------
   3. TITRES
   ------------------------------------------------------- */

body.single-post #main.main-content > h1 {
  margin-bottom: 24px;
}

body.single-post #main.main-content > h2 {
  margin-top: 56px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e1db;
}

body.single-post #main.main-content > h3 {
  margin-top: 36px;
  margin-bottom: 14px;
}


/* -------------------------------------------------------
   4. LISTES
   ------------------------------------------------------- */

body.single-post #main.main-content > ul {
  list-style: none;
  padding-left: 0;
  margin-top: 0.5em;
  margin-bottom: 1.75em;
}

body.single-post #main.main-content > ul > li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  line-height: 1.7;
}

body.single-post #main.main-content > ul > li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #8b7355;
  font-weight: 600;
}

body.single-post #main.main-content > ol {
  list-style: decimal;
  padding-left: 28px;
  margin-top: 0.5em;
  margin-bottom: 1.75em;
}

body.single-post #main.main-content > ol > li {
  padding-left: 8px;
  margin-bottom: 10px;
  line-height: 1.7;
}

body.single-post #main.main-content > ol > li::marker {
  color: #8b7355;
  font-weight: 600;
}


/* -------------------------------------------------------
   5. LIENS
   ------------------------------------------------------- */

body.single-post #main.main-content a {
  color: #8b7355;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}

body.single-post #main.main-content a:hover,
body.single-post #main.main-content a:focus {
  color: #6d5a42;
  border-bottom-color: #6d5a42;
}


/* -------------------------------------------------------
   6. GRAS
   ------------------------------------------------------- */

body.single-post #main.main-content strong {
  font-weight: 700;
  color: #1a1f3d;
}


/* -------------------------------------------------------
   7. BLOCKQUOTES
   ------------------------------------------------------- */

body.single-post #main.main-content > blockquote {
  margin: 2.5em 0;
  padding: 24px 28px;
  background-color: #f3f1ed;
  border-left: 3px solid #8b7355;
  border-radius: 0 4px 4px 0;
}

body.single-post #main.main-content > blockquote p {
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 0.5em;
  color: #4a506e;
}

body.single-post #main.main-content > blockquote p:last-child {
  margin-bottom: 0;
}


/* -------------------------------------------------------
   8. IMAGES ET FIGURES
   ------------------------------------------------------- */

body.single-post #main.main-content > figure {
  margin: 2em 0;
}

body.single-post #main.main-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

body.single-post #main.main-content figcaption {
  font-size: 0.82rem;
  color: #7a7f96;
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}


/* -------------------------------------------------------
   9. SÉPARATEURS
   ------------------------------------------------------- */

body.single-post #main.main-content > hr {
  border: none;
  height: 1px;
  background-color: #e5e1db;
  margin: 3em auto;
  max-width: 120px;
}


/* -------------------------------------------------------
   10. IMAGE MISE EN AVANT (hero article)
   ------------------------------------------------------- */

body.single-post #main.main-content .eraen-hero {
  margin: 0 0 2.5em 0;
}

body.single-post #main.main-content .eraen-hero .eraen-hero-img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 6px;
}


/* -------------------------------------------------------
   11. RESPONSIVE ARTICLE — MOBILE
   ------------------------------------------------------- */

@media (max-width: 768px) {
  body.single-post #main.main-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  body.single-post #main.main-content > .h_100px {
    height: 100px;
  }

  body.single-post #main.main-content > h2 {
    margin-top: 40px;
  }

  body.single-post #main.main-content > h3 {
    margin-top: 28px;
  }

  body.single-post #main.main-content > blockquote {
    padding: 18px 20px;
    margin: 1.75em 0;
  }

  body.single-post #main.main-content .eraen-hero .eraen-hero-img {
    max-height: 280px;
    border-radius: 0;
  }
}


/* ==========================================================
   PAGE BLOG — LISTING EN GRILLE
   ========================================================== */


/* -------------------------------------------------------
   12. BLOG — Layout
   ------------------------------------------------------- */

body.blog #main.main-content {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 80px;
  box-sizing: border-box;
}


/* -------------------------------------------------------
   13. BLOG — En-tête
   ------------------------------------------------------- */

.eraen-blog-header {
  text-align: center;
  margin-bottom: 56px;
}

.eraen-blog-header h1 {
  color: #222c57;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.eraen-blog-header .eraen-blog-subtitle {
  font-family: "roboto", sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #7a7f96;
  max-width: 540px;
  margin: 0 auto;
}


/* -------------------------------------------------------
   14. BLOG — Grille
   ------------------------------------------------------- */

.eraen-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}


/* -------------------------------------------------------
   15. BLOG — Carte
   ------------------------------------------------------- */

.eraen-blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #222c57;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid #e5e1db;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.eraen-blog-card:hover {
  box-shadow: 0 8px 30px rgba(34, 44, 87, 0.08);
  transform: translateY(-3px);
  border-bottom-color: transparent;
}

.eraen-blog-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.eraen-blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  border-radius: 0;
}

.eraen-blog-card:hover .eraen-blog-card-img img {
  transform: scale(1.03);
}

.eraen-blog-card-placeholder {
  width: 100%;
  height: 100%;
  background-color: #f3f1ed;
}

.eraen-blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.eraen-blog-card-content h2 {
  font-family: "roboto", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  color: #222c57;
  margin: 0 0 12px 0;
}

.eraen-blog-card-excerpt {
  font-family: "roboto", sans-serif;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #7a7f96;
  margin: 0 0 16px 0;
  flex-grow: 1;
}

.eraen-blog-card-meta {
  font-family: "roboto", sans-serif;
  font-size: 0.78rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}


/* -------------------------------------------------------
   16. BLOG — Pagination
   ------------------------------------------------------- */

.eraen-blog-pagination {
  margin-top: 56px;
  text-align: center;
}

.eraen-blog-pagination ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.eraen-blog-pagination li {
  padding: 0;
  margin: 0;
}

.eraen-blog-pagination li::before {
  display: none;
}

.eraen-blog-pagination a,
.eraen-blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-family: "roboto", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #222c57;
  text-decoration: none;
  border: 1px solid #e5e1db;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.eraen-blog-pagination a:hover {
  background-color: #222c57;
  color: #fff;
  border-color: #222c57;
  border-bottom-color: #222c57;
}

.eraen-blog-pagination .current {
  background-color: #222c57;
  color: #fff;
  border-color: #222c57;
}


/* -------------------------------------------------------
   17. BLOG — Message vide
   ------------------------------------------------------- */

.eraen-blog-empty {
  text-align: center;
  color: #7a7f96;
  font-size: 1.1rem;
  padding: 80px 0;
  grid-column: 1 / -1;
}


/* -------------------------------------------------------
   18. BLOG — Responsive tablette
   ------------------------------------------------------- */

@media (max-width: 1024px) {
  .eraen-blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}


/* -------------------------------------------------------
   19. BLOG — Responsive mobile
   ------------------------------------------------------- */

@media (max-width: 768px) {
  body.blog #main.main-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  body.blog #main.main-content > .h_150px {
    height: 100px;
  }

  .eraen-blog-header {
    margin-bottom: 36px;
  }

  .eraen-blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .eraen-blog-card-content {
    padding: 20px;
  }

  .eraen-blog-card-content h2 {
    font-size: 1.1rem;
  }
}


/* ==========================================================
   PAGE BOUTIQUE — VITRINE PRODUITS
   Template : page-boutique.php
   ========================================================== */


/* -------------------------------------------------------
   20. BOUTIQUE — Layout
   ------------------------------------------------------- */

.page-template-page-boutique #main.main-content {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 80px;
  box-sizing: border-box;
}


/* -------------------------------------------------------
   21. BOUTIQUE — Hero produit principal
   ------------------------------------------------------- */

.eraen-shop-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}

.eraen-shop-hero-img {
  border-radius: 10px;
  overflow: hidden;
}

.eraen-shop-hero-img img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.eraen-shop-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eraen-shop-hero-tag {
  font-family: "roboto", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8b7355;
  margin-bottom: 16px;
}

.eraen-shop-hero-content h1 {
  color: #222c57;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.eraen-shop-hero-desc {
  font-family: "roboto", sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4a506e;
  margin-bottom: 24px;
}

.eraen-shop-hero-price {
  font-family: "bebas-neue-pro", sans-serif;
  font-size: 2.5rem;
  line-height: 1;
  color: #222c57;
  margin-bottom: 32px;
}

.eraen-shop-hero-price del {
  color: #aaa;
  font-size: 1.8rem;
  margin-right: 8px;
}

.eraen-shop-hero-price ins {
  text-decoration: none;
}

.eraen-shop-btn {
  display: inline-flex;
  align-items: center;
  padding: 15px 25px;
  background-color: #222c57;
  color: #fff;
  font-family: "roboto", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid #222c57;
  width: fit-content;
  transition: 0.3s all ease-in-out;
  column-gap: 0;
}

.eraen-shop-btn::before {
  content: "";
  width: 0;
  height: 10px;
  opacity: 0;
  transition: 0.3s all ease-in-out;
}

.eraen-shop-btn:hover {
  column-gap: 10px;
  color: #fff;
  border-bottom-color: #222c57;
}

.eraen-shop-btn:hover::before {
  content: "";
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  width: 16px;
  height: 10px;
  display: block;
  opacity: 1;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxMC4yODYiIHZpZXdCb3g9IjAgMCAxNiAxMC4yODYiPgogIDxwYXRoIGlkPSJUcmFjw6lfMjAxMDkiIGRhdGEtbmFtZT0iVHJhY8OpIDIwMTA5IiBkPSJNLTEwMS41NDcsMTAuMTE4YS41NzEuNTcxLDAsMCwxLDAtLjgwN2wzLjYtMy42aC0xMy40NzhBLjU3MS41NzEsMCwwLDEtMTEyLDUuMTQzYS41NzEuNTcxLDAsMCwxLC41NzEtLjU3MmgxMy40NzhsLTMuNi0zLjZhLjU3MS41NzEsMCwwLDEsMC0uODA3LjU3Mi41NzIsMCwwLDEsLjgwOCwwbDQuNTU5LDQuNTU5YS41NzEuNTcxLDAsMCwxLC4xOC40MTYuNTcxLjU3MSwwLDAsMS0uMTguNDE2bC00LjU1OSw0LjU1OWEuNTY5LjU2OSwwLDAsMS0uNC4xNjhBLjU2OS41NjksMCwwLDEtMTAxLjU0NywxMC4xMThaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMTIpIiBmaWxsPSIjZmZmIi8+Cjwvc3ZnPgo=");
  transition: 0.3s all ease-in-out;
}

/* ============================================================
   ERAEN — NAVIGATION ARTICLES (précédent / suivant)
   
   À ajouter à la suite du CSS additionnel existant dans :
   Apparence > Personnaliser > CSS additionnel
   ============================================================ */


/* -------------------------------------------------------
   CONTENEUR GÉNÉRAL
   ------------------------------------------------------- */

body.single-post #main.main-content .eraen-nav-posts {
  display: flex;
  gap: 20px;
  margin: 56px 0 24px 0;
  padding-top: 40px;
  border-top: 1px solid #e5e1db;
}


/* -------------------------------------------------------
   CELLULES (précédent + suivant)
   ------------------------------------------------------- */

body.single-post #main.main-content .eraen-nav-cell {
  flex: 1 1 0;
  min-width: 0; /* évite le débordement du texte en flex */
}

body.single-post #main.main-content .eraen-nav-empty {
  /* Cellule vide si pas d'article dans cette direction */
  pointer-events: none;
}


/* -------------------------------------------------------
   LIEN — reset + hover
   ------------------------------------------------------- */

body.single-post #main.main-content .eraen-nav-link {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  border-bottom: none;           /* override du style lien global */
  background-color: #f7f5f2;
  border: 1px solid #e5e1db;
  border-radius: 8px;
  padding: 16px;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  box-sizing: border-box;
}

body.single-post #main.main-content .eraen-nav-link:hover {
  background-color: #eeeae4;
  border-color: #8b7355;
  box-shadow: 0 2px 8px rgba(139, 115, 85, 0.12);
  color: inherit;
}


/* -------------------------------------------------------
   MINIATURE
   ------------------------------------------------------- */

body.single-post #main.main-content .eraen-nav-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  background-color: #ddd8d0;
}

body.single-post #main.main-content .eraen-nav-thumb--empty {
  /* Placeholder neutre quand pas d'image mise en avant */
  background-image: none;
  background-color: #ddd8d0;
}


/* -------------------------------------------------------
   CORPS DU LIEN (label + titre)
   ------------------------------------------------------- */

body.single-post #main.main-content .eraen-nav-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

/* "Article précédent" / "Article suivant" */
body.single-post #main.main-content .eraen-nav-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: roboto, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8b7355;
}

/* Titre de l'article */
body.single-post #main.main-content .eraen-nav-title {
  font-family: roboto, sans-serif;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #222c57;
  font-weight: 500;

  /* Limite à 2 lignes avec ellipsis */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.single-post #main.main-content .eraen-nav-link:hover .eraen-nav-title {
  color: #1a1f3d;
}


/* -------------------------------------------------------
   FLÈCHES
   ------------------------------------------------------- */

body.single-post #main.main-content .eraen-nav-arrow {
  font-size: 0.85rem;
  line-height: 1;
}


/* -------------------------------------------------------
   ALIGNEMENT : précédent à gauche, suivant à droite
   ------------------------------------------------------- */

body.single-post #main.main-content .eraen-nav-next .eraen-nav-link {
  flex-direction: row-reverse; /* miniature à droite pour "suivant" */
  text-align: right;
}

body.single-post #main.main-content .eraen-nav-next .eraen-nav-body {
  align-items: flex-end;
}

body.single-post #main.main-content .eraen-nav-next .eraen-nav-label {
  flex-direction: row-reverse;
}


/* -------------------------------------------------------
   RESPONSIVE MOBILE
   ------------------------------------------------------- */

@media (max-width: 640px) {

  body.single-post #main.main-content .eraen-nav-posts {
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
    padding-top: 28px;
  }

  body.single-post #main.main-content .eraen-nav-thumb {
    width: 56px;
    height: 56px;
  }

  body.single-post #main.main-content .eraen-nav-next .eraen-nav-link {
    flex-direction: row; /* sur mobile, tout est à gauche */
    text-align: left;
  }

  body.single-post #main.main-content .eraen-nav-next .eraen-nav-body {
    align-items: flex-start;
  }

  body.single-post #main.main-content .eraen-nav-next .eraen-nav-label {
    flex-direction: row;
  }
}

/* ============================================================
   FIX HEADER VIDÉO MOBILE — Ratio natif 7×11
   ============================================================
   Adapte la hauteur du header mobile au ratio natif des vidéos
   sources (700×1100). Annule les hauteurs calc(100dvh - xxx) et
   min-height fixes du thème Peexeo qui causaient le crop.
   S'applique à toutes les pages avec un header vidéo.
*/
@media (max-width: 767px) {

  /* 1. Wrapper direct de la vidéo : ratio 7/11, hauteur auto */
  section.top-page div:has(> video.bc-popup),
  section.top-page .h_100dvh-220px,
  section.top-page .t_h_100dvh-120px {
    aspect-ratio: 7 / 11 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: block !important;
    position: relative !important;
  }

  /* 2. La vidéo : on annule le centrage absolu + minw/minh */
  section.top-page video.bc-popup {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    object-fit: cover !important;
  }

  /* 3. Wrapper de texte : centré verticalement, aligné à gauche */
  section.top-page div:has(> video.bc-popup) > .wrapper,
  section.top-page .h_100dvh-220px > .wrapper,
  section.top-page .t_h_100dvh-120px > .wrapper {
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    right: 0 !important;
    transform: translateY(-50%) !important;
    z-index: 2 !important;
    width: 100% !important;
    padding: 0 24px !important;
    margin: 0 !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }

  /* Le H1 et les enfants suivent l'alignement gauche */
  section.top-page div:has(> video.bc-popup) > .wrapper > *,
  section.top-page .h_100dvh-220px > .wrapper > *,
  section.top-page .t_h_100dvh-120px > .wrapper > * {
    text-align: left !important;
  }

  /* 4. Marge basse de la section réduite sur mobile */
  section.top-page {
    margin-bottom: 60px !important;
  }
}

/* Règle spécifique petits écrans (≤ 479px) :
   annule aussi le min-height: 430px du thème */
@media (max-width: 479px) {
  section.top-page .h_100dvh-220px,
  section.top-page .t_h_100dvh-120px {
    min-height: 0 !important;
  }
}

/* ============================================================
   FIX COULEUR H1 HEADER VIDÉO
   ============================================================
   Force le H1 du top-page (classé .body .c-white par le thème)
   en bleu Eraen #222c57 — le thème applique .c-white en dur et
   le champ ACF ne fonctionne pas, donc on surcharge ici.
*/

.body.c-white.mb_30px.mt_10px {
  color: #222c57 !important;
}

.btn-transparent {
    padding: .9375rem 1.5625rem;
    background: rgba(0, 0, 0, 0);
    color: #222c57;
    border-radius: .5rem;
		border-color: #222c57 !important;
    text-decoration: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-column-gap: 0;
    -moz-column-gap: 0;
    column-gap: 0;
    border: 1px solid #fff;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    backdrop-filter: blur(10px);
    font-family: "roboto", sans-serif;
    font-size: 1.25rem;
    line-height: 1.625rem;
    font-weight: 700;
    font-style: normal;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
    padding: .5em 0;
    margin: 0;
    font-size: 1em;
    color: #222c57;
}

body:not(.single) .woocommerce .products.columns-3 li .price {
    font-family: "roboto", sans-serif !important;
    font-size: 1.625rem !important;
    line-height: 1.5625rem !important;
    font-weight: 700 !important;
    font-style: normal !important;
    margin-bottom: 0 !important;
    text-transform: uppercase;
}