@media (max-width: 767px) {

  .main-title__container {
    max-width: 95%;
    margin: auto;
  }

}

@media (max-width: 1023px) {

  .pdf-books-image {
    display: none;
  }

}

@media (max-width: 1199px) {

  .s-categories-grid > .elementor-container > .elementor-row {
    max-width: 95%;
    margin: 0 auto;
  }

  .s-categories-grid > .elementor-container > .elementor-row > div:not(:last-of-type) {
    margin-bottom: 1em;
  }

  .s-categories-grid > .elementor-container > .elementor-row .elementor-element {
    min-height: 300px;
  }

}

@media (min-width: 768px) {

  .s-featured-products .section__title {
    flex-direction: row;
  }

  .s-featured-products .slick-slider .slick-arrow.slick-prev {
    left: -40px;
  }

  .s-featured-products .slick-slider .slick-arrow.slick-next {
    right: -40px;
  }

}

@media (min-width: 768px) and (max-width: 1199px) {

  .s-categories-grid > .elementor-container > .elementor-row {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
  }

}

@media (min-width: 1024px) {

  /*
  --------------------------------------
  Pdf Books
  --------------------------------------
  */

  .s-about-us .section__content {
    grid-template-columns : 30% 1fr;
  }

  .s-about-us .pdf-books-image {
    grid-column: 2/3;
  }

  .s-pdf-books .content-container {
    grid-template-columns : var(--container-primary-margin) 12% 25% 7% 56%;
    grid-template-rows: 1fr 40px 100px 1fr;
  }

  .s-pdf-books .pdf-books-background {
    grid-column: 4/6;
    grid-row: 1;
    background-size: cover;
  }

  .s-pdf-books .pdf-books-content {
    grid-column: 2/4;
    padding: 20vh 0;
  }

}

@media (min-width: 1200px) {

  .s-categories-grid > .elementor-container > .elementor-row {
    display: grid;
    grid-template-columns: 7.5% 20% 20px 10% 20px 20% 7% 20px 20px 1fr;
    grid-template-rows: 105px 190px 220px 20px 320px 200px;
    margin: auto;
    max-width: 95%;
  }

  .s-categories-grid .col-category-chocolaterie {
    grid-column: 1/3;
    grid-row: 1/4;
  }

  .s-categories-grid .col-category-macarons {
    position: relative;
    z-index: 2;
    grid-column: 4/10;
    grid-row: 2/4;
  }

  .s-categories-grid .col-category-patisserie {
    grid-column: 2/5;
    grid-row: 5/7;
  }

  .s-categories-grid .col-category-fetes {
    grid-column: 6/8;
    grid-row: 5/7;
  }

  .s-categories-grid .col-catalogue {
    grid-column: 9/11;
    grid-row: 3/6;
  }

}
