/*
 * Identité visuelle Monetiq
 * Surcharge du thème Hummingbird
 */

.header-bottom {
  padding-block: 0.9rem 0.7rem !important;
}

.header-bottom__logo .navbar-brand {
  display: flex !important;
  align-items: center !important;
}

.header-bottom__logo .logo {
  display: block !important;
  width: 300px !important;
  height: auto !important;
  max-width: 300px !important;
  max-height: none !important;
}

@media (min-width: 1200px) {
  .header-bottom__row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
  }

  .header-bottom__logo {
    order: 1 !important;
  }

  #_desktop_ps_searchbar {
    order: 2 !important;
    margin-left: auto !important;
  }

  #_desktop_ps_searchbar .ps-searchbar__input {
    width: 360px !important;
  }

  .ps-mainmenu--desktop {
    order: 3 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0.85rem !important;
  }

  .ps-mainmenu__desktop > ul,
  .ps-mainmenu__desktop .top-menu[data-depth="0"] {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 0.25rem;
  }
}

@media (max-width: 1199.98px) {
  .header-bottom__logo .logo {
    width: 220px !important;
    max-width: 220px !important;
  }
}

@media (max-width: 767.98px) {
  .header-bottom__logo .logo {
    width: 180px !important;
    max-width: 180px !important;
  }
}

/* Accueil Monetiq */

.monetiq-hero {
  overflow: hidden;
  background: #f3f5f6;
  border-bottom: 1px solid #e2e5e7;
}

.monetiq-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
  align-items: center;
  min-height: 430px;
  gap: 3rem;
}

.monetiq-hero__content {
  padding-block: 4rem;
}

.monetiq-eyebrow {
  margin-bottom: 0.65rem;
  color: #d8322a;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.monetiq-hero h1 {
  max-width: 760px;
  margin-bottom: 1.25rem;
  color: #20272b;
  font-size: clamp(1.9rem, 2.5vw, 2.55rem);
  line-height: 1.05;
}

.monetiq-hero__text {
  max-width: 690px;
  margin-bottom: 1.7rem;
  color: #4e5a60;
  font-size: 1.08rem;
  line-height: 1.65;
}

.monetiq-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.monetiq-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  padding: 2rem;
  background:
    radial-gradient(circle at center, #ffffff 0, #ffffff 42%, transparent 43%);
}

