/* MORI dress for the cookie notice and its settings panel (loaded after cookie-consent.css). */
.cookie-consent {
    left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    max-width: 1120px; margin: 0 auto; padding: 22px 26px; border: 0; border-radius: 16px;
    background: rgba(22, 41, 28, .97); color: #F4F0E7; box-shadow: 0 24px 60px rgba(14, 28, 18, .35);
    font-family: 'Inter', system-ui, sans-serif;
    animation: moriCookieIn .7s .4s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes moriCookieIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.cookie-consent__title { font-family: 'Playfair Display', serif; font-weight: 400; font-size: 20px; color: #F6F2E8; }
.cookie-consent__text { font-size: 13px; line-height: 1.6; color: rgba(244, 240, 231, .78); }
.cookie-consent__links { font-size: 12px; }
.cookie-consent__links a { color: #F4F0E7; text-underline-offset: 3px; text-decoration-color: rgba(244, 240, 231, .45); }
.cookie-consent__btn {
    min-height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(244, 240, 231, .4); color: #F4F0E7;
    font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: background .25s, color .25s, border-color .25s;
}
.cookie-consent__btn:hover { background: rgba(244, 240, 231, .1); border-color: rgba(244, 240, 231, .7); }
.cookie-consent__btn--primary { background: #F4F0E7; color: #1D3A2A; border-color: #F4F0E7; }
.cookie-consent__btn--primary:hover { background: #fff; color: #1D3A2A; }

.cookie-consent-modal { background: rgba(14, 28, 18, .5); }
.cookie-consent-modal__panel {
    border-radius: 18px; background: #FAF7F1; color: #2B2B27; padding: 28px 28px 24px; font-family: 'Inter', system-ui, sans-serif;
    box-shadow: 0 30px 80px rgba(14, 28, 18, .28);
}
.cookie-consent-modal__title { font-family: 'Playfair Display', serif; font-weight: 400; font-size: 26px; color: #1D3A2A; }
.cookie-consent-modal__intro { color: #6A675F; font-size: 13.5px; }
.cookie-consent-category { border-top-color: #DDD6C9; }
.cookie-consent-category__name { color: #1D3A2A; }
.cookie-consent-category__desc { color: #6A675F; }
.cookie-consent-category__badge { color: #1D3A2A; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.cookie-consent-category input[type="checkbox"] { accent-color: #1F3E2C; width: 18px; height: 18px; }
.cookie-consent-modal .cookie-consent__btn { color: #1D3A2A; border-color: #1D3A2A; }
.cookie-consent-modal .cookie-consent__btn:hover { background: #1F3E2C; color: #F4F0E7; }
.cookie-consent-modal .cookie-consent__btn--primary { background: #1F3E2C; color: #F4F0E7; border-color: #1F3E2C; }
.cookie-consent-modal .cookie-consent__btn--primary:hover { background: #163020; }

/* phones: a compact card, buttons in one tidy grid */
@media (max-width: 575.98px) {
    .cookie-consent { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); padding: 18px 18px 16px; border-radius: 14px; }
    .cookie-consent__inner { gap: 14px; }
    .cookie-consent__title { font-size: 18px; }
    .cookie-consent__text { font-size: 12.5px; line-height: 1.55; }
    .cookie-consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .cookie-consent__btn { min-height: 40px; padding: 0 10px; font-size: 10.5px; letter-spacing: .1em; }
    .cookie-consent__btn--primary { grid-column: 1 / -1; }
    .cookie-consent-modal__panel { padding: 22px 18px 18px; }
}
@media (prefers-reduced-motion: reduce) { .cookie-consent { animation: none; } }
