/* futix-core - רכיבים ציבוריים. משתמש רק בטוקנים של futix-theme (style.css). */

.futix-muted {
	color: var(--color-text-muted);
}

.futix-visually-hidden {
	position: absolute !important;
	inline-size: 1px;
	block-size: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* ==========================================================================
   בוחר חבילות
   ========================================================================== */

.futix-picker {
	display: grid;
	gap: var(--wp--preset--spacing--6);
}

.futix-picker__group {
	display: grid;
	gap: var(--wp--preset--spacing--3);
	margin: 0;
	padding: 0;
	border: 0;
}

.futix-picker__legend {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--2);
	margin-block-end: var(--wp--preset--spacing--3);
	padding: 0;
	color: var(--color-text);
	font-family: var(--font-heading);
	font-size: var(--wp--preset--font-size--xl);
	font-weight: 700;
}

.futix-picker__step {
	display: inline-grid;
	place-items: center;
	inline-size: var(--wp--preset--spacing--6);
	block-size: var(--wp--preset--spacing--6);
	border-radius: var(--radius-full);
	background: var(--color-brand);
	color: var(--color-on-action);
	font-size: var(--wp--preset--font-size--base);
	font-weight: 800;
}

.futix-picker__platforms {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--2);
}

.futix-choice {
	position: relative;
	display: grid;
	place-items: center;
	min-block-size: var(--size-touch);
	padding: var(--wp--preset--spacing--2);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	background: var(--color-surface);
	color: var(--color-text);
	font-family: var(--font-heading);
	font-weight: 700;
	text-align: center;
	cursor: pointer;
	transition:
		background-color var(--duration-base) var(--ease-out),
		color var(--duration-base) var(--ease-out),
		border-color var(--duration-fast) var(--ease-out),
		box-shadow var(--duration-fast) var(--ease-out),
		transform var(--duration-fast) var(--ease-pop);
}

.futix-choice:active {
	transform: scale(0.97);
}

.futix-choice input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.futix-choice:hover {
	border-color: var(--color-accent-soft);
}

/* פלטפורמה שנבחרה: מתמלאת בטורקיז, כמו "לפי כמות / לפי מחיר" (בקשת דין, 07/10/2026) */
.futix-choice.is-selected,
.futix-choice:has(input:checked) {
	border-color: transparent;
	background: var(--color-action);
	color: var(--color-on-action);
	box-shadow: var(--glow);
}

.futix-choice:has(input:focus-visible),
.futix-package-card:has(input:focus-visible) {
	outline: var(--size-focus-ring) solid var(--color-focus);
	outline-offset: var(--size-focus-ring);
}

.futix-picker__packages {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
	gap: var(--wp--preset--spacing--3);
}

.futix-package-card:has(input:checked) {
	background: var(--package-card-hover-bg);
	border: 2px solid var(--package-card-selected-border);
	box-shadow: var(--package-card-shadow), var(--package-card-selected-shadow);
}

.futix-package-card:has(input:checked) .futix-package-card__check {
	display: block;
}

.futix-picker__help {
	margin: 0;
	color: var(--color-text-secondary);
	font-size: var(--wp--preset--font-size--sm);
}

.futix-picker__help a {
	color: var(--color-accent);
}

.futix-picker__summary {
	display: grid;
	gap: var(--wp--preset--spacing--3);
	padding: var(--wp--preset--spacing--5);
	border-radius: var(--radius-lg);
	background: var(--color-surface);
}

.futix-picker__total-label {
	margin: 0;
	color: var(--color-text-secondary);
}

.futix-picker__total {
	margin: 0;
	font-family: var(--font-heading);
	font-size: var(--wp--preset--font-size--3-xl);
	font-weight: 800;
	line-height: 1;
}

.futix-picker__error {
	margin: 0;
	color: var(--color-error);
	font-weight: 500;
}

.futix-picker__submit {
	inline-size: 100%;
}

.futix-trust {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--2) var(--wp--preset--spacing--4);
	justify-content: center;
	margin: 0;
	padding: 0;
	color: var(--color-text-secondary);
	font-size: var(--wp--preset--font-size--sm);
	list-style: none;
}

.futix-trust li::before {
	content: "✓";
	margin-inline-end: var(--wp--preset--spacing--1);
	color: var(--color-accent);
	font-weight: 700;
}

.futix-picker__trial {
	margin: 0;
	text-align: center;
}

.futix-picker__trial a {
	color: var(--color-accent);
	font-weight: 700;
}

.futix-picker__hero {
	display: grid;
	justify-items: center;
	gap: var(--wp--preset--spacing--2);
	text-align: center;
}

.futix-picker__hero .futix-package-card__amount {
	font-size: var(--wp--preset--font-size--display);
}

/* שורת יידוע ליד טפסים (PRD 3.18) */
.futix-form-notice {
	margin-block: 0 var(--wp--preset--spacing--4);
	color: var(--color-text-secondary);
	font-size: var(--wp--preset--font-size--sm);
}

.futix-form-notice a {
	color: var(--color-accent);
}

/* ==========================================================================
   עמוד ההזמנה
   ========================================================================== */

.futix-order {
	display: grid;
	gap: var(--wp--preset--spacing--6);
}

.futix-order__head {
	display: grid;
	gap: var(--wp--preset--spacing--1);
	padding-block-end: var(--wp--preset--spacing--4);
	border-block-end: 1px solid var(--color-border);
}

.futix-order__head p {
	margin: 0;
}

.futix-order__number {
	color: var(--color-text-secondary);
	font-size: var(--wp--preset--font-size--sm);
}

.futix-order__item {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--2);
	align-items: center;
	font-family: var(--font-heading);
	font-size: var(--wp--preset--font-size--xl);
	font-weight: 700;
}

.futix-order__route,
.futix-order__help,
.futix-order__lead {
	margin: 0;
	color: var(--color-text-secondary);
	font-size: var(--wp--preset--font-size--sm);
}

.futix-order__help a {
	color: var(--color-accent);
}

.futix-order__section {
	display: grid;
	gap: var(--wp--preset--spacing--4);
}

.futix-order__title {
	margin: 0;
	font-size: var(--wp--preset--font-size--2-xl);
}

.futix-route {
	display: grid;
	gap: var(--wp--preset--spacing--4);
}

.futix-route__title {
	font-family: var(--font-heading);
	font-size: var(--wp--preset--font-size--xl);
	font-weight: 700;
}

.futix-order__whatsapp {
	display: grid;
	gap: var(--wp--preset--spacing--3);
	padding: var(--wp--preset--spacing--4);
	border: 1px solid var(--color-accent-soft);
	border-radius: var(--radius-md);
}

.futix-order__whatsapp p {
	margin: 0;
}

.futix-details,
.futix-code {
	display: grid;
	gap: var(--wp--preset--spacing--4);
}

.futix-form-notice--light {
	color: var(--color-text-secondary-on-light);
}

.futix-form-notice--light a,
.futix-form-surface a {
	color: var(--color-accent-on-light);
}

.futix-field__hint {
	margin: 0;
	color: var(--color-text-secondary-on-light);
	font-size: var(--wp--preset--font-size--sm);
}

.futix-password {
	display: flex;
	gap: var(--wp--preset--spacing--2);
}

.futix-password .futix-field__input {
	flex: 1;
	min-inline-size: 0;
}

.futix-password__toggle {
	min-inline-size: var(--size-touch);
	min-block-size: var(--size-touch);
	padding-inline: var(--wp--preset--spacing--3);
	border: 1px solid var(--color-input-border);
	border-radius: var(--radius-sm);
	background: var(--color-white);
	color: var(--color-text-on-light);
	font: inherit;
	cursor: pointer;
}

.futix-checklist {
	display: grid;
	gap: var(--wp--preset--spacing--2);
	margin: 0;
	padding: var(--wp--preset--spacing--4);
	border: 1px solid var(--color-input-border);
	border-radius: var(--radius-md);
}

.futix-checklist ul {
	display: grid;
	gap: var(--wp--preset--spacing--1);
	margin: 0;
	padding-inline-start: var(--wp--preset--spacing--5);
}

.futix-check {
	display: flex;
	gap: var(--wp--preset--spacing--2);
	align-items: center;
	min-block-size: var(--size-touch);
	font-weight: 500;
	cursor: pointer;
}

