/*
 * Global CSS overrides for the whole theme.
 *
 * This file is loaded on every page after the page-specific CSS,
 * so declarations here can be used to override existing styles.
 */

body {
  overflow-x: hidden;
}

.lme-wp-page .contenu a {
  color: #194a24;
  text-decoration: underline;
}

.lme-wp-page .contenu a:hover {
  text-decoration: none;
}

footer .footer-bottom .bottom a::after {
  content: 'Marginto';
}

/* Catégories : bandeau sous-catégories sous les produits (desktop) */
@media screen and (min-width: 1025px) {
  .hero-catalogue--top {
    display: none;
  }

  .hero-catalogue--bottom {
    padding-top: 2vh;
    padding-bottom: 5vh;
  }
}

@media screen and (max-width: 1024px) {
  .hero-catalogue--bottom {
    display: none;
  }
}


/* Accueil : cartes « Notre mobilier en carton » en liens dynamiques */
.products-list .slider-products a.product {
  display: block;
  text-decoration: none;
  color: inherit;
}
.products-list .product-price-home {
  font-size: 1.3rem;
  margin-top: 0.4em;
  color: #194a24;
  font-weight: 600;
}
/* Accueil : pas de contour sur les vignettes produits suggérés */
.products-list .products-list-content .product img {
  border: none;
}

/* Catalogue : vignettes nettes (taille lme_catalog_card 450px, object-fit contain) */
.products-grid .product-card .product-image img {
  object-fit: contain;
}

