/*****************************************************/
/****************** PRODUCTS SINGLE ******************/
/*****************************************************/

#product-single-header {
  padding: 150px 15px 0 15px;
  background-size: cover;
  background-position: center;
}

#product-contact-form-button {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 800;
  width: 100%;
  text-align: center;
  background-color: #ff9900;
}

#product-contact-form-button button {
  padding: 15px 15px 15px 60px;
  border: none;
  color: #ffffff;
  font-weight: 700;
  transition: all 0.3s ease-out;
  background-image: url(../img/contact.svg);
  background-position: left 15px center;
  background-repeat: no-repeat;
  background-size: 30px;
  background-color: #ff9900;
  cursor: pointer;
}

#product-contact-form-button button:hover {
  border: none;
  background-color: #cc6600;
}

section.category-mitigeur > #product-single-header > #product-contact-form-button > button {
  background-color: #1a9da2;
}

section.category-mitigeur > #product-single-header > #product-contact-form-button > button:hover {
  background-color: #10676a;
}

#product-single-back-hide {
  display: none;
}

#product-single-title h1 {
  width: max-content;
  max-width: 100%;
  padding: 15px;
  font-size: 6rem;
  line-height: 5rem;
  font-weight: 900;
  color: #a21a40;
  background-color: #ffffff;
}

#product-single-title p {
  width: max-content;
  max-width: 100%;
  padding: 0 15px;
  font-size: 1.75rem;
  line-height: 1.75rem;
  text-transform: uppercase;
  background-color: #ffffff;
}

#product-single-content-wrap {
  padding: 15px 15px 0 15px;
  box-sizing: border-box;
  background-color: #ffffff;
}

#product-single-content h3 {
  padding: 15px 0;
  font-size: 1.75rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: #a21a40;
}

#product-single-content {
  position: relative;
  overflow: hidden;
}

#product-single-content p+p {
  padding: 15px 0 0 0;
}

#product-single-content p strong {
  font-weight: 700;
}

#product-single-content a,
#product-single-content a:visited {
  color: #333333;
}

#product-single-content-wrap.show-more>#product-single-content {
  height: 215px;
}

#product-single-shade {
  display: none;
  position: absolute;
  top: 165px;
  width: 100%;
  height: 50px;
  background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

#product-single-content-wrap.show-more>#product-single-content>#product-single-shade {
  display: block;
}

#product-single-see-more  {
  display: none;
  width: 100%;
  padding: 15px;
  color: #1a9da2;
  text-transform: uppercase;
  font-weight: 700;
  border: none;
  background-color: #ffffff;
  cursor: pointer;
}

#product-single-see-more:hover {
  color: #10676a;
}

#product-single-btn {
  padding: 15px 0 0 0;
}

#single-slider-wrap {
  position: relative;
  width: 100%;
  margin: 30px 0 0 0;
  overflow-x: hidden;
}

#swipe-anim {
  position: absolute;
  z-index: 300;
  opacity: 0.75;
}

#single-slider-window {
  overflow-x: hidden;
  position: relative;
}

#single-slider {
  position: relative;
  top: 0;
  display: flex;
}

.single-slide {
  cursor: pointer;
  padding: 0 0 0 15px;
  background-position: center;
  background-size: cover;
}

.single-slide {
  cursor: grab;
  padding: 0 0 0 15px;
}

.single-slide-transition {
  transition: all 0.7s ease-out;
}

.slide-img {
  background-position: center;
  background-size: cover;
}

#products-navigation {
  display: flex;
  flex-wrap: wrap;
  margin: 30px 0 0 0;
  padding: 0 15px;
}

#back-category {
  width: 100%;
  order: 3;
  padding: 15px;
  margin: 30px 0 0 0;
  background-color: #1a9da2;
}

#back-category a {
  color: #ffffff;
  text-decoration: none;
}

#back-category a span {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}

