

:root {
	--mp-black: #0b0b0c;
	--mp-brown: #1a0f0a;
	--mp-gold: #d4af37;
	--mp-gold-soft: #e6c76a;
	--mp-surface: rgba(255, 255, 255, .06);
	--mp-border: rgba(212, 175, 55, .25);
	--mp-text: rgba(255, 255, 255, .88);
	--mp-muted: rgba(255, 255, 255, .68);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background:
		radial-gradient(1200px 600px at 15% 10%, rgba(212, 175, 55, .14), transparent 55%),
		radial-gradient(900px 500px at 90% 25%, rgba(230, 199, 106, .10), transparent 55%),
		linear-gradient(140deg, var(--mp-black), var(--mp-brown));
	color: var(--mp-text);
	font-family: 'Segoe UI', 'Trebuchet MS', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	min-height: 100vh;
}

.bgdark {
	background-color: #1a0f0a;
}

.cart-icon-wrapper {
	position: relative;
}

.cart-icon-wrapper a {
	position: relative;
}

.cart-badge {
	position: absolute;
	top: -5px;
	right: -5px;
	background: #ff4444;
	color: white;
	border-radius: 50%;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: bold;
	border: 2px solid var(--mp-black);
}

/* Navigation Bar */
.navbar-custom {
	background: linear-gradient(90deg, var(--mp-black) 0%, rgba(26, 15, 10, 0.9) 50%, var(--mp-black) 100%);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--mp-border);
	padding: 1rem 1.5rem;
	position: sticky;
	top: 0;
	z-index: 1050;
	box-shadow: 0 8px 32px rgba(212, 175, 55, 0.08);
}

.navbar-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1400px;
	margin: 0 auto;
	width: 100%;
}

.navbar-brand {
	font-family: 'Playfair Display', serif;
	font-size: 1.6rem;
	font-weight: 700;
	background: linear-gradient(135deg, var(--mp-gold), var(--mp-gold-soft));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	letter-spacing: 2px;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: all 0.3s ease;
}

.navbar-brand:hover {
	filter: brightness(1.1);
}

/* Nav Menu */
.nav-menu {
	display: flex;
	list-style: none;
	gap: 0;
	margin: 0;
	padding: 0;
}

.nav-menu li a {
	color: var(--mp-text);
	text-decoration: none;
	padding: 0.75rem 1.25rem;
	display: block;
	transition: all 0.3s ease;
	position: relative;
	font-weight: 500;
	font-size: 0.95rem;
}

.nav-menu li a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--mp-gold), var(--mp-gold-soft));
	transition: all 0.3s ease;
	transform: translateX(-50%);
}

.nav-menu li a:hover::after {
	width: calc(100% - 2.5rem);
}

.nav-menu li a:hover {
	color: var(--mp-gold-soft);
}

/* Nav Icons */
.nav-icons {
	display: flex;
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: center;
}

.nav-icons a {
	color: var(--mp-gold);
	font-size: 1.2rem;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--mp-surface);
	text-decoration: none;
}

.nav-icons a:hover {
	color: var(--mp-gold-soft);
	background: rgba(212, 175, 55, 0.15);
	transform: scale(1.1);
}

.gapicon {
	margin-left: 20px;
}

/* Toggle Button */
.toggle-menu {
	display: none;
	flex-direction: column;
	cursor: pointer;
	gap: 7px;
	background: none;
	border: none;
	padding: 0.5rem;
	margin-left: -5px;
}

.toggle-menu span {
	width: 35px;
	height: 4px;
	background: var(--mp-gold);
	transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	border-radius: 2px;
	display: block;
}

.toggle-menu.active span:nth-child(1) {
	transform: rotate(45deg) translate(12px, 12px);
}

.toggle-menu.active span:nth-child(2) {
	opacity: 0;
}

.toggle-menu.active span:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -7px);
}

/* Side Menu */
.side-menu {
	position: fixed;
	top: 0;
	left: -100%;
	width: 100%;
	max-width: 300px;
	height: 100vh;
	background: linear-gradient(180deg, var(--mp-black) 0%, var(--mp-brown) 100%);
	border-right: 1px solid var(--mp-border);
	transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	z-index: 1040;
	padding-top: 80px;
	overflow-y: auto;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.side-menu.active {
	left: 0;
}

.side-menu ul {
	list-style: none;
	padding: 1rem 0;
	margin: 0;
}

.side-menu ul li {
	border-bottom: 1px solid var(--mp-border);
}

.side-menu ul li a {
	color: var(--mp-text);
	text-decoration: none;
	display: block;
	padding: 1rem 1.5rem;
	transition: all 0.3s ease;
	font-weight: 500;
	font-size: 1.5rem;
	margin-top: 12px;
}

.side-menu ul li a:hover {
	color: var(--mp-gold-soft);
	background: var(--mp-surface);
	padding-left: 2rem;
}

.side-menu-icons {
	display: flex;
	gap: 1rem;
	padding: 1.5rem;
	border-top: 1px solid var(--mp-border);
	margin-top: 1rem;
	flex-wrap: wrap;
}

.side-menu-icons a {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--mp-gold);
	background: var(--mp-surface);
	border-radius: 50%;
	transition: all 0.3s ease;
	text-decoration: none;
}

