/* =========================================
   PRODUTO – estilos da página (page-produto)
   ========================================= */

/* Section wrapper */
.page-produto .produto-section-2{
  margin-top: 10vh;
  padding: 0;
  background: #f8f9fa; /* bg-light */
}

/* Cartão interno da seção */
.page-produto .produto-section-2-content{
  padding: 10vh 0;
  background: #fff;
  border-radius: 0;
}

/* ===== Coluna de texto ===== */
.page-produto .produto-section-2 .text-box{
  padding-left: 10vh;
  padding-right: 4vh;
}

.page-produto .produto-section-2 .text-box h1{
  font-size: 46px;
  font-weight: 800;
  color: #5e4985;
  line-height: 1.2;
  margin: 2vh 0;
}

.page-produto .produto-section-2 .text-box h1::after{
  content: "";
  display: block;
  width: 40px;
  height: 5px;
  background-color: #a47c1b;
  border-radius: 5px;
  margin-top: 8px;
}

.page-produto .produto-section-2 .text-box p{
  font-size: 16px;
  line-height: 1.8;
  text-align: justify;
  margin: 0;
}

/* ===== Imagem principal ===== */
.page-produto .produto-main-img{
  width: 100%;
  max-width: 560px;
  height: 460px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
  cursor: zoom-in;
}

/* ===== Thumbs ===== */
.page-produto .produto-thumbs{
  list-style: none;
  padding-left: 0;
  margin: 16px 0 0 0;
}

.page-produto .produto-thumb-btn{
  border: 0;
  padding: 0;
  background: transparent;
  line-height: 0;
  border-radius: 10px;
}

.page-produto .produto-thumb{
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform .15s ease, box-shadow .15s ease;
}

.page-produto .produto-thumb:hover,
.page-produto .produto-thumb-btn:focus-visible .produto-thumb{
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}

.page-produto .produto-thumb-btn:focus-visible{
  outline: 2px solid #a47c1b;
  outline-offset: 2px;
}

.menu-products{
    padding-right: 5vh;
}

.menu-products h3.side-title{
    font-size: 30px;
    font-weight: 800;
    color: #5e4985;
    line-height: 1;
    margin: 2vh 0;
}

.menu-products h3.side-title::after{
    content: "";
    display: block;
    width: 30px;
    height: 5px;
    background-color: #a47c1b;
    border-radius: 5px;
    margin-top: 8px;
}

.product-side{
    border: none;
}

#sideMenu li{
    height: 50px;
    padding: 3% 5%;
}
#sideMenu li:hover{
    background-color: #5e4985;
}
#sideMenu li:hover span{
    color: #fff;
}
#sideMenu li.active{
    background-color: #5e4985;
    border: none;
}
#sideMenu li.active a{
    color: #fff !important;
}
#sideMenu a{
    color: #000;
    text-decoration: none;
}

.collapse-div-control i{
    color: #a47c1b;
    font-size: 20px;
}

/* ===== Modal ===== */
.page-produto .modal-content.bg-transparent{
  background: transparent !important;
  box-shadow: none !important;
}
.page-produto #modalImage{
  max-height: 90vh;
  width: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

/* =========================================
   BREAKPOINTS
   ========================================= */

/* ------- Desktop grande (>=1200) ------- */
/* (herda os valores acima; ajuste fino se quiser) */

/* ------- Notebook / Tablet landscape (992–1199) ------- */
@media (min-width:992px) and (max-width:1199.98px){
  .page-produto .produto-section-2{ margin-top: 12vh; }
  .page-produto .produto-section-2-content{ padding: 7vh 3vh; }

  .page-produto .produto-section-2 .row{
    align-items: flex-start;   /* título/descrição no topo */
  }

  .page-produto .produto-section-2 .text-box{
    padding-left: 6vh;
    padding-right: 2vh;
  }

  .page-produto .produto-section-2 .text-box h1{
    font-size: 40px;
    margin: 1.5vh 0;
  }

  .page-produto .produto-main-img{
    max-width: 520px;
    height: 420px;
    border-radius: 20px;
  }

  .page-produto .produto-thumb{ width: 80px; height: 80px; }
}

/* ------- Tablet (768–991) ------- */
@media (min-width:768px) and (max-width:991.98px){
  .page-produto .produto-section-2{
    margin-top: 9vh;            /* evita que o título fique sob o header */
  }
  .page-produto .produto-section-2-content{
    padding: 5vh 2vh;
  }

  .page-produto .produto-section-2 .row{
    align-items: flex-start;     /* mantém topo */
  }

  .page-produto .produto-section-2 .text-box{
    padding-left: 4vh;
    padding-right: 2vh;
  }

  .page-produto .produto-section-2 .text-box h1{
    font-size: 36px;
    margin: 1vh 0 1.5vh;
  }

  .page-produto .produto-main-img{
    max-width: 480px;
    height: 360px;
    border-radius: 18px;
  }

  .page-produto .produto-thumb{ width: 76px; height: 76px; }
}

/* ------- Mobile (<=767) ------- */
@media (max-width:767.98px){
  .page-produto .produto-section-2{
    margin-top: 10vh;          /* mais respiro por causa do menu móvel */
  }
  .page-produto .produto-section-2-content{
    padding: 4vh 0;
  }
  .page-produto .produto-section-2 .row{
    padding: 0 5vh;            /* margem interna */
    gap: 16px;
  }

  .page-produto .produto-section-2 .text-box{
    padding: 0;                /* remove offset lateral */
  }

  .page-produto .produto-section-2 .text-box h1{
    font-size: 30px;
    margin: 1vh 0 1.2vh;
  }

  .page-produto .produto-section-2 .text-box p{
    font-size: 15px;
    line-height: 1.7;
  }

  .page-produto .produto-main-img{
    width: 100%;
    max-width: 100%;
    height: 320px;
    border-radius: 14px;
  }

  .page-produto .produto-thumb{
    width: 74px; height: 74px;
  }
}

@media (min-width: 992px){
  .collapse-div-control{
    pointer-events: none; /* ignora cliques */
    cursor: default;
  }
}