.privacy-consent {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2000;
  padding: 8px 20px;
  border-top: 1px solid #dce3e9;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 -10px 30px rgba(16, 42, 67, .14);
}

.privacy-consent__dialog {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: min(1180px, 100%);
  margin: auto;
}

.privacy-consent__eyebrow {
  margin-bottom: 2px;
  color: #174ea6;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.privacy-consent__dialog h2 { margin-bottom: 5px; font-size: 1.15rem; }
.privacy-consent__dialog p { max-width: 920px; margin-bottom: 2px; color: #52616e; font-size: .76rem; line-height: 1.35; }
.privacy-consent__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.privacy-consent__links a { color: #155eef; font-size: .75rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.privacy-consent__dialog .button { min-width: 96px; min-height: 38px; padding: 8px 16px; }

.cookie-policy-dialog {
  width: min(590px, calc(100% - 28px));
  max-height: min(680px, calc(100vh - 40px));
  padding: 26px;
  border: 1px solid #dce3e9;
  border-radius: 10px;
  color: #16202a;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
}

.cookie-policy-dialog::backdrop { background: rgba(5, 20, 33, .65); backdrop-filter: blur(3px); }
.cookie-policy-dialog__header { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid #dce3e9; }
.cookie-policy-dialog__header h2 { margin: 0; font-size: 1.45rem; }
.cookie-policy-dialog__close { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; color: #102a43; background: #eef2f5; font-size: 1.5rem; line-height: 1; }
.cookie-policy-dialog__content { max-height: 430px; margin: 18px 0; padding-right: 8px; overflow: auto; }
.cookie-policy-dialog__content h3 { margin: 20px 0 7px; font-size: 1rem; }
.cookie-policy-dialog__content p { margin-bottom: 10px; color: #52616e; font-size: .86rem; }
.cookie-policy-dialog__content a { color: #155eef; font-weight: 700; }

.policy-layout { display: grid; gap: 22px; }
.policy-section { padding: 28px; border: 1px solid #dce3e9; background: #fff; }
.policy-section h2 { margin-bottom: 12px; font-size: 1.45rem; }
.policy-section p:last-child, .policy-section ul:last-child { margin-bottom: 0; }
.policy-section ul { padding-left: 22px; list-style: disc; }
.policy-update { color: #5f6c78; font-size: .85rem; }

@media (max-width: 576px) {
  .privacy-consent { padding: 8px 14px; }
  .privacy-consent__dialog { grid-template-columns: 1fr auto; gap: 8px; }
  .privacy-consent__eyebrow { display: none; }
  .privacy-consent__dialog h2 { font-size: 1rem; }
  .privacy-consent__dialog p { font-size: .76rem; }
  .privacy-consent__links { font-size: .78rem; }
  .privacy-consent__dialog .button { width: auto; min-width: 78px; min-height: 36px; }
  .cookie-policy-dialog { max-height: calc(100vh - 24px); padding: 20px 16px; }
  .cookie-policy-dialog__content { max-height: calc(100vh - 230px); }
  .policy-section { padding: 22px 18px; }
}
