@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-Bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

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

.amin-home-products-c {
	--amin-products-c-orange: #f74506;
	width: 100%;
	max-width: 100%;
	direction: rtl;
	font-family: Vazirmatn, Tahoma, Arial, sans-serif;
}

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

.amin-home-products-c__head {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 28px;
}

h2.amin-home-products-c__title,
.amin-home-products-c__title,
.elementor-element h2.amin-home-products-c__title,
.elementor-widget h2.amin-home-products-c__title {
	display: inline-flex !important;
	flex: 0 0 auto;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 6px;
	margin: 0 !important;
	padding: 0 !important;
	color: var(--amin-products-c-color, #1a2332) !important;
	font-family: var(--amin-products-c-font, Vazirmatn, Tahoma, sans-serif);
	font-size: var(--amin-products-c-size, 22px);
	line-height: 1.4;
	white-space: nowrap;
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
}

.amin-home-products-c__title-a,
.amin-home-products-c__title-b {
	display: inline;
	color: inherit !important;
	font-size: inherit;
	line-height: inherit;
}

.amin-home-products-c__title-a {
	font-weight: 400;
}

.amin-home-products-c__title-b {
	font-weight: 700;
}

.amin-home-products-c__line {
	flex: 1 1 auto;
	min-width: 24px;
	height: 1px;
	background: #e6edf3;
}

.amin-home-products-c__all,
.elementor-element .amin-home-products-c__all,
.elementor-widget .amin-home-products-c__all,
.elementor-element .amin-home-products-c__all:hover,
.elementor-widget .amin-home-products-c__all:hover,
.amin-home-products-c__all:hover,
.amin-home-products-c__all:focus,
.amin-home-products-c__all:focus-visible,
.amin-home-products-c__all:active {
	display: inline-flex !important;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	padding: 7px 16px !important;
	border: 1px solid var(--amin-products-c-orange) !important;
	border-radius: 8px !important;
	background: #fff !important;
	background-color: #fff !important;
	color: var(--amin-products-c-orange) !important;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none !important;
	box-shadow: none !important;
	outline: none !important;
	white-space: nowrap;
	transition: background-color 0.18s ease, color 0.18s ease;
}

.amin-home-products-c__all:hover,
.elementor-element .amin-home-products-c__all:hover {
	background: var(--amin-products-c-orange) !important;
	background-color: var(--amin-products-c-orange) !important;
	color: #fff !important;
	border-color: var(--amin-products-c-orange) !important;
}

.amin-home-products-c__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
	align-items: stretch;
	gap: 14px;
}

.amin-home-products-c__grid--3 {
	grid-template-columns: minmax(0, 1fr);
}

.amin-home-products-c__row {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	min-width: 0;
	gap: 14px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.amin-home-products-c__row::-webkit-scrollbar {
	display: none;
}

.amin-home-products-c__nav {
	display: none;
}

.amin-home-products-c .amin-home-picks-card {
	display: flex;
	flex: 0 0 calc((100% - 28px) / 3);
	width: calc((100% - 28px) / 3);
	max-width: calc((100% - 28px) / 3);
	min-width: 0;
	scroll-snap-align: start;
}

.amin-home-products-c .amin-home-picks-card--slot {
	display: none;
}

.amin-home-products-c__banner,
.elementor-element .amin-home-products-c__banner,
.elementor-widget .amin-home-products-c__banner,
.elementor-element .amin-home-products-c__banner:hover,
.amin-home-products-c__banner:hover,
.amin-home-products-c__banner:focus {
	display: grid !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden;
	border: 0 !important;
	border-radius: 18px;
	background: #f4f7fb !important;
	text-decoration: none !important;
	box-shadow: none !important;
	outline: none !important;
}

.amin-home-products-c__banner img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 100%;
	object-fit: cover;
	grid-area: 1 / 1;
	transition: transform 0.35s ease;
}

.amin-home-products-c__banner:hover img {
	transform: scale(1.03);
}

.amin-home-products-c__banner--mob,
.elementor-element .amin-home-products-c__banner--mob,
.elementor-widget .amin-home-products-c__banner--mob,
.elementor-element .amin-home-products-c__banner--mob:hover {
	display: none !important;
}