.monetiq-hero__visual img {
  display: block;
  width: 100%;
  max-width: 440px;
  height: 340px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.monetiq-categories {
  padding-block: 3.5rem 4rem;
  background: #fff;
}

.monetiq-section-heading {
  margin-bottom: 1.6rem;
}

.monetiq-section-heading h2 {
  margin: 0;
  color: #20272b;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.monetiq-category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.monetiq-category-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1rem;
  color: #20272b;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e2e5e7;
  border-radius: 0.75rem;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.monetiq-category-card:hover {
  color: #20272b;
  text-decoration: none;
  transform: translateY(-3px);
  border-color: #d8322a;
  box-shadow: 0 12px 28px rgb(32 39 43 / 10%);
}

.monetiq-category-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 145px;
  margin-bottom: 1rem;
  overflow: hidden;
  background: #f7f8f8;
  border-radius: 0.5rem;
}

.monetiq-category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.monetiq-category-card strong {
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.monetiq-category-card > span:last-child {
  color: #68747a;
  font-size: 0.87rem;
  line-height: 1.4;
}

@media (max-width: 1199.98px) {
  .monetiq-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .monetiq-hero__grid {
    grid-template-columns: 1fr 300px;
    min-height: 380px;
    gap: 1.5rem;
  }

  .monetiq-hero__content {
    padding-block: 3rem;
  }

  .monetiq-hero__visual img {
    height: 280px;
  }
}

@media (max-width: 767.98px) {
  .monetiq-hero__grid {
    grid-template-columns: 1fr;
  }

  .monetiq-hero__content {
    padding: 2.5rem 0 1rem;
  }

  .monetiq-hero__visual {
    padding: 0 1rem 2rem;
  }

  .monetiq-hero__visual img {
    height: 240px;
  }

  .monetiq-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 479.98px) {
  .monetiq-category-grid {
    grid-template-columns: 1fr;
  }
}

/* Slider de l’accueil */

.monetiq-hero__slider {
  min-width: 0;
  padding-block: 2.25rem;
}

.monetiq-hero__slider .carousel {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e5e7;
  border-radius: 0.9rem;
  box-shadow: 0 16px 36px rgb(32 39 43 / 12%);
}

.monetiq-hero__slider .carousel-item {
  aspect-ratio: 16 / 7;
  background: #fff;
}

.monetiq-hero__slider .carousel-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.monetiq-hero__slider .carousel-control-prev,
.monetiq-hero__slider .carousel-control-next {
  top: 50%;
  width: 2.5rem;
  height: 2.5rem;
  margin-inline: 0.75rem;
  background: rgb(32 39 43 / 72%);
  border-radius: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

.monetiq-hero__slider .carousel-control-prev-icon,
.monetiq-hero__slider .carousel-control-next-icon {
  width: 1.1rem;
  height: 1.1rem;
}

.monetiq-hero__slider .carousel-indicators {
  margin-bottom: 0.65rem;
}

.monetiq-hero__slider .carousel-indicators button {
  width: 1.6rem;
  height: 0.22rem;
  border: 0;
  border-radius: 1rem;
}

@media (max-width: 991.98px) {
  .monetiq-hero__slider {
    padding-block: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .monetiq-hero__slider {
    padding: 0 0 2.5rem;
  }
}

/* Cartes historiques Monetiq */

.monetiq-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.monetiq-category-card {
  display: block;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #cfd4d7;
  border-radius: 0.45rem;
}

.monetiq-category-card:hover {
  transform: translateY(-3px);
  border-color: #d8322a;
  box-shadow: 0 12px 28px rgb(32 39 43 / 12%);
}

.monetiq-category-card__image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 0;
}

.monetiq-category-card__image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 350 / 219;
  object-fit: contain;
}

@media (max-width: 991.98px) {
  .monetiq-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .monetiq-category-grid {
    grid-template-columns: 1fr;
  }
}

/* Cartes compactes sur une seule ligne */

.monetiq-categories {
  padding-block: 1.75rem 3.25rem;
}

@media (min-width: 1200px) {
  .monetiq-category-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .monetiq-category-card {
    border-radius: 0.35rem;
  }
}

@media (max-width: 1199.98px) {
  .monetiq-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .monetiq-categories {
    padding-block: 1.5rem 2.5rem;
  }

  .monetiq-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 479.98px) {
  .monetiq-category-grid {
    grid-template-columns: 1fr;
  }
}

/* Quatre cartes par ligne */

@media (min-width: 1200px) {
  .monetiq-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
  }
}

/* Espacements resserrés de l’accueil */

.monetiq-categories {
  padding-top: 0.8rem;
  padding-bottom: 2.25rem;
}

.monetiq-section-heading {
  margin-bottom: 0.85rem;
}

.monetiq-section-heading .monetiq-eyebrow {
  margin-bottom: 0.35rem;
}

@media (max-width: 767.98px) {
  .monetiq-categories {
    padding-top: 0.7rem;
    padding-bottom: 1.75rem;
  }
}

/* Présentation de l’offre Monetiq */

.monetiq-section-heading h2 {
  max-width: 1050px;
  margin-bottom: 0.8rem;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.2;
}

.monetiq-offer-intro {
  max-width: 1180px;
  margin: 0;
  color: #4e5a60;
  font-size: 0.98rem;
  line-height: 1.65;
}

.monetiq-offer-intro strong {
  color: #20272b;
  font-weight: 700;
}

/* Services Monetiq */

.monetiq-services {
  margin-top: 2.5rem;
  padding-block: 2.5rem;
  background: #f3f5f6;
  border-top: 1px solid #e2e5e7;
  border-bottom: 1px solid #e2e5e7;
}

.monetiq-services__heading {
  margin-bottom: 1.25rem;
}

.monetiq-services__heading h2 {
  margin: 0;
  color: #20272b;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
}

.monetiq-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.monetiq-service-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem;
  background: #fff;
  border: 1px solid #e2e5e7;
  border-radius: 0.65rem;
}

.monetiq-service-card__icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  color: #fff;
  font-size: 1.45rem;
  background: #d8322a;
  border-radius: 50%;
}

.monetiq-service-card h3 {
  margin: 0 0 0.4rem;
  color: #20272b;
  font-size: 1.05rem;
}

.monetiq-service-card p {
  margin: 0;
  color: #59666c;
  font-size: 0.92rem;
  line-height: 1.55;
}

@media (max-width: 991.98px) {
  .monetiq-services__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .monetiq-services {
    margin-top: 1.75rem;
    padding-block: 1.75rem;
  }
}

