/* Cookie consent — RF 152-FZ friendly banner */
.sc-cookie {
  --c-primary: #277A58;
  --c-accent: #20A063;
  --c-text: #0F172A;
  --c-muted: #64748B;
  --c-border: #E2E8F0;
  --c-mint: #F0F9F5;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 10050;
  display: none;
  pointer-events: none;
}
.sc-cookie.is-open {
  display: block;
}
.sc-cookie__panel {
  pointer-events: auto;
  display: grid;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
  padding: 18px 18px 16px;
  border: 1px solid var(--c-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 18px 40px rgba(15, 23, 42, .14);
  backdrop-filter: blur(8px);
}
@media (min-width: 860px) {
  .sc-cookie {
    left: 24px;
    right: auto;
    bottom: 24px;
    width: min(560px, calc(100vw - 48px));
  }
  .sc-cookie__panel {
    margin: 0;
  }
}
.sc-cookie__title {
  margin: 0 0 8px;
  font-family: "Exo 2", "Manrope", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--c-text);
}
.sc-cookie__text {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-muted);
}
.sc-cookie__text a {
  color: var(--c-primary) !important;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sc-cookie__text a:hover {
  color: var(--c-accent) !important;
}
.sc-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sc-cookie__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.sc-cookie__btn--primary {
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
}
.sc-cookie__btn--primary:hover {
  filter: brightness(.96);
}
.sc-cookie__btn--ghost {
  background: #fff;
  color: var(--c-primary);
  border-color: #C9E6D7;
}
.sc-cookie__btn--ghost:hover {
  background: var(--c-mint);
  border-color: var(--c-accent);
}
@media (max-width: 767px) {
  .sc-cookie {
    bottom: 76px; /* над sticky/Jivo */
  }
  .sc-cookie__actions {
    flex-direction: column;
  }
  .sc-cookie__btn {
    width: 100%;
  }
}