#back-category a span i {
  font-size: 1.5rem;
  line-height: 1.5rem;
  text-transform: uppercase;
}

#back-category a span b {
  margin: 15px 0 0 0;
  font-size: 2.5rem;
  line-height: 2.5rem;
  font-weight: 700;
}

#prev-product {
  order: 2;
  margin: 15px 0;
}

#next-product {
  order: 1;
}

#prev-product a,
#next-product a {
  display: block;
  position: relative;
  text-decoration: none;
}

#prev-product a span,
#next-product a span {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  position: absolute;
  left: 15px;
  bottom: 0;
  z-index: 100;
}

#next-product a span {
  right: 15px;
  left: unset;
}

#prev-product a span i,
#next-product a span i {
  margin: 0 auto 0 0;
  padding: 15px 15px 0 15px;
  background-color: #ffffff;
  font-size: 1.5rem;
  line-height: 1.5rem;
  text-transform: uppercase;
  color: #333333;
}

#next-product a span i {
  margin: 0 0 0 auto;
}

#prev-product a span b,
#next-product a span b {
  padding: 15px 15px 0 15px;
  background-color: #ffffff;
  font-size: 3rem;
  line-height: 3rem;
  font-weight: 700;
  text-transform: none;
  color: #1a9da2;
}

@media (min-width: 600px) {
  #product-single-content-wrap {
    width: 50%;
  }

  .single-slide:first-child {
    order: 5;
  }

  #back-category,
  #prev-product,
  #next-product {
    width: calc(33.333333% - 10px);
    margin: 0;
  }

  #back-category {
    order: 2;
    margin: 0 15px 0 0;
    padding: 0;
  }

  #back-category a {
    position: relative;
    display: block;
    height: 100%;
  }

  #back-category a span {
    position: absolute;
    top: calc(50% - 24.5px);
    left: 15px;
  }

  #prev-product {
    order: 1;
    margin: 0 15px 0 0;
  }

  #next-product {
    order: 3;
  }

  #prev-product a span,
  #next-product a span {
    top: calc(50% - 40px);
    bottom: unset;
  }

  #prev-product a span {
    left: 0;
  }

  #next-product a span {
    right: 0;
  }

  #prev-product a span i,
  #next-product a span i,
  #back-category a span i {
    font-size: 1.25rem;
    line-height: 1.25rem;
  }

  #prev-product a span i {
    padding: 15px 15px 0 0;
  }

  #next-product a span i {
    padding: 15px 0 0 15px;
  }

  #prev-product a span b,
  #next-product a span b,
  #back-category a span b {
    font-size: 2.25rem;
    line-height: 2.25rem;
  }

  #prev-product a span b {
    padding: 15px 15px 15px 0;
  }

  #next-product a span b {
    padding: 15px 0 15px 15px;
  }
}

@media (min-width: 900px) {
  #product-single-header {
    padding: 250px 15px 0 15px;
  }

  #product-single-title h1 {
    font-size: 8rem;
    line-height: 6.75rem;
    padding: 15px;
  }

  #single-slider-wrap {
    margin: 60px 0 0 0;
  }

  #products-navigation {
    margin: 60px 0 0 0;
  }

  #back-category a span {
    top: calc(50% - 30px);
  }

  #prev-product a span,
  #next-product a span {
    top: calc(50% - 45px);
  }

  #prev-product a span i,
  #next-product a span i,
  #back-category a span i {
    font-size: 1.5rem;
    line-height: 1.5rem;
  }

  #prev-product a span b,
  #next-product a span b,
  #back-category a span b {
    font-size: 3rem;
    line-height: 3rem;
  }
}