.futix-check input {
	inline-size: var(--wp--preset--spacing--5);
	block-size: var(--wp--preset--spacing--5);
	accent-color: var(--color-accent-on-light);
}

.futix-code__input {
	font-family: var(--font-heading);
	font-size: var(--wp--preset--font-size--2-xl);
	letter-spacing: 0.3em;
	text-align: center;
}

.futix-done {
	text-align: center;
}

.futix-done .futix-alert {
	text-align: start;
}

.futix-done__title {
	margin: 0;
	font-size: var(--wp--preset--font-size--3-xl);
}

.futix-done__amount {
	margin: 0;
	color: var(--color-text-secondary);
	font-size: var(--wp--preset--font-size--lg);
}

.futix-order__manual-status {
	margin-block-start: var(--wp--preset--spacing--2);
}

.futix-alert p {
	margin: 0;
}

.futix-alert > div {
	display: grid;
	gap: var(--wp--preset--spacing--2);
}

.futix-order > *,
.futix-order__section > *,
.futix-picker > * {
	min-inline-size: 0;
}

/* רגע השיא: הגעה ל-100% (design.md סעיפים 1, 5). עם הפחתת תנועה - מוצג מיד בלי אנימציה. */
.futix-done .futix-progress__percent,
.futix-done__title {
	animation: futix-pop var(--duration-peak) var(--ease-pop) both;
}

.futix-done__title {
	animation-delay: var(--duration-fast);
}

.futix-done .futix-progress__track {
	animation: futix-glow calc(var(--duration-peak) * 4) var(--ease-out) both;
}

@keyframes futix-pop {
	from {
		opacity: 0;
		transform: scale(0.85);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes futix-glow {
	0%,
	100% {
		box-shadow: none;
	}
	40% {
		box-shadow: var(--glow-strong);
	}
}

/* ==========================================================================
   קופון ואזור לקוח
   ========================================================================== */

.futix-coupon {
	display: grid;
	gap: var(--wp--preset--spacing--2);
	padding: var(--wp--preset--spacing--4);
	border: 2px dashed var(--color-accent-soft);
	border-radius: var(--radius-lg);
	background: var(--color-surface);
}

.futix-coupon p {
	margin: 0;
}

.futix-coupon__label {
	color: var(--color-text);
	font-family: var(--font-heading);
	font-weight: 700;
}

.futix-coupon__row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--3);
	align-items: center;
	justify-content: space-between;
}

.futix-coupon__code {
	color: var(--color-accent);
	font-family: var(--font-heading);
	font-size: var(--wp--preset--font-size--2-xl);
	font-weight: 800;
	letter-spacing: 0.08em;
}

.futix-coupon__meta {
	color: var(--color-text-secondary);
	font-size: var(--wp--preset--font-size--sm);
}

.futix-account-summary {
	display: grid;
	gap: var(--wp--preset--spacing--3);
	margin-block-end: var(--wp--preset--spacing--5);
}

.futix-account-summary__tickets {
	margin: 0;
	padding: var(--wp--preset--spacing--3) var(--wp--preset--spacing--4);
	border-radius: var(--radius-md);
	background: var(--color-surface);
}

.futix-account-summary__tickets strong {
	color: var(--color-accent);
	font-family: var(--font-heading);
	font-size: var(--wp--preset--font-size--xl);
}

/* ==========================================================================
   שותפים
   ========================================================================== */

.futix-partners {
	display: grid;
	gap: var(--wp--preset--spacing--5);
}

.futix-partners__intro h2 {
	margin-block: 0 var(--wp--preset--spacing--3);
	font-size: var(--wp--preset--font-size--2-xl);
}

.futix-steps {
	display: grid;
	gap: var(--wp--preset--spacing--2);
	margin: 0;
	padding-inline-start: var(--wp--preset--spacing--5);
	color: var(--color-text-secondary);
}

.futix-steps strong {
	color: var(--color-text);
}

.futix-partners__form {
	display: grid;
	gap: var(--wp--preset--spacing--4);
}

.futix-partners__form-title {
	margin: 0;
	color: var(--color-text-on-light);
	font-size: var(--wp--preset--font-size--xl);
}

.futix-partners__code {
	text-transform: uppercase;
}

/* שדה מלכודת לבוטים: מחוץ למסך, לא לקוראי מסך ולא למקלדת. */
.futix-hp {
	position: absolute !important;
	inset-inline-start: -100vw;
	inline-size: 1px;
	block-size: 1px;
	overflow: hidden;
}

.futix-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--3);
	margin: 0;
}

.futix-stats > div {
	padding: var(--wp--preset--spacing--3);
	border-radius: var(--radius-md);
	background: var(--color-surface);
	text-align: center;
}

.futix-stats dt {
	color: var(--color-text-secondary);
	font-size: var(--wp--preset--font-size--sm);
}

.futix-stats dd {
	margin: 0;
	font-family: var(--font-heading);
	font-size: var(--wp--preset--font-size--xl);
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.futix-table-simple {
	inline-size: 100%;
	border-collapse: collapse;
}

.futix-table-simple th,
.futix-table-simple td {
	padding: var(--wp--preset--spacing--2);
	border-block-end: 1px solid var(--color-border);
	text-align: start;
}

/* ==========================================================================
   הגרלה ופעילויות
   ========================================================================== */

.futix-raffle {
	position: relative;
	display: grid;
	gap: var(--wp--preset--spacing--4);
	padding: var(--wp--preset--spacing--5);
	overflow: hidden;
	border: 1px solid var(--color-accent-soft);
	border-radius: var(--radius-lg);
	background: var(--color-surface);
	box-shadow: var(--glow);
}

.futix-raffle::before {
	content: "";
	position: absolute;
	inset-block-start: 0;
	inset-inline: 0;
	block-size: var(--wp--preset--spacing--1);
	background: var(--color-brand);
}

.futix-raffle p {
	margin: 0;
}

.futix-raffle__title {
	margin: 0;
	font-size: var(--wp--preset--font-size--2-xl);
}

.futix-raffle__prizes {
	color: var(--color-accent);
	font-family: var(--font-heading);
	font-weight: 700;
}

.futix-raffle__rule,
.futix-raffle__label {
	color: var(--color-text-secondary);
	font-size: var(--wp--preset--font-size--sm);
}

.futix-countdown {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--2);
	margin-block-start: var(--wp--preset--spacing--2);
}

.futix-countdown span {
	display: grid;
	gap: var(--wp--preset--spacing--1);
	padding: var(--wp--preset--spacing--2);
	border-radius: var(--radius-md);
	background: var(--color-surface-raised);
	color: var(--color-text-secondary);
	font-size: var(--wp--preset--font-size--sm);
	text-align: center;
}

.futix-countdown b {
	color: var(--color-text);
	font-family: var(--font-heading);
	font-size: var(--wp--preset--font-size--2-xl);
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.futix-tickets {
	margin: 0;
	padding: var(--wp--preset--spacing--3) var(--wp--preset--spacing--4);
	border-radius: var(--radius-md);
	background: var(--color-surface);
}

.futix-tickets__count {
	color: var(--color-accent);
	font-family: var(--font-heading);
	font-size: var(--wp--preset--font-size--xl);
	font-weight: 800;
}

@media (min-width: 48em) { /* 768px */
	.futix-raffle {
		grid-template-columns: 1fr auto;
		align-items: center;
	}
}

.futix-activities {
	display: grid;
	gap: var(--wp--preset--spacing--4);
}

.futix-activities__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
	gap: var(--wp--preset--spacing--3);
	margin: 0;
	padding: 0;
	list-style: none;
}

.futix-activity {
	display: grid;
	gap: var(--wp--preset--spacing--2);
	align-content: start;
	padding: var(--wp--preset--spacing--4);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	background: var(--color-surface);
}

.futix-activity__title {
	margin: 0;
	font-size: var(--wp--preset--font-size--xl);
}

.futix-activity__text {
	margin: 0;
	color: var(--color-text-secondary);
}

.futix-activity__link,
.futix-instagram {
	display: inline-flex;
	gap: var(--wp--preset--spacing--2);
	align-items: center;
	min-block-size: var(--size-touch);
	color: var(--color-accent);
	font-weight: 700;
}

