/********************
	Part - block category
********************/
.block-category {
  max-width      : var(--container-primary-max-width);
  justify-content  : space-between;
  padding          : 0;
  background-color : #fff;
  margin         : 0;
}

.block-category #category-description {
  display : none;
}

.block-category #category-description p,
.block-category #category-description strong {
  font-weight : 400;
  color       : var(--color-grey-font-default)
}

.block-category #category-description p {
  color         : var(--color-black-default);
  margin-bottom : 0
}

.block-category #category-description p:first-child {
  margin-bottom : 1.25rem
}

.block-category .category-cover{
  display: none;
}

.block-category .h1{
  font-weight : 700;
  font-size: 21px;
  line-height: 1.1;
}

@media (max-width : 767px) {
  .block-category {
    min-height    : 0;
    margin-bottom : 0
  }
}

@media (min-width : 768px) {
  .block-category {
    flex-direction : row;
  }
}

@media (max-width : 991px) {
  .block-category {
    padding-bottom : 0
  }
}

/********************
	Part - subcat
********************/
.subcategories-list {
  display               : grid;
  grid-template-columns : repeat(auto-fill, minmax(180px, 1fr));
  grid-gap              : 20px;
  text-align            : center;
}

.subcategories-list .subcategory__name-wrapper {
  margin : 1rem 0 0;
}

/********************
	Part - products
********************/
#products {
  display        : flex;
  flex-direction : column;
}

/********************
	Part - global
********************/
@media (max-width : 575px) {
  #category #left-column #search_filters_wrapper {
    margin-left  : -15px;
    margin-right : -15px
  }
}

@media (max-width : 767px) {
  #category #left-column {
    width : 100%
  }

  #category #left-column #search_filters_wrapper {
    margin-left  : -30px;
    margin-right : -30px
  }

  #category #left-column #search_filter_controls {
    text-align    : center;
    margin-bottom : 1rem
  }

  #category #left-column #search_filter_controls button {
    margin : 0 .5rem
  }

  #category #left-column #search_filters {
    margin-bottom : 0;
    box-shadow    : none;
    padding       : 0;
    border-top    : 1px solid #f6f6f6
  }

  #category #left-column #search_filters .facet {
    padding-top   : 0;
    border-bottom : 1px solid #f6f6f6
  }

  #category #left-column #search_filters .facet .title {
    cursor : pointer
  }

  #category #left-column #search_filters .facet .title .collapse-icons .remove,
  #category #left-column #search_filters .facet .title[aria-expanded=true] .collapse-icons .add {
    display : none
  }

  #category #left-column #search_filters .facet .title[aria-expanded=true] .collapse-icons .remove {
    display : block
  }

  #category #left-column #search_filters .facet .facet-title {
    color          : var(--color-black-default);
    text-transform : uppercase
  }

  #category #left-column #search_filters .facet .h6 {
    margin-bottom : 0;
    padding       : .625rem;
    display       : inline-block
  }

  #category #left-column #search_filters .facet .navbar-toggler {
    display : inline-block;
    padding : .625rem .625rem 0 0
  }

  #category #left-column #search_filters .facet .collapse {
    display : none
  }

  #category #left-column #search_filters .facet .collapse.in {
    display : block
  }

  #category #left-column #search_filters .facet .facet-label a {
    margin-top : 0
  }

  #category #left-column #search_filters .facet ul {
    margin-bottom : 0
  }

  #category #left-column #search_filters .facet ul li {
    border-top : 1px solid #f6f6f6;
    padding    : .625rem
  }

  #category #content-wrapper, #category #search_filter_toggler {
    width : 100%
  }

  .category-cover {
    display : none
  }
}

@media (max-width : 991px) {
  .block-category .category-cover {
    position   : relative;
    text-align : center
  }
}

/********************
	Part - additional_description category
********************/
@supports not (-webkit-touch-callout: none) {
  .additional-description-text {
    overflow           : hidden;
    text-overflow      : ellipsis;
    display            : -webkit-box;
    -webkit-line-clamp : 3; /* number of lines to show */
    line-clamp         : 3;
    -webkit-box-orient : vertical;
    transition         : 0.4s ease;
  }

  .additional-description-text p {
    line-height : 1.4rem;
  }
}

.additional-description__container {
  margin-top : 20px;
}

.additional-description-text a {
  color : var(--color-secondary)
}

.additional-description-text a:hover {
  text-decoration : underline;
}

