.home-banner,
.desktop-home-banner {
	width: 100%;
	max-height: 350px;
}

/* Main Hover Menu Start */
.tab-pane.fade.active.show {
	/* border: 2px solid var(--bs-primary) !important; */
	/* We can set dropdown menu colour and outline here */
	/* border: 2px solid var(--bs-border-color) !important; 
	box-shadow: 0px 12px 18px -6px rgba(0, 0, 0, 0.3) !important; */
	background-color: white;
	z-index: 990 !important;
	padding-top: 1rem !important;
}

.tab-content {
	/* Set Hover Menu Container Width */
	width: 100% !important;
	height: auto;
	/* overflow-y: auto; */
	overflow: hidden !important;
	padding-right: 1rem !important;
	padding-left: 1rem !important;
}

ul#menuTab {
	position: absolute;
	left: 0;
	right: 0;
	/* top:75%; */
	bottom: -15px !important;
}

#tabContainer {
	/* background-color: #F6F8F9; */
	top: 40px;
	width: 100%;
}

nav.navbar {
	z-index: 1;
}

/* Main Hover Menu End */
/* Sidebar Start */
.offcanvas {
	/* We can set sidebar menu width here */
	width: 300px !important;
}

/* Sidebar End */


/* Menu Screen */
#carouselMenu {
	margin: 20px auto;
	max-width: 90%;
}

button#carouselPrev,
button.carouselPrevMenu,
button#carouselNext,
button.carouselNextMenu {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: auto;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
	/* background-color: black; */
	border-radius: 50%;
	filter: invert();
}

.carousel-control-prev,
.carousel-control-next {
	width: 50px;
	height: 50px;
}

/* Slide Category */
.category-title {
	font-size: 16px;
	text-transform: uppercase;
}

.slider-category,
.menu-category {
	/* width: 90%; */
	position: relative;
	/* overflow: hidden; */
}

.menu-container {
	display: flex;
	position: relative;
	overflow: hidden;
	width: 90% !important;
	/* Adjust width to fit the layout */
	margin: auto;
}

.slider-container {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	width: 90% !important;
	/* Adjust width to fit the layout */
	margin: auto;
}

.menu-wrapper {
	display: flex;
	width: 100%;
	transition: transform 0.5s ease;
}

.slider-wrapper {
	display: flex;
	transition: transform 0.5s ease;
}

.menu-item {
	/* 5 items visible, each takes 20% of the width */
	flex: 0 0 25%;
	padding: 10px;
	box-sizing: border-box;
}

/* Menu */

.slider-item {
	flex: 0 0 20%;
	/* 5 items visible, each takes 20% of the width */
	text-align: center;
	padding: 10px;
	box-sizing: border-box;
}

.slider-item img,
.menu-item img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	max-height: 150px;
	object-fit: cover;
}

/* Sub Category */
.card-img-top {
	height: 110px;
	object-fit: cover;
}


/* Featured Products Slider Start */
.featuredContentPart {
	position: relative;
}

.featuredContentPart::before,
.featuredContentPart::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 40px;
	width: 30px;
	z-index: 10;
	pointer-events: none;
}

.featuredContentPart::before {
	left: 0;
	background: linear-gradient(to right, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 100%);
}

.featuredContentPart::after {
	right: 0;
	background: linear-gradient(to left, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 100%);
}

.swiper {
	padding: 12px 6px 40px 6px !important;
}

.swiper-wrapper {
	height: fit-content !important;
}

.swiper-slide {
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	padding: 10px;
	text-align: center;
}

.swiper-slide:hover {
	padding: 8px !important;
	/* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
}

.swiper-slide>.product-card {
	padding: 0px !important;
	cursor: pointer;
}

.swiper-slide>.product-card:hover {
	box-shadow: unset !important;
}

.swiper-button-next,
.swiper-button-prev {
	position: relative !important;
	color: var(--bs-primary) !important;
	left: unset !important;
	right: unset !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
	font-size: 26px !important;
}

.swiper-pagination-bullet-active {
	background-color: var(--bs-primary) !important;
}

.swiper-slide .product-title {
	-webkit-line-clamp: 2;
	/* Limit to 2 lines */
	line-height: 1.3em;
	height: 2.6em;
	/* Fixed height for show 1.3em * 2 line text */
}

.product-title {
	font-size: 14px;
}

.product-manufacturer {
	font-size: 12px;
	text-transform: uppercase;
}

/* Featured Products Slider End */
.bg-dark-red {
	background-color: #BF171D !important;
}

/* All Products List Start */
.filter-title {
	font-size: 12px;
	font-weight: normal;
	text-transform: uppercase;
}

#accordionProductFilters {
	overflow-y: unset !important;
	padding-bottom: 100px !important;
}

.accordion-header {
	position: relative;
}

.collapse-icon {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 26px;
	font-weight: normal;
	pointer-events: none;
}


