/* Explain: Base reset, typography, focus, and smooth page defaults. */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    color: var(--text-color);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(217, 167, 160, 0.18), transparent 34rem),
        linear-gradient(180deg, var(--background-color) 0%, #f7f0e7 100%);
    color: var(--text-color);
    font-family: var(--font-body);
    letter-spacing: 0.01em;
}

body.has-mobile-sticky {
    padding-bottom: 0;
}

h1,
h2,
h3,
.brand-mark {
    font-family: var(--font-heading);
    letter-spacing: -0.035em;
}

img {
    max-width: 100%;
    display: block;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

:focus-visible {
    outline: 2px solid var(--rose-nude-color);
    outline-offset: 4px;
}

::selection {
    background: var(--champagne-color);
    color: var(--espresso-color);
}

/* הגנת תוכן: ביטול תפריט לחיצה ארוכה והסתרה בזמן ניסיון צילום/הדפסה */
.watermarked-image,
.gallery-thumb,
.product-card {
    -webkit-touch-callout: none;
}

body.is-capture-guard main,
body.is-capture-guard header,
body.is-capture-guard footer {
    filter: blur(22px);
    transition: filter 0.12s ease;
}

@media print {
    body * {
        visibility: hidden !important;
    }

    body::after {
        content: 'התוכן מוגן בזכויות יוצרים © פופגן מתנות';
        position: fixed;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        visibility: visible !important;
        padding: 2rem;
        color: #2B6777;
        font-size: 1.6rem;
        font-weight: 700;
        text-align: center;
    }
}

@media (max-width: 767px) {
    body.has-mobile-sticky {
        padding-bottom: 96px;
    }
    body.has-mobile-sticky .whatsapp-float {
        bottom: 84px !important;
    }
}
