/* Box-sizing uniforme pour tous les éléments du tableau */
.randonnees-table-wrapper *,
.randonnees-table-wrapper *::before,
.randonnees-table-wrapper *::after {
    box-sizing: border-box;
}

.randonnees-table-wrapper {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin: 20px 0;
    border: 1px solid #05668d;
    overflow: visible;
}

.randonnees-top-bar {
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
}

.randonnees-pagination-top {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding: 8px 40px;
}

.randonnees-controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    gap: 20px;
}

.randonnees-search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    max-width: 500px;
}

.randonnees-search-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #05668d;
    border-radius: 4px;
    font-size: 14px;
	height: 30px; 
	text-indent: 5px;
}

/* Styles pour le bouton Colonnes */
.columns-menu-wrapper {
    position: relative;
    display: inline-block;
}

.columns-menu-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: white;
    border: 1px solid #05668d;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #05668d;
    transition: all 0.2s;
}

.columns-menu-btn:hover {
    background: #05668d;
    color: white;
}

.columns-menu-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: white;
    border: 1px solid #05668d;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    min-width: 160px;
    padding: 10px 0;
}

.columns-menu-dropdown.active {
    display: block;
}

.column-checkbox-item {
    padding: 6px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.column-checkbox-item:hover {
    background: #f0f9ff;
}

.column-checkbox-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.column-checkbox-item.disabled:hover {
    background: white;
}

.column-checkbox-item input[type="checkbox"] {
    cursor: pointer;
    width: 16px;
    height: 16px;
    margin: 0;
}

.column-checkbox-item.disabled input[type="checkbox"] {
    cursor: not-allowed;
}

.column-checkbox-item label {
    cursor: pointer;
    margin: 0;
    font-size: 14px;
    color: #333;
    user-select: none;
}

.column-checkbox-item.disabled label {
    cursor: not-allowed;
}

.randonnees-table-container {
    overflow-x: auto;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    position: relative;
}

.randonnees-table-container.can-grab * {
    cursor: inherit !important;
}

.randonnees-table-container.can-grab {
    cursor: grab !important;
}

.randonnees-table-container.is-grabbing {
    cursor: grabbing !important;
}

.randonnees-table-container.is-grabbing * {
    cursor: grabbing !important;
}

.randonnees-table-container.can-grab a,
.randonnees-table-container.can-grab button,
.randonnees-table-container.can-grab a *,
.randonnees-table-container.can-grab button * {
    cursor: pointer !important;
}

.randonnees-table-container.is-grabbing a,
.randonnees-table-container.is-grabbing button,
.randonnees-table-container.is-grabbing a *,
.randonnees-table-container.is-grabbing button * {
    cursor: pointer !important;
}

.randonnees-table tbody {
    margin-bottom: 0 !important;
}

.randonnees-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    table-layout: auto;
    margin-bottom: 0 !important;
}

.randonnees-table thead {
    background: #05668d;
    color: #ffffff;
}

.randonnees-table thead th {
    background: #05668d;
}