.side-menu-icons a:hover {
	color: var(--mp-gold-soft);
	background: rgba(212, 175, 55, 0.15);
	transform: scale(1.1);
}

/* Overlay */
.menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(5px);
	opacity: 0;
	visibility: hidden;
	transition: all 0.4s ease;
	z-index: 1030;
}

.menu-overlay.active {
	opacity: 1;
	visibility: visible;
}

/* Desktop Navigation */
.nav-desktop {
	display: flex;
	gap: 2rem;
	align-items: center;
}

/* Page Title */
.page-header {
	background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(61, 40, 23, 0.2) 100%);
	padding: 3rem 0;
	border-bottom: 1px solid var(--mp-border);
	margin-bottom: 3rem;
	margin-top: 1rem;
}

.page-title {
	font-family: 'Playfair Display', serif;
	font-size: 2.5rem;
	font-weight: 900;
	background: linear-gradient(135deg, var(--mp-gold-soft), var(--mp-gold));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Search & Filter Section */
.search-filter-box {
	background: var(--mp-surface);
	border: 1px solid var(--mp-border);
	border-radius: 12px;
	padding: 1.5rem;
	margin-bottom: 2rem;
	backdrop-filter: blur(10px);
}

.search-box {
	position: relative;
}

.search-box input {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--mp-border);
	color: var(--mp-text);
	padding: 0.8rem 1rem 0.8rem 2.5rem;
	border-radius: 8px;
	width: 100%;
	transition: all 0.3s ease;
	font-family: 'Segoe UI', sans-serif;
}

.search-box input::placeholder {
	color: var(--mp-muted);
}

.search-box input:focus {
	outline: none;
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--mp-gold);
	box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.search-box i {
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--mp-gold);
}

/* Filter Sidebar */
.filter-sidebar {
	background: var(--mp-surface);
	border: 1px solid var(--mp-border);
	border-radius: 12px;
	padding: 1.5rem;
	backdrop-filter: blur(10px);
}

.filter-title {
	font-family: 'Playfair Display', serif;
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--mp-gold-soft);
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--mp-border);
}

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

.filter-group h6 {
	color: var(--mp-gold-soft);
	font-weight: 600;
	margin-bottom: 1rem;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.form-check {
	margin-bottom: 0.8rem;
}

.form-check-input {
	background: var(--mp-surface);
	border: 1px solid var(--mp-gold);
	width: 1.25rem;
	height: 1.25rem;
	cursor: pointer;
	transition: all 0.3s ease;
}

.form-check-input:checked {
	background: var(--mp-gold);
	border-color: var(--mp-gold);
}

.form-check-label {
	color: var(--mp-text);
	cursor: pointer;
	margin-left: 0.5rem;
}

.price-range {
	display: flex;
	gap: 1rem;
	align-items: center;
}

.price-range input {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--mp-border);
	color: var(--mp-text);
	padding: 0.5rem;
	border-radius: 6px;
	width: 100%;
	transition: all 0.3s ease;
}

.price-range input:focus {
	outline: none;
	border-color: var(--mp-gold);
}

.btn-reset {
	background: var(--mp-gold);
	color: var(--mp-black);
	border: none;
	padding: 0.6rem 1.2rem;
	border-radius: 6px;
	cursor: pointer;
	font-weight: 600;
	transition: all 0.3s ease;
	width: 100%;
	margin-top: 1rem;
}

.btn-reset:hover {
	background: var(--mp-gold-soft);
	transform: translateY(-2px);
}

/* Products Display */
.products-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 2rem;
	flex-wrap: wrap;
	gap: 1rem;
}

.sort-select {
	background: #2a2a2a;
	border: 1px solid var(--mp-border);
	color: var(--mp-text);
	padding: 0.6rem 1rem;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.sort-select option {
	background: #2a2a2a;
	color: var(--mp-text);
	padding: 0.5rem;
}

.sort-select:focus {
	outline: none;
	border-color: var(--mp-gold);
	box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.sort-select:hover {
	border-color: var(--mp-gold);
}

.result-count {
	color: var(--mp-gold-soft);
	font-weight: 600;
}

/* Product Cards */
.product-card {
	background: var(--mp-surface);
	border: 1px solid var(--mp-border);
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	backdrop-filter: blur(10px);
	height: 100%;
	display: flex;
	flex-direction: column;
}

.product-card:hover {
	transform: translateY(-10px);
	border-color: var(--mp-gold);
	box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.product-image {
	background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(230, 199, 106, 0.1));
	height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3.5rem;
	transition: all 0.3s ease;
}

.product-card:hover .product-image {
	background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(230, 199, 106, 0.15));
	transform: scale(1.05);
}

.product-info {
	padding: 1.25rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.product-name {
	font-family: 'Playfair Display', serif;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--mp-gold-soft);
	margin-bottom: 0.5rem;
}

.product-desc {
	color: var(--mp-muted);
	font-size: 0.85rem;
	margin-bottom: 0.75rem;
	flex: 1;
}

.product-price {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--mp-gold);
	margin-bottom: 0.75rem;
}

