/* Proteção de conteúdo — site público e loja (deterrente, não infalível) */

body.content-protected {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

body.content-protected input,
body.content-protected textarea,
body.content-protected select,
body.content-protected button,
body.content-protected a,
body.content-protected label,
body.content-protected .form-control {
    -webkit-user-select: auto;
    user-select: auto;
    -webkit-touch-callout: default;
}

body.content-protected img.protected-img,
body.content-protected .img-shield-wrap img {
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
    -webkit-touch-callout: none;
}

body.content-protected .img-shield-wrap {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    line-height: 0;
}

body.content-protected .img-shield-wrap .img-shield {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: transparent;
    cursor: default;
    -webkit-touch-callout: none;
}

body.content-protected .product-image,
body.content-protected .product-detail-gallery,
body.content-protected .release-tile-cover,
body.content-protected .featured-release-visual,
body.content-protected .member-card-photo {
    position: relative;
}

/* Bloqueio de impressão */
@media print {
    body.content-protected,
    body.content-protected * {
        display: none !important;
        visibility: hidden !important;
    }

    body.content-protected::before {
        content: "Impressão não permitida — conteúdo protegido por direitos de autor.";
        display: block !important;
        visibility: visible !important;
        position: fixed;
        inset: 0;
        padding: 48px 24px;
        font-family: Arial, sans-serif;
        font-size: 18px;
        text-align: center;
        color: #000;
        background: #fff;
    }
}

.print-block-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #000;
    color: #fff;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    font-size: 1.125rem;
}

body.content-protected.print-blocked .print-block-overlay {
    display: flex;
}