/* Sous-menus compacts */
@media (min-width: 1200px) {
  .ps-mainmenu__tree-item {
    position: relative !important;
  }

  .ps-mainmenu__desktop .submenu {
    left: 0 !important;
    right: auto !important;
    width: 680px !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0.75rem !important;
  }

  .ps-mainmenu__desktop .submenu > .container {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }

  .ps-mainmenu__desktop .submenu__row {
    min-height: 0 !important;
    margin: 0 !important;
  }

  .ps-mainmenu__desktop .submenu__left-item {
    padding: 0.55rem 0.75rem !important;
  }
}

/* Pages catégories */
body#category #content-wrapper,
body#category #center-column {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 1320px !important;
  margin-inline: auto !important;
}

body#category #subcategories,
body#category .category-subcategories {
  display: none !important;
}

.monetiq-subcategories {
  margin-block: 1.5rem 3rem;
}

.monetiq-subcategories h2 {
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.monetiq-subcategories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.monetiq-subcategory {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: inherit;
  text-align: center;
  text-decoration: none;
}

.monetiq-subcategory img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

@media (max-width: 991px) {
  .monetiq-subcategories__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Navigation principale Monetiq */
@media (min-width: 1200px) {
  .ps-mainmenu__tree {
    width: 100%;
    border-top: 3px solid #343a40;
    background: #f5f5f5;
    box-shadow: 0 5px 14px rgb(0 0 0 / 8%);
  }

  .ps-mainmenu__tree-item-wrapper {
    height: 100%;
    border-right: 1px solid #d6d8da;
    transition: background-color 0.2s ease;
  }

  .ps-mainmenu__tree-link {
    padding: 0.85rem 0.75rem !important;
    font-size: 0.84rem;
    font-weight: 600;
    white-space: nowrap;
  }

  .ps-mainmenu__tree-item-wrapper:hover,
  .ps-mainmenu__tree-item.current
    .ps-mainmenu__tree-item-wrapper {
    background: #e6322b;
  }

  .ps-mainmenu__tree-item-wrapper:hover
    .ps-mainmenu__tree-link,
  .ps-mainmenu__tree-item.current
    .ps-mainmenu__tree-link {
    color: #fff !important;
  }

  .ps-mainmenu__tree-item:nth-last-child(-n+2)
    .submenu {
    left: auto !important;
    right: 0 !important;
  }
}

/* Menu horizontal compact sans sous-menu */
@media (min-width: 1200px) {
  .ps-mainmenu__tree {
    display: flex !important;
    width: calc(100% - 2rem) !important;
    max-width: 1320px !important;
    margin-inline: auto !important;
  }

  .ps-mainmenu__tree-item {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }

  .ps-mainmenu__tree-item-wrapper {
    display: flex !important;
    min-height: 64px;
    align-items: stretch !important;
  }

  .ps-mainmenu__tree-link {
    display: flex !important;
    width: 100%;
    padding: 0.65rem 0.4rem !important;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem !important;
    line-height: 1.2;
    text-align: center;
    white-space: normal !important;
  }

  .ps-mainmenu__tree-dropdown-toggle,
  .ps-mainmenu__desktop .submenu {
    display: none !important;
  }
}

/* Ajustement final de la navigation */
@media (min-width: 1200px) {
  .ps-mainmenu__tree {
    width: 1240px !important;
    max-width: calc(100% - 2rem) !important;
    margin-inline: auto !important;
  }

  .ps-mainmenu__tree-item {
    flex: 1 1 auto !important;
    width: auto !important;
  }

  .ps-mainmenu__tree-item-wrapper {
    min-height: 54px !important;
  }

  .ps-mainmenu__tree-link {
    padding: 0.65rem 0.55rem !important;
    font-size: 0.66rem !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
  }
}

/* Menu aligné sur le conteneur principal */
@media (min-width: 1200px) {
  .ps-mainmenu--desktop {
    flex: 0 0 100% !important;
    width: 100% !important;
  }

  .ps-mainmenu__tree {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
  }
}

/* Menu sur toute la largeur réelle du header */
@media (min-width: 1200px) {
  .ps-mainmenu__desktop,
  .ps-mainmenu__desktop .ps-mainmenu__tree {
    width: 100% !important;
    max-width: none !important;
  }

  .ps-mainmenu__desktop .ps-mainmenu__tree {
    display: flex !important;
  }

  .ps-mainmenu__desktop .ps-mainmenu__tree > li {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
}

/* Bandeau principal Monetiq */
@media (min-width: 1200px) {
  .header-bottom__logo {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }

  .header-bottom__logo .navbar-brand {
    width: 100% !important;
  }

  .header-bottom__logo .logo {
    width: 100% !important;
    max-width: 1100px !important;
    height: auto !important;
    max-height: 150px !important;
    object-fit: contain !important;
    object-position: left center !important;
  }

  #_desktop_ps_searchbar {
    flex: 0 0 430px !important;
  }
}

/* Taille réelle du nouveau bandeau */
@media (min-width: 1200px) {
  .header-bottom__logo {
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: none !important;
    margin-right: auto !important;
  }

  .header-bottom__logo .navbar-brand {
    width: auto !important;
  }

  .header-bottom__logo .logo {
    display: block !important;
    width: min(850px, calc(100vw - 500px)) !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
  }
}

/* Catégorie finale : filtres et présentation en liste */
body#category.category-id-37 #js-product-list-header img,
body#category.category-id-37 #js-product-list-header picture,
body#category.category-id-37 .category-cover {
  display: none !important;
}

@media (min-width: 992px) {
  body#category .columns-container:has(#search_filters) {
    max-width: 1600px !important;
  }

  body#category .columns-container:has(#search_filters) #left-column {
    display: block !important;
    flex: 0 0 270px !important;
    width: 270px !important;
  }

  body#category .columns-container:has(#search_filters) #center-column {
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: none !important;
    margin-inline: 0 !important;
  }

  body#category .columns-container:not(:has(#search_filters)) #left-column {
    display: none !important;
  }

  body#category .columns-container:not(:has(#search_filters)) #center-column {
    flex: 0 0 100% !important;
    width: 100% !important;
  }

  body#category.category-id-37 #js-product-list .products {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  body#category.category-id-37
  #js-product-list .products > [class*="col-"] {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body#category.category-id-37 .product-miniature__inner {
    display: grid !important;
    grid-template-columns: 230px minmax(0, 1fr) !important;
    gap: 1.5rem !important;
    align-items: center !important;
    padding: 1rem !important;
    border: 1px solid #e2e5e8 !important;
    border-radius: 0.35rem !important;
  }

  body#category.category-id-37 .product-miniature__bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
  }
}

