/* Additional styles for product integration */
.product-item {
	margin-bottom: 30px;
	background: #fff;
	border-radius: 5px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	transition: all 0.3s ease;
}

.product-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.product-thumb {
	position: relative;
	overflow: hidden;
}

.product-thumb img {
	width: 100%;
	height: auto;
	transition: transform 0.5s ease;
}

.product-item:hover .product-thumb img {
	transform: scale(1.05);
}

.bage {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #e74c3c;
	color: white;
	padding: 3px 10px;
	font-size: 12px;
	border-radius: 3px;
	z-index: 1;
}

.preview-meta {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0,0,0,0.7);
	padding: 10px;
	transform: translateY(100%);
	transition: transform 0.3s ease;
}

.product-item:hover .preview-meta {
	transform: translateY(0);
}

.preview-meta ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	justify-content: center;
}

.preview-meta li {
	margin: 0 10px;
}

.preview-meta a, .preview-meta span {
	color: white;
	font-size: 16px;
	cursor: pointer;
}

.product-content {
	padding: 15px;
	text-align: center;
}

.product-content h4 a {
	color: #333;
	text-decoration: none;
	font-weight: 600;
}

.product-content h4 a:hover {
	color: #e74c3c;
}

.product-description {
color: #000000;
font-weight: 400;
font-size: 14px;
margin: 10px 0 0;
text-align: left;
}

.price {
color: #000000;
font-weight: 400;
font-size: 14px;
margin: 10px 0 0;
text-align: left;
}


.shop-top {
	margin-bottom: 30px;
	padding: 15px;
	background: #f9f9f9;
	border-radius: 5px;
}

/* Modal styles */
.product-modal .modal-dialog {
	max-width: 900px;
}

.product-modal .modal-body {
	padding: 30px;
}

.product-short-details h2 {
	margin-top: 0;
	color: #333;
}

.product-short-details .product-price {
	font-size: 24px;
	color: #e74c3c;
	font-weight: 600;
	margin: 15px 0;
}

.btn-main {
	background: #e74c3c;
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 3px;
	margin-right: 10px;
}

.btn-main:hover {
	background: #c0392b;
	color: white;
}

.btn-transparent {
	background: transparent;
	border: 1px solid #e74c3c;
	color: #e74c3c;
	padding: 10px 20px;
	border-radius: 3px;
}

.btn-transparent:hover {
	background: #e74c3c;
	color: white;
}

/* Header styles for cart and search */
.top-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.top-menu li {
	display: inline-block;
	margin-left: 15px;
}

.top-menu a {
	color: #333;
	text-decoration: none;
}

.cart-dropdown {
	min-width: 300px;
	padding: 15px;
}

.cart-item {
	display: flex;
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid #eee;
}

.cart-item img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	margin-right: 15px;
}

.cart-summary {
	display: flex;
	justify-content: space-between;
	font-weight: 600;
	margin: 15px 0;
	padding-top: 15px;
	border-top: 1px solid #eee;
}

.cart-buttons {
	display: flex;
	justify-content: space-between;
	list-style: none;
	padding: 0;
	margin: 0;
}

.cart-buttons a {
	padding: 8px 15px;
	font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.preview-meta {
		position: static;
		transform: none;
		background: #f5f5f5;
	}
	
	.preview-meta a, .preview-meta span {
		color: #333;
	}
}

