:root {
	--lt-color-gray-100: #f8f9fc;
	--lt-color-gray-200: #f1f3f9;
	--lt-color-gray-300: #dee3ed;
	--lt-color-gray-400: #c2c9d6;
	--lt-color-gray-500: #8f96a3;
	--lt-color-gray-600: #5e636e;
	--lt-color-gray-700: #2f3237;
	--lt-color-gray-800: #1d1e20;
	--lt-color-gray-900: #111213;
	--lt-shadowDefault: 0 2px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 4px -1px rgba(0, 0, 0, 0.04);
	--lt-shadowActive: 0 0 8px -2px rgba(0, 0, 0, 0.1), 0 6px 20px -3px rgba(0, 0, 0, 0.2);
	--lt-color-white: #fff;
	--lt-color-black: #111213;
	--card-bg-color: #122936;
	--card-accent-color: #0060A4;
	--text-light: #ffffff;
}

.woo-categories-container {
	display: flex;
	flex-wrap: wrap;
	gap: 4rem;
	justify-content: center;
	margin-top: 10rem;
	margin-bottom: 10rem;
}

.woo-category-card-wrap {
	position: relative;
	width: 100%;
	max-width: 25rem;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
	border-radius: 1rem;
	
}

.woo-category-card {
	height: 250px;
	width: 100%;
	background: linear-gradient(145deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.1) 100%);
	border-radius: 1rem;
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 2px outset rgba(255, 255, 255, 0.3);
	box-shadow: 0px 1px 24px -1px rgba(0, 0, 0, 0.2);
	position: relative;
	overflow: hidden;
}

.woo-category-card::after {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 1rem;
	opacity: 0.5;
	background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQE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rE7RuOX7PeMRUERVaPpEs+yqeoSmuOlokqw49pgomjLeh7icHNlG19yjs6XXOMedYm5xH2YxpV2tc0Ro2jJfxC50ApuxGob7lMsxfTbeUv07TyYxpeLucEH1gNd4IKH2LAg5TdVhlCafZvpskfncCfx8pOhJzd76bJWeYFnFciwcYfubRc12Ip/ppIhA1/mSZ/RxjFDrJC5xifFjJpY2Xl5zXdguFqYyTR1zSp1Y9p+tktDYYSNflcxI0iyO4TPBdlRcpeqjK/piF5bklq77VSEaA+z8qmJTFzIWiitbnzR794USKBUaT0NTEsVjZqLaFVqJoPN9ODG70IPbfBHKK+/q/AWR0tJzYHRULOa4MP+W/HfGadZUbfw177G7j/OGbIs8TahLyynl4X4RinF793Oz+BU0saXtUHrVBFT/DnA3ctNPoGbs4hRIjTok8i+algT1lTHi4SxFvONKNrgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==');
}

.woo-category-content {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	box-sizing: border-box;
	padding: 30px 50px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	z-index: 1;
}

.woo-category-title {
	font-family: "Inter Tight", Sans-serif;
	color: rgba(255,255,255, 0.8);
	font-size: 3rem;
	font-weight: bold;
	margin: 0 0 10px 0;
}

.woo-category-count {
	font-family: "Inter Tight", Sans-serif;
	color: rgba(255,255,255, 0.5);
	font-size: 16px;
	margin: 0;
}

.woo-category-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 1rem;
	opacity: 0.4;
	z-index: 0;
}

/* Container pour les sous-catégories - style boutons de filtre */
.woo-subcategories-container {
	width: 100%;
	max-width: 1200px;
	margin: 30px auto;
	display: none;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.woo-subcategories-container.active {
	display: block;
	opacity: 1;
}

.woo-subcategories-content {
	position: relative;
	width: 100%;
	padding: 0;
}

.woo-subcategories-title {
	font-family: "Manrope", Sans-serif;
	font-size: 1.5rem;
	margin-bottom: 15px;
	color: #fff;
	font-weight: 600;
}

.woo-subcategories-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 8px;
	padding: 10px;
	backdrop-filter: blur(3px) saturate(180%);
	-webkit-backdrop-filter: blur(3px) saturate(180%);
	background-color: rgba(17, 25, 40, 0.75);
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.125);
	margin: 0;
	border-radius: 8px;
}