.icon-right {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	/* font-size: 26px; */
	pointer-events: none;
}

.accordion-button.collapsed .collapse-icon::after {
	content: "+";
	display: block;
	text-align: center;
}

.accordion-button:not(.collapsed):not(.filtered) .collapse-icon::after {
	content: "\2212";
	display: block;
	text-align: center;
}


.filterContainer {
	border-bottom: 1px solid #000 !important;
	padding-top: 10px;
	padding-bottom: 10px;
	margin-bottom: 6px;
}

.filterContainer>.accordion-item {
	background-color: unset;
}

.filter-size {
	max-height: 30%;
	overflow-y: auto;
}

.accordion-body>.form-check {
	margin-bottom: 10px;
	/* font-size: 16px; */
}

.form-check-input[type=checkbox] {
	border-radius: 0% !important;
	border-color: #000;
}

.form-check-input:checked[type=checkbox] {
	border-radius: 0% !important;
	border-color: #000;
	background-color: black;
}

.form-check-input[type=radio] {
	border-radius: 0% !important;
	border-color: #000;
}

.form-check-input:checked[type=radio] {
	border-radius: 0% !important;
	border-color: #000;
	background-color: black;
}

.product-card {
	/* border: 1px solid #ddd; */
	/* border-radius: 8px; */
	padding: 16px;
	text-align: center;
	transition: box-shadow 0.3s;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	/* Ensure equal height for all cards */
	width: 100%;
}

.product-card:hover {
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-image-container {
	height: 100px;
	/* Fixed height for all images */
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
	overflow: hidden;
	/* Prevent large images from breaking the layout */
}

.product-image-container img {
	max-height: 100%;
	max-width: 100%;
}

.product-title {
	font-weight: normal;
	margin-bottom: 8px;
	display: -webkit-box;
	/* Enable webkit box model for truncation */
	-webkit-box-orient: vertical;
	/* Set orientation to vertical */
	-webkit-line-clamp: 3;
	/* Limit to 3 lines */
	overflow: hidden;
	/* Hide overflowing text */
	text-overflow: ellipsis;
	/* Show ellipses (...) for overflow */
}

.product-price {
	color: #000;
	font-weight: bold;
	font-size: 12px;
}

.star-rating {
	color: #fbc02d;
	/* Gold color for stars */
	font-size: 1rem;
	margin-bottom: 8px;
}

/* All Products List End */

/* View Order Detail & Cart Images Start
   Keep product images a consistent square-ish shape (similar to product list)
   so that rows don't jump in height when images have different aspect ratios. */
.order-image-container {
	height: 100px;
	/* Match product grid thumbnails so all rows stay the same height */
	width: 100%;
	max-width: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	overflow: hidden;
	/* Prevent large images from breaking the layout */
}

.order-image-container img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
/* View Order Detail & Cart Images End */

.order-product-desc-label {
	display: block;
	margin-bottom: 2px;
	margin-top: 2px;
    font-size: 14px;
    line-height: 1.2;
}

/* Pill badges used in order detail quantities */
.refund-pill,
.replace-request-pill,
.replaced-pill,
.replacement-item-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 2px 8px;
	margin-left: 6px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 500;
	white-space: nowrap;
}

/* Refund (red tint) */
.refund-pill {
	color: var(--bs-danger);
	background-color: rgba(220, 53, 69, 0.12); /* soft danger tint */
}

/* Replacement requested (yellow) */
.replace-request-pill {
	color: #856404; /* bootstrap warning text */
	background-color: rgba(255, 193, 7, 0.25); /* soft warning tint */
}

/* Replaced (red tint, same style as refunded) */
.replaced-pill {
	color: var(--bs-danger);
	background-color: rgba(220, 53, 69, 0.12); /* soft danger tint */
	position: relative;
	top: 0; /* slightly lower than previous tweak so it sits more naturally */
}

/* Replacement item label (neutral grey tint) */
.replacement-item-pill {
	color: #495057; /* bootstrap secondary text */
	background-color: rgba(108, 117, 125, 0.15); /* soft secondary tint */
}

/* Wrapper for replacement label so it aligns with description and has a bit of breathing room */
.replacement-item-label {
	margin-bottom: 12px;   /* extra space above description */
	padding-left: 0;       /* align exactly with title text */
}

/* Ensure replacement pill starts flush with text (override shared pill margin) */
.replacement-item-label .replacement-item-pill {
	margin-left: 0;
}

/* View Order Detail End */

/* Cart Start */
.cart-qty-container {
	/* display: flex;
	justify-content: center;
	align-items: center; 
	min-width: 80px; */
	width: fit-content;
	background-color: #fff;
	box-sizing: border-box;
	border-style: solid;
	border-width: 2px;
	border-radius: 100px;
	overflow: hidden;
	margin-top: auto !important;
	margin-bottom: auto !important;
}

.cart-qty-container>button:active,
.cart-qty-container>button {
	border: none !important
}

