/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Tema criado e personalizado para o Grupo Weikus.
 Author:       Mateus Lopes
 Author URI:   https://codech.com.br
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* Onde encontrar */
#unit-details li {
  font-size: 16px;
  color: #706F6F;
  letter-spacing: 0px;
  list-style: none;
  margin-bottom: 30px;
}

#unit-details li h3 {
  font-weight: 700;
  font-size: 18px;
  color: #000;
  text-transform: uppercase;
  margin-bottom: 10px;
}

#unit-details .left-decor {
  border-left: 10px solid #DE761C;
  padding: 10px 10px 10px 25px;
  color: #04395e;
}

#unit-details .left-decor p {
  margin-bottom: 0;
  font-size: 16px;
  color: #706F6F;
}

#unit-details .left-decor a.rep-contato {
  font-weight: bold;
  color: #04395e;
}

/* Breadcrumbs */
ul.breadcrumb {
  display: flex;
  padding: 0;
  gap: 5px;
}
ul.breadcrumb li {
  list-style: none;
}
ul.breadcrumb li a:hover {
  opacity: 0.8;
}

/* ===========================
   Estilos da wk-product-gallery
   =========================== */

.wk-product-gallery {
  margin-bottom: 30px;
}

.wk-product-gallery.container {
  width: 100%;
  margin: 0;
}

.wk-product-gallery .wk-featured-image {
  margin-bottom: 20px;
  width: 100%;
}
.wk-product-gallery .wk-featured-image img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 12px;
  cursor: zoom-in;
  display: block;
}

#brxe-kxbnxa .pswp--zoomed-in .pswp__img, .pswp--zoom-allowed .pswp__img {
    object-fit: contain !important;
}

.wk-product-gallery .swiper-container.wk-swiper-gallery {
  padding-top: 10px;
  padding-bottom: 20px;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.wk-product-gallery .swiper-wrapper {
  display: flex;
  align-items: center;
}

.wk-product-gallery .swiper-slide.gallery-item {
  width: auto !important;
  flex-shrink: 0;
  cursor: pointer;
}
.wk-product-gallery .swiper-slide.gallery-item img {
  width: 200px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.wk-product-gallery .swiper-button-next,
.wk-product-gallery .swiper-button-prev {
  color: #003247;
  width: 30px;
  height: 30px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.wk-product-gallery .swiper-button-next::after,
.wk-product-gallery .swiper-button-prev::after {
  font-size: 18px;
}

/* Estilos do lightbox específicos para a galeria */
.wk-product-gallery .pswp__item {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  height: 100vh !important;
  overflow: hidden !important;
}
.wk-product-gallery .pswp__img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  display: block !important;
  position: relative !important;
}
.wk-product-gallery .pswp__zoom-wrap {
  max-width: none !important;
  max-height: none !important;
  overflow: visible !important;
}
.wk-product-gallery .lightbox img,
.wk-product-gallery .fancybox-image,
.wk-product-gallery .zoom-image img,
.wk-product-gallery .pswp__img {
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
}

/* Responsivo */
@media (max-width: 992px) {
  .wk-product-gallery .swiper-slide.gallery-item img {
    height: 160px;
  }
  .wk-product-gallery .wk-featured-image img {
    height: 350px;
  }
}
@media (max-width: 767px) {
  .wk-product-gallery .swiper-slide.gallery-item img {
    height: 140px;
  }
}
@media (max-width: 478px) {
  .wk-product-gallery .swiper-slide.gallery-item img {
    height: 120px;
  }
}

/* Evita scroll lateral */
body, html {
  overflow-x: hidden;
}

/* Botão "Ver mais" */
.wk-hidden {
  display: none;
}
.wk-product-gallery .wk-gallery-load-more {
  text-align: center;
  margin-top: 20px;
}
.wk-product-gallery .wk-load-more-btn {
  padding: 10px 20px;
  background-color: #003247;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
}
.wk-product-gallery .wk-load-more-btn:hover {
  opacity: 0.8;
}
.wk-product-gallery .gallery-item.active {
  border: 2px solid #007bff;
}
