		:root {
			/* Bohemian Artisan Palette - All Light Backgrounds */
			--primary-color: #22223B;
			/* Deep Warm Brown - Grounding, rich for text/elements */
			--secondary-color: #7371FC;
			/* Soft Terracotta - Warm, artistic accent */
			--accent-color: #A8A878;
			/* Muted Sage Green - Complementary natural highlight */

			--background-light: #FFFFFF;
			/* Very Light Cream - Main background for body */
			--surface-color: #EDF2F4;
			/* Slightly Richer Cream - For surfaces like cards, top navbar, footer */

			--text-primary-dark: rgba(0, 0, 0, 0.87);
			/* Dark text on light background for readability */
			--text-secondary-dark: rgba(0, 0, 0, 0.60);
			/* Muted text for secondary info */
			--border-light: #DEDBD2;
			/* Soft, warm gray border */
			--shadow-key: rgba(0, 0, 0, 0.10);
			/* Softer Material-like shadow key light */
			--shadow-ambient: rgba(0, 0, 0, 0.06);
			/* Softer Material-like shadow ambient light */
		}

		body {
			font-family: 'Nunito', sans-serif;
			/* Friendly, approachable sans-serif */
			color: var(--text-primary-dark);
			background-color: var(--background-light);
			line-height: 1.6;
		}

		h1,
		h2,
		h3,
		h4,
		h5,
		h6 {
			font-family: 'Merriweather', serif;
			/* Distinct, organic serif for headings */
			color: var(--text-primary-dark);
			font-weight: 700;
			/* Bolder for impact */
		}

		.hidden {
			display: none;
		}

		.navbar-top {
			background-color: var(--surface-color);
			/* Richer cream for top navbar */
			border-bottom: 1px solid var(--border-light);
			box-shadow: 0 2px 4px var(--shadow-ambient), 0 4px 5px var(--shadow-key);
			padding-top: 0.8rem;
			padding-bottom: 0.8rem;
		}

		/* Styles for the centered logo (desktop only) */
		.navbar-brand img{
			z-index: 10;
			/* Ensure it's above other content if they overlap */
			height: 40pt;
			/* Match navbar height */
			display: flex;
			align-items: center;
			padding: 0;
			max-height: 40pt;
			/* Make image fit within its container */
			width: auto;
			/* Maintain aspect ratio */
			display: block;
		}

		.nav-link {
			font-weight: 500;
			color: var(--text-primary-dark) !important;
			transition: color 0.3s ease, border-color 0.3s ease;
			position: relative;
			padding-bottom: 0.5rem;
		}

		.nav-link::after {
			content: '';
			position: absolute;
			width: 0;
			height: 2px;
			bottom: 0;
			left: 50%;
			transform: translateX(-50%);
			background-color: var(--secondary-color);
			/* Soft Terracotta underline */
			transition: width 0.3s ease;
		}

		.nav-link:hover::after,
		.nav-link.active::after {
			width: 80%;
		}

		.nav-link:hover {
			color: var(--primary-color) !important;
			/* Deep Warm Brown on hover */
		}

		/* Search input styling */
		.form-control {
			border: 1px solid var(--border-light);
			border-radius: 0.25rem;
			box-shadow: none !important;
			transition: border-color 0.3s ease;
			color: var(--text-primary-dark);
		}

		.form-control:focus {
			border-color: var(--primary-color);
		}

		.input-group-text {
			background-color: var(--surface-color);
			/* Richer cream for search icon background */
			border: 1px solid var(--border-light);
			border-left: none;
			color: var(--text-secondary-dark);
			border-radius: 0 0.25rem 0.25rem 0;
			transition: color 0.3s ease, border-color 0.3s ease;
		}

		.input-group-text:hover {
			color: var(--primary-color);
			border-color: var(--primary-color);
		}

		/* Category navigation bar - now light */
		.navbar-dark {
			/* Bootstrap's .navbar-dark class is used, but we're overriding its background */
			background-color: var(--background-light) !important;
			/* Very Light Cream background */
			border-bottom: 1px solid var(--border-light);
			/* Add a subtle border */
		}

		.navbar-dark .navbar-nav .nav-link {
			color: var(--text-primary-dark) !important;
			padding-right:1rem;
			padding-left:1rem;
			/* Dark text on light background */
		}

		.navbar-dark .navbar-nav .nav-link:hover {
			color: var(--primary-color) !important;
			/* Deep Warm Brown on hover */
		}

		.navbar-dark .navbar-nav .nav-link::after {
			background-color: var(--secondary-color);
			/* Soft Terracotta underline */
		}


		.hero-section {
			background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://pga2310.github.io/instartshop-static/assets/img/hero-banner/instartshop.png') no-repeat center center;
			background-size: cover;
			min-height: 700px;
			display: flex;
			align-items: center;
			justify-content: center;
			color: white;
			text-align: center;
			position: relative;
			padding: 7rem 1rem;
		}

		.hero-section h1 {
			font-size: 5.5rem;
			font-weight: 700;
			text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
			margin-bottom: 1.8rem;
			color: white;
			line-height: 1.1;
		}

		.container {
			max-width: 1500px;
		}

		/* Media query for smaller screens (e.g., max-width 768px for tablets/mobiles) */
		@media (max-width: 768px) {
			.hero-section h1 {
				font-size: 3rem;
				/* Reduced font size for mobile */
			}

			.hero-section p {
				font-size: 1.2rem;
				/* Also reduce paragraph size for mobile */
			}

			.container {
				max-width: 768px;
			}
		}

		@media (max-width: 576px) {

			/* Even smaller screens like phones */
			.hero-section h1 {
				font-size: 2.5rem;
				/* Further reduced font size for very small screens */
			}

			.hero-section p {
				font-size: 1rem;
			}

			.container {
				max-width: 576px;
			}
		}

		.hero-section p {
			font-size: 1.6rem;
			max-width: 900px;
			margin: 1.5rem auto 3rem;
			line-height: 1.7;
			color: rgba(255, 255, 255, 0.95);
		}

		.btn-primary {
			background-color: var(--primary-color);
			/* Deep Warm Brown button */
			border-color: var(--primary-color);
			transition: all 0.3s ease;
			padding: 1rem 3rem;
			font-size: 1.25rem;
			border-radius: 0.5rem;
			font-weight: 500;
			box-shadow: 0 4px 8px var(--shadow-ambient), 0 6px 10px var(--shadow-key);
		}

		.btn-primary:hover {
			background-color: var(--secondary-color);
			/* Soft Terracotta on hover */
			border-color: var(--secondary-color);
			transform: translateY(-2px);
			box-shadow: 0 6px 10px var(--shadow-ambient), 0 8px 12px var(--shadow-key);
		}

		.btn-outline-primary {
			border-color: var(--primary-color);
			/* Deep Warm Brown border */
			color: var(--primary-color);
			transition: all 0.3s ease;
			font-weight: 500;
			padding: 0.75rem 2rem;
			border-width: 2px;
			border-radius: 0.5rem;
		}

		.btn-outline-primary:hover {
			background-color: var(--primary-color);
			/* Deep Warm Brown fill on hover */
			color: var(--background-light);
			box-shadow: 0 2px 4px var(--shadow-ambient), 0 3px 6px var(--shadow-key);
		}

		.btn-outline-dark {
			/* Used for "Learn More About Us" */
			border-color: var(--text-primary-dark);
			color: var(--text-primary-dark);
			transition: all 0.3s ease;
			font-weight: 500;
			padding: 0.75rem 2.5rem;
			border-width: 2px;
			border-radius: 0.5rem;
		}

		.btn-outline-dark:hover {
			background-color: var(--text-primary-dark);
			color: var(--background-light);
			box-shadow: 0 2px 4px var(--shadow-ambient), 0 3px 6px var(--shadow-key);
		}


		.section-title {
			font-size: 3.8rem;
			font-weight: 700;
			margin-bottom: 5.5rem;
			position: relative;
			display: inline-block;
			padding-bottom: 0.75rem;
			text-transform: capitalize;
			color: var(--text-primary-dark);
		}

		.section-title::after {
			content: '';
			position: absolute;
			left: 50%;
			bottom: 0;
			transform: translateX(-50%);
			width: 120px;
			height: 4px;
			background-color: var(--secondary-color);
			/* Soft Terracotta underline */
			border-radius: 2px;
		}

		.card {
			background-color: var(--surface-color);
			/* Richer cream for card background */
			border: none;
			border-radius: 0.75rem;
			overflow: hidden;
			box-shadow: 0 2px 4px var(--shadow-ambient), 0 3px 5px var(--shadow-key);
			transition: transform 0.3s ease, box-shadow 0.3s ease;
		}

		.card:hover {
			transform: translateY(-5px);
			box-shadow: 0 6px 10px var(--shadow-ambient), 0 8px 12px var(--shadow-key);
		}

		.card img {
			height: 340px;
			object-fit: cover;
			width: 100%;
			border-top-left-radius: 0.75rem;
			border-top-right-radius: 0.75rem;
			transition: transform 0.3s ease;
		}

		.card img:hover {
			transform: scale(1.03);
		}

		.category-card img {
			height: 350px;
		}

		.card-body {
			padding: 1.75rem;
			display: flex;
			flex-direction: column;
			justify-content: space-between;
		}

		.card-title {
			font-size: 1.5rem;
			font-weight: 600;
			margin-bottom: 0.8rem;
			color: var(--text-primary-dark);
			/* Dark text for all card titles */
		}

		.category-card .card-title {
			font-size: 1.6rem;
			font-weight: 700;
			margin-bottom: 1.25rem;
		}

		.card-text.price {
			font-size: 1.35rem;
			font-weight: 700;
			color: var(--primary-color);
			/* Deep Warm Brown for price */
			margin-top: 0.5rem;
			margin-bottom: 1.25rem;
		}

		.card .btn {
			width: 100%;
			font-size: 1rem;
			padding: 0.65rem 1rem;
		}

		/* Section for "Our Passion for Art" */
		.bg-light {
			background-color: var(--surface-color) !important;
			/* Use richer cream for this section's background */
		}

		.bg-light p {
			color: var(--text-primary-dark);
			/* Ensure text is dark on this light background */
		}


		footer {
			background-color: var(--surface-color);
			/* Richer cream background for footer */
			color: var(--text-primary-dark);
			/* Dark text on light background */
			padding: 5rem 0;
			margin-top: 7rem;
			font-family: 'Nunito', sans-serif;
			font-weight: 300;
		}

		footer h5 {
			color: var(--primary-color);
			/* Deep Warm Brown headings in footer */
			font-family: 'Merriweather', serif;
			font-weight: 700;
			font-size: 1.8rem;
			margin-bottom: 1.5rem;
		}

		footer a {
			color: var(--secondary-color);
			/* Soft Terracotta for footer links */
			text-decoration: none;
			transition: color 0.3s ease;
		}

		footer a:hover {
			color: var(--primary-color);
			/* Deep Warm Brown on hover */
		}

		footer .list-unstyled li {
			margin-bottom: .8rem;
		}

		footer address {
			color: var(--text-secondary-dark);
			line-height: 1.7;
		}

		footer address a {
			color: var(--text-secondary-dark);
		}

		footer address a:hover {
			color: var(--primary-color);
		}

		footer .social-icons a {
			font-size: 1.8rem;
			margin: 0 0.8rem;
			color: var(--primary-color);
			/* Deep Warm Brown for social icons */
			transition: color 0.3s ease, transform 0.2s ease;
		}

		footer .social-icons a:hover {
			color: var(--secondary-color);
			transform: scale(1.1);
		}

		footer hr {
			border-color: var(--border-light);
			margin: 4rem 0;
		}

		footer .text-muted {
			color: var(--text-secondary-dark) !important;
			font-size: 0.9rem;
		}


		/* Specific styles for Auth page */
		.auth-container {
			max-width: 500px;
			margin: 1rem auto;
			padding: 2rem;
			background-color: var(--surface-color);
			border-radius: 0.75rem;
			box-shadow: 0 4px 12px var(--shadow-ambient), 0 8px 16px var(--shadow-key);
		}

		.auth-tabs .nav-link {
			color: var(--text-secondary-dark) !important;
			border: none;
			font-weight: 600;
			padding: 0.75rem 1.5rem;
			margin-bottom: -2px;
			/* To prevent double border with active state */
		}

		.auth-tabs .nav-link.active {
			color: var(--primary-color) !important;
			border-color: var(--primary-color);
			background-color: transparent;
		}

		.auth-tabs .nav-link:hover:not(.active) {
			border-color: var(--border-light);
		}

		.form-label {
			font-weight: 500;
			color: var(--text-primary-dark);
			margin-bottom: 0.5rem;
		}

		.form-control {
			border-radius: 0.5rem;
			padding: 0.75rem 1rem;
			font-size: 1rem;
		}

		.form-control:focus {
			border-color: var(--secondary-color);
			box-shadow: 0 0 0 0.25rem rgba(115, 113, 252, 0.25);
			/* secondary-color with transparency */
		}

		.btn-auth {
			background-color: var(--primary-color);
			border-color: var(--primary-color);
			color: white;
			padding: 0.75rem 1.5rem;
			font-size: 1.1rem;
			border-radius: 0.5rem;
			transition: all 0.3s ease;
			width: 100%;
		}

		.btn-auth:hover {
			background-color: var(--secondary-color);
			border-color: var(--secondary-color);
			transform: translateY(-1px);
			box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
		}

		.text-link {
			color: var(--primary-color);
			text-decoration: none;
			font-weight: 500;
			transition: color 0.3s ease;
		}

		.text-link:hover {
			color: var(--secondary-color);
			text-decoration: underline;
		}


		/* Filter Sidebar Specific Styles */
		.filter-sidebar .card {
			box-shadow: 0 2px 8px var(--shadow-ambient);
			background-color: var(--background-light);
			border: none;
			border-radius: 0.75rem;
		}

		.filter-sidebar .card-header {
			background-color: var(--surface-color);
			border-bottom: 1px solid var(--border-light);
			color: var(--primary-color);
			font-family: 'Merriweather', serif;
			font-weight: 700;
			padding: 1.25rem 1.5rem;
			/* Tighter padding for header */
		}

		.filter-sidebar .card-footer {
			background-color: var(--background-light);
			border-top: 1px solid var(--border-light);
			padding: 0.75rem 1.5rem;
			/* Tighter padding for footer */
		}

		.filter-sidebar .accordion-button {
			background-color: var(--surface-color);
			color: var(--text-primary-dark);
			font-family: 'Nunito', sans-serif;
			font-weight: 600;
		}

		.filter-sidebar .accordion-button:not(.collapsed) {
			color: var(--primary-color);
		}

		.filter-sidebar .accordion-button:focus {
			box-shadow: none;
		}

		.filter-sidebar .accordion-body {
			background-color: var(--background-light);
			border-top: 1px solid var(--border-light);
		}

		.filter-sidebar .text-primary {
			color: var(--primary-color) !important;
		}

		.filter-sidebar .text-secondary {
			color: var(--text-primary-dark) !important;
			font-weight: 700;
		}

		/* Product Grid and Card Styling */
		.product-grid {
			display: grid;
			grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
			gap: 2rem;
		}

		/* Pagination Styling */
		.pagination-container {
			margin-top: 3rem;
			display: flex;
			justify-content: center;
		}

		.pagination-container .form-select {
			width: 120px;
		}

		.material-symbols-outlined {
			font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
		}

		/* CSS to handle mobile layout and filter collapse */
		@media (max-width: 768px) {
			.product-grid {
				grid-template-columns: 1fr;
			}

			.filter-sidebar {
				margin-bottom: 2rem;
			}

			.filter-sidebar .card-header .btn {
				padding: 0;
			}

			.filter-sidebar .card-header .material-symbols-outlined {
				transition: transform 0.3s ease;
			}

			.filter-sidebar .card-header .btn.collapsed .material-symbols-outlined {
				transform: rotate(0deg);
			}

			.filter-sidebar .card-header .btn:not(.collapsed) .material-symbols-outlined {
				transform: rotate(180deg);
			}
		}

		/* Product Details Page Specific Styles */
		.main-product-image {
			border-radius: 1rem;
			object-fit: cover;
			box-shadow: 0 4px 10px var(--shadow-key), 0 6px 15px var(--shadow-ambient);
			aspect-ratio: 1 / 1;
			width: 100%;
			height: auto;
		}

		.product-thumbnails .img-thumbnail {
			cursor: pointer;
			padding: 0.25rem;
			border-radius: 0.5rem;
			border: 2px solid transparent;
			transition: all 0.2s ease;
			aspect-ratio: 1 / 1;
			object-fit: cover;
		}

		.product-thumbnails .img-thumbnail:hover,
		.product-thumbnails .img-thumbnail.active {
			border-color: var(--primary-color);
			transform: scale(1.05);
		}

		.product-price {
			font-size: 2.5rem;
			font-weight: 700;
			color: var(--primary-color);
			font-family: 'Merriweather', serif;
		}

		.quantity-selector .btn {
			width: 40px;
			height: 40px;
			padding: 0;
			display: flex;
			align-items: center;
			justify-content: center;
			border-radius: 0.25rem;
			border: 1px solid var(--border-light);
			background-color: var(--background-light);
			color: var(--primary-color);
			transition: all 0.2s ease;
		}

		.quantity-selector .btn:hover {
			background-color: var(--surface-color);
		}

		.quantity-selector .form-control {
			text-align: center;
			width: 40px;
			border-left: none;
			border-right: none;
			border-radius: 0;
			padding: 0.375rem 0.25rem;
		}

		.quantity-selector .form-control:focus {
			z-index: 1;
			/* To keep border color on top of other elements on focus */
		}

		/* Product Grid and Card Styling (re-used for Related Products) */
		.product-grid {
			display: grid;
			grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
			gap: 2rem;
		}

		.product-grid .card {
			background-color: var(--surface-color);
			border: none;
			border-radius: 0.75rem;
			overflow: hidden;
			box-shadow: 0 2px 4px var(--shadow-ambient), 0 3px 5px var(--shadow-key);
			transition: transform 0.3s ease, box-shadow 0.3s ease;
		}

		.product-grid .card:hover {
			transform: translateY(-5px);
			box-shadow: 0 6px 10px var(--shadow-ambient), 0 8px 12px var(--shadow-key);
		}

		.product-grid .card-img-top {
			height: 283px;
			object-fit: cover;
			width: 100%;
			border-top-left-radius: 0.75rem;
			border-top-right-radius: 0.75rem;
			transition: transform 0.3s ease;
		}

		.product-grid .card-img-top:hover {
			transform: scale(1.03);
		}

		.product-grid .card-body {
			padding: 1.25rem;
		}

		.product-grid .card-title {
			font-family: 'Merriweather', serif;
			font-size: 1.25rem;
			font-weight: 600;
			margin-bottom: 0.5rem;
			color: var(--text-primary-dark);
		}

		.product-grid .card-text.price {
			font-size: 1.15rem;
			font-weight: 700;
			color: var(--primary-color);
			margin-bottom: 1rem;
		}

		.product-grid .card .btn-primary {
			width: 100%;
			font-size: 0.9rem;
			padding: 0.5rem 1rem;
		}

		/* General Styling */
		.material-symbols-outlined {
			font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
		}

		.badge-stock-available {
			background-color: var(--accent-color);
			color: var(--background-light);
		}

		.badge-stock-unavailable {
			background-color: var(--text-secondary-dark);
			color: var(--background-light);
		}

		/* 404 Page Specific Styles */
		.container-404 {
			max-width: 600px;
			padding: 2rem;
		}

		.number-404 {
			font-family: 'Merriweather', serif;
			font-size: 8rem;
			font-weight: 900;
			color: var(--primary-color);
			line-height: 1;
			margin-bottom: 1rem;
		}

		.message-404 {
			font-size: 1.5rem;
			margin-bottom: 2rem;
		}

		/* Checkout Page Specific Styles */
		.checkout-form-container {
			max-width: 900px;
			margin: 3rem auto;
			padding: 2.5rem;
			background-color: var(--surface-color);
			border-radius: 1rem;
			box-shadow: 0 8px 20px var(--shadow-key), 0 12px 30px var(--shadow-ambient);
		}

		.checkout-form-container h4 {
			font-family: 'Merriweather', serif;
			font-size: 1.8rem;
			color: var(--primary-color);
			margin-bottom: 1.5rem;
		}

		.checkout-form-container .form-label {
			font-weight: 600;
			color: var(--text-primary-dark);
		}

		.checkout-form-container .form-control-plaintext {
			padding-top: calc(0.375rem + 1px);
			padding-bottom: calc(0.375rem + 1px);
			margin-bottom: 0;
			line-height: 1.5;
			border: 1px solid transparent;
			/* Make it look like a regular input */
			border-radius: 0.25rem;
			background-color: var(--background-light);
			/* Give it a background */
			padding-left: 0.75rem;
			padding-right: 0.75rem;
		}

		.checkout-form-container .border-top {
			border-color: var(--border-light) !important;
		}

		.checkout-form-container .bg-light {
			background-color: var(--background-light) !important;
		}

		.checkout-form-container .order-item-card {
			border: 1px solid var(--border-light);
			background-color: var(--background-light);
			border-radius: 0.75rem;
			padding: 1.5rem;
			margin-bottom: 1.5rem;
		}

		.checkout-form-container .order-item-card h6 {
			color: var(--text-secondary-dark);
			font-size: 1.1rem;
		}

		.checkout-form-container .form-check-input:checked {
			background-color: var(--primary-color);
			border-color: var(--primary-color);
		}

		.checkout-form-container .form-check-input:focus {
			box-shadow: 0 0 0 0.25rem rgba(34, 34, 59, 0.25);
			/* primary-color with transparency */
		}

		.checkout-form-container .text-primary {
			color: var(--primary-color) !important;
		}

		.checkout-form-container .text-secondary {
			color: var(--text-secondary-dark) !important;
		}

		.material-symbols-outlined {
			font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
		}

		/* Invoice Page Specific Styles */
		.invoice-container {
			max-width: 1050px;
			margin: 3rem auto;
			padding: 2.5rem;
			background-color: var(--surface-color);
			border-radius: 1rem;
			box-shadow: 0 8px 20px var(--shadow-key), 0 12px 30px var(--shadow-ambient);
		}

		.invoice-header {
			border-bottom: 2px solid var(--primary-color);
			padding-bottom: 1.5rem;
			margin-bottom: 2rem;
		}

		.invoice-header h2 {
			color: var(--primary-color);
			font-size: 2.8rem;
		}

		.invoice-section-title {
			font-family: 'Merriweather', serif;
			font-size: 1.8rem;
			color: var(--primary-color);
			margin-bottom: 1.5rem;
			padding-bottom: 0.5rem;
			border-bottom: 1px solid var(--border-light);
		}

		.invoice-details p {
			margin-bottom: 0.5rem;
		}

		.invoice-details strong {
			color: var(--text-primary-dark);
		}

		.table {
			--bs-table-bg: var(--background-light);
			--bs-table-color: var(--text-primary-dark);
			--bs-table-border-color: var(--border-light);
		}

		.table thead th {
			background-color: var(--primary-color);
			color: white;
			border-color: var(--primary-color);
			font-weight: 600;
		}

		.table tbody tr:nth-of-type(odd) {
			background-color: var(--surface-color);
		}

		.table tbody tr:nth-of-type(even) {
			background-color: var(--background-light);
		}

		.table td,
		.table th {
			padding: 1rem;
			vertical-align: middle;
		}

		.order-total-summary .row>div {
			padding-top: 0.5rem;
			padding-bottom: 0.5rem;
		}

		.order-total-summary .col-6:first-child {
			font-weight: 600;
			color: var(--text-primary-dark);
		}

		.order-total-summary .col-6:last-child {
			text-align: right;
			font-weight: 500;
		}

		.order-total-summary .total-row {
			border-top: 2px solid var(--primary-color);
			margin-top: 1rem;
			padding-top: 1rem !important;
		}

		.order-total-summary .total-row .col-6 {
			font-size: 1.5rem;
			font-weight: 700;
			color: var(--primary-color);
		}

		.material-symbols-outlined {
			font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
		}
