/**
 * Styles pour les onglets d'activité produits WooCommerce
 * 
 * @package Bloomer
 * @since 1.0.0
 */

:root {
	--tabs-width: 880px;
	--padding-modal-book: 3rem;
	--l-side-product: 30%;
	--r-side-product: 70%;
}

/* Redéfinir les variables pour une certaine largeur */
@media (max-width: 1650px) {
	:root {
		--l-side-product: 40%;
		--r-side-product: 60%;
	}
}

/* Redéfinir les variables pour une certaine largeur */
@media (max-width: 1350px) {
	:root {
		--l-side-product: 50%;
		--r-side-product: 50%;
	}
}

@media (max-width: 1150px) {
	:root {
		--l-side-product: 100%;
		--r-side-product: 100%;
	}
}

/* ========== MAIN SECTION PRODUCT ========== */

.product-main-wrap {
	display: flex;
	min-height: calc(100vh - 115px);
}

.product-main-l {
	width: var(--l-side-product);
	z-index: 5;
	display: flex;
	flex-direction: column;
    justify-content: center;
}

.product-main-r {
	width: var(--r-side-product);
}

.product-title {
    font-family: "Palmore", Sans-serif;
    font-size: 11.1em;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.6em;
	color: hsl(var(--main-color));
	margin: 0;
}

.product-title .split-line {
    white-space: nowrap;
    width: fit-content;
}

.product-wrap-main-img {
	height: 100%;
    width: 100%;
    object-fit: contain;
    position: absolute;
	cursor: pointer;
}