.left-infos {
  background: #194a24;
  color: #ffffed;
  padding: 4vw;
  position: relative;
  margin-bottom: 10vw;
}
.left-infos .top {
  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: start;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 10vw;
}
.left-infos .top h2 {
  font-size: 5.5rem;
  font-weight: 500;
}
.left-infos .top p {
  font-size: 4.5rem;
  font-weight: 500;
  text-wrap: balance;
  width: 50%;
  letter-spacing: -0.04em;
}
.left-infos .bottom {
  width: 100%;
  max-width: 1250px;
  margin-top: 8vw;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  position: relative;
  z-index: 2;
  gap: 4vw;
}
.left-infos .bottom .item {
  width: 28%;
}
.left-infos .bottom .item .big {
  font-size: 8rem;
  font-weight: 600;
  display: block;
  margin-bottom: 5%;
  letter-spacing: -0.04em;
}
.left-infos .bottom .item .serif {
  font-weight: 600;
  letter-spacing: 0;
  font-size: 2.4rem;
  margin-bottom: 2.5%;
  display: block;
}
.left-infos .bottom .item p {
  line-height: 1.35;
}
.left-infos .logo {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 56%;
  height: auto;
  -o-object-fit: contain;
  object-fit: contain;
  -webkit-mask: url(./assets/img/logo-meuble-en-carton-simplifie.svg#vague) no-repeat
    bottom center;
  mask: url(./assets/img/logo-meuble-en-carton-simplifie.svg#vague) no-repeat bottom
    center;
  z-index: 1;
}
@media screen and (max-width: 1064px) {
  .left-infos {
    padding: 6vh 4vh 10vh;
  }
  .left-infos .top {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  .left-infos .top p {
    text-align: right;
  }
  .left-infos .bottom .item {
    width: 40%;
  }
  .left-infos .logo {
    width: 50%;
    opacity: 0.5;
  }
}

@media screen and (max-width: 768px) {
  .left-infos {
    padding: 6vh 4vh 12vh;
    margin-bottom: 10vh;
  }
  .left-infos .top {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .left-infos .top p {
    text-align: left;
    width: 100%;
  }
  .left-infos .bottom .item {
    width: 100%;
    margin-bottom: 3vh;
  }
  .left-infos .logo {
    width: 70%;
  }
}
.rea .hero-simple {
  background: url(./assets/img/hero/vague-fond-real.svg) no-repeat center center / cover #194a24 !important;
}

@media screen and (min-width: 1025px) {
  .hero-simple div.text {
    width: 100%;
  }
}

.contact .right select{
  width: 100%;
  padding: 10px;
  border: 1px solid #ff5624;
  border-radius: 4px;
  color: #ff5624;
  font-family: 'Parkinsans',sans-serif;
}
.contact .right select option{
  color: #000000;
}

/* Calendly — colonne texte fixe, widget sur le reste */
@media screen and (min-width: 1025px) {
  .calendly.img-right.img-large .left {
    width: 520px;
    flex: 0 0 520px;
    padding: 6vw 2vw 6vw 6vw;
  }
  .calendly.img-right.img-large .right {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
  }
}

#lme-contact-extra{
  width: 100%;
}
.produit-page .product-content .add-to-cart button.disabled{
  opacity: .7;
  pointer-events: none;
}
.produit-page .product-content .options .option .list{
  height: auto;
  margin-bottom: 13px;
}
.lme-option-row.ignifuge{
  margin-top: 0!important;
}
/* Copyright produit — après le nom en majuscules, tooltip au-dessus du © */
.produit-page .product-content .right {
  overflow: visible;
}
.produit-page .product-content .right h1 {
  overflow: visible;
}
.produit-page .product-content .right h1 .lme-product-copyright {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  cursor: help;
  color: #194a24;
  font-size: 0.72em;
  font-weight: 600;
  margin-left: 0.12em;
  vertical-align: super;
  z-index: 1;
}
.produit-page .lme-product-copyright__tooltip {
  position: absolute;
  bottom: calc(100% + 14px);
  top: auto;
  left: 50%;
  right: auto;
  transform: translateX(-50%) translateY(6px);
  z-index: 3;
  width: min(36rem, 88vw);
  max-width: 36rem;
  padding: 1rem 1.2rem;
  background: #000;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.45;
  border-radius: 6px;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.produit-page .lme-product-copyright.is-positioned .lme-product-copyright__tooltip {
  position: fixed;
  bottom: auto;
  z-index: 99;
}
.produit-page .lme-product-copyright::after {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 2;
  pointer-events: none;
}
.produit-page .lme-product-copyright--below::after {
  bottom: auto;
  top: calc(100% + 2px);
  border-top-color: transparent;
  border-bottom-color: #000;
}
.produit-page .lme-product-copyright:hover .lme-product-copyright__tooltip,
.produit-page .lme-product-copyright:focus .lme-product-copyright__tooltip,
.produit-page .lme-product-copyright.is-open .lme-product-copyright__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.produit-page .lme-product-copyright.is-positioned .lme-product-copyright__tooltip {
  transform: translateX(-50%) translateY(0);
}
.produit-page .lme-product-copyright:hover::after,
.produit-page .lme-product-copyright:focus::after,
.produit-page .lme-product-copyright.is-open::after {
  opacity: 1;
  visibility: visible;
}

/* Lightbox galerie produit */
body.lme-lightbox-open {
  overflow: hidden;
}
.lme-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.88);
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}
.lme-lightbox-overlay.is-open {
  display: flex;
}
.lme-lightbox-overlay__img {
  display: block;
  max-width: 90vw;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.lme-lightbox-overlay__btn {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: none;
  cursor: pointer;
  color: #fff;
  font-family: inherit;
  line-height: 1;
  background: rgba(0, 0, 0, 0.78);
  border-radius: 4px;
  transition: background 0.2s ease;
}
.lme-lightbox-overlay__btn:hover,
.lme-lightbox-overlay__btn:focus-visible {
  background: rgba(0, 0, 0, 0.92);
  outline: none;
}
.lme-lightbox-overlay__btn--close {
  top: max(12px, env(safe-area-inset-top, 0px));
  right: max(12px, env(safe-area-inset-right, 0px));
  width: 36px;
  height: 36px;
  font-size: 24px;
}
.lme-lightbox-overlay__btn--prev,
.lme-lightbox-overlay__btn--next {
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  font-size: 28px;
  font-weight: 300;
  line-height: 0.9;
}
.lme-lightbox-overlay__btn--prev {
  left: max(10px, env(safe-area-inset-left, 0px));
}
.lme-lightbox-overlay__btn--next {
  right: max(10px, env(safe-area-inset-right, 0px));
}
.lme-lightbox-overlay__btn.is-hidden {
  display: none;
}
@media (max-width: 768px) {
  .lme-lightbox-overlay__btn--prev,
  .lme-lightbox-overlay__btn--next {
    width: 40px;
    height: 40px;
    font-size: 30px;
  }
  .lme-lightbox-overlay__img {
    max-height: 72vh;
  }
}
.form-devis textarea, form textarea{
  max-width: 100%;
}
.suggestion-image {
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Footer — mention discrète Natur Design (sous le texte SEO) */
footer .text-seo .lme-footer-brand-note {
  margin-top: 1.2em;
  font-size: 1.1rem;
  line-height: 1.35;
  opacity: 0.42;
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0.01em;
  color: #fff;
}
footer .text-seo .lme-footer-brand-note a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 2px;
}
footer .text-seo .lme-footer-brand-note a:hover {
  opacity: 1;
  color: #ff8a5f;
  text-decoration-color: #ff8a5f;
}

/* Formulaires — téléversement de fichiers (contact & devis) */
.lme-form-upload {
  margin-top: 12px;
  width: 100%;
}
.lme-form-upload__label {
  display: block;
  margin-bottom: 6px;
  font-size: 1.3rem;
  font-weight: 600;
  color: inherit;
}
.lme-form-upload__input {
  display: block;
  width: 100%;
  max-width: 100%;
  font-size: 1.3rem;
  font-family: inherit;
  cursor: pointer;
}
.lme-form-upload__hint {
  margin: 6px 0 0;
  font-size: 1.1rem;
  line-height: 1.4;
  opacity: 0.75;
}
.lme-form-upload__error {
  margin: 8px 0 0;
  font-size: 1.1rem;
  line-height: 1.4;
  color: #c0392b;
}
.lme-form-upload__list {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 1.2rem;
  line-height: 1.5;
}
.lme-devis-page .lme-form-upload__label,
.lme-devis-page .lme-form-upload__hint {
  color: #194a24;
}
.projet-studio .right .lme-form-upload__label,
.projet-studio .right .lme-form-upload__hint {
  color: #194a24;
}

/* Fiche produit — prix dynamique (à partir de barré + total options) */
.produit-page .price.lme-price-has-live,
.product-content .price.lme-price-has-live {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35em 0.65em;
}
.produit-page .price .lme-price-from,
.product-content .price .lme-price-from {
  text-decoration: line-through;
  opacity: 0.55;
  font-weight: 500;
}
.produit-page .price .lme-price-current,
.product-content .price .lme-price-current {
  font-weight: 700;
  color: #194a24;
}

/* RGPD — mention sous formulaires */
.lme-form-privacy-notice {
  margin: 14px 0 0;
  font-size: 1.1rem;
  line-height: 1.45;
  opacity: 0.8;
}
.lme-form-privacy-notice a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact-page .lme-form-privacy-notice,
.lme-devis-page .lme-form-privacy-notice {
  color: #194a24;
}
footer .legales a {
  color: #fff;
}

/* Bandeau cookies — styles de secours (priorité : bloc inline #lme-cookie-banner dans le footer) */
#lme-cookie-banner.lme-cookie-banner .lme-cookie-banner__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
}
#lme-cookie-banner.lme-cookie-banner .lme-cookie-banner__text {
  flex: 1 1 280px;
  margin: 0;
}
#lme-cookie-banner.lme-cookie-banner .lme-cookie-banner__actions {
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
}

