.subcat-layout {
	position: relative;
	display: flex;
	align-items: stretch;
	gap: 8px;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.subcat-list-col {
	flex: 1 1 auto;
	min-width: 0;
	max-width: 100%;
}

.box-sub-cat {
	position: relative;
	z-index: 2;
}

.subcat-banner-col {
	position: relative;
	display: flex;
	flex: 0 0 64px;
	align-items: flex-end;
	justify-content: center;
	max-width: 64px;
}

.subcat-banner-col img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 130px;
	object-fit: contain;
	object-position: center bottom;
}

.subcat-banner-text {
	position: absolute;
	right: 70%;
	bottom: 14px;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 4px;
	width: max-content;
	max-width: none;
	padding: 8px;
	margin-bottom: 0;
	border-radius: 5px;
	background: rgba(244, 246, 249, 0.96);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.22;
	color: #202735;
	overflow: hidden;
	white-space: nowrap;
}

.subcat-banner-text.is-changing .subcat-banner-message {
	opacity: 0;
	transform: translateX(-10px);
}

.subcat-banner-icon {
	flex: 0 0 auto;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	color: #1f9d55;
}

.subcat-banner-message {
	display: block;
	flex: 0 0 auto;
	min-width: 0;
	opacity: 1;
	white-space: nowrap;
	transform: translateX(0);
	transition: opacity 0.28s ease, transform 0.28s ease;
}

.subcat-force-break-lg {
	display: none;
}

@media (max-width: 1000px) {
	.subcat-layout {
		overflow: visible;
	}

	.subcat-banner-col {
		position: absolute;
		right: 0;
		top: -80px;
		z-index: 5;
		display: flex;
		align-items: flex-end;
		justify-content: flex-end;
		width: 64px;
		max-width: 64px;
		height: 80px;
		max-height: 80px;
		pointer-events: none;
	}

	.subcat-banner-col img {
		width: auto;
		max-width: 100%;
		height: 100%;
		max-height: 80px;
		object-fit: contain;
		object-position: right bottom;
	}

	.subcat-banner-text {
		left: auto;
		right: 58px;
		bottom: 0;
		width: max-content;
		max-width: none;
		padding: 5px 7px;
		margin-bottom: 0;
		border-radius: 5px;
		gap: 4px;
		font-size: 10px;
		line-height: 1.15;
		white-space: nowrap;
	}

	.subcat-banner-icon {
		font-size: 11px;
	}

	.subcat-banner-message {
		white-space: nowrap;
	}
}

@media (min-width: 768px) and (max-width: 1000px) {
	.subcat-banner-col {
		width: 90px;
		max-width: 90px;
	}

	.subcat-banner-text {
		right: 82px;
		bottom: 0;
		padding: 6px 8px;
		font-size: 11px;
	}
}

@media (min-width: 1001px) {
	.subcat-layout {
		display: block;
		overflow: visible;
	}

	.subcat-list-col {
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.subcat-banner-col {
		position: absolute;
		right: 0;
		bottom: 0;
		z-index: 3;
		display: flex;
		align-items: flex-end;
		justify-content: flex-end;
		width: 260px;
		max-width: 260px;
		height: 250px;
		pointer-events: none;
	}

	.subcat-banner-col img {
		width: auto;
		max-width: 100%;
		height: 100%;
		max-height: 250px;
		object-fit: contain;
		object-position: right bottom;
	}

	.subcat-force-break-lg {
		display: block;
		clear: both;
		width: 100%;
		height: 0;
	}
}

@media (max-width: 767px) {
	.box-sub-cat {
		overflow-x: auto;
		scrollbar-width: none;
		-ms-overflow-style: none;
		width: 100%;
		max-width: 100%;
	}

	.box-sub-cat::-webkit-scrollbar {
		display: none;
	}
}

@media (max-width: 575px) {
	.container.category h1 {
		max-width: 100%;
	}

	.subcat-banner-text {
		right: 50px;
		bottom: 0;
		padding: 4px 6px;
		margin-bottom: 0;
		font-size: 9px;
		line-height: 1.12;
	}

	.subcat-banner-icon {
		font-size: 10px;
	}
}