.cookie-notice[hidden], .cookie-settings [hidden] { display: none !important; }
.cookie-chat-open[hidden], .cookie-settings__category[hidden] { display: none !important; }
.cookie-chat-open { position: fixed; right: 24px; bottom: 80px; z-index: 90; min-height: 44px; padding: 10px 18px; border: 1px solid #7d242b; border-radius: 3px; color: #fff; background: #7d242b; font: 15px/1.4 Roboto, Arial, sans-serif; cursor: pointer; }
@media (max-width: 700px) {
	.cookie-chat-open { position: static; margin: 12px 24px 80px; }
	body:has(#topMenu .sub [data-cookie-chat-menu]:not([hidden])) .cookie-chat-open { display: none; }
}
.cookie-notice, .cookie-settings { box-sizing: border-box; color: #26211f; font: 15px/1.55 Roboto, Arial, sans-serif; }
.cookie-notice { position: fixed; inset: auto 0 0; z-index: 10100; display: flex; align-items: center; gap: 30px; padding: 20px max(24px, calc((100vw - 1440px) / 2)); background: #fff; border-top: 1px solid #ded7d0; box-shadow: 0 -4px 24px #00000012; }
.cookie-notice__text { flex: 1; }
.cookie-notice strong { font-size: 16px; }
.cookie-notice p, .cookie-settings p { margin: 6px 0 0; }
.cookie-notice a, .cookie-settings a { color: #7d242b; text-decoration: underline; }
.cookie-consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-consent__actions button, .cookie-settings__close { cursor: pointer; font: inherit; }
.cookie-consent__actions button { min-height: 44px; padding: 10px 18px; border: 1px solid #39312c; border-radius: 3px; color: #26211f; background: #fff; white-space: nowrap; }
.cookie-consent__actions button:hover { background: #f4f0eb; }
.cookie-consent__actions button:focus-visible, .cookie-settings button:focus-visible, .cookie-settings input:focus-visible, [data-cookie-settings]:focus-visible { outline: 3px solid #7d242b; outline-offset: 3px; }
.cookie-consent__actions .cookie-consent__primary { color: #fff; background: #7d242b; border-color: #7d242b; }
.cookie-consent__actions .cookie-consent__primary:hover { background: #641c22; }
.cookie-settings { width: min(850px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 32px; border: 0; border-radius: 8px; background: #fff; overflow-y: auto; overscroll-behavior: contain; }
.cookie-settings::backdrop { background: #211c19c9; }
.cookie-settings__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.cookie-settings h2 { margin: 0; color: #26211f; font: 38px/1.15 Georgia, 'Times New Roman', serif; }
.cookie-settings__close { flex: 0 0 44px; width: 44px; height: 44px; margin: -8px -12px 0 0; padding: 0; border: 0; background: transparent; color: #26211f; font-size: 30px; line-height: 1; }
.cookie-settings__category { display: grid; grid-template-columns: minmax(0, 1fr) 175px; gap: 24px; padding: 24px 0; border-bottom: 1px solid #ded7d0; }
.cookie-settings__category:first-of-type { margin-top: 12px; }
.cookie-settings h3 { margin: 0; color: #26211f; font: 600 18px/1.4 Roboto, Arial, sans-serif; }
.cookie-settings small { display: block; margin-top: 6px; font-size: 13px; color: #665d57; }
.cookie-settings__category label, .cookie-settings__fixed { align-self: start; display: flex; align-items: center; justify-content: flex-end; gap: 9px; min-height: 44px; line-height: 1.35; }
.cookie-settings__category input { width: 22px; height: 22px; margin: 0; flex: 0 0 22px; accent-color: #7d242b; }
.cookie-settings__actions { justify-content: flex-end; margin-top: 24px; }
.cookie-settings__error { color: #a11922; }
@media (max-width: 1050px) {
	.cookie-notice { align-items: flex-start; flex-direction: column; gap: 14px; padding: 18px 24px; }
}
@media (max-width: 600px) {
	.cookie-notice { max-height: 65dvh; overflow: auto; padding: 16px; font-size: 13px; }
	.cookie-consent__actions { width: 100%; gap: 8px; }
	.cookie-consent__actions button { flex: 1 1 auto; padding: 10px 12px; white-space: normal; }
	.cookie-settings { padding: 20px; width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
	.cookie-settings h2 { font-size: 29px; }
	.cookie-settings__category { grid-template-columns: 1fr; gap: 8px; padding: 18px 0; }
	.cookie-settings__category label, .cookie-settings__fixed { justify-content: flex-start; }
	.cookie-settings__actions { flex-direction: column; }
}