/* MONETIQ CATEGORY 37 FILTERED LIST */

@media (min-width: 768px) {
  body.category-id-37 .columns-container > .row {
    flex-wrap: nowrap;
    gap: 24px;
  }

  body.category-id-37 #left-column {
    display: block !important;
    flex: 0 0 250px;
    width: 250px;
    max-width: 250px;
    padding: 0;
  }

  body.category-id-37 #center-column {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    padding: 0;
  }
}

body.category-id-37 #left-column .facets,
body.category-id-37 #left-column #search_filters,
body.category-id-37 #left-column .filter_panel {
  padding: 16px;
  background: #f7f8f9;
  border: 1px solid #dfe3e7;
  border-radius: 6px;
}

body.category-id-37 #left-column .facet {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid #dfe3e7;
}

body.category-id-37 #left-column .facet:first-child {
  padding-top: 0;
}

body.category-id-37 #left-column .facet:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

body.category-id-37 #left-column .facet-title {
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 700;
}

body.category-id-37 #js-product-list .products {
  row-gap: 12px;
}

body.category-id-37 #js-product-list .product-miniature {
  margin-bottom: 0;
}

body.category-id-37 #js-product-list .product-miniature__inner {
  display: grid !important;
  grid-template-columns: 190px minmax(0, 1fr) !important;
  align-items: center;
  gap: 22px;
  min-height: 0 !important;
  padding: 14px 18px !important;
}

body.category-id-37 #js-product-list .product-miniature__top {
  height: 170px !important;
  min-height: 0 !important;
}

body.category-id-37 #js-product-list .product-miniature__top img {
  width: 100%;
  height: 170px;
  object-fit: contain;
}

body.category-id-37 #js-product-list .product-miniature__bottom {
  padding: 0 !important;
}

body.category-id-37 .product-miniature__description {
  max-width: 680px;
  margin: 8px 0 10px;
  color: #4f555a;
  font-size: .9rem;
  line-height: 1.45;
}

body.category-id-37 .product-miniature__description p {
  margin: 0;
}

@media (max-width: 767.98px) {
  body.category-id-37 #js-product-list .product-miniature__inner {
    grid-template-columns: 120px minmax(0, 1fr) !important;
    gap: 12px;
    padding: 12px !important;
  }

  body.category-id-37 #js-product-list .product-miniature__top,
  body.category-id-37 #js-product-list .product-miniature__top img {
    height: 120px !important;
  }
}


/* MONETIQ DIRECT FACETS */

body.category-id-37 .monetiq-faceted-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

body.category-id-37 .monetiq-faceted-sidebar {
  min-width: 0;
}

