/* Стили cookie-баннера — приведены к брендбуку М-тюнинг */
#cookie-consent-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 999999;
  max-width: 560px;
  width: auto;
  height: auto !important;
  margin: 0 auto;
  background: #242327;
  border: 1px solid #322F37;
  color: #FFFFFF;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,.5), 0 10px 30px rgba(0,0,0,.4);
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: "Golos Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
#cookie-consent-banner.cc-hide {
  opacity: 0;
  transform: translateY(20px);
}
#cookie-consent-banner span {
  flex: 1 1 260px;
  margin: 0;
  color: #C1BEC6;
}
#cookie-consent-banner a {
  color: #F5D90A;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}
#cookie-consent-banner .cc-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: nowrap;
}
#cookie-consent-banner button {
  font-family: Oswald, "Golos Text", Arial, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  line-height: normal;
  transition: opacity 0.15s ease;
}
#cookie-consent-banner button:hover {
  opacity: 0.85;
}
#cc-accept {
  background: #F5D90A;
  color: #1D1C1F;
}
#cc-decline {
  background: transparent;
  color: #C1BEC6;
  border: 1px solid #434149;
}
@media (max-width: 640px) {
  #cookie-consent-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px 16px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 10px;
  }
  #cookie-consent-banner span {
    flex: none;
    width: 100%;
    font-size: 12px;
  }
  #cookie-consent-banner .cc-buttons {
    justify-content: center;
    width: 100%;
  }
  #cookie-consent-banner button {
    flex: 1 1 auto;
    padding: 9px 14px;
  }
}