/* Exposant international — galerie stands */
.exposant-international .exposant-gallery {
  padding: 6vw 4vw 8vw;
  background: #ffffed;
}

.exposant-international .exposant-gallery__inner {
  max-width: 128rem;
  margin: 0 auto;
}

.exposant-international .exposant-gallery .title h2 {
  color: #194a24;
  font-size: clamp(2.4rem, 3vw, 3.6rem);
  margin-bottom: 0.6em;
}

.exposant-international .exposant-gallery__intro {
  color: #194a24;
  max-width: 60ch;
  margin-bottom: 3rem;
  opacity: 0.85;
}

.exposant-international .exposant-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  grid-auto-flow: dense;
}

.exposant-international .exposant-gallery__item {
  display: block;
  overflow: hidden;
  border-radius: 0.6rem;
  background: #fff;
  aspect-ratio: 4 / 3;
  box-shadow: 0 2px 12px rgba(25, 74, 36, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: zoom-in;
}

.exposant-international .exposant-gallery__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(25, 74, 36, 0.14);
}

.exposant-international .exposant-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.exposant-international .exposant-gallery__item--featured {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.exposant-international .projet-studio .exposant-whatsapp-link {
  color: #194a24;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.exposant-international .projet-studio .exposant-whatsapp-link:hover {
  text-decoration: none;
}

.exposant-international .projet-studio .exposant-cta {
  margin-top: 2.4rem;
}

@media screen and (max-width: 1024px) {
  .exposant-international .exposant-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .exposant-international .exposant-gallery__item--featured {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 16 / 10;
  }
}

@media screen and (max-width: 540px) {
  .exposant-international .exposant-gallery__grid {
    grid-template-columns: 1fr;
  }

  .exposant-international .exposant-gallery__item--featured {
    grid-column: span 1;
  }
}


.left-infos{
  padding: 0;
}
.left-infos .top{
  background: #fff;
  padding: 4vw;
}
.left-infos .bottom{
  padding: 4vw;
  margin: 0;
}
.left-infos .top h2, .left-infos .top p{
  color: #194a24;
}
.left-infos span.underline{
  background: #194a24!important;
  color: #fff!important;
}

/* Typo - harmonisation des graisses sur les éléments de marque et les titres */
body,
h1,
h2,
h3,
h4,
h5,
h6,
.fake-title,
header .logo span,
header .nav-menu li > a,
header .megamenu-content-secteurs ul li a span {
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

header .logo span,
header .nav-menu li > a,
header .megamenu-content-secteurs ul li a span {
  font-weight: 500;
}

h1,
h2,
h3,
h4,
h5,
h6,
.fake-title {
  font-weight: 600;
}

/* Pages secteurs + démarche éco : arguments en Parkinsans plutôt qu'en IBM Plex Serif */
.amenagement-entreprise .blocs-4 .item p,
.amenagement-entreprise .blocs-4 .item p span,
.amenagement-magasins .blocs-4 .item p,
.amenagement-magasins .blocs-4 .item p span,
.events-scenographie .blocs-4 .item p,
.events-scenographie .blocs-4 .item p span,
.mobilier-sur-mesure .blocs-4 .item p,
.mobilier-sur-mesure .blocs-4 .item p span,
.stand-en-carton .blocs-4 .item p,
.stand-en-carton .blocs-4 .item p span,
.demarche-eco .blocs-4 .item p,
.demarche-eco .blocs-4 .item p span,
.demarche-eco .left-infos .bottom .item h3,
.demarche-eco .left-infos .bottom .item h3 .serif {
  font-family: "Parkinsans", sans-serif !important;
  font-style: normal;
}

.amenagement-entreprise .blocs-4 .item p,
.amenagement-magasins .blocs-4 .item p,
.events-scenographie .blocs-4 .item p,
.mobilier-sur-mesure .blocs-4 .item p,
.stand-en-carton .blocs-4 .item p,
.demarche-eco .blocs-4 .item p {
  font-weight: 500;
  letter-spacing: -0.02em;
}

.amenagement-entreprise .blocs-4 .item p .big,
.amenagement-magasins .blocs-4 .item p .big,
.events-scenographie .blocs-4 .item p .big,
.mobilier-sur-mesure .blocs-4 .item p .big,
.stand-en-carton .blocs-4 .item p .big,
.demarche-eco .left-infos .bottom .item h3 .big {
  font-weight: 700;
}

.demarche-eco .left-infos .bottom .item h3 {
  display: flex;
  flex-direction: column;
  gap: 0.15em;
}

.demarche-eco .left-infos .bottom .item h3 .serif {
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* Fiche produit : restaurer l'affichage des listes dans la description */
.produit-page .product-content .text ul,
.produit-page .product-content .text ol {
  margin: 0 0 1rem 1.5em;
  padding-left: 0.4em;
}

.produit-page .product-content .text ul {
  list-style: disc;
}

.produit-page .product-content .text ol {
  list-style: decimal;
}

.produit-page .product-content .text li {
  margin: 0.25em 0;
  line-height: 1.35;
}
.page-template-template-mobilier-sur-mesure .realisations .slider .slider-container .slider-reals .slider-track .item img{
  height: 80%;
}
.page-template-template-mobilier-sur-mesure .realisations .slider .slider-container .slider-reals .slider-track .item{
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-template-template-mobilier-sur-mesure .realisations .slider{
  height: 33vw;
}
.lme-seo-block__content a, .lme-seo-block__content a:visited{
  color: #194a24;
}
.lme-seo-block__content a:hover, .lme-seo-block__content a:visited:hover{
  text-decoration: underline;
}

/* Blocs SEO catégories produit (sous démarche éco) */
.lme-term-seo-content {
  background: #ffffed;
  padding: 4rem 5vw 4.5rem;
}
.lme-term-seo-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.lme-seo-block__heading {
  font-size: 2.2rem;
  font-weight: 700;
  color: #194a24;
  margin: 0 0 1rem;
}
.lme-seo-block__content {
  font-size: 1.55rem;
  line-height: 1.65;
  color: rgba(25, 74, 36, 0.9);
}
.lme-seo-block__content p {
  margin: 0 0 0.85em;
}
.lme-seo-block__content h3 {
  font-size: 1.7rem;
  font-weight: 700;
  margin: 1.2em 0 0.5em;
}
.lme-seo-faq {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.lme-seo-faq__item {
  border: 1px solid rgba(25, 74, 36, 0.18);
  border-radius: 8px;
  overflow: hidden;
}
.lme-seo-faq__q {
  font-size: 1.55rem;
  font-weight: 700;
  color: #194a24;
  padding: 0.85rem 1.1rem;
  margin: 0;
  cursor: pointer;
  user-select: none;
  background: rgba(25, 74, 36, 0.04);
  list-style: none;
}
.lme-seo-faq__q::marker {
  display: none;
}
.lme-seo-faq__a {
  font-size: 1.45rem;
  line-height: 1.6;
  color: rgba(25, 74, 36, 0.88);
  padding: 0.85rem 1.1rem;
  margin: 0;
  border-top: 1px solid rgba(25, 74, 36, 0.1);
}

/* Archives catégories produit — intro hero seule, plus discrète */
.tax-product_cat .hero-simple .lme-archive-intro--category,
.tax-product_cat .hero-simple .lme-archive-intro {
  line-height: 1.45;
  margin-top: 0.45rem;
  max-width: 82rem;
  color: rgba(25, 74, 36, 0.92);
}

.tax-product_cat .hero-simple .lme-archive-intro p {
  margin: 1rem 0 0.5em;
  font-size: 1.6rem;
}

.tax-product_cat .hero-simple .lme-archive-intro p:last-child {
  margin-bottom: 0;
}
.hero-catalogue .hero-catalogue-content .hero-text p{
  font-weight: 700;
}

@media screen and (max-width: 768px) {
  .tax-product_cat .hero-simple .lme-archive-intro--category,
  .tax-product_cat .hero-simple .lme-archive-intro {
    font-size: 1.18rem;
    line-height: 1.4;
  }
}

/* Footer : adresse showroom au-dessus des coordonnees */
footer .footer-bottom .top .socials .lme-footer-showroom {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.35;
  color: #fff;
  max-width: 32ch;
}

@media screen and (max-width: 768px) {
  footer .footer-bottom .top .socials .lme-footer-showroom {
    margin-bottom: 8px;
    max-width: 100%;
  }
}

.blocs-4 .item p{
  font-family: "Parkinsans", sans-serif !important;
}

@media screen and (max-width: 1024px) {
  .hero .slider-img {
    filter: brightness(0.8) !important;
  }
  .hero .content-hero{
    pointer-events: none;
  }
}
@media screen and (max-width: 768px) {
  .details__title:before, .details__title:after {
    right: 12px;
    width: 24px;
    height: 24px;
  }
}