/* עגלת צד - נעה שפרן */

.noa-cart {
	position: fixed;
	inset: 0;
	z-index: 99990;
	visibility: hidden;
	pointer-events: none;
	direction: rtl;
}

.noa-cart.is-open {
	visibility: visible;
	pointer-events: auto;
}

.noa-cart__overlay {
	position: absolute;
	inset: 0;
	background: rgba(107, 80, 64, 0.25);
	opacity: 0;
	transition: opacity 0.35s ease;
}

.noa-cart.is-open .noa-cart__overlay {
	opacity: 1;
}

.noa-cart__panel {
	position: absolute;
	inset-block: 0;
	left: 0;
	width: 440px;
	max-width: 100%;
	background: #FAEFEB;
	display: flex;
	flex-direction: column;
	transform: translateX(-100%);
	transition: transform 0.4s cubic-bezier(0.32, 0.72, 0.3, 1);
	box-shadow: 0 0 40px rgba(40, 25, 15, 0.12);
}

.noa-cart.is-open .noa-cart__panel {
	transform: translateX(0);
}

/* ---- כותרת ---- */

.noa-cart__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 32px 36px 22px;
	border-bottom: 1px solid rgba(40, 16, 15, 0.18);
	flex: 0 0 auto;
}

.noa-cart__title {
	margin: 0;
	padding: 0;
	font-family: "mekomi", sans-serif;
	font-weight: 500;
	font-size: 23px;
	line-height: 1.39;
	letter-spacing: 0.35px;
	color: #28100F;
}

.noa-cart .noa-cart__header .noa-cart__close {
	appearance: none;
	padding: 6px;
	margin: 0;
	cursor: pointer;
	color: #28100F;
	line-height: 0;
	min-width: 0;
	height: auto;
	transition: opacity 0.2s ease;
}

.noa-cart__close svg {
	width: 15px;
	height: 15px;
	stroke: currentColor;
	stroke-width: 1.6;
	fill: none;
	stroke-linecap: round;
}

.noa-cart__close:hover {
	opacity: 0.6;
}

.noa-cart__close:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* ---- גוף ---- */

.noa-cart__body {
	flex: 1 1 auto;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 0 36px;
}

.noa-cart__item {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 22px 0;
	border-bottom: 1px solid rgba(40, 16, 15, 0.18);
}

.noa-cart__thumb {
	flex: 0 0 96px;
	width: 96px;
}

.noa-cart__thumb a {
	display: block;
	line-height: 0;
}

.noa-cart__thumb img {
	display: block;
	width: 96px;
	height: 96px;
	object-fit: cover;
	border: 4px solid #fff;
	box-sizing: border-box;
	box-shadow: 0 2px 8px rgba(40, 25, 15, 0.1);
}

.noa-cart__info {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.noa-cart__name {
	font-family: "Ploni", sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 1.27;
	letter-spacing: 0.2px;
	color: #28100F;
}

.noa-cart__name a {
	color: inherit;
	text-decoration: none;
}

.noa-cart__name a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.noa-cart__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

/* ---- סטפר כמות ---- */

.noa-cart__qty {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	width: 64px;
	height: 28px;
	padding: 0 7px;
	border: 1px solid #28190F;
	border-radius: 26px;
	box-sizing: border-box;
	flex: 0 0 auto;
}

/*
 * מנטרל את כלל האיפוס של Hello Elementor
 * ([type=button] { border:1px solid #c36; border-radius:3px }
 *  ו-button:hover { background-color:#c36 }).
 * הסלקטורים מכוונים גבוה בכוונה כדי לגבור עליו בלי important.
 */
.noa-cart .noa-cart__qty .noa-cart__step,
.noa-cart .noa-cart__qty .noa-cart__step:hover,
.noa-cart .noa-cart__qty .noa-cart__step:focus,
.noa-cart .noa-cart__qty .noa-cart__step:active,
.noa-cart .noa-cart__header .noa-cart__close,
.noa-cart .noa-cart__header .noa-cart__close:hover,
.noa-cart .noa-cart__header .noa-cart__close:focus,
.noa-cart .noa-cart__header .noa-cart__close:active {
	background-color: transparent;
	background-image: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	text-decoration: none;
}

.noa-cart .noa-cart__qty .noa-cart__step {
	appearance: none;
	padding: 0;
	margin: 0;
	cursor: pointer;
	font-family: "Ploni", sans-serif;
	font-size: 20px;
	line-height: 1;
	color: #000;
	width: 14px;
	min-width: 0;
	height: auto;
	text-align: center;
	transition: opacity 0.2s ease;
}

.noa-cart .noa-cart__qty .noa-cart__step:hover {
	opacity: 0.55;
	color: #000;
}

.noa-cart__step:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
	border-radius: 4px;
}