@media (max-width: 1199px) {
	.amin-home-products-c__head {
		flex-wrap: wrap;
	}

	.amin-home-products-c__title,
	.elementor-element h2.amin-home-products-c__title {
		white-space: normal;
	}

	.amin-home-products-c__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	}

	.amin-home-products-c__grid--3 {
		grid-template-columns: minmax(0, 1fr);
	}

	.amin-home-products-c .amin-home-picks-card {
		flex: 0 0 calc((100% - 14px) / 2);
		width: calc((100% - 14px) / 2);
		max-width: calc((100% - 14px) / 2);
	}

	.amin-home-products-c__banner {
		min-height: 280px;
	}
}

@media (max-width: 991px) {
	.amin-home-products-c__head {
		flex-wrap: wrap;
		gap: 12px;
	}

	.amin-home-products-c__line {
		min-width: 12px;
	}
}

@media (max-width: 767px) {
	h2.amin-home-products-c__title,
	.amin-home-products-c__title,
	.elementor-element h2.amin-home-products-c__title {
		justify-content: flex-start;
		font-size: 18px;
		white-space: normal;
		text-align: right;
	}

	.amin-home-products-c__head {
		flex-direction: row;
		align-items: center;
		gap: 10px;
		margin-bottom: 14px;
	}

	.amin-home-products-c__line {
		display: block;
		min-width: 12px;
	}

	.amin-home-products-c__all,
	.elementor-element .amin-home-products-c__all {
		align-self: auto;
		padding: 6px 12px !important;
		font-size: 12px;
	}

	.amin-home-products-c__grid,
	.amin-home-products-c__grid--3 {
		display: flex;
		flex-direction: column;
		grid-template-columns: none;
		gap: 12px;
	}

	.amin-home-products-c__banner--desk,
	.elementor-element .amin-home-products-c__banner--desk,
	.elementor-widget .amin-home-products-c__banner--desk,
	.elementor-element .amin-home-products-c__banner--desk:hover {
		display: none !important;
	}

	.amin-home-products-c__banner--mob,
	.elementor-element .amin-home-products-c__banner--mob,
	.elementor-widget .amin-home-products-c__banner--mob {
		display: grid !important;
		order: -1;
		width: 100%;
		min-height: 0;
		border-radius: 14px;
	}

	.amin-home-products-c__banner img {
		width: 100%;
		height: auto;
		min-height: 0;
		object-fit: contain;
	}

	.amin-home-products-c__row {
		display: flex;
		flex-direction: row;
		width: 100%;
		max-width: 100%;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		gap: 12px;
		padding: 8px 2px 16px;
	}

	.amin-home-products-c__row::-webkit-scrollbar {
		display: none;
	}

	.amin-home-products-c__row .amin-home-picks-card,
	.amin-home-products-c__row .amin-home-picks-card:nth-child(n+4) {
		display: flex;
		flex: 0 0 calc((100vw - 48px) / 2);
		width: calc((100vw - 48px) / 2);
		max-width: calc((100vw - 48px) / 2);
		scroll-snap-align: start;
		padding: 8px 8px 10px;
	}

	.amin-home-products-c__row .amin-home-picks-card--slot {
		display: none !important;
	}

	.amin-home-products-c .amin-home-picks-card__name,
	.amin-home-products-c h3.amin-home-picks-card__name {
		font-size: 12px !important;
		min-height: calc(12px * 1.4 * 2);
	}

	.amin-home-products-c .amin-home-picks-card__prices strong {
		font-size: 13px;
	}

	.amin-home-products-c .amin-home-picks-card__plus,
	.amin-home-products-c .amin-home-picks-card__minus {
		width: 26px;
		height: 26px;
		font-size: 15px;
	}

	.amin-home-products-c__nav {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		margin-top: 2px;
	}

	.amin-home-products-c__arrow,
	.elementor-element .amin-home-products-c__arrow,
	.amin-home-products-c__arrow:hover {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		width: 34px;
		height: 34px;
		margin: 0 !important;
		padding: 0 !important;
		border: 1.5px solid #f74506 !important;
		border-radius: 50% !important;
		background: #fff !important;
		color: #f74506 !important;
		box-shadow: none !important;
		cursor: pointer;
	}

	.amin-home-products-c__arrow svg {
		width: 16px;
		height: 16px;
	}
}
