/* ============================================================
   Philomene Paris — local-theme.css
   Theme corporateplus (MTT), palette dans color-local.css
   ============================================================ */

/* === 1. BASE / TYPOGRAPHIE === */

body {
  text-rendering: optimizeLegibility;
}
.page-container {
  overflow: hidden;
}
.animated {
  opacity: 1;
  -webkit-animation-duration: 1.5s;
  animation-duration: 1.5s;
}
h1, h2, h3, h4, h5, h6 {
  line-height: 1.6;
  padding: 0;
  margin: 0 0 10px 0;
  font-weight: 500;
  text-transform: none;
}
h2 { font-size: var(--t-xl); letter-spacing: 0.08em; }
h3 { font-size: var(--t-lg); }
.headings-wide-spacing-enabled h1,
.headings-wide-spacing-enabled h2,
.headings-wide-spacing-enabled h3,
.headings-wide-spacing-enabled h4,
.headings-wide-spacing-enabled h5,
.headings-wide-spacing-enabled h6 {
  letter-spacing: 0.08em;
}
.headings-wide-spacing-enabled h2.title,
.headings-wide-spacing-enabled h4.title,
.headings-wide-spacing-enabled nav > h2,
.headings-wide-spacing-enabled .block-search > h2 {
  letter-spacing: 0.08em;
}
h1.page-title {
  font-size: var(--t-2xl);
  font-weight: 500;
  margin: 0;
}
.page-node-type-page h1.page-title {font-size:28px;letter-spacing:2px;margin-bottom:10px;text-align:center;text-transform:uppercase;}

.page-node-type-page .region--default-background {
	background-color: #fff;
}

.internal-banner-container h1.page-title {
  font-weight: 500;
}
b, strong { font-weight: 700; }
hr {
	border-top: 3px solid #000;
	margin-bottom: 40px;
	margin-top: 40px;
	clear: both;
  opacity:1;
}
.align-left img { margin: 0 10px 10px 0; }
.align-right img { margin: 0 0 10px 10px; }

:root {
  --text-size: 16px;
  --modular-ratio: 1.21;
}

.hff-09 h1, .hff-09 h2, .hff-09 h3, .hff-09 h4, .hff-09 h5, .hff-09 h6,
.hff-09 .tp-caption__title, .hff-09 .tp-caption__subtitle,
.hff-09 .field--name-field-mt-highlight-title, .sff-09 .site-name,
.slff-09 .site-slogan, .hff-09 .nav-tab__title,
.hff-09 .views-field-field-mt-price,
.hff-09 .page-node-type-mt-product .page-title,
.hff-09 .field__label {
  font-family: "Comfortaa", sans-serif;
}
body.pff-09 {
  font-family: "Comfortaa", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

a.mt-button, .mt-button > a, button.mt-button,
input[type="submit"], input[type="reset"], input[type="button"] {
  text-transform: none;
  font-size: var(--t-base);
}

.region--default-background {
  background-color: var(--ph-color-offwhite);
}

.modal-backdrop.fade {
  opacity: 1;
  display: none;
}

fieldset legend {
  margin-bottom: 25px;
  margin-top: 10px;
}

.messages--error {
  background: var(--ph-color-black);
}

.mt-no-opacity {
  opacity: 1;
}


/* === 2. HEADER PHILOMENE (Phase 5.1) === */

/* Container: flex column, header_top SOUS header */
.header-container {
  display: flex;
  flex-direction: column;
  background: var(--ph-color-white);
  border-bottom: none;
}
.header-container > .header-top-highlighted { order: 0; }
.header-container > header.header { order: 1; }
.header-container > .header-top {
  order: 2;
  border-top: none;
  border-bottom-width: 2px;
  border-bottom-style: solid;
  border-bottom-color: var(--ph-color-black);
  background: var(--ph-color-white);
  padding: 0;
}
.header-container > .header-top.region--bright-background,
.header-container > .header-top.region--tint-background {
  border-color: var(--ph-color-black);
}
.header-top .header-top__container {
  border-bottom: none;
}

.header-container .container-fluid {
  max-width: 1575px;
}

/* Ligne 1 : padding du conteneur header */
.header__container {
  padding: 20px 0;
}

/* Search trigger (header_first) */
.header-first .block {
  padding: 0;
  margin: 0;
}
.header-first .ph-search-wrapper {
  padding: 0;
  margin: 0;
}
.header-first .ph-search-trigger {
  font-size: var(--t-sm);
  color: var(--ph-color-black);
  text-transform: none;
  letter-spacing: 0.5px;
  padding: 8px 0;
  gap: 8px;
}
.header-first .ph-search-trigger .ph-icon {
  width: 20px;
  height: 20px;
}
.header-first .ph-search-trigger__label {
  font-family: inherit;
  font-weight: 400;
  font-size: var(--t-sm);
}

/* Grille header : CSS Grid pour centrage exact du logo */
.header__container > .row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.header__container > .row > div {
  width: auto;
}

/* Logo centre */
.logo {
  transition: max-width 0.3s;
}
.header-second .logo-and-site-name-wrapper {
  text-align: center;
  margin: 0;
  padding: 0;
}
.header-second .logo {
  max-width: 340px;
  margin: 0 auto;
}
.fixed-header-enabled.onscroll .header-second .logo {
  max-width: 180px;
}
#footer .logo {
  max-width: 220px;
}
@media (max-width: 768px) {
  #footer .logo {
    margin: 0 auto;
  }
}

/* Header droite : tout sur une seule ligne */
.header__section.header-third,
.header-third .region {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
}
.header-third .block {
  padding: 0;
  margin: 0;
  flex-shrink: 0;
}
.header__section.header-third .block-language { order: 0; margin-right: 12px; }
.header__section.header-third #block-corporateplus-menuducomptedelutilisateur,
.header__section.header-third #block-corporateplus-account-menu { order: 1; }

/* Language switcher FR/EN (template links--language-block.html.twig) */
.block-language .ph-lang-switcher {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}
.block-language .ph-lang-switcher::before {
  display: none;
  content: none;
}
.block-language .ph-lang-switcher li {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}
.block-language .ph-lang-switcher li a,
.block-language .ph-lang-switcher li span {
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--ph-color-black);
  text-decoration: none;
  padding: 8px 4px;
  display: block;
}
.block-language .ph-lang-switcher li a:hover {
  color: var(--ph-color-camel);
}
.block-language .ph-lang-switcher li.is-active a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.block-language .ph-lang-switcher li + li::before {
  content: "/";
  font-size: var(--t-sm);
  font-family: inherit;
  font-weight: 400;
  padding: 0 2px;
  color: var(--ph-color-black);
}