@supports (-webkit-touch-callout: none) {
  .additional-description-text {
    overflow   : hidden;
    max-height : 200px;

  }

  .additional-description-text p {
    display     : inline-block;
    line-height : 1.4rem;
  }
}

.see-more-btn {
  position    : relative;
  display     : flex;
  align-items : center;
  background  : transparent;
  color       : var(--color-secondary);
  cursor      : pointer;
  padding-top : 10px;
}

.see-more-btn-text--is-hidden, .see-less-btn-text--is-hidden {
  display : none !important;
}

.see-more-btn-text, .see-less-btn-text {
  display : block;
}

.additional-description-text--is-extended {
  -webkit-line-clamp : unset;
  line-clamp         : unset;
}

/********************
	Part - sibling categories
********************/
.siblingcategories-container {
  margin   : 2em auto 0 auto;
  position  : relative;
}

.siblingcategories-container .swiper-container {
  width  : 100%;
  height : 100%;
}

.siblingcategories__item {
  border-radius   : 50px;
  border          : 1px solid var(--color-tertiary);
  padding         : 15px 50px;
  color           : var(--color-black-default);
  font-size       : 14px;
  font-weight     : 400;
  text-align      : center;
  text-transform  : initial;
  text-decoration : none;
}

.siblingcategories__item:hover {
  background      : var(--color-tertiary);
  color           : var(--color-white-default);
  text-decoration : none;
}

.siblingcategories-slider .siblingcategories-swiper-button-prev {
  right   : 20px;
}
.siblingcategories-slider .siblingcategories-swiper-button-next {
  right : 0;
}

.siblingcategories-slider .siblingcategories-swiper-button-prev,
.siblingcategories-slider .siblingcategories-swiper-button-next {
  position   : absolute;
  background : none;
  top        : 0;
}

/********************
	Part - Category Fields (editorial block before footer)
********************/
#category .cf-wrapper,
#category .cf-field,
#category .cf-content {
  width: 100%;
}

#category .cf-field {
  margin-bottom: 0 !important;
}

#category #contenu-edito {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 60px 0 !important;
}

#category #contenu-edito .edito-text {
  position: relative;
  overflow: hidden;
  width: 100%;
}

#category #contenu-edito.full .edito-text {
  height: auto;
  max-height: none;
  margin-bottom: 0;
}

#category #contenu-edito:not(.full) p:not(:first-of-type),
#category #contenu-edito:not(.full) h2:not(:first-child),
#category #contenu-edito:not(.full) h3:not(:first-child) {
  display: none;
}

#category #contenu-edito.full .edito-more {
  display: none;
}

#category #contenu-edito button {
  border: none;
  background: none;
  cursor: pointer;
}

#category #contenu-edito h1 {
  font-size: 17px;
  font-family: 'Barlow Semi Condensed', sans-serif !important;
  font-weight: 500;
  color: #585858 !important;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#category #contenu-edito h2 {
  font-size: 17px !important;
  text-align: center !important;
  color: #444444;
  font-weight: 500 !important;
  margin: 20px 0;
  font-family: 'Barlow Semi Condensed', sans-serif !important;
}

#category #contenu-edito h3 {
  font-size: 15px !important;
  text-align: center !important;
  color: #444444;
  font-weight: 500 !important;
  margin: 20px 0;
  font-family: 'Barlow Semi Condensed', sans-serif !important;
}

#category #contenu-edito p,
#category #contenu-edito li,
#category #contenu-edito .edito-more {
  font-family: 'Barlow Semi Condensed', sans-serif;
  text-align: center !important;
  font-weight: 400;
  font-size: 14px;
  line-height: 23px;
  color: #444444 !important;
  margin: 0;
}

#category #contenu-edito .edito-more {
  margin-top: 25px !important;
}

#category #contenu-edito p strong,
#category #contenu-edito li strong {
  font-weight: 600;
  font-family: 'Barlow Semi Condensed', Arial, Helvetica, sans-serif;
}

@media (max-width: 991px) {
  #category #contenu-edito h1 {
    font-size: 23px;
    text-align: center;
    max-width: 85% !important;
    margin-bottom: 40px !important;
  }
}

@media (min-width: 768px) {
  #category #contenu-edito .edito-text {
    width: 85%;
  }
}

@media (min-width: 992px) {
  #category #contenu-edito {
    margin-top: 0 !important;
    padding: 110px 30px !important;
    margin-bottom: 0 !important;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
  }

  #category #contenu-edito h1 {
    font-size: 30px;
    font-family: 'Barlow Semi Condensed', sans-serif !important;
    margin-bottom: 35px !important;
  }
}