.futix-instagram {
	justify-content: center;
	padding: var(--wp--preset--spacing--3);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	text-decoration: none;
}

.futix-instagram:hover {
	border-color: var(--color-accent-soft);
}

/* FUTIX Creators: טופס השארת פרטים (בקשת דין 08/11/2026).
   כרטיס בהיר כמו שאר הטפסים באתר, קבוצות לפי משמעות, ותגובה מיידית בלחיצה (עקרונות העיצוב של Apple). */
.futix-collab {
	scroll-margin-block-start: calc(var(--wp--preset--spacing--9) + var(--wp--preset--spacing--4));
}

.futix-collab__card {
	display: grid;
	gap: var(--wp--preset--spacing--5);
	padding: var(--wp--preset--spacing--5);
	border: 1px solid color-mix(in srgb, var(--color-white) 60%, transparent);
	border-radius: var(--radius-lg);
	background: var(--color-surface-light);
	color: var(--color-text-on-light);
	box-shadow: var(--shadow-card), 0 0 0 1px color-mix(in srgb, var(--color-accent) 18%, transparent);
}

.futix-collab__card :where(p, li, strong, legend, span, h2) {
	color: inherit;
}

.futix-collab__head {
	display: grid;
	gap: var(--wp--preset--spacing--2);
}

.futix-collab__eyebrow {
	margin: 0;
	color: var(--color-accent-on-light) !important;
	font-family: var(--font-heading);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 700;
	letter-spacing: 0.04em;
}

.futix-collab__head h2,
.futix-collab__done h2 {
	margin: 0;
	font-family: var(--font-heading);
	font-size: var(--wp--preset--font-size--2-xl);
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.futix-collab__intro {
	margin: 0;
	color: var(--color-text-secondary-on-light) !important;
}

.futix-collab__form {
	display: grid;
	gap: var(--wp--preset--spacing--5);
}

.futix-collab__group {
	display: grid;
	gap: var(--wp--preset--spacing--3);
	min-inline-size: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.futix-collab__legend {
	padding: 0;
	margin-block-end: var(--wp--preset--spacing--1);
	font-family: var(--font-heading);
	font-size: var(--wp--preset--font-size--lg);
	font-weight: 700;
}

.futix-collab__grid {
	display: grid;
	gap: var(--wp--preset--spacing--3);
}

@media (min-width: 48em) { /* 768px: שני טורים */
	.futix-collab__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* שדות מעוגלים כמו בקופה, עם טבעת טורקיז בפוקוס */
.futix-collab .futix-field__input {
	border-width: 1.5px;
	border-radius: var(--radius-md);
	transition: border-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}

.futix-collab .futix-field__input:focus {
	border-color: var(--color-accent-on-light);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent-on-light) 25%, transparent);
	outline: none;
}

.futix-collab__note {
	min-block-size: calc(var(--input-min-height) * 2);
	padding-block: var(--wp--preset--spacing--2);
	resize: vertical;
}

.futix-collab__review {
	margin: 0;
	font-weight: 500;
}

.futix-collab__optional {
	color: var(--color-text-secondary-on-light) !important;
	font-weight: 400;
}

/* פלטפורמות: שבבים שמגיבים כבר בלחיצה, וסימון ברור כשנבחרו */
.futix-collab__chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--2);
}

.futix-collab__chip {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-block-size: var(--size-touch);
	padding-inline: var(--wp--preset--spacing--4);
	border: 1.5px solid var(--input-border);
	border-radius: var(--radius-full);
	background: var(--input-bg);
	color: var(--color-text-on-light);
	font-weight: 600;
	cursor: pointer;
	user-select: none;
	transition: transform var(--duration-fast) var(--ease-out), background-color var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out);
}

.futix-collab__chip input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.futix-collab__chip:active {
	transform: scale(0.96);
}

.futix-collab__chip:has(input:checked) {
	border-color: var(--color-accent-on-light);
	background: var(--color-text-on-light);
	color: var(--color-white);
}

.futix-collab__chip:has(input:checked) span {
	color: var(--color-white);
}

.futix-collab__chip:has(input:focus-visible) {
	outline: var(--size-focus-ring) solid var(--color-focus);
	outline-offset: var(--size-focus-ring);
}

.futix-collab__group.has-error .futix-collab__chip {
	border-color: var(--input-error);
}

.futix-collab__submit {
	inline-size: 100%;
	min-block-size: calc(var(--size-touch) + var(--wp--preset--spacing--2));
	font-size: var(--wp--preset--font-size--lg);
	transition: transform var(--duration-fast) var(--ease-out);
}

.futix-collab__submit:active {
	transform: scale(0.98);
}

/* מלכודת לבוטים: לא נראית ולא נגישה במקלדת */
.futix-collab__trap {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

/* אחרי שליחה: הצלחה ברורה, שנכנסת בעדינות */
.futix-collab__done {
	justify-items: center;
	text-align: center;
}

.futix-collab__done p {
	margin: 0;
	color: var(--color-text-secondary-on-light) !important;
}

.futix-collab__check {
	color: var(--color-accent-on-light);
}

@media (prefers-reduced-motion: no-preference) {
	.futix-collab__done {
		animation: futix-collab-in var(--duration-base) var(--ease-out) both;
	}

	@keyframes futix-collab-in {
		from { opacity: 0; transform: translateY(var(--wp--preset--spacing--2)) scale(0.98); }
		to { opacity: 1; transform: none; }
	}
}

.futix-field__textarea {
	padding-block: var(--wp--preset--spacing--2);
	resize: vertical;
}

/* ==========================================================================
   כפתור וואטסאפ צף (PRD 3.8)
   ========================================================================== */

.futix-wa {
	position: fixed;
	inset-block-end: var(--wp--preset--spacing--4);
	inset-inline-end: var(--wp--preset--spacing--4);
	z-index: 60;
	display: grid;
	justify-items: end;
	gap: var(--wp--preset--spacing--2);
	max-inline-size: calc(100vw - var(--wp--preset--spacing--6));
}

.futix-wa__note {
	display: flex;
	gap: var(--wp--preset--spacing--2);
	align-items: flex-start;
	margin: 0;
	padding: var(--wp--preset--spacing--2) var(--wp--preset--spacing--3);
	border-radius: var(--radius-md);
	background: var(--color-surface-raised);
	color: var(--color-text);
	font-size: var(--wp--preset--font-size--sm);
	box-shadow: var(--shadow-card);
}

.futix-wa__button {
	display: inline-flex;
	gap: var(--wp--preset--spacing--2);
	align-items: center;
	min-block-size: var(--size-touch);
	padding: var(--wp--preset--spacing--2) var(--wp--preset--spacing--4);
	border-radius: var(--radius-full);
	background: var(--color-action);
	color: var(--color-on-action);
	font-family: var(--font-heading);
	font-weight: 700;
	text-decoration: none;
	box-shadow: var(--shadow-card);
}

.futix-wa__button:hover {
	box-shadow: var(--shadow-card), var(--glow);
}

.futix-wa__label {
	font-size: var(--wp--preset--font-size--sm);
}

/* בטלפון: עיגול קטן עם האייקון בלבד, כדי שלא יסתיר תוכן. הטקסט נשאר לקוראי מסך. */
@media (max-width: 47.99em) {
	.futix-wa__button {
		justify-content: center;
		inline-size: calc(var(--size-touch) + var(--wp--preset--spacing--3));
		block-size: calc(var(--size-touch) + var(--wp--preset--spacing--3));
		padding: 0;
	}

	.futix-wa__label {
		position: absolute;
		inline-size: 1px;
		block-size: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}
}

/* מקום לכפתור הצף מתחת לתוכן, כדי שלא יסתיר את הפוטר. */
.futix-footer {
	padding-block-end: var(--wp--preset--spacing--8);
}

.futix-wa__note[hidden] {
	display: none;
}

.futix-wa__note p {
	margin: 0;
}

.futix-wa__close {
	flex-shrink: 0;
	min-inline-size: var(--size-touch);
	min-block-size: var(--size-touch);
	margin: calc(-1 * var(--wp--preset--spacing--2));
	border: 0;
	background: transparent;
	color: var(--color-text);
	font-size: var(--wp--preset--font-size--xl);
	cursor: pointer;
}

/* ==========================================================================
   חבילות וסליידר
   ========================================================================== */

.futix-package-card__full {
	color: var(--color-text-secondary);
	font-size: var(--wp--preset--font-size--sm);
}

.futix-slider {
	display: grid;
	gap: var(--wp--preset--spacing--3);
	margin-block-start: var(--wp--preset--spacing--4);
	padding: var(--wp--preset--spacing--4);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	background: var(--color-surface);
	transition: border-color var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}

.futix-slider.is-active {
	border: 2px solid var(--color-accent);
	box-shadow: var(--glow);
}

.futix-slider__head {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--2);
	align-items: center;
	justify-content: space-between;
}

