/**
 * Modern Shop Page Styles
 * Animations and enhancements for the shop page
 */

/* ==========================================
   GLOBAL FIXES
   ========================================== */
html,
body {
	overflow-x: hidden;
	width: 100%;
}

/* ==========================================
   SKELETON LOADING ANIMATIONS
   ========================================== */
@keyframes skeleton-loading {
	0% {
		background-position: 200% 0;
	}
	100% {
		background-position: -200% 0;
	}
}

@keyframes skeleton-pulse {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.5;
	}
}

/* Base skeleton styles */
.skeleton {
	background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
	background-size: 200% 100%;
	animation: skeleton-loading 1.5s infinite;
	border-radius: 4px;
}

/* Skeleton for images */
.img-skeleton {
	position: relative;
	overflow: hidden;
	background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
	background-size: 200% 100%;
	animation: skeleton-loading 1.5s infinite;
	min-height: 200px;
}

.img-skeleton img.lazy-loaded {
	position: relative;
	z-index: 1;
}

/* Skeleton Product Card */
.skeleton-product-card {
	display: none; /* Hidden by default, shown via JavaScript */
	padding: 1rem;
}

.skeleton-product-card.show {
	display: block;
}

.skeleton-image {
	width: 100%;
	height: 200px;
	margin-bottom: 1rem;
}

.skeleton-title {
	width: 80%;
	height: 20px;
	margin-bottom: 0.5rem;
}

.skeleton-subtitle {
	width: 60%;
	height: 16px;
	margin-bottom: 1rem;
}

.skeleton-price {
	width: 40%;
	height: 24px;
	margin-bottom: 0.5rem;
}

.skeleton-button {
	width: 100%;
	height: 36px;
	border-radius: 4px;
}

/* Skeleton Category Item */
.skeleton-category {
	height: 40px;
	margin-bottom: 0.5rem;
	border-radius: 8px;
}

/* Page Loading Overlay */
.page-loading-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	transition: opacity 0.3s ease;
}

.page-loading-overlay.hidden {
	opacity: 0;
	pointer-events: none;
}

.page-loading-content {
	text-align: center;
}

.loading-spinner {
	width: 50px;
	height: 50px;
	border: 4px solid #f0f0f0;
	border-top: 4px solid #e47a2e;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin: 0 auto 1rem;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.loading-text {
	color: #6c757d;
	font-size: 0.875rem;
	animation: skeleton-pulse 1.5s infinite;
}

/* ==========================================
   LAZY LOADING ANIMATIONS
   ========================================== */
.fade-img {
	opacity: 1;
	transition: opacity 0.3s ease-in-out;
}

.fade-img[data-src] {
	opacity: 0;
}

.fade-img.lazy-loaded,
.fade-img[src]:not([src=""]) {
	opacity: 1;
}

/* ==========================================
   CARD ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.animate-fade-in {
	animation: fadeInUp 0.4s ease-out forwards;
}

/* Smooth hover effect for product cards */
.card-product {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-product:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* ==========================================
   LOADING STATES
   ========================================== */
#shop-loading-spinner {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
}

.product-grid {
	position: relative;
	transition: opacity 0.3s ease;
}

/* Force product grid items to be visible - override smooth-item animations */
.product-grid .col,
.product-grid .col.smooth-item {
	opacity: 1 !important;
	transform: none !important;
	animation: none !important;
}

/* ==========================================
   SEARCH INPUT ENHANCEMENT
   ========================================== */
form[role="search"] input[type="search"] {
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

form[role="search"] input[type="search"]:focus {
	border-color: #0aad0a;
	box-shadow: 0 0 0 0.2rem rgba(10, 173, 10, 0.25);
}

/* Typing indicator for debounced search */
form[role="search"]::after {
	content: "";
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	border: 2px solid #0aad0a;
	border-radius: 50%;
	border-top-color: transparent;
	animation: spin 0.6s linear infinite;
	opacity: 0;
	transition: opacity 0.3s ease;
}

form[role="search"].searching::after {
	opacity: 1;
}

@keyframes spin {
	to {
		transform: translateY(-50%) rotate(360deg);
	}
}

/* ==========================================
   PAGINATION ENHANCEMENT
   ========================================== */
.pagination .page-link {
	transition: all 0.3s ease;
}

.pagination .page-link:hover {
	transform: scale(1.1);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pagination .page-item.active .page-link {
	background-color: #0aad0a;
	border-color: #0aad0a;
	transform: scale(1.05);
}

/* ==========================================
   CATEGORY SIDEBAR
   ========================================== */
.list-unstyled a {
	transition: all 0.3s ease;
	display: block;
	padding: 8px 12px;
	border-radius: 4px;
}

.list-unstyled a:hover {
	background-color: #f8f9fa;
	padding-left: 20px;
}

.list-unstyled a.fw-bold {
	background-color: #e8f5e9;
}

/* Category filter input */
#categoryFilter {
	transition: border-color 0.3s ease;
}

#categoryFilter:focus {
	border-color: #0aad0a;
	box-shadow: 0 0 0 0.2rem rgba(10, 173, 10, 0.25);
}

