﻿body {
	background: #faf9f7;
}

/* Navbar with white background and light shadow (same as About page) */
#navbar {
	background: #ffffff !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
	border-bottom: none !important;
}

#navbar .nav-initial {
	background: #ffffff !important;
	backdrop-filter: none !important;
}

#navbar .nav-scrolled {
	background: #ffffff !important;
	backdrop-filter: none !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

#navbar .logo {
	color: #1c1917 !important;
}

#navbar .nav-links a {
	color: #1c1917 !important;
}

#navbar .nav-links a.active {
	color: #1c1917 !important;
}

#navbar .icon-btn {
	color: #1c1917 !important;
}

.product-main {
	padding: 150px 24px 80px;
}

.product-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 44px;
}

.gallery-main {
	border-radius: 18px;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.06);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.gallery-main img {
	width: 100%;
	display: block;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.thumbs {
	margin-top: 14px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.thumb {
	border: 1px solid #ddd;
	border-radius: 12px;
	overflow: hidden;
	cursor: pointer;
	background: #fff;
	padding: 0;
}

.thumb img {
	width: 100%;
	height: 90px;
	object-fit: cover;
	display: block;
}

.thumb.active {
	border-color: #da830a;
	box-shadow: 0 0 0 2px rgba(218, 131, 10, 0.2);
}

.product-category {
	color: #da830a;
	letter-spacing: 0.12em;
	font-size: 0.75rem;
	font-weight: 700;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.product-title {
	font-family: "Cormorant Garamond", serif;
	font-size: clamp(2rem, 4vw, 3.2rem);
	margin: 0;
	color: #1c1917;
	line-height: 1.1;
}

.product-price-row {
	margin-top: 16px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.product-price {
	font-size: 2rem;
	font-weight: 600;
	color: #1c1917;
}

.badge-instock {
	font-size: 0.75rem;
	font-weight: 600;
	color: #166534;
	background: #dcfce7;
	border-radius: 999px;
	padding: 6px 12px;
}

.product-desc {
	margin: 22px 0;
	color: #57534e;
	line-height: 1.75;
}

.meta-list {
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
}

.meta-item {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #44403c;
	font-size: 0.95rem;
}

.meta-item i {
	width: 16px;
	height: 16px;
	color: #da830a;
}

.action-row {
	display: flex;
	gap: 12px;
	align-items: center;
	flex-wrap: wrap;
}

.product-add-btn {
	border: none;
	border-radius: 999px;
	padding: 13px 26px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	background: #1c1917;
	color: #fff;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	transition: all 0.25s ease;
}

.product-add-btn:hover {
	background: #da830a;
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(218, 131, 10, 0.3);
}

.spec-card {
	margin-top: 24px;
	background: #fff;
	border-radius: 14px;
	border: 1px solid rgba(0, 0, 0, 0.06);
	padding: 18px;
}

.spec-title {
	margin: 0 0 12px;
	font-size: 0.9rem;
	color: #78716c;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.spec-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.spec-item {
	background: #faf9f7;
	border-radius: 10px;
	padding: 10px 12px;
}

.spec-key {
	font-size: 0.75rem;
	color: #78716c;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.spec-value {
	margin-top: 4px;
	color: #292524;
	font-weight: 600;
	font-size: 0.9rem;
}

.related-section {
	padding: 0 24px 90px;
}

.related-header {
	display: flex;
	justify-content: space-between;
	align-items: end;
	margin-bottom: 24px;
}

.related-header h2 {
	margin: 0;
	font-family: "Cormorant Garamond", serif;
	font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.related-card {
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid rgba(0, 0, 0, 0.08);
	transition: all 0.25s ease;
	text-decoration: none;
	color: inherit;
}

.related-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
	border-color: rgba(218, 131, 10, 0.25);
}

.related-card img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
}

.related-body {
	padding: 14px;
}

.related-name {
	margin: 0;
	font-family: "Cormorant Garamond", serif;
	font-size: 1.45rem;
	color: #1c1917;
}

.related-price {
	margin-top: 8px;
	color: #292524;
	font-weight: 600;
}

@media (max-width: 992px) {
	.product-layout {
		grid-template-columns: 1fr;
	}

	.related-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 640px) {
	.related-grid {
		grid-template-columns: 1fr;
	}
}
