/* Konyha Király – adatkezelés / süti sáv / jogi oldalak */

.kk-footer-legal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  line-height: 1.3;
  font-weight: 800;
}

.kk-footer-legal a,
.kk-footer-legal button {
  color: #5a0f1b !important;
  text-decoration: none;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  padding: 4px 2px;
}

.kk-footer-legal a:hover,
.kk-footer-legal a:focus-visible,
.kk-footer-legal button:hover,
.kk-footer-legal button:focus-visible {
  text-decoration: underline;
  outline: none;
}

.kk-footer-legal-separator {
  color: rgba(90, 15, 27, 0.46);
  font-weight: 900;
}

.kk-form-privacy-note {
  margin: 12px 0 0 !important;
  font-size: 0.88rem !important;
  line-height: 1.45 !important;
  color: #5f5353 !important;
  font-weight: 750 !important;
}

.kk-form-privacy-note a {
  color: #8b0014 !important;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.kk-legal-hero {
  max-width: 1000px;
}

.kk-legal-panel {
  max-width: 1000px;
}

.kk-legal-content {
  display: grid;
  gap: 22px;
  margin-top: 10px;
}

.kk-legal-block {
  background: #fffafa;
  border: 1px solid var(--line, #ead8c8);
  border-radius: 20px;
  padding: clamp(18px, 2.7vw, 28px);
  box-shadow: 0 8px 20px rgba(80, 0, 15, 0.045);
}

.kk-legal-block h2,
.kk-legal-block h3 {
  color: var(--red, #5a0f1b);
  margin-bottom: 12px;
}

.kk-legal-block h2 {
  font-size: clamp(1.35rem, 2.1vw, 2rem);
}

.kk-legal-block h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.38rem);
  margin-top: 18px;
}

.kk-legal-block p,
.kk-legal-block li {
  font-size: 1rem;
  line-height: 1.72;
  color: #302628;
  font-weight: 650;
}

.kk-legal-block ul {
  margin: 8px 0 0;
  padding-left: 22px;
}

.kk-legal-note {
  background: #fff3d8;
  border-left: 5px solid var(--gold, #c89a3c);
  border-radius: 16px;
  padding: 16px 20px;
  font-weight: 800;
}

.kk-cookie-banner,
.kk-cookie-panel {
  position: fixed;
  left: 50%;
  z-index: 9800;
  width: min(980px, calc(100vw - 32px));
  transform: translateX(-50%);
  border-radius: 22px;
  background: linear-gradient(135deg, #fffdf8 0%, #fff8ee 100%);
  border: 1px solid rgba(215, 170, 85, 0.62);
  box-shadow: 0 18px 44px rgba(37, 18, 21, 0.20);
  color: #241b1d;
  box-sizing: border-box;
}

.kk-cookie-banner {
  bottom: 18px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
}

.kk-cookie-banner.is-visible {
  display: flex;
}

.kk-cookie-text {
  margin: 0 !important;
  font-size: 0.98rem !important;
  line-height: 1.45 !important;
  color: #302628 !important;
  font-weight: 760 !important;
}

.kk-cookie-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.kk-cookie-links a {
  color: #8b0014 !important;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.kk-cookie-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

.kk-cookie-btn {
  appearance: none;
  border: 1px solid rgba(139, 0, 20, 0.22);
  border-radius: 999px;
  min-height: 42px;
  padding: 10px 15px;
  font-family: inherit;
  font-size: 0.92rem;
  line-height: 1.1;
  font-weight: 900;
  cursor: pointer;
  color: #7a0012;
  background: #fff;
  box-shadow: 0 8px 18px rgba(139, 0, 20, 0.07);
}

.kk-cookie-btn:hover,
.kk-cookie-btn:focus-visible {
  outline: none;
  transform: translateY(-1px);
}

.kk-cookie-btn-primary {
  background: linear-gradient(135deg, #5a0f1b, #8b1d30);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
}

.kk-cookie-panel {
  display: none;
  bottom: 18px;
  max-width: 720px;
  padding: 18px;
}

.kk-cookie-panel.is-visible {
  display: block;
}

.kk-cookie-panel h2 {
  color: #5a0f1b;
  font-size: 1.28rem;
  margin: 0 0 8px;
}

.kk-cookie-panel p {
  margin: 0 0 14px !important;
  font-size: 0.96rem !important;
  line-height: 1.55 !important;
  color: #302628 !important;
  font-weight: 700 !important;
}

.kk-cookie-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(215, 170, 85, 0.34);
}

.kk-cookie-option strong {
  color: #5a0f1b;
  font-size: 0.98rem;
}

.kk-cookie-option span {
  display: block;
  color: #625253;
  font-size: 0.86rem;
  line-height: 1.35;
  font-weight: 700;
  margin-top: 2px;
}

.kk-cookie-switch {
  width: 48px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(139, 0, 20, 0.24);
  background: #eee0d8;
  position: relative;
  cursor: pointer;
}

.kk-cookie-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
  transition: left 0.18s ease;
}

.kk-cookie-switch[aria-pressed="true"] {
  background: #8b0014;
}

.kk-cookie-switch[aria-pressed="true"]::after {
  left: 23px;
}

.kk-cookie-switch[disabled] {
  cursor: not-allowed;
  opacity: .75;
}

.kk-cookie-panel-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 12px;
}

@media (max-width: 760px) {
  .kk-footer-legal {
    width: 100%;
    gap: 7px;
    font-size: 0.86rem;
  }

  .kk-cookie-banner,
  .kk-cookie-panel {
    bottom: 84px;
    width: calc(100vw - 20px);
    border-radius: 18px;
  }

  .kk-cookie-banner {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
  }

  .kk-cookie-actions,
  .kk-cookie-panel-actions {
    justify-content: stretch;
  }

  .kk-cookie-btn {
    flex: 1 1 30%;
    min-height: 44px;
    padding: 10px 12px;
  }

  .kk-cookie-option {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .kk-legal-block p,
  .kk-legal-block li {
    font-size: 0.96rem;
  }
}
