/* Баннер cookie для sarmavent.ru
   Спокойный, не перекрывает контент, прижат к низу.
   Цвета подобраны нейтрально — при желании поменяй под фирменные. */

.cc-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #ffffffde;
  border-top: 1px solid #e2e6ea;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  font-family: inherit;
}

.cc-banner--visible {
  transform: translateY(0);
}

.cc-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cc-text {
  margin: 0;
  flex: 1 1 320px;
  font-size: 14px;
  line-height: 1.5;
  color: #2b3138;
}

.cc-text a {
  color: #1565c0;
  text-decoration: underline;
}

.cc-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cc-btn {
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.cc-btn--primary {
  background: #1565c0;
  color: #fff;
}

.cc-btn--primary:hover {
  background: #0d4f9e;
}

.cc-btn--secondary {
  background: #fff;
  color: #47505a;
  border-color: #ccd3da;
}

.cc-btn--secondary:hover {
  background: #f2f4f6;
}

.cc-btn:focus-visible {
  outline: 2px solid #1565c0;
  outline-offset: 2px;
}

.cc-message {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 320px;
}

.cc-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  cursor: pointer;
}

@media (max-width: 600px) {
  .cc-inner {
    flex-direction: inherit;
    align-items: stretch;
    gap: 12px;
    padding: 14px 16px;
  }
  .cc-actions {
    justify-content: stretch;
    width: 100%;
  }
  .cc-btn {
/*    flex: 1; */
    width: 100%;
  }
}