.randonnees-table thead.is-sticky {
    position: fixed;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.randonnees-table thead.is-sticky th {
    border-top: 1px solid #05668d;
}
	
.randonnees-table th {
    padding: 12px 8px !important;
    text-align: center;
    font-weight: 600;
    white-space: normal;
    cursor: pointer;
    user-select: none;
    color: #ffffff !important;
    background: #05668d;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #05668d;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    word-break: break-word;
    overflow-wrap: break-word;
    min-width: 80px;
    line-height: 1.3;
}

/* Exception pour la colonne nom - alignée à gauche */
.randonnees-table th[data-col="nom"] {
    text-align: left;
}

.randonnees-table th.column-hidden {
    display: none;
}
	
.randonnees-table th:last-child {
    border-right: none;
}

.randonnees-table th[data-sortable="true"]:hover {
    background: #044a66;
}

.randonnees-table tbody tr.rando-row td {
    padding: 12px 5px;
    vertical-align: middle;
    border-right: 1px solid #999;
    border-bottom: 1px solid #999;
    font-weight: 500;
    cursor: default;
    text-align: center;
}

/* Exception pour la colonne nom - alignée à gauche */
.randonnees-table tbody tr.rando-row td[data-col="nom"] {
    text-align: left;
}

.randonnees-table tbody tr.rando-row td.column-hidden {
    display: none;
}

.randonnees-table tbody tr.rando-row td a {
    cursor: pointer;
}

.randonnees-table tbody tr.rando-row td.rando-photo {
    cursor: default;
}

.randonnees-table tbody tr.rando-row td:last-child {
    border-right: none;
}

.randonnees-table tbody tr.rando-row {
    vertical-align: middle;
}

.randonnees-table tbody tr.rando-row td.rando-name {
    display: table-cell;
    padding: 12px 15px;
    vertical-align: middle;
}

.rando-name-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.rando-name-content a {
    color: #05668d;
    text-decoration: underline;
    font-weight: 600;
}

.rando-name-content a:hover {
    text-decoration: none;
}

.expand-btn {
    width: 20px;
    height: 20px;
    background: transparent;
    color: #999;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.expand-btn:hover {
    background: #f0f0f0;
    color: #666;
    border-color: #999;
}

.expand-btn.expanded {
    transform: rotate(45deg);
    background: #05668d;
    color: #fff;
    border-color: #05668d;
}

.rando-photo {
    width: 240px;
    text-align: center;
    padding: 10px !important;
}

.rando-photo img {
    width: 240px;
    height: auto;
    display: block;
    margin: 0 auto;
    max-height: 200px;
    object-fit: cover;
}

.randonnees-table tbody tr.rando-row td[data-col="region"],
.randonnees-table tbody tr.rando-row td[data-col="activite"],
.randonnees-table tbody tr.rando-row td[data-col="difficulte"],
.randonnees-table tbody tr.rando-row td[data-col="difficulte_via"],
.randonnees-table tbody tr.rando-row td[data-col="duree"],
.randonnees-table tbody tr.rando-row td[data-col="distance"],
.randonnees-table tbody tr.rando-row td[data-col="denivele"],
.randonnees-table tbody tr.rando-row td[data-col="frequentation"],
.randonnees-table tbody tr.rando-row td[data-col="vertigineux"],
.randonnees-table tbody tr.rando-row td[data-col="type"],
.randonnees-table tbody tr.rando-row td[data-col="balise"],
.randonnees-table tbody tr.rando-row td[data-col="altitude_max"] {
    font-weight: 600;
}

.randonnees-table tbody tr.rando-details td {
    padding: 0;
    background: #f0f9ff;
    border-right: none;
    border-bottom: 1px solid #05668d;
    margin-bottom: 0 !important;
}

.randonnees-table tbody tr.rando-details {
    margin-bottom: 0 !important;
}

.details-content {
    padding: 8px 15px;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.detail-item {
    padding: 8px 10px;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    border-left: 3px solid #05668d;
}

.detail-item:nth-child(even) {
    background: #f8f9fa;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item strong {
    color: #05668d;
    display: inline;
    margin-right: 8px;
}

.detail-item span {
    color: #333;
    font-size: 14px;
}

.randonnees-table tbody tr:nth-child(4n+1) td,
.randonnees-table tbody tr:nth-child(4n+2) td {
    background: #f3f4f6;
}

.randonnees-table tbody tr.rando-row:hover td {
    background: #e8f4f8;
}

.randonnees-pagination {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: #f8f9fa;
    border-top: none;
    margin-top: 0;
    border-radius: 0 0 4px 4px;
}

.randonnees-table tbody tr.rando-row:last-of-type td {
    border-bottom: none;
}

.randonnees-table tbody tr.rando-details:last-of-type td {
    border-bottom: none;
}

.pagination-btn {
    padding: 5px 9px;
    background: #fff;
    border: 1px solid #05668d;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
    background: #05668d;
    color: #fff;
    border-color: #05668d;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    margin: 0 8px;
    font-weight: 500;
    color: #05668d;
    font-size: 14px;
}

.rando-rating {
    font-size: 22px;
    letter-spacing: -2px;
    line-height: 1;
}

.rando-rating .star-filled,
.rando-rating .star-quarter,
.rando-rating .star-half,
.rando-rating .star-three-quarters,
.rando-rating .star-empty {
    display: inline-block;
}

.star-filled {
    color: #05668d;
}

.star-quarter {
    background: linear-gradient(90deg, #05668d 35%, #ddd 35%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.star-half {
    background: linear-gradient(90deg, #05668d 50%, #ddd 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.star-three-quarters {
    background: linear-gradient(90deg, #05668d 65%, #ddd 65%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.star-empty {
    color: #ddd;
}

/* Fallback pour les navigateurs qui ne supportent pas background-clip */
@supports not (-webkit-background-clip: text) {
    .star-quarter,
    .star-half,
    .star-three-quarters {
        color: #05668d;
        -webkit-text-fill-color: initial;
    }
}

/* ========================================
   STYLES DES FILTRES - NOUVEAU STYLE CARTE
   ======================================== */

.hiking-filter-container-table {
    background: #ededed;
    padding: 8px;
	max-width: 800px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	border: 1px solid #c0c0c0;
}

.hiking-filter-container-table .filters-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 15px;
    background: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #05668d;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hiking-filter-container-table .filters-toggle:hover {
    background: #f8f8f8;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.hiking-filter-container-table .toggle-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.hiking-filter-container-table .filters-toggle.open .toggle-arrow {
    transform: rotate(180deg);
}

.hiking-filter-container-table .filters-content {
    display: none;
    margin-top: 15px;
    padding: 15px 15px 10px 15px;
    background: #ededed;
    border-radius: 8px;
}

.hiking-filter-container-table .filter-group {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #c0c0c0;
}

.hiking-filter-container-table .filter-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.hiking-filter-container-table .filter-group-title {
    font-size: 15px !important;
    font-weight: 600;
    color: #000000;
    margin: 0 0 6px 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hiking-filter-container-table .filter-group-title img {
    object-fit: contain;
}

/* Tailles spécifiques pour chaque icône */
.hiking-filter-container-table .filter-group-title img[src*="icone_difficulte"] {
    width: 20px;
    height: 20px;
	margin-right: -1px;	
	margin-top: -3px;
}

.hiking-filter-container-table .filter-group-title img[src*="icone_avis_etoile"] {
    width: 25px;
    height: 25px;
	margin-right: -2px;	
	margin-top: -3px;
}
								
.hiking-filter-container-table .filter-group-title img[src*="icone-duree"] {
    width: 24px;
    height: 24px;
	margin-top: -1px;
}

.hiking-filter-container-table .filter-group-title img[src*="icone_distance"] {
    width: 23px;
    height: 23px;
	margin-top: -4px;
}

.hiking-filter-container-table .filter-group-title img[src*="icone_denivele_positif"] {
    width: 31px;
    height: 31px;
    margin-top: -3px;
	margin-right: -1px	
}

.hiking-filter-container-table .filter-group-title img[src*="frequentation"] {
    width: 24px;
    height: 24px;
    margin-top: -4px;
}

.hiking-filter-container-table .filter-group-title img[src*="icone_vertigineux"] {
    width: 26px;
    height: 26px;
    margin-top: -7px;
	margin-right: -5px	
}

.hiking-filter-container-table .filter-group-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    row-gap: 8px;
}

.hiking-filter-container-table .filter-btn-advanced {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border: 2px solid #d0d0d0;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #333;
    white-space: nowrap;
}

.hiking-filter-container-table .filter-btn-advanced .btn-icon {
    width: 24px;
    height: 28px;
    object-fit: contain;
    margin-right: 5px;
}

.hiking-filter-container-table .filter-btn-advanced.active {
    background: rgba(5, 102, 141, 0.7) !important;
    color: white !important;
    border: 2px solid transparent !important;
    box-shadow: 0 2px 5px rgba(5, 102, 141, 0.3) !important;
}

.hiking-filter-container-table .filter-btn-advanced.active .btn-icon {
    filter: brightness(1.2) contrast(1.1);
}

.hiking-filter-container-table .filter-btn-advanced.inactive {
    background: white !important;
    color: #333 !important;
    border: 2px solid #d0d0d0 !important;
    box-shadow: none !important;
}

.hiking-filter-container-table .filter-btn-advanced:hover {
    background: rgba(5, 102, 141, 0.08) !important;
    color: #333 !important;
    border: 2px solid rgba(5, 102, 141, 0.4) !important;
    box-shadow: none !important;
}

.hiking-filter-container-table .filter-btn-advanced.active:hover {
    background: rgba(5, 102, 141, 0.7) !important;
    color: white !important;
    border: 2px solid transparent !important;
    box-shadow: 0 2px 5px rgba(5, 102, 141, 0.3) !important;
}

/* Styles spécifiques pour les étoiles */
.hiking-filter-container-table .rating-stars {
    display: inline-flex;
    gap: 0px;
    font-size: 16px;
    line-height: 1;
}

.hiking-filter-container-table .star-filled {
    color: #ffd700;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.hiking-filter-container-table .star-half {
    position: relative;
    display: inline-block;
    color: #ddd;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.hiking-filter-container-table .star-half::before {
    content: '★';
    position: absolute;
    left: 0;
    color: #ffd700;
    -webkit-text-fill-color: currentColor;
    width: 50%;
    overflow: hidden;
}

.hiking-filter-container-table .star-empty {
    color: #ddd;
    background: none;
    -webkit-text-fill-color: currentColor;
}

/* Étoiles blanches quand le bouton est actif */
.hiking-filter-container-table .filter-btn-advanced[data-rating].active .star-filled {
    color: white;
}

.hiking-filter-container-table .filter-btn-advanced[data-rating].active .star-half {
    color: rgba(255, 255, 255, 0.3);
}

.hiking-filter-container-table .filter-btn-advanced[data-rating].active .star-half::before {
    color: white;
}

.hiking-filter-container-table .filter-btn-advanced[data-rating].active .star-empty {
    color: rgba(255, 255, 255, 0.3);
}

/* Étoiles grisées quand le bouton est inactif */
.hiking-filter-container-table .filter-btn-advanced[data-rating].inactive .star-filled {
    color: #999;
}

.hiking-filter-container-table .filter-btn-advanced[data-rating].inactive .star-half {
    color: #ddd;
}

.hiking-filter-container-table .filter-btn-advanced[data-rating].inactive .star-half::before {
    color: #999;
}

.hiking-filter-container-table .filter-btn-advanced[data-rating].inactive .star-empty {
    color: #ddd;
}

/* Hover pour les boutons de rating inactifs — étoiles restent grises */
.hiking-filter-container-table .filter-btn-advanced[data-rating]:hover .star-filled {
    color: #999;
}

.hiking-filter-container-table .filter-btn-advanced[data-rating]:hover .star-half {
    color: #ddd;
}

.hiking-filter-container-table .filter-btn-advanced[data-rating]:hover .star-half::before {
    color: #999;
}

.hiking-filter-container-table .filter-btn-advanced[data-rating]:hover .star-empty {
    color: #ddd;
}

/* Hover pour les boutons de rating actifs — étoiles blanches sur fond bleu */
.hiking-filter-container-table .filter-btn-advanced[data-rating].active:hover .star-filled {
    color: white;
}

.hiking-filter-container-table .filter-btn-advanced[data-rating].active:hover .star-half {
    color: rgba(255, 255, 255, 0.3);
}

.hiking-filter-container-table .filter-btn-advanced[data-rating].active:hover .star-half::before {
    color: white;
}

.hiking-filter-container-table .filter-btn-advanced[data-rating].active:hover .star-empty {
    color: rgba(255, 255, 255, 0.3);
}

/* BOUTON DE RÉINITIALISATION */
.hiking-filter-container-table .reset-filters-wrapper {
    margin-top: 12px;
    padding-top: 0;
    display: flex;
    justify-content: center;
}

.hiking-filter-container-table .reset-filters-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 12px;
    background: #00a896;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 168, 150, 0.3);
}

.hiking-filter-container-table .reset-filters-btn:hover {
    background: #008c7a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 168, 150, 0.4);
}

.hiking-filter-container-table .reset-icon {
    font-size: 18px;
    font-weight: bold;
}

/* ========================================
   MEDIA QUERIES
   ======================================== */
								
@media (min-width: 769px) {
    .randonnees-table th[data-col="region"],
    .randonnees-table td[data-col="region"],
    .randonnees-table th[data-col="activite"],
    .randonnees-table td[data-col="activite"],
	.randonnees-table th[data-col="difficulte"],
    .randonnees-table td[data-col="difficulte"],
	.randonnees-table th[data-col="difficulte_via"],
    .randonnees-table td[data-col="difficulte_via"],
	.randonnees-table th[data-col="duree"],
    .randonnees-table td[data-col="duree"],  
	.randonnees-table th[data-col="distance"],
    .randonnees-table td[data-col="distance"],
    .randonnees-table th[data-col="denivele"],
    .randonnees-table td[data-col="denivele"],
	.randonnees-table th[data-col="avis"],
    .randonnees-table td[data-col="avis"],
    .randonnees-table th[data-col="frequentation"],
    .randonnees-table td[data-col="frequentation"],
    .randonnees-table th[data-col="vertigineux"],
    .randonnees-table td[data-col="vertigineux"],
    .randonnees-table th[data-col="type"],
    .randonnees-table td[data-col="type"],
    .randonnees-table th[data-col="altitude_max"],
    .randonnees-table td[data-col="altitude_max"],
    .randonnees-table th[data-col="balise"],
    .randonnees-table td[data-col="balise"] {
        min-width: 85px;
    }
	
	.randonnees-table th[data-col="nom"],
    .randonnees-table td[data-col="nom"] {
        min-width: 180px;
        max-width: 280px;
    }
	
	.randonnees-table th[data-col="avis"],
    .randonnees-table td[data-col="avis"] {
        min-width: 95px;
    }
}
								
@media (min-width: 1201px) and (max-width: 1300px) {
    .randonnees-table th[data-col="photo"],
    .randonnees-table td[data-col="photo"] {
        min-width: 220px !important;
        width: 220px !important;
    }
}
								
								
@media (min-width: 769px) and (max-width: 1200px) {
    .randonnees-table {
        font-size: 13px;
    }
    
    .randonnees-table th[data-col="photo"],
    .randonnees-table td[data-col="photo"] {
        min-width: 200px !important;
        width: 200px !important;
    }
    
    .randonnees-table th[data-col="nom"],
    .randonnees-table td[data-col="nom"] {
        min-width: 140px;
    }
    
    .rando-photo img {
        width: 190px !important;
        max-height: 150px !important;
    }
    
    .randonnees-table th,
    .randonnees-table td {
        padding: 10px 5px;
    }
}

@media (max-width: 768px) {
    /* Filtres en mobile */
    .hiking-filter-container-table {
        padding: 8px;
    }
    
    .hiking-filter-container-table .filters-toggle {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .hiking-filter-container-table .filters-content {
        padding: 12px 12px 8px 12px;
        margin-top: 12px;
    }

    .hiking-filter-container-table .filter-group {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    
    .hiking-filter-container-table .filter-group:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }

    .hiking-filter-container-table .filter-group-title {
        font-size: 11px;
    }
    
    /* Tailles spécifiques pour mobile */
	.hiking-filter-container-table .filter-group-title img[src*="icone_difficulte"] {
    	width: 19px;
    	height: 19px;
		margin-right: -1px;	
		margin-top: -3px;
	}
	
	.hiking-filter-container-table .filter-group-title img[src*="icone_avis_etoile"] {
        width: 23px;
        height: 23px;
		margin-right: -2px;	
		margin-top: -3px;
    }
    
    .hiking-filter-container-table .filter-group-title img[src*="icone-duree"] {
        width: 20px;
        height: 20px;
    }
    
    .hiking-filter-container-table .filter-group-title img[src*="icone_distance"] {
        width: 19px;
        height: 19px;
    }
    
    .hiking-filter-container-table .filter-group-title img[src*="icone_denivele_positif"] {
        width: 25px;
        height: 25px;
    }
    
    .hiking-filter-container-table .filter-group-title img[src*="frequentation"] {
        width: 19px;
        height: 19px;
    }
    
    .hiking-filter-container-table .filter-group-title img[src*="icone_vertigineux"] {
        width: 21px;
        height: 21px;
    }

    .hiking-filter-container-table .filter-group-buttons {
        gap: 8px;
        row-gap: 8px;
    }
    
    .hiking-filter-container-table .filter-btn-advanced {
        font-size: 13px;
        padding: 5px 10px;
    }
    
    .hiking-filter-container-table .rating-stars {
        font-size: 14px;
    }
    
    .hiking-filter-container-table .reset-filters-btn {
        font-size: 13px;
        padding: 5px 10px;
    }
    
    .hiking-filter-container-table .reset-icon {
        font-size: 16px;
    }
	
	/* Supprimer l'effet de highlight sur mobile */
	.hiking-filter-container-table .filter-btn-advanced,
	.hiking-filter-container-table .reset-filters-btn,
	.hiking-filter-container-table .filters-toggle {
	    -webkit-tap-highlight-color: transparent;
	    -webkit-touch-callout: none;
	    -webkit-user-select: none;
	    -moz-user-select: none;
	    -ms-user-select: none;
	    user-select: none;
	}

	/* Forcer l'apparence sur mobile pour les boutons inactifs */
	.hiking-filter-container-table .filter-btn-advanced.inactive {
	    background: white !important;
	    color: #333 !important;
	    border: 2px solid #d0d0d0 !important;
	}

	/* Forcer l'apparence sur mobile pour les boutons actifs */
	.hiking-filter-container-table .filter-btn-advanced.active {
	    background: rgba(5, 102, 141, 0.7) !important;
	    color: white !important;
	    border: 2px solid transparent !important;
	}
	
	/* Forcer l'apparence des étoiles pour les boutons rating inactifs sur mobile */
	.hiking-filter-container-table .filter-btn-advanced[data-rating].inactive {
	    background: white !important;
	    color: #333 !important;
	    border: 2px solid #d0d0d0 !important;
	}

	.hiking-filter-container-table .filter-btn-advanced[data-rating].inactive .star-filled {
	    color: #999 !important;
	}

	.hiking-filter-container-table .filter-btn-advanced[data-rating].inactive .star-half {
 	   color: #ddd !important;
	}

	.hiking-filter-container-table .filter-btn-advanced[data-rating].inactive .star-half::before {
	    color: #999 !important;
	}

	.hiking-filter-container-table .filter-btn-advanced[data-rating].inactive .star-empty {
	    color: #ddd !important;
	}
    
    /* Top bar en mobile */
    .randonnees-top-bar {
        padding: 0;
    }
    
    .randonnees-controls-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 10px 15px;
    }
    
    .randonnees-pagination-top {
        justify-content: center;
        padding: 8px 15px;
    }
	
	.randonnees-pagination {
        justify-content: center;
        padding: 8px 15px;
    }
    
    .randonnees-search-bar {
        width: 100%;
        min-width: unset;
        justify-content: center;
        max-width: none;
    }
    
    .randonnees-search-input {
        width: 100%;
        max-width: none;
        padding: 10px 15px;
    }
    
    .columns-menu-wrapper {
        width: 55%;
		min-width: 140px;
        margin: 0 auto;
    }
    
    .columns-menu-btn {
        width: 100%;
        justify-content: center;
        padding: 4px 10px;
    }
    
    .columns-menu-dropdown {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: calc(100% - 20px);
        min-width: 150px;
    }
    
    /* Tableau en mobile */
    .randonnees-table {
        font-size: 11px;
    }
    
    .randonnees-table th {
        padding: 12px 5px !important;
        white-space: normal !important;
        line-height: 1.3;
        font-size: 11px;
        height: auto;
        min-height: 60px;
        vertical-align: middle;
    }
    
	.randonnees-table tbody tr:nth-child(4n+1) td,
	.randonnees-table tbody tr:nth-child(4n+2) td {
 	   background: #f0f1f3 !important;
	}
    .randonnees-table td {
        padding: 6px 4px !important;
    }
    
    .randonnees-table td[data-col="photo"] {
        padding: 4px 2px !important;
    }
    
    .rando-photo {
        text-align: center !important;
    }
    
    .randonnees-table th[data-col="nom"],
    .randonnees-table td[data-col="nom"] {
        width: 110px !important;
        min-width: 110px !important;
        max-width: 110px !important;
    }
    
    .randonnees-table th[data-col="photo"],
    .randonnees-table td[data-col="photo"] {
        width: 170px !important;
        min-width: 170px !important;
        max-width: 170px !important;
        padding: 4px !important;
    }
    
    .randonnees-table th[data-col="region"],
    .randonnees-table td[data-col="region"],
    .randonnees-table th[data-col="activite"],
    .randonnees-table td[data-col="activite"] {
        width: 80px !important;
        min-width: 80px !important;
        max-width: 80px !important;
    }
    
    .randonnees-table th[data-col="difficulte"],
    .randonnees-table td[data-col="difficulte"] {
        width: 70px !important;
        min-width: 70px !important;
        max-width: 70px !important;
    }
    
    .randonnees-table th[data-col="difficulte_via"],
    .randonnees-table td[data-col="difficulte_via"] {
        width: 70px !important;
        min-width: 70px !important;
        max-width: 70px !important;
    }
    
    .randonnees-table th[data-col="duree"],
    .randonnees-table td[data-col="duree"] {
        width: 55px !important;
        min-width: 55px !important;
        max-width: 55px !important;
    }
    
    .randonnees-table th[data-col="distance"],
    .randonnees-table td[data-col="distance"] {
        width: 55px !important;
        min-width: 55px !important;
        max-width: 55px !important;
    }
    
    .randonnees-table th[data-col="denivele"],
    .randonnees-table td[data-col="denivele"] {
        width: 55px !important;
        min-width: 55px !important;
        max-width: 55px !important;
    }
    
    .randonnees-table th[data-col="avis"],
    .randonnees-table td[data-col="avis"] {
        width: 90px !important;
        min-width: 90px !important;
        max-width: 90px !important;
    }
    
    .randonnees-table th[data-col="frequentation"],
    .randonnees-table td[data-col="frequentation"],
    .randonnees-table th[data-col="vertigineux"],
    .randonnees-table td[data-col="vertigineux"],
    .randonnees-table th[data-col="type"],
    .randonnees-table td[data-col="type"],
    .randonnees-table th[data-col="altitude_max"],
    .randonnees-table td[data-col="altitude_max"],
    .randonnees-table th[data-col="balise"],
    .randonnees-table td[data-col="balise"] {
        width: 80px !important;
        min-width: 80px !important;
        max-width: 80px !important;
    }
    
    .rando-photo img {
        width: 162px !important;
        max-height: 120px !important;
    }
    
    .rando-name-content a {
        font-size: 11px;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .expand-btn {
        width: 18px;
        height: 18px;
        font-size: 12px;
        margin-left: 0;
        margin-top: 2px;
    }
    
    .pagination-btn {
        padding: 6px 10px;
        font-size: 14px;
    }
    
    .pagination-info {
        font-size: 12px;
        margin: 0 5px;
    }
    
    .rando-rating {
        font-size: 15px;
        letter-spacing: -1px;
    }
    
    .detail-item {
        text-align: left !important;
    }
    
    .detail-item strong,
    .detail-item span {
        text-align: left !important;
    }
}

/* ========================================
   LIENS SEO - masqués visuellement, crawlables
   ======================================== */
.randonnees-seo-links {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}