.cookie-banner[hidden],
#cookie-preferences[hidden] {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  z-index: 999999;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
  background: #fff;
  color: #222;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 8px 35px rgba(0, 0, 0, .2);
  font-family: Arial, sans-serif;
}

.cookie-banner h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.cookie-banner p {
  line-height: 1.6;
  margin-bottom: 20px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-banner button {
  flex: 1 1 180px;
  min-height: 46px;
  padding: 12px 16px;
  border: 1px solid #333;
  border-radius: 4px;
  background: #fff;
  color: #222;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

#cookie-accept {
  background: #222;
  color: #fff;
}

#cookie-preferences {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #ddd;
}

#cookie-preferences label {
  display: block;
  margin: 12px 0;
}

#cookie-preferences input {
  margin-right: 8px;
}

#cookie-save {
  margin-top: 12px;
}

#cookie-settings-link {
  cursor: pointer;
}
.cookie-settings-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9998;

  display: flex;
  align-items: center;
  gap: 9px;

  padding: 12px 17px;
  border: 1px solid #dedede;
  border-radius: 30px;
  background: #fff;
  color: #252525;

  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;

  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.13);
  transition: background .2s, box-shadow .2s, transform .2s;
}

.cookie-settings-float:hover {
  background: #f5f5f5;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.cookie-settings-icon {
  font-size: 19px;
  line-height: 1;
}

@media (max-width: 576px) {
  .cookie-settings-float {
    right: 12px;
    bottom: 12px;
    padding: 12px;
  }

  .cookie-settings-float span:last-child {
    font-size: 12px;
  }
}
@media (max-width: 600px) {
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 18px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-banner button {
    flex-basis: auto;
    width: 100%;
  }
}