/* ==========================================================================
   CAMADA DE PROTEÇÃO ANTI-CÓPIA E IMPRESSÃO — ARMAZÉM BERTOLOTTI
   Não interfere na navegação, botões ou preenchimento de formulários.
   ========================================================================== */

body,
body * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input,
textarea,
select,
[contenteditable="true"] {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

img {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}

/* Imagens decorativas/editoriais não clicáveis */
img:not(.is-clickable-media) {
  pointer-events: none;
}

/* Bloqueio de impressão e salvamento em PDF */
@media print {
  html,
  body {
    display: none !important;
    visibility: hidden !important;
  }
}

/* Tela de bloqueio exibida caso o DevTools seja detectado aberto */
#ab-shield-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  background-color: #18271F;
  color: #F5F0E6;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  font-family: 'Manrope', -apple-system, sans-serif;
}

#ab-shield-overlay.is-active {
  display: flex;
}

#ab-shield-overlay .ab-shield-card {
  max-width: 480px;
  border: 1px solid rgba(182, 154, 98, 0.45);
  padding: 2.5rem 2rem;
  background: rgba(23, 25, 21, 0.65);
}

#ab-shield-overlay h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  color: #CEB582;
  margin-bottom: 0.75rem;
}

#ab-shield-overlay p {
  font-size: 0.95rem;
  color: #E8DDC7;
  line-height: 1.6;
}