.noa-cart__num {
	font-family: "Ploni", sans-serif;
	font-size: 12px;
	letter-spacing: 0.12px;
	color: #000;
	min-width: 12px;
	text-align: center;
}

.noa-cart__price {
	font-family: "Ploni", sans-serif;
	font-weight: 500;
	font-size: 14px;
	letter-spacing: 0.14px;
	color: #28100F;
	white-space: nowrap;
}

.noa-cart__price del {
	opacity: 0.5;
	margin-inline-end: 4px;
}

/* ---- סל ריק ---- */

.noa-cart__empty {
	padding: 60px 0;
	text-align: center;
	font-family: "Ploni", sans-serif;
	color: #28100F;
}

.noa-cart__empty p {
	font-size: 18px;
	margin: 0 0 18px;
}

.noa-cart__empty-link {
	display: inline-block;
	padding: 12px 28px;
	border: 1px solid #28190F;
	border-radius: 41px;
	background: #CCCEBA;
	color: #28190F;
	text-decoration: none;
	font-family: "mekomi", sans-serif;
	font-size: 16px;
}

/* ---- פוטר ---- */

.noa-cart__footer {
	flex: 0 0 auto;
	padding: 0;
}

.noa-cart__footer:empty {
	display: none;
}

.noa-cart__summary {
	background: rgba(236, 223, 213, 0.86);
	padding: 26px 36px 32px;
}

.noa-cart__summary-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
}

.noa-cart__summary-label,
.noa-cart__summary-value {
	font-family: "Ploni", sans-serif;
	font-weight: 700;
	font-size: 20px;
	letter-spacing: 0.2px;
	color: #28100F;
}

.noa-cart__checkout {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 62px;
	padding: 9px 6px;
	background: #CCCEBA;
	border: 1px solid #28190F;
	border-radius: 41px;
	color: #28190F;
	text-decoration: none;
	font-family: "mekomi", sans-serif;
	font-weight: 500;
	font-size: 20px;
	line-height: 1.4;
	transition: background-color 0.25s ease, transform 0.15s ease;
}

.noa-cart__checkout:hover {
	background: #bfc2ab;
	color: #28190F;
}

.noa-cart__checkout:active {
	transform: translateY(1px);
}

.noa-cart__sep {
	opacity: 0.55;
}

/* ---- טעינה ---- */

.noa-cart__loader {
	position: absolute;
	inset: 0;
	background: rgba(250, 239, 235, 0.6);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.noa-cart.is-busy .noa-cart__loader {
	opacity: 1;
	pointer-events: auto;
}

/* ---- מובייל ---- */

@media (max-width: 767px) {
	.noa-cart__panel {
		width: 100%;
	}

	.noa-cart__header {
		padding: 26px 24px 18px;
	}

	.noa-cart__title {
		font-size: 20px;
	}

	.noa-cart__body {
		padding: 0 24px;
	}

	.noa-cart__item {
		gap: 14px;
		padding: 18px 0;
	}

	.noa-cart__thumb,
	.noa-cart__thumb img {
		flex-basis: 82px;
		width: 82px;
	}

	.noa-cart__thumb img {
		height: 82px;
	}

	.noa-cart__name {
		font-size: 17px;
	}

	.noa-cart__footer {
		padding: 0;
	}

	.noa-cart__summary {
		padding: 22px 24px 26px;
	}

	.noa-cart__checkout {
		height: 54px;
		font-size: 17px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.noa-cart__panel,
	.noa-cart__overlay,
	.noa-cart__loader {
		transition: none;
	}
}

body.noa-cart-locked {
	overflow: hidden;
}
