/* Окно «Вам есть 18 лет?» (include/age-gate.php): header.php подключает его, пока нет cookie age18.
   Значок .age — из footer.css */

html.age-gate-open {
    overflow: hidden
}

.age-gate {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(26, 17, 13, .72);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px)
}

.age-gate-box {
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
    padding: 36px 28px 28px;
    border: 1px solid rgba(191, 127, 48, .3);
    border-radius: 16px;
    background: #2a1d16;
    font-family: 'Manrope', sans-serif;
    text-align: center;
    color: rgba(255, 255, 255, .7);
    box-shadow: 0 24px 64px rgba(0, 0, 0, .4)
}

.age-gate .age {
    width: 56px;
    height: 56px;
    margin: 0 auto;
    font-size: 16px
}

.age-gate h2 {
    margin: 20px 0 0;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 1.15;
    color: #fff
}

.age-gate p {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.6
}

.age-gate-btns {
    display: flex;
    gap: 12px;
    margin-top: 28px
}

.age-gate button {
    flex: 1;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 999px;
    font: 600 15px/1 'Manrope', sans-serif;
    cursor: pointer;
    transition: background-color .2s, border-color .2s
}

.age-gate .age-gate-yes {
    flex: 1.6;
    border: 1px solid #b8325a;
    background: #b8325a;
    color: #fff
}

.age-gate-no {
    border: 1px solid rgba(255, 255, 255, .25);
    background: none;
    color: rgba(255, 255, 255, .85)
}

/* Подсветка — только при наведении мышью: на телефоне после тапа :hover «залипает» */
@media (hover: hover) {
    .age-gate-yes:hover {
        border-color: #9c2a4d;
        background: #9c2a4d
    }

    .age-gate-no:hover {
        border-color: rgba(255, 255, 255, .5)
    }
}

.age-gate button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px
}