@media (min-width: 1200px) {
  #product-single-container {
    position: relative;
  }

  #product-single-back-hide {
    display: block;
    position: absolute;
    top: 120px;
    left: 0;
    width: 120px;
    z-index: 200;
    opacity: 1;
    transition: all 0.3s ease-out;
  }

  #product-single-back-hide.active {
    width: 50px;
    opacity: 0.25;
  }

  #product-single-back-hide:hover {
    opacity: 1;
  }

  #product-single-back {
    display: block;
    width: 100%;
    height: 120px;
    padding: 0;
    background-image: url(../img/prev_prod.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
    background-color: #ffffff;
    text-decoration: none;
    cursor: pointer;
  }

  #product-single-back:hover {
    background-image: url(../img/prev_prod_hover.svg);
  }

  #product-single-hide {
    margin: 5px 0 0 0;
    padding: 15px 0;
    width: 100%;
    background-color: #ffffff;
    border: none;
    cursor: pointer;
  }

  #product-single-hide-txt {
    padding: 0 0 0 25px;
    background-image: url(../img/hide.svg);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 20px;
  }

  #product-single-hide-txt:hover {
    background-image: url(../img/hide_hover.svg);
  }

  #product-single-back-hide.active
    #product-single-hide
    #product-single-hide-txt {
    background-image: url(../img/show.svg);
  }

  #product-single-back-hide.active
    #product-single-hide
    #product-single-hide-txt:hover {
    background-image: url(../img/show_hover.svg);
  }

  #product-single-back-hide.active
    #product-single-hide
    #product-single-hide-txt
    span {
    display: none;
  }

  #product-single-header {
    position: absolute;
    z-index: 100;
    top: 120px;
    padding: 0;
    transform: translateX(0);
    transform-origin: left;
    transition: all 0.2s ease-out;
  }

  #product-single-header.active {
    transform: translateX(-100%);
  }

  #product-single-title {
    padding: 15px 15px 15px 125px;
    width: max-content;
    min-width: 500px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    background-color: #ffffff;
  }

  #product-single-title h1 {
    padding: 0;
  }

  #product-single-title p {
    padding: 6px 0 0 0;
  }

  #product-single-content-wrap {
    margin: 5px 0 0 125px;
  }

  #product-contact-form-button {
    bottom: -45px;
    left: 125px;
  }

  #product-contact-form-button button {
    padding: 10px;
    width: 100%;
    background-image: none;
  }

  #single-slider-wrap {
    margin: 0;
    overflow: hidden;
  }

  #swipe-anim {
    position: absolute;
    top: calc(50% - 80px);
    left: calc(50% - 130px);
    z-index: 300;
    opacity: 0.75;
  }

  .single-slide {
    padding: 0;
  }

  .single-slide:active {
    cursor: grabbing;
  }

  .single-slide:first-child {
    order: unset;
  }

  #products-navigation {
    margin: 120px 0 0 0;
    padding: 0 120px;
  }

  #back-category a span {
    top: calc(50% - 40px);
    left: 30px;
  }

  #prev-product a span,
  #next-product a span {
    top: calc(50% - 55px);
  }

  #prev-product a::before,
  #next-product a::before,
  #back-category a::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a9da2;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: all 0.3s ease-out;
  }

  #prev-product a::before,
  #next-product a::before {
    opacity: 0.15;
  }

  #prev-product a:hover:before,
  #prev-product a:focus:before,
  #prev-product a:active:before,
  #next-product a:hover:before,
  #next-product a:focus:before,
  #next-product a:active:before,
  #back-category a:hover:before,
  #back-category a:focus:before,
  #back-category a:active:before {
    transform: scaleY(1);
    background: #10676a;
  }

  #prev-product a:hover:before,
  #prev-product a:focus:before,
  #prev-product a:active:before,
  #next-product a:hover:before,
  #next-product a:focus:before,
  #next-product a:active:before {
    opacity: 0.5;
  }

  #prev-product a span i,
  #next-product a span i,
  #back-category a span i {
    font-size: 2rem;
    line-height: 1.5rem;
  }

  #prev-product a span b,
  #next-product a span b,
  #back-category a span b {
    font-size: 6rem;
    line-height: 5rem;
  }
}