/* ==========================================
   BUTTON LOADING STATES
   ========================================== */
.btn-primary:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.btn-primary .spinner-border-sm {
	width: 1rem;
	height: 1rem;
	border-width: 0.15em;
}

/* ==========================================
   CATEGORY SLIDER ENHANCEMENTS
   ========================================== */
.category-slider .slick-slide {
	transition: transform 0.3s ease;
}

.category-slider .slick-slide:hover {
	transform: scale(1.02);
}

.category-slider .slick-prev,
.category-slider .slick-next {
	background-color: #fff;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	z-index: 10;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	transition: all 0.2s ease;
	display: flex !important;
	align-items: center;
	justify-content: center;
	top: -24px; /* Adjusted to align with title */
	transform: none; /* Remove vertical centering */
	border: 1px solid #eee;
}

.category-slider .slick-prev:hover,
.category-slider .slick-next:hover {
	background-color: #ea5824; /* Thematic Orange */
	border-color: #ea5824;
	box-shadow: 0 4px 8px rgba(234, 88, 36, 0.25);
}

.category-slider .slick-prev i,
.category-slider .slick-next i {
	display: block !important;
	color: #333;
	font-size: 1rem;
	line-height: 1;
	transition: color 0.2s ease;
}

.category-slider .slick-prev:hover i,
.category-slider .slick-next:hover i {
	color: #fff !important;
}

.category-slider .slick-prev:before,
.category-slider .slick-next:before {
	content: none !important;
	display: none !important;
}

.category-slider .slick-prev {
	left: auto !important;
	right: 55px !important; /* 10px (right) + 40px (width) + 5px (gap) */
	margin-right: 0 !important;
}

.category-slider .slick-next {
	left: auto !important;
	right: 10px !important;
	margin-left: 0 !important;
}

/* ==========================================
   BADGE ANIMATIONS
   ========================================== */
.badge {
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.7;
	}
}

/* ==========================================
   MOBILE RESPONSIVE
   ========================================== */
@media (max-width: 991.98px) {
	.card-header .btn-link {
		text-decoration: none;
		font-weight: 600;
	}

	.card-header .btn-link:hover {
		color: #0aad0a;
	}

	/* Collapse animation */
	#categoriesCollapse {
		transition: height 0.3s ease;
	}
}

/* ==========================================
   SMOOTH SCROLL
   ========================================== */
html {
	scroll-behavior: smooth;
}

/* Disable smooth scroll for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* ==========================================
   EMPTY STATE
   ========================================== */
.empty-state {
	padding: 60px 20px;
	text-align: center;
}

.empty-state-icon {
	font-size: 4rem;
	color: #dee2e6;
	margin-bottom: 20px;
}

.empty-state-title {
	font-size: 1.5rem;
	font-weight: 600;
	color: #6c757d;
	margin-bottom: 10px;
}

.empty-state-text {
	color: #adb5bd;
}

/* ==========================================
   PERFORMANCE OPTIMIZATIONS
   ========================================== */
/* GPU acceleration for animations */
.card-product,
.pagination .page-link,
.list-unstyled a {
	will-change: transform;
}

/* Contain paint for better rendering */
.card-product,
.product-grid .col {
	contain: layout style paint;
}
/* ==========================================
   LIST VIEW STYLES
   ========================================== */
.product-grid.list-view .col {
	width: 100% !important;
	max-width: 100% !important;
}

