/* Container */
.dr1015catalogue {
	padding: 40px 20px;
	background: linear-gradient(135deg, #1b1f3b, #2e2a62);
	/* dark purple-blue gradient */
	max-width: 1200px;
	margin: 40px auto;
	border-radius: 25px;
	box-shadow: 0 12px 35px rgba(58, 48, 110, 0.7);
}

/* Heading */
.dr1015catalogue h2 {
	color: #a78bfa; /* soft electric purple */
	text-align: center;
	margin-bottom: 30px;
	font-size: 2.7rem;
	font-weight: 900;
	text-shadow: 0 0 20px #7c3aed;
	letter-spacing: 1.5px;
}

/* Horizontal Scroll Wrapper */
.category-scroll-wrapper {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin-bottom: 30px;
	display: flex;
	justify-content: center;
	width: 100%;
	padding: 0 10px;
	box-sizing: border-box;
}

/* Categories */
.categories {
	display: flex;
	flex-wrap: nowrap;
	gap: 18px;
	padding: 10px 0;
	scroll-snap-type: x mandatory;
	min-width: max-content;
	justify-content: center;
}

/* Hide scrollbar */
.categories::-webkit-scrollbar {
	display: none;
}

/* Category Button */
.category-btn-img {
	flex: 0 0 auto;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	background: #3c2a6b; /* deep purple */
	border: 2px solid #a78bfa;
	border-radius: 20px;
	padding: 12px 10px;
	cursor: pointer;
	transition: all 0.35s ease;
	box-shadow: 0 0 10px #a78bfa88;
	width: 100px;
	min-height: 180px;
	text-align: center;
	position: relative;
	box-sizing: border-box;
	overflow: hidden;
}

/* Enquiry button wrapper */
.enquiry-wrapper {
	width: 100%;
	display: flex;
	justify-content: center;
	margin-bottom: 14px;
	padding-bottom: 8px;
	border-bottom: 2px solid #8b5cf6;
}

/* Enquiry Button */
.enquiry-btn {
	background-color: #a78bfa;
	color: #2a1a53;
	font-weight: 700;
	font-size: 0.8rem;
	padding: 7px 14px;
	border-radius: 22px;
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(167, 139, 250, 0.7);
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
	user-select: none;
	cursor: pointer;
	white-space: nowrap;
	text-align: center;
	max-width: 95px;
	width: 100%;
}

.enquiry-btn:hover, .enquiry-btn:focus {
	background-color: #7c3aed;
	box-shadow: 0 4px 16px rgba(124, 58, 237, 0.9);
	outline: none;
}

.enquiry-btn:active {
	background-color: #6d28d9;
	box-shadow: none;
}

/* Image and label wrapper */
.img-label-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex-grow: 1;
	padding-top: 8px;
	text-align: center;
	word-break: break-word;
	width: 100%;
}

.category-btn-img img {
	width: 60px;
	height: 60px;
	object-fit: contain;
	margin-bottom: 10px;
	filter: drop-shadow(0 0 6px #a78bfa);
}

.category-btn-img span {
	color: #a78bfa;
	font-weight: 700;
	font-size: 1rem;
	text-shadow: 0 0 6px #7c3aed;
	display: block;
	max-width: 100%;
	overflow-wrap: break-word;
	white-space: normal;
	line-height: 1.3;
}

/* Hover & active states */
.category-btn-img:hover, .category-btn-img.active {
	background: #5b3f91;
	box-shadow: 0 0 28px #7c3aed;
}

.category-btn-img:hover span, .category-btn-img.active span {
	color: #e0d7ff;
	text-shadow: 0 0 12px #d8b4fe;
}

/* Product Grid */
.product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
	padding: 0 10px;
}

/* Product Card */
.product-card {
	background: #3c2a6b;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 0 20px rgba(167, 139, 250, 0.5);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.product-card:hover {
	transform: scale(1.07);
	box-shadow: 0 0 40px #7c3aed, 0 0 60px #c4b5fd;
}

/* Image */
.product-img {
	width: 100%;
	height: 200px;
	object-fit: contain;
	object-position: center;
	background-color: #1b1f3b;
	display: block;
	border-bottom: 2px solid #a78bfa;
	filter: drop-shadow(0 0 7px #7c3aed);
}

/* Text Info */
.product-info {
	padding: 18px;
	text-align: center;
	color: #d8b4fe;
	flex-grow: 1;
}

.product-info h3 {
	font-size: 1.4rem;
	margin-bottom: 8px;
	font-weight: 700;
	text-shadow: 0 0 8px #7c3aed;
}

.product-info p {
	font-size: 1.05rem;
	color: #e9d5ff;
	margin-bottom: 12px;
}

.price {
	font-size: 1.3rem;
	font-weight: 900;
	color: #c4b5fd;
	text-shadow: 0 0 12px #e0d7ff;
	margin-bottom: 12px;
}

/* Place Order Button */
.place-order-btn {
	display: block;
	margin: 0 auto 18px auto;
	background-color: #a78bfa;
	color: #2a1a53;
	font-weight: 700;
	font-size: 1rem;
	padding: 10px 28px;
	border-radius: 25px;
	text-align: center;
	text-decoration: none;
	box-shadow: 0 3px 9px rgba(167, 139, 250, 0.8);
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
	user-select: none;
	width: fit-content;
}

.place-order-btn:hover, .place-order-btn:focus {
	background-color: #7c3aed;
	box-shadow: 0 6px 18px rgba(124, 58, 237, 1);
	outline: none;
	cursor: pointer;
}

.place-order-btn:active {
	background-color: #6d28d9;
	box-shadow: none;
}

/* Responsive Adjustments */
@media ( max-width : 768px) {
	.dr1015catalogue {
		padding: 30px 15px;
	}
	.dr1015catalogue h2 {
		font-size: 2.3rem;
	}
	.category-btn-img {
		width: 80px;
		min-height: 160px;
		padding: 10px;
	}
	.category-btn-img img {
		width: 50px;
		height: 50px;
	}
	.category-btn-img span {
		font-size: 0.9rem;
	}
	.product-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.product-info h3 {
		font-size: 1.2rem;
	}
	.product-info p {
		font-size: 1rem;
	}
	.price {
		font-size: 1.2rem;
	}
	.category-scroll-wrapper {
		justify-content: flex-start;
		padding: 0 10px;
	}
	.categories {
		justify-content: flex-start;
	}
	.enquiry-btn {
		font-size: 0.75rem;
		padding: 6px 12px;
		max-width: 85px;
	}
}