body.category-id-37 .monetiq-faceted-sidebar #search_filters,
body.category-id-37 .monetiq-faceted-sidebar .facets,
body.category-id-37 .monetiq-faceted-sidebar .filter_panel {
  padding: 16px;
  background: #f7f8f9;
  border: 1px solid #dfe3e7;
  border-radius: 6px;
}

body.category-id-37 .monetiq-faceted-sidebar .facet {
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid #dfe3e7;
}

body.category-id-37 .monetiq-faceted-sidebar .facet:last-child {
  border-bottom: 0;
}

body.category-id-37 .monetiq-faceted-sidebar .facet-title {
  margin-bottom: 9px;
  font-size: .95rem;
  font-weight: 700;
}

body.category-id-37 .monetiq-faceted-products {
  min-width: 0;
}

body.category-id-37 .monetiq-faceted-products #main {
  padding-top: 0;
}

@media (max-width: 767.98px) {
  body.category-id-37 .monetiq-faceted-layout {
    display: block;
  }

  body.category-id-37 .monetiq-faceted-sidebar {
    margin-bottom: 20px;
  }
}


/* MONETIQ FACETS ALWAYS OPEN */

@media (min-width: 768px) {
  body.category-id-37 .monetiq-faceted-sidebar .collapse {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
  }

  body.category-id-37 .monetiq-faceted-sidebar .facet-title {
    cursor: default;
    pointer-events: none;
  }

  body.category-id-37 .monetiq-faceted-sidebar
  [data-bs-toggle="collapse"]::after {
    display: none !important;
  }
}


/* MONETIQ PRODUCT PAGE V1 */

.page-product #main {
  padding-top: 20px;
}

@media (min-width: 992px) {
  .page-product #main > .row {
    align-items: flex-start;
  }

  .page-product #main > .row > [class*="col-"]:first-child {
    flex: 0 0 38%;
    width: 38%;
    max-width: 38%;
  }

  .page-product #main > .row > [class*="col-"]:nth-child(2) {
    flex: 0 0 62%;
    width: 62%;
    max-width: 62%;
  }
}

.page-product #main > .row > div:first-child img {
  max-height: 410px;
  object-fit: contain;
}

.page-product .product__cover,
.page-product .product-cover {
  max-width: 410px;
  margin-right: auto;
  margin-left: auto;
}

.page-product .product__infos {
  padding: 24px;
  background: #fff;
  border: 1px solid #e0e4e8;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(20, 32, 45, .06);
}

.page-product .monetiq-product-heading {
  margin-bottom: 14px;
}

.page-product .monetiq-product-heading h1 {
  margin-bottom: 6px;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.15;
}

.page-product .monetiq-product-reference {
  margin: 0;
  color: #687078;
  font-size: .9rem;
}

.page-product .monetiq-product-summary {
  margin: 18px 0;
  padding: 16px 18px;
  background: #f5f8fc;
  border-left: 4px solid #0b69f6;
  border-radius: 4px;
}