.price-original {
	text-decoration: line-through;
	color: var(--mp-muted);
	font-size: 1rem;
	margin-right: 0.5rem;
	font-weight: 500;
}

.price-promo {
	color: #ff4444;
	font-weight: 700;
}

.btn-view-details {
	background: linear-gradient(135deg, var(--mp-gold), var(--mp-gold-soft));
	color: var(--mp-black) !important;
	border: none;
	padding: 0.6rem;
	font-weight: 600;
	border-radius: 6px;
	transition: all 0.3s ease;
	cursor: pointer;
	font-size: 1rem;
}

.btn-view-details:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 15px rgba(212, 175, 55, 0.3);
}

.btn-add-cart {
	background: transparent;
	border: 1px solid var(--mp-gold);
	color: var(--mp-gold);
	padding: 0.6rem;
	font-weight: 600;
	border-radius: 6px;
	transition: all 0.3s ease;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn-add-cart:hover {
	background: var(--mp-gold);
	color: var(--mp-black);
	transform: translateY(-2px);
}

/* Footer */
footer {
	background: linear-gradient(180deg, rgba(11, 11, 12, 0.9) 0%, var(--mp-brown) 100%);
	border-top: 1px solid var(--mp-border);
	padding: 3rem 0 1.5rem;
	margin-top: 5rem;
}

.footer-section h5 {
	color: var(--mp-gold-soft);
	font-weight: 600;
	margin-bottom: 1.5rem;
	font-size: 1.1rem;
}

.footer-section ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-section ul li {
	margin-bottom: 0.75rem;
}

.footer-section a {
	color: var(--mp-muted);
	text-decoration: none;
	transition: all 0.3s ease;
}

.footer-section a:hover {
	color: var(--mp-gold-soft);
	padding-left: 0.5rem;
}

.social-links {
	display: flex;
	gap: 1rem;
	justify-content: center;
}

.footer-connect {
	text-align: center;
	padding-bottom: 2rem;
	margin-bottom: 2rem;
}

.footer-connect h5 {
	color: var(--mp-gold-soft);
	font-weight: 600;
	margin-bottom: 1.5rem;
	font-size: 1.1rem;
}

.social-links a {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--mp-surface);
	border-radius: 50%;
	border: 1px solid var(--mp-border);
	transition: all 0.3s ease;
	color: var(--mp-gold);
}

.social-links a:hover {
	background: var(--mp-gold);
	color: var(--mp-black);
	transform: translateY(-3px);
}

.footer-bottom {
	border-top: 1px solid var(--mp-border);
	padding-top: 2rem;
	margin-top: 2rem;
	text-align: center;
	color: var(--mp-muted);
	font-size: 0.9rem;
}

.copyright {
	color: var(--mp-gold-soft);
	font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
	.toggle-menu {
		display: flex;
	}

	.nav-desktop {
		display: none !important;
	}

	.navbar-custom {
		padding: 1rem;
	}

	.navbar-brand {
		font-size: 1.4rem;
	}

	.navbar-container {
		width: 100%;
	}

	.nav-icons {
		gap: 0.5rem;
	}

	.nav-icons a {
		width: 36px;
		height: 36px;
		font-size: 1.1rem;
	}

	.side-menu {
		max-width: 280px;
	}

	.page-title {
		font-size: 1.8rem;
	}

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

	.product-card {
		margin-bottom: 1.5rem;
	}

	.products-header {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 480px) {
	.navbar-brand {
		font-size: 1.2rem;
		letter-spacing: 1px;
	}

	.nav-icons a {
		width: 32px;
		height: 32px;
		font-size: 1rem;
	}

	.toggle-menu span {
		width: 35px;
		margin-left: 10px;
	}

	.side-menu {
		max-width: 100%;
	}

	.side-menu ul li a {
		padding: 0.9rem 1rem;
		font-size: 1.5rem;
		margin-top: 12px;
	}

	.page-title {
		font-size: 1.5rem;
	}

	.page-header {
		padding: 2rem 0;
		margin-bottom: 2rem;
	}

	.search-filter-box {
		padding: 1rem;
	}

	.product-image {
		height: 150px;
		font-size: 3rem;
	}

	.product-name {
		font-size: 2rem;
	}

	.product-price {
		font-size: 2rem;
	}

	.filter-sidebar {
		padding: 1rem;
	}

	.filter-title {
		font-size: 1.1rem;
		margin-bottom: 1rem;
	}

	.btn-view-details,
	.btn-add-cart {
		font-size: 1.5rem;
		padding: 0.5rem;
	}
}
  

/*image fitting in card: Shafiq*/
.product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-image-wrapper {
    width: 100%;
    height: 220px; /* SAME height for all images */
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* IMPORTANT */
}

.product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.col-lg-3 {
    display: flex;
}

.product-card {
    width: 100%;
}



