.ce-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2147483000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: #1a1714;
}

.ce-consent__panel {
  max-width: 960px;
  margin: 0 auto;
  background: #fafaf8;
  border: 1px solid #d7d0c6;
  border-top: 4px solid #c8972a;
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(13, 27, 53, 0.18);
  padding: 18px;
}

.ce-consent__title {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 700;
  color: #0d1b35;
}

.ce-consent__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #4a4540;
}

.ce-consent__text a {
  color: #0d1b35;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ce-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.ce-consent__btn {
  min-height: 40px;
  border-radius: 6px;
  border: 1px solid #0d1b35;
  padding: 8px 14px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.ce-consent__btn--primary {
  background: #0d1b35;
  color: #fafaf8;
}

.ce-consent__btn--secondary {
  background: #fafaf8;
  color: #0d1b35;
}

.ce-consent__prefs {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e6dfd6;
}

.ce-consent__prefs.is-open {
  display: grid;
}

.ce-consent__option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  border: 1px solid #e6dfd6;
  border-radius: 6px;
  background: #fff;
}

.ce-consent__option input {
  margin-top: 3px;
}

.ce-consent__option span {
  display: block;
  font-size: 0.86rem;
  line-height: 1.35;
}

.ce-consent__option strong {
  display: block;
  color: #0d1b35;
}

@media (max-width: 640px) {
  .ce-consent {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .ce-consent__panel {
    padding: 14px;
  }

  .ce-consent__prefs {
    grid-template-columns: 1fr;
  }

  .ce-consent__btn {
    width: 100%;
  }
}
