.cookie-banner[hidden],.cookie-dialog:not([open]){display:none}
.cookie-banner{position:fixed;z-index:100;bottom:max(20px,env(safe-area-inset-bottom));left:20px;right:20px;width:min(1050px,calc(100% - 40px));margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:26px;align-items:center;padding:26px 28px;background:#fffcf8;border:1px solid #ddccd1;border-radius:20px;box-shadow:0 10px 45px #38242d24;color:var(--ink);max-height:calc(100dvh - 40px);overflow:auto}
.cookie-copy{display:flex;align-items:flex-start;gap:18px;min-width:0}
.cookie-mark{color:var(--accent);font-size:26px;line-height:1.2;padding-top:5px}
.cookie-copy h2{font-family:Georgia,serif;font-size:24px;font-weight:400;line-height:1.25;margin:0 0 9px}
.cookie-copy p{font-size:13px;line-height:1.65;margin:0 0 8px;color:#625560;max-width:620px}
.cookie-copy a{font-size:12px;text-decoration:underline;text-underline-offset:3px}
.cookie-actions{display:grid;grid-template-columns:1fr;gap:8px;min-width:205px}
.cookie-actions .button{font-size:13px;padding:11px 16px;min-height:44px;border-radius:9px;border:1px solid #ac2954;background:#fff9fc;color:#942149;box-shadow:none;white-space:normal;text-align:center;line-height:1.4}
.cookie-actions .button:hover{background:#f8e4ec}
.cookie-actions .text-button{font-size:12px;min-height:36px;text-decoration:underline;text-underline-offset:3px}
.cookie-dialog{color:var(--ink);width:min(560px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:30px;border:1px solid #e0cfd3;border-radius:22px;background:#fffcf9;box-shadow:0 20px 70px #34252b26;overflow:auto}
.cookie-dialog::backdrop{background:#35253066;backdrop-filter:blur(3px)}
.consent-dialog-open{overflow:hidden}
.cookie-dialog-heading{display:flex;align-items:flex-start;gap:16px;justify-content:space-between}
.cookie-dialog-heading>div{min-width:0}
.cookie-dialog .eyebrow{font-size:10px;color:var(--accent);letter-spacing:1.4px;margin:0 0 9px}
.cookie-dialog h2{font-family:Georgia,serif;font-size:31px;line-height:1.2;font-weight:400;margin:0}
.cookie-dialog>p{font-size:13px;line-height:1.7;color:var(--muted)}
.cookie-close{border:1px solid var(--line);background:#fff;width:44px;height:44px;flex-shrink:0;border-radius:50%;font-size:25px;line-height:1;color:var(--accent);cursor:pointer}
.consent-option{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:20px 0;border-top:1px solid var(--line);margin:0}
.consent-option>span:first-child,.consent-option>div{min-width:0;flex:1}
.consent-option strong{display:block;font-size:14px;font-weight:600;line-height:1.4;margin:0 0 6px}
.consent-option p,.consent-option>span>span{display:block;font-size:12px;color:var(--muted);line-height:1.65;margin:0}
.consent-option .consent-required{font-size:10px;font-weight:600;color:#675451;max-width:72px;text-align:center}
.consent-option input[type=checkbox]{appearance:auto;width:23px;height:23px;min-width:23px;accent-color:var(--accent);margin:10px 0;cursor:pointer}
.cookie-dialog .field-note{font-size:11px}
.cookie-dialog a{text-decoration:underline;text-underline-offset:3px}
.cookie-dialog-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}
.cookie-dialog-actions .button{font-size:13px;border-radius:9px;padding:13px 16px;min-height:46px;white-space:normal;text-align:center}
@media(max-width:780px){
 .cookie-banner{grid-template-columns:minmax(0,1fr);width:calc(100% - 24px);left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));padding:21px;gap:16px;border-radius:16px;max-height:calc(100dvh - 24px)}
 .cookie-copy{gap:12px}
 .cookie-copy h2{font-size:22px}
 .cookie-mark{font-size:22px}
 .cookie-actions{grid-template-columns:1fr 1fr;min-width:0;gap:8px}
 .cookie-actions .text-button{grid-column:1/-1;min-height:38px}
 .cookie-actions .button{font-size:12px;padding:10px;min-height:48px}
 .cookie-dialog{padding:24px 20px;border-radius:18px}
 .cookie-dialog h2{font-size:28px}
 .cookie-dialog-actions{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:360px){
 .cookie-banner{padding:18px 16px}
 .cookie-copy{gap:8px}
 .cookie-copy h2{font-size:20px}
 .cookie-copy p{font-size:12px}
 .cookie-actions .button{font-size:11px}
}
