/* Scoped legal and consent surfaces; existing header, account and product rules are unchanged. */
.legal-page h2 { font:600 1.08em/1.3 var(--script-font,"Cormorant Garamond"),Georgia,serif; margin:1.6em 0 .5em; }
.legal-page p { margin:0 0 1em; }
.legal-page bdi { unicode-bidi:isolate; overflow-wrap:anywhere; }
.legal-page .brand-name { font-weight:700; }
.legal-draft-notice { padding:12px; border-inline-start:3px solid #4b1e3f; background:#f1e8ed; }
.site-footer .legal-nav { margin-top:12px; gap:8px 16px; }
.cookie-settings-link { background:transparent; border:0; color:inherit; font:inherit; text-decoration:underline; padding:4px 8px; min-height:44px; cursor:pointer; max-width:100%; overflow-wrap:anywhere; }
.cookie-settings-link:focus-visible { outline:2px solid currentColor; outline-offset:3px; }
.consent-banner,.consent-dialog { box-sizing:border-box; color:var(--accent,#4b1e3f); background:#faf7f6; font:400 21px/1.45 var(--script-font,"Cormorant Garamond"),Georgia,serif; overflow-wrap:anywhere; }
.consent-banner { max-width:1080px; margin:24px auto; padding:20px; border:1px solid #d8cfd6; border-radius:8px; }
.consent-banner[hidden] { display:none; }
.consent-banner h2,.consent-dialog h2 { font:600 1.25em/1.25 var(--script-font,"Cormorant Garamond"),Georgia,serif; margin:0 0 12px; }
.consent-banner p,.consent-dialog p { margin:0 0 16px; }
.consent-actions { display:flex; gap:12px; flex-wrap:wrap; }
.consent-actions button { flex:1 1 150px; min-height:44px; min-width:0; padding:10px 14px; border:1px solid #4b1e3f; border-radius:5px; background:#f5eef2; color:#4b1e3f; font:600 20px/1.3 var(--script-font,"Cormorant Garamond"),Georgia,serif; cursor:pointer; overflow-wrap:anywhere; }
.consent-actions button:focus-visible,.consent-option input:focus-visible { outline:3px solid #4b1e3f; outline-offset:3px; }
.consent-dialog { width:min(680px,calc(100% - 24px)); max-height:calc(100dvh - 32px); border:1px solid #d8cfd6; border-radius:8px; padding:24px; }
.consent-dialog::backdrop { background:#32132966; }
.consent-option { display:flex; gap:12px; align-items:flex-start; margin:16px 0; text-align:start; }
.consent-option input { appearance:auto; width:20px; height:20px; flex:0 0 20px; margin:5px 0 0; accent-color:#4b1e3f; }
.consent-option > span { min-width:0; }
.consent-help { display:block; font-weight:400; }
@media(max-width:375px){.consent-banner{margin:16px 12px;padding:14px;}.consent-dialog{padding:16px;}}
.consent-storage-notice { max-width:1080px; margin:16px auto; padding:0 16px; overflow-wrap:anywhere; }

.legal-operator-link { display:inline-block; margin-block:0 1em; min-height:44px; color:inherit; }

/* v79: presentation only; consent state, TTL and purpose flags are unchanged. */
.consent-banner { position:fixed; inset:auto 0 0; z-index:1000; width:100%; max-width:none; margin:0; border:0; border-top:1px solid #d8cfd6; border-radius:12px 12px 0 0; padding:20px max(16px,calc((100vw - 1080px)/2)) calc(20px + env(safe-area-inset-bottom,0px)); max-height:calc(100vh - 16px); max-height:calc(100dvh - 16px); overflow:auto; overscroll-behavior:contain; box-shadow:0 -7px 24px #4b1e3f20; }
.consent-overlay-open { overflow:hidden; }
.consent-dialog { overscroll-behavior:contain; padding-bottom:calc(24px + env(safe-area-inset-bottom,0px)); }
@media(prefers-reduced-motion:no-preference){.consent-banner:not([hidden]){animation:consent-slide-up .18s ease-out;}@keyframes consent-slide-up{from{transform:translateY(24px);opacity:0}to{transform:translateY(0);opacity:1}}}

/* Programmatic sheet focus; actionable controls retain their focus outlines. */
.consent-banner:focus { outline:none; }