.cart-qty-container>button>i {
	font-size: 22px;
}

.cart-free-shipping-label {
	font-size: 12px;
}

/* Cart End */

/* Product Details Start */
.pd-price {
	font-size: 24px;
	font-weight: bold;
}

.pd-org-price {
	font-size: 18px;
	color: #fb7594;
}

.pd-box {
	flex: 1
}

.pd-feature-container {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
}

.pd-feature-box {
	flex: 1;
	/* Ensure all boxes have the same width */
	display: flex;
	flex-direction: column;
	justify-content: center;
	/* Center content vertically */
	align-items: center;
	/* Center content horizontally */
	border: 1px solid #ddd;
	padding: 20px;
	text-align: center;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	/* Add a subtle shadow */
	background-color: #fff;
}

/* Icon style */
.pd-feature-icon {
	font-size: 2rem;
	margin-bottom: 10px;
}

.star-rating i {
	font-size: 24px;
	cursor: pointer;
	transition: color 0.3s;
}

.star-rating i:hover,
.star-rating i:hover~i {
	color: #ffc107;
	/* Bootstrap warning color */
}

/* Product Details Thumb Slider & Categories slider */
/* .categories-thumb {
	width: 100%;
	height: auto;
	border-radius: 8px;
	max-height: 150px;
	object-fit: cover;
	transition: all 0.3s ease;
	cursor: pointer;
} */

.thumb {
	height: 100px !important;
	object-fit: cover;
	opacity: 0.5;
	border: 2px solid transparent;
	transition: all 0.3s ease;
	cursor: pointer;
}

/* .categories-wrapper, */
.thumb-wrapper {
	overflow: hidden;
	justify-content: center;
}

/* .categories-container::-webkit-scrollbar, */
.thumb-container::-webkit-scrollbar {
	display: none;
}

/* .categories-container, */
.thumb-container {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
	background: 0 0 !important;
	border-color: var(--bs-primary) !important;
	border: 0px !important;
	border-bottom: 1px solid !important;
	border-radius: 0px !important;
}

.nav-link:focus,
.nav-link:hover {
	border: 0px !important;
	outline: unset !important;
}

#menuTabContent .navbar-nav {
	display: block !important;
}

.carousel-indicators {
	position: static;
	/* removes absolute positioning */
	margin-top: 0px;
	/* space between image and indicators */
	justify-content: center;
	/* center the dots */
}

.carousel-indicators [data-bs-target] {
	background-color: #CCCCCC !important;
	/* default dot color */
	width: 8px;
	height: 8px;
	border-radius: 50% !important;
	opacity: 1;
	/* make sure it's not transparent */
}

.carousel-indicators .active {
	background-color: var(--bs-primary) !important;
	/* active dot color (Bootstrap primary) */
}

/* Product Details End */
@media (min-width: 992px) {
	.navbar-expand-lg {
		flex-wrap: wrap !important;
	}
}

/* Desktop */
@media (min-width: 700px) {

	/* Search Bar */
	.search-container {
		width: 30% !important;
		position: absolute;
		left: 0;
		right: 0;
		justify-self: center;
	}

	.navbar-expand-lg .navbar-collapse {
		min-height: 48px;
	}

	.filterPart {
		overflow-y: auto;
	}

	/* Landing Page Fixes for Sidebar */
	.desktop-flex {
		display: flex !important;
	}

	.desktop-main-content {
		min-width: 0 !important;
	}

	/*Product Details Page*/
	div#carouselProductDetail {
		height: 430px !important;
	}
}

/* Mobile */
@media (max-width: 699px) {

	nav.navbar {
		padding-top: 0px !important;
	}

	.home-banner,
	.desktop-home-banner {
		width: 100% !important;
		height: 350px;
		object-fit: cover;
	}

	/* Ensure any carousel banner image crops correctly on mobile,
	   even if a slide lacks a mobile-specific image/class */
	#carouselHome .carousel-item img {
		width: 100% !important;
		height: 350px !important;
		object-fit: cover !important;
	}

	.carousel-indicators {
		position: static;
		/* removes absolute positioning */
		margin-top: 10px;
		/* space between image and indicators */
		justify-content: center;
		/* center the dots */
	}

	.SalonName {
		height: 55px !important;
	}

	.filter-size {
		max-height: 125px;
		overflow-y: auto;
	}

	.swiper-slide {
		box-shadow: none !important;
		padding: 0px !important;
	}

	.swiper-slide:hover {
		padding: 2px !important;
	}

	.swiper-slide .product-price-offer {
		-webkit-line-clamp: 2;
		line-height: 1.3em;
		height: 2.6em;
	}

	.search-container {
		width: 100% !important;
	}

	.mobile-bottom-margin {
		margin-bottom: 20px !important;
	}

	/*Product Details Page*/
	div#carouselProductDetail {
		height: 300px !important;
	}
}