/* Menu account : icones FA (meme technique que le panier dans commerce.css) */
#block-corporateplus-menuducomptedelutilisateur,
#block-corporateplus-account-menu {
  margin: 0;
  padding: 0;
  overflow: hidden;
}
#block-corporateplus-menuducomptedelutilisateur h2.title,
#block-corporateplus-account-menu h2.title {
  display: none;
}
.ph-header-icons {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  height: 38px;
  overflow: hidden;
}
.ph-header-icons::before {
  display: none;
}
.ph-header-icons li {
  margin: 0;
  padding: 0;
  position: static;
  z-index: auto;
  height: 38px;
}
.ph-header-icons li a {
  display: block;
  font-size: 0;
  width: 38px;
  height: 38px;
  line-height: 38px;
  text-align: center;
  color: var(--ph-color-black);
  text-decoration: none;
  padding: 0;
  transition: color 0.2s;
}
.ph-header-icons li a:hover {
  color: var(--ph-color-camel);
  text-decoration: none;
  background: none;
}
.ph-header-icons li a::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
  font-size: 18px;
  line-height: 38px;
  position: static;
  width: auto;
  height: auto;
}
.ph-header-icons li a[href*="user"]::before,
.ph-header-icons li a[href*="login"]::before {
  content: "\f007";
}
.ph-header-icons li a[href*="favorites"]::before {
  content: "\f004";
}

/* Commerce cart block (header_third) - icone FA seule */
.header__section.header-third #block-cart-mobile,
.header__section.header-third #block-mt-business-corporateplus-cart { order: 2; }
#block-cart-mobile,
#block-mt-business-corporateplus-cart {
  padding: 0;
  margin: 0;
}
header.header .cart-block--link__expand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  font-size: 0;
  color: var(--ph-color-black);
  transition: color 0.2s;
}
header.header .cart-block--link__expand:hover {
  color: var(--ph-color-camel);
  text-decoration: none;
}
header.header .cart-block--summary__icon {
  font-size: 0;
}
header.header .cart-block--link__expand .cart-block--summary__icon::before {
  content: "";
  font-family: initial;
  display: inline-block;
  width: 19px;
  height: 19px;
  vertical-align: middle;
  background: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6l-3-4H6z'/%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6l-3-4H6z'/%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
header.header .cart-block--summary__count {
  font-size: 0;
  width: 0;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

/* Ligne 2 : navigation principale centree */
.header-top .header-top__container {
  padding: 0;
}
.header-top .header-top__section {
  text-align: center;
}
.header-top .header-top__section .block {
  padding: 0;
  margin: 0;
}
.header-top .header-top__section .block h2.title {
  display: none;
}
.header-top .header-top__section ul.menu,
.header-top .header-top__section ul.sf-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 0;
  margin: 0;
}
.header-top .header-top__section ul.menu::before {
  display: none;
}
.header-top .header-top__section ul.menu > li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.header-top .header-top__section ul.menu > li > a,
.header-top .header-top__section ul.menu > li > span {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--ph-color-black);
  padding: 14px 0;
  display: block;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.header-top .header-top__section ul.menu > li > a:hover,
.header-top .header-top__section ul.menu > li > a.is-active,
.header-top .header-top__section ul.menu > li.active-trail > a {
  color: var(--ph-color-black);
  border-bottom-color: var(--ph-color-camel);
  background: none;
}

/* Superfish submenus (base, sera enrichi pour mega menu) */
.header-container .sf-menu ul li a,
.header-container .sf-menu ul li > span {
  color: var(--ph-color-black);
  font-size: var(--t-sm);
}
.header-container .sf-menu ul li a:hover,
.header-container .sf-menu ul li.sfHover > a,
.header-container .sf-menu ul li a.is-active,
.header-container .sf-menu ul li.active-trail > a {
  color: var(--ph-color-camel);
  background-color: transparent;
}
.header-container .sf-menu li.sfHover > a {
  background-color: transparent;
}
.header-container .sf-menu.menu ul {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 0;
}

/* Fixed header on scroll */
.fixed-header-enabled.onscroll .header-container {
  background: var(--ph-color-white);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}
.fixed-header-enabled.onscroll .header__container {
  padding: 8px 0;
}
.fixed-header-enabled.onscroll .header__section ul.menu {
  padding-top: 0;
}

/* Header menu base (non-nav) */
.header__section ul.menu {
  padding: 0;
}
.header-container ul.menu > li a,
.header-container ul.menu > li > span {
  font-size: var(--t-sm);
  font-weight: 400;
  padding: 15px 10px;
  text-transform: none;
}
.cart-block--contents {
  right: 0;
}
@media (max-width: 768px) {
  .cart-block--contents {
    display: none !important;
  }
}


/* === 3. BREADCRUMBS === */

#block-corporateplus-breadcrumbs {
  padding: 0 0 30px;
}
.breadcrumb__items {
  border-top-width: 0;
}
.breadcrumb__item {
  padding: 7px 0;
  font-size: var(--t-sm);
  font-weight: 400;
  text-transform: none;
}


/* === 4. HERO / SLIDER / CONTENU === */

.tp-caption__title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}
.tp-caption__title a {
  text-decoration: none;
  font-weight: 400;
  color: #ffffff;
}
.ms-transparent-background .tp-caption__text {
  font-size: var(--t-base);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  font-weight: 400;
  color: var(--ph-color-white);
}
.tparrows {
  display: none;
}

.no-js .owl-carousel, .owl-carousel.owl-loaded {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

#content-top-highlighted {
  padding: 40px 15px 60px;
}

.pp-new { max-width: 100px; opacity: 0.2; }

.hero-column-first {
  padding: 5%;
}

@media (min-width: 1200px) {
  .block-mt-hero-v2 > .content {
    padding: 0;
  }
}

.block-mt-hero-v2 .field--name-field-mt-hero-v2-title {
  font-weight: 700;
  font-size: var(--t-xl);
  letter-spacing: 0.08em;
}
@media (min-width: 1200px) {
  .block-mt-hero-v2 .field--name-field-mt-hero-v2-title {
    margin-top: 20px;
  }
}
.block-mt-hero-v2 .field--name-field-mt-hero-v2-description p {
  text-align: justify;
  margin-bottom: 5px;
}
.call-to-action h4 {
  font-size: var(--t-xl);
}

