@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('fonts/nunito-cyrillic-ext.woff2') format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('fonts/nunito-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('fonts/nunito-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('fonts/nunito-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
    font-family: 'Nunito', 'Segoe UI', Arial, sans-serif;
    font-weight: 500;
    line-height: 1.5;
}

button, input, select, textarea { font-family: inherit; }
h1, h2, h3 { font-family: inherit; font-weight: 800; letter-spacing: -.025em; }
.woocommerce .price, .woocommerce .amount { font-variant-numeric: tabular-nums; }

#erchuud-age {
    position: fixed;
    inset: 0;
    width: min(440px, calc(100% - 32px));
    max-width: none;
    height: fit-content;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 34px 26px 24px;
    overflow-y: auto;
    border: 1px solid #efdfe4;
    border-radius: 23px;
    text-align: center;
    box-shadow: 0 20px 60px #26101824;
}

#erchuud-age::backdrop { background: #2518209e; backdrop-filter: blur(5px); }
#erchuud-age .dialog-close { inset: 10px 10px auto auto; width: 36px; height: 36px; font-size: 27px; }
#erchuud-age .age-mark { width: 76px; height: 76px; border-width: 3px; margin: 0 auto 16px; font-size: 34px; font-weight: 900; padding: 0; letter-spacing: -.065em; }
#age-heading { margin: 0 0 12px; font-size: clamp(23px, 5.7vw, 28px); line-height: 1.2; font-weight: 800; }
#age-description { margin: 0 0 22px; color: #594d54; font-size: 16px; line-height: 1.6; font-weight: 500; text-wrap: pretty; }
#erchuud-age [data-age-confirm] { display: flex; width: 100%; align-items: center; justify-content: center; min-height: 49px; padding: 11px 14px; border-radius: 12px; font-size: 17px; font-weight: 800; }
#erchuud-age [data-age-exit] { display: block; min-height: 43px; margin-top: 8px; padding: 10px; color: #62535b; font-size: 16px; font-weight: 650; }

@media (max-width: 360px) {
    #erchuud-age { padding: 31px 20px 19px; }
    #erchuud-age .age-mark { width: 66px; height: 66px; margin-bottom: 12px; font-size: 30px; }
    #age-description { font-size: 15px; margin-bottom: 17px; }
}
