/* רצועת המלצות - נעה שפרן */

.noa-tst {
	--noa-tst-w: 286px;
	--noa-tst-gap: 18px;
	--noa-tst-radius: 20px;
	--noa-tst-max-h: 555px;

	position: relative;
	direction: rtl;
}

.noa-tst--bleed {
	width: 100vw;
	max-width: 100vw;
	margin-inline-start: calc(50% - 50vw);
	margin-inline-end: calc(50% - 50vw);
}

.noa-tst__viewport {
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-ms-overflow-style: none;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
	cursor: grab;
}

.noa-tst__viewport::-webkit-scrollbar {
	display: none;
}

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

.noa-tst.is-dragging .noa-tst__viewport {
	cursor: grabbing;
	scroll-behavior: auto;
}

.noa-tst__track {
	display: flex;
	align-items: flex-start;
	gap: var(--noa-tst-gap);
	width: max-content;
	padding-inline: var(--noa-tst-gap);
}

.noa-tst__card {
	flex: 0 0 var(--noa-tst-w);
	width: var(--noa-tst-w);
	max-height: var(--noa-tst-max-h);
	margin: 0;
	padding: 0;
	border-radius: var(--noa-tst-radius);
	overflow: hidden;
	background: #0F1419;
	line-height: 0;
	user-select: none;
}

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

.noa-tst__img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	object-position: top center;
	-webkit-user-drag: none;
	user-select: none;
	pointer-events: none;
}

/* ---- חיצים ---- */

.noa-tst__nav {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin-top: 26px;
}

.noa-tst .noa-tst__nav .noa-tst__arrow,
.noa-tst .noa-tst__nav .noa-tst__arrow:hover,
.noa-tst .noa-tst__nav .noa-tst__arrow:focus,
.noa-tst .noa-tst__nav .noa-tst__arrow:active {
	background-color: transparent;
	background-image: none;
	box-shadow: none;
	text-decoration: none;
}

.noa-tst .noa-tst__nav .noa-tst__arrow {
	appearance: none;
	width: 40px;
	height: 40px;
	min-width: 0;
	padding: 0;
	margin: 0;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #28190F;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.noa-tst .noa-tst__nav .noa-tst__arrow:hover {
	background-color: transparent;
	opacity: 0.55;
}

.noa-tst__arrow svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

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

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