#block-mt-business-corporateplus-mainslideshowfullscreen a.mt-button,
#block-mt-business-corporateplus-mainslideshowfullscreen a.mt-button:link,
#block-mt-business-corporateplus-mainslideshowfullscreen a.mt-button:visited {
  background-color: #ffffff;
  background-image: none;
  border: 1px solid #ffffff;
  color: var(--ph-color-black);
  padding: 8px 22px;
  text-transform: uppercase;
  font-weight: 400;
  font-size: var(--t-xs);
  letter-spacing: 0.15em;
}
#block-mt-business-corporateplus-mainslideshowfullscreen a.mt-button:hover,
#block-mt-business-corporateplus-mainslideshowfullscreen a.mt-button:focus {
  background-color: var(--ph-color-black);
  color: #ffffff;
  border-color: var(--ph-color-black);
}

#block-corporateplus-goodcashmerestandard {
  max-width: 980px;
  margin: 0 auto;
}
#block-corporateplus-goodcashmerestandard .field--name-field-mt-hero-v2-image img {
  max-width: 225px;
  text-align: center;
  margin: 0 auto;
  display: block;
}
@media (min-width: 767px) {
  #block-corporateplus-goodcashmerestandard .hero-column-first,
  #block-corporateplus-goodcashmerestandard .hero-column-second {
    padding: 0 55px 7px 0;
  }
}
@media (min-width: 1200px) {
  #block-corporateplus-goodcashmerestandard .block-mt-hero-v2 .field--name-field-mt-hero-v2-description {
    margin-bottom: 0;
  }
}
#block-corporateplus-goodcashmerestandard .col-12 h2.title {
  font-size: var(--t-2xl);
  margin: 20px 0 26px;
}

#block-mt-business-corporateplus-heroblockimageleft2 {
  padding-bottom: 0;
  margin-bottom: 0;
}

.main-content__section, .sidebar__section {
  padding: 30px 0;
}

.node--view-mode-teaser {
  padding: 0 0 10px 0;
  margin-bottom: 0;
}

.region--no-paddings .region .block-views-blockmt-commerce-related-products-block-1:first-child,
.region--no-paddings .region .block-views-blockmt-commerce-recommended-products-block-1:first-child {
  padding-top: 0;
}


/* === 5. COMMERCE / PRODUITS === */

/* Galerie produit (Slick) */
.product-content img,
.node--view-mode-mt-teaser-tile-commerce-product .field--name-field-mt-vrt-gnr-image img {
  transition: all 0.2s ease-in-out;
}
.slick-slide .media--slick img,
.node--view-mode-mt-teaser-tile-commerce-product .field--name-field-mt-vrt-gnr-image img {
  overflow: hidden;
  transition: transform 1s ease;
}
.slick-slide .media--slick,
.node--view-mode-mt-teaser-tile-commerce-product .field--name-field-mt-vrt-gnr-image {
  overflow: hidden;
}
.node--view-mode-mt-teaser-tile-commerce-product .overlay-container:hover img {
  transform: scale(1.1);
}
.slick--thumbnail .slick-current img {
  border: 1px solid #188caf;
}
.thumbnails .thumb img, .slide__thumbnail img {
  display: block;
  margin: 0 15px 15px auto;
  border-radius: 0;
  border: 1px solid var(--ph-color-border);
  padding: 2px;
}
.slick-arrow::before {
  color: var(--ph-color-white);
  font-size: 2.25rem;
}
.slick-arrow:hover::before {
  color: #37465b;
}
.path-product .slick-list {
  height: auto;
}
.path-product .slick-wrapper {
  margin-bottom: 0;
}
.path-product .main-content__section, .path-product .sidebar__section {
  padding: 30px 0 0;
}

/* Cards produit (teaser tile) */
.node--view-mode-mt-teaser-tile .commerce-order-item-add-to-cart-form > div {
  display: block;
  margin: -4px -10px -13px;
  padding: 0;
  text-align: left;
}
.node--view-mode-mt-teaser-tile .commerce-order-item-add-to-cart-form input[type="submit"] {
  font-size: var(--t-sm);
}
@media (min-width: 767px) {
  .node--view-mode-mt-teaser-tile .teaser-tile-content {
    font-size: var(--t-lg);
    font-weight: 700;
    line-height: 1.5;
    opacity: 1;
    text-align: right;
    width: 50%;
    float: right;
    margin: 0 10px;
    background: transparent;
    color: var(--mt-heading-color);
  }
}
.node--view-mode-mt-teaser-tile .mt-4 {
  margin-top: 1.5rem;
  float: left;
  margin: 0 10px;
}
.field--name-field-mt-gnr-description {
  text-align: left;
  clear: both;
}

/* Pastilles couleur */
.view-mt-commerce-products .node__content .color_field__swatch,
.view-mt-commerce-related-products .node__content .color_field__swatch,
.view-mt-favorites .node__content .color_field__swatch {
  border-radius: 150px;
  outline: 1px solid var(--ph-color-border);
  border: 2px solid var(--ph-color-white);
  cursor: pointer;
}
.view-mt-commerce-products .product--rendered-attribute__selected ~ label.option .color_field__swatch,
.view-mt-commerce-related-products .product--rendered-attribute__selected ~ label.option .color_field__swatch,
.view-mt-favorites .product--rendered-attribute__selected ~ label.option .color_field__swatch {
  border-radius: 150px;
  outline: 1px solid rgba(56, 170, 236, 0.93);
  border: 2px solid var(--ph-color-white);
  cursor: pointer;
}
.view-mt-favorites .product--rendered-attribute__selected ~ label.option,
.view-mt-commerce-products .product--rendered-attribute__selected ~ label.option,
.view-mt-commerce-related-products .product--rendered-attribute__selected ~ label.option {
  border: 0 solid;
  border-radius: 150px;
}
.view-mt-commerce-products .color_field__swatch--square,
.view-mt-commerce-related-products .color_field__swatch--square {
  width: 40px;
  height: 40px;
}

