@keyframes fadeInLeft {
  0% {
    transform: translateX(-10%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 100%;
  }
}

@keyframes fadeInRight {
  0% {
    transform: translateX(10%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 100%;
  }
}

@keyframes fadeInDown {
  0% {
    transform: translateY(10%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 100%;
  }
}

/* body {
  Change the fonts here
} */

a {
  color: sandybrown;
}

header#header .header-top-right {
  display: none;
}

header#header a:hover {
  color: sandybrown;
}

/* header#header .mobile #menu-icon {
  display: none;
} */

@media (max-width: 767px) {
  header#header .header-top {
    display: none;
  }

  body#checkout #header .header-nav .logo {
    max-height: stretch;
  }
}

#_desktop_logo {
  margin: auto;
  max-width: 12%;
}

#_desktop_logo img {
  margin-top: -3rem;
}

@media (min-width: 768px) {
  body#checkout #_desktop_logo {
    margin: 0;
  }

  body#checkout #_desktop_logo img {
    margin-top: 0;
    width: 100%;
  }

  body#checkout header#header .container > .row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

#carousel {
  display: none;
}

#carousel .carousel-item figure {
  display: block;
}

#carousel .direction,
#carousel .carousel-indicators {
  display: none;
}

/* Ne suffit pas. Cibler récursivement... ou au cas par cas. */
.card,
.contact-form,
#content {
  background-color: transparent;
}

.btn-primary,
#header .header-nav .cart-preview.active {
  background-color: darkgoldenrod;
}

.btn-primary:hover,
#header .header-nav .cart-preview.active:hover {
  background-color: burlywood;
}

#wrapper .banner {
  display: flex;
  margin: 1.5rem 0 1.5rem 0;
}

#wrapper .banner img {
  margin: auto;
}

main #wrapper nav.breadcrumb {
  display: none;
}

/* Custom CSS for homepage */
body#index #wrapper {
  padding-top: 0;
}

body#index #wrapper .container {
  width: 100%;
}

body#index #wrapper .container #content-wrapper {
  padding-right: 0;
  padding-left: 0;
}

body#index #wrapper .featured-products {
  display: none;
}

/* Custom CSS for footer */
footer#footer {
  width: 100%;
  background-image: url("/img/cms/footerBackground_540.webp");
  background-color: #666;
  background-blend-mode: overlay;
  background-position: center top;
  background-size: contain;
}

footer#footer .footer-container {
  background-color: white;
  padding-bottom: 2.5rem;
}

footer#footer .footer-container .container > .row:last-child {
  display: none;
}

footer#footer #blockEmailSubscription_displayFooterBefore {
  background-color: transparent;
  padding: 3.5rem 15px;
  border: none;
}

footer#footer #block-newsletter-label,
footer#footer
  #blockEmailSubscription_displayFooterBefore
  form
  > .row
  > .col-xs-12
  > p {
  color: white;
  text-shadow: 0px 0px 8px black;
}

body#checkout footer#footer {
  display: none;
}

/* Custom css for product page */
.product-variants > .product-variants-item .color {
  border-radius: 100%;
}

.product-images > li.thumb-container .thumb.selected,
.product-images > li.thumb-container .thumb:hover {
  border: darkgoldenrod 3px solid;
}

.product-flags li.product-flag {
  background-color: darkgoldenrod;
}

.tabs .nav-tabs .nav-link.active,
.tabs .nav-tabs .nav-link:hover {
  color: darkgoldenrod;
  border-bottom: darkgoldenrod 3px solid;
}

/* ====================== */
/* Custom text block Home */
/* ====================== */
body#index #wrapper #custom-text {
  background-color: transparent;
  padding: 0;
}

body#index #wrapper #custom-text .section {
  width: 100%;
  display: flex;
  padding: 1.5rem 0;
  margin: auto;
}

body#index #wrapper #custom-text img {
  margin-bottom: 1.5rem;
  box-shadow: gray 0px 0px 50px;
  animation: 1s ease-in-out 0s 1 fadeInDown;
}

