/* לבלר — באנר הסכמה לעוגיות. פס דק בתחתית המסך; לא חוסם את העמוד. */
.consent {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 400;
  background: var(--paper, #F6F1E7); color: var(--ink, #1B2A41);
  border-top: 3px double var(--ink, #1B2A41);
  box-shadow: 0 -6px 18px rgba(27, 42, 65, .12);
  font-family: var(--sans, sans-serif);
  padding: 0; margin: 0;
}
.consent[hidden] { display: none; }
.consent-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 12px clamp(14px, 4vw, 52px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px;
}
.consent-text { margin: 0; flex: 1 1 380px; font-size: 15px; line-height: 1.45; }
.consent-text a { color: var(--seal, #9E2B25); }
.consent-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.consent-btn {
  font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
  min-height: 40px; padding: 6px 18px; border-radius: 3px;
  background: var(--paper, #F6F1E7); color: var(--ink, #1B2A41);
  border: 1.5px solid var(--ink, #1B2A41);
}
/* אישור ודחייה באותו משקל חזותי — בלי לדחוף לאישור */
.consent-btn[data-c="all"], .consent-btn[data-c="none"], .consent-btn[data-c="save"] {
  background: var(--ink, #1B2A41); color: var(--paper, #F6F1E7);
}
.consent-more { border-style: dashed; }
.consent-btn:hover { filter: brightness(1.12); }
.consent-btn:focus-visible { outline: 3px solid var(--seal, #9E2B25); outline-offset: 2px; }
.consent-btn[hidden] { display: none; }

.consent-prefs { flex: 1 1 100%; display: grid; gap: 6px; margin: 2px 0; }
.consent-prefs[hidden] { display: none; }
.consent-opt { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.4; cursor: pointer; }
.consent-opt input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--seal, #9E2B25); }
.consent-opt input:disabled { cursor: not-allowed; }

/* כפתור הוואטסאפ עולה מעל הבאנר כשהוא פתוח */
.consent-open .whatsapp-float { bottom: calc(var(--consent-h, 0px) + 14px); }

/* כפתור "הגדרות עוגיות" בתחתית — נראה כמו קישור */
.consent-link {
  font: inherit; color: var(--ink, #1B2A41); background: none; border: 0; padding: 0;
  text-decoration: underline; cursor: pointer;
}

@media (max-width: 600px) {
  .consent-inner { padding: 10px 14px 12px; gap: 8px; }
  .consent-text { flex-basis: 100%; font-size: 14px; }
  .consent-actions { width: 100%; }
  .consent-btn { flex: 1 1 0; padding: 6px 8px; min-height: 40px; }
}

@media print { .consent { display: none; } }
