/* ----------------------------------------------------------- */
/* Personalizações do template por @meu.perrengue              */
/* ----------------------------------------------------------- */ 

/* Quadros de vídeos do YouTube */

.youtube-frame {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  width: 560px;
  height: 315px;
}

/* Janelas de sobreposição personaizadas */

.custom-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 10000;
}

.custom-overlay.active {
  opacity: 1;
  visibility: visible;
}

.custom-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 92%;
  max-width: 720px;
  background: rgba(255,255,255,0.88);
  color: #222;
  border-radius: 0.75rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  padding: 1.75rem 2rem 1.75rem 2rem;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.27s cubic-bezier(.2,.9,.3,1), opacity 0.27s ease, visibility 0.27s ease;
  z-index: 10001;
}

.custom-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.custom-modal-inner {
  position: relative;
}

.custom-modal-body {
  margin-top: 0.5rem;
  color: #333;
  max-height: 70vh;
  overflow: auto;
}

/* Corpo e título dentro do modal */
.custom-modal-body h3 {
  margin-top: 0;
  margin-bottom: 0.75em;
  color: #333;
  font-weight: 700;
}

/* Garantir prioridade caso o template tenha regras gerais */
.custom-overlay,
.custom-modal,
.custom-modal.active,
.custom-overlay.active { outline: none !important; }

/* Imagens e botão centralizados */

.image.centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 100%;
}

.image.centered img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

.custom-button-center {
  text-align: center;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

/* Destaque para o preço */

td strong {
  display: inline-block;
  border: 1px solid #909090;
  border-radius: 16px;
  padding: 0.25em 0.75em;
  font-weight: 700;
  letter-spacing: 0.5px;
}