body#index #wrapper #custom-text .text {
  padding: 1.5rem;
  margin: 0 1.5rem;
  margin-top: -3rem;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.5) 8px 8px 40px;
  animation: 1s ease-in-out 0s 1 fadeInDown;
  z-index: 50;
}

body#index #wrapper #custom-text .section_left,
body#index #wrapper #custom-text .section_right {
  flex-direction: column;
}

body#index #wrapper #custom-text #call-to-action {
  width: fit-content;
  margin: auto;
  width: 100%;
  position: relative;
}

body#index #wrapper #custom-text #call-to-action img {
  width: 100%;
  margin-bottom: 0;
}

body#index #wrapper #custom-text #call-to-action #buy-button {
  position: absolute;
  left: 0%;
  width: 100%;
  height: 100%;
  background: transparent;
  margin: 0;
  box-shadow: none;
}

body#index #wrapper #custom-text #call-to-action #buy-button:focus {
  background: rgba(214, 154, 24, 0.5);
}

body#index #wrapper #custom-text #call-to-action #buy-button a {
  position: relative;
  top: 70%;
}

body#index #wrapper #custom-text #call-to-action #buy-button button {
  background-color: #867065;
  font-size: 2rem;
  font-weight: lighter;
  letter-spacing: 0.2rem;
  border-radius: 100px;
  box-shadow: rgba(0, 0, 0, 0.7) 0 0 30px;
}

body#index #wrapper #custom-text #call-to-action #buy-button #buy-text {
  display: none;
}

body#index #wrapper #custom-text #content-footer {
  display: block;
  padding: 0 1.5rem 0 1.5rem;
}

@media (min-width: 541px) {
  body#index #wrapper #custom-text .section {
    max-width: 540px;
  }
  footer#footer {
    background-image: url("/img/cms/footerBackground_767.webp");
  }
}

@media (min-width: 768px) {
  footer#footer {
    background-image: url("/img/cms/footerBackground_991.webp");
  }

  body#index #wrapper #custom-text {
    padding: 3.125rem 0;
  }
  body#index #wrapper #custom-text .section {
    max-width: 1110px;
  }
  body#index #wrapper #custom-text .section .text {
    padding: 3.125rem;
    height: fit-content;
    align-self: flex-end;
    max-width: 700px;
    width: 100%;
    margin-bottom: 3rem;
    animation: 1s ease-in-out 0s 1 fadeInDown;
  }
  /* body#index #wrapper #custom-text .section img {
  } */

  body#index #wrapper #custom-text .section_left {
    flex-direction: row;
  }
  body#index #wrapper #custom-text .section_left .text {
    margin-left: -17rem;
  }
  body#index #wrapper #custom-text .section_left img {
    margin-right: -3rem;
    animation: 1s ease-in-out 0s 1 fadeInLeft;
  }
  body#index #wrapper #custom-text .section_right {
    flex-direction: row-reverse;
  }
  body#index #wrapper #custom-text .section_right .text {
    margin-right: -17rem;
  }
  body#index #wrapper #custom-text .section_right img {
    margin-left: -3rem;
    animation: 1s ease-in-out 0s 1 fadeInRight;
  }

  body#index #wrapper #custom-text #call-to-action {
    position: static;
    flex-direction: row-reverse;
    padding-left: 15px;
    padding-right: 15px;
  }
  body#index #wrapper #custom-text #call-to-action img {
    margin-left: -3rem;
    animation: 1s ease-in-out 0s 1 fadeInRight;
  }
  body#index #wrapper #custom-text #call-to-action #buy-button {
    display: flex;
    flex-direction: column-reverse;
    position: static;
    width: 100%;
    align-self: center;
    margin: 0 -3rem 0 0;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.5) 8px 8px 40px;
    animation: 1s ease-in-out 0s 1 fadeInDown;
  }

  body#index #wrapper #custom-text #call-to-action #buy-button #buy-text {
    display: block;
  }

  body#index #wrapper #custom-text #content-footer {
    display: none;
  }
}

@media (min-width: 992px) {
  footer#footer {
    background-image: url("/img/cms/footerBackground_1920.webp");
    background-size: cover;
  }
}
