@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600&family=Cormorant+Garamond:wght@400;500;600&display=swap");

body {
  font-family: "Barlow", sans-serif;
  color: #111;
  background: #fff;
}

h1,
h2,
h3,
.carousel-content__caption__title,
.page-title-section {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.header__logo .logo,
.header .logo {
  max-height: 84px;
  width: auto;
}

.header-top,
#header,
.header__logo-wrapper {
  background: #fff !important;
  border-bottom: 0 !important;
}

.header__logo-wrapper {
  padding-top: 1.6rem;
  padding-bottom: 1rem;
}

.header__logo {
  text-align: center;
}

.main-menu__tree__link,
.main-menu .dropdown-item,
.header a,
.header button {
  font-family: "Barlow", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 500;
}

.main-menu {
  border-top: 1px solid #ece7e1;
  border-bottom: 1px solid #ece7e1;
}

#home-slider.ratio {
  --bs-aspect-ratio: 52%;
}

#home-slider .carousel-content img {
  width: 100%;
  height: min(74vh, 780px);
  object-fit: cover;
}

#home-slider .carousel-control-prev,
#home-slider .carousel-control-next {
  opacity: 0.82;
}

#custom-text {
  padding: 4rem 0 1.5rem;
}

#custom-text .container {
  max-width: 1260px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: start;
  position: relative;
}

#custom-text .custom-text__content {
  max-width: 42rem;
  padding-right: 2rem;
}

#custom-text h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2.4rem, 4vw, 4.6rem);
  line-height: 0.92;
}

#custom-text p:first-of-type {
  margin-bottom: 1rem;
  font-size: 1.02rem;
  line-height: 1.8;
  max-width: 34rem;
}

#custom-text p:last-of-type {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  color: #7f7467;
}

#custom-text .container::after {
  content: "";
  display: block;
  width: 100%;
  min-height: 35rem;
  background-image:
    url("/modules/xjpmenufix/views/img/maratelier-editorial-1.png"),
    url("/modules/xjpmenufix/views/img/maratelier-editorial-2.png"),
    url("/modules/xjpmenufix/views/img/maratelier-editorial-3.png");
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: left top, center top, right top;
  background-size: calc(33.333% - 0.7rem) 100%, calc(33.333% - 0.7rem) 100%, calc(33.333% - 0.7rem) 100%;
}

.banner.d-block.text-center {
  display: none !important;
}

.new-products {
  padding-top: 2rem;
  margin-top: 0 !important;
}

.new-products .section-title,
.featured-products .section-title,
.products-section-title {
  font-family: "Barlow", sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-weight: 500;
}

.product-miniature .card {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.product-miniature__image-container {
  background: #f7f3ee;
}

.product-miniature__image {
  mix-blend-mode: multiply;
}

.product-miniature__infos {
  padding-left: 0;
  padding-right: 0;
}

.product-miniature__title {
  font-family: "Barlow", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.product-miniature__prices {
  margin-top: 0.55rem;
}

.product-miniature__price {
  font-size: 0.84rem;
  letter-spacing: 0.08em;
}

.product-miniature__quickview,
.product-miniature__quickview_touch,
.wishlist-button-add,
.product-list-reviews,
.product-miniature form,
.product-flags {
  display: none !important;
}

#js-product-list .products,
.new-products .products {
  row-gap: 2.6rem;
}

.page-category .block-category,
.page-product .product-information,
.page-content {
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
}

.page-title-section.h2,
.page-title-section {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.95;
  margin-bottom: 0.8rem !important;
}

#js-product-list-header .block-category #category-description {
  max-width: 44rem;
  font-size: 1rem;
  line-height: 1.8;
}

.total-products,
.products-sort-order,
.pagination__items,
.breadcrumb ol {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-container,
#footer {
  background: #fff;
}

@media (min-width: 1200px) {
  .main-menu {
    width: auto !important;
  }

  .main-menu__tree {
    flex-wrap: nowrap !important;
    justify-content: center;
  }

  .main-menu__tree__item {
    flex: 0 1 auto;
    min-width: 0;
  }

  .main-menu__tree__link {
    padding: 1rem 0.35rem !important;
    white-space: nowrap;
    font-size: 0.94rem;
  }

  .main-menu__tree__item .dropdown-toggle::after {
    margin-left: 0.15rem;
  }
}

#js-product-list-header .block-category .category-cover,
#js-product-list-header #subcategories {
  display: none !important;
}

#js-product-list-header .block-category {
  margin-bottom: 1rem !important;
}

#js-product-list-header .block-category #category-description {
  margin-bottom: 0 !important;
}

@media (max-width: 991.98px) {
  #custom-text .container {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  #custom-text .custom-text__content {
    padding-right: 0;
  }

  #custom-text .container::after {
    min-height: 24rem;
  }

  #home-slider .carousel-content img {
    height: 48vh;
  }
}
