.cookie-consent[hidden], .cookie-settings-link[hidden] { display: none !important; }
.cookie-consent { position: fixed; z-index: 10000; inset: auto 20px 20px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 14px 24px; max-width: 1100px; max-height: 85vh; overflow-y: auto; margin-inline: auto; padding: 18px 22px; border: 1px solid #dccdc2; border-radius: 8px; background: #fffdfb; color: #2b2724; box-shadow: 0 8px 40px #2b272426; font: 13px/1.5 system-ui, sans-serif; }
.cookie-consent h2 { margin: 0 0 4px; font: 21px/1.2 Georgia, serif; color: #2b2724; }
.cookie-consent, .cookie-consent h2, .cookie-consent p a, .cookie-consent .cookie-preferences small, .cookie-consent .cookie-preferences em { color: var(--cookie-text, #2b2724); }
.cookie-consent > div { min-width: 0; overflow-wrap: anywhere; }
.cookie-consent p { margin: 0; }
.cookie-consent a { color: #765039; text-decoration: underline; }
.cookie-consent__actions { display: flex; gap: 8px; }
.cookie-consent__actions button { max-width: 170px; overflow-wrap: anywhere; }
.cookie-consent button { min-height: 44px; padding: 10px 14px; border: 1px solid var(--cookie-button, #c9956f); border-radius: 4px; background: var(--cookie-button, #c9956f); color: var(--cookie-button-text, #271d16); font: 650 13px/1.4 system-ui, sans-serif; cursor: pointer; }
.cookie-consent button:hover { box-shadow: inset 0 0 0 2px var(--cookie-button-text, #271d16); }
.cookie-preferences[hidden] { display: none !important; }
.cookie-preferences { grid-column: 1 / -1; display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid #dccdc2; }
.cookie-preferences label { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.cookie-preferences input { width: 19px; height: 19px; flex: 0 0 19px; accent-color: #9e6849; }
.cookie-preferences strong, .cookie-preferences small { display: block; }
.cookie-preferences small { color: #70635b; }
.cookie-preferences em { margin-left: auto; font-size: 11px; font-style: normal; color: #70635b; }
.cookie-preferences > button { justify-self: end; }
.cookie-consent button:focus-visible, .cookie-settings-link:focus-visible { outline: 2px solid #765039; outline-offset: 3px; }
.site-footer .cookie-settings-link { display: block; margin: 7px 0; padding: 0; border: 0; background: none; color: rgba(255,255,255,.65); font: inherit; font-size: .82rem; text-align: left; text-decoration: none; cursor: pointer; }
.site-footer .cookie-settings-link:hover { color: #fff; }
@media (max-width: 850px) { .cookie-consent { inset: auto 12px 12px; padding: 16px; grid-template-columns: 1fr; gap: 12px; } .cookie-consent__actions { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); } .cookie-consent button { padding-inline: 8px; font-size: 12px; } }