.page-product .monetiq-product-summary__label {
  display: block;
  margin-bottom: 8px;
  color: #0b69f6;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.page-product .monetiq-product-summary__text,
.page-product .monetiq-product-summary__text p {
  margin: 0;
  line-height: 1.55;
}

.page-product .monetiq-product-price {
  margin: 14px 0;
}

.page-product .monetiq-product-price .product__prices {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
}

.page-product .monetiq-product-price .current-price {
  margin: 0;
  color: #e5322d;
  font-size: 1.75rem;
  font-weight: 700;
}

.page-product
.monetiq-product-price
.tax-shipping-delivery-label {
  margin: 0;
  color: #4f555a;
  font-size: 1rem;
}

.page-product .product__add-to-cart {
  margin-top: 16px;
}

.page-product .product__add-to-cart .btn-primary {
  min-height: 48px;
  padding-right: 28px;
  padding-left: 28px;
  font-weight: 700;
}

.page-product .monetiq-product-sections {
  display: grid;
  gap: 24px;
  margin-top: 30px;
}

.page-product .monetiq-product-section {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe3e7;
  border-radius: 7px;
}

.page-product .monetiq-product-section__title {
  margin: 0;
  padding: 14px 18px;
  background: #343a40;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.page-product .monetiq-features {
  display: grid;
}

.page-product .monetiq-feature {
  display: grid;
  grid-template-columns: minmax(180px, 34%) minmax(0, 1fr);
  border-bottom: 1px solid #e5e8eb;
}

.page-product .monetiq-feature:last-child {
  border-bottom: 0;
}

.page-product .monetiq-feature__name,
.page-product .monetiq-feature__value {
  padding: 12px 16px;
}

.page-product .monetiq-feature__name {
  background: #f7f8f9;
  font-weight: 600;
}

.page-product .monetiq-product-description {
  padding: 20px;
  line-height: 1.65;
}

.page-product .monetiq-product-description > :last-child {
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .page-product .product__infos {
    margin-top: 18px;
    padding: 18px;
  }

  .page-product .monetiq-feature {
    grid-template-columns: 1fr;
  }

  .page-product .monetiq-feature__name {
    padding-bottom: 5px;
  }

  .page-product .monetiq-feature__value {
    padding-top: 5px;
  }
}


/* MONETIQ PRODUCT PAGE V2 */

@media (min-width: 992px) {
  .page-product .product__container {
    display: grid !important;
    grid-template-columns: minmax(0, 40%) minmax(0, 60%);
    align-items: start;
    gap: 34px;
  }

  .page-product .product__left,
  .page-product .product__right {
    width: auto !important;
    max-width: none !important;
    min-width: 0;
  }
}

.page-product .product__images {
  width: 100%;
  max-width: 400px;
  margin-right: auto;
  margin-left: auto;
}

.page-product .product__carousel,
.page-product .product__carousel .carousel-inner,
.page-product .product__carousel .carousel-item {
  height: 400px !important;
  min-height: 0 !important;
}

.page-product
.product__carousel
.carousel-item
> img.img-fluid {
  width: 100% !important;
  height: 400px !important;
  object-fit: contain;
}

.page-product .product__thumbnails {
  margin-top: 12px;
}

.page-product .product__thumbnails-list {
  justify-content: center;
}

.page-product .product__right {
  padding: 24px 26px;
  background: #fff;
  border: 1px solid #dfe3e7;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(20, 32, 45, .07);
}

.page-product .product__right .product__name {
  margin-bottom: 6px;
}

.page-product .monetiq-product-price {
  margin: 14px 0 16px;
}

.page-product
.monetiq-product-price
.product__prices,
.page-product
.monetiq-product-price
.product__prices-block {
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: wrap;
  gap: 4px 7px;
  width: auto !important;
  margin: 0 !important;
}

.page-product
.monetiq-product-price
.product__price {
  color: #e5322d;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
}

.page-product
.monetiq-product-price
.product__tax-infos {
  display: inline-flex !important;
  align-items: baseline;
  width: auto !important;
  margin: 0 !important;
  color: #4f555a;
  font-size: 1rem;
}

.page-product
.monetiq-product-price
.product__tax-label {
  margin: 0 !important;
}

.page-product .product__actions {
  margin-top: 16px;
}

.page-product .product__bottom {
  display: block !important;
  width: 100%;
  margin-top: 28px;
}

.page-product .product__bottom-left {
  width: 100% !important;
  max-width: none !important;
}

.page-product .product__bottom-right {
  display: none !important;
}

.page-product .product__bottom .monetiq-product-sections {
  width: 100%;
  margin-top: 0;
}

.page-product .monetiq-product-section {
  width: 100%;
}

.page-product .monetiq-product-section__title {
  padding: 13px 18px;
  background: #343a40;
  font-size: 1.05rem;
}

.page-product .monetiq-feature__name,
.page-product .monetiq-feature__value {
  padding-top: 10px;
  padding-bottom: 10px;
}

.page-product .monetiq-product-description {
  padding: 18px 20px;
}

@media (max-width: 991.98px) {
  .page-product .product__container {
    display: block !important;
  }

  .page-product .product__right {
    margin-top: 20px;
    padding: 20px;
  }

  .page-product .product__images,
  .page-product .product__carousel,
  .page-product .product__carousel .carousel-inner,
  .page-product .product__carousel .carousel-item,
  .page-product
  .product__carousel
  .carousel-item
  > img.img-fluid {
    height: 340px !important;
    max-height: 340px !important;
  }
}


/* MONETIQ PRICE TAX INLINE */

.page-product .monetiq-product-price,
.page-product .monetiq-product-price .product__prices,
.page-product .monetiq-product-price .product__prices-block,
.page-product .monetiq-product-price .product__prices-inline {
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: nowrap !important;
  gap: 7px;
  width: auto !important;
}

.page-product .monetiq-product-price .product__price,
.page-product .monetiq-product-price .product__tax-infos,
.page-product .monetiq-product-price .product__tax-label {
  display: inline !important;
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.page-product .monetiq-product-price br {
  display: none !important;
}


/* MONETIQ PRICE TAX INLINE V2 */

.page-product
.monetiq-product-price
.product__prices-block {
  display: flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 7px !important;
}

.page-product
.monetiq-product-price
.product__prices-block
> * {
  flex: 0 0 auto !important;
  width: auto !important;
}

.page-product
.monetiq-product-price
.product__tax-infos {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  flex-basis: auto !important;
  align-self: baseline !important;
  width: auto !important;
  margin: 0 !important;
}

.page-product
.monetiq-product-price
.product__tax-label {
  display: inline !important;
  white-space: nowrap;
}


/* MONETIQ ALL CATEGORY LISTINGS */

body.page-category #js-product-list-header img,
body.page-category #js-product-list-header .category-cover,
body.page-category .category-cover {
  display: none !important;
}

body.page-category #js-product-list-header {
  margin-bottom: 18px;
}

body.page-category .monetiq-faceted-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

body.page-category .monetiq-faceted-sidebar {
  min-width: 0;
}

body.page-category .monetiq-faceted-products {
  min-width: 0;
}

body.page-category #js-product-list .products {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 12px;
}

