/* NT Delivery Area 1.3.1 - תיקוני RTL לשדה העיר + עיצוב בודק המשלוח */

.select2-container--open .select2-dropdown {
	direction: rtl;
	text-align: right;
}

.select2-container--open .select2-search__field {
	direction: rtl;
	text-align: right;
}

.select2-container .select2-results__option {
	text-align: right;
}

/* ===== בודק משלוח - כרטיס נקי ===== */

.ntda-banner {
	background: #fff;
	border: 1px solid #ececec;
	border-inline-start: 4px solid #d63d47; /* אדום המותג של כפתורי החנות */
	border-radius: 10px;
	padding: 16px 20px;
	margin-bottom: 24px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
	font-size: 15px;
}

.ntda-banner__row {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.ntda-banner__text {
	font-weight: 600;
	color: #2b2b2b;
}

.ntda-checker__input {
	flex: 0 1 240px;
	padding: 8px 14px;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #fafafa;
	color: #333;
	font-size: 14px;
	line-height: 1.4;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.ntda-checker__input:focus {
	outline: none;
	border-color: #d63d47;
	background: #fff;
}

.ntda-checker__result {
	margin-top: 8px;
	font-weight: 600;
	font-size: 14px;
	text-align: center;
}

.ntda-checker__suggestions {
	justify-content: center;
}

.ntda-checker__result:empty {
	display: none;
}

.ntda-checker__result.is-ok {
	color: #1e7e34;
}

.ntda-checker__result.is-no {
	color: #b02a37;
}

.ntda-checker__suggestions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.ntda-checker__suggestions:empty {
	display: none;
}

.ntda-checker__chip {
	border: 1px solid #d63d47;
	background: #fff;
	color: #d63d47;
	border-radius: 999px;
	padding: 4px 14px;
	font-size: 13px;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.ntda-checker__chip:hover {
	background: #d63d47;
	color: #fff;
}

@media (max-width: 576px) {
	.ntda-banner__row {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}

	.ntda-checker__input {
		flex: 1 1 auto;
	}
}

/* ===== חלונית צפה ===== */

.ntda-popup {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 12vh 16px 16px;
}

.ntda-popup[hidden] {
	display: none;
}

.ntda-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.ntda-popup__box {
	position: relative;
	width: 100%;
	max-width: 480px;
	animation: ntda-pop 0.18s ease-out;
}

.ntda-popup__box .ntda-banner {
	margin-bottom: 0;
	padding: 46px 24px 24px; /* מקום ל-X למעלה */
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

/* כפתור סגירה - מוקשח נגד עיצוב כפתורים גלובלי של התבנית */
button.ntda-popup__close,
.ntda-popup__close {
	position: absolute !important;
	top: 10px !important;
	left: 12px !important; /* RTL - פינה שמאלית */
	right: auto !important;
	z-index: 3 !important;
	width: 32px !important;
	height: 32px !important;
	min-height: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: #f2f2f2 !important;
	box-shadow: none !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 20px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	color: #777 !important;
	text-transform: none !important;
	cursor: pointer !important;
	transition: background 0.15s ease, color 0.15s ease;
}

button.ntda-popup__close:hover,
.ntda-popup__close:hover {
	background: #d63d47 !important;
	color: #fff !important;
}

@keyframes ntda-pop {
	from {
		opacity: 0;
		transform: translateY(-8px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* ===== שורת מינימום הזמנה בטבלת הסיכום ===== */

.ntda-min-row td {
	background: #fff7ed;
	color: #7a4408;
	font-weight: 600;
	font-size: 13px;
	text-align: center;
	padding: 10px 12px !important;
	border-inline-start: 3px solid #e8891c;
}

