.atrkadeh-brand-marquee,
.atrkadeh-brand-marquee * {
	box-sizing: border-box;
}

.atrkadeh-brand-marquee {
	width: min(1200px, calc(100% - 48px));
	margin: 72px auto;
	color: #272330;
	direction: rtl;
}

.atrkadeh-brand-marquee__heading {
	display: flex;
	margin-bottom: 20px;
	align-items: flex-end;
	justify-content: space-between;
}

.atrkadeh-brand-marquee__heading p,
.atrkadeh-brand-marquee__heading h2 {
	margin: 0;
}

.atrkadeh-brand-marquee__heading p {
	color: #817b87;
	font-size: 12px;
	font-weight: 700;
}

.atrkadeh-brand-marquee__heading h2 {
	margin-top: 5px;
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 800;
	line-height: 1.35;
}

.atrkadeh-brand-marquee__links {
	display: flex;
	align-items: center;
	gap: 10px;
}

.atrkadeh-brand-marquee__links a {
	display: inline-flex;
	min-height: 38px;
	padding: 8px 12px;
	border: 1px solid #272330;
	border-radius: 8px;
	align-items: center;
	justify-content: center;
	color: #272330;
	background: #fff;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.atrkadeh-brand-marquee__links a:hover,
.atrkadeh-brand-marquee__links a:focus-visible,
.atrkadeh-brand-marquee__links .atrkadeh-brand-marquee__shop {
	outline: none;
	color: #fff;
	background: #272330;
}

.atrkadeh-brand-marquee__links .atrkadeh-brand-marquee__shop:hover,
.atrkadeh-brand-marquee__links .atrkadeh-brand-marquee__shop:focus-visible {
	color: #272330;
	background: #fff;
}

.atrkadeh-brand-marquee__viewport {
	position: relative;
	overflow: hidden;
	border-block: 1px solid #e7e3eb;
	direction: ltr;
	mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
	-webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}

.atrkadeh-brand-marquee__motion {
	display: flex;
	width: max-content;
	animation: atrkadeh-brand-marquee-move 52s linear infinite;
}

.atrkadeh-brand-marquee__viewport:hover .atrkadeh-brand-marquee__motion,
.atrkadeh-brand-marquee__viewport:focus-within .atrkadeh-brand-marquee__motion {
	animation-play-state: paused;
}

.atrkadeh-brand-marquee__track {
	display: flex;
	flex: none;
	gap: 12px;
	padding: 18px 6px;
}

.atrkadeh-brand-marquee__item {
	display: flex;
	width: 158px;
	height: 112px;
	padding: 12px;
	border: 1px solid #e7e3eb;
	border-radius: 12px;
	align-items: center;
	flex: none;
	flex-direction: column;
	justify-content: center;
	color: #272330;
	background: #fff;
	direction: rtl;
	text-align: center;
	text-decoration: none !important;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.atrkadeh-brand-marquee__item:hover,
.atrkadeh-brand-marquee__item:focus-visible {
	border-color: #272330;
	outline: none;
	box-shadow: 0 10px 24px rgba(39, 35, 48, 0.09);
	transform: translateY(-2px);
}

.atrkadeh-brand-marquee__logo {
	display: grid;
	width: 116px;
	height: 54px;
	place-items: center;
}

.atrkadeh-brand-marquee__logo img {
	display: block;
	width: 50%;
	height: 50%;
	max-width: 70px;
	max-height: 30px;
	margin: 0;
	object-fit: contain;
}

.atrkadeh-brand-marquee__logo > span {
	color: #aaa6ae;
	font-family: Arial, sans-serif;
	font-size: 26px;
}

.atrkadeh-brand-marquee__name {
	max-width: 100%;
	margin-top: 7px;
	overflow: hidden;
	font-size: 12px;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@keyframes atrkadeh-brand-marquee-move {
	to {
		transform: translateX(-50%);
	}
}

@media (max-width: 767px) {
	.atrkadeh-brand-marquee {
		width: 100%;
		margin: 56px auto;
		padding-inline: 16px;
		overflow: hidden;
	}

	.atrkadeh-brand-marquee__heading {
		display: block;
		margin-bottom: 16px;
	}

	.atrkadeh-brand-marquee__heading h2 {
		font-size: 24px;
	}

	.atrkadeh-brand-marquee__links {
		margin-top: 12px;
		align-items: center;
		flex-direction: row;
		gap: 6px;
	}

	.atrkadeh-brand-marquee__links a {
		min-height: 32px;
		padding: 6px 8px;
		font-size: 10px;
	}

	.atrkadeh-brand-marquee__viewport {
		width: calc(100% + 32px);
		margin-inline: -16px;
	}

	.atrkadeh-brand-marquee__motion {
		animation-duration: 84s;
	}

	.atrkadeh-brand-marquee__item {
		width: 128px;
		height: 94px;
		padding: 9px;
	}

	.atrkadeh-brand-marquee__logo {
		width: 104px;
		height: 46px;
	}

	.atrkadeh-brand-marquee__name {
		margin-top: 5px;
		font-size: 11px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.atrkadeh-brand-marquee__motion {
		animation: none;
	}

	.atrkadeh-brand-marquee__viewport {
		overflow-x: auto;
		mask-image: none;
		-webkit-mask-image: none;
	}
}
