.product-info-details #product .form-group {
    display: inline-block;
    vertical-align: top;
    width: 100%;
}
  
.product-info-details h1 {
    font-size: 2.8125rem;
    margin-top: 0;
    margin-bottom: 24px;
    font-weight: 400;
}

.input-quantity {
    border: 1px solid #ebebeb;
    width: 125px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 5px 0;
  }
  
  .input-quantity .btn-minus {
    color: #ebebeb;
    border-radius: 10px 0 0 10px;
    height: 100%;
    border: none;
    box-shadow: none;
}
  
.input-quantity .btn-plus {
    color: #ebebeb;
    border-radius: 0 10px 10px 0;
    height: 100%;
    border: none;
    box-shadow: none;
}
  
.input-quantity .btn-number {
    color: #212529;
    text-shadow: none;
    background-image: none;
}
  
.product-info-details #product .form-group .control-label[for="input-quantity"] {
    line-height: 50px;
    float: left;
    margin: 5px;
    margin-left: 0;
}
  
.product-info-details #product .form-group .control-label {
    text-transform: capitalize;
    font-size: 14px;
    color: #212529 !important;
}
  
.product-info-details #product .form-group #input-quantity {
    width: 85px;
    text-align: center;
    float: left;
    font-size: 18px;
    color: #333;
    font-weight: 600;
    box-shadow: none;
    background: #fff;
    border: none;
}
  
.product-info-details #product .form-group #input-quantity:focus {
    box-shadow: none;
}
  
.product-info-details #button-cart {
    margin: 5px 0;
    margin-left: 5px;
    padding: 10px;
    min-width: 250px;
    line-height: 26px;
    text-transform: capitalize;
    width: 50%;
    float: left;
    background: #3DC04E;
    color: #ffffff;
    font-size: 18px;
    border-radius: 10px !important;
    -webkit-border-radius: 10px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif !important;
    border: none;
}

.product-info-details ul.list-unstyled {
    border-bottom: 2px dashed #ebebeb;
    margin-bottom: 10px;
    padding-bottom: 10px;
    color: #222;
}
  
.product-info-details h2 {
    margin: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: solid 2px var(--bg-secondary);
    font-size: 16px;
    color: #000;
    font-weight: normal;
}

.product-image .thumbnails>li {
    margin-left: 0px;
}
  
.product-info-details h1 {
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-primary);
    font-size: 20px;
    color: #000;
    font-weight: normal;
    color: #212529;
}
  
.product-info-details .price {
    font-size: 30px;
    line-height: normal;
    color: #3DC04E !important;
    padding-bottom: 10px;
    margin: 0 0 10px;
    border-bottom: 2px dashed #ebebeb;
    display: block;
}
  
.product-info-details .inner span {
    font-size: 14px;
    color: #212529;
}
  
.product-info-details #product .form-group {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    margin-bottom: 10px;
}
  
.product-info-details h1 {
    font-family: var(--font-family);
}
  
.product-title {
    margin: 0px 0 10px;
    padding: 0;
}
  
.product-title h1 {
    font-size: 25px;
    font-weight: bold;
    margin-top: 0px;
}
  
.thumbnail {
    border-radius: 10px;
    border: none;
    margin-bottom: 10px;
}
  
.quotation {
    border-radius: 10px;
    border: 1px solid #ebebeb;
    padding: 10px;
    color: #212529;
    font-size: 14px;
    margin-bottom: 10px;
    position: relative;
}
  
.quotation .close {
    font-size: 40px;
    position: absolute;
    bottom: 0px;
    right: 10px;
    color: #a29f9f;
    opacity: 1;
}
  
.quotation .close:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #212529;
    opacity: 1;
}
  
#form_zip_code {
    border-radius: 10px;
    background-color: #ebebeb;
    padding: 0 10px;
}
  
#form_zip_code .shipping {
    display: flex;
    flex-direction: row;
    align-items: center;
}
  
#form_zip_code .row {
    margin: 0;
    width: 100%;
}
  
#form_zip_code h4 {
    font-size: 14px;
    color: #212529;
    font-weight: bold;
}
  
#form_zip_code .input-group {
    display: flex;
    flex-direction: row;
    padding: 10px 0;
    width: 100%;
}
  
