/**
 * Digima — SPA 3030
 * עיצוב הודעות הסל הצדדי ורצועת האפסייל, בשחור-לבן של המותג.
 */

/* --- הודעות הסל: מחליף את הירוק/אדום של ברירת המחדל --- */
.xoo-wsc-notices li.xoo-wsc-notice-success,
.xoo-wsc-notices li.xoo-wsc-notice-error {
	background: #000 !important;
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, 0.35) !important;
	border-radius: 0 !important;
	font-weight: 400;
	letter-spacing: 0.02em;
}

.xoo-wsc-notices li.xoo-wsc-notice-success span,
.xoo-wsc-notices li.xoo-wsc-notice-error span,
.xoo-wsc-notices li.xoo-wsc-notice-success:before,
.xoo-wsc-notices li.xoo-wsc-notice-error:before {
	color: #fff !important;
}

/* אותו טיפול גם להודעות ווקומרס אם הן מוצגות בתוך הסל */
.xoo-wsc-container .woocommerce-message,
.xoo-wsc-container .woocommerce-error,
.xoo-wsc-container .woocommerce-info {
	background: #000 !important;
	color: #fff !important;
	border-top-color: #fff !important;
}

/* --- רצועת האפסייל --- */
.digima-upsell {
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	padding: 18px 16px 6px;
	background: #000;
	color: #fff;
}

.digima-upsell__title {
	font-size: 14px;
	letter-spacing: 0.06em;
	margin: 0 0 14px;
	color: #fff;
	opacity: 0.85;
}

.digima-upsell__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.digima-upsell__item {
	display: grid;
	grid-template-columns: 52px 1fr auto;
	align-items: center;
	gap: 12px;
}

.digima-upsell__media {
	display: block;
	line-height: 0;
}

.digima-upsell__item img,
img.digima-upsell__img {
	width: 52px;
	height: 52px;
	object-fit: cover;
	display: block;
	border-radius: 0;
}

.digima-upsell__info {
	min-width: 0;
}

.digima-upsell__name {
	display: block;
	color: #fff;
	font-size: 13px;
	line-height: 1.35;
	text-decoration: none;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.digima-upsell__name:hover {
	text-decoration: underline;
}

.digima-upsell__price {
	font-size: 13px;
	margin-top: 3px;
	color: #fff;
	opacity: 0.75;
}

.digima-upsell__price del {
	opacity: 0.5;
}

/* הכפתור יורש את שפת הכפתורים של הסל: לבן מלא על שחור */
.digima-upsell .digima-upsell__add,
.digima-upsell .digima-upsell__add.button {
	background: #fff;
	color: #000;
	border: 1px solid #fff;
	border-radius: 0;
	padding: 8px 14px;
	font-size: 12px;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.digima-upsell .digima-upsell__add:hover,
.digima-upsell .digima-upsell__add.button:hover {
	background: transparent;
	color: #fff;
}

/* מצבי הטעינה של ווקומרס בתוך הרצועה */
.digima-upsell .digima-upsell__add.loading {
	opacity: 0.6;
	pointer-events: none;
}

.digima-upsell .digima-upsell__add.added {
	display: none;
}

/* קישור "הצג סל" שווקומרס מוסיף אחרי הוספה — לא נחוץ בתוך הסל עצמו */
.digima-upsell .added_to_cart {
	display: none !important;
}

/* -------------------------------------------------------------------------
 * משימה 5 (27/08) — הקטנת הכותרת "הצטרפו" בפוטר
 *
 * הכותרת מוגדרת ב-Elementor כ-60px, וגולשת אנכית מעל תפריט הצד שנפתח.
 * מקטינים אותה בצורה רספונסיבית ומונעים גלישה. הסלקטור מקושר ל-widget id
 * הספציפי (a7dd505), כך שהתיקון לא נוגע בכותרות אחרות באתר.
 * ---------------------------------------------------------------------- */
.elementor-element-a7dd505 .elementor-heading-title {
	font-size: clamp( 28px, 4.5vw, 40px ) !important;
	line-height: 1.1 !important;
	overflow-wrap: break-word !important;
	word-break: break-word !important;
	max-width: 100% !important;
}

@media (max-width: 767px) {
	.elementor-element-a7dd505 .elementor-heading-title {
		font-size: 26px !important;
	}
}

/* -------------------------------------------------------------------------
 * פופ-אפ "Special offer Hotel & Spa" (01/09 - 29/09/2026)
 *
 * שים לב: באתר יש אנימציית כניסה שמשאירה אלמנטים מוסתרים עד שהם נכנסים
 * לתצוגה (elementor-invisible). הפופ-אפ לא בנוי כווידג'ט אלמנטור ולכן לא
 * אמור להיתפס, אבל הנטרול כאן מפורש כדי שלא ייעלם בשום מצב.
 * ---------------------------------------------------------------------- */
.digima-promo,
.digima-promo * {
	animation: none !important;
	transition: none !important;
	transform: none !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.digima-promo[hidden] {
	display: none !important;
}

.digima-promo {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	direction: rtl;
}

.digima-promo__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
}

.digima-promo__box {
	position: relative;
	width: 100%;
	max-width: 420px;
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	background: #fff;
	padding: 22px 22px 26px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.digima-promo__close {
	position: absolute;
	top: 6px;
	left: 10px;
	width: 34px;
	height: 34px;
	border: 0;
	background: transparent;
	color: #000;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}

.digima-promo__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 340 / 295;
	object-fit: cover;
	margin: 6px 0 18px;
}

.digima-promo__title {
	direction: ltr;
	text-align: left;
	margin: 0 0 16px;
	font-family: 'Collingar', Georgia, 'Times New Roman', serif;
	font-weight: 400;
	font-size: clamp(28px, 7vw, 36px);
	line-height: 1.08;
	color: #111;
	letter-spacing: 0.2px;
}

.digima-promo__title span {
	display: block;
}

.digima-promo__rule {
	height: 1px;
	background: #111;
	margin: 0 0 16px;
}

.digima-promo__row {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-direction: row-reverse;
	justify-content: space-between;
}

.digima-promo__text {
	font-family: 'SYNOPSIS', Arial, sans-serif;
	font-size: 13px;
	line-height: 1.55;
	color: #111;
	text-align: right;
}

.digima-promo__text p {
	margin: 0;
}

.digima-promo__cta,
.digima-promo a.digima-promo__cta {
	flex: 0 0 auto;
	display: inline-block;
	background: #000;
	color: #fff;
	font-family: 'SYNOPSIS', Arial, sans-serif;
	font-size: 15px;
	line-height: 1;
	padding: 15px 26px;
	border-radius: 999px;
	text-decoration: none;
	white-space: nowrap;
}

.digima-promo__cta:hover,
.digima-promo a.digima-promo__cta:hover {
	background: #222;
	color: #fff;
	text-decoration: none;
}

.digima-promo__cta:focus-visible {
	outline: 2px solid #000;
	outline-offset: 3px;
}

html.digima-promo-open {
	overflow: hidden;
}

@media (max-width: 420px) {
	.digima-promo__row {
		flex-direction: column-reverse;
		align-items: stretch;
		gap: 16px;
	}
	.digima-promo__cta {
		text-align: center;
	}
}