/* ========== ADDITION: Lightbox overlay styles ========== */
.image-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 20000; /* above bootstrap modal (1050) */
	background: rgba(0,0,0,0.95);
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.image-overlay.open { display: flex; }
.image-overlay .overlay-inner {
	position: relative;
	max-width: 95%;
	max-height: 95%;
	text-align: center;
}
.image-overlay img {
	max-width: 100%;
	max-height: 100%;
	box-shadow: 0 10px 40px rgba(0,0,0,0.6);
	border-radius: 4px;
}
.image-overlay .overlay-close {
	position: absolute;
	top: -18px;
	right: -18px;
	background: #fff;
	color: #333;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
/* Make sure overlay doesn't show scrollbars on mobile */
@media (max-width: 480px) {
	.image-overlay { padding: 8px; }
	.image-overlay .overlay-close { width: 32px; height: 32px; font-size: 16px; top: -12px; right: -12px; }
}

/* clickable image visual hint */
.product-thumb a.product-image-link { display: block; }
.product-thumb a.product-image-link img { display: block; }

/* ========== ADDITION: Filter menu styles ========== */
.portfolio-filters {
	padding: 0;
	margin: 0 auto 20px auto;
	list-style: none;
	text-align: center;
}

.portfolio-filters li {
cursor: pointer;
display: inline-block;
padding: 8px 20px 10px 20px;
margin: 0;
font-size: 15px;
font-weight: 500;
line-height: 1;
margin-bottom: 5px;
border-radius: 50px;
transition: all 0.3s ease-in-out;
font-family: 'Roboto', sans-serif;
/* État normal */
color: #000000;
background-color: #f8f9fa;
margin-left: 5px;
}

.portfolio-filters li:hover {
color: #fff;
background-color: rgba(178,163,156,0.8);
}

.portfolio-filters li.filter-active {
/* État actif (quand cliqué) */
color: #fff;
background-color: #000000;
}

.portfolio-filters li:first-child {
	margin-left: 0;
}

.portfolio-filters li:last-child {
	margin-right: 0;
}

@media (max-width: 575px) {
	.portfolio-filters li {
		font-size: 14px;
		margin: 0 0 10px 0;
	}
}

.portfolio-item {
	position: relative;
	overflow: hidden;
}

.portfolio-info {
	opacity: 0;
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: -100%;
	z-index: 3;
	transition: all ease-in-out 0.5s;
	background: rgba(255, 255, 255, 0.9);
	padding: 15px;
}

.portfolio-info h4 {
	font-size: 18px;
	font-weight: 600;
	padding-right: 50px;
}

.portfolio-info p {
	color: #666;
	font-size: 14px;
	margin-bottom: 0;
	padding-right: 50px;
}

.portfolio-info .preview-link,
.portfolio-info .details-link {
	position: absolute;
	right: 50px;
	font-size: 24px;
	top: calc(50% - 14px);
	color: #666;
	transition: 0.3s;
	line-height: 0;
}

.portfolio-info .preview-link:hover,
.portfolio-info .details-link:hover {
	color: #e74c3c;
}

.portfolio-info .details-link {
	right: 14px;
	font-size: 28px;
}

.portfolio-item:hover .portfolio-info {
	opacity: 1;
	bottom: 0;
}

/* ========== ADDITION: Catalog Header Animation ========== */
.catalog-header {
	position: relative;
	overflow: hidden;
	padding: 60px 0;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	transition: all 0.5s ease;
}

.catalog-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
				rgba(0, 0, 0, 0.1) 0%, 
				rgba(0, 0, 0, 0) 70%);
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.catalog-header:hover::before {
	opacity: 1;
}

.catalog-header h3 {
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 15px;
	color: #333;
	transition: all 0.3s ease;
	position: relative;
	display: inline-block;
}

.catalog-header h3::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 3px;
	background: #7c5e5a;
	transition: width 0.5s ease;
}

.catalog-header:hover h3::after {
	width: 100%;
}

.catalog-header .breadcrumb {
	transition: all 0.3s ease;
}

.catalog-header:hover .breadcrumb {
	transform: translateY(-5px);
}

.catalog-header:hover .breadcrumb li a {
	color: #7c5e5a;
}

/* ========== ADDITION: Black filter on hover for products ========== */
.product-item .product-thumb::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0);
	transition: background 0.3s ease;
	pointer-events: none;
}

.product-item:hover .product-thumb::after {
	background: rgba(0, 0, 0, 0.2);
}

/* ========== ADDITION: Mouse trail effect ========== */
.mouse-trail {
	position: fixed;
	width: 20px;
	height: 20px;
	background: rgba(124, 94, 90, 0.3);
	border-radius: 50%;
	pointer-events: none;
	z-index: 9999;
	transform: translate(-50%, -50%);
	transition: width 0.2s, height 0.2s, background 0.2s;
}

.mouse-trail.active {
	width: 40px;
	height: 40px;
	background: rgba(124, 94, 90, 0.1);
}