.cookie-panel {
  position: fixed;
  z-index: 120;
  inset: auto 24px 24px;
  max-width: 1152px;
  margin-inline: auto;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
  background: #fcfaf7;
  color: #160d26;
  border: 1px solid #ded2ca;
  border-radius: 16px;
  box-shadow: 0 16px 50px #160d2626, 0 2px 6px #160d2614;
}
.cookie-panel[hidden] { display: none; }
.cookie-copy { flex: 1; }
.cookie-copy h2 { font-size: 19px; letter-spacing: -.025em; line-height: 1.3; margin: 0 0 8px; }
.cookie-copy p { font-size: 14px; line-height: 1.65; margin: 0; max-width: 70ch; }
.cookie-copy a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions button {
  min-height: 46px;
  padding: 11px 17px;
  border: 1px solid #160d26;
  border-radius: 8px;
  background: #160d26;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}
.cookie-actions button:hover { background: #372944; }
.cookie-actions button:active { transform: translateY(1px); }
.cookie-settings {
  position: fixed;
  z-index: 110;
  bottom: 10px;
  left: 12px;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid #ded2ca;
  border-radius: 8px;
  background: #fcfaf7;
  color: #160d26;
  box-shadow: 0 2px 6px #160d2614;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
}
.cookie-settings:hover { background: #f8ebe3; }
.cookie-panel button:focus-visible, .cookie-settings:focus-visible { outline: 3px solid #ad391d; outline-offset: 4px; }
@media (max-width: 850px) {
  .cookie-panel { display: block; padding: 20px; inset: auto 16px 16px; }
  .cookie-actions { margin-top: 16px; }
  .cookie-actions button { flex: 1; }
}
@media (max-width: 420px) {
  .cookie-panel { inset-inline: 10px; padding: 18px; }
  .cookie-actions { gap: 8px; }
  .cookie-actions button { padding-inline: 10px; font-size: 12px; }
}
