.analytics-consent{position:fixed;inset-inline:16px;bottom:calc(48px + env(safe-area-inset-bottom,0px));z-index:10000;box-sizing:border-box;width:calc(100% - 32px);max-width:440px;margin-inline:auto;padding:20px;background:#fffaf7;border:1px solid #e7deda;border-radius:18px;box-shadow:0 4px 18px rgba(61,53,50,.07);color:#3d3532;display:grid;grid-template-columns:1fr 1fr;gap:12px;font-family:var(--site-font-en,'Manrope'),sans-serif;text-align:start;max-height:calc(100dvh - 80px);overflow:auto}
html[lang="ar"] .analytics-consent{font-family:Alexandria,sans-serif}
.analytics-consent[hidden]{display:none}
.analytics-consent h2{grid-column:1/-1;margin:0;font-family:inherit;font-size:15px;font-weight:600;line-height:1.6;color:#3d3532;letter-spacing:normal}
.analytics-consent p{grid-column:1/-1;margin:0 0 2px;font-size:12px;font-weight:400;line-height:1.85;color:#6f625d}
.analytics-consent button{box-sizing:border-box;width:100%;min-height:44px;margin:0;padding:10px 16px;border:1px solid #d7c8c3;border-radius:10px;font-family:inherit;font-size:13px;font-weight:500;line-height:1.5;cursor:pointer;background:#fffaf7;color:#5a4e49;-webkit-text-fill-color:currentColor}
.analytics-consent .analytics-consent-accept{background:#81132c;border-color:#81132c;color:#fff}
.analytics-consent a,.analytics-consent a:link,.analytics-consent a:visited,.analytics-consent a:hover,.analytics-consent a:active{grid-column:1/-1;justify-self:center;font-size:11px;line-height:1.6;color:#6f625d;-webkit-text-fill-color:currentColor;text-decoration:underline;text-underline-offset:3px}
.analytics-preferences{position:fixed;bottom:calc(8px + env(safe-area-inset-bottom,0px));inset-inline-end:12px;z-index:9999;font:inherit;font-size:11px;color:#81132c;background:#fffaf7;border:1px solid #dac8c5;border-radius:9px;padding:8px 12px;cursor:pointer;-webkit-text-fill-color:currentColor}
.analytics-consent button:focus-visible,.analytics-consent a:focus-visible,.analytics-preferences:focus-visible{outline:2px solid #81132c;outline-offset:3px}
@media(max-width:480px){.analytics-consent{inset-inline:12px;width:calc(100% - 24px);padding:16px;gap:10px;border-radius:16px}}

/* On purchase/customization screens, stay in document flow so no action is covered. */
.analytics-consent.analytics-consent-inline{position:relative;inset:auto;margin:20px auto 60px;max-height:none;overflow:visible}