.futix-slider__title {
	margin: 0;
	font-family: var(--font-heading);
	font-size: var(--wp--preset--font-size--lg);
	font-weight: 700;
}

.futix-slider__modes {
	display: flex;
	gap: var(--wp--preset--spacing--1);
	padding: var(--wp--preset--spacing--1);
	border-radius: var(--radius-full);
	background: var(--color-bg);
}

.futix-chip {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-block-size: var(--size-touch);
	padding-inline: var(--wp--preset--spacing--4);
	border-radius: var(--radius-full);
	color: var(--color-text-secondary);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 700;
	cursor: pointer;
}

.futix-chip input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.futix-chip {
	transition: background-color var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out);
}

.futix-chip:has(input:checked),
.futix-chip.is-selected {
	background: var(--color-action);
	color: var(--color-on-action);
}

.futix-chip:has(input:focus-visible) {
	outline: var(--size-focus-ring) solid var(--color-focus);
	outline-offset: var(--size-focus-ring);
}

.futix-slider__range {
	--fill: 0%;
	--track: var(--wp--preset--spacing--2);
	--thumb: var(--wp--preset--spacing--6);
	inline-size: 100%;
	block-size: var(--size-touch);
	margin: 0;
	background: transparent;
	cursor: pointer;
	touch-action: none;
	-webkit-appearance: none;
	appearance: none;
}

/* הפס: מילוי טורקיז מהמינימום (ימין, RTL) עד הכדור */
.futix-slider__range::-webkit-slider-runnable-track {
	block-size: var(--track);
	border-radius: var(--radius-full);
	background: linear-gradient(to left, var(--color-accent) var(--fill), var(--color-surface-raised) var(--fill));
}

.futix-slider__range::-moz-range-track {
	block-size: var(--track);
	border-radius: var(--radius-full);
	background: linear-gradient(to left, var(--color-accent) var(--fill), var(--color-surface-raised) var(--fill));
}

.futix-slider__range::-webkit-slider-thumb {
	inline-size: var(--thumb);
	block-size: var(--thumb);
	margin-block-start: calc((var(--track) - var(--thumb)) / 2);
	border: 3px solid var(--color-accent);
	border-radius: var(--radius-full);
	background: var(--color-white);
	box-shadow: var(--glow);
	-webkit-appearance: none;
	appearance: none;
}

.futix-slider__range::-moz-range-thumb {
	inline-size: var(--thumb);
	block-size: var(--thumb);
	border: 3px solid var(--color-accent);
	border-radius: var(--radius-full);
	background: var(--color-white);
	box-shadow: var(--glow);
}

.futix-slider__range:focus-visible {
	outline: var(--size-focus-ring) solid var(--color-focus);
	outline-offset: var(--size-focus-ring);
	border-radius: var(--radius-full);
}

.futix-slider__ends {
	display: flex;
	justify-content: space-between;
	color: var(--color-text-muted);
	font-size: var(--wp--preset--font-size--sm);
}

.futix-slider__result {
	display: grid;
	justify-items: center;
	gap: var(--wp--preset--spacing--1);
	margin: 0;
	text-align: center;
}

.futix-slider__amount {
	color: var(--color-accent);
	font-family: var(--font-heading);
	font-size: var(--wp--preset--font-size--3-xl);
	font-weight: 800;
	line-height: 1;
}

.futix-slider__price {
	color: var(--color-text);
	font-size: var(--wp--preset--font-size--lg);
	font-weight: 700;
	unicode-bidi: plaintext;
}

/* הכמות והמחיר בסליידר הם גם שדות להקלדה. נראים כמו הטקסט, עם קו תחתון עדין שמרמז שאפשר לערוך. */
.futix-slider__input {
	inline-size: 7ch;
	field-sizing: content;
	min-inline-size: 4ch;
	max-inline-size: 100%;
	padding: 0 var(--wp--preset--spacing--1);
	border: 0;
	border-block-end: 1px dashed var(--color-border);
	border-radius: 0;
	background: transparent;
	text-align: center;
	-webkit-appearance: none;
	appearance: none;
}

.futix-slider__amount.futix-slider__input {
	inline-size: 5.5ch;
}

.futix-slider__input:hover {
	border-block-end-color: var(--color-accent);
}

.futix-slider__input:focus-visible {
	outline: var(--size-focus-ring) solid var(--color-focus);
	outline-offset: var(--size-focus-ring);
	border-radius: var(--radius-sm);
}

.futix-slider__hint {
	margin: 0;
	color: var(--color-text-muted);
	font-size: var(--wp--preset--font-size--sm);
}

/* בטלפון: חבילה אחרונה שנשארה לבד תופסת את כל השורה. */
@media (max-width: 40em) { /* 640px */
	.futix-picker__packages {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.futix-picker__packages > :last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
}

.futix-picker__chosen {
	margin: 0;
	color: var(--color-text-secondary);
	unicode-bidi: plaintext;
}

.futix-contact {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--3);
}

/* ==========================================================================
   כרטיס חבילה בבוחר (עיצוב 07/10/2026): כמות גדולה למעלה, פס מחיר בתחתית.
   ========================================================================== */

.futix-pack {
	gap: var(--wp--preset--spacing--1);
	justify-items: center;
	padding: var(--wp--preset--spacing--5) var(--wp--preset--spacing--3);
	border: 1px solid var(--color-border);
	background: var(--color-surface);
	box-shadow: none;
	text-align: center;
}

.futix-pack::before {
	display: none;
}

.futix-pack__top {
	display: grid;
	gap: var(--wp--preset--spacing--1);
	justify-items: center;
}

.futix-pack__amount {
	color: var(--color-accent);
	font-size: var(--wp--preset--font-size--2-xl);
	letter-spacing: 0.02em;
}

.futix-pack__price {
	margin-block-start: var(--wp--preset--spacing--2);
	color: var(--color-text);
	font-family: var(--font-heading);
	font-size: var(--wp--preset--font-size--xl);
	font-weight: 800;
}

.futix-pack:hover {
	border-color: var(--color-accent-soft);
	background: var(--color-surface-raised);
}

.futix-pack:has(input:checked),
.futix-pack.is-selected {
	border: 2px solid var(--color-accent);
	background: var(--color-surface-raised);
	box-shadow: var(--glow);
	transform: translateY(-2px);
}

.futix-pack .futix-package-card__check {
	inset-block-start: var(--wp--preset--spacing--2);
	inset-inline-end: var(--wp--preset--spacing--2);
	padding: var(--wp--preset--spacing--1);
	border-radius: var(--radius-full);
	background: var(--color-accent);
	color: var(--color-on-action);
}

/* בטלפון: החבילה הגדולה ברוחב מלא, כמות מימין ומחיר משמאל */
@media (max-width: 40em) {
	.futix-picker__packages > .futix-pack:last-child:nth-child(odd) {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding-inline: var(--wp--preset--spacing--5);
		text-align: start;
	}

	.futix-picker__packages > .futix-pack:last-child:nth-child(odd) .futix-pack__top {
		justify-items: start;
	}

	.futix-picker__packages > .futix-pack:last-child:nth-child(odd) .futix-pack__price {
		margin: 0;
		font-size: var(--wp--preset--font-size--2-xl);
	}
}

