/********************
Part - Style global
********************/

body {
  font-family: var(--typo-primary);
}

#wrapper {
  background: var(--color-grey-default);
  z-index: 1;
}

body:not(#index):not(#product):not(#cms):not(.elementor-editor-active):not(#checkout) #wrapper {
  /*background: url(../../img/bg/bg-pages.jpg);*/
  /*background-size: cover;*/
  /*background-repeat: no-repeat;*/
  /*background-position: center center;*/
  background: #F4F4F6 !important;
}

.products-section-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

.text-muted {
  color: var(--color-tertiary) !important;
}

.group-span-filestyle .btn-default {
  background: var(--color-primary);
}

/********************
Part - Style général des accordéons
********************/
.js-accordion__container {
  border: 1px solid var(--color-grey-default);
  box-shadow: 2px 2px 11px 0 rgba(0, 0, 0, 0.1);
}

.js-accordions__wrapper .accordion__title {
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px;
  background: white;
  color: var(--color-primary);
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  cursor: pointer;
}

/********************
Part - fix taille mini d'une page à 100vh hors du checkout
********************/
body:not(#checkout) main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body:not(#checkout) #wrapper {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

body:not(#checkout) #wrapper .wrapper__inner {
  flex: 1 0 auto;
}

/********************
Part - class notransition for js
********************/
.notransition,
.notransition * {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -o-transition: none !important;
  transition: none !important;
}

/********************
Part - Style all product link
********************/
.all-product-link {
  color: var(--color-grey-font-default);
  font-weight: 700;
  padding: 3px 7px;
  display: inline-block;
}

.section__content .all-product-link {
  margin-top: 1.5rem;
}

.all-product-link:focus,
.all-product-link:hover {
  text-decoration: none;
}

/********************
Part - Style dropdown
********************/
.dropdown {
  color: var(--color-grey-font-default)
}

.dropdown:hover .expand-more {
  color: #2fb5d2
}

.dropdown .expand-more {
  color: var(--color-black-default);
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none
}

.dropdown .active {
  max-height: 200px;
  overflow-y: hidden;
  visibility: visible
}

.dropdown select {
  -moz-appearance: none;
  border: 0 none;
  outline: 0 none;
  color: var(--color-black-default);
  background: #fff
}

.dropdown-item:focus, .dropdown-item:hover {
  background: none;
  text-decoration: none;
  color: #2fb5d2
}


/********************
Part - Cookie
********************/
.acbCheckboxContainer {
  display: flex;
}

.acbCheckboxContainer .acbConsentLabel {
  text-align: left;
  margin-left: .33em;
}

/*************************
Part - Wishlist modals
*************************/
.wishlist-modal.show {
  background: rgba(0, 0, 0, 0.5);
}

.wishlist-modal .modal.fade .modal-dialog.modal-dialog-centered {
  top: 50%;
  left: 50%;
  right: 0;
  bottom: 0;
  transform: translate(-50%, -50%);
  margin: 0;
}

/*
--------------------------------------
AF
--------------------------------------
*/

.af-slider .clickable-dummy {
  background-image: linear-gradient(to left, #ea5399, #e786c5, #e3b1e4, #e7d8f4, #fafafa);
}

/*
--------------------------------------
Blog
--------------------------------------
*/

#module-amazzingblog-blog .amazzingblog.category-page {
  max-width: 65%;
  padding: 5em 0 0;
  margin: auto;
}

#module-amazzingblog-blog .post-list.item-list.ab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr) );
  grid-auto-flow: dense;
  grid-gap: 20px;
}

#module-amazzingblog-blog .item-list .post-item {
  height: 100%;
}

#module-amazzingblog-blog .post-item.has-date {
  display: flex;
  flex-direction: column;
  border: 1px solid #efefef;
  border-radius: 9px;
}

#module-amazzingblog-blog .post-item-footer {
  display: flex;
  justify-content: flex-end;
  border-top: none;
  margin-top: auto;
}

#module-amazzingblog-blog .post-item-date {
  background: var(--color-primary);
}

#module-amazzingblog-blog .post-item-date:after {
  border-color: transparent transparent #a5195a transparent;
}

#module-amazzingblog-blog .post-item-date:before {
  border-color: #a5195a transparent transparent transparent;
}

