.irannet-category-showcase {
	--irannet-category-gap: 18px;
	width: 100%;
	max-width: 100%;
	position: relative;
	direction: rtl;
}

.irannet-category-showcase *,
.irannet-category-showcase *::before,
.irannet-category-showcase *::after {
	box-sizing: border-box;
}

.irannet-category-showcase__viewport {
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-inline: contain;
	scroll-snap-type: inline mandatory;
	scroll-padding-inline: 1px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	cursor: grab;
	outline: none;
}

.irannet-category-showcase__viewport::-webkit-scrollbar {
	display: none;
}

.irannet-category-showcase__viewport.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
	user-select: none;
}

.irannet-category-showcase__viewport:focus-visible {
	outline: 2px solid rgba(11, 136, 255, .4);
	outline-offset: 4px;
	border-radius: 12px;
}

.irannet-category-showcase__track {
	display: flex;
	align-items: stretch;
	gap: var(--irannet-category-gap);
	width: 100%;
	min-width: 0;
}

.irannet-category-showcase__card {
	flex: 0 0 calc((100% - (3 * var(--irannet-category-gap))) / 4);
	min-width: 0;
	overflow: hidden;
	border: 1px solid #eef1f4;
	background: #fff;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	transition: transform .24s ease, box-shadow .24s ease;
}

.irannet-category-showcase__card:hover {
	transform: translateY(-3px);
}

.irannet-category-showcase__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 62px;
	padding-bottom: 13px;
	border-bottom: 1px solid #edf0f3;
	text-decoration: none;
	color: inherit;
}

.irannet-category-showcase__card--header-only .irannet-category-showcase__header {
	border-bottom: 0;
	padding-bottom: 0;
}

.irannet-category-showcase__identity {
	display: flex;
	align-items: center;
	gap: 11px;
	min-width: 0;
}

.irannet-category-showcase__symbol {
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #68e0d8;
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}

.irannet-category-showcase__symbol i {
	font-size: 22px;
}

.irannet-category-showcase__symbol svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.irannet-category-showcase__symbol-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.irannet-category-showcase__heading {
	min-width: 0;
}

.irannet-category-showcase__title {
	margin: 0;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.45;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.irannet-category-showcase__subtitle {
	margin-top: 3px;
	font-size: 11px;
	line-height: 1.5;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.irannet-category-showcase__view-all {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 0;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: opacity .2s ease;
}

.irannet-category-showcase__view-all:hover,
.irannet-category-showcase__view-all:focus-visible {
	opacity: .72;
	outline: none;
}


.irannet-category-showcase__products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	padding-top: 14px;
}

.irannet-category-showcase__products--2 {
	align-content: start;
}

.irannet-category-showcase__product {
	min-width: 0;
	text-decoration: none;
	color: inherit;
	position: relative;
}

.irannet-category-showcase__product-wrap { min-width: 0; position: relative; }
.irannet-category-showcase__product-wrap > .irannet-category-showcase__product { display: block; }
.irannet-category-showcase__product-wrap:nth-child(n+3) { border-top: 1px solid #edf0f3; padding-top: 10px; }
.irannet-category-showcase__product-wrap .irannet-category-showcase__product:nth-child(n+3) { border-top: 0; padding-top: 0; }

.irannet-category-showcase__product:nth-child(n+3) {
	border-top: 1px solid #edf0f3;
	padding-top: 10px;
}

.irannet-category-showcase__product-media {
	position: relative;
	display: block;
	height: 128px;
	overflow: hidden;
	background: #fff;
	border-radius: 10px;
}

.irannet-category-showcase__product-image,
.irannet-category-showcase__product-media img {
	display: block;
	width: 100%;
	height: 100%;
	transition: transform .34s cubic-bezier(.2,.8,.2,1);
}

.irannet-category-showcase--fit-contain .irannet-category-showcase__product-image,
.irannet-category-showcase--fit-contain .irannet-category-showcase__product-media img {
	object-fit: contain;
}

.irannet-category-showcase--fit-cover .irannet-category-showcase__product-image,
.irannet-category-showcase--fit-cover .irannet-category-showcase__product-media img {
	object-fit: cover;
}

.irannet-category-showcase__product-name {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 12px 8px;
	background: rgba(14, 22, 34, .78);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.55;
	text-align: center;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity .24s ease, transform .24s ease;
}

.irannet-category-showcase__product:hover .irannet-category-showcase__product-image,
.irannet-category-showcase__product:focus-visible .irannet-category-showcase__product-image,
.irannet-category-showcase__product:hover .irannet-category-showcase__product-media img,
.irannet-category-showcase__product:focus-visible .irannet-category-showcase__product-media img {
	transform: scale(1.05);
}

.irannet-category-showcase__product:hover .irannet-category-showcase__product-name,
.irannet-category-showcase__product:focus-visible .irannet-category-showcase__product-name {
	opacity: 1;
	transform: translateY(0);
}

.irannet-category-showcase__product:focus-visible {
	outline: 2px solid rgba(11, 136, 255, .55);
	outline-offset: 2px;
	border-radius: 10px;
}

.irannet-category-showcase__empty {
	padding: 18px 20px;
	border: 1px dashed #cfd6df;
	border-radius: 12px;
	background: #f8fafc;
	color: #56606c;
	font-size: 13px;
	line-height: 1.8;
	text-align: center;
}

@media (max-width: 1024px) {
	.irannet-category-showcase__card {
		flex-basis: calc((100% - var(--irannet-category-gap)) / 2);
	}
}

@media (max-width: 767px) {
	.irannet-category-showcase__card {
		flex-basis: 100%;
	}

	.irannet-category-showcase__header {
		gap: 8px;
	}

	.irannet-category-showcase__title {
		font-size: 14px;
	}

}

@media (hover: none) {
	.irannet-category-showcase__product-name {
		opacity: 0;
		transform: translateY(8px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.irannet-category-showcase__card,
	.irannet-category-showcase__product-image,
	.irannet-category-showcase__product-media img,
	.irannet-category-showcase__product-name {
		transition: none !important;
	}
}
