/* .w-gallery-woo__container{
	position: relative;
	aspect-ratio: 421 / 478;
	margin-bottom:2rem;
}

.w-gallery-woo__container__bg{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
} */

.w-gallery-woo__container{
	position:relative;
}

.gallery-woo__main{
	background:var(--wp--preset--color--bleu-4);
	border-radius:15px;
	border:1px solid var(--wp--preset--color--gris-1);
	position: relative;
	aspect-ratio: 421 / 478;
	margin-bottom: 15px;
}
/* 
.w-gallery-woo__container__bg .shadow{
	transform: rotate(-1.75deg);
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: top right;
    z-index: -1;
}

.w-gallery-woo__container__bg .behind{
    position: absolute;
    top: 50%;
    left: 50%;
	width:60%;
	height:53%;
    transform: translate(-50%, -50%);
}*/
.w-gallery-woo__container .glide__bullet {
    background-color: var(--wp--preset--color--bleu-3);
	border:0 !important;
}

.w-gallery-woo__container .glide__bullet.glide__bullet--active {
    background-color: var(--wp--preset--color--bleu-2);
} 

.glide__slide{
	text-align: center;
}

.glide__track,
.glide__slides{
	height:100%;
}

.glide__slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.glide__slide img{
	width:80%;
	height:80%;
	object-fit: contain;
}

/* Styles pour les miniatures */
.gallery-woo__thumbs {
	margin-top: 10px;
	margin-bottom: 20px;
}

.thumbs-navigation {
	position: relative;
	display: flex;
	align-items: center;
}

.gallery-woo__thumbs .glide__track {
	width: 100%;
	overflow: hidden;
	padding: 5px 0;
}

/* Styles pour moins de 4 miniatures (sans carousel) */
.gallery-woo__thumbs--no-carousel .glide__track {
	overflow: visible;
}

.gallery-woo__thumbs--no-carousel .glide__slides {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	transform: none !important; /* Désactiver les transformations de Glide */
}

.gallery-woo__thumbs--no-carousel .glide__slide {
	flex: 0 0 auto;
	max-width: 23%; /* Légèrement moins de 25% pour tenir compte des marges */
	margin: 0 1%;
}

.gallery-woo__thumbs .glide__slides {
	display: flex;
	height: auto;
}

.gallery-woo__thumbs .glide__slide {
	height: auto;
	border-radius: 8px;
	overflow: hidden;
	opacity: 0.6;
	transition: all 0.3s ease;
	padding: 2px;
	cursor: pointer;
}

.gallery-woo__thumbs .glide__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 6px;
}

.gallery-woo__thumbs .glide-thumb {
	border: none;
	background: none;
	width: 100%;
	padding: 0;
	cursor: pointer;
	display: block;
}

.gallery-woo__thumbs .glide__slide--active {
	opacity: 1;
}

/* Styles pour les flèches de navigation */
.thumbs-arrows {
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}

.thumbs-arrow {
	background-color:transparent;
	border: none;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	margin: 0 5px;
	transition: background-color 0.3s ease;
	padding: 0;
}

.thumbs-arrow:hover {
	transform: scale(1.1);
}

/* Retourner la flèche gauche */
.arrow-flip {
	transform: scaleX(-1);
}

.thumbs-arrow svg {
	fill: var(--wp--preset--color--bleu-2);
	width: 18px;
	height: 18px;
}

/* Ajustements pour mobile */
@media (max-width: 576px) {
	.thumbs-arrow {
		width: 30px;
		height: 30px;
	}
	
	.thumbs-arrow svg {
		width: 20px;
		height: 10px;
	}
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.gallery-woo__thumbs .glide-thumb{
	border:1px solid var(--wp--preset--color--gris-1);
	background:var(--wp--preset--color--bleu-4);
	padding:var(--wp--preset--spacing--10);
	border-radius:15px;
}