.product-grid.list-view .card-product {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.product-grid.list-view .card-product .card-body {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 1.5rem;
	width: 100%;
}

.product-grid.list-view .card-product .text-center {
	flex: 0 0 150px;
	max-width: 150px;
}

.product-grid.list-view .card-product .img-skeleton img {
	max-height: 120px;
	object-fit: contain;
}

.product-grid.list-view .card-product > div:last-child {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.product-grid.list-view .position-absolute {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	margin-bottom: 0.5rem;
}

/* ==========================================
   VIEW TOGGLE BUTTONS
   ========================================== */
#viewToggle .btn {
	padding: 0.375rem 0.75rem;
}

#viewToggle .btn:focus {
	box-shadow: none;
}

#viewToggle .btn.btn-secondary {
	background-color: #0aad0a;
	border-color: #0aad0a;
	color: white;
}

/* ==========================================
   STICKY SIDEBAR
   ========================================== */
/* Hide entire sidebar on mobile */
@media (max-width: 991px) {
	.col-lg-3.sidebar-categories {
		display: none !important;
	}
}

/* Desktop sticky sidebar */
@media (min-width: 992px) {
	.sticky-sidebar-wrapper {
		position: -webkit-sticky !important;
		position: sticky !important;
		top: 120px !important;
		z-index: 10;
		max-height: calc(100vh - 140px);
		overflow-y: auto;
		will-change: transform;
	}

	/* Ensure parent column doesn't interfere */
	.col-lg-3.sidebar-categories {
		align-self: flex-start;
	}
}

/* Ensure sidebar scrolls smoothly */
.sticky-sidebar-wrapper::-webkit-scrollbar {
	width: 6px;
}

.sticky-sidebar-wrapper::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 10px;
}

.sticky-sidebar-wrapper::-webkit-scrollbar-thumb {
	background: #888;
	border-radius: 10px;
}

.sticky-sidebar-wrapper::-webkit-scrollbar-thumb:hover {
	background: #555;
}

/* ==========================================
   FILTER CONTROLS
   ========================================== */
.form-select-sm {
	font-size: 0.875rem;
}

/* ==========================================
   ENHANCED PRODUCT CARDS
   ========================================== */
.card-product {
	position: relative;
	overflow: visible;
	border: 1px solid #e9ecef;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-product::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(
		135deg,
		rgba(255, 255, 255, 0.1),
		rgba(0, 0, 0, 0.05)
	);
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.card-product:hover::before {
	opacity: 1;
}

.card-product:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12), 0 5px 10px rgba(0, 0, 0, 0.08);
	border-color: #e47a2e;
}

/* Product action buttons */
.card-product .quick-view-btn,
.card-product .wishlist-btn,
.card-product .compare-btn {
	opacity: 0;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	border: none;
	backdrop-filter: blur(10px);
	background: rgba(255, 255, 255, 0.95) !important;
}

.card-product:hover .quick-view-btn,
.card-product:hover .wishlist-btn,
.card-product:hover .compare-btn {
	opacity: 1;
	transform: translateY(0);
}

.card-product .quick-view-btn:hover {
	background: rgba(228, 122, 46, 0.1) !important;
	color: #e47a2e !important;
}

.card-product .wishlist-btn:hover {
	background: rgba(220, 53, 69, 0.1) !important;
	color: #dc3545 !important;
}

.card-product .compare-btn:hover {
	background: rgba(13, 110, 253, 0.1) !important;
	color: #0d6efd !important;
}

/* Stagger animation for action buttons */
.card-product:hover .quick-view-btn {
	transition-delay: 0.05s;
}

.card-product:hover .wishlist-btn {
	transition-delay: 0.1s;
}

.card-product:hover .compare-btn {
	transition-delay: 0.15s;
}

/* Product badges */
.card-product .badge {
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.35em 0.65em;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Product rating stars */
.card-product .text-warning i {
	font-size: 0.875rem;
}

/* ==========================================
   FLOATING ACTION BUTTONS
   ========================================== */
.position-fixed.bottom-0.end-0 {
	transition: all 0.3s ease;
}

/* Adjust floating buttons on mobile */
@media (max-width: 991.98px) {
	body {
		padding-bottom: 70px;
	}
	.position-fixed.bottom-0.end-0 {
		bottom: 80px !important; /* Position above mobile action bar */
		z-index: 1040 !important;
	}
}

/* ==========================================
   MOBILE ACTION BAR
   ========================================== */
.mobile-action-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	background: #ffffff;
	border-top: 1px solid #e9ecef;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
	display: flex;
	justify-content: space-around;
	padding: 0.5rem 0;
	z-index: 9999;
	backdrop-filter: blur(10px);
	background: rgba(255, 255, 255, 0.98);
}

