.cookie-consent {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: none;
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #e5e3dd;
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
  padding: 18px;
  gap: 18px;
  align-items: flex-start;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.cookie-consent.is-open { display: flex; }
.cookie-consent__text { flex: 1; min-width: 220px; font-size: 14px; line-height: 1.5; }
.cookie-consent__text strong { display: block; margin-bottom: 4px; font-size: 15px; }
.cookie-consent__text a { color: #4f1e95; font-weight: 650; text-decoration: none; }
.cookie-consent__text a:hover { text-decoration: underline; }
.cookie-consent__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.cookie-consent button {
  border: 1px solid #d0cec8;
  background: #faf9f6;
  color: #1a1a1a;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.cookie-consent button:hover { border-color: #1a1a1a; }
.cookie-consent button[data-cookie-action="accept-all"] { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.cookie-panel {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  background: rgba(0,0,0,.36);
  padding: 20px;
  align-items: center;
  justify-content: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.cookie-panel.is-open { display: flex; }
.cookie-panel__box {
  width: min(560px, 100%);
  background: #fff;
  color: #1a1a1a;
  border-radius: 14px;
  border: 1px solid #e5e3dd;
  padding: 24px;
  box-shadow: 0 22px 80px rgba(0,0,0,.22);
}
.cookie-panel h2 { font-size: 24px; line-height: 1.15; margin: 0 0 10px; }
.cookie-panel p { color: #626262; margin: 0 0 16px; line-height: 1.55; }
.cookie-option { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid #e5e3dd; }
.cookie-option strong { display: block; margin-bottom: 3px; }
.cookie-option span { color: #626262; font-size: 13px; line-height: 1.45; }
.cookie-option input { width: 20px; height: 20px; accent-color: #6a29c3; }
.cookie-panel__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 18px; }
.cookie-panel button { border: 1px solid #d0cec8; background: #faf9f6; color: #1a1a1a; border-radius: 8px; padding: 10px 12px; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
.cookie-panel button[data-cookie-action="save"] { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.cookie-settings-link { cursor: pointer; }
@media (max-width: 720px) {
  .cookie-consent { flex-direction: column; left: 12px; right: 12px; bottom: 12px; }
  .cookie-consent__actions { width: 100%; justify-content: stretch; }
  .cookie-consent button { flex: 1; }
}