.product-wrap-main-img img {
	width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

p {
	font-size: 2em;
    line-height: 1em;
}

@media (max-width: 1150px) {
	.product-main-wrap {
	flex-direction: column;
}
}

/* ========== BOUTON SCROLL VERS GALERIE ========== */

.btn-scroll-to-gallery {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    color: #222;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	opacity: 0;
	transform: translatey(5px);
	transition: opacity 0.8s ease, transform 0.8s ease ;
	transition-delay: 1.35s;
}

.btn-scroll-to-gallery:hover {

}

.product-main-r.active .btn-scroll-to-gallery {
	opacity: 1;
	transform: translatey(0);
}

.btn-scroll-to-gallery svg {
    width: 20px;
    height: 20px;
}

.btn-scroll-to-gallery span {
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
    .btn-scroll-to-gallery {
        bottom: 20px;
        right: 20px;
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .btn-scroll-to-gallery svg {
        width: 18px;
        height: 18px;
    }
}

/* ========== SECTION TABS ========== */

.wrap-booking-activity {
    display: flex;
	margin-top: 5em;
}

.wrap-booking-activity .booking {
	width: var(--l-side-product);    
	display: flex;
    justify-content: center;
}

.wrap-tabs-activity {
    width: var(--r-side-product);
}

.related ~ .swiper-pagination {
	position: relative;
	bottom: 0;
	margin: 15px 0;
}

.product-short-description {
    max-width: var(--tabs-width);
}

/* ========== TURITOP ========== */

.wrap-turitop {
    width: fit-content;
}

/* ========== FIXED BOOK BAR (Mobile uniquement) ========== */

.fixed-book {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid #e0e0e0;
    padding: 15px 20px;
    display: none; /* Masqué par défaut */
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

/* Afficher uniquement en dessous de 1300px */
@media (max-width: 1150px) {
    .fixed-book {
        display: flex;
    }
    
    /* Afficher la barre au scroll */
    .fixed-book.visible {
        transform: translateY(0);
    }
}

.fixed-book-price {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.wrap-price {
	display: flex;
    flex-direction: column;
}

.fixed-book-price > div:first-child {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-amount {
    font-size: 24px;
    font-weight: 700;
    color: #222;
}

/* Style pour le prix WooCommerce */
.price-amount .price {
    margin: 0;
}

.price-amount .woocommerce-Price-amount {
    font-size: 24px;
    font-weight: 700;
    color: #222;
}

.fixed-book button {
    padding: 14px 35px;
    background: #e67e22;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.fixed-book button:hover {
    background: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .fixed-book {
        padding: 12px 15px;
    }
    
    .fixed-book-price > div:first-child {
        font-size: 11px;
    }
    
    .price-amount,
    .price-amount .woocommerce-Price-amount {
        font-size: 20px;
    }
    
    .fixed-book button {
        padding: 12px 25px;
        font-size: 14px;
    }
}

.wrap-modal-title {
    display: flex;
    justify-content: space-between;
	align-items: flex-start;
    margin-bottom: 2em;
}

.booking-title {
	font-family: var(--font-1);
    color: hsl(var(--main-color));
    font-size: 1.7em;
    text-transform: uppercase;
    line-height: .95em;
    text-align: left;
    max-width: 350px;
    margin: 0;
}

.modal__close {
    position: relative;
    background: none;
    border: none;
	padding: 2rem;
	top: -1rem;
    right: -1rem;
	transition: transform .6s ease;
}

.modal__close::before {
    transform: rotate(45deg);
}

.modal__close::after {
    transform: rotate(-45deg);
}

.modal__close::before, .modal__close::after {
     content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 35px;
    border-radius: 50px;
    height: 0.2rem;
    background: #222;
    transition: transform .6s 
ease;
}

.modal__close:hover {
    transform: rotate(180deg);
}

.modal__close:hover::before {
    transform: rotate(0deg);
}

.modal__close:hover::after {
    transform: rotate(0deg);
}

@media (min-width: 1150px) {
	.wrap-turitop {
		position: sticky;
		top: 100px;
		align-self: flex-start;
		padding: 0 20px 35px 20px;
		max-height: calc(100vh - 100px);
		overflow-y: auto;
		overflow-x: hidden;
		margin-left: var(--padding-negative);
	}
	.wrap-modal-title {
			display: none;
	}
}

@media (max-width: 1150px) {
	.wrap-booking-activity .booking {
		position: fixed;
		display: flex;
		overflow-y: auto;
		height: 100%;
		top: 0;
		left: 0;
		background-color: rgba(0, 0, 0, 0.8);
		z-index: 9999;
		justify-content: center;
		align-items: center;
		padding: 65px;
		opacity: 0;
		visibility: hidden;
		transition: opacity .6s ease, visibility .6s ease;
	}
	.wrap-booking-activity .booking.active {
		opacity: 1;
		visibility: visible;
	}
	.wrap-turitop {
		position: relative;
		background-color: #fff;
		border-radius: 70px;
		margin: auto;
		padding: var(--padding-modal-book);
		transform: scale(0.96) translatey(20px)!important;
		transition: transform .5s ease, translatey .5s ease!important;
	}
	.wrap-booking-activity .booking.active .wrap-turitop {
		transform: scale(1) translatey(0)!important;
	}
}

.turitop_booking_system_datepicker .ui-datepicker {
    max-width: 440px;
}

	.turitop_booking_system_woocommerce_date_time {
		padding: 0;
	}

.turitop_booking_system_datepicker_wrap .turitop_booking_system_datepicker .ui-datepicker {
	border-radius: 35px;
	border-color: #DEDEDE;
	padding: 25px 20px;
}

.ui-datepicker-header {
	margin-bottom: 1em;
}

.ui-datepicker-calendar > thead {
	margin-bottom: 1em;
	width: 100%;
}

.turitop_booking_system_datepicker .ui-datepicker-header .ui-icon-circle-triangle-w {
  width: 13px !important;
  height: 13px !important;
	border-left: 2px solid #4d5055 !important;
	  border-top: 2px solid #4d5055 !important;
	border-right: none !important;
	border-bottom: none !important;
  transform: rotate(-45deg);
  display: inline-block;
  position: relative;
}

.turitop_booking_system_datepicker .ui-datepicker-header .ui-icon-circle-triangle-e {
  width: 13px !important;
  height: 13px !important;
	border-right: 2px solid #4d5055 !important;
	  border-bottom: 2px solid #4d5055 !important;
	border-left: none !important;
	border-top: none !important;
  transform: rotate(-45deg);
  display: inline-block;
  position: relative;
}


thead th span {
	font-size: 15px;
	letter-spacing: 1.5px;
	font-weight: 700;
	text-transform: uppercase;
	color: #a5a5a5;
}

.turitop_booking_system_datepicker table.ui-datepicker-calendar th {
    padding: 15px 0 10px 0;
}

div.turitop_booking_system_woocommerce_loader img {
    position: sticky;
    left: 0;
    right: 0;
	margin: auto;
}

.turitop_booking_system_datepicker .ui-datepicker-calendar td {
    padding: 4px;
}

.ui-datepicker-calendar tr > td a {
        width: 2.5em !important;
    height: 2.5em !important;
    line-height: 2.5em !important;
}

.turitop_booking_system_datepicker .ui-datepicker-calendar td.ui-datepicker-unselectable .ui-state-default, .turitop_booking_system_datepicker .ui-datepicker-calendar td a {
    font-size: .9em;
    line-height: inherit;
    font-weight: 700;
}

.turitop_booking_system_datepicker_modern .turitop_booking_system_datepicker .ui-datepicker-calendar td.turitop_booking_system_before_mindate {
	background: transparent;
}

.ui-widget-content .ui-state-default {
    background: transparent !important;
    color: #d1d1d1 !important;
    border-color: #d9f1ff;
	border-radius: 100%;
}

.turitop_booking_system_datepicker .ui-datepicker-calendar td.turitop_booking_system_enable a {
    color: #222 !important;
    border-color: transparent !important;
	transition: border .4s ease;
}

.turitop_booking_system_datepicker .ui-datepicker-calendar td.turitop_booking_system_enable a:hover {
border-color: #4c4d4d !important;
}

.turitop_booking_system_datepicker .ui-datepicker-calendar td {
    border-color: transparent !important;
	border-radius: 50% !important;
}

.turitop_booking_system_datepicker_modern .turitop_booking_system_datepicker .ui-datepicker-calendar td a.ui-state-active {
    border-color: #222 !important;
}

.turitop_booking_system_times
 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
	 gap: 8px;
	 margin-bottom: 8px;
}

.turitop_booking_system_times_service_title,
.turitop_booking_system_times_title {
  grid-column: 1 / -1;
	text-align: left;
	margin-top: 13px;
	margin-bottom: 5px;
	font-size: 1.55em;
	font-weight: 600;
}

.turitop_booking_system_time {
    font-size: 1em;
    font-weight: 700;
}

.turitop_booking_system_times_modern .turitop_booking_system_time, .ui-state-default {
    background: transparent;
    color: #222;
    border: 1px solid #DEDEDE;
    border-radius: 12px;
    margin: 0;
    padding: 4px 0;
	transition: border .35s ease;
}

.turitop_booking_system_time_selected {
	border-color: #222 !important;
}

.turitop_booking_system_time:hover {
    background: transparent !important;
    color: #222 !important;
	border-color: #222;
}


.turitop_booking_system_tickets_table .button_tickets {
border: 1px solid #DEDEDE;
    border-radius: 12px;
    padding: 6px 10px;
	    justify-content: space-between;
}

.turitop_booking_system_tickets_table td.turitop_booking_system_ticket_name, .turitop_booking_system_tickets_table td.turitop_booking_system_ticket_name, .entry-summary .turitop_booking_system_tickets_table td.turitop_booking_system_ticket_price, .turitop_booking_system_tickets_table td.turitop_booking_system_ticket_price {
    color: #222;
	  font-size: 1.1rem;
	font-weight: 700;
    vertical-align: middle;
}

.turitop_booking_system_woocommerce_tickets_button {
	padding: 0;
}

.turitop_booking_system_ticket_availability_select {
	font-size: 1.3em !important;
	font-weight: 600;
	color: #222 !important;
	font-family: var(--font-2), sans-serif;
	border-radius: 12px;
}

.turitop_booking_system_ticket_availability select {
	border-color: #DEDEDE;
	padding: 8px 10px;
	background: transparent url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 6.5px top 55%;
background-size: 16px;
}

.turitop_booking_system_tickets_table .button_tickets, .turitop_booking_system_tickets_table .button_tickets .turitop_booking_system_button span {
	display: flex;
}

.turitop_booking_system_woocommerce_totals {
    padding: 5px;
    font-size: 1.5em;
    text-transform: uppercase;
    font-weight: 700;
}

.lightbox-button-turitop-wc {
    padding: 15px 50px;
    font-weight: 700 !important;
    font-size: .95em;
	border-radius: 50px;
	background-color: #222;
	border: 1px solid #222 !important;
	transition: background-color .4s ease, color .4s ease;
}

.lightbox-button-turitop-wc:hover {
    background-color: transparent;
	color: #222;
}

.turitop_booking_system_powered {
	display: none;
}

/* ========== ONGLETS DE NAVIGATION ========== */

.activite-tabs-container {
    margin: 30px 0;
    max-width: var(--tabs-width);
}

.activite-tabs-nav {
    display: flex;
    gap: 1.5em;
    list-style: none;
    padding: 0;
    margin: 0;
}

.activite-tabs-nav li {
    margin: 0;
}

.activite-tabs-nav li a {
    display: block;
    position: relative;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25em;
    color: #333;
    transition: all 0.3s ease;
}

.activite-tabs-nav li a::after {
    content: "";
    position: absolute;
    background-color: #222;
    right: 0;
    bottom: 0;
    height: 1.5px;
    width: 0;
    transition: width 0.4s ease;
}

.activite-tabs-nav li.active a::after {
    width: 100%;
    left: 0;
}

.activite-tabs-nav li:not(.active) a:hover::after {
    width: 100%;
    left: 0;
}

.activite-tab-pane {
    display: none;
}

.activite-tab-pane.active {
    display: block;
}

.Product-h4, .related-title {
    font-family: var(--font-1);
	display: inline-block;
    font-size: 3em;
    margin: 60px 0 15px 0;
    text-transform: uppercase;
    line-height: 1em;
    background-color: hsl(var(--main-color));
    color: #fff;
    border-radius: 50px;
	padding: 10px;
    transform: rotate(-1deg);
}

/* ========== LISTES INCLUS/NON INCLUS ========== */

.activite-inclus,
.activite-non-inclus {
    margin-bottom: 30px;
}

.activite-inclus h3,
.activite-non-inclus h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.activite-inclus-liste,
.activite-non-inclus-liste {
    list-style: none;
    padding: 0;
    margin: 0;
}

.activite-inclus-liste li,
.activite-non-inclus-liste li {
    margin-bottom: 12px;
    padding-left: 35px;
    position: relative;
    font-size: 1.1em;
}

.icone-inclus,
.icone-non-inclus {
    position: absolute;
    left: 0;
    top: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icone-inclus svg {
    color: #e67e22;
}

.icone-non-inclus svg {
    color: #e67e22;
}

/* ========== LIGHTBOX UNIVERSELLE ========== */

#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    opacity: 0;
    visibility: hidden;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#lightbox.active {
    opacity: 1;
    visibility: visible;
}

/* Swiper dans la lightbox */
.lightbox-swiper {
    width: 100%;
    height: 100%;
    padding: 80px 120px;
}

.lightbox-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
	pointer-events: none;
}

.lightbox-swiper .swiper-slide img,
.lightbox-swiper .swiper-slide video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 30px;
	transform: scale(.7);
    opacity: 0;
	transition: transform 0.5s ease, opacity 0.5s ease;
	pointer-events: auto;
}

#lightbox.active .swiper-slide img, #lightbox.active .swiper-slide video {
	opacity: 1;
	transform: scale(1);
	transition: transform 0.7s ease, opacity 0.7s ease;
}

.lightbox-swiper .swiper-slide-active {
    opacity: 1;
}

/* Bouton fermer */
#close-lightbox {
    position: fixed;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.2s ease;
}

