/* Cookie notice card + the settings block on /privacy/ (decision 22.11.2026, same model as Tzeadim: GA4 runs until switched off).
   Colors are the site's own tokens (style.css :root), so the card follows the palette and the a11y high-contrast mode. */
.kt-cookie, .kt-cookies { direction: rtl; text-align: start; color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-card); }

/* Card: on a phone it sits above the WhatsApp and accessibility buttons (both 56px, 20-24px from the bottom), full width;
   from 768px it sits between them at the bottom center. */
.kt-cookie { position: fixed; z-index: 55; inset-inline: 16px; bottom: calc(96px + env(safe-area-inset-bottom, 0px));
	padding: 10px 14px; box-shadow: var(--shadow), 0 6px 24px color-mix(in srgb, var(--ink) 14%, transparent); font-size: .875rem; line-height: 1.45; }
.kt-cookie[hidden] { display: none; }
@media (min-width: 768px) {
	.kt-cookie { inset-inline: auto; left: 50%; transform: translateX(-50%); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); width: min(25rem, calc(100vw - 220px)); }
}
.kt-cookie p { margin: 0 0 6px; }
.kt-cookie__row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
/* 40px stays above the 24px WCAG 2.5.8 floor; the card is smaller on purpose (Gil, 22.11) */
.kt-cookie .k-btn { min-height: 40px; padding: .3em 1.2em; font-size: .875rem; }
/* no underline on Hebrew links (Gil); hover = bolder, as everywhere on the site (--hover-stroke) */
.kt-cookie a, .kt-cookies a { color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.kt-cookie a:hover, .kt-cookies summary:hover { -webkit-text-stroke: var(--hover-stroke); }

/* Settings block, first thing on the privacy page */
.kt-cookies { margin-block: 24px 40px; padding: 20px; scroll-margin-top: calc(var(--head-h, 72px) + 16px); }
@media (min-width: 640px) { .kt-cookies { padding: 24px 28px; } }
.kt-cookies h2 { margin-top: 0; }
.kt-cookies > p { margin: 0 0 16px; }
.kt-cookies__list { list-style: none; margin: 0; padding: 0; }
.kt-cookies__list > li { padding: 14px 0 4px; border-top: 1px solid var(--rule); }
.kt-cookies__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; column-gap: 16px; }
label.kt-cookies__row { cursor: pointer; }
.kt-cookies__row b { display: block; }
.kt-cookies__by { display: block; width: max-content; font-size: .85em; color: var(--muted); } /* Latin line, kept at the start edge */
.kt-cookies__desc { grid-column: 1 / -1; margin-top: 4px; font-size: .95em; }
.kt-cookies__always { grid-column: 2; grid-row: 1; font-size: .875em; font-weight: 600; color: var(--muted); }
.kt-cookies__row > input { grid-column: 2; grid-row: 1; }
/* a switch: off = ink outline and ink knob, on = accent fill and light knob */
.kt-cookies input { appearance: none; -webkit-appearance: none; position: relative; width: 44px; height: 24px; margin: 2px 0 0;
	border: 1.5px solid var(--ink); border-radius: var(--r-pill); background: transparent; cursor: pointer; transition: background-color .15s; }
.kt-cookies input::before { content: ""; position: absolute; top: 2px; inset-inline-start: 2px; width: 17px; height: 17px; border-radius: 50%; background: var(--ink); }
.kt-cookies input:checked { background: var(--accent-ink); border-color: var(--accent-ink); }
.kt-cookies input:checked::before { inset-inline-start: auto; inset-inline-end: 2px; background: var(--paper); }
.kt-cookies input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .kt-cookies input { transition: none; } }
.kt-cookies details { margin-top: 6px; }
.kt-cookies summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--accent-ink); font-weight: 600; font-size: .9375em; }
.kt-cookies dl { display: grid; gap: 8px; margin: 0 0 12px; }
.kt-cookies dl > div { padding: 10px 14px; border-radius: 10px; background: var(--sunk); font-size: .9375em; line-height: 1.5; }
.kt-cookies dt { font-weight: 700; }
.kt-cookies dt[dir="ltr"] { text-align: end; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; }
.kt-cookies dd { margin: 0; }
.kt-cookies__meta { color: var(--muted); font-size: .9em; }
.kt-cookies__status { min-height: 1.5em; margin: 8px 0 0; font-weight: 600; color: var(--accent-ink); }
.kt-cookies__row > b, .kt-cookies__by { grid-column: 1; }