/* טאבלט: שלוש בשורה */
@media (min-width: 40.01em) and (max-width: 63.99em) {
	.futix-picker__packages {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* מחשב: הבחירה מימין, סיכום קבוע משמאל, וכל החבילות בשורה אחת */
@media (min-width: 64em) { /* 1024px */
	.futix-picker {
		grid-template-columns: minmax(0, 1fr) calc(var(--wp--preset--spacing--9) * 3.5);
		column-gap: var(--wp--preset--spacing--6);
		align-items: start;
	}

	.futix-picker > fieldset,
	.futix-picker > .futix-picker__trial {
		grid-column: 1;
	}

	.futix-picker__summary {
		position: sticky;
		inset-block-start: calc(var(--wp--preset--spacing--9) + var(--wp--preset--spacing--4));
		grid-column: 2;
		grid-row: 1 / span 2;
	}

	.futix-picker__packages {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.futix-home-buy {
		max-inline-size: calc(var(--wp--style--global--wide-size) + var(--wp--preset--spacing--4) * 2);
	}
}

/* ==========================================================================
   כפתור "הוספה לסל" בכל חבילה ותווית שיווקית (PRO) - בקשת דין, 07/10/2026
   ========================================================================== */

.futix-pack__buy {
	display: grid;
	gap: var(--wp--preset--spacing--2);
	justify-items: center;
	margin-block-start: var(--wp--preset--spacing--2);
}

.futix-pack__buy .futix-pack__price {
	margin: 0;
}

.futix-pack__add {
	box-sizing: border-box;
	min-block-size: var(--wp--preset--spacing--7);
	padding-inline: var(--wp--preset--spacing--4);
	border: 1px solid var(--color-accent);
	border-radius: var(--radius-full);
	background: transparent;
	color: var(--color-accent);
	font-family: var(--font-heading);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 700;
	cursor: pointer;
	transition: background-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-pop);
}

.futix-pack__add:hover,
.futix-pack:has(input:checked) .futix-pack__add {
	background: var(--color-action);
	color: var(--color-on-action);
	border-color: transparent;
}

.futix-pack__add:active {
	transform: scale(0.96);
}

.futix-pack__add:focus-visible {
	outline: var(--size-focus-ring) solid var(--color-focus);
	outline-offset: var(--size-focus-ring);
}

.futix-pack__label {
	display: inline-flex;
	gap: var(--wp--preset--spacing--1);
	align-items: baseline;
	margin-block-end: var(--wp--preset--spacing--1);
	color: var(--color-text-secondary);
	font-family: var(--font-heading);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 700;
}

.futix-pack__label-word {
	background: var(--color-brand);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--xl);
	font-weight: 400;
	letter-spacing: 0.06em;
	line-height: 1;
	filter: drop-shadow(0 0 6px color-mix(in srgb, var(--wp--preset--color--turq-400) 45%, transparent));
}

.futix-pack--labeled {
	border-color: var(--color-accent-soft);
}

/* טלפון: החבילה הרחבה - כמות מימין, PRO במרכז, מחיר וכפתור משמאל */
@media (max-width: 40em) {
	.futix-picker__packages > .futix-pack:last-child:nth-child(odd) {
		gap: var(--wp--preset--spacing--3);
	}

	.futix-picker__packages > .futix-pack--labeled:last-child:nth-child(odd) .futix-pack__label {
		order: 1;
		flex-direction: column;
		align-items: center;
		gap: 0;
		margin: 0;
	}

	.futix-picker__packages > .futix-pack--labeled:last-child:nth-child(odd) .futix-pack__label-word {
		font-size: var(--wp--preset--font-size--2-xl);
	}

	.futix-picker__packages > .futix-pack:last-child:nth-child(odd) .futix-pack__top {
		order: 0;
	}

	.futix-picker__packages > .futix-pack:last-child:nth-child(odd) .futix-pack__buy {
		order: 2;
		margin: 0;
	}
}

/* טאבלט ומחשב: התווית כתג על המסגרת העליונה, כדי שכל הכרטיסים יישארו מיושרים */
@media (min-width: 40.01em) {
	.futix-pack--labeled {
		overflow: visible;
	}

	.futix-pack--labeled .futix-pack__label {
		position: absolute;
		inset-block-start: 0;
		inset-inline-start: 50%;
		margin: 0;
		padding: var(--wp--preset--spacing--1) var(--wp--preset--spacing--3);
		border: 1px solid var(--color-accent-soft);
		border-radius: var(--radius-full);
		background: var(--color-bg);
		white-space: nowrap;
		transform: translate(50%, -50%);
	}

	[dir="ltr"] .futix-pack--labeled .futix-pack__label {
		transform: translate(-50%, -50%);
	}

	.futix-pack--labeled .futix-pack__label-word {
		font-size: var(--wp--preset--font-size--lg);
	}

	.futix-picker__packages {
		padding-block-start: var(--wp--preset--spacing--3);
	}
}

/* באנר עוגיות (PRD 3.17): אישור ודחייה באותו משקל */
.futix-consent {
	position: fixed;
	inset-inline: var(--wp--preset--spacing--3);
	inset-block-end: var(--wp--preset--spacing--3);
	z-index: 70;
	display: grid;
	gap: var(--wp--preset--spacing--3);
	max-inline-size: calc(var(--wp--preset--spacing--9) * 7);
	margin-inline: auto;
	padding: var(--wp--preset--spacing--4);
	background: var(--color-surface-raised);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	color: var(--color-text);
}

.futix-consent[hidden] {
	display: none;
}

.futix-consent__text {
	margin: 0;
	font-size: var(--wp--preset--font-size--sm);
	line-height: 1.6;
}

.futix-consent__text a {
	color: var(--color-accent);
	text-decoration: underline;
}

.futix-consent__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--wp--preset--spacing--2);
}

.futix-consent__btn {
	inline-size: 100%;
	min-inline-size: 0;
}

/* ==========================================================================
   כרטיס חבילה עם תמונה (עיצוב 08/10/2026, ui-ux-pro-max):
   זרקור כחול מאחורי המטבעות, תמונה בגודל קבוע שבה כמות המטבעות מראה את הכמות,
   כפתור ברוחב מלא, וחבילת PRO בזהב.
   ========================================================================== */

.futix-pack {
	position: relative;
	overflow: hidden;
	gap: 0;
	padding: var(--wp--preset--spacing--3) var(--wp--preset--spacing--3) var(--wp--preset--spacing--4);
	background:
		radial-gradient(ellipse 85% 48% at 50% 24%, color-mix(in srgb, var(--wp--preset--color--blue-500) 30%, transparent), transparent 72%),
		var(--color-surface);
}

.futix-pack:hover,
.futix-pack:has(input:checked) {
	background:
		radial-gradient(ellipse 85% 48% at 50% 24%, color-mix(in srgb, var(--wp--preset--color--turq-400) 26%, transparent), transparent 72%),
		var(--color-surface-raised);
}

.futix-pack__art {
	display: block;
	align-self: center;
	inline-size: 78%;
	max-inline-size: calc(var(--wp--preset--spacing--9) * 1.3);
	margin-inline: auto;
	margin-block-end: var(--wp--preset--spacing--1);
}

/* הגובה נקבע לפי התמונה עצמה (width/height בתבנית), בלי אחוזי גובה - כך גם בספארי ישן */
.futix-pack__art img {
	display: block;
	inline-size: 100%;
	block-size: auto;
	transition: transform var(--duration-base) var(--ease-pop);
}

.futix-pack:hover .futix-pack__art img,
.futix-pack:has(input:checked) .futix-pack__art img {
	transform: translateY(calc(-1 * var(--wp--preset--spacing--1))) scale(1.05);
}

.futix-pack__buy {
	inline-size: 100%;
}

.futix-pack__add {
	inline-size: 100%;
	min-block-size: var(--size-touch);
}

/* כרטיס קומפקטי יותר (בקשת דין, 08/10/2026) */
.futix-pack .futix-pack__amount {
	font-size: var(--wp--preset--font-size--xl);
}

.futix-pack .futix-package-card__full {
	font-size: var(--wp--preset--font-size--sm);
}

.futix-pack .futix-pack__price {
	margin-block: var(--wp--preset--spacing--2);
	font-size: var(--wp--preset--font-size--lg);
}

.futix-pack .futix-pack__buy {
	gap: 0;
}

/* חבילת PRO: מסגרת וזוהר זהב, תג זהב */
.futix-pack--labeled {
	border-color: color-mix(in srgb, var(--wp--preset--color--amber-400) 70%, transparent);
	background:
		radial-gradient(ellipse 85% 48% at 50% 24%, color-mix(in srgb, var(--wp--preset--color--amber-400) 22%, transparent), transparent 72%),
		var(--color-surface);
}