/* Masquer elements inutiles dans les vues produits */
.view-mt-commerce-products fieldset[id^="edit-purchased-entity-0-attributes-attribute-mt-attr-option"],
.view-mt-commerce-related-products fieldset[id^="edit-purchased-entity-0-attributes-attribute-mt-attr-option"],
.view-mt-favorites fieldset[id^="edit-purchased-entity-0-attributes-attribute-mt-attr-option"] {
  display: none;
}
.view-mt-commerce-products div[id^="edit-quantity-wrapper"],
.view-mt-commerce-related-products div[id^="edit-quantity-wrapper"],
.view-mt-favorites div[id^="edit-quantity-wrapper"] {
  display: none;
}
.view-mt-commerce-related-products .node__content .field--name-variations .product--rendered-attribute legend,
.view-mt-commerce-products .field--name-variations .product--rendered-attribute legend,
.view-mt-favorites .field--name-variations .product--rendered-attribute legend,
.view-mt-commerce-products .field--name-variations .button--add-to-cart,
.view-mt-commerce-related-products .field--name-variations .button--add-to-cart,
.view-mt-favorites .field--name-variations .button--add-to-cart {
  display: none;
}
.view-mt-commerce-products .field--name-quantity,
.view-mt-commerce-related-products .field--name-quantity,
.view-mt-favorites .field--name-quantity {
  display: none;
}
.view-mt-commerce-products .node__content,
.view-mt-commerce-related-products .node__content,
.view-mt-favorites .node__content {
  margin: 10px;
}
.view-mt-commerce-related-products .attribute-widgets .form-radios label.option {
  border-width: 0;
}

/* Fiche produit */
.field--name-quantity .js-form-item label {
  float: left;
  padding: 8px 11px 0 0;
  color: var(--mt-color-base);
}
.field--name-quantity .js-form-item input {
  width: 75px;
  padding: 5px 15px;
}
#commerce-product-add-to-cart-form input,
#commerce-product-add-to-cart-form .form-actions {
  margin-bottom: 0;
}
.product-content-second .field {
  margin-bottom: 20px;
}
.commerce-product-sidebar {
  font-size: var(--t-base);
  margin-top: 0;
}

/* Features carousel (univers) */
.mt-features-carousel .owl-nav {
  top: 43%;
}
.mt-features-carousel .feature-item__title + .field--name-field-mt-feature-body {
  margin-top: 0;
}
/* Ancien style fleches carousel deplace en section 10 */
.mt-features-carousel .overlay {
  opacity: 1;
  transition: opacity 0.2s linear;
  z-index: 10;
}
.overlay--visible {
  opacity: 1;
  transition: all 0.2s linear;
}
.overlay-target-link {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
}
.mt-features-carousel .overlay-inner {
  background-color: transparent;
  z-index: 1;
}
.mt-features-carousel .feature-item__title a {
  color: var(--ph-color-white);
  text-transform: uppercase;
  font-weight: 900;
}
.mt-features-carousel a.mt-button {
  color: var(--ph-color-black);
  background: var(--ph-color-white);
  border: 0;
  text-transform: uppercase;
  padding: 10px;
  font-size: var(--t-sm);
}

/* Checkout */
.checkout-progress {
  text-align: center;
}
#edit-completion-message {
  text-align: center;
}

/* Lavage */
.lavage {
  display: flex;
  flex-shrink: unset;
  flex-wrap: unset;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}
.lavage .col-md-6 {
  width: 45%;
  background: var(--ph-color-white);
  margin: 10px 10px 25px;
}

/* Blocs specifiques */
#block-corporateplus-mercipourvotrecommande .col-12 h2.title {
  margin: 20px 0 7px;
}
#block-corporateplus-noscoordonnees { margin-bottom: 60px; }
#block-corporateplus-slideshowneuilly h2.title { margin: 0 0 15px; }


/* === 6. FOOTER === */

.footer__section h2.title, .footer__section nav > h2,
.footer__section .block-search > h2,
.footer-bottom__section h2.title, .footer-bottom__section nav > h2,
.subfooter__section h2.title, .subfooter__section nav > h2 {
  font-size: var(--t-lg);
  margin-bottom: 25px;
}
.footer__section {
  padding: 50px 0 40px;
  font-size: var(--t-base);
}

.sticky-footer {
  border-top-width: 1px;
}
.sticky-footer-container {
  background: var(--ph-color-offwhite);
}
.collapsible-sticky-footer-trigger .mt-button {
  font-size: var(--t-xl);
  padding: 12px 30px;
}
.sticky-footer__container .collapse {
  padding: 20px 0 0;
}

.webform-submission-inscription-a-notre-newsletter-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}


/* === 7. CARTES PRODUIT PHILOMENE (maquette B2A) === */

.ph-product-card {
  text-align: left;
}
.ph-product-card .ph-card-image {
  overflow: hidden;
  position: relative;
}
.ph-product-card .ph-card-image img {
  display: block;
  width: 100%;
  transition: opacity 0.4s ease;
}
.ph-product-card .ph-card-image .ph-card-image--hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.ph-product-card:hover .ph-card-image .ph-card-image--hover {
  opacity: 1;
}
.ph-product-card .ph-card-body {
  padding: 10px 0 0;
}
.ph-product-card .ph-card-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.ph-product-card .ph-card-title {
  font-size: var(--t-sm);
  font-weight: 400;
  margin: 0;
  text-align: left;
  flex: 1;
  line-height: 1.4;
}
.ph-product-card .ph-card-title a {
  text-decoration: none;
  color: var(--ph-color-black);
}
.ph-product-card .ph-card-title a:hover {
  color: var(--ph-color-camel);
}
.ph-product-card .ph-card-flag {
  flex-shrink: 0;
}
.ph-product-card .ph-card-price {
  font-size: var(--t-sm);
  font-weight: 400;
  color: var(--mt-body-color);
  margin-top: 4px;
  text-align: left;
}

.ph-product-card .flag-mt-favorites {
  position: static;
  width: auto;
  height: auto;
  z-index: auto;
}
.ph-product-card .flag-mt-favorites.mt-button--outline a,
.ph-product-card .flag-mt-favorites > span {
  font-size: 0;
  width: 24px;
  height: 24px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: block;
}
.ph-product-card .flag-mt-favorites a::before,
.ph-product-card .flag-anon-message span::before {
  font-family: "Font Awesome 5 Free", "Font Awesome 5 Pro";
  content: "\f004";
  font-size: 16px;
  font-weight: 400;
  position: static;
  width: auto;
  height: auto;
  line-height: 24px;
  text-align: center;
  color: var(--ph-color-black);
  background: transparent;
  border-radius: 0;
  opacity: 1;
}
.ph-product-card .flag-mt-favorites.action-unflag a::before {
  font-weight: 900;
}
.ph-product-card .flag-mt-favorites a:hover::before,
.ph-product-card .flag-anon-message span:hover::before {
  color: var(--ph-color-camel);
  opacity: 1;
}
.ph-product-card .flag-mt-favorites a:hover,
.ph-product-card .flag-mt-favorites a:focus {
  background-color: transparent;
  text-decoration: none;
  outline: none;
}
.ph-product-card .flag-mt-favorites a::after {
  content: none;
}

