/**********************************************
**
**
**   PAGE PRODUIT
**
**
**********************************************/
.product-top {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 50px;
}

@media (min-width: 768px) {
  .product-top {
    margin-top: 0;
    flex-wrap: nowrap;
  }
}

/**********************************************
**   IMAGES
**********************************************/

.product-img {
  order: 2;
  width: 100%;
}

@media (min-width: 768px) {
  .product-img {
    order: 1;
    width: 300px;
    position: relative;
  }

  /* COVER IMAGE */
  .product-img .images-container .product-cover {
    width: 300px !important;
  }

  .product-img .images-container .product-cover img {
    background: #ffffff;
  }

  /* THUMBS */
  #main .product-img .images-container .js-qv-mask.scroll {
    height: 700px;
  }
}

@media (min-width: 992px) {
  .product-img {
    width: 590px;
  }

  .product-img .images-container {
    display: flex;
    justify-content: space-between;
  }

  /* COVER IMAGE */
  .product-img .images-container .product-cover {
    width: 450px !important;

    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
  }

  /* THUMBS */
  #main .product-img .images-container .js-qv-mask.scroll {
    flex: auto;
    width: auto;
    /* width: calc(100% - 60px); */
    margin: 0 auto;
    height: 700px;
    overflow: hidden;
  }

  .product-img .images-container .product-images {
    display: flex;
    position: relative;
    justify-content: flex-end;
    flex-direction: column;
    align-items: flex-end;
  }
}

@media (min-width: 1200px) {
  .product-img {
    width: 690px;
  }

  /* COVER IMAGE */
  .product-img .images-container .product-cover {
    width: 550px !important;
    height: 700px;
    align-items: center;
  }

  /* THUMBS */
  #main .product-img .images-container .js-qv-mask.scroll {
    height: 700px;
  }
}

.product-img .images-container .product-images > li.thumb-container {
  display: block;
  margin-bottom: 10px;
  background: #ffffff;
}

.product-img .images-container .product-images > li.thumb-container > .thumb {
  margin: 0;
  border: #ffffff 1px solid;
  width: 130px;
  height: auto;
  padding: 20px 0;
}

.product-img .product-images > li.thumb-container > .thumb.selected,
.product-images > li.thumb-container > .thumb:hover {
  border: #ddd 1px solid;
}

.scroll-box-arrows i {
  text-align: center;
  position: absolute;
  bottom: 0;
  height: 30px;
  line-height: 30px;
  width: 30px;
  background: #ffffff;
  cursor: pointer;
  border: 1px solid #333;
  border-radius: 100px;
}

.scroll-box-arrows .left {
  top: 10px;
  right: 50px;
  left: auto;
}

.scroll-box-arrows .right {
  bottom: 30px;
  right: 50px;
}

/**********************************************
**   PRODUCT INFOS (title, category, shortdesc, form...)
**********************************************/
.product-nfo {
  order: 1;
  width: 100%;
}

@media (min-width: 768px) {
  .product-nfo {
    flex: auto;
    width: auto;
    padding-left: 50px;
    order: 2;
  }
}

.product-nfo h1.h1 {
  color: #3272b2;
  font-weight: bold;
  padding-bottom: 15px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
}

.product-nfo .product-manufacturer {
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
}

.product-nfo .product-manufacturer img {
  width: 100px;
  height: auto;
}
/**********************************************
**   PRODUCT TABS
**********************************************/

.product-tab {
  margin: 20px 0;
}

@media (min-width: 768px) {
  .product-tab {
    margin: 115px 0 100px;
    border-top: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
    display: flex;
  }
}

.product-tab-menu {
  display: none;
}

@media (min-width: 768px) {
  .product-tab-menu {
    display: flex;
    flex-direction: column;
    min-width: 25%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
}

.product-tab-menu li {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-tab-menu li .product-tab-btn {
  display: flex;
  border: 0;
  width: 100%;
  background: transparent;
  padding: 25px 0 25px 25px;
  border-radius: 0;
  border-bottom: 1px solid #ddd;
  color: #ddd;
  text-transform: uppercase;
  font-size: 1.125rem;
  font-weight: bold;
  outline: 0;
  transition: 0.5s;
}

.product-tab-menu li .product-tab-btn:hover,
.product-tab-menu li .product-tab-btn.active {
  color: #54595f;
  position: relative;
  cursor: pointer;
}

.product-tab-menu li .product-tab-btn.active::after {
  content: "";
  width: 1px;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  background: #54595f;
}

.product-tab-item {
  border-top: 1px solid #ddd;
  padding: 20px 0;
}

@media (min-width: 768px) {
  .product-tab-item {
    display: none;
  }

  .product-tab-item.active {
    display: block;
    padding: 25px 25px 25px 50px;
    border-left: 1px solid #ddd;
    min-height: 355px;
  }
}

.product-tab-title-mobile {
  text-transform: uppercase;
  color: #54595f;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .product-tab-title-mobile {
    display: none;
  }
}

/** ELEMENTOR VERSION : DEPRECATED **/
#product-tabs .product-tab-link:hover {
  cursor: pointer;
}

/* BUTTON ACTIVE /HOVER STATE */
#product-tabs .product-tab-link.active .elementor-widget-container,
#product-tabs .product-tab-link:hover .elementor-widget-container {
  border-right: 1px solid #54595f !important;
}
#product-tabs .product-tab-link.active h4,
#product-tabs .product-tab-link:hover h4 {
  color: #54595f;
}
/** END ELEMENTOR VERSION **/