.futix-pack--labeled:hover,
.futix-pack--labeled:has(input:checked) {
	border-color: var(--wp--preset--color--amber-400);
	box-shadow: 0 0 var(--wp--preset--spacing--5) color-mix(in srgb, var(--wp--preset--color--amber-400) 35%, transparent);
}

.futix-pack--labeled .futix-pack__label-word {
	background: linear-gradient(135deg, var(--wp--preset--color--amber-400), var(--wp--preset--color--white) 55%, var(--wp--preset--color--amber-400));
	-webkit-background-clip: text;
	background-clip: text;
}

@media (min-width: 40.01em) {
	.futix-pack--labeled .futix-pack__label {
		border-color: var(--wp--preset--color--amber-400);
	}
}

/* טלפון: החבילה הרחבה - תמונה בצד אחד, ובצד השני כמות, PRO, מחיר וכפתור אחד מתחת לשני */
@media (max-width: 40em) {
	.futix-picker__packages > .futix-pack:last-child:nth-child(odd) {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		grid-auto-flow: row dense;
		column-gap: var(--wp--preset--spacing--4);
		row-gap: var(--wp--preset--spacing--1);
		align-items: center;
		justify-items: center;
		padding-block: var(--wp--preset--spacing--4);
		padding-inline: var(--wp--preset--spacing--4);
		text-align: center;
		background:
			radial-gradient(ellipse 45% 90% at 82% 50%, color-mix(in srgb, var(--wp--preset--color--amber-400) 22%, transparent), transparent 75%),
			var(--color-surface);
	}

	.futix-picker__packages > .futix-pack:last-child:nth-child(odd) > * {
		grid-column: 2;
		min-inline-size: 0;
		order: 0;
	}

	.futix-picker__packages > .futix-pack:last-child:nth-child(odd) > .futix-pack__art {
		grid-column: 1;
		grid-row: 1 / span 4;
		inline-size: calc(var(--wp--preset--spacing--9) * 1.05);
		max-inline-size: none;
		margin: 0;
	}

	/* רוחב קבוע לתמונה עצמה, בלי תלות בגודל התיבה שמסביב */
	.futix-picker__packages > .futix-pack:last-child:nth-child(odd) > .futix-pack__art img {
		inline-size: calc(var(--wp--preset--spacing--9) * 1.05);
		block-size: auto;
	}

	.futix-picker__packages > .futix-pack:last-child:nth-child(odd) > .futix-package-card__check {
		grid-column: auto;
	}

	.futix-picker__packages > .futix-pack:last-child:nth-child(odd) .futix-pack__top {
		justify-items: center;
	}

	.futix-picker__packages > .futix-pack--labeled:last-child:nth-child(odd) .futix-pack__label {
		flex-direction: row;
		gap: var(--wp--preset--spacing--1);
	}

	.futix-picker__packages > .futix-pack--labeled:last-child:nth-child(odd) .futix-pack__label-word {
		font-size: var(--wp--preset--font-size--xl);
	}

	.futix-picker__packages > .futix-pack:last-child:nth-child(odd) .futix-pack__buy {
		inline-size: 100%;
	}

	.futix-picker__packages > .futix-pack:last-child:nth-child(odd) .futix-pack__price {
		margin: 0;
		font-size: var(--wp--preset--font-size--xl);
	}

	.futix-picker__packages > .futix-pack:last-child:nth-child(odd) .futix-pack__add {
		inline-size: 100%;
	}
}

/* טאבלט ומחשב: תג ה-PRO יושב על המסגרת, אז הכרטיס לא חותך אותו */
@media (min-width: 40.01em) {
	.futix-pack--labeled {
		overflow: visible;
	}
}

/* מסך צר מאוד (פחות מ-360px): בלי תמונה בחבילה הרחבה, כדי שהמחיר לא ייחתך */
@media (max-width: 22.49em) {
	.futix-picker__packages > .futix-pack:last-child:nth-child(odd) .futix-pack__art {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.futix-pack__art img {
		transition: none;
	}
}

/* ==========================================================================
   תפריט נגישות (PRD 3.18): כפתור בפינה, ותפריט התאמות
   ========================================================================== */

.futix-a11y {
	position: fixed;
	inset-block-end: var(--wp--preset--spacing--4);
	inset-inline-start: var(--wp--preset--spacing--4);
	z-index: 61;
	display: grid;
	justify-items: start;
	gap: var(--wp--preset--spacing--2);
}

.futix-a11y__toggle {
	display: grid;
	place-items: center;
	inline-size: calc(var(--size-touch) + var(--wp--preset--spacing--2));
	block-size: calc(var(--size-touch) + var(--wp--preset--spacing--2));
	padding: 0;
	border: 2px solid var(--color-white);
	border-radius: var(--radius-full);
	background: var(--wp--preset--color--blue-500);
	color: var(--color-white);
	box-shadow: var(--shadow-card);
	cursor: pointer;
}

/* בטלפון הכפתור קטן יותר ונצמד יותר לפינה (בקשת דין 08/11/2026). עדיין מעל 24 פיקסלים שהתקן דורש */
@media (max-width: 40em) { /* 640px */
	.futix-a11y {
		inset-block-end: var(--wp--preset--spacing--3);
		inset-inline-start: var(--wp--preset--spacing--3);
	}

	.futix-a11y__toggle {
		inline-size: calc(var(--size-touch) * 0.85);
		block-size: calc(var(--size-touch) * 0.85);
		border-width: 1.5px;
	}

	.futix-a11y__toggle svg {
		inline-size: 60%;
		block-size: 60%;
	}
}

.futix-a11y__toggle:focus-visible,
.futix-a11y__option:focus-visible,
.futix-a11y__reset:focus-visible,
.futix-a11y__link:focus-visible {
	outline: var(--size-focus-ring) solid var(--color-focus);
	outline-offset: var(--size-focus-ring);
}

/* התפריט נפתח מעל הכפתור */
.futix-a11y__panel {
	order: -1;
	display: grid;
	gap: var(--wp--preset--spacing--2);
	box-sizing: border-box;
	inline-size: min(calc(100vw - 2 * var(--wp--preset--spacing--4)), calc(var(--wp--preset--spacing--9) * 3.2));
	padding: var(--wp--preset--spacing--4);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	background: var(--color-surface-raised);
	color: var(--color-text);
	box-shadow: var(--shadow-card);
}

.futix-a11y__panel[hidden] {
	display: none;
}

/* התפריט גדל: גלילה בתוכו כשהמסך נמוך */
.futix-a11y__panel {
	max-block-size: calc(100vh - var(--size-touch) * 2 - var(--wp--preset--spacing--6));
	overflow-y: auto;
}

.futix-a11y__steppers {
	display: grid;
	gap: var(--wp--preset--spacing--2);
}

.futix-a11y__stepper {
	display: grid;
	grid-template-columns: 1fr auto auto auto;
	align-items: center;
	gap: var(--wp--preset--spacing--1);
}

.futix-a11y__stepper-label {
	font-size: var(--wp--preset--font-size--sm);
}

.futix-a11y__step {
	inline-size: var(--size-touch);
	block-size: var(--size-touch);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	background: var(--color-surface);
	color: var(--color-text);
	font: inherit;
	font-size: var(--wp--preset--font-size--lg);
	font-weight: 700;
	cursor: pointer;
}

.futix-a11y__step:disabled {
	opacity: 0.4;
	cursor: default;
}

.futix-a11y__step:focus-visible {
	outline: var(--size-focus-ring) solid var(--color-focus);
	outline-offset: var(--size-focus-ring);
}

.futix-a11y__step-value {
	min-inline-size: 4ch;
	text-align: center;
	font-size: var(--wp--preset--font-size--sm);
	font-variant-numeric: tabular-nums;
}

.futix-a11y__title {
	margin: 0;
	font-family: var(--font-heading);
	font-weight: 700;
}

.futix-a11y__options {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--wp--preset--spacing--2);
}