.ph-product-card .commerce-order-item-add-to-cart-form,
.ph-product-card .field--name-variations .product--rendered-attribute,
.ph-product-card .field--name-variations .button--add-to-cart,
.ph-product-card .field--name-quantity,
.ph-product-card .js-flag-message {
  display: none;
}

/* Masquer l'overlay icone lien MTT sur les cartes produit */
.ph-product-card .overlay-inner {
  display: none;
}
.ph-product-card .overlay-container:hover .overlay {
  opacity: 0;
}

/* Titre du bloc Nouveautes */
.block-views-blockmt-commerce-products-block-1 > h2.title {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: var(--t-xl);
  color: var(--ph-color-black);
  text-align: left;
  margin-bottom: 20px;
}

/* Lien "Voir tout" — styles dans more-links.css + link-styles.css */


/* === 8. REASSURANCE BAR === */

.ph-reassurance-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}
.ph-reassurance-bar .ph-rea-item {
  text-align: center;
}
.ph-reassurance-bar .ph-rea-title {
  font-size: var(--t-lg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  color: var(--ph-color-black);
}
.ph-reassurance-bar .ph-rea-desc {
  font-size: var(--t-base);
  font-weight: 400;
  color: var(--ph-color-black);
  line-height: 1.6;
}

/* === 8b. MT-BUTTON — style outline global === */

a.mt-button,
.mt-button > a {
  font-weight: 400;
  font-size: var(--t-lg);
  letter-spacing: 0.08em;
  padding: 16px 60px;
  background-color: transparent;
  border-width: 1px;
}
.region--colored-background a.mt-button,
.region--colored-background .mt-button > a,
.region--dark-colored-background a.mt-button,
.region--dark-colored-background .mt-button > a {
  background-color: transparent;
  border-color: #ffffff;
  color: #ffffff;
}
.region--colored-background a.mt-button:hover,
.region--colored-background .mt-button > a:hover,
.region--dark-colored-background a.mt-button:hover,
.region--dark-colored-background .mt-button > a:hover {
  background-color: rgba(255,255,255,0.15);
  border-color: #ffffff;
  color: #ffffff;
}

/* === 9. FOOTER PHILOMENE === */

#footer {
  border-top: 1px solid var(--ph-color-border);
}
.footer__section {
  padding: 50px 0 40px;
  font-size: var(--t-sm);
}
.footer__section h2.title,
.footer__section nav > h2,
.footer__section .block-search > h2 {
  font-size: var(--t-lg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  margin-bottom: 20px;
  color: var(--ph-color-black);
}
.footer__section ul.menu {
  padding: 0;
  margin: 0;
  list-style: none;
}
.footer__section ul.menu::before {
  display: none;
  content: none;
}
.footer__section ul.menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__section ul.menu li a,
#footer .footer__section ul.menu li a {
  font-size: var(--t-base);
  font-weight: 400;
  color: var(--ph-color-black);
  text-decoration: none;
  display: block;
  padding: 3px 0;
  padding-left: 0;
  position: relative;
  transition: color 0.2s;
}
.footer__section ul.menu li a::before {
  display: none;
  content: none;
}
.footer__section ul.menu li a:hover,
#footer .footer__section ul.menu li a:hover {
  color: var(--ph-color-camel);
  text-decoration: none;
  background: none;
}

.subfooter__section {
  border-top: none;
  padding: 24px 0;
  text-align: center;
}
.subfooter__container {
  border-top: none;
}
.subfooter__section .social-links,
.subfooter__section .ph-social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.subfooter__section .social-links::before,
.subfooter__section .ph-social-icons::before {
  display: none;
}
.subfooter__section .social-links a,
.subfooter__section .ph-social-icons a {
  color: var(--ph-color-black);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}
.subfooter__section .social-links li a:hover,
.subfooter__section .ph-social-icons a:hover,
.subfooter__section ul.icons-list li a:hover {
  color: var(--ph-color-camel);
  background-color: transparent;
}


/* === 10. UNIVERS CAROUSEL === */

/* Carousel pleine largeur, contenir le debordement des marges negatives */
#block-mt-business-corporateplus-featurescarousel {
  overflow: hidden;
}
#block-mt-business-corporateplus-featurescarousel .owl-carousel.owl-loaded {
  max-width: 100%;
  position: relative;
}

/* Titre de section */
#block-mt-business-corporateplus-featurescarousel h2.title {
  font-size: var(--t-xl);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: left;
  color: var(--ph-color-black);
  margin-bottom: 16px;
}

/* Masquer le label "Image" du champ */
#block-mt-business-corporateplus-featurescarousel .field__label {
  display: none;
}

/* Items : hauteur fixe + chaine de height complete */
#block-mt-business-corporateplus-featurescarousel .mt-features-carousel .owl-item {
  height: 620px;
}
#block-mt-business-corporateplus-featurescarousel .owl-item > li,
#block-mt-business-corporateplus-featurescarousel .owl-item .field__item,
#block-mt-business-corporateplus-featurescarousel .owl-item .paragraph {
  height: 100%;
}
#block-mt-business-corporateplus-featurescarousel .feature-item {
  height: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}
#block-mt-business-corporateplus-featurescarousel .owl-item > li {
  padding: 0;
  margin: 0;
}

/* Image cover pleine surface */
#block-mt-business-corporateplus-featurescarousel .feature-item__image {
  height: 100%;
  width: 100%;
}
#block-mt-business-corporateplus-featurescarousel .overlay-container {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
}
#block-mt-business-corporateplus-featurescarousel .feature-item__image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay : gradient sur .overlay, texte en bas via flex */
#block-mt-business-corporateplus-featurescarousel .mt-features-carousel .overlay {
  opacity: 1;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.25) 35%, transparent 60%);
}
#block-mt-business-corporateplus-featurescarousel .mt-features-carousel .overlay-inner {
  position: relative;
  top: auto;
  bottom: auto;
  left: auto;
  height: auto;
  width: 100%;
  margin-top: 0;
  background: none;
  padding: 24px 20px 28px;
  z-index: 1;
}