body.page-category #js-product-list .product {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

body.page-category
#js-product-list
.product-miniature__inner {
  display: grid !important;
  grid-template-columns: 190px minmax(0, 1fr) !important;
  align-items: center;
  gap: 22px;
  min-height: 0 !important;
  padding: 14px 18px !important;
}

body.page-category
#js-product-list
.product-miniature__top {
  height: 170px !important;
  min-height: 0 !important;
}

body.page-category
#js-product-list
.product-miniature__top img {
  width: 100%;
  height: 170px;
  object-fit: contain;
}

body.page-category
#js-product-list
.product-miniature__bottom {
  padding: 0 !important;
}

body.page-category .product-miniature__description {
  max-width: 720px;
  margin: 8px 0 10px;
  color: #4f555a;
  font-size: .9rem;
  line-height: 1.45;
}

body.page-category
.product-miniature__description p {
  margin: 0;
}

@media (min-width: 768px) {
  body.page-category
  .monetiq-faceted-sidebar
  .collapse {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
  }

  body.page-category
  .monetiq-faceted-sidebar
  .facet-title {
    cursor: default;
    pointer-events: none;
  }
}

@media (max-width: 767.98px) {
  body.page-category .monetiq-faceted-layout {
    display: block;
  }

  body.page-category .monetiq-faceted-sidebar {
    margin-bottom: 18px;
  }

  body.page-category
  #js-product-list
  .product-miniature__inner {
    grid-template-columns: 120px minmax(0, 1fr) !important;
    gap: 12px;
    padding: 12px !important;
  }

  body.page-category
  #js-product-list
  .product-miniature__top,
  body.page-category
  #js-product-list
  .product-miniature__top img {
    height: 120px !important;
  }
}

/* MONETIQ HOME SIX PRODUCTS */
@media (min-width: 1200px) {
  .page-index .product-list .products {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
  }

  .page-index .product-list .products > * {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .page-index .product-list .product-miniature {
    min-width: 0;
  }

  .page-index .product-list .product-miniature img {
    width: 100%;
    max-height: 180px;
    object-fit: contain;
  }

  .page-index .product-list .product-miniature__title,
  .page-index .product-list .product-title {
    font-size: .9rem;
    line-height: 1.35;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .page-index .product-list .products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .page-index .product-list .products > * {
    width: auto !important;
    max-width: none !important;
  }
}

@media (max-width: 767.98px) {
  .page-index .product-list .products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
  }

  .page-index .product-list .products > * {
    width: auto !important;
    max-width: none !important;
  }
}
/* MONETIQ HOME SIX PRODUCTS V2 */
@media (min-width: 1200px) {
  .page-index .ps-featuredproducts .module-products__list > * {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 1.1rem !important;
  }

  .page-index .ps-featuredproducts .module-products__list > * > * {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .page-index .ps-featuredproducts .product-miniature {
    width: 100% !important;
    min-width: 0 !important;
  }

  .page-index .ps-featuredproducts .product-miniature img {
    width: 100% !important;
    height: 175px !important;
    object-fit: contain !important;
  }

  .page-index .ps-featuredproducts .product-miniature__title,
  .page-index .ps-featuredproducts .product-title {
    font-size: .88rem !important;
    line-height: 1.3 !important;
  }

  .page-index .ps-featuredproducts .product-miniature__information {
    padding-inline: .25rem !important;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .page-index .ps-featuredproducts .module-products__list > * {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1rem !important;
  }

  .page-index .ps-featuredproducts .module-products__list > * > * {
    width: auto !important;
    max-width: none !important;
  }
}

@media (max-width: 767.98px) {
  .page-index .ps-featuredproducts .module-products__list > * {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .75rem !important;
  }

  .page-index .ps-featuredproducts .module-products__list > * > * {
    width: auto !important;
    max-width: none !important;
  }
}
/* MONETIQ QUOTE BUTTON */
.monetiq-quote-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid #dfe3e7;
  border-radius: .4rem;
  background: #f8f9fa;
}

.monetiq-quote-action__text {
  max-width: 30rem;
  margin: 0;
  color: #5d6670;
  font-size: .9rem;
  line-height: 1.45;
}

.monetiq-quote-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border-color: #9aa3ac;
  color: #495057;
  background: #fff;
}

.monetiq-quote-button:hover {
  border-color: #0d6efd;
  color: #0d6efd;
  background: #fff;
}

.monetiq-quote-inline-link {
  color: #495057;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .15em;
}

.monetiq-quote-inline-link:hover {
  color: #0d6efd;
}

@media (max-width: 767.98px) {
  .monetiq-quote-action {
    align-items: stretch;
    flex-direction: column;
  }

  .monetiq-quote-button {
    justify-content: center;
    width: 100%;
  }
}
/* MONETIQ CONTACT MESSAGE HEIGHT */
#contact-us-message-textarea {
  min-height: 220px;
  resize: vertical;
}
/* MONETIQ HOME COMPACT SERVICES */
.page-index .monetiq-categories {
  padding-bottom: 1rem;
}