.futix-a11y__option,
.futix-a11y__reset {
	min-block-size: var(--size-touch);
	padding: var(--wp--preset--spacing--2);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	background: var(--color-surface);
	color: var(--color-text);
	font: inherit;
	font-size: var(--wp--preset--font-size--sm);
	cursor: pointer;
}

.futix-a11y__option[aria-pressed="true"] {
	border-color: var(--color-accent);
	background: var(--color-action);
	color: var(--color-on-action);
	font-weight: 700;
}

.futix-a11y__link {
	color: var(--color-accent);
	font-size: var(--wp--preset--font-size--sm);
}

/* ההתאמות עצמן, על html */
/* גודל טקסט במדרגות: המשתנה נקבע בתפריט (100%-160%) */
html.futix-a11y-size {
	font-size: calc(100% * var(--futix-a11y-size, 1));
}

html.futix-a11y-links a {
	text-decoration: underline !important;
	text-underline-offset: 0.2em;
	outline: 1px dashed currentColor;
	outline-offset: 2px;
}

html.futix-a11y-motion *,
html.futix-a11y-motion *::before,
html.futix-a11y-motion *::after {
	animation: none !important;
	transition: none !important;
	scroll-behavior: auto !important;
}

html.futix-a11y-font body,
html.futix-a11y-font body * {
	font-family: Arial, "Arial Hebrew", sans-serif !important;
	letter-spacing: 0.01em;
}

html.futix-a11y-contrast body,
html.futix-a11y-contrast body * {
	background-image: none !important;
	box-shadow: none !important;
	text-shadow: none !important;
}

html.futix-a11y-contrast body,
html.futix-a11y-contrast main,
html.futix-a11y-contrast section,
html.futix-a11y-contrast header,
html.futix-a11y-contrast footer,
html.futix-a11y-contrast li,
html.futix-a11y-contrast label,
html.futix-a11y-contrast details,
html.futix-a11y-contrast div {
	background-color: var(--wp--preset--color--navy-950) !important;
	color: var(--wp--preset--color--white) !important;
}

html.futix-a11y-contrast a {
	color: var(--wp--preset--color--amber-400) !important;
}

html.futix-a11y-contrast button,
html.futix-a11y-contrast .futix-button {
	background: var(--wp--preset--color--white) !important;
	color: var(--wp--preset--color--navy-950) !important;
	border: 2px solid var(--wp--preset--color--white) !important;
}

html.futix-a11y-contrast .futix-text-brand {
	-webkit-text-fill-color: currentColor;
	color: var(--wp--preset--color--white) !important;
}

/* ריווח שורות ופסקאות: לפי WCAG 1.4.12 (שורות 1.5 ומעלה, פסקאות פי 2 מגודל הגופן) */
html.futix-a11y-spacing body * {
	line-height: 1.8 !important;
}

/* ריווח מילים ואותיות במדרגות */
html.futix-a11y-word body * {
	word-spacing: calc(var(--futix-a11y-word, 0) * 1em) !important;
}

html.futix-a11y-letter body * {
	letter-spacing: calc(var(--futix-a11y-letter, 0) * 1em) !important;
}

/* מסנני צבע: ניגודיות הפוכה, גווני אפור, שחור לבן. תמונות ווידאו חוזרים לצבע הנכון בהפוכה */
html.futix-a11y-invert {
	filter: invert(1) hue-rotate(180deg);
}

html.futix-a11y-invert img,
html.futix-a11y-invert video,
html.futix-a11y-invert picture {
	filter: invert(1) hue-rotate(180deg);
}

html.futix-a11y-gray {
	filter: grayscale(1);
}

html.futix-a11y-mono {
	filter: grayscale(1) contrast(1.6);
}

/* הסתרת תמונות: התמונות נעלמות, הטקסט החלופי נשאר לקוראי מסך */
html.futix-a11y-images img,
html.futix-a11y-images picture,
html.futix-a11y-images video {
	visibility: hidden !important;
}

/* הדגשת כותרות */
html.futix-a11y-headings :is(h1, h2, h3, h4) {
	outline: 2px solid var(--color-accent) !important;
	outline-offset: 4px;
	background-color: color-mix(in srgb, var(--color-accent) 12%, transparent) !important;
}

/* הקראת טקסט: הסמן מראה שאפשר ללחוץ, והקטע שמוקרא מודגש */
html.futix-a11y-speech main :is(p, li, h1, h2, h3, h4, summary, label, td, th, figcaption) {
	cursor: pointer;
}

.futix-a11y-reading {
	outline: 3px solid var(--color-accent) !important;
	outline-offset: 3px;
	background-color: color-mix(in srgb, var(--color-accent) 14%, transparent) !important;
}

html.futix-a11y-spacing body p {
	margin-block-end: 2em !important;
}

/* סמן גדול בהיר: חץ לבן עם מסגרת שחורה */
html.futix-a11y-cursor-light,
html.futix-a11y-cursor-light body * {
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 11-6.5 1 3.8 7.2-2.7 1.4-3.8-7.2L4 20z' fill='white' stroke='black' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 6 3, auto !important;
}

/* סמן גדול: חץ שחור עם מסגרת לבנה, בולט על כל רקע */
html.futix-a11y-cursor,
html.futix-a11y-cursor body * {
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 11-6.5 1 3.8 7.2-2.7 1.4-3.8-7.2L4 20z' fill='black' stroke='white' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 6 3, auto !important;
}

/* סרגל קריאה: פס שקוף שעוקב אחרי העכבר. מוצג רק כשההתאמה פעילה */
.futix-a11y-guide-bar {
	display: none;
}

html.futix-a11y-guide .futix-a11y-guide-bar {
	position: fixed;
	top: 50%;
	inset-inline: 0;
	z-index: 60;
	display: block;
	block-size: calc(var(--size-touch) * 0.9);
	border-block: 3px solid var(--color-accent);
	background: color-mix(in srgb, var(--color-accent) 12%, transparent);
	transform: translateY(-50%);
	pointer-events: none;
}

/* בניגודיות גבוהה: רואים איזו התאמה פעילה */
html.futix-a11y-contrast .futix-a11y__option[aria-pressed="true"] {
	background: var(--wp--preset--color--amber-400) !important;
	color: var(--wp--preset--color--navy-950) !important;
	border-color: var(--wp--preset--color--amber-400) !important;
}

/* בניגודיות גבוהה הסרגל נשאר שקוף, אחרת הוא מסתיר את הטקסט */
html.futix-a11y-contrast .futix-a11y-guide-bar {
	background-color: transparent !important;
	border-color: var(--wp--preset--color--amber-400) !important;
}

/* שגיאה שעוד לא הופיעה נשארת מוסתרת (המחלקה הכללית מגדירה display: flex) */
.futix-field__error[hidden] {
	display: none;
}

/* ==========================================================================
   עוזר באתר - צ'אט בלי AI (PRD 3.8א). במקום כפתור הוואטסאפ הצף, באותה פינה.
   בטלפון: גיליון מלמטה. במחשב: חלון ליד הכפתור, שנפתח ממנו.
   ========================================================================== */

.futix-chat__launcher {
	position: fixed;
	inset-block-end: var(--wp--preset--spacing--4);
	inset-inline-end: var(--wp--preset--spacing--4);
	z-index: 60;
	display: inline-flex;
	gap: var(--wp--preset--spacing--2);
	align-items: center;
	min-block-size: var(--size-touch);
	padding: var(--wp--preset--spacing--2) var(--wp--preset--spacing--4);
	border: 0;
	border-radius: var(--radius-full);
	background: var(--color-action);
	color: var(--color-on-action);
	font-family: var(--font-heading);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 700;
	box-shadow: var(--shadow-card);
	cursor: pointer;
	transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}

.futix-chat__launcher:hover {
	box-shadow: var(--shadow-card), var(--glow);
}

.futix-chat__launcher:active {
	transform: scale(0.96);
}

.futix-chat.is-open .futix-chat__launcher {
	visibility: hidden;
}

@media (max-width: 47.99em) {
	.futix-chat__launcher {
		justify-content: center;
		inline-size: calc(var(--size-touch) + var(--wp--preset--spacing--3));
		block-size: calc(var(--size-touch) + var(--wp--preset--spacing--3));
		padding: 0;
	}

	.futix-chat__launcher-label {
		position: absolute;
		inline-size: 1px;
		block-size: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}
}

