/* Glassmorphism effect */
.glass-card{

  /* fundo translúcido */
  background: rgba(55, 61, 68, 0.6);

    min-height:300px;
}


/* Input com efeito transparente */
#pesquisarGema {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  margin-bottom: 15px;
}

#pesquisarGema::placeholder {
  color: #ccc;
}

/* Botão com leve animação */
#btnPesquisarGema:hover {
  transform: scale(1.05);
  transition: all 0.2s ease-in-out;
}

#bt_fechar_modal{
  margin-bottom:40px;
}

#div_pesquisa_gemas {
  max-width: 800px;
  margin-top: -30px;
  margin-bottom: 15px;

  box-shadow:
    0 0 0 3px rgba(0, 0, 0, 0.48),
    0 10px 25px rgba(0, 0, 0, .45);

  background:

  /*   linear-gradient(rgba(32, 27, 27, 0.45), rgba(32, 27, 27, 0.45)), */

    url("../im_fundos/fundo_localizar.jpg") center center / cover no-repeat;
}

/* smartphone */
@media (max-width: 991.98px) {
  #div_pesquisa_gemas {
    margin-top: 15px;
    margin-bottom: 15px;

  }
}






.circulo-gema {
  width: 340px;
  height: 340px;

  margin: 20px auto;

  border: 2px solid #3d3d3d;

  box-shadow:
    inset 0 0 1px rgba(255, 255, 255, .7),
    inset 0 0 18px rgba(0, 0, 0, .55),
    inset 0 0 45px rgba(0, 0, 0, .90);
  border-radius: 50%;

  overflow: hidden;
  background: #000;

  display: flex;
  justify-content: center;
  align-items: center;


}

.circulo-gema img {
  max-width: 230%;
  height: auto;
  object-fit: contain;
  display: block;
}

#lbImagem {
  opacity: 1;
  transition: opacity .18s ease;
}

#lbImagem.fade {
  opacity: 0;
}


/* ===== DIV LOCALIZAR ===== */

#div_botoes_localizar{
  margin-bottom:20px;
}

#div_pesquisa_cor{
  margin-top:8px;
}

#bt_localizar {
  margin-bottom: 15px;
}


#bt_localizar_cor {
  margin-bottom: 15px;
}

#corgema {
  width: 209px !important;
}

#familia {
  margin-top:-10px;
  width: 209px;
}

#pesquisarGema {
  width: 300px;
}

.icone-modal {
  color: rgb(231, 185, 101);
  font-size: 1.05rem;
  margin-right: 6px;
  vertical-align: -1px;
}

#div_texto_localizar{
  max-width:320px;
}


/* ===== PRODUTOS / CATÁLOGO ===== */
#produtos {
  background-color: var(--cinza-800);
}

.card-foto {
  background-color: var(--cinza-700);
  border: 1px solid var(--cinza-borda);
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.gemas-lista .card-foto {
  border: none;
  box-shadow: none;
}

.gemas-lista .card-foto:hover {
  transform: translateY(-6px);
  border-color: transparent;
}

.card-foto:hover {
  transform: translateY(-6px);
  border-color: var(--destaque);
}

.card-foto img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.gem-preview {
  position: fixed;
  width: 150px;
  height: 150px;
  border-radius: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  display: none;
  z-index: 9999;
  box-shadow: none;
  transition: opacity 0.18s ease;
  opacity: 0;
}

.gem-preview.show {
  opacity: 1;
}

/* indicador de "clique para ampliar" sobre a imagem */
.card-foto .foto-wrapper {
  position: relative;
  overflow: hidden;
}

.card-foto .foto-wrapper::after {
  content: "\F4B7";
  /* bootstrap-icon zoom-in */
  font-family: "bootstrap-icons";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: var(--destaque);
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.card-foto:hover .foto-wrapper::after {
  opacity: 1;
}

/* ===== LIGHTBOX (MODAL DE FOTO AMPLIADA) ===== */


#lightboxModal .modal-content {
  background-color: var(--cinza-900);
  border: 1px solid var(--cinza-borda);
  border-radius: 12px;
}

#lightboxModal .btn-close {
  filter: invert(1) grayscale(1) brightness(1.6);
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  opacity: 0.9;
}

