﻿
/* Conteneur principal */
.flexslider {
	position: relative;
	overflow: hidden;
	width: 100%;
	max-width: 845px;
	margin: 0 auto;
}
/* Liste des diapositives */
.slides {
	display: flex;
	transition: transform 0.5s ease-in-out;
	list-style: none;
	padding: 0;
	margin: 0;
}
/* Chaque diapositive */
.slides li {
	min-width: 100%;
	box-sizing: border-box;
	position: relative;
}
/* Images */
.slides img {
	display: block;
	width: 100%;
	height: auto;
}
/* Légende */
.flex-caption {
	position: absolute;
	bottom: 10px;
	left: 10px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	padding: 10px;
	font-size: 14px;
	border-radius: 5px;
}
/* Boutons de navigation */
.slider-prev, .slider-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	border: none;
	padding: 10px 15px;
	cursor: pointer;
	z-index: 10;
	border-radius: 50%;
}
.slider-prev {
	left: 10px;
}
.slider-next {
	right: 10px;
}
.thumbnails {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    width: 100%;
}

/* Chaque vignette */
.thumbnails img {
    width: 33.33%;
    height: auto;
    object-fit: cover;
    cursor: pointer;
    opacity: .7;
    transition: opacity 0.3s ease, border 0.3s ease;
}

/* Effet au survol de la vignette active */
.thumbnails img.active {
    opacity: 1;
}

/* Style de base (Mobile et structure par défaut) */
.share-container {
    margin-top: 16px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--border-soft,#eee);
    padding-top: 16px;
    transition: all 0.3s ease-in-out;
}

.share-label {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-inline,#333);
}

.share-label img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.share-buttons a img {
    width: 32px;
    height: 32px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

/* Effet Hover au survol des icônes */
.share-buttons a:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.15);
}

/* --- AFFICHAGE STICKY SUR ORDINATEUR (Desktop) --- */
@media (min-width: 1024px) {
    .share-container.is-sticky {
        position: fixed;
        top: 160px;
        left: 15px;
        z-index: 999;
        border-top: none;
        padding: 12px;
        background: var(--bg-surface,#ffffff);
        border-radius: 10px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    }
	
    .share-container.is-sticky .share-buttons {
        flex-direction: column;
        gap: 14px;
    }
    
    .share-container.is-sticky .share-label {
        display: none;
    }
}