.woo-subcategory-card {
	position: relative;
	border-radius: 6px;
	background: var(--lt-color-white, #fff);
	overflow: hidden;
	transition: all 0.2s ease;
	box-shadow: var(--lt-shadowDefault, 0 2px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 4px -1px rgba(0, 0, 0, 0.04));
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 12px 16px;
	height: auto;
	border: 1px solid transparent;
	cursor: pointer;
}

.woo-subcategory-card:hover {
	box-shadow: var(--lt-shadowActive, 0 0 8px -2px rgba(0, 0, 0, 0.1), 0 6px 20px -3px rgba(0, 0, 0, 0.2));
	transform: translateY(-2px);
}

.woo-subcategory-card.active {
	background-color: var(--lt-color-gray-700, #2f3237);
}

.woo-subcategory-card.active .woo-subcategory-name {
	color: var(--lt-color-white, #fff);
}

.woo-subcategory-image {
	display: none;
}

.woo-subcategory-info {
	position: static;
	width: 100%;
	padding: 0;
	background: transparent;
	text-align: center;
}

.woo-subcategory-name {
	font-family: "Manrope", Sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0;
	var(--lt-color-gray-700, #2f3237);
	line-height: 1.2;
}

.woo-subcategory-product-count {
	display: none;
}

.woo-subcategory-link {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.woo-subcategories-close,
.woo-products-close {
	position: absolute;
	top: 10px;
	right: 0;
	width: 30px;
	height: 30px;
	background-color: transparent;
	border-radius: 4px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	transition: all 0.2s ease;
	z-index: 2;
}

.woo-subcategories-close:hover,
.woo-products-close:hover {
	background-color: rgba(0, 0, 0, 0.05);
}

.woo-subcategories-close::before,
.woo-subcategories-close::after,
.woo-products-close::before,
.woo-products-close::after {
	content: '';
	position: absolute;
	width: 16px;
	height: 2px;
	background-color: #fff;
}

.woo-subcategories-close::before,
.woo-products-close::before {
	transform: rotate(45deg);
}

.woo-subcategories-close::after,
.woo-products-close::after {
	transform: rotate(-45deg);
}

.woo-subcategories-loading,
.woo-products-loading {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: none;
}

.woo-subcategories-loading.active,
.woo-products-loading.active {
	display: block;
}

.woo-loading-spinner {
	width: 40px;
	height: 40px;
	border: 3px solid rgba(200, 200, 200, 0.3);
	border-radius: 50%;
	border-top-color: var(--lt-color-gray-700, #2f3237);
	animation: spin 1s linear infinite;
}

/* PRODUITS STYLES */

.woo-products-container {
	width: 100%;
	max-width: 1200px;
	margin: 30px auto;
	display: none;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.woo-products-container.active {
	display: block;
	opacity: 1;
}

.woo-products-content {
	position: relative;
	width: 100%;
	padding: 0;
}

.woo-products-title {
	font-family: "Manrope", Sans-serif;
	font-size: 1.5rem;
	margin-bottom: 15px;
	color: #fff;
	font-weight: 600;
}

.woo-products-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 30px;
	padding: 20px;
}

/* Card de produit style demandé */
.woo-product-card {
	position: relative;
	width: 100%;
	height: 500px;
	background: var(--card-bg-color);
	border-radius: 20px;
	overflow: hidden;
	font-family: 'Poppins', sans-serif;
}

.woo-product-card::before {
	content: "";
	position: absolute;
	top: -50%;
	width: 100%;
	height: 100%;
	background: var(--card-accent-color);
	transform: skewY(345deg);
	transition: 0.5s;
}

.woo-product-card:hover::before {
	top: -60%;
	transform: skewY(390deg);
}

.woo-product-card::after {
	content: attr(data-category);
	position: absolute;
	bottom: 0;
	left: 0;
	font-weight: 600;
	font-size: 6em;
	color: rgba(0, 0, 0, 0.1);
}

.woo-product-card .imgBx {
	position: relative;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 15px;
	z-index: 1;
	height: 320px;
}

.woo-product-card .imgBx img {
	max-width: 90%;
	transition: 0.5s;
	max-height: 20rem;
	object-fit: contain;
}

.woo-product-card .imgBx img {
	transform: scale(1);
	transition: transform 0.5s ease;
}

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


.woo-product-card .contextBx {
	position: relative;
	padding: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	z-index: 1;
}

.woo-product-card .contextBx h3 {
	font-size: 18px;
	color: var(--text-light);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-align: center;
	margin-bottom: 30px;
}

.woo-product-card .contextBx .see-more {
	position: relative;
	padding: 10px 30px;
	color: var(--text-light);
	text-decoration: none;
	background: var(--card-accent-color);
	border-radius: 1rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: 0.5s;
	opacity: 0;
	transform: translateY(50px);
}

.woo-product-card:hover .contextBx .see-more {
	opacity: 1;
	transform: translateY(0);
}

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

/* Effet 3D au survol */
@media (hover: hover) {
	.woo-category-card-wrap:hover {
			transform: translateY(-5px);
			box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
	}
}

/* Animation d'entrée pour les sous-catégories */
@keyframes fadeInUp {
	from {
			opacity: 0;
			transform: translateY(20px);
	}
	to {
			opacity: 1;
			transform: translateY(0);
	}
}

.woo-subcategory-card,
.woo-product-card {
  opacity: 0;
  animation: fadeInUp 0.4s ease forwards;
}

/* Animation décalée pour chaque carte */
.woo-subcategory-card:nth-child(1),
.woo-product-card:nth-child(1) { animation-delay: 0.1s; }
.woo-subcategory-card:nth-child(2),
.woo-product-card:nth-child(2) { animation-delay: 0.15s; }
.woo-subcategory-card:nth-child(3),
.woo-product-card:nth-child(3) { animation-delay: 0.2s; }
.woo-subcategory-card:nth-child(4),
.woo-product-card:nth-child(4) { animation-delay: 0.25s; }
.woo-subcategory-card:nth-child(5),
.woo-product-card:nth-child(5) { animation-delay: 0.3s; }
.woo-subcategory-card:nth-child(6),
.woo-product-card:nth-child(6) { animation-delay: 0.35s; }

/* Responsive */
/* Ajouter un effet visuel pour indiquer que la catégorie est sélectionnée */
.woo-category-card-wrap.active .woo-category-card {
	border-color: #57a0ff;
	box-shadow: 0px 5px 30px -5px rgba(87, 160, 255, 0.5);
}

@media (max-width: 1024px) {
	.woo-products-grid {
			grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.woo-categories-container {
			flex-direction: column;
			align-items: center;
			gap: 2rem;
	}
	
	.woo-category-card-wrap {
			max-width: 90%;
	}
	
	.woo-subcategories-grid {
			grid-template-columns: repeat(2, 1fr);
	}
	
	.woo-category-title {
			font-size: 2.2rem;
	}
}

@media (max-width: 480px) {
	.woo-subcategories-grid {
			grid-template-columns: repeat(1, 1fr);
	}
	
	.woo-products-grid {
			grid-template-columns: 1fr;
	}
}