/* Titres : blanc, uppercase, gras, centre */
#block-mt-business-corporateplus-featurescarousel .feature-item__title {
  margin: 0;
  text-align: center;
  color: #ffffff;
  font-size: var(--t-lg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
#block-mt-business-corporateplus-featurescarousel .feature-item__title a {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-shadow: inherit;
}

/* Lien cliquable sur toute la carte */
#block-mt-business-corporateplus-featurescarousel .overlay-target-link {
  z-index: 3;
}

/* Masquer body si present */
#block-mt-business-corporateplus-featurescarousel .field--name-field-mt-feature-body {
  display: none;
}

/* Fleches : cachees par defaut, visibles au hover sur le bloc */
#block-mt-business-corporateplus-featurescarousel .mt-features-carousel .owl-nav {
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: auto;
  transform: translateY(-50%);
  z-index: 10;
}
#block-mt-business-corporateplus-featurescarousel:hover .mt-features-carousel .owl-nav {
  opacity: 1;
  pointer-events: auto;
}
#block-mt-business-corporateplus-featurescarousel .mt-features-carousel .owl-nav .owl-prev,
#block-mt-business-corporateplus-featurescarousel .mt-features-carousel .owl-nav .owl-next {
  position: absolute;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  padding: 0;
  background: rgba(255,255,255,0.85);
  color: var(--ph-color-black);
  border-radius: 50%;
  font-size: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  cursor: pointer;
}
#block-mt-business-corporateplus-featurescarousel .mt-features-carousel .owl-nav .owl-prev {
  left: 55px;
  right: auto;
}
#block-mt-business-corporateplus-featurescarousel .mt-features-carousel .owl-nav .owl-next {
  right: 55px;
  left: auto;
}
#block-mt-business-corporateplus-featurescarousel .mt-features-carousel .owl-nav .owl-prev::after,
#block-mt-business-corporateplus-featurescarousel .mt-features-carousel .owl-nav .owl-next::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 16px;
  position: static;
  display: block;
  background: none;
  padding: 0;
  border-radius: 0;
  color: var(--ph-color-black);
  line-height: 1;
}
#block-mt-business-corporateplus-featurescarousel .mt-features-carousel .owl-nav .owl-prev::after {
  content: "\f053";
}
#block-mt-business-corporateplus-featurescarousel .mt-features-carousel .owl-nav .owl-next::after {
  content: "\f054";
}


/* === 11. HERO SLIDER FINITIONS === */

.tpcircle,
.tp-bullets {
  display: none;
}

/* Reduire l'ecart entre le slider et le bloc Nouveautes */
.hero-top.region--no-paddings {
  min-height: 0;
}
.hero-top.region--no-paddings .hero-top__container,
.internal-banner-container .hero-top.region--no-paddings .hero-top__container {
  padding: 30px 0;
}


/* === 12. RESPONSIVE === */

@media (max-width: 1200px) {
  #block-mt-business-corporateplus-mainslideshowfullscreen,
  #block-mt-business-corporateplus-mainslideshowfullscreen .main-slideshow-block {
    height: 70vh;
    overflow: hidden;
  }
  .tp-caption__title {
    font-size: var(--t-xl);
    font-weight: 700;
  }
  .ms-transparent-background .tp-caption__text {
    display: none;
  }
}

@media (max-width: 1200px) {
  #block-mt-business-corporateplus-featurescarousel .mt-features-carousel .owl-item {
    height: 350px;
  }
}

@media (max-width: 767px) {
  .ph-product-card .ph-card-title {
    font-size: var(--t-xs);
  }

  .ph-reassurance-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer__section {
    padding: 25px 0 14px;
    font-size: var(--t-sm);
  }

  #block-mt-business-corporateplus-featurescarousel .mt-features-carousel .owl-item {
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .block-mt-hero-v2 .hero-column-first {
    margin-bottom: 0;
  }
  .block-mt-hero-v2 > .content {
    padding: 0;
  }
  .col-12 .block {
    padding-bottom: 0;
  }
  #content-top-highlighted {
    padding: 20px 15px 0;
  }
  .page-node-type-mt-canvas-page .main-content__section {
    padding-bottom: 0;
    padding-top: 20px;
  }

  /* Hero slider mobile (maquette : pleine hauteur + bouton noir large en bas) */
  #block-mt-business-corporateplus-mainslideshowfullscreen,
  #block-mt-business-corporateplus-mainslideshowfullscreen .main-slideshow-block {
    height: 75vh;
  }
  .tp-caption__title {
    font-size: var(--t-xl);
    font-weight: 700;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
  }
  .ms-transparent-background .tp-caption__text {
    display: none;
  }
  #block-mt-business-corporateplus-mainslideshowfullscreen a.mt-button,
  #block-mt-business-corporateplus-mainslideshowfullscreen a.mt-button:link,
  #block-mt-business-corporateplus-mainslideshowfullscreen a.mt-button:visited {
    padding: 16px 60px;
    font-size: var(--t-base);
    font-weight: 600;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 575px) {
  #block-mt-business-corporateplus-mainslideshowfullscreen a.mt-button,
  #block-mt-business-corporateplus-mainslideshowfullscreen a.mt-button:link,
  #block-mt-business-corporateplus-mainslideshowfullscreen a.mt-button:visited {
    padding: 14px 40px;
  }
}

@media (max-width: 480px) {
  .ph-reassurance-bar {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   12. MOBILE MENU (< 992px)
   ============================================ */

/* --- Hamburger button --- */
.ph-mobile-hamburger-col {
  display: none;
}
.ph-mobile-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 36px;
}
.ph-mobile-hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ph-color-black, #1a1a1a);
  transition: transform 0.3s, opacity 0.3s;
}
.ph-mobile-hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.ph-mobile-hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.ph-mobile-hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Mobile overlay --- */
.ph-mobile-overlay {
  position: fixed;
  top: 0;
  left: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: var(--ph-color-white, #fff);
  z-index: 10000;
  overflow-y: auto;
  transition: left 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
}
.ph-mobile-overlay.is-open {
  left: 0;
}
body.ph-mobile-open::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 9999;
}