#module-amazzingblog-blog .post-item-title > a {
  color: var(--color-primary);
}

#module-amazzingblog-blog .post-item-footer a {
  color: #fff;
  border-radius: 9px;
  text-transform: none;
  transition: all 0.35s ease-in-out;
}

#module-amazzingblog-blog .post-item-footer a:hover {
  color: var(--color-primary);
}

#module-amazzingblog-blog .amazzingblog.post-page {
  max-width: 70%;
  padding: 2em 0;
  margin: auto;
}

#module-amazzingblog-blog .amazzingblog.post-page h1 {
  text-align: center;
  line-height: 1em;
  max-width: 60%;
  margin: auto;
}

#module-amazzingblog-blog .post-info.info-block {
  display: flex;
  justify-content: center;
  color: var(--color-primary);
  padding-top: 1em;
}

/*
--------------------------------------
RGPD
--------------------------------------
*/

#module-psgdpr-gdpr .container-primary {
  max-width: 100%;
}

#module-psgdpr-gdpr section#main {
  background: #ffffffbf;
  max-width: 60%;
  margin: auto;
}

#module-psgdpr-gdpr .wrapper__inner {
  padding: 4em 0;
}

#module-paybox-storedcards .page-header h1,
#module-psgdpr-gdpr .page-header h1,
#module-psgdpr-gdpr .psgdprinfo17 {
  background: transparent;
}

#module-psgdpr-gdpr .psgdprgetdatabtn17 {
  margin-top: 1em;
}

#module-psgdpr-gdpr .psgdprinfo17 p a {
  color: var(--color-primary);
  transition: all 0.35s ease-in-out;
}

#module-psgdpr-gdpr .psgdprinfo17 p a:hover {
  color: #000;
}

#module-psgdpr-gdpr .page-footer {
  padding: 20px;
  padding-left: 15px;
}

#module-paybox-storedcards .page-footer a,
#module-psgdpr-gdpr .page-footer a {
  color: #000;
  transition: all 0.35s ease-in-out;
}

#module-psgdpr-gdpr .page-footer a:hover,
#module-paybox-storedcards .page-footer a:hover {
  color: var(--color-primary);
}

/*
--------------------------------------
Paybox
--------------------------------------
*/

#module-paybox-storedcards .wrapper__inner {
  padding: 5em 0;
}

#module-paybox-storedcards section#main {
  background: #ffffffbf;
  max-width: 60%;
  margin: auto;
}

/*
--------------------------------------
Back to top
--------------------------------------
*/

.js-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 15px;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff !important;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease-in-out;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.js-back-to-top--is-shown {
  opacity: 1;
  pointer-events: all;
}

.js-back-to-top--is-shown:hover {
  background: #232323;
}

/*
--------------------------------------
Language Selector
--------------------------------------
*/

.language-selector-wrapper {
  position: relative;
}

.language-selector-wrapper #language-selector-label {
  color: #333333;
}

.language-selector-wrapper .dropdown .expand-more {
  transition: all 0.35s ease-in-out;
}

.language-selector-wrapper .dropdown:hover .expand-more {
  color: var(--color-primary);
}

.language-selector-wrapper .dropdown-menu a {
  color: var(--color-primary);
  transition: all 0.35s ease-in-out;
}

.language-selector-wrapper .dropdown-menu a:hover {
  color: #000;
}

#language_selector .dropdown-menu--header {
  display: flex;
  gap: 5px;
}

/*
--------------------------------------
Account links
--------------------------------------
*/

#account footer.page-footer {
  padding-bottom: 1em;
}

footer.page-footer a.account-link {
  display: inline-flex;
  align-items: center;
  transition: all 0.35s ease-in-out;
}

/*
--------------------------------------
Social Login
--------------------------------------
*/

.mo_btn_transform:hover {
  transform: none !important;
}

/*
--------------------------------------
Wishlist
--------------------------------------
*/

#module-blockwishlist-lists .wrapper__inner,
#view .wrapper__inner {
  background: var(--color-grey-default);
}

#module-blockwishlist-lists #main,
#view #main {
  max-width: 70%;
  padding: 3em 0;
  margin: auto;
}

