/* VALORE Business Club - WhatsApp-Zwischendialog Styles */
.wa-gate-modal {
  position: fixed;
  inset: 0;
  z-index: 100001;
  background: rgba(0, 0, 0, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: Arial, Helvetica, sans-serif;
}
.wa-gate-modal[hidden] { display: none !important; }

.wa-gate-inner {
  background: #fffaf3;
  color: #2b2320;
  max-width: 440px;
  width: 100%;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}
.wa-gate-text {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
}
.wa-gate-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  cursor: pointer;
}
.wa-gate-checkbox input {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.wa-gate-checkbox a { color: #b6752f; }

.wa-gate-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.wa-gate-btn {
  font-size: 13.5px;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: 30px;
  cursor: pointer;
  border: 1.5px solid #b6752f;
  flex: 1;
  min-width: 140px;
  text-align: center;
}
.wa-gate-cancel {
  background: transparent;
  color: #2b2320;
  border-color: #e9ddc5;
}
.wa-gate-continue {
  background: #b6752f;
  color: #fff;
}
.wa-gate-continue:disabled {
  opacity: .45;
  cursor: not-allowed;
}


/* Link-artiger Button für "Adatkezelési tájékoztatót" im Checkbox-Text */
.wa-gate-linklike {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: #b6752f;
  text-decoration: underline;
  cursor: pointer;
}

/* Datenschutz-Overlay innerhalb des WhatsApp-Gates - reiner Text, kein iframe */
.wa-privacy-overlay {
  position: fixed;
  inset: 0;
  z-index: 100002;
  background: rgba(0, 0, 0, .7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  font-family: Arial, Helvetica, sans-serif;
}
.wa-privacy-overlay[hidden] { display: none !important; }

.wa-privacy-inner {
  background: #fffaf3;
  color: #2b2320;
  width: 100%;
  max-width: 720px;
  height: min(88vh, 900px);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.wa-privacy-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #e9ddc5;
  flex-shrink: 0;
}
.wa-privacy-head h2 {
  margin: 0;
  font-size: 16px;
  font-family: inherit;
}
.wa-privacy-head .wa-gate-btn {
  width: auto;
  flex: none;
  min-width: 0;
  padding: 8px 16px;
}

.wa-privacy-body {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 20px 22px 30px;
}

.wa-privacy-loading,
.wa-privacy-error {
  margin: 0;
  padding: 10px 0;
  font-size: 14px;
  text-align: center;
}
.wa-privacy-loading[hidden],
.wa-privacy-error[hidden] { display: none !important; }
.wa-privacy-error { color: #a33; }

/* Typografie des eingesetzten Datenschutztexts */
.wa-privacy-text { font-size: 14px; line-height: 1.65; }
.wa-privacy-text h1 { font-size: 19px; margin: 0 0 10px; }
.wa-privacy-text h2 { font-size: 15.5px; margin: 22px 0 6px; color: #2b2320; }
.wa-privacy-text h2:first-child { margin-top: 0; }
.wa-privacy-text p, .wa-privacy-text li { color: #4a4237; word-wrap: break-word; overflow-wrap: break-word; }
.wa-privacy-text ul { padding-left: 20px; }
.wa-privacy-text a { color: #b6752f; word-break: break-word; }
.wa-privacy-text .updated { font-size: 12.5px; color: #7a6f68; }
.wa-privacy-text .meta { padding: 10px 14px; border-radius: 10px; background: #f1e9d8; margin: 0 0 16px; font-size: 13px; }

@media (max-width: 640px) {
  .wa-privacy-inner { height: 92vh; border-radius: 12px; }
  .wa-privacy-body { padding: 16px 16px 24px; }
}