.ph-mobile-overlay__header {
  display: flex;
  justify-content: flex-end;
  padding: 16px 20px;
  border-bottom: 1px solid var(--ph-color-border, #e5e0db);
}
.ph-mobile-overlay__close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--ph-color-black, #1a1a1a);
  line-height: 1;
  padding: 0;
}

/* --- Mobile nav (accordeon Superfish natif deplace) --- */
.ph-mobile-overlay__nav {
  flex: 1;
  padding: 0;
  overflow-y: auto;
}

/* Reset Superfish accordion dans l'overlay */
.ph-mobile-overlay__nav ul.sf-accordion {
  display: block !important;
  position: relative !important;
  list-style: none;
  padding: 0;
  margin: 0;
}
.ph-mobile-overlay__nav ul.sf-accordion,
.ph-mobile-overlay__nav ul.sf-accordion ul,
.ph-mobile-overlay__nav ul.sf-accordion li {
  float: none !important;
  width: 100% !important;
}
.ph-mobile-overlay__nav ul.sf-accordion > li {
  border-bottom: 1px solid var(--ph-color-border, #e5e0db);
}
.ph-mobile-overlay__nav ul.sf-accordion li a,
.ph-mobile-overlay__nav ul.sf-accordion li span.nolink {
  display: block;
  padding: 14px 20px;
  font-size: var(--t-sm, 0.85rem);
  color: var(--ph-color-black, #1a1a1a);
  text-decoration: none;
}
.ph-mobile-overlay__nav ul.sf-accordion > li > a,
.ph-mobile-overlay__nav ul.sf-accordion > li > span.nolink {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Parent expanse */
.ph-mobile-overlay__nav ul.sf-accordion li.sf-expanded > a,
.ph-mobile-overlay__nav ul.sf-accordion li.sf-expanded > span.nolink {
  font-weight: 700;
}

/* Sous-menus */
.ph-mobile-overlay__nav ul.sf-accordion ul {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #f9f7f5;
}
.ph-mobile-overlay__nav ul.sf-accordion ul li {
  border-bottom: none;
}
.ph-mobile-overlay__nav ul.sf-accordion ul li a,
.ph-mobile-overlay__nav ul.sf-accordion ul li span.nolink {
  padding: 12px 20px 12px 36px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.ph-mobile-overlay__nav ul.sf-accordion ul a:hover {
  color: var(--ph-color-camel, #c8a07c);
}

/* Clone-parent (lien natif SF vers la page parente) */
.ph-mobile-overlay__nav li.sf-clone-parent a {
  font-weight: 500 !important;
}

/* Sous-sous-menus (depth 3) */
.ph-mobile-overlay__nav ul.sf-accordion ul ul {
  background: #f3f0ec;
}
.ph-mobile-overlay__nav ul.sf-accordion ul ul li a {
  padding-left: 52px;
}

/* sf-sub-indicator : masquer dans l'accordeon mobile (le +/- est gere par accordionButton natif) */
.ph-mobile-overlay__nav ul.sf-accordion .sf-sub-indicator {
  display: none !important;
}

/* Indicateur +/- via le lien parent (accordionButton mode 1) */
.ph-mobile-overlay__nav ul.sf-accordion li.menuparent > a::after,
.ph-mobile-overlay__nav ul.sf-accordion li.menuparent > span.nolink::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 300;
  color: var(--ph-color-black, #1a1a1a);
}
.ph-mobile-overlay__nav ul.sf-accordion li.menuparent > a,
.ph-mobile-overlay__nav ul.sf-accordion li.menuparent > span.nolink {
  position: relative;
  padding-right: 50px !important;
}
.ph-mobile-overlay__nav ul.sf-accordion li.sf-expanded.menuparent > a::after,
.ph-mobile-overlay__nav ul.sf-accordion li.sf-expanded.menuparent > span.nolink::after {
  content: "\2212";
}

/* Masquer le toggle accordion natif de Superfish */
.sf-accordion-toggle {
  display: none !important;
}

/* --- Account links mobile --- */
.ph-mobile-account {
  list-style: none;
  padding: 16px 20px;
  margin: 0;
  border-top: 1px solid var(--ph-color-border, #e5e0db);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ph-mobile-account li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: var(--t-sm, 0.85rem);
  color: var(--ph-color-black, #1a1a1a);
  text-decoration: none;
}
.ph-mobile-account li a::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
  font-size: 16px;
}
.ph-mobile-account li a[href*="user"]::before,
.ph-mobile-account li a[href*="login"]::before {
  content: "\f007";
}
.ph-mobile-account li a[href*="favorites"]::before {
  content: "\f004";
}

/* --- Lang switcher mobile --- */
.ph-mobile-lang {
  padding: 12px 20px;
  border-top: 1px solid var(--ph-color-border, #e5e0db);
}

/* --- Responsive: masquer/afficher --- */
@media (min-width: 1201px) {
  .ph-mobile-hamburger-col,
  .ph-mobile-overlay {
    display: none !important;
  }
}

@media (max-width: 1200px) {
  /* Masquer nav desktop, bandeau top */
  .header-top,
  .header-top-highlighted {
    display: none !important;
  }

  /* Masquer lang, account, favoris du header (presents dans l'overlay) */
  .header-third .block-language,
  .header-third .ph-header-icons {
    display: none !important;
  }

  /* Masquer le label "Rechercher" */
  .ph-search-trigger__label {
    display: none;
  }

  /* Contrer layout.css qui cache header-third sous 768px */
  .header__container .header-third {
    display: block !important;
  }

  /* Header row : une seule ligne, pas de wrap */
  header.header .header__container .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    position: relative;
    min-height: 44px;
  }

  /* Reset Bootstrap col-12 sur tous les enfants du row */
  header.header .header__container .row > * {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  /* Neutraliser layout.css (margin-right:50px sur header-first sous 768px) */
  .header-first {
    margin-right: 0 !important;
  }

  /* Hamburger : en premier */
  .ph-mobile-hamburger-col {
    display: flex !important;
    align-items: center;
    order: 0 !important;
  }

  /* Logo : centrage absolu exact (independant des largeurs gauche/droite) */
  header.header .header__container .row > div:has(.header-second) {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
  }
  .header-second .logo {
    max-width: 180px;
    margin: 0 auto;
  }

  /* Search : pousse a droite via auto-margin */
  header.header .header__container .row > div:has(.header-first) {
    order: 2 !important;
    margin-left: auto !important;
  }

  /* Cart : tout a droite */
  header.header .header__container .row > div:has(.header-third) {
    order: 3 !important;
  }

  /* Reduire le padding du header */
  .header__container {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
}


/***********************************
Pages statiques Savoir faire 
**********************************/

/* ── Engagements ── */

.eng-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.eng-hero {
  width: 100%;
  height: auto;
  display: block;
}

/* Lignes zigzag */
.eng-row {
  display: flex;
  align-items: center;
}

.eng-col {
  width: 50%;
}

.eng-col--text {
  padding: 60px 40px 60px 60px;
}

.eng-col--text h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.eng-col--text p {
  line-height: 1.7;
  margin: 0;
}

.eng-col--image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Quand texte est premier enfant (gauche) */
.eng-row > .eng-col--text:first-child {
  padding: 60px 60px 60px 40px;
}

/* Tablette */
@media (max-width: 968px) {
  .eng-col--text {
    padding: 40px 30px;
  }

  .eng-row > .eng-col--text:first-child {
    padding: 40px 30px;
  }

}

/* Mobile */
@media (max-width: 768px) {

  .eng-intro {
    padding: 0 20px;
    margin-bottom: 24px;
  }

  .eng-row {
    flex-direction: column;
  }

  .eng-col {
    width: 100%;
  }

  .eng-col--empty {
    display: none;
  }

  .eng-col--text,
  .eng-row > .eng-col--text:first-child {
    padding: 30px 20px;
  }
}

/****
Savoir faire 
****/

.sf-row {
  display: flex;
  align-items: flex-start;
}

.sf-image {
  width: 52%;
  flex-shrink: 0;
}

.sf-image img {
  width: 100%;
  height: auto;
  display: block;
}

.sf-text {
  width: 48%;
  padding: 80px 40px 60px 60px;
  text-align: center;
}

.sf-text p {
  color: #222;
  margin: 0 0 30px;
}

.sf-text p:last-child {
  margin-bottom: 0;
}

.sf-highlight {
  font-weight: 700;
}

/* Tablette */
@media (max-width: 968px) {
  .sf-text {
    padding: 40px 30px 40px 40px;
  }

  .sf-text p {
    margin-bottom: 24px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .sf-row {
    flex-direction: column;
  }

  .sf-image,
  .sf-text {
    width: 100%;
  }

  .sf-text {
    padding: 30px 20px;
  }

}

/******************* Histoire */

.hist-text {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
}

.hist-text p {
  margin: 0 0 24px;
}

.hist-text p:last-child {
  margin-bottom: 0;
}

.hist-row {
  display: flex;
}

.hist-col {
  width: 50%;
}

.hist-col--image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Tablette */
@media (max-width: 968px) {
  .hist-text {
    padding: 0 30px;
  }

  .hist-col--image {
    width: 55%;
  }

  .hist-col--empty {
    width: 45%;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hist-title {
    margin-bottom: 20px;
  }

  .hist-text {
    padding: 0 20px;
    margin-bottom: 30px;
  }

  .hist-text p {
    margin-bottom: 18px;
  }

  .hist-row {
    display: block;
  }

  .hist-col {
    width: 100%;
  }

  .hist-col--empty {
    display: none;
  }
}


/******************** Entretien du cachemire */

.ent-intro {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 40px;

}

.ent-hero {
  width: 100%;
  height: auto;
  display: block;
}

/* Séparateur noir */
.ent-separator {
	border: none;
	border-top: 0px solid #000;
	margin: 0px auto;
	width: 100%;
	height: 60px;
	background: #000;
	opacity: 1;
}

/* Titres de section */
.ent-section-title {
	text-align: center;
	font-size: 32px;
	font-weight: bolder;
	letter-spacing: 1.5px;
	margin: 40px 0;
	padding-bottom: 15px;
	/* border-bottom: 1px solid #ddd; */
}

/* Grille pictos */
.ent-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  /* max-width: 1100px; */
  margin: 0 auto 60px;
  padding: 0 20px;
}

.ent-card {
  flex: 1 1 180px;
  /* max-width: 200px; */
  text-align: center;
}

.ent-card img {
  width: 80px;
  height: auto;
  margin-bottom: 15px;
}

.ent-card h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 1.4;
}

.ent-card p {
  font-size: 13px;
  line-height: 1.6;
  color: #444;
  margin: 0;
}

/* Blocs image + texte */
.ent-row {
  display: flex;
  align-items: stretch;
}

.ent-col {
  width: 50%;
}

.ent-col--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ent-col--text {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ent-col--text h2 {
	/* font-size: 22px; */
	font-weight: bolder;
	/* letter-spacing: 1.5px; */
	margin-bottom: 25px;
}

.ent-col--text p {
  margin: 0 0 15px;
}

.ent-col--text p:last-child,
.ent-col--text ul:last-child {
  margin-bottom: 0;
}

.ent-col--text ul {
  margin: 0 0 15px;
  padding-left: 20px;
}

.ent-col--text ul li {
  margin-bottom: 5px;
}

.ent-closing {
  text-align: center;
  margin-top: 10px;
}

/* Inversion image/texte */
.ent-row--reverse {
  flex-direction: row-reverse;
}

/* Tablette */
@media (max-width: 968px) {
  .ent-separator {
    margin: 40px auto;
  }

  .ent-grid {
    gap: 20px;
  }

  .ent-card {
    max-width: 170px;
  }

  .ent-col--text {
    padding: 40px 30px;
  }

}

/* Mobile */
@media (max-width: 768px) {

  .ent-intro {
    padding: 0 20px;
    font-size: 13px;
  }

  .ent-separator {
    margin: 30px auto;
  }

  .ent-section-title {
    font-size: 25px;
    margin: 0 0 25px;
  }

  .ent-grid {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .ent-card {
    max-width: 300px;
  }

  .ent-card h3 {
    font-size: 13px;
  }

  .ent-card p {
    font-size: 13px;
  }

  .ent-row,
  .ent-row--reverse {
    flex-direction: column;
  }

  .ent-col {
    width: 100%;
  }

  .ent-col--text {
    padding: 30px 20px;
  }

  .ent-col--text h2 {
    font-size: 18px;
  }
}

/***********************************/
Fin Pages statiques Savoir faire 
/**********************************/

.col-12 .block {
    padding-bottom: 20px!important;
}

.internal-banner-container {
	position: relative;
	min-height: 0px;
}

.node--type-mt-post {background:transparent!important;}

.vocabulary-origin-country h2 a {display:none!important;}