#module-blockwishlist-lists .wishlist-list-item-link p,
#view .wishlist-list-item-link p {
  transition: all 0.35s ease-in-out;
}

#module-blockwishlist-lists .wishlist-add-to-new,
#module-blockwishlist-lists .wishlist-footer-links a,
#view .wishlist-footer-links a,
#module-blockwishlist-lists .wishlist-list-item-link:hover p {
  color: var(--color-primary) !important;
}

#view .select-title {
  background: #fff;
  color: #000;
  padding: 0.5em;
}

#view .wishlist-products-container .sort-by-row a {
  color: #000;
}

#view .open > .dropdown-menu {
  display: flex;
  flex-direction: column;
}

.wishlist-button-add i {
  color: var(--color-primary) !important;
}

/*
--------------------------------------
Jolisearch
--------------------------------------
*/

#module-ambjolisearch-jolisearch .wrapper__inner {
  padding: 3em 0;
}

#module-ambjolisearch-jolisearch .af-toggle-child {
  color: var(--color-primary);
}

/*
--------------------------------------
Pop-up
--------------------------------------
*/

/*.apc-popup .modal-img {*/
/*  max-width: calc(300px + (800 - 300) * ((100vw - 320px) / (1920 - 320))) !important;*/
/*}*/

/*
--------------------------------------
Cookie banner
--------------------------------------
*/

#acb-banner .acb-banner-content-wrapper *:not(.acb-button) {
  color: #000;
}

#pmAcbFooterConsentLinkContainer {
  display: none;
}

.acb-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#acb-banner .acbCheckboxesContainer {
  justify-content: center;
}

#acb-banner .acbCheckboxesContainer > div:not(:last-of-type) {
  margin-right: 1em;
}

#acb-banner .acb_link_information_container {
  display: flex;
  justify-content: center;
}

#acb-banner #acb_link_information {
  color: #000 !important;
}

#acb-banner .acb-button {
  font-size: 12px !important;
  border-color: #C34F3D;
  background-color: #ffffff;
  height: unset !important;
  padding: 7px;
}

#acb-banner #acb-close-button.acb-button {
  background: #fff;
  color: var(--color-primary);
}

#acb-banner button#acb-accept-all-button {
  color: #fff;
}

#acb-banner #acb-action {
  display: flex;
  justify-content: center;
  gap: 15px;
  width: 100%;
  padding-top: 1em;
}

/*
--------------------------------------
Delivery delay
--------------------------------------
*/

/*.temporary-message-container {*/
/*  margin-top: 1em;*/
/*}*/

.temporary-message-container p {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  text-align: center;
}

/*
--------------------------------------
Cross selling
--------------------------------------
*/

.trending-products-container {
  padding: 4em 0 6em 0;
}

.trending-products-container .ets_crosssell_block .tab_content button.slick-arrow {
  background: transparent !important;
}

.trending-products-container .slick-slider .slick-arrow svg {
  fill: transparent;
  stroke: var(--color-primary) !important;
}

.trending-products-container .ets_crosssell_block .tab_content button.slick-arrow:before {
  border-top: none !important;
  border-right: none !important;
}

h4.ets_crosssell_title {
  display: flex;
  justify-content: center;
  font-size: 1.125rem !important;
  text-transform: none !important;
}

.ets_crosssell_block .product-miniature[data-id-product="692"] {
  display: none !important;
}

/*
--------------------------------------
Responsive
--------------------------------------
*/

@media (max-width: 767px) {

  #acb-banner #acb-action {
    flex-direction: column;
    gap: 10px;
  }

  #acb-banner {
    max-height: 100%;
    margin: 0 !important;
  }

  #acb-banner.acb-position-bottom {
    top: 0;
    bottom: 0 !important;
  }

  #acb-banner #acb-content {
    overflow: unset;
    max-height: 100%;
  }

  #acb-banner .acb_link_information_container {
    border-color: transparent;
  }

}

@media (max-width: 1023px) {

  .header-infos > .container-primary {
    flex-direction: column-reverse;
  }

  .fancybox-opened .fancybox-skin {
    box-shadow: none;
    background: transparent;
  }

}

/*@media (min-width: 1200px) {*/

/*  .language-wrapper {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    right: 0;*/
/*  }*/

/*}*/