.page-index .monetiq-services {
  margin-top: 0;
}
/* Panier Monetiq : message livraison discret V2 */
.page-cart .monetiq-cart-shipping-note {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin: .8rem 0 .65rem;
  padding: .65rem 0 0;
  color: #6b7280;
  background: transparent;
  border: 0;
  border-top: 1px solid #e5e7eb;
  border-radius: 0;
  font-size: .76rem;
  font-weight: 400;
  line-height: 1.35;
}

.page-cart .monetiq-cart-shipping-note .material-icons {
  flex: 0 0 auto;
  color: #6b7280;
  font-size: 1rem;
}
/* Fin message livraison discret V2 */

/* Footer Monetiq inspiré du site historique */
.monetiq-footer {
  margin-top: 2.5rem;
  padding: 2.2rem 0 1rem;
  color: #4b5563;
  background: #d4d4d4;
}

.monetiq-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 3rem;
}

.monetiq-footer__column,
.monetiq-footer__account {
  min-width: 0;
}

.monetiq-footer__account > *,
.monetiq-footer__account .footer-block {
  width: 100%;
  max-width: none;
  padding: 0;
}

.monetiq-footer__title,
.monetiq-footer__account .footer-block__title {
  margin: 0 0 1rem;
  color: #374151;
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
}

.monetiq-footer__links,
.monetiq-footer__account ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.monetiq-footer__links li,
.monetiq-footer__account li {
  margin-bottom: .45rem;
}

.monetiq-footer a {
  color: #4b5563;
  text-decoration: none;
}

.monetiq-footer a:hover,
.monetiq-footer a:focus {
  color: #e72d25;
  text-decoration: underline;
}

.monetiq-footer__contact address {
  margin: 0;
  font-style: normal;
}

.monetiq-footer__contact address p {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin: 0 0 .8rem;
}

.monetiq-footer__contact .material-icons {
  flex: 0 0 auto;
  color: #5f6872;
  font-size: 1.3rem;
}

.monetiq-footer__bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(55, 65, 81, .35);
  font-size: .82rem;
}

@media (max-width: 767.98px) {
  .monetiq-footer {
    padding-top: 1.5rem;
  }

  .monetiq-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .monetiq-footer__title,
  .monetiq-footer__account .footer-block__title {
    margin-bottom: .75rem;
  }
}
/* Fin footer Monetiq */


/* MONETIQ-LIST-ALTERNATING-BACKGROUNDS */
body.page-category #js-product-list .products > .product-miniature {
  --monetiq-row-background: #ffffff;
}

body.page-category #js-product-list .products > .product-miniature:nth-child(even) {
  --monetiq-row-background: #f4f5f6;
}

body.page-category #js-product-list .products > .product-miniature > .product-miniature__inner {
  background-color: var(--monetiq-row-background) !important;
  border-radius: 12px;
  padding: 20px;
  box-sizing: border-box;
}

/* Laisser apparaître le fond de la ligne derrière les informations. */
body.page-category #js-product-list .products > .product-miniature .product-miniature__bottom,
body.page-category #js-product-list .products > .product-miniature .product-miniature__infos {
  background-color: transparent;
}

@media (max-width: 767.98px) {
  body.page-category #js-product-list .products > .product-miniature > .product-miniature__inner {
    padding: 12px;
  }
}