.mobile-action-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 1;
	padding: 0.5rem;
	border: none;
	background: transparent;
	color: #6c757d;
	text-decoration: none;
	transition: all 0.3s ease;
	position: relative;
	min-width: 60px;
}

.mobile-action-btn:hover,
.mobile-action-btn:active {
	color: #e47a2e;
	background: rgba(228, 122, 46, 0.05);
}

.mobile-action-btn i {
	font-size: 1.5rem;
	margin-bottom: 0.25rem;
}

.mobile-action-label {
	font-size: 0.65rem;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.mobile-badge {
	position: absolute;
	top: 0.25rem;
	right: 1.25rem;
	font-size: 0.6rem;
	padding: 0.15em 0.35em;
	border-radius: 10px;
	font-weight: 600;
	line-height: 1;
	min-width: 16px;
	height: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: white;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Add bottom padding to body to prevent content being hidden by action bar */
@media (max-width: 991.98px) {
	body {
		padding-bottom: 70px;
	}
}

.position-fixed.bottom-0.end-0 button {
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border: none;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.position-fixed.bottom-0.end-0 button:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.position-fixed.bottom-0.end-0 button:active {
	transform: scale(0.95);
}

/* Badge on floating buttons */
.position-fixed.bottom-0.end-0 .badge {
	animation: bounce 2s infinite;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@keyframes bounce {
	0%,
	20%,
	50%,
	80%,
	100% {
		transform: translateY(0);
	}
	40% {
		transform: translateY(-5px);
	}
	60% {
		transform: translateY(-3px);
	}
}

/* ==========================================
   MODAL ENHANCEMENTS
   ========================================== */
.modal-content {
	border: none;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
	padding: 1.5rem;
	border-bottom: 1px solid #e9ecef;
}

.modal-body {
	padding: 2rem;
}

.modal-backdrop {
	backdrop-filter: blur(4px);
}

#quickViewModal .img-fluid {
	max-height: 400px;
	object-fit: contain;
	transition: transform 0.3s ease;
}

#quickViewModal .img-fluid:hover {
	transform: scale(1.05);
}

/* ==========================================
   OFFCANVAS ENHANCEMENTS
   ========================================== */
.offcanvas {
	box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
	max-width: 400px;
}

.offcanvas-header {
	background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.offcanvas-body {
	padding: 1.5rem;
}

.offcanvas-body .card {
	border: 1px solid #e9ecef;
	transition: all 0.3s ease;
}

.offcanvas-body .card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	transform: translateX(-4px);
}

/* ==========================================
   IMPROVED FILTER SECTION
   ========================================== */
.card.border-0.shadow-sm {
	transition: box-shadow 0.3s ease;
}

.card.border-0.shadow-sm:hover {
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1) !important;
}

#priceFilterCollapse {
	transition: all 0.3s ease;
}

#priceFilterForm .input-group {
	transition: all 0.3s ease;
}

#priceFilterForm .input-group:focus-within {
	transform: scale(1.02);
}

/* ==========================================
   MOBILE OPTIMIZATIONS
   ========================================== */
@media (max-width: 767.98px) {
	/* Stack filter controls vertically */
	.card-body .d-flex.flex-wrap {
		flex-direction: column !important;
		align-items: stretch !important;
	}

	.card-body .d-flex.flex-wrap > div {
		width: 100% !important;
	}

	/* Adjust floating buttons for mobile */
	.position-fixed.bottom-0.end-0 {
		padding: 1rem !important;
	}

	.position-fixed.bottom-0.end-0 button {
		width: 48px !important;
		height: 48px !important;
	}

	.position-fixed.bottom-0.end-0 button i {
		font-size: 1.25rem !important;
	}

	/* Make product cards more compact on mobile */
	.card-product .card-body {
		padding: 1rem;
	}

	.card-product .img-skeleton {
		min-height: 150px;
	}

	/* Always show action buttons on mobile */
	.card-product .quick-view-btn,
	.card-product .wishlist-btn,
	.card-product .compare-btn {
		opacity: 1;
		transform: translateY(0);
	}

	/* Adjust modal for mobile */
	.modal-dialog {
		margin: 0.5rem;
	}

	.modal-body {
		padding: 1rem;
	}

	#quickViewModal .img-fluid {
		max-height: 250px;
	}

	/* Full width offcanvas on mobile */
	.offcanvas {
		max-width: 100%;
	}
}

