.kh-consent-banner {
  position: fixed;
  inset: auto 0 0;
  z-index: 9999;
  background: rgba(247, 245, 242, 0.985);
  border-top: 1px solid rgba(210, 162, 92, 0.58);
  box-shadow: 0 -12px 34px rgba(31, 38, 48, 0.14);
  color: #1f2630;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  backdrop-filter: blur(8px);
}

.kh-consent-inner {
  width: min(100% - 2.5rem, 1080px);
  margin: 0 auto;
  padding: 1rem 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
}

.kh-consent-title {
  margin: 0 0 0.22rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
}

.kh-consent-text {
  margin: 0;
  max-width: 45rem;
  color: #59606a;
  font-size: 0.82rem;
  line-height: 1.55;
}

.kh-consent-text a {
  color: #4a3429;
  text-decoration: none;
  border-bottom: 1px solid rgba(74, 52, 41, 0.35);
}

.kh-consent-actions {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.kh-consent-button {
  min-height: 42px;
  padding: 0.72rem 1rem;
  border: 1px solid #4a3429;
  border-radius: 0;
  font: 600 0.72rem/1 "Inter", system-ui, sans-serif;
  letter-spacing: 0.06em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.kh-consent-button:hover { transform: translateY(-1px); }
.kh-consent-button-secondary { background: transparent; color: #4a3429; }
.kh-consent-button-primary { background: #4a3429; color: #fff; }
.kh-consent-button-primary:hover { background: #35241d; }

.kh-cookie-settings {
  display: inline;
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

@media (max-width: 720px) {
  .kh-consent-inner {
    width: min(100% - 2rem, 1080px);
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .kh-consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .kh-consent-button {
    width: 100%;
    padding-inline: 0.7rem;
    font-size: 0.68rem;
  }
}

@media (max-width: 390px) {
  .kh-consent-actions { grid-template-columns: 1fr; }
}