#form_zip_code .input-group input {
    height: 50px;
    margin-right: 15px;
    color: #212529 ;
    background-color: #ffffff;
    border: none;
    box-shadow: none;
    border-radius: 10px;
    font-size: 14px;
}
  
#form_zip_code .input-group button {
    width: 150px;
    height: 50px;
    text-align: center;
    float: left;
    font-size: 18px;
    color: #ffffff;
    font-weight: 600;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    background: #212529;
    font-family: 'Montserrat', sans-serif !important;
    padding: 13px 16px;
}
  
#form_zip_code .input-group button:focus {
    border: none;
    box-shadow: none;
}
  
#product h3 {
    margin-top: 0;
    font-size: 15px;
    color: #212529;
    font-weight: bold;
}
  
#product .options {
    display: flex !important;
    flex-direction: column !important;
}
  
#product .options .control-label {
    margin: 0;
}
  
#product .options label {
    font-size: 14px;
    color: #212529;
}
  
#product select {
    box-shadow: none;
    border: 1px solid #ebebeb;
    border-radius: 10px;
    color: #212529;
    font-size: 14px;
    height: 50px;
    margin-top: 10px;
}
  
.images-swiper {
    overflow: hidden;
}
  
.images-additional {
    display: flex;
    flex-direction: row;
}
  
.images-additional li {
    height: 70px !important;
    width: 70px !important;
}
  
.images-additional li a {
    height: 70px !important;
    width: 70px !important;
}
  
.product-info-details .list-unstyled {
    font-size: 14px;
    color: #212529;
}
  
.product-info-details {
    border: 1px solid #ebebeb;
    border-radius: 10px;
    padding: 10px;
}

.thumbnails .image-additional {
    margin: 0 20px 0 0;
}

.product-image .thumbnails {
    margin-left: 0px;
}
  
@media (max-width: 992px) {
    .product-info-details,
    .product-image {
        width: 100%;
        margin-bottom: 10px;
    }
  
    .product-details {
        width: 100%;
    }
}
  
@media (max-width: 767px) {
    .form-group {
        margin-bottom: 35px;
    }
  
    .quantity {
        display: flex;
        justify-content: space-evenly;
    }
  
    .product-info-details #product .form-group #input-quantity {
        margin: 1rem 0;
        margin-right: 2%;
    }
  
    ul.nav.nav-tabs > li {
        padding: 0;
    }
  
    #form_zip_code .shipping {
        flex-direction: column;
    }
  
    #form_zip_code .shipping h4 {
        margin-bottom: 0;
    }
  
    .product-info-details #button-cart {
        text-transform: uppercase;
        min-width: 145px;
    }
  
    .product-info-details #product .form-group .control-label[for="input-quantity"] {
        display: none;
    }
  
    .nav-tabs {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 0 !important;
    }
  
    .nav-tabs>li {
        text-align: center;
    }
  
    .product-title h1 {
        font-size: 15px;
    }
}

/* Estilos para vídeo na galeria */
.video-item {
  position: relative;
  cursor: pointer;
}

.video-thumbnail {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 4px; /* Padronizado com as imagens */
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 4px; /* Consistência no border-radius */
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
  border-radius: 4px; /* Consistência no border-radius */
}

.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Centralização perfeita */
  font-size: 48px;
  color: white;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 2;
  line-height: 1; /* Garantir alinhamento vertical perfeito */
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-item:hover .video-play-button {
  transform: translate(-50%, -50%) scale(1.2);
  color: #ff0000;
}

.video-item:hover .video-overlay {
  background: rgba(0, 0, 0, 0.3);
}

.video-item:hover .video-thumbnail img {
  transform: scale(1.05);
}

/* Padronização com imagens do carrossel */
.image-additional img,
.video-thumbnail img {
  border-radius: 4px !important;
}

.image-additional a.thumbnail {
  border-radius: 4px;
  overflow: hidden;
}

/* Estilos para modal unificado */
#mediaModal.modal .modal-dialog {
  margin: 30px auto;
  max-width: 85vw;
  width: 85vw;
}