#close-lightbox:hover {
    transform: scale(1.1);
}

/* Compteur */
.lightbox-counter {
    position: fixed;
    top: 40px;
    left: 40px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    z-index: 1001;
}

/* Flèches de navigation */
.lightbox-prev,
.lightbox-next {
    color: white !important;
    width: 50px !important;
    height: 50px !important;
}

.lightbox-prev:after,
.lightbox-next:after {
    font-size: 28px !important;
    font-weight: 700;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    transform: scale(1.1);
}

/* ========== BARRES DE PROGRESSION INSTAGRAM STYLE ========== */

.lightbox-progress-bars {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    z-index: 1002;
    max-width: 600px;
    width: 90%;
    padding: 0 20px;
}

.progress-bar-item {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: visible;
    position: relative;
	cursor: pointer;
    transition: all 0.2s ease;
}

.progress-bar-item::before {
    content: '';
    position: absolute;
    top: -20px;
    bottom: -20px;
    left: 0;
    right: 0;
}

.progress-bar-item:hover {
    background: rgba(255, 255, 255, 0.4);
}

.progress-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: white;
    width: 0;
    transition: width 0.3s ease;
    border-radius: 2px;
	pointer-events: none;
}

/* Barre active (slide courante) */
.progress-bar-item.active .progress-bar-fill {
    width: 100%;
}