.futix-chat__dialog {
	inline-size: 100%;
	max-inline-size: 100%;
	block-size: min(85dvh, 44rem);
	max-block-size: 100dvh;
	margin: auto 0 0;
	padding: 0;
	border: 0;
	border-start-start-radius: var(--radius-lg);
	border-start-end-radius: var(--radius-lg);
	background: var(--color-surface);
	color: var(--color-text);
	box-shadow: var(--shadow-card);
	overscroll-behavior: contain;
}

.futix-chat__dialog::backdrop {
	background: rgb(0 10 30 / 0.55);
}

@media (min-width: 48em) {
	.futix-chat__dialog {
		position: fixed;
		inset-block: auto var(--wp--preset--spacing--4);
		inset-inline: auto var(--wp--preset--spacing--4);
		inline-size: 24rem;
		block-size: min(40rem, calc(100dvh - var(--wp--preset--spacing--8)));
		margin: 0;
		border: 1px solid var(--color-border);
		border-radius: var(--radius-lg);
		transform-origin: bottom left;
	}

	[dir="ltr"] .futix-chat__dialog {
		transform-origin: bottom right;
	}

	.futix-chat__dialog::backdrop {
		background: rgb(0 10 30 / 0.25);
	}
}

.futix-chat__dialog[open] {
	animation: futix-chat-in var(--duration-base) var(--ease-out);
}

@keyframes futix-chat-in {
	from { opacity: 0; transform: translateY(var(--wp--preset--spacing--4)) scale(0.98); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.futix-chat__dialog[open] {
		animation: none;
	}
}

.futix-chat__panel {
	display: flex;
	flex-direction: column;
	block-size: 100%;
}

.futix-chat__head {
	display: flex;
	gap: var(--wp--preset--spacing--3);
	align-items: center;
	justify-content: space-between;
	padding: var(--wp--preset--spacing--3) var(--wp--preset--spacing--4);
	border-block-end: 1px solid var(--color-border);
}

.futix-chat__title {
	margin: 0;
	font-family: var(--font-heading);
	font-size: var(--wp--preset--font-size--lg);
	font-weight: 800;
	line-height: 1.2;
}

.futix-chat__sub {
	margin: 0;
	color: var(--color-text-muted);
	font-size: var(--wp--preset--font-size--sm);
}

.futix-chat__close {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	inline-size: var(--size-touch);
	block-size: var(--size-touch);
	padding: 0;
	border: 0;
	border-radius: var(--radius-full);
	background: var(--color-surface-raised);
	color: var(--color-text);
	cursor: pointer;
}

.futix-chat__log {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: var(--wp--preset--spacing--3);
	padding: var(--wp--preset--spacing--4);
	overflow-y: auto;
	overscroll-behavior: contain;
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	.futix-chat__log {
		scroll-behavior: auto;
	}
}

.futix-chat__msg {
	max-inline-size: 90%;
	padding: var(--wp--preset--spacing--3);
	border-radius: var(--radius-md);
	font-size: var(--wp--preset--font-size--base);
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.futix-chat__msg > :first-child {
	margin-block-start: 0;
}

.futix-chat__msg > :last-child {
	margin-block-end: 0;
}

.futix-chat__msg p {
	margin-block: 0 var(--wp--preset--spacing--2);
}

.futix-chat__msg--bot {
	align-self: flex-start;
	border-start-start-radius: var(--radius-sm);
	background: var(--color-surface-raised);
}

.futix-chat__msg--user {
	align-self: flex-end;
	border-start-end-radius: var(--radius-sm);
	background: var(--color-action);
	color: var(--color-on-action);
	font-weight: 500;
}

.futix-chat__msg a {
	color: var(--color-accent);
}

.futix-chat__q {
	font-family: var(--font-heading);
	font-weight: 700;
}

.futix-chat__list {
	margin: 0 0 var(--wp--preset--spacing--2);
	padding-inline-start: var(--wp--preset--spacing--4);
}

.futix-chat__list li + li {
	margin-block-start: var(--wp--preset--spacing--1);
}

.futix-chat__msg .futix-chat__link {
	display: flex;
	align-items: center;
	justify-content: center;
	min-block-size: var(--size-touch);
	margin-block-start: var(--wp--preset--spacing--2);
	padding: var(--wp--preset--spacing--2) var(--wp--preset--spacing--4);
	border: 1px solid var(--color-accent);
	border-radius: var(--radius-full);
	color: var(--color-accent);
	font-family: var(--font-heading);
	font-weight: 700;
	text-decoration: none;
}

.futix-chat__msg .futix-chat__link--wa {
	border-color: var(--color-action);
	background: var(--color-action);
	color: var(--color-on-action);
}

.futix-chat__note {
	margin-block: var(--wp--preset--spacing--2) 0;
	color: var(--color-text-muted);
	font-size: var(--wp--preset--font-size--sm);
}

.futix-chat__related {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--2);
	margin-block-start: var(--wp--preset--spacing--3);
}

.futix-chat__related-title {
	inline-size: 100%;
	margin: 0;
	color: var(--color-text-muted);
	font-size: var(--wp--preset--font-size--sm);
}

.futix-chat__chips {
	display: flex;
	gap: var(--wp--preset--spacing--2);
	padding: var(--wp--preset--spacing--2) var(--wp--preset--spacing--4);
	overflow-x: auto;
	scrollbar-width: none;
}

.futix-chat__chips:empty {
	display: none;
}

.futix-chat__chip {
	flex-shrink: 0;
	min-block-size: var(--size-touch);
	padding: var(--wp--preset--spacing--1) var(--wp--preset--spacing--3);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-full);
	background: var(--color-bg);
	color: var(--color-text);
	font: inherit;
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 500;
	text-align: start;
	cursor: pointer;
	transition: transform var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out);
}

.futix-chat__related .futix-chat__chip {
	flex-shrink: 1;
}

.futix-chat__chip:hover {
	border-color: var(--color-accent);
}

.futix-chat__chip:active {
	transform: scale(0.96);
}

.futix-chat__form {
	display: flex;
	gap: var(--wp--preset--spacing--2);
	padding: var(--wp--preset--spacing--2) var(--wp--preset--spacing--4) var(--wp--preset--spacing--3);
}

/* 16 פיקסלים לפחות: אחרת אייפון מגדיל את העמוד כשנוגעים בשדה. */
.futix-chat__input {
	flex: 1;
	min-inline-size: 0;
	min-block-size: var(--input-min-height);
	padding-inline: var(--wp--preset--spacing--4);
	border: 1px solid var(--input-border);
	border-radius: var(--radius-full);
	background: var(--input-bg);
	color: var(--input-fg);
	font: inherit;
	font-size: max(1rem, var(--wp--preset--font-size--base));
}

.futix-chat__send {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	inline-size: var(--input-min-height);
	block-size: var(--input-min-height);
	padding: 0;
	border: 0;
	border-radius: var(--radius-full);
	background: var(--color-action);
	color: var(--color-on-action);
	cursor: pointer;
}

.futix-chat__send:active {
	transform: scale(0.94);
}

.futix-chat__human {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--1) var(--wp--preset--spacing--3);
	align-items: center;
	padding: var(--wp--preset--spacing--2) var(--wp--preset--spacing--4) max(var(--wp--preset--spacing--3), env(safe-area-inset-bottom));
	border-block-start: 1px solid var(--color-border);
	font-size: var(--wp--preset--font-size--sm);
}

.futix-chat__wa,
.futix-chat__ig {
	display: inline-flex;
	gap: var(--wp--preset--spacing--1);
	align-items: center;
	min-block-size: var(--size-touch);
	color: var(--color-accent);
	font-weight: 700;
	text-decoration: none;
}

.futix-chat__hours {
	flex: 1 1 12rem;
	margin: 0;
	color: var(--color-text-muted);
}

.futix-chat__launcher:focus-visible,
.futix-chat__close:focus-visible,
.futix-chat__chip:focus-visible,
.futix-chat__send:focus-visible,
.futix-chat__input:focus-visible,
.futix-chat__log:focus-visible,
.futix-chat a:focus-visible {
	outline: var(--size-focus-ring) solid var(--color-focus);
	outline-offset: var(--size-focus-ring);
}
