/* KRM: баннер согласия cookie. Подключать после style.css */
.krm-cookie[hidden] { display: none !important; }
.krm-cookie {
  position: fixed;
  z-index: 9000;
  left: 40px;
  bottom: 32px;
  width: min(440px, calc(100vw - 80px));
  padding: 26px;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  background: #ffffff;
  color: var(--krm-black, #050505);
  box-shadow: 0 12px 40px rgba(0,0,0,.14);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 300;
}
.krm-cookie__title {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
}
.krm-cookie__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.krm-cookie__text a { text-decoration: underline; text-underline-offset: 3px; }
.krm-cookie__text a:hover { opacity: .7; }
.krm-cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.krm-cookie__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #050505;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.krm-cookie__button--accept { background: #050505; color: #fff; }
.krm-cookie__button--accept:hover { background: #333; }
.krm-cookie__button--reject { background: #fff; color: #050505; }
.krm-cookie__button--reject:hover { background: #ededed; }
.krm-cookie__button:focus-visible { outline: 2px solid #050505; outline-offset: 3px; }
@media (max-width: 1440px) { .krm-cookie { left: 32px; bottom: 24px; } }
@media (max-width: 1024px) { .krm-cookie { left: 24px; bottom: 24px; } }
@media (max-width: 767px) {
  .krm-cookie { left: 16px; bottom: 16px; width: calc(100vw - 32px); padding: 20px; border-radius: 14px; }
  .krm-cookie__title { font-size: 19px; }
  .krm-cookie__text { font-size: 12px; }
  .krm-cookie__actions { gap: 10px; margin-top: 18px; }
  .krm-cookie__button { font-size: 13px; min-height: 46px; }
}
@media (max-width: 360px) { .krm-cookie__actions { grid-template-columns: 1fr; } }