/* Barres déjà vues (slides précédentes) */
.progress-bar-item.completed .progress-bar-fill {
    width: 100%;
}

/* Animation pour la barre active */
@keyframes progressAnimation {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .lightbox-progress-bars {
        top: 15px;
        max-width: 100%;
        gap: 3px;
    }
    
    .progress-bar-item {
        height: 2px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .lightbox-swiper {
        padding: 60px 20px 100px 20px;
    }
    
    #close-lightbox {
        top: 20px;
        right: 20px;
        font-size: 32px;
    }
    
    .lightbox-counter {
        top: 20px;
		left: 20px;
        font-size: 14px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 40px !important;
        height: 40px !important;
    }
}

/* ========== Galerie ========== */

/* Swiper Container */
.gallery-swiper {
    width: 100%;
}

.swiper-container {
    overflow: hidden;
}

/* Grille des slides */
.gallery-slide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Items de la galerie */
.gallery-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 20px;
    transition: transform 0.3s ease;
	border: 1.5px solid;
}

.gallery-item:hover {
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.swiper-pagination {
    margin-top: 30px;
    position: relative;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ddd;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #007bff;
    width: 30px;
    border-radius: 5px;
}

/* Message si pas d'images */
.no-gallery-message {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-gallery-message svg {
    margin-bottom: 20px;
    color: #ddd;
}

.no-gallery-message p {
    font-size: 16px;
    margin: 0;
}

/* Responsive */
@media (max-width: 1023px) {
    .gallery-slide-grid {
        gap: 15px;
    }
    
    .gallery-item {
        border-radius: 15px;
    }
}

@media (max-width: 767px) {
    .gallery-section {
        padding: 30px 15px;
    }
    
    .gallery-slide-grid {
        gap: 15px;
    }
    
    .gallery-item {
        border-radius: 12px;
    }
}

/* Sur desktop, afficher 3 colonnes */
@media (min-width: 1024px) {

}

/* ========== GALERIE VIDÉOS ========== */

.video-gallery-swiper {
    padding-bottom: 40px;
}

.video-slide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 10px 0;
}

.video-gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.video-gallery-item video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.video-gallery-pagination {
    position: relative;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .video-slide-grid {
        grid-template-columns: 1fr;
    }
    
    .video-gallery-item video {
        height: 200px;
    }
}

/* ========== CARTE GOOGLE MAPS ========== */

.activity-map-container {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    background: #f0f0f0;
    border: 1px solid #dedede;
}

.activity-map-iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.btn-open-maps {
    margin-top: 20px;
    border: 1px solid #dedede;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    color: #222;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-open-maps:hover {
    border-color: #222;
}

.btn-open-maps svg {
    width: 16px;
    height: 16px;
}

/* Spinner de chargement de la carte */
.map-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    z-index: 5;
}

