/* === SPM COOKIE CONSENT START === */
.spm-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  transform: translateY(120%);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}

.spm-cookie.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.spm-cookie__card {
  pointer-events: auto;
  width: 100%;
  max-width: 920px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  border-radius: 14px;
  background: rgba(24, 24, 27, .96);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .28);
  color: #f2f2f3;
  font-family: 'Golos Text', Arial, sans-serif;
}

.spm-cookie__icon {
  flex: none;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}

.spm-cookie__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #f2f2f3;
  stroke-width: 1.7;
}

.spm-cookie__text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #d6d6d9;
}

.spm-cookie__text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.spm-cookie__text a:hover {
  color: #ef3340;
}

.spm-cookie__actions {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.spm-cookie__btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  padding: 11px 22px;
  border-radius: 9px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  background: #fff;
  color: #18181b;
  transition: background-color .15s ease, transform .1s ease;
}

.spm-cookie__btn:hover {
  background: #eee;
}

.spm-cookie__btn:active {
  transform: scale(.97);
}

.spm-cookie__btn:focus-visible {
  outline: 2px solid #ef3340;
  outline-offset: 2px;
}

@media (max-width: 680px) {
  .spm-cookie {
    padding: 10px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }

  .spm-cookie__card {
    flex-wrap: wrap;
    border-radius: 12px;
    padding: 16px;
    gap: 12px;
  }

  .spm-cookie__icon {
    display: none;
  }

  .spm-cookie__text {
    font-size: 13px;
    flex-basis: 100%;
  }

  .spm-cookie__actions {
    flex-basis: 100%;
  }

  .spm-cookie__btn {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spm-cookie {
    transition: none;
  }
}
/* === SPM COOKIE CONSENT END === */
