/* Баннер согласия на cookies (components/CookieConsent.astro): в стиле сайта — тёмный, острые углы, красный акцент; кнопки равного веса. */
.cc { position: fixed; left: 24px; bottom: 24px; z-index: 1900; width: min(440px, calc(100% - 32px)); background: #0B0B0A; color: #fff; padding: 24px 24px 20px; border-left: 3px solid #D43C20; box-shadow: 0 30px 80px rgba(0,0,0,.35); font-family: 'Barlow', sans-serif; animation: cc-in .45s cubic-bezier(.2,.8,.2,1); cursor: auto; }
.cc[hidden] { display: none; }
.cc__title { display: block; font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 1.25rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; }
.cc__text { font-size: .9rem; line-height: 1.6; color: rgba(255,255,255,.72); margin: 0 0 18px; }
.cc__text a { color: #fff; text-decoration: underline; text-decoration-color: #D43C20; text-underline-offset: 3px; }
.cc__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cc__btn { font: 700 .66rem/1 'Barlow', sans-serif; letter-spacing: .18em; text-transform: uppercase; padding: 15px 12px; cursor: pointer; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; transition: background .2s, color .2s, border-color .2s; }
.cc__btn:hover { background: #fff; color: #0B0B0A; }
.cc__btn--ok { background: #D43C20; border-color: #D43C20; }
.cc__btn--ok:hover { background: #fff; border-color: #fff; color: #0B0B0A; }
.cc__btns .cc__link { grid-column: 1 / -1; justify-self: center; background: none; border: 0; padding: 8px 4px 0; font: 600 .78rem 'Barlow', sans-serif; color: rgba(255,255,255,.7); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cc__btns .cc__link:hover { color: #fff; }
.cc__btns .cc__link.is-save { grid-column: 1 / -1; justify-self: stretch; text-decoration: none; padding: 15px 12px; border: 1px solid rgba(255,255,255,.4); font: 700 .66rem/1 'Barlow', sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #fff; }
.cc__btns .cc__link.is-save:hover { background: #fff; color: #0B0B0A; }
.cc__prefs { display: grid; gap: 8px; margin: -4px 0 16px; }
.cc__prefs[hidden] { display: none; }
.cc__cat { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; padding: 12px 14px; border: 1px solid rgba(255,255,255,.14); cursor: pointer; }
.cc__cat input { width: 18px; height: 18px; margin-top: 2px; accent-color: #D43C20; }
.cc__cat b { display: block; font-size: .85rem; } .cc__cat small { display: block; font-size: .78rem; line-height: 1.45; color: rgba(255,255,255,.6); }
.cc__cat i { font-style: normal; font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); white-space: nowrap; margin-top: 3px; }
.cc__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.legal-links button[data-consent-open] { background: none; border: 0; padding: 0; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; white-space: nowrap; }
.legal-links button[data-consent-open]:hover { color: #D43C20; }
@keyframes cc-in { from { opacity: 0; transform: translateY(20px); } }
@media (max-width: 640px) { .cc { left: 16px; bottom: 16px; padding: 20px 18px 16px; } }