.map-loader p {
    margin-top: 15px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

/* Animation du spinner */
.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e0e0e0;
    border-top: 4px solid #e67e22;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========== SECTION AVIS ========== */

.activite-avis-section {
    display: flex;
    gap: 35px;
	max-width: var(--tabs-width);
}

.left-cln-review {
    width: 65%;
}

.right-cln-review {
    width: 35%;
}

/* En-tête avec compteur et filtre */
.avis-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.avis-count-display {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Système de tri des avis */
.reviews-sort-select {
    padding: 8px 16px;
    border: 1px solid #dedede;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    background-color: #fff;
    cursor: pointer;
}

/* Box résumé avec score et barres */
.avis-summary-box {
    position: relative;
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    align-items: center;
    flex-direction: column;
}

/* Section score */
.avis-score-section {
    display: flex;
    gap: 15px;
    flex-direction: row;
    align-items: center;
}

.avis-big-score {
    font-size: 55px;
    font-weight: 600;
    color: #222;
    line-height: 1;
}

.avis-stars-display {
    display: flex;
    gap: 4px;
}

.avis-stars-display .star-icon {
    font-size: 20px;
}

.avis-stars-display .star-icon.filled {
    color: #000;
}

.avis-stars-display .star-icon.empty {
    color: #ddd;
}

.avis-ratings-text {
    font-size: 13px;
    color: #666;
}

/* Section barres de distribution */
.avis-bars-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.rating-bar-line {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bar-star-icon {
    font-size: 16px;
    color: #000;
}

.bar-background {
    flex: 1;
    height: 6px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #333;
    transition: width 0.3s ease;
}

/* Bouton écrire un avis */
.write-avis-btn-container {
    margin: 25px 0;
    text-align: center;
}

.btn-ecrire-avis {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #e67e22;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-ecrire-avis:hover {
    background: #d35400;
    transform: translateY(-2px);
}

/* Formulaire d'avis */
.review-form-container {
    background: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    margin: 25px 0;
}

.review-form-container h3 {
    margin: 0 0 20px 0;
    font-size: 22px;
    color: #333;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.rating-stars-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.rating-stars-input input {
    display: none;
}

.rating-stars-input label {
    font-size: 30px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
    margin: 0;
}

.rating-stars-input input:checked ~ label,
.rating-stars-input label:hover,
.rating-stars-input label:hover ~ label {
    color: #ffb800;
}

.form-field textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
}

.form-field textarea:focus {
    outline: none;
    border-color: #e67e22;
}

.form-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-annuler,
.btn-publier {
    padding: 10px 25px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

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

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

.btn-publier {
    background: #e67e22;
    color: white;
}

.btn-publier:hover {
    background: #d35400;
}

/* Liste des avis */
.avis-list-container {
    margin-top: 30px;
}

.single-avis-item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.single-avis-item:last-child {
    border-bottom: none;
}

.avis-left-side {
    flex-shrink: 0;
}

.author-avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #999;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.avis-right-side {
    flex: 1;
}

.author-name-stars {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 5px;
}

.author-name-text {
    font-weight: 700;
    font-size: 15px;
    color: #000;
}

.review-stars-inline {
    display: flex;
    gap: 2px;
}

.review-star {
    font-size: 14px;
}

.review-star.filled {
    color: #000;
}

.review-star.empty {
    color: #ddd;
}

.avis-date-text {
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
}

.avis-comment-text {
    color: #555;
    line-height: 1.6;
    font-size: 14px;
}

.avis-comment-text p {
    margin: 0 0 10px 0;
}

.avis-comment-text p:last-child {
    margin-bottom: 0;
}

.no-avis-yet {
    text-align: center;
    padding: 40px 20px;
    background: #f8f8f8;
    border-radius: 10px;
    color: #666;
}

/* ========== PAGINATION DES AVIS ========== */

.reviews-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pagination-number,
.pagination-btn {
    padding: 10px;
    border: 1px solid #dedede;
    background: white;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-number {
    min-width: 40px;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pagination-number:hover:not(:disabled),
.pagination-btn:hover:not(:disabled) {
    border-color: #222;
    background: #f8f8f8;
}

.pagination-number.active,
.pagination-number:disabled {
    background: #222;
    color: white;
    border-color: #222;
    cursor: default;
}

.pagination-dots {
    padding: 0 5px;
    color: #999;
    font-weight: 600;
}

.pagination-btn svg {
    width: 16px;
    height: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .reviews-pagination {
        flex-wrap: wrap;
    }
    
    .pagination-btn {
        font-size: 13px;
        padding: 6px 10px;
    }
    
    .pagination-number {
        min-width: 35px;
        padding: 6px 10px;
        font-size: 13px;
    }
}

/* Loader pour le tri AJAX */
.reviews-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    min-height: 200px;
}

.reviews-loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f0f0f0;
    border-top: 3px solid #e67e22;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 15px;
}

.reviews-loading p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* ========== GALERIES (Photos et Vidéos) ========== */

.no-gallery-message {
    text-align: center;
    padding: 60px 20px;
    background: #f8f8f8;
    border-radius: 10px;
    color: #999;
}

.no-gallery-message svg {
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-gallery-message p {
    margin: 0;
    font-size: 16px;
}

.gallery-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 30px;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
	object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.03);
}

/* ========== RESPONSIVE ========== */

@media (max-width: 768px) {
    #lightbox {
        padding: 20px;
    }
    
    .activite-avis-section {
        flex-direction: column;
    }
    
    .avis-summary-box {
        flex-direction: column;
        gap: 30px;
    }
    
    .avis-top-bar {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .single-avis-item {
        flex-direction: column;
        gap: 12px;
    }
    
    .author-name-stars {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .activity-map-container {
        height: 300px;
        border-radius: 8px;
    }
    
    .btn-open-maps {
        padding: 10px 16px;
        font-size: 13px;
    }
}