.lightbox-palco {
  position: relative;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}



.lightbox-palco img {
  max-width: 180%;
  height: auto;
  object-fit: contain;
  display: block;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--destaque);
  background: rgb(0, 0, 0);
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
  box-shadow:
    0 0 0 3px rgba(0, 0, 0, 0.48),
    0 10px 25px rgba(0, 0, 0, .45);
}

.lightbox-nav:hover {
  background: rgb(105, 45, 0);
  color: #ffffff;
}

.lightbox-nav.prev {
  left: 14px;
}

.lightbox-nav.next {
  right: 14px;
}

.lightbox-legenda {
  padding: 20px 24px;
}

.lightbox-legenda h5 {
  color: #fff;
  margin-bottom: 6px;
}

.lightbox-legenda p {
  color: var(--texto-suave);
  margin: 0;
}

.lightbox-contador {
  color: var(--destaque);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 8px;
}

#lightboxModal {
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge antigo */
}

#lightboxModal::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

#lightboxModal {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#lightboxModal::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}


.card-foto .card-body {
  padding: 18px;
}

.card-foto h5 {
  color: #fff;
  margin-bottom: 6px;
}

.card-foto p {
  color: var(--texto-suave);
  font-size: 0.95rem;
  margin: 0;
}

.divdescricaomaior {
  margin-left: 30px;
  margin-right: 30px;
}


.divcuriosidades {
  font-family: 'Sansation Light' !important;
  margin-left: 30px;
  margin-right: 30px;
  border-width: 1px;
  border-style: solid;
  border-color: var(--destaque);
  border-radius: 8px;
  padding: 12px;
  background-color: var(--cinza-800);
}





/* ===== COMPARTILHAMENTO DA GEMA ===== */
.compartilhamento-gema {
  max-width: 680px;
  margin: 24px auto;
  padding: 20px;
  border: 1px solid rgba(177, 167, 143, 0.45);
  border-radius: 14px;
  background:
        linear-gradient(rgba(0, 0, 0, 0.276), rgba(18, 18, 18, 0.276)),
        url("../img/hero.jpg") center/cover no-repeat !important;
}

.compartilhamento-gema[hidden] {
  display: none;
}

.compartilhamento-gema h5,
.compartilhamento-gema__qrcode span {
  color: #b1a78f !important;
  text-align: center;
}

.compartilhamento-gema__redes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 18px 0 22px;
}

.compartilhamento-gema__botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 1.45rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.compartilhamento-gema__botao:hover,
.compartilhamento-gema__botao:focus-visible {
  color: #fff;
  opacity: 0.9;
  transform: translateY(-2px) scale(1.05);
}

.compartilhamento-gema__botao,
.compartilhamento-gema__botao i {
  color: #fff !important;
}

.compartilhamento-gema__botao:active,
.compartilhamento-gema__botao:focus,
.compartilhamento-gema__botao:focus-visible {
  color: #fff !important;
}

.compartilhamento-gema__facebook { background-color: #1877f2; }
.compartilhamento-gema__twitter { background-color: #111; }
.compartilhamento-gema__whatsapp { background-color: #25d366; }
.compartilhamento-gema__linkedin { background-color: #0a66c2; }
.compartilhamento-gema__telegram { background-color: #0088cc; }

.compartilhamento-gema__qrcode img {
  display: block;
  width: min(180px, 100%);
  height: auto;
  margin: 12px auto 0;
  padding: 8px;
  border-radius: 10px;
  background: #fff;
}

/* smartphones pequenos */
@media (max-width: 575.98px) {
  .compartilhamento-gema {
    padding: 16px 10px;
  }

  .compartilhamento-gema__redes {
    gap: 9px;
  }

  .compartilhamento-gema__botao {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }
}
