.cookie-banner[hidden], .cookie-toast[hidden] { display: none; }
.cookie-banner { position: fixed; inset: auto 0 0; z-index: 60; background: #fff; color: var(--ink); border-top: 1px solid var(--line); box-shadow: 0 -8px 32px #081f3014; }
.cookie-banner-inner { width: min(1560px, calc(100% - 64px)); margin-inline: auto; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding-block: 22px; }
.cookie-shield { width: 48px; height: 48px; display: grid; place-items: center; background: #f0f3f6; border-radius: 50%; }
.cookie-shield svg { width: 25px; height: 25px; }
.cookie-copy h2 { margin: 0 0 7px; font: 700 19px/1.35 var(--font); letter-spacing: -.3px; }
.cookie-copy p { margin: 0; color: #56636b; font-size: 15px; line-height: 1.6; }
.cookie-policy-link { display: inline-block; padding: 0; margin-top: 3px; color: #46545d; font: inherit; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; align-items: center; gap: 12px; }
.cookie-action { min-height: 48px; padding: 12px 19px; border: 1px solid #cbd4ce; border-radius: 7px; background: #fff; color: var(--ink); font: 600 15px/1.35 var(--font); white-space: nowrap; }
.cookie-action:hover { background: #f0f3eb; }
.cookie-action-primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.cookie-action-primary:hover { background: #174052; }
.cookie-action-configure { border-color: transparent; padding-inline: 8px; text-decoration: underline; text-underline-offset: 4px; }
.cookie-action:focus-visible, .cookie-policy-link:focus-visible { outline: 3px solid var(--lime-dark); outline-offset: 3px; }
body.cookie-banner-open { padding-bottom: var(--cookie-banner-height, 0px); }
body.cookie-banner-open .whatsapp-float { bottom: calc(var(--cookie-banner-height, 0px) + 16px + env(safe-area-inset-bottom)); }
.cookie-dialog { max-width: 720px; width: calc(100% - 32px); max-height: 88svh; }
.cookie-dialog .dialog-content { padding: 36px; }
.cookie-dialog h2 { font-size: 38px; }
.cookie-dialog-intro { margin: 20px 0 24px; font-size: 16px; line-height: 1.75; color: #52616a; }
.cookie-category { display: flex; justify-content: space-between; gap: 20px; padding-block: 18px; border-top: 1px solid var(--line); }
.cookie-category h3 { margin: 0 0 6px; font: 650 16px/1.5 var(--font); }
.cookie-category p { margin: 0; font-size: 14px; line-height: 1.7; color: #52616a; }
.cookie-badge { flex-shrink: 0; align-self: flex-start; background: #eef3e5; color: #355425; border-radius: 20px; padding: 6px 10px; font-size: 12px; font-weight: 650; }
.cookie-badge-unused { background: #f1f3f4; color: #52616a; }
.cookie-current-choice { margin: 7px 0 20px; padding: 13px 15px; border-radius: 5px; background: #f6f7f3; color: #46545d; font-size: 14px; line-height: 1.7; }
.cookie-dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 25px; }
.cookie-policy-details { border-top: 1px solid var(--line); padding-top: 18px; }
.cookie-policy-details summary { cursor: pointer; font-size: 16px; font-weight: 650; padding: 6px 0; }
.cookie-policy-body { font-size: 14px; line-height: 1.8; color: #46545d; }
.cookie-policy-body h3 { color: var(--ink); font-size: 15px; margin: 22px 0 6px; }
.cookie-policy-body p { margin: 8px 0; }
.cookie-policy-body a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 55; width: max-content; max-width: calc(100% - 160px); background: var(--navy); color: #fff; border-radius: 7px; box-shadow: 0 4px 18px #081f3020; padding: 12px 18px; margin: 0; font-size: 14px; line-height: 1.5; text-align: center; }
.footer-bottom { padding-right: 86px; }
@media (max-width: 1000px) {
  .cookie-banner-inner { grid-template-columns: 42px minmax(0, 1fr); gap: 14px 18px; padding-block: 20px; }
  .cookie-shield { width: 42px; height: 42px; }
  .cookie-actions { grid-column: 2; }
}
@media (max-width: 540px) {
  .cookie-banner-inner { width: calc(100% - 36px); grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding-block: 16px max(16px, env(safe-area-inset-bottom)); }
  .cookie-shield { width: 34px; height: 34px; align-self: start; margin-top: 1px; }
  .cookie-shield svg { width: 21px; height: 21px; }
  .cookie-copy h2 { font-size: 17px; margin-bottom: 5px; }
  .cookie-copy p, .cookie-policy-link { font-size: 13px; line-height: 1.6; }
  .cookie-actions { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cookie-action { min-height: 44px; font-size: 13px; padding: 10px 8px; }
  .cookie-dialog .dialog-content { padding: 30px 22px 24px; }
  .cookie-dialog h2 { font-size: 30px; }
  .cookie-dialog-intro { font-size: 14px; margin-block: 17px 20px; }
  .cookie-category { display: block; }
  .cookie-badge { display: inline-block; margin-top: 10px; }
  .cookie-dialog-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cookie-toast { max-width: calc(100% - 105px); left: 18px; transform: none; text-align: left; font-size: 12px; }
}