#mediaModal .modal-content {
  background: #ffffff;
  border: none;
  border-radius: 8px;
  overflow: hidden;
  height: 85vh;
  max-height: 85vh;
}

#mediaModal .modal-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  border: none;
  background: transparent;
  padding: 0;
  height: 60px;
  pointer-events: none;
}

#mediaModal .modal-header .close {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #333;
  opacity: 0.8;
  text-shadow: none;
  font-size: 30px;
  font-weight: normal;
  margin: 0;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  pointer-events: all;
}

#mediaModal .modal-header .close:hover {
  opacity: 1;
  background: rgba(255,255,255,1);
}

.media-counter {
  position: absolute;
  top: 15px;
  left: 15px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  background: rgba(0,0,0,0.7);
  padding: 8px 16px;
  border-radius: 20px;
  pointer-events: all;
}

#mediaModal .modal-body {
  padding: 0;
  background: #ffffff;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}



/* Estilos do Swiper no modal */
#mediaSwiper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#mediaSwiper .swiper-wrapper {
  align-items: center;
}

#mediaSwiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
  height: 100%;
}

#mediaSwiper .swiper-slide img {
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

#mediaSwiper .swiper-slide .video-container {
  width: 90%;
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 900px;
}

#mediaSwiper .swiper-slide .embed-responsive {
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

#mediaSwiper .swiper-slide .embed-responsive::before {
  padding-top: 56.25%;
}

#mediaSwiper .swiper-slide iframe {
  border-radius: 8px;
  border: none;
}

/* Navegação do Swiper personalizada */
#mediaSwiper .swiper-button-next,
#mediaSwiper .swiper-button-prev {
  color: #333;
  background: rgba(255,255,255,0.9);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-top: 0;
  transition: all 0.3s ease;
  top: 50%;
  transform: translateY(-50%);
}

#mediaSwiper .swiper-button-next:hover,
#mediaSwiper .swiper-button-prev:hover {
  background: rgba(255,255,255,1);
  color: #333;
  transform: translateY(-50%) scale(1.1);
}

#mediaSwiper .swiper-button-next:after,
#mediaSwiper .swiper-button-prev:after {
  font-size: 14px;
  font-weight: bold;
}

#mediaSwiper .swiper-button-next {
  right: 20px;
}

#mediaSwiper .swiper-button-prev {
  left: 20px;
}

#mediaSwiper .swiper-pagination {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: auto;
}

#mediaSwiper .swiper-pagination-bullet {
  background: #dee2e6;
  opacity: 1;
  width: 8px;
  height: 8px;
  margin: 0 3px;
  transition: all 0.3s ease;
}

#mediaSwiper .swiper-pagination-bullet:hover {
  background: #6c757d;
  transform: scale(1.2);
}

#mediaSwiper .swiper-pagination-bullet-active {
  background: #007bff;
  transform: scale(1.3);
}

/* Responsividade */
@media (max-width: 768px) {
  .video-play-button {
    font-size: 36px;
  }
  
  #mediaModal.modal .modal-dialog {
    margin: 5px;
    width: calc(100% - 10px);
    max-width: calc(100% - 10px);
  }
  
  #mediaModal .modal-content {
    height: 95vh;
    max-height: 95vh;
  }
  
  #mediaModal .modal-header {
    padding: 10px 15px;
  }
  
  #mediaModal .modal-header .close {
    width: 35px;
    height: 35px;
    font-size: 24px;
  }
  
  .media-counter {
    font-size: 14px;
    padding: 6px 12px;
  }
  
  #mediaSwiper {
    height: 100%;
  }
  
  #mediaSwiper .swiper-button-next,
  #mediaSwiper .swiper-button-prev {
    width: 32px;
    height: 32px;
    margin-top: 0;
  }
  
  #mediaSwiper .swiper-button-next:after,
  #mediaSwiper .swiper-button-prev:after {
    font-size: 11px;
  }
  
  #mediaSwiper .swiper-button-next {
    right: 15px;
  }
  
  #mediaSwiper .swiper-button-prev {
    left: 15px;
  }
  
  #mediaSwiper .swiper-pagination {
    bottom: -35px;
  }
  
  #mediaSwiper .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    margin: 0 2px;
  }
}