@font-face {
	font-family: Shabnam;
	src: url("fonts/Shabnam.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: Shabnam;
	src: url("fonts/Shabnam-Medium.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: Shabnam;
	src: url("fonts/Shabnam-Bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: Shabnam;
	src: url("fonts/Shabnam-Bold.woff2") format("woff2");
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

.amin-home-cats,
.amin-home-cats * {
	box-sizing: border-box;
}

.amin-home-cats {
	--amin-cats-bg: #0d3b6e;
	width: 100%;
	direction: rtl;
	font-family: Vazirmatn, Tahoma, Arial, sans-serif;
}

.amin-home-cats.is-preparing .amin-home-cats__track {
	visibility: hidden;
}

.elementor-element:has(.amin-home-cats),
.elementor-widget:has(.amin-home-cats),
.elementor-widget-container:has(.amin-home-cats) {
	overflow: visible !important;
}

.amin-home-cats__card {
	--amin-cats-side: 300px;
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--amin-cats-side);
	align-items: stretch;
	min-height: 168px;
	overflow: visible;
	border-radius: 15px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(16, 36, 68, 0.08);
	direction: ltr;
}

.amin-home-cats__side,
.amin-home-cats__main {
	direction: rtl;
}

.amin-home-cats__side {
	position: relative;
	z-index: 8;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 12px 12px 16px;
	overflow: visible;
	border-radius: 0 15px 15px 0;
	background: var(--amin-cats-bg);
	color: #fff;
}

.amin-home-cats__curve {
	position: absolute;
	top: 50%;
	left: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	height: 68%;
	width: auto;
	pointer-events: none;
	transform: translate(calc(-100% + 10px), -50%);
}

.amin-home-cats__curve-img {
	display: block;
	height: 100%;
	width: auto;
	max-width: none;
	object-fit: contain;
}

.amin-home-cats__side-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	text-align: center;
}

h1.amin-home-cats__title,
.amin-home-cats__title,
.elementor-element .amin-home-cats__title,
.elementor-widget .amin-home-cats__title,
.elementor-element h1.amin-home-cats__title {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: #fff !important;
	font-family: Shabnam, Vazirmatn, Tahoma, sans-serif;
	font-size: 45px;
	line-height: 1.4;
	letter-spacing: -0.03em;
	text-align: center;
	box-shadow: none !important;
}

.amin-home-cats__title-a {
	display: block;
	font-size: 45px;
	font-weight: 900;
	line-height: 1.4;
}

.amin-home-cats__title-b {
	display: block;
	font-size: 45px;
	font-weight: 400;
	line-height: 1.4;
}

.amin-home-cats__btn,
.elementor-element .amin-home-cats__btn,
.elementor-widget .amin-home-cats__btn,
.elementor-element .amin-home-cats__btn:hover,
.elementor-widget .amin-home-cats__btn:hover,
.amin-home-cats__btn:hover,
.amin-home-cats__btn:focus,
.amin-home-cats__btn:focus-visible,
.amin-home-cats__btn:active {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 176px;
	margin: 0 !important;
	padding: 8px 18px !important;
	border: 0 !important;
	border-radius: 5px !important;
	background: #fff !important;
	background-color: #fff !important;
	color: #f74506 !important;
	font-family: Shabnam, Vazirmatn, Tahoma, sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none !important;
	box-shadow: none !important;
	outline: none !important;
	white-space: nowrap;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.amin-home-cats__btn:hover,
.elementor-element .amin-home-cats__btn:hover {
	background: #fff !important;
	color: #f74506 !important;
	opacity: 0.92;
}

.amin-home-cats__main {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	min-width: 0;
	padding: 12px 70px 12px 36px;
	border-radius: 15px 0 0 15px;
	background: #fff;
}

.amin-home-cats__dots {
	position: absolute;
	top: 50%;
	left: 18px;
	z-index: 4;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
	transform: translateY(-50%);
}

.amin-home-cats__dot,
.elementor-element .amin-home-cats__dot,
.elementor-widget .amin-home-cats__dot,
.elementor-element .amin-home-cats__dot:hover,
.amin-home-cats__dot:hover,
.amin-home-cats__dot:focus,
.amin-home-cats__dot:active {
	width: 8px;
	height: 8px;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 99px;
	background: #ffc4ad !important;
	background-color: #ffc4ad !important;
	box-shadow: none !important;
	outline: none !important;
	cursor: pointer;
	transition: height 0.22s ease, background 0.22s ease, opacity 0.22s ease;
}

.amin-home-cats__dot.is-active,
.elementor-element .amin-home-cats__dot.is-active {
	height: 20px;
	background: #f74506 !important;
	background-color: #f74506 !important;
}

.amin-home-cats__viewport {
	position: relative;
	width: 100%;
	height: 176px;
	overflow: hidden;
	touch-action: none;
	cursor: grab;
	user-select: none;
}

.amin-home-cats__viewport.is-dragging {
	cursor: grabbing;
}

.amin-home-cats__track {
	display: flex;
	flex-direction: column;
	width: 100%;
	will-change: transform;
}

.amin-home-cats__track.is-animating {
	transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.amin-home-cats__slide {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex: 0 0 176px;
	height: 176px;
	padding: 6px 0;
	width: 100%;
}

.amin-home-cats__item,
.elementor-element .amin-home-cats__item,
.elementor-widget .amin-home-cats__item,
.elementor-element .amin-home-cats__item:hover,
.elementor-widget .amin-home-cats__item:hover,
.amin-home-cats__item:hover,
.amin-home-cats__item:focus,
.amin-home-cats__item:active {
	display: flex !important;
	flex: 1 1 0;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: auto;
	min-width: 0;
	max-width: 160px;
	margin: 0 !important;
	padding: 4px 4px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	color: #1c2433 !important;
	text-align: center;
	text-decoration: none !important;
	box-shadow: none !important;
	outline: none !important;
	position: relative;
	z-index: 3;
	cursor: pointer;
	pointer-events: auto;
}

.amin-home-cats__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	border: 1px solid #f74506;
	border-radius: 18px;
	background: #f4f7fb;
	box-shadow: 0 0 0 3px #fff, 0 0 0 4px #ffb899;
}

.amin-home-cats__icon img,
.amin-home-cats__placeholder {
	display: block;
	width: 56px;
	height: 56px;
	object-fit: contain;
	pointer-events: none;
	-webkit-user-drag: none;
	user-select: none;
}

.amin-home-cats__name {
	display: block;
	max-width: 100%;
	overflow: hidden;
	color: #1a2332;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.amin-home-cats__count {
	display: block;
	margin-top: -4px;
	color: #9aa6b4;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
}

@media (max-width: 1399px) {
	.amin-home-cats__card {
		--amin-cats-side: 280px;
	}

	.amin-home-cats__title,
	.amin-home-cats__title-a,
	.amin-home-cats__title-b {
		font-size: 40px;
	}

	.amin-home-cats__item {
		max-width: 150px;
	}
}

@media (max-width: 1199px) {
	.amin-home-cats__card {
		--amin-cats-side: 220px;
		min-height: 156px;
	}

	.amin-home-cats__title,
	.amin-home-cats__title-a,
	.amin-home-cats__title-b {
		font-size: 38px;
	}

	.amin-home-cats__btn,
	.elementor-element .amin-home-cats__btn {
		min-width: 150px;
		padding: 10px 20px !important;
		font-size: 14px;
	}

	.amin-home-cats__curve {
		height: 74%;
	}

	.amin-home-cats__main {
		padding: 18px 72px 18px 36px;
	}

	.amin-home-cats__item {
		max-width: 140px;
	}

	.amin-home-cats__icon {
		width: 84px;
		height: 84px;
	}

	.amin-home-cats__name {
		font-size: 15px;
	}
}

@media (max-width: 991px) {
	.amin-home-cats__card {
		--amin-cats-side: 190px;
		min-height: 148px;
		border-radius: 15px;
	}

	.amin-home-cats__side {
		padding: 10px 10px 12px 14px;
		border-radius: 0 15px 15px 0;
	}

	.amin-home-cats__title,
	.amin-home-cats__title-a,
	.amin-home-cats__title-b {
		font-size: 28px;
	}

	.amin-home-cats__side-inner {
		gap: 12px;
	}

	.amin-home-cats__btn,
	.elementor-element .amin-home-cats__btn {
		min-width: 132px;
		padding: 8px 16px !important;
		font-size: 13px;
	}

	.amin-home-cats__curve {
		height: 68%;
		transform: translate(calc(-100% + 8px), -50%);
	}

	.amin-home-cats__item {
		max-width: 112px;
	}

	.amin-home-cats__icon {
		width: 76px;
		height: 76px;
	}

	.amin-home-cats__icon img,
	.amin-home-cats__placeholder {
		width: 42px;
		height: 42px;
	}

	.amin-home-cats__name {
		font-size: 13px;
	}

	.amin-home-cats__count {
		font-size: 12px;
	}

	.amin-home-cats__main {
		padding: 10px 52px 10px 28px;
		border-radius: 15px 0 0 15px;
	}

	.amin-home-cats__viewport,
	.amin-home-cats__slide {
		height: 136px;
	}

	.amin-home-cats__slide {
		flex-basis: 136px;
	}
}

@media (max-width: 767px) {
	.amin-home-cats__card {
		grid-template-columns: 1fr;
		min-height: 0;
		border-radius: 15px;
	}

	.amin-home-cats__side {
		order: -1;
		justify-content: center;
		border-radius: 15px 15px 0 0;
		padding: 16px 16px 22px;
	}

	.amin-home-cats__side-inner {
		align-items: center;
		text-align: center;
		gap: 14px;
	}

	.amin-home-cats__title,
	.amin-home-cats__title-a,
	.amin-home-cats__title-b {
		font-size: 32px;
	}

	.amin-home-cats__curve {
		top: auto;
		bottom: 0;
		left: 50%;
		height: 52px;
		transform: translate(-50%, 62%) rotate(-90deg);
	}

	.amin-home-cats__main {
		padding: 8px 10px 10px 22px;
		border-radius: 0 0 15px 15px;
	}

	.amin-home-cats__dots {
		top: 50%;
		bottom: auto;
		left: 6px;
		flex-direction: column;
		transform: translateY(-50%);
	}

	.amin-home-cats__dot.is-active {
		width: 8px;
		height: 20px;
	}

	.amin-home-cats__viewport {
		height: auto;
		overflow: hidden;
	}

	.amin-home-cats__slide {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: auto auto;
		align-content: start;
		align-items: start;
		justify-content: stretch;
		justify-items: center;
		gap: 10px 6px;
		padding: 2px 0 8px;
		overflow: hidden;
		flex: 0 0 auto;
		flex-basis: auto;
		flex-wrap: nowrap;
		height: auto;
		width: 100%;
		max-width: 100%;
	}

	.amin-home-cats__item,
	.elementor-element .amin-home-cats__item,
	.elementor-widget .amin-home-cats__item {
		display: flex !important;
		flex: none !important;
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
		gap: 5px !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: none !important;
		padding: 0 !important;
	}

	.amin-home-cats__icon {
		width: 62px;
		height: 62px;
		flex: 0 0 auto;
	}

	.amin-home-cats__icon img,
	.amin-home-cats__placeholder {
		width: 38px;
		height: 38px;
	}

	.amin-home-cats__name {
		display: -webkit-box;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		white-space: normal;
		font-size: 13px;
		line-height: 1.3;
	}

	.amin-home-cats__count {
		font-size: 11px;
	}
}

@media (max-width: 479px) {
	.amin-home-cats__title,
	.amin-home-cats__title-a,
	.amin-home-cats__title-b {
		font-size: 26px;
	}

	.amin-home-cats__btn,
	.elementor-element .amin-home-cats__btn {
		min-width: 0;
		padding: 8px 14px !important;
		font-size: 12px;
	}

	.amin-home-cats__curve {
		height: 42px;
	}

	.amin-home-cats__viewport,
	.amin-home-cats__slide {
		height: auto;
		flex-basis: auto;
	}

	.amin-home-cats__item,
	.elementor-element .amin-home-cats__item,
	.elementor-widget .amin-home-cats__item {
		flex: none !important;
		width: 100% !important;
		max-width: none !important;
	}

	.amin-home-cats__icon {
		width: 58px;
		height: 58px;
	}

	.amin-home-cats__icon img,
	.amin-home-cats__placeholder {
		width: 32px;
		height: 32px;
	}

	.amin-home-cats__name {
		font-size: 12px;
	}
}
