/* Окно 18+ и баннер cookie (раньше были <style> внутри body — ошибка валидации HTML) */

/* ---------- 18+ ---------- */
#popup-modal .modal-dialog { max-width: 480px; }
#popup-modal .age-card { position: relative; overflow: hidden; background: #fff; border: 1px solid #eadfce; border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,.25); padding: 22px 22px 18px; font-family: Arial, Helvetica, sans-serif; color: #333; text-align: left; }
#popup-modal .age-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, #CF0000, #e2a23a 55%, #5b2a10); }
#popup-modal .age-title { font: bold 18px/1.3 Georgia, "Times New Roman", serif; color: #800020; margin-bottom: 10px; }
#popup-modal .age-card p { margin: 0 0 8px; font-size: 13.5px; line-height: 1.5; font-weight: normal; text-align: left; }
#popup-modal .age-card a { color: #800020; font-weight: bold; text-decoration: underline; }
#popup-modal .age-buttons { display: flex; gap: 8px; margin-top: 14px; }
#popup-modal .age-btn { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; cursor: pointer;
    border-radius: 8px; padding: 10px 8px; font-size: 14px; font-weight: bold; line-height: 1.25;
    background: #800020; border: 1px solid #800020; color: #fff !important; text-decoration: none !important; transition: .15s; }
#popup-modal .age-btn:hover { background: #600018; }
#popup-modal .age-btn-big { display: block; margin-top: 2px; }
@media (max-width: 480px) {
    #popup-modal .modal-dialog { margin: 12px; }
    #popup-modal .age-card { padding: 18px 16px 14px; }
    #popup-modal .age-card p { font-size: 13px; }
}

/* ---------- cookie ---------- */
.ck-banner { position: fixed; right: 20px; bottom: 20px; z-index: 1070; width: 360px; max-width: calc(100% - 24px);
    background: #fff; border: 1px solid #eadfce; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.25);
    padding: 16px 18px; font-family: Arial, Helvetica, sans-serif; color: #333; }
.ck-banner::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, #CF0000, #e2a23a 55%, #5b2a10); }
.ck-title { font: bold 16px/1.3 Georgia, "Times New Roman", serif; color: #800020; margin-bottom: 6px; }
.ck-text p { margin: 0 0 6px; font-size: 12.5px; line-height: 1.45; }
.ck-text a { color: #800020; font-weight: bold; text-decoration: underline; }
.ck-buttons { display: flex; gap: 8px; margin-top: 12px; }
.ck-btn { flex: 1; cursor: pointer; border-radius: 8px; padding: 9px 8px; font-size: 14px; font-weight: bold;
    background: #f8f0e4; border: 1px solid #e2cfb4; color: #800020; transition: .15s; }
.ck-btn:hover { background: #efe1cc; border-color: #d4b994; }
@media (max-width: 767px) {
    .ck-banner { right: 12px; left: 12px; bottom: 12px; width: auto; max-width: none; }
}