/* ==========================================
   TABLET OPTIMIZATIONS
   ========================================== */
@media (min-width: 768px) and (max-width: 991.98px) {
	.product-grid[data-view="grid-4"] > .col {
		width: 33.333333%;
	}

	.card-product .img-skeleton {
		min-height: 180px;
	}
}

/* ==========================================
   SMOOTH ANIMATIONS
   ========================================== */
@media (prefers-reduced-motion: no-preference) {
	.smooth-item {
		animation: smoothFadeIn 0.4s ease-out;
	}

	@keyframes smoothFadeIn {
		from {
			opacity: 0;
			transform: translateY(20px);
		}
		to {
			opacity: 1;
			transform: translateY(0);
		}
	}
}

/* ==========================================
   ACCESSIBILITY IMPROVEMENTS
   ========================================== */
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible {
	outline: 2px solid #e47a2e;
	outline-offset: 2px;
	box-shadow: none;
}

.card-product a:focus-visible {
	outline: 2px solid #e47a2e;
	outline-offset: 2px;
	border-radius: 4px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
	.card-product {
		border: 2px solid currentColor;
	}

	.badge {
		border: 1px solid currentColor;
	}
}

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
	.position-fixed,
	.offcanvas,
	.modal,
	.sticky-sidebar-wrapper,
	.quick-view-btn,
	.wishlist-btn,
	.compare-btn {
		display: none !important;
	}

	.card-product {
		break-inside: avoid;
		page-break-inside: avoid;
	}
}

/* ==========================================
   LOADING STATES
   ========================================== */
.btn.loading {
	position: relative;
	color: transparent !important;
	pointer-events: none;
}

.btn.loading::after {
	content: "";
	position: absolute;
	width: 16px;
	height: 16px;
	top: 50%;
	left: 50%;
	margin-left: -8px;
	margin-top: -8px;
	border: 2px solid transparent;
	border-radius: 50%;
	border-top-color: currentColor;
	animation: spin 0.6s linear infinite;
}

/* ==========================================
   MOBILE FLYOUT MENU (FULL SCREEN)
   ========================================== */
#mobileFlyoutMenu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;
	visibility: hidden;
	transition: visibility 0.3s;
}

#mobileFlyoutMenu.open {
	visibility: visible;
}

.mobile-menu-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	transition: opacity 0.3s;
}

#mobileFlyoutMenu.open .mobile-menu-backdrop {
	opacity: 1;
}

.mobile-menu-content {
	position: absolute;
	top: 0;
	right: 0;
	width: 85%;
	max-width: 320px;
	height: 100%;
	background: #fff;
	transform: translateX(100%);
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
	box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
}

#mobileFlyoutMenu.open .mobile-menu-content {
	transform: translateX(0);
}

.mobile-menu-header {
	padding: 1rem 1.5rem;
	border-bottom: 1px solid #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #fff;
}

.mobile-menu-body {
	padding: 1rem 1.5rem;
	overflow-y: auto;
	background: #fff;
	flex: 1;
}

.mobile-menu-body .list-group-item {
	padding: 0.5rem 0;
}

.mobile-menu-body .menu-icon-box {
	background-color: #f8f9fa;
	color: #212529;
	transition: all 0.2s;
}

.mobile-menu-body a:hover .menu-icon-box,
.mobile-menu-body button:hover .menu-icon-box {
	background-color: #e9ecef;
	color: #000;
}

/* ==========================================
   HEADER NAVIGATION (ICON-BASED LAYOUT)
   ========================================== */
@media (min-width: 992px) {
	/* Header navigation items hover */
	header .order-lg-3 a:hover,
	header .order-lg-3 button:hover,
	header .order-lg-3 .dropdown > a:hover {
		opacity: 0.85;
		transition: opacity 0.2s ease;
	}

	/* Search button */
	#search-button {
		background-color: white;
		border: none;
		font-weight: 600;
		padding: 0.5rem 1.5rem;
		color: #333;
	}

	#search-button:hover {
		background-color: #f0f0f0;
	}

	/* Search input */
	#searchQuery {
		border-radius: 4px 0 0 4px;
	}

	/* Cart badge */
	header .badge {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	/* Dropdown menu */
	header .dropdown-menu {
		border: 1px solid #ddd;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
		border-radius: 4px;
		margin-top: 0.5rem;
	}
}
