.cookie-banner {
  position:fixed;
  z-index:80;
  right:16px;
  bottom:16px;
  left:16px;
  width:min(980px,calc(100% - 32px));
  margin:auto;
  padding:18px 20px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:18px;
  align-items:center;
  color:#101317;
  background:rgba(255,255,255,.94);
  border:1px solid rgba(7,24,46,.12);
  border-radius:20px;
  box-shadow:0 20px 60px rgba(7,24,46,.18);
  backdrop-filter:blur(18px) saturate(150%);
}
.cookie-banner[hidden] { display:none; }
.cookie-copy strong { display:block; margin-bottom:5px; color:#07182e; font-size:16px; }
.cookie-copy p { margin:0; max-width:660px; color:#626a74; font-size:14px; line-height:1.45; }
.cookie-copy a { color:#07182e; text-decoration:underline; text-underline-offset:3px; }
.cookie-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.cookie-button {
  min-height:42px;
  padding:0 16px;
  border:1px solid rgba(7,24,46,.18);
  border-radius:999px;
  cursor:pointer;
  color:#07182e;
  background:#fff;
  font:650 14px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
}
.cookie-button-primary { color:#fff; border-color:#07182e; background:#07182e; }
.cookie-button-text { padding-inline:10px; border-color:transparent; background:transparent; }
.cookie-dialog {
  width:min(620px,calc(100% - 28px));
  max-height:min(760px,calc(100svh - 28px));
  padding:0;
  overflow:auto;
  color:#101317;
  border:1px solid rgba(7,24,46,.12);
  border-radius:24px;
  background:#f5f5f7;
  box-shadow:0 30px 100px rgba(7,24,46,.28);
}
.cookie-dialog::backdrop { background:rgba(4,19,38,.38); backdrop-filter:blur(4px); }
.cookie-dialog-inner { padding:28px; }
.cookie-dialog-head { display:flex; justify-content:space-between; gap:20px; align-items:flex-start; }
.cookie-dialog h2 { margin:0 0 8px; color:#07182e; font-size:28px; line-height:1.05; letter-spacing:-.04em; }
.cookie-dialog-intro { margin:0 0 24px; color:#626a74; font-size:15px; line-height:1.5; }
.cookie-close { width:38px; height:38px; flex:0 0 auto; border:0; border-radius:50%; cursor:pointer; color:#07182e; background:#fff; font-size:23px; line-height:1; }
.cookie-options { display:grid; gap:10px; }
.cookie-option { padding:16px; display:grid; grid-template-columns:1fr auto; gap:16px; border:1px solid rgba(7,24,46,.1); border-radius:16px; background:#fff; }
.cookie-option strong { display:block; margin-bottom:5px; color:#07182e; font-size:15px; }
.cookie-option small { display:block; color:#626a74; font-size:13px; line-height:1.42; }
.cookie-option input { width:20px; height:20px; margin:2px 0 0; accent-color:#07182e; }
.cookie-dialog-actions { margin-top:22px; display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.cookie-dialog-note { margin:18px 0 0; color:#626a74; font-size:12px; line-height:1.45; }
.cookie-dialog-note a { color:#07182e; text-decoration:underline; text-underline-offset:3px; }
.cookie-settings-link { padding:0; border:0; cursor:pointer; color:inherit; background:transparent; font:inherit; }
.cookie-button:focus-visible,.cookie-close:focus-visible,.cookie-settings-link:focus-visible { outline:3px solid rgba(231,43,69,.35); outline-offset:3px; }
@media (max-width:760px) {
  .cookie-banner { grid-template-columns:1fr; gap:13px; padding:16px; }
  .cookie-actions { justify-content:flex-start; }
  .cookie-button { min-height:40px; padding-inline:13px; font-size:13px; }
}
@media (max-width:440px) {
  .cookie-banner { right:8px; bottom:8px; left:8px; width:calc(100% - 16px); border-radius:17px; }
  .cookie-copy p { font-size:13px; }
  .cookie-actions { display:grid; grid-template-columns:1fr 1fr; }
  .cookie-button { width:100%; }
  .cookie-button-text { grid-column:1/-1; }
  .cookie-dialog-inner { padding:22px 18px; }
  .cookie-dialog-actions { display:grid; grid-template-columns:1fr; }
}
@media (prefers-reduced-motion:reduce) {
  .cookie-dialog::backdrop { backdrop-filter:none; }
}

/* Consent controls stay visible above product effects. */
.cookie-banner{z-index:2147483646;background:#fff;border:2px solid #193146;box-shadow:0 8px 40px #0005;padding:22px 24px;bottom:72px}
.cookie-copy strong{font-size:19px}.cookie-copy p{color:#344b5c;font-size:15px}
.cookie-button{min-height:46px}.cookie-dialog{z-index:2147483647}
.cookie-settings-fixed{position:fixed;left:16px;bottom:16px;z-index:2147483645;min-height:42px;padding:10px 16px;background:#fff;color:#193146;border:2px solid #193146;border-radius:8px;box-shadow:0 3px 15px #0003;font:600 13px/1.3 system-ui,sans-serif;cursor:pointer}
.cookie-settings-fixed:focus-visible{outline:3px solid #b33e46;outline-offset:3px}
@media(max-width:440px){.cookie-banner{bottom:70px;padding:16px}.cookie-settings-fixed{left:8px;bottom:12px}}
