.cookie-consent [hidden] { display: none !important; }
.cookie-consent { color: #342b25; font: 15px/1.5 system-ui, sans-serif; }
.cookie-consent__banner { position: fixed; z-index: 1000; inset: auto 12px 12px; max-width: 800px; margin: auto; padding: 20px; border: 1px solid #bda88f; border-radius: 8px; background: #fffaf2; box-shadow: 0 10px 40px #21190f36; }
.cookie-consent h2 { margin: 0 0 8px; font-size: 20px; font-weight: 650; }
.cookie-consent p { margin: 0 0 12px; }
.cookie-consent a { text-decoration: underline; }
.cookie-consent__actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.cookie-consent__actions button { min-height: 44px; padding: 8px 10px; border: 1px solid #594638; border-radius: 4px; background: #fffaf2; color: #342b25; cursor: pointer; font: inherit; font-weight: 650; }
.cookie-consent__actions button:hover, .cookie-consent__actions button:focus-visible { background: #eadfce; }
.cookie-consent__overlay { position: fixed; z-index: 1001; inset: 0; display: grid; place-items: center; padding: 12px; background: #21190f99; }
.cookie-consent__panel { width: min(100%, 760px); max-height: min(92vh, 850px); overflow: auto; padding: 22px; border-radius: 10px; background: #fffaf2; }
.cookie-consent__panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.cookie-consent__panel-heading button { min-width: 44px; min-height: 44px; border: 1px solid #bda88f; border-radius: 4px; background: transparent; font-size: 26px; cursor: pointer; }
.cookie-consent__categories { display: grid; gap: 10px; margin: 18px 0; }
.cookie-consent__category { overflow: hidden; border: 1px solid #e4d5c2; border-radius: 12px; background: #f1e7d9; color: #342b25; }
.cookie-consent__category-head { display: flex; align-items: center; gap: 18px; min-height: 78px; padding: 10px 20px; }
.cookie-consent__disclosure { display: flex; flex: 1; align-items: center; gap: 18px; min-width: 0; padding: 4px 0; border: 0; background: transparent; color: inherit; cursor: pointer; text-align: left; font: inherit; }
.cookie-consent__disclosure strong { font-size: 18px; line-height: 1.25; font-weight: 650; }
.cookie-consent__disclosure:focus-visible { outline: 2px solid #795b47; outline-offset: 4px; border-radius: 4px; }
.cookie-consent__chevron { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: #e0cfb9; }
.cookie-consent__chevron svg { width: 20px; height: 20px; }
.cookie-consent__disclosure[aria-expanded='true'] .cookie-consent__chevron svg { transform: rotate(180deg); }
.cookie-consent__switch { position: relative; display: inline-flex; width: 68px; height: 36px; flex: none; align-items: center; padding: 3px; border-radius: 999px; background: #6b594c; cursor: pointer; }
.cookie-consent__switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cookie-consent__switch-mark { display: grid; width: 30px; height: 30px; flex: none; place-items: center; border-radius: 50%; background: #fffaf2; color: #6b594c; font-size: 25px; font-weight: 400; line-height: 1; box-shadow: 0 1px 2px #342b2533; pointer-events: none; }
.cookie-consent__switch input + .cookie-consent__switch-mark::before { content: '×'; }
.cookie-consent__switch:has(input:checked), .cookie-consent__switch--locked { background: #c9b499; }
.cookie-consent__switch input:checked + .cookie-consent__switch-mark { transform: translateX(32px); }
.cookie-consent__switch input:checked + .cookie-consent__switch-mark::before { content: '✓'; }
.cookie-consent__switch input:focus-visible + .cookie-consent__switch-mark { outline: 2px solid #795b47; outline-offset: 3px; }
.cookie-consent__switch.is-mixed .cookie-consent__switch-mark::before { content: '−' !important; }
.cookie-consent__switch--locked { cursor: default; }
.cookie-consent__switch--locked .cookie-consent__switch-mark { margin-left: auto; color: #8b735e; }
.cookie-consent__switch--unavailable { opacity: .68; cursor: not-allowed; }
.cookie-consent__detail { padding: 0 22px 17px 76px; color: #51443a; font-size: 13px; line-height: 1.6; }
.cookie-consent__detail p:last-child { margin-bottom: 0; }
.cookie-consent__detail code { font-size: .95em; }
.cookie-consent__provider { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 11px 0; border-top: 1px solid #d8c7b4; cursor: pointer; }
.cookie-consent__provider strong, .cookie-consent__provider small { display: block; }
.cookie-consent__provider small { color: #625347; }
.cookie-consent__provider input { width: 20px; height: 20px; flex: none; accent-color: #795b47; }
.cookie-consent__panel .cookie-consent__actions { grid-template-columns: 1fr; }
.cookie-consent__error { color: #9f3f2d; }
@media (max-width: 480px) {
    .cookie-consent__banner { padding: 14px; font-size: 13px; }
    .cookie-consent__actions { gap: 5px; }
    .cookie-consent__actions button { padding: 7px 4px; font-size: 13px; }
    .cookie-consent__panel { padding: 16px; }
    .cookie-consent__category-head { min-height: 72px; gap: 9px; padding: 10px 12px; }
    .cookie-consent__disclosure { gap: 10px; }
    .cookie-consent__disclosure strong { font-size: 15px; }
    .cookie-consent__chevron { width: 28px; height: 28px; }
    .cookie-consent__chevron svg { width: 17px; height: 17px; }
    .cookie-consent__switch { width: 56px; height: 31px; }
    .cookie-consent__switch-mark { width: 25px; height: 25px; font-size: 22px; }
    .cookie-consent__switch input:checked + .cookie-consent__switch-mark { transform: translateX(25px); }
    .cookie-consent__detail { padding: 0 14px 16px; }
}
