.left-site-category {
	height: 100%;
}

.left-site-category .category-dropdown {
	height: 100%;
}

/* Fix: make submenus position relative to .left-site-category instead of the scrollable .category-dropdown.
   This prevents absolutely positioned submenus from creating horizontal scroll overflow
   inside the scrollable category dropdown. */
.left-site-category .mega-menu.vertical-megamenu {
	position: static;
}

/* Custom scrollbar for category menu */
.left-site-category .category-dropdown::-webkit-scrollbar {
	width: 4px;
}

.left-site-category .category-dropdown::-webkit-scrollbar-track {
	background: transparent;
}

.left-site-category .category-dropdown::-webkit-scrollbar-thumb {
	background-color: hsl(var(--border));
	border-radius: 4px;
}

.hero-section {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 1.25rem;
	margin-top: 1.25rem;
	align-items: stretch;
}

@media (max-width: 991px) {
	.hero-section .left-site-category {
		display: none !important;
	}
}

@media (max-width: 1399px) {
	.hero-section {
		grid-template-columns: auto 1fr;
	}
}

@media (max-width: 1199px) {
	.hero-section {
		gap: 1rem;
	}
}

@media (max-width: 991px) {
	.hero-section {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 575px) {
	.hero-section {
		gap: 0px;
		margin-top: 21px;
	}
}

@media (max-width: 767px) {
	.hero-section {
		grid-template-columns: 1fr;
	}
}

.single-banner .hero-section {
	display: grid;
	grid-template-columns: 1fr !important;
	gap: 20px;
}

.hero-slider {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	overflow: hidden;
	justify-content: space-between;
}

.single-banner .hero-slider {
	gap: 1.5rem;
}

/* Fixed by Shahnur — 2026-04-20 02:30 PM (Asia/Dhaka) */
/* Responsive slider height based on aspect ratio instead of fixed px */
.slider-wrapper {
	aspect-ratio: 1284 / 500;
	width: 100%;
}

@media (max-width: 500px) {
	.slider-wrapper {
		aspect-ratio: 1284 / 500;
	}
}

.banner-slider.owl-theme.owl-carousel.owl-loaded.owl-drag {
	height: 100%;
}

.banner-slider.owl-carousel .owl-item,
.banner-slider.owl-carousel .owl-item a {
	height: 100%;
}

.banner-slider.owl-carousel .owl-item img {
	width: 100% !important;
	height: 100%;
	object-fit: cover;
	object-position: left center;
	border-radius: 5px;
}

.banner-slider .slide-item {
	height: 100% !important;
}

.banner-slider.owl-carousel .owl-stage-outer {
	height: 100%;
}

.banner-slider.owl-carousel .owl-stage {
	height: 100%;
}

.hero-banner {
	height: 100%;
	border-radius: 5px;
	overflow: hidden;
	position: relative;
}

@media (max-width: 1399px) {
	.hero-banner {
		display: none;
	}
}

.hero-banner a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.hero-banner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	transition: 0.4s ease-in-out;
}

/* Fixed by Shahnur -- 2026-04-22 02:14 PM (Asia/Dhaka) */
/* Keep the right banner aligned with the dynamic hero row instead of a fixed height. */

.hero-banner:hover img {
	transform: scale(1.1);
}

@media (max-width: 991px) {
	.hero-banner {
		display: none;
	}
}

.hero-slider .banner-categories img {
	text-align: center;
	display: inline-block;
	margin: 0 auto;
	padding: 0 14px;
	max-width: 100px;
	width: 100% !important;
}

@media (max-width: 424px) {
	.hero-slider .banner-categories img {
		max-width: 64px;
	}
}

.banner-categories {
	border-radius: 5px !important;
	margin: 0 auto;
	text-align: center;
	padding-top: 1px;
	border: 1px solid hsl(var(--border));
	transition: 0.3s;
}

.banner-categories img {
	text-align: center;
	display: inline-block;
	margin: 0 auto;
	padding: 0px 20px;
	transform: scale(1);
	transition: 0.4s ease-in-out;
}

.banner-categories:hover img {
	transform: scale(1.1);
}

@media (max-width: 425px) {
	.banner-categories img {
		padding: 0px 12px;
	}
}

.banner-categories .title {
	margin-top: 10px;
	font-size: 0.875rem;
}

.banner-categories:hover a .title {
	color: hsl(var(--base));
}

@media (max-width: 575px) {
	.banner-categories .title {
		font-size: 0.75rem;
	}
}
