.filter-section {
	background: white;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-info {
	display: flex;
	align-items: center;
	gap: 15px;
}

.result-count {
	color: #666;
	font-size: 1rem;
}

.result-count strong {
	color: #2e3192;
	font-size: 1.2rem;
}

.filter-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 4px;
	margin-top: 20px;
}

.filter-chip {
	padding: 5px 12px;
	background: #e0e0e0;
	border: none;
	border-radius: 20px;
	font-size: 13px;
	cursor: pointer;
	transition: all 0.3s ease;
	color: #747474;
}

.filter-chip:hover {
	background: #d0d0d0;
}

.filter-chip.active {
	background: linear-gradient(135deg, #2e3192, #1e88e5);
	color: white;
}

.product-card {
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
	background: linear-gradient(135deg, #c5cae9 0%, #e8eaf6 100%); 
    padding: 10px;
	cursor: pointer;
	animation: fadeIn 0.5s ease;
	height: 100%;
}

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

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.product-card.home-product {
   border-radius: 20px;
}

.product-image {
	position: relative;
	width: 100%;
	height: 150px;
	background: #FFF;
	overflow: hidden;
	border-radius: 15px;
}

.product-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 10px;
	transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
	transform: scale(1.1);
}

.product-badge {
	position: absolute;
	top: 5px;
	left: 5px;
	background: linear-gradient(135deg, #e74c3c, #c0392b);
	color: white;
	padding: 3px 5px;
	border-radius: 20px;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.product-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(transparent, rgba(46, 49, 146, 0.95));
	padding: 20px;
	transform: translateY(100%);
	transition: transform 0.3s ease;
}

.product-card:hover .product-overlay {
	transform: translateY(0);
}

.view-details-btn {
	background: white;
	color: #2e3192;
	border: none;
	padding: 10px 5px;
	border-radius: 25px;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: all 0.3s ease;
	width: 100%;
	justify-content: center;
	font-size: 15px;
}

.view-details-btn:hover {
	transform: scale(1.05);
	box-shadow: 0 5px 15px rgba(255,255,255,0.3);
}

.product-info {
	padding: 15px 5px 5px;
}

.product-category {
	color: #dd242e;
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 10px;
}

.no-results {
	text-align: center;
	padding: 80px 20px;
	color: #666;
}

.no-results i {
	font-size: 4rem;
	color: #ddd;
	margin-bottom: 20px;
}

.no-results h3 {
	font-size: 1.5rem;
	margin-bottom: 10px;
	color: #333;
}

/* Modal */
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.8);
	z-index: 9999;
	animation: fadeIn 0.3s ease;
}

.modal.active {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.modal-content {
	background: white;
	max-width: 800px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	animation: slideUp 0.3s ease;
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(50px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.modal-close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 40px;
	height: 40px;
	background: rgba(0,0,0,0.1);
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	transition: all 0.3s ease;
	z-index: 10;
}

.modal-close:hover {
	background: #e74c3c;
	color: white;
	transform: rotate(90deg);
}

.modal-image {
	width: 100%;
	height: 350px;
	background: #FFF;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 20px 20px 0 0;
}

.modal-image img {
	max-width: 90%;
	max-height: 90%;
	object-fit: contain;
}

.modal-body {
	padding: 25px;
}

.modal-category {
	color: #dd242e;
	font-size: 0.9rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 10px;
}

.modal-title {
	font-size: 22px;
	color: #333;
	margin-bottom: 30px;
	font-weight: 600;
}

.features-section {
	margin-top: 30px;
}

.features-title {
	font-size: 18px;
	font-weight: 600;
	color: #2e3192;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #e0e0e0;
}

.features-list {
	list-style: none;
	padding: 0;
}

.features-list li {
	padding: 5px 0 5px 30px;
	position: relative;
	color: #555;
	line-height: 1.6;
	font-size: 15px;
}

.features-list li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: #2e3192;
	font-weight: bold;
	font-size: 1.2rem;
}

.modal-note {
	margin-top: 25px;
	padding: 15px 20px;
	background: #f8f9fa;
	border-left: 4px solid #2e3192;
	border-radius: 8px;
	font-style: italic;
	color: #666;
	font-size: 15px;
}

.modal-actions {
	margin-top: 30px;
	display: flex;
	gap: 15px;
	justify-content: flex-end;
}

.modal-btn {
	padding: 12px 15px;
	border: none;
	border-radius: 10px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	font-size: 15px;
}

.btn-primary {
	background: linear-gradient(135deg, #2e3192, #1e88e5);
	color: white;
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(46, 49, 146, 0.3);
}

.btn-secondary {
	background: #e0e0e0;
	color: #333;
}

.btn-secondary:hover {
	background: #d0d0d0;
}

.loading {
	text-align: center;
	padding: 60px 20px;
	color: #666;
}

.loading i {
	font-size: 3rem;
	color: #2e3192;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

/* Responsive */
@media (min-width:576px) {
    .product-card {
        padding: 20px;
    }

	.view-details-btn {
		font-size: 16px;
		padding: 10px 20px;
	}

	.product-image img {
		padding: 20px;
	}

	.product-image {
		height: 200px;
	}

	.product-badge {
		top: 15px;
		left: 15px;
		font-size: 12px;
		padding: 6px 12px;
	}

	.filter-chips {
		gap: 10px;
	}

	.filter-chip {
		padding: 8px 16px;
		font-size: 15px;
	}

	.modal-body {
		padding: 40px !important;
	}
}

@media (min-width: 768px) {
	.modal-title {
		font-size: 28px;
	}

	.features-title {
		font-size: 20px;
	}

	.features-list li {
		padding: 8px 0 8px 30px;
		font-size: 16px;
	}

	.modal-note {
		font-size: 16px;
	}

	.modal-btn {
		padding: 12px 30px;
		font-size: 16px;
	}
}

@media (min-width: 992px) {
	.features-title {
		font-size: 24px;
	}

	.modal-title {
		font-size: 32px;
	}

	.features-list li {
		padding: 12px 0 12px 30px;
	}

	.product-info {
		padding: 25px;
	}
}