/* =============================================================================
   Releone Apperelle — design protection CSS
   ============================================================================= */

/* No text selection on Apperelle product surfaces.
   Keep selection on inputs, textareas, the address form, etc. */
body.apperelle-protected,
body.apperelle-protected main,
body.apperelle-protected section,
body.apperelle-protected article,
body.apperelle-protected figure,
body.apperelle-protected .hero,
body.apperelle-protected .tile,
body.apperelle-protected .tile-grid,
body.apperelle-protected .hero-img,
body.apperelle-protected .video-section {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;   /* disables iOS "Save Image" long-press */
  -webkit-tap-highlight-color: transparent;
}

/* Allow selection back where it matters (forms, prices the user might want to copy) */
body.apperelle-protected input,
body.apperelle-protected textarea,
body.apperelle-protected select,
body.apperelle-protected [contenteditable="true"],
body.apperelle-protected .selectable {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* Block image drag-and-drop save */
body.apperelle-protected img,
body.apperelle-protected video {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: none;            /* prevents drag, also blocks right-click on the image itself */
}

/* Re-enable pointer events on interactive wrappers so the tile link still works */
body.apperelle-protected .tile,
body.apperelle-protected .tile-img,
body.apperelle-protected .hero-img,
body.apperelle-protected figure,
body.apperelle-protected .fhero-art {
  pointer-events: auto;
}

/* Print-time blur — anyone printing the page gets the protected stamp + blurred imagery */
@media print {
  body.apperelle-protected img,
  body.apperelle-protected video {
    filter: blur(40px) saturate(0);
  }
  body.apperelle-protected::before {
    content: "PROTECTED · APPERELLE BY RELEONE · NOT FOR REPRODUCTION";
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    font-family: 'Hoefler Text', Didot, Garamond, Georgia, serif;
    font-size: 48px;
    color: rgba(212, 185, 136, 0.45);
    pointer-events: none;
    z-index: 9999;
    letter-spacing: 0.12em;
    text-align: center;
    width: 100vw;
  }
}

/* The branded notice that JS shows on right-click attempts */
.releone-protection-notice {
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 11, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  font-family: 'Hoefler Text', Didot, Garamond, Georgia, serif;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.releone-protection-notice.open {
  display: flex;
  opacity: 1;
}
.releone-protection-notice .rpn-card {
  max-width: 540px;
  padding: 48px;
  border: 1px solid rgba(212, 185, 136, 0.32);
  border-radius: 2px;
  background: #0F1518;
  text-align: center;
  color: #F4EFE6;
}
.releone-protection-notice .rpn-mark {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #D4B988;
  margin-bottom: 18px;
}
.releone-protection-notice h3 {
  font-family: 'Hoefler Text', Didot, Garamond, Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 18px;
  letter-spacing: -0.005em;
}
.releone-protection-notice p {
  font-family: 'Hoefler Text', Didot, Garamond, Georgia, serif;
  font-style: italic;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(244, 239, 230, 0.78);
  margin: 0 0 28px;
}
.releone-protection-notice a {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid #D4B988;
  color: #D4B988;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.2s ease;
}
.releone-protection-notice a:hover {
  background: #D4B988;
  color: #06090B;
}
.releone-protection-notice .rpn-close {
  display: block;
  margin: 18px auto 0;
  color: rgba(244, 239, 230, 0.5);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  background: none;
  border: 0;
}
.releone-protection-notice .rpn-close:hover {
  color: #F4EFE6;
}
