main > .stripe {
  max-width: 710px;
  margin-right: 320px;
}

#prod_menu {
  width: 288px;
  margin-top: 130px;
  float: right;
}

#prod_menu li + li {
  margin-top: 1px;
}

#prod_menu li a {
  line-height: 30px;
  display: block;
  font-weight: 300;
  text-align: center;
  color: #fff;
  background: #dadada;
}

#prod_menu li a.attivo,
#prod_menu li a:hover {
  text-decoration: none;
  background: #e85113;
  -webkit-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.3);
  -moz-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.3);
  -ms-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.3);
  -o-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.3);
}

.prod_main_img {
  height: 370px;
  margin: 35px 0 0 0;
  position: relative;
  overflow: hidden;
}
.prod_main_img img {
  max-width: 80%;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.prod_main_img.prod_custom .custom-img {
  max-width: 190px !important;
  max-height: 190px !important;
}

.prod_detail_section {
  line-height: 1.2;
  padding: 35px 0;
  border-top: 1px dotted #949594;
  font-size: 18px;
  font-weight: 300;
  color: #7b7c7e;
}

.noborder {
  border-top: 0px dotted #949594 !important;
}
.prod_detail_section header {
  margin-bottom: 35px;
}
.prod_detail_section .section_title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #7b7c7e;
}

.prod_detail_section header h3 {
  margin: 20px 0 0 0;
  font-size: 18px;
}
.prod_detail_section header p {
  margin: 0;
}

.prod_detail_section .prod_detail_link {
  margin-top: 10px;
  display: block;
  float: left;
  width: 100%;
  text-align: left;
}

/* --AR */
.prod_detail_section .prod_detail_link_center {
  /* margin-top: 50px; */
  display: block;
  /* float: left; */
  /* margin-left: 50%; */
  text-align: center;
}
.prod_detail_section .prod_detail_link_center:before {
  margin-right: 13px;
  display: inline-block;
  vertical-align: middle;
}
.prod_detail_section .prod_detail_link_center.pdf:before {
  content: url("../immagini_layout/icone/pdf.svg");
}
.no-svg .prod_detail_section .prod_detail_link_center.pdf:before {
  content: url("../immagini_layout/svg_fabblack/icone/pdf.png");
}

.prod_detail_section .prod_detail_link_center.eng:before {
  content: url("../immagini_layout/icone/ico-arrow.png");
}
.no-svg .prod_detail_section .prod_detail_link_center.eng:before {
  content: url("../immagini_layout/svg_fallback/icone/ico-arrow.png");
}
/*  FINE --AR */

.prod_detail_section .prod_detail_link:before {
  margin-right: 13px;
  display: inline-block;
  vertical-align: middle;
}

.prod_detail_section .prod_detail_link.pdf:before {
  content: url("../immagini_layout/icone/pdf.svg");
}
.no-svg .prod_detail_section .prod_detail_link.pdf:before {
  content: url("../immagini_layout/svg_fabblack/icone/pdf.png");
}

.prod_detail_section .gallery_list {
  margin-left: -35px;
}

.prod_detail_section .gallery_list li {
  width: 204px;
  margin: 0 0 35px 35px;
  float: left;
}
.prod_detail_section .gallery_list li a {
  display: block;
}
.prod_detail_section .gallery_list li a figure {
  height: 170px;
  margin: 0;
  border: 2px solid #a7a7a7;
  position: relative;
  /* background: #efefef; */
}
.prod_detail_section .gallery_list li a figure:before {
  content: "";
  width: 100%;
  height: 100%;
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.5) url("../immagini_layout/icone/zoom.png") 50%
    50% no-repeat;
}
.prod_detail_section .gallery_list li a:hover figure:before {
  display: block;
}
.prod_detail_section .gallery_list li a figure img {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 200px;
  max-height: 170px;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.prod_detail_section .gallery_list li a h6 {
  height: 44px;
  line-height: 22px;
  margin: 0;
  padding: 9px 10px;
  font-size: 18px;
  color: #333333;
  overflow: hidden;
}

.prod_detail_section .video_list li + li {
  margin-top: 30px;
}
.prod_detail_section .video_list li a {
  line-height: 22px;
  padding: 5px 0 5px 75px;
  display: block;
  position: relative;
  font-size: 18px;
  font-weight: 300;
  color: #333333;
}
.prod_detail_section .video_list li a:before {
  content: url("../immagini_layout/icone/youtube_player.svg");
  position: absolute;
  top: 0;
  left: 0;
}
.no-svg .prod_detail_section .video_list li a:before {
  content: url("../immagini_layout/svg_fallback/icone/youtube_player.png");
}
.youtube-iframe-container {
  position: relative;
  padding-bottom: calc(56.25% * 0.75); /* 16:9 */
  height: 0;
  display: block;
  margin: 0 auto 20px auto;
  width: 75%;
}
.youtube-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#cat_menu {
  width: 288px;
  margin-top: 130px;
  float: right;
  background: #ffffff;
  border: 1px solid #e7e7e7;
  padding: 0 0 30px;
}

#cat_menu li a {
  line-height: 30px;
  display: block;
  font-weight: 300;
  text-align: center;
  color: #333333;
  background: transparent;
}

#cat_menu li a.attivo,
#cat_menu li a:hover {
  text-decoration: none;
  background: #e85113;
  color: #ffffff;
  -webkit-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.3);
  -moz-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.3);
  -ms-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.3);
  -o-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.3);
}
ul.pagination{
  display: flex;
  list-style: none;
}
ul.pagination .page-link{
  position: relative;
  display: block;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  color: #e85113;
  text-decoration: none;
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  transition: color .30s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
ul.pagination .active>.page-link,
ul.pagination .page-item:not(.disabled) .page-link:hover{
  z-index: 3;
  color: #ffffff;
  background: #e85113;
  border-color: #e85113;
  text-decoration: none;
}
ul.pagination .page-item:first-child .page-link{
  border-top-left-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
}
ul.pagination .page-item:last-child .page-link{
  border-top-right-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}
.product-thumb {
  position: relative;
  display: inline-block;
  cursor: pointer;
  /* overflow: hidden; */
  height: 150px;
  width: 200px;
}

.product-thumb img {
  display: block;
  width: 85%;
  height: 85%;
  transition: filter 0.3s;
  object-fit: contain;
}

.product-thumb .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Cor cinza com transparência */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.zoom-icon {
  color: white;
  font-size: 24px;
}

.product-thumb:hover .overlay {
  opacity: 1;
}
@media only screen and (max-width: 768px) {
  main > .stripe {
    max-width: 100%;
    margin-right: 0;
  }

  #prod_menu, #cat_menu {
    display: none;
  }

  .prod_detail_section {
    display: block !important;
  }

  .prod_detail_section .section_title {
    text-align: center;
  }

  .prod_detail_section .gallery_list {
    margin-left: 0;
    text-align: center;
  }

  .prod_detail_section .gallery_list li {
    margin: 0 10px 20px 10px;
    float: none;
    display: inline-block;
    vertical-align: top;
  }
}
