/* Styles de la page de location.
   Ils étaient en ligne dans location.php : plus de 2600 lignes
   retéléchargées à chaque visite de cette page publique. */

        :root {
            --primary-color: #e63946;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body.no-scroll {
            overflow: hidden;
            touch-action: none;
            height: 100vh;
        }

        .lazy-load {
            opacity: 0;
            transition: opacity 0.3s ease-in-out;
        }

        .lazy-load.loaded {
            opacity: 1;
        }

        .lazy-load.loading {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: loading 1.5s infinite;
        }

        @keyframes loading {
            0% {
                background-position: 200% 0;
            }

            100% {
                background-position: -200% 0;
            }
        }

        ::-webkit-scrollbar {
            display: none;
        }

        html {
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        body {
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        /* Styles pour les notifications client */
        .notification-bell-container {
            position: relative;
            display: inline-flex;
            align-items: center;
            margin-left: 1rem;
            vertical-align: middle;
            margin-top: -4px;
        }

        #user-menu {
            position: relative;
            overflow: visible !important;
        }

        .notification-bell-wrapper {
            position: relative;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 8px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            box-sizing: border-box;
            transform: translateY(-4px);
        }

        .notification-bell-wrapper:hover {
            background: rgba(255, 107, 107, 0.1);
        }

        .notification-bell-wrapper i {
            font-size: 1.2rem;
            color: #fff;
            transition: transform 0.3s ease;
        }

        .notification-bell-wrapper:hover i {
            transform: scale(1.1);
        }

        .notification-badge-client {
            position: absolute;
            top: 0;
            right: 0;
            background: #ff6b6b;
            color: white;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
            font-weight: 700;
            border: 2px solid #1a1a1a;
            transform: translate(25%, -25%);
            animation: pulse-notification 2s infinite;
        }

        .notification-badge-client.hidden {
            display: none !important;
        }

        @keyframes pulse-notification {

            0%,
            100% {
                transform: translate(25%, -25%) scale(1);
                box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
            }

            50% {
                transform: translate(25%, -25%) scale(1.1);
                box-shadow: 0 0 0 4px rgba(255, 107, 107, 0);
            }
        }

        /* Dropdown des notifications */
        .notification-dropdown {
            display: none;
            position: absolute;
            top: calc(100% + 10px);
            right: 0;
            width: 350px;
            max-width: 90vw;
            background: #1a1a1a;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
            z-index: 3000;
            overflow: hidden;
        }

        .notification-dropdown.open {
            display: block;
            animation: fadeIn 0.3s ease-out;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        .notification-dropdown-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 1.25rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            background: rgba(255, 107, 107, 0.05);
        }

        .notification-dropdown-header h3 {
            margin: 0;
            color: #fff;
            font-size: 1.1rem;
            font-weight: 600;
        }

        .notification-close {
            background: none;
            border: none;
            color: #888;
            cursor: pointer;
            font-size: 1.1rem;
            padding: 0.25rem;
            transition: color 0.2s;
        }

        .notification-close:hover {
            color: #fff;
        }

        .notification-dropdown-content {
            max-height: 400px;
            overflow-y: auto;
            scrollbar-width: thin;
            scrollbar-color: rgba(255, 107, 107, 0.3) transparent;
        }

        .notification-dropdown-content::-webkit-scrollbar {
            width: 6px;
        }

        .notification-dropdown-content::-webkit-scrollbar-track {
            background: transparent;
        }

        .notification-dropdown-content::-webkit-scrollbar-thumb {
            background: rgba(255, 107, 107, 0.3);
            border-radius: 3px;
        }

        .notification-loading,
        .notification-empty {
            padding: 2rem;
            text-align: center;
            color: #888;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .notification-loading i,
        .notification-empty i {
            font-size: 2rem;
            margin-bottom: 0.5rem;
            display: block;
        }

        .notification-list {
            padding: 0.5rem 0;
        }

        .notification-item {
            padding: 1rem 1.25rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            cursor: pointer;
            transition: background 0.2s;
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
        }

        .notification-item:hover {
            background: rgba(255, 107, 107, 0.1);
        }

        .notification-item.unread {
            background: rgba(255, 107, 107, 0.05);
            border-left: 3px solid #ff6b6b;
        }

        .notification-icon {
            width: 32px;
            height: 32px;
            background: linear-gradient(135deg, #ff6b6b 0%, #e63946 100%);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 0.9rem;
            flex-shrink: 0;
        }

        .notification-content {
            flex: 1;
            min-width: 0;
        }

        .notification-title {
            font-weight: 600;
            color: #fff;
            font-size: 0.9rem;
            margin-bottom: 0.25rem;
        }

        .notification-message {
            color: #aaa;
            font-size: 0.85rem;
            line-height: 1.4;
            word-wrap: break-word;
        }

        .notification-time {
            color: #666;
            font-size: 0.75rem;
            margin-top: 0.25rem;
        }

        .notification-dropdown-footer {
            padding: 0.75rem 1.25rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            background: rgba(0, 0, 0, 0.2);
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .notification-mark-all-read {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            background: rgba(255, 107, 107, 0.1);
            border: 1px solid rgba(255, 107, 107, 0.3);
            color: #ff6b6b;
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s;
            width: 100%;
        }

        .notification-mark-all-read:hover {
            background: rgba(255, 107, 107, 0.2);
            border-color: rgba(255, 107, 107, 0.5);
            color: #fff;
        }

        .notification-mark-all-read:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .notification-view-all {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            color: #ff6b6b;
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            transition: color 0.2s;
        }

        .notification-view-all:hover {
            color: #fff;
        }

        /* Sur mobile, forcer le dropdown à droite */
        @media (max-width: 768px) {
            .notification-bell-container {
                position: relative;
                z-index: 3001;
            }

            .notification-dropdown {
                right: -4rem !important;
                left: auto !important;
                transform-origin: top right !important;
                width: calc(100vw - 2rem);
                max-width: 350px;
            }

            .notification-dropdown.open {
                right: -4rem !important;
                left: auto !important;
            }

            /* S'assurer que le nav-menu permet l'overflow sur mobile */
            #nav-menu {
                overflow: visible !important;
            }

            #user-menu {
                overflow: visible !important;
            }
        }

        @media (max-width: 480px) {

            /* Sur très petit écran, dropdown pleine largeur avec marge à droite */
            .notification-dropdown {
                width: calc(100vw - 1rem) !important;
                max-width: calc(100vw - 1rem) !important;
                right: -3rem !important;
            }

            .notification-dropdown.open {
                right: -3rem !important;
                left: auto !important;
            }
        }

        .user-dropdown {
            position: relative;
            display: inline-block;
        }

        .user-dropdown-toggle {
            cursor: pointer;
            display: flex;
            align-items: center;
            min-width: 140px;
            justify-content: center;
        }

        .user-dropdown-menu {
            display: none;
            position: absolute;
            top: 100%;
            right: 0;
            background: #222;
            min-width: 200px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
            border-radius: 10px;
            z-index: 2000;
            padding: 0.5rem 0;
            margin-top: 0;
            min-width: 100%;
            left: 0;
            right: 0;
        }

        .user-dropdown.open .user-dropdown-menu {
            display: block;
        }

        .user-dropdown-menu a {
            display: block;
            padding: 0.7rem 1.5rem;
            color: #fff;
            text-decoration: none;
            font-size: 1rem;
            transition: background 0.2s;
        }

        .user-dropdown-menu a:hover {
            background: var(--primary-color);
            color: #fff;
        }

        .user-dropdown-menu hr {
            border: none;
            border-top: 1px solid #444;
            margin: 0.3rem 0;
        }

        .user-dropdown-menu a.logout-link {
            white-space: nowrap;
        }

        @media (max-width: 900px) {
            .user-dropdown-menu a.logout-link {
                white-space: nowrap;
            }
        }

        /* Navigation styles from location.php */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            z-index: 4000;
        }

        .location-hero {
            position: relative;
            background: url('Assets/Img/PDMV.webp');
            background-position: left 35%;
            background-size: cover;
            background-repeat: no-repeat;
            overflow: hidden;
            padding: 120px 0 80px;
            text-align: center;
            min-width: 100vw;
            min-height: 400px;
        }

        .location-hero::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
            opacity: 0.5;
            z-index: 2;
            pointer-events: none;
        }

        .hero-grid-reveal {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 2;
            display: grid;
            grid-template-columns: repeat(16, 1fr);
            grid-template-rows: repeat(8, 1fr);
            pointer-events: none;
        }

        .hero-grid-reveal .tile {
            background: #181818;
            opacity: 1;
        }

        .hero-grid-reveal .tile.revealed {
            opacity: 0;
        }

        .hero-grid-reveal .tile.revealed-anim {
            opacity: 0;
        }

        /* Animation des tuiles */
        @keyframes tileReveal {
            from {
                opacity: 1;
            }

            to {
                opacity: 0;
            }
        }

        .tile.revealed-anim {
            animation: tileReveal 0.3s forwards;
        }

        .location-hero-content {
            position: relative;
            z-index: 3;
            max-width: 800px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .location-hero h1 {
            font-size: 3.5rem;
            font-weight: 800;
            color: var(--primary-color);
            margin-bottom: 1rem;
            letter-spacing: -0.02em;
        }

        .location-hero p {
            font-size: 1.2rem;
            color: #fff;
            margin-bottom: 2rem;
            line-height: 1.6;
        }

        .location-stats {
            display: flex;
            justify-content: center;
            gap: 3rem;
            margin-top: 3rem;
        }

        .stat-item {
            text-align: center;
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--primary-color);
            display: block;
        }

        .stat-label {
            font-size: 0.9rem;
            color: #fff;
            text-transform: uppercase;
            letter-spacing: 0.1em;
        }

        .location-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 4rem 2rem 4rem 2rem;
        }

        .catalogue-filters {
            display: flex;
            flex-direction: column;
            gap: 2rem;
            margin-bottom: 3rem;
            margin-top: 1rem;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
            border-radius: 20px;
            padding: 2rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            animation: fadeInUp 0.8s ease-out;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: visible;
        }

        .search-section {
            display: flex;
            justify-content: center;
        }

        .search-input-wrapper {
            position: relative;
            width: 100%;
            max-width: 500px;
        }

        .search-icon {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--primary-color);
            font-size: 1.1rem;
            z-index: 2;
        }

        .search-input {
            width: 100%;
            padding: 1rem 1rem 1rem 3rem;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 15px;
            color: #fff;
            font-size: 1rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(10px);
        }

        .search-input::placeholder {
            color: rgba(255, 255, 255, 0.6);
            transition: color 0.3s ease;
        }

        .search-input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.2);
            transform: translateY(-2px);
        }

        .search-input:focus::placeholder {
            color: rgba(255, 255, 255, 0.4);
        }

        .main-filters {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 2rem;
        }

        .filter-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .filter-group label {
            color: #fff;
            font-size: 0.9rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 0.3rem;
            transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .filter-group:hover label {
            color: var(--primary-color);
        }

        .price-chest-filters {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.5rem;
        }

        .input-with-icon {
            position: relative;
            display: flex;
            align-items: center;
        }

        .input-with-icon i {
            position: absolute;
            left: 1rem;
            color: var(--primary-color);
            font-size: 0.9rem;
            z-index: 2;
        }

        .input-with-icon input {
            width: 100%;
            padding: 0.8rem 1rem 0.8rem 2.5rem;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            color: #fff;
            font-size: 0.95rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(10px);
        }

        .input-with-icon input::placeholder {
            color: rgba(255, 255, 255, 0.5);
            transition: color 0.3s ease;
        }

        .input-with-icon input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.2);
            transform: translateY(-1px);
        }

        .input-with-icon input:focus::placeholder {
            color: rgba(255, 255, 255, 0.3);
        }

        .input-with-icon input[type="number"]::-webkit-inner-spin-button,
        .input-with-icon input[type="number"]::-webkit-outer-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        .input-with-icon input[type="number"] {
            -moz-appearance: textfield;
        }

        .unit {
            position: absolute;
            right: 1rem;
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.85rem;
            font-weight: 500;
            pointer-events: none;
        }

        .sort-section {
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            gap: 1rem;
            width: 100%;
        }

        .sort-btn {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.1) 100%);
            border: 2px solid rgba(255, 255, 255, 0.2);
            color: #fff;
            padding: 1rem 2rem;
            border-radius: 15px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            outline: none;
            backdrop-filter: blur(15px);
        }

        .sort-btn:hover {
            background: rgba(255, 255, 255, 0.15);
            border-color: var(--primary-color);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(230, 57, 70, 0.2);
        }

        .sort-btn:active {
            transform: translateY(0);
            box-shadow: 0 4px 15px rgba(230, 57, 70, 0.15);
        }

        .sort-btn i {
            color: var(--primary-color);
        }

        .btn-reset-filters {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
            border: 2px solid rgba(255, 255, 255, 0.2);
            color: #fff;
            padding: 1rem 2rem;
            border-radius: 15px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            outline: none;
            backdrop-filter: blur(15px);
            margin-left: 1rem;
        }

        .btn-reset-filters:hover {
            background: rgba(255, 255, 255, 0.15);
            border-color: #10b981;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(16, 185, 129, 0.2);
        }

        .btn-reset-filters:active {
            transform: translateY(0);
            box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
        }

        .btn-reset-filters i {
            color: #10b981;
        }

        .sort-arrow {
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .sort-btn.asc .sort-arrow {
            transform: rotate(0deg);
        }

        .sort-btn.desc .sort-arrow {
            transform: rotate(180deg);
        }

        .custom-select {
            position: relative;
            width: 100%;
            user-select: none;
            z-index: 1000;
            isolation: isolate;
        }

        .select-trigger {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            padding: 0.8rem 1rem 0.8rem 2.5rem;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            color: #fff;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(10px);
            position: relative;
        }

        .select-trigger:hover {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.12) 100%);
            border-color: rgba(255, 255, 255, 0.3);
            transform: translateY(-1px);
        }

        .select-trigger:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.2);
        }

        .select-trigger i:first-child {
            color: var(--primary-color);
            font-size: 0.9rem;
            position: absolute;
            left: 1rem;
        }

        .select-trigger .arrow {
            color: var(--primary-color);
            font-size: 0.8rem;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            margin-left: auto;
        }

        .custom-select.open .arrow {
            transform: rotate(180deg);
        }

        .select-dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(20, 20, 20, 0.95) 100%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            margin-top: 0.5rem;
            max-height: 0;
            overflow: hidden;
            opacity: 0;
            transform: translateY(-10px) scale(0.95);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(20px);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
            z-index: 1000;
            transform-origin: top center;
            will-change: transform, opacity;
            pointer-events: none;
        }

        .custom-select.open .select-dropdown {
            max-height: 240px;
            opacity: 1;
            transform: translateY(0) scale(1);
            overflow-y: auto;
            overflow-x: hidden;
            padding: 0.5rem 0 0.5rem 0;
            -webkit-overflow-scrolling: touch;
            scroll-behavior: smooth;
            pointer-events: auto;
            z-index: 1002;
            /* S'assurer que le dropdown ouvert est au-dessus */
        }

        .select-option {
            padding: 0.6rem 1rem;
            color: #fff;
            cursor: pointer;
            transition: all 0.2s ease;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            position: relative;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            line-height: 1.3;
            min-height: 2.2rem;
            display: flex;
            align-items: center;
        }

        .select-option:last-child {
            border-bottom: none;
            margin-bottom: 0.1rem;
        }

        .select-option:hover {
            background: linear-gradient(135deg, rgba(230, 57, 70, 0.15) 0%, rgba(230, 57, 70, 0.1) 100%);
            color: var(--primary-color);
            transform: translateX(5px);
            box-shadow: inset 0 0 0 1px rgba(230, 57, 70, 0.2);
        }

        .select-option.selected {
            background: linear-gradient(135deg, rgba(230, 57, 70, 0.2) 0%, rgba(230, 57, 70, 0.15) 100%);
            color: var(--primary-color);
            font-weight: 600;
        }

        .select-option[data-value="all"] {
            font-weight: 600;
            color: var(--primary-color);
        }

        .select-option[data-value=""] {
            font-weight: 600;
            color: var(--primary-color);
        }

        .select-option::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 3px;
            height: 100%;
            background: var(--primary-color);
            transform: scaleY(0);
            transition: transform 0.2s ease;
        }

        .select-option:hover::before,
        .select-option.selected::before {
            transform: scaleY(1);
        }

        /* Multi-sélection : checkmark */
        [data-multiselect] .select-option {
            padding-right: 2rem;
        }
        [data-multiselect] .select-option.selected::after {
            content: '✓';
            position: absolute;
            right: 0.8rem;
            font-weight: 700;
            font-size: 0.85rem;
        }

        .select-dropdown::-webkit-scrollbar {
            width: 8px;
        }

        .select-dropdown::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.08);
            border-radius: 4px;
            margin: 2px 0;
        }

        .select-dropdown::-webkit-scrollbar-thumb {
            background: var(--primary-color);
            border-radius: 4px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .select-dropdown::-webkit-scrollbar-thumb:hover {
            background: #ff4d5d;
            transform: scale(1.1);
        }

        .select-dropdown::-webkit-scrollbar-corner {
            background: transparent;
        }

        .select-dropdown {
            scrollbar-width: thin;
            scrollbar-color: var(--primary-color) rgba(255, 255, 255, 0.05);
        }

        .custom-select input[type="hidden"] {
            display: none;
        }

        .custom-select .select-trigger {
            outline: none !important;
            -webkit-tap-highlight-color: transparent !important;
        }

        .custom-select .select-trigger:focus {
            outline: none !important;
            border-color: rgba(255, 255, 255, 0.2) !important;
            box-shadow: none !important;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%) !important;
        }

        .custom-select.open .select-trigger {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 1px rgba(230, 57, 70, 0.3);
        }

        /* Z-index optimisé pour mobile */
        @media (max-width: 768px) {
            #category-select {
                z-index: 1000;
            }

            #places-select {
                z-index: 999;
            }

            /* S'assurer que les dropdowns ouverts ont le bon z-index */
            .custom-select.open {
                z-index: 1001;
            }

            .custom-select.open .select-dropdown {
                z-index: 1002;
            }

            /* Règle spécifique pour éviter les conflits de z-index sur mobile */
            .custom-select:not(.open) {
                z-index: 999;
            }

            .custom-select.open {
                z-index: 1001;
            }

            .custom-select.open .select-dropdown {
                z-index: 1002;
            }
        }

        .select-option[data-value="all"],
        .select-option[data-value=""] {
            font-weight: 600;
            color: var(--primary-color);
        }

        /* Style spécial pour l'option "Mes favoris" - rouge seulement si sélectionnée */
        .select-option[data-value="favoris"].selected {
            font-weight: 600;
            color: var(--primary-color);
        }

        /* Style spécial pour l'option "Nouveautés" - rouge seulement si sélectionnée */
        .select-option[data-value="nouveauté"].selected {
            font-weight: 600;
            color: var(--primary-color);
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .location-card {
            animation: fadeInUp 0.6s ease forwards;
        }

        .location-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .location-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 20px;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            position: relative;
            z-index: 1;
        }

        .location-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            border-color: var(--primary-color);
        }

        .location-image {
            position: relative;
            height: 210px;
            overflow: hidden;
        }

        .location-image img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            background: #181818;
            transition: transform 0.4s ease, opacity 0.4s ease;
        }

        .location-card:hover .location-image img {
            transform: scale(1.05);
            opacity: 0.85;
        }

        .vehicle-image {
            opacity: 0;
            transition: opacity 0.4s ease, transform 0.3s ease;
        }

        .vehicle-image.loaded {
            opacity: 1;
        }

        .location-card:hover .vehicle-image {
            transform: scale(1.05);
        }

        .location-badge {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: var(--primary-color);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em;
        }

        .stock-badge {
            position: absolute;
            top: 1rem;
            left: 1rem;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            padding: 0.4rem 0.8rem;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 600;
            border: 1px solid rgba(255, 255, 255, 0.2);
            z-index: 2;
        }

        .electric-badge {
            position: absolute;
            bottom: 1rem;
            right: 1rem;
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: white;
            padding: 0.4rem;
            border-radius: 50%;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
            width: 32px;
            height: 32px;
        }


        .location-content {
            padding: 1.1rem 1.2rem 1.4rem 1.2rem;
        }

        .location-title {
            font-size: 1.22rem;
            margin-bottom: 0.28rem;
            margin-top: -0.5rem;
        }

        .location-specs {
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            gap: 0.8rem;
            margin-bottom: 1rem;
        }

        .spec-item {
            flex: 0 1 auto;
            min-width: 0;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 0.22rem;
            font-size: 0.93rem;
            color: #ccc;
            text-align: left;
            white-space: nowrap;
        }

        .spec-item i {
            font-size: 1.1em;
            min-width: 20px;
            text-align: center;
        }

        .location-price {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
            padding: 0.45rem 0 0.45rem 0;
            border-top: 1px solid #333;
            background: none;
            border-radius: 0;
            box-shadow: none;
            min-height: 0;
        }

        .price-main {
            font-size: 1.32rem;
            font-weight: 800;
            color: var(--primary-color);
            margin: 0.2rem 0 0 0;
            background: none;
            border-radius: 0;
            box-shadow: none;
            padding: 0;
            display: block;
        }

        .price-days {
            font-size: 0.85rem;
            color: #bbb;
            font-weight: 500;
            margin-top: 0.1rem;
            letter-spacing: 0.03em;
        }

        .btn-primary {
            background: var(--primary-color) !important;
            color: white !important;
            padding: 0.5rem 0.5rem !important;
            border: none !important;
            border-radius: 12px !important;
            font-weight: 600 !important;
            cursor: pointer !important;
            transition: all 0.3s ease !important;
            flex: 1 !important;
            text-align: center !important;
            text-decoration: none !important;
            display: inline-block !important;
        }

        .btn-primary:hover {
            background: #ff4d5d !important;
            transform: translateY(-2px) !important;
            box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3) !important;
        }

        /* Styles responsives pour les boutons */
        @media (max-width: 768px) {
            .catalogue-filters {
                padding: 1.2rem;
                gap: 1.2rem;
            }

            .search-input-wrapper {
                max-width: 100%;
            }

            .price-chest-filters {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

            .select-dropdown {
                max-height: 200px;
            }

            .select-option {
                padding: 0.6rem 1rem;
                font-size: 0.95rem;
            }

            .filter-group label {
                font-size: 0.85rem;
            }

            .btn-primary,
            .btn-secondary {
                padding: 0.5rem 0.5rem;
                font-size: 0.9rem;
            }

            .location-actions {
                gap: 0.5rem;
            }

            .sort-section {
                flex-direction: column;
                gap: 1rem;
                align-items: center;
            }

            .sort-btn {
                padding: 0.7rem 1.2rem;
                font-size: 0.85rem;
                gap: 0.5rem;
                border-radius: 12px;
            }
        }

        @media (max-width: 1200px) {
            .price-chest-filters {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.2rem;
            }
        }

        @media (max-width: 1024px) {
            .conditions-content {
                flex-direction: column;
                gap: 0.8rem;
                text-align: center;
            }
        }

        @media (max-width: 900px) {
            .catalogue-filters {
                padding: 1.5rem;
                gap: 1.5rem;
            }

            .main-filters {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .price-chest-filters {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
            }

            .conditions-content {
                flex-direction: column;
                gap: 0.8rem;
                text-align: center;
            }
        }

        .conditions-section {
            background: linear-gradient(135deg, rgba(230, 57, 70, 0.1) 0%, rgba(230, 57, 70, 0.05) 100%);
            border-radius: 12px;
            padding: 1rem 1.5rem;
            margin-bottom: 2rem;
            border: 1px solid rgba(230, 57, 70, 0.2);
            backdrop-filter: blur(20px);
            animation: fadeInUp 0.8s ease-out 0.2s both;
            box-shadow: 0 4px 20px rgba(230, 57, 70, 0.1);
            position: relative;
            overflow: hidden;
        }

        .conditions-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--primary-color), #ff6b6b, var(--primary-color));
            background-size: 200% 100%;
            animation: shimmer 2s ease-in-out infinite;
        }

        @keyframes shimmer {
            0% {
                background-position: -200% 0;
            }

            100% {
                background-position: 200% 0;
            }
        }

        .conditions-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .conditions-info {
            display: flex;
            flex-direction: column;
            gap: 0.3rem;
        }

        .conditions-info h3 {
            color: var(--primary-color);
            font-size: 1.2rem;
            font-weight: 600;
            margin: 0;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .conditions-info p {
            color: #b0b8c1;
            font-size: 0.9rem;
            margin: 0;
            font-weight: 500;
        }

        .conditions-actions {
            display: flex;
            justify-content: center;
        }

        .btn-conditions-full {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: linear-gradient(135deg, var(--primary-color) 0%, #ff6b6b 100%);
            color: #fff;
            text-decoration: none;
            padding: 0.6rem 1.2rem;
            border-radius: 8px;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
            position: relative;
            overflow: hidden;
            white-space: nowrap;
        }

        .btn-conditions-full::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .btn-conditions-full:hover::before {
            left: 100%;
        }

        .btn-conditions-full:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
        }

        .btn-conditions-full i {
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .btn-conditions-full:hover i {
            transform: translateX(3px);
        }

        .btn-conditions-full:active {
            transform: translateY(-1px);
        }

        @media (max-width: 768px) {
            .conditions-section {
                padding: 1rem 1.2rem;
                margin-bottom: 1.5rem;
            }

            .conditions-content {
                flex-direction: column;
                gap: 1rem;
                text-align: center;
            }

            .conditions-info h3 {
                font-size: 1.1rem;
            }

            .conditions-info p {
                font-size: 0.85rem;
            }

            .btn-conditions-full {
                padding: 0.6rem 1.2rem;
                font-size: 0.9rem;
            }

            .conditions-actions {
                display: flex;
                flex-direction: column;
                gap: 0.8rem;
                align-items: center;
            }
        }

        @media (max-width: 480px) {
            .conditions-section {
                padding: 0.8rem 1rem;
                margin-bottom: 1.5rem;
            }

            .conditions-info h3 {
                font-size: 1rem;
            }

            .conditions-info p {
                font-size: 0.8rem;
            }

            .btn-conditions-full {
                padding: 0.5rem 1rem;
                font-size: 0.85rem;
            }

            .conditions-actions {
                gap: 0.6rem;
            }
        }

        .footer {
            text-align: center;
            padding: 2rem;
            background: rgba(17, 17, 17, 0.95);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            margin-top: 3rem;
        }

        .footer a {
            color: #ff6b6b;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer a:hover {
            color: #ff4d5d;
        }

        .vehicle-modal-close {
            position: absolute;
            top: 2px;
            right: 24px;
            font-size: 2rem;
            color: #fff;
            cursor: pointer;
            z-index: 10;
            transition: all 0.2s ease;
        }

        .vehicle-modal-close:hover {
            color: var(--primary-color);
        }

        /* Galerie d'images */
        .gallery-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.7);
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .gallery-nav:hover {
            background: rgba(0, 0, 0, 0.9);
            transform: translateY(-50%) scale(1.1);
        }

        .gallery-nav.prev {
            left: 15px;
        }

        .gallery-nav.next {
            right: 15px;
        }

        .gallery-nav:disabled {
            opacity: 0.3;
            cursor: not-allowed;
            transform: translateY(-50%) scale(1);
        }

        .gallery-indicators {
            position: absolute;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 8px;
            z-index: 10;
        }

        .gallery-indicator {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .gallery-indicator.active {
            background: white;
            transform: scale(1.2);
        }

        .gallery-counter {
            position: absolute;
            top: 15px;
            left: 15px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 5px 10px;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 600;
            z-index: 10;
        }

        @media (max-width: 1200px) {
            .location-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 1.5rem;
            }
        }

        @media (max-width: 900px) {
            .location-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.5rem;
            }
        }

        @media (max-width: 768px) {
            .location-hero h1 {
                font-size: 2.5rem;
            }

            .location-stats {
                gap: 2rem;
            }

            .stat-number {
                font-size: 2rem;
            }

            .location-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.5rem;
            }

            .location-specs {
                grid-template-columns: 1fr;
            }

            .location-actions {
                flex-direction: column;
            }

            .btn-reset-filters {
                margin-left: 0.3rem;
                padding: 0.6rem 1.2rem;
                font-size: 0.8rem;
            }

            .sort-btn {
                padding: 0.8rem 1.5rem;
                font-size: 0.9rem;
                gap: 0.6rem;
            }
        }

        @media (max-width: 480px) {
            .catalogue-filters {
                padding: 0.8rem;
                gap: 0.8rem;
            }

            .select-dropdown {
                max-height: 180px;
            }

            .select-option {
                padding: 0.5rem 1rem;
                font-size: 0.9rem;
            }

            .filter-group label {
                font-size: 0.75rem;
            }

            .location-hero h1 {
                font-size: 2rem;
            }

            .location-container {
                padding: 2rem 1rem;
            }

            .location-content {
                padding: 1.5rem;
            }

            .location-grid {
                grid-template-columns: 1fr;
                gap: 0.8rem;
            }
        }

        @media (max-width: 600px) {
            .catalogue-filters {
                padding: 1rem;
                gap: 1rem;
            }

            .filter-group label {
                font-size: 0.8rem;
            }

            .input-with-icon input {
                padding: 0.7rem 1rem 0.7rem 2.2rem;
                font-size: 0.9rem;
            }

            .location-hero {
                padding: 80px 0 40px;
            }

            .location-hero h1 {
                font-size: 1.3rem;
            }

            .location-hero p {
                font-size: 0.95rem;
            }

            .location-stats {
                flex-direction: column;
                gap: 1.2rem;
                margin-top: 1.5rem;
            }

            .stat-item {
                font-size: 0.95rem;
            }

            .stat-number {
                font-size: 1.3rem;
            }

            .location-container {
                padding: 0.5rem 0.1rem;
            }

            .location-grid {
                grid-template-columns: 1fr;
                gap: 0.8rem;
            }

            .vehicle-modal-close {
                top: -4px;
            }

            /* Galerie responsive */
            .gallery-nav {
                width: 35px;
                height: 35px;
                font-size: 1rem;
            }

            .gallery-nav.prev {
                left: 10px;
            }

            .gallery-nav.next {
                right: 10px;
            }

            .gallery-counter {
                top: 10px;
                left: 10px;
                font-size: 0.7rem;
                padding: 4px 8px;
            }

            .gallery-indicators {
                bottom: 10px;
                gap: 6px;
            }

            .gallery-indicator {
                width: 6px;
                height: 6px;
            }
        }


        /* Styles avancés de location.php */

        /* Notifications de rafraîchissement */
        .refresh-notification {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(20, 20, 20, 0.95) 100%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 1rem 1.5rem;
            color: white;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.8rem;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(20px);
            z-index: 10000;
            transform: translateX(400px);
            opacity: 0;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            max-width: 350px;
        }

        .refresh-notification.show {
            transform: translateX(0);
            opacity: 1;
        }

        .refresh-notification.success {
            border-color: rgba(16, 185, 129, 0.3);
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(20, 20, 20, 0.95) 100%);
        }

        .refresh-notification.error {
            border-color: rgba(239, 68, 68, 0.3);
            background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(20, 20, 20, 0.95) 100%);
        }

        .refresh-notification.info {
            border-color: rgba(59, 130, 246, 0.3);
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(20, 20, 20, 0.95) 100%);
        }

        .refresh-notification i {
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        .refresh-notification.success i {
            color: #10b981;
        }

        .refresh-notification.error i {
            color: #ef4444;
        }

        .refresh-notification.info i {
            color: #3b82f6;
        }

        .refresh-notification span {
            font-size: 0.9rem;
            line-height: 1.4;
        }

        /* Système de recherche bubble */
        .search-bubble {
            position: static;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            width: 44px;
            min-width: 44px;
            height: 56px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 36px;
            box-shadow: none;
            transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-radius 0.35s, background 0.2s;
            overflow: hidden;
        }

        .search-bubble.open {
            width: 830px;
            border-radius: 36px;
            background: rgba(255, 255, 255, 0.1);
        }

        .search-bubble .search-icon {
            color: #fff;
            font-size: 1.5rem;
            transition: opacity 0.2s;
            margin-left: 1rem;
        }

        .search-bubble.open .search-icon {
            opacity: 0.3;
        }

        .search-bubble-form {
            display: flex;
            align-items: center;
            gap: 0.7rem;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.2s 0.1s;
            width: 0;
            margin-left: 0.7rem;
            padding: 0.3rem 0;
        }

        .search-bubble.open .search-bubble-form {
            opacity: 1;
            pointer-events: auto;
            width: auto;
        }

        .search-bubble input[type="text"],
        .search-bubble input[type="number"] {
            background: #181818;
            border: 1px solid #444;
            color: #fff;
            border-radius: 8px;
            padding: 0.5rem 1rem;
            font-size: 1.08rem;
            width: 90px;
            transition: background 0.2s, border 0.2s;
            outline: none;
        }

        .search-bubble input[type="text"] {
            width: 130px;
        }

        .search-bubble input[type="text"]:focus,
        .search-bubble input[type="number"]:focus {
            border: 1.5px solid var(--primary-color, #e63946);
            background: #222;
        }

        .search-bubble input[type="number"]::-webkit-inner-spin-button,
        .search-bubble input[type="number"]::-webkit-outer-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        .search-bubble select {
            font-size: 1.08rem !important;
            padding: 0.5rem 1rem !important;
        }

        .search-bubble .close-btn {
            background: none;
            border: none;
            color: #fff;
            font-size: 1.1rem;
            margin-left: 0.1rem;
            cursor: pointer;
            opacity: 0.6;
            transition: opacity 0.2s;
        }

        .search-bubble .close-btn:hover {
            opacity: 1;
        }

        /* Catégories grid */
        .categories-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            justify-content: center;
            width: 100%;
            margin-bottom: 0.2rem;
        }

        /* Bouton de tri avancé */
        .tri-btn {
            background: rgba(255, 255, 255, 0.13);
            border: 1px solid #444;
            color: #fff;
            border-radius: 8px;
            padding: 0.5rem 1.1rem;
            font-size: 1.08rem;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: background 0.2s, border 0.2s;
            outline: none;
        }

        .tri-btn:hover {
            background: rgba(255, 255, 255, 0.22);
            border-color: var(--primary-color, #e63946);
        }

        .tri-btn .arrow {
            font-size: 1.2em;
            margin-left: 0.2rem;
            display: flex;
            align-items: center;
        }

        /* Styles pour les nouveaux badges - En bas à droite par défaut, à gauche si badge électrique présent */
        .vehicle-new-logo {
            position: absolute;
            bottom: 1rem;
            right: 1rem;
            background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
            color: white;
            padding: 0.4rem 0.8rem;
            border-radius: 16px;
            font-size: 0.7rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 0.4rem;
            box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            z-index: 3;
        }

        /* Si le badge électrique est présent, mettre le badge NEW à gauche */
        .location-image:has(.electric-badge) .vehicle-new-logo {
            bottom: 1rem;
            left: 1rem;
            right: auto;
        }

        /* Galerie d'images */
        .gallery-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.7);
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .gallery-nav:hover {
            background: rgba(0, 0, 0, 0.9);
            transform: translateY(-50%) scale(1.1);
        }

        .gallery-nav.prev {
            left: 15px;
        }

        .gallery-nav.next {
            right: 15px;
        }

        .gallery-nav:disabled {
            opacity: 0.3;
            cursor: not-allowed;
            transform: translateY(-50%) scale(1);
        }

        .gallery-indicators {
            position: absolute;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 8px;
            z-index: 10;
        }

        .gallery-indicator {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .gallery-indicator.active {
            background: white;
            transform: scale(1.2);
        }

        .gallery-counter {
            position: absolute;
            top: 15px;
            left: 15px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 5px 10px;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 600;
            z-index: 10;
        }

        /* Statuts de véhicules */
        .vehicle-status {
            position: absolute;
            bottom: 15px;
            left: 15px;
            padding: 4px 8px;
            border-radius: 10px;
            font-size: 0.7rem;
            font-weight: 600;
            z-index: 10;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .vehicle-status.available {
            background: rgba(40, 167, 69, 0.9);
            color: white;
            border: 1px solid rgba(40, 167, 69, 0.3);
        }

        .vehicle-status.rented {
            background: rgba(220, 53, 69, 0.9);
            color: white;
            border: 1px solid rgba(220, 53, 69, 0.3);
        }

        .vehicle-status.returned {
            background: rgba(255, 193, 7, 0.9);
            color: #000;
            border: 1px solid rgba(255, 193, 7, 0.3);
        }

        /* Bouton retour en haut */
        .scroll-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: var(--primary-color);
            color: white;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: none;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            z-index: 1000;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
        }

        .scroll-to-top:hover {
            background: #ff4d5d;
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
        }

        .scroll-to-top.show {
            display: flex;
            animation: fadeInUp 0.3s ease;
        }

        /* Styles pour les descriptions */
        .location-description {
            color: #ccc;
            font-size: 0.9rem;
            line-height: 1.6;
            margin-bottom: 1.5rem;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* Styles pour les actions */
        .location-actions {
            display: flex;
            gap: 1rem;
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.1);
            color: white;
            padding: 0.8rem 1.5rem;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.2);
            border-color: var(--primary-color);
        }

        /* Animations pour les cartes */
        .location-card:nth-child(1) {
            animation-delay: 0.1s;
        }

        .location-card:nth-child(2) {
            animation-delay: 0.2s;
        }

        .location-card:nth-child(3) {
            animation-delay: 0.3s;
        }

        .location-card:nth-child(4) {
            animation-delay: 0.4s;
        }

        .location-card:nth-child(5) {
            animation-delay: 0.5s;
        }

        .location-card:nth-child(6) {
            animation-delay: 0.6s;
        }

        /* Placeholder pour images manquantes */
        .no-image-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background-color: #f8f9fa;
            color: #6c757d;
            font-size: 2rem;
        }

        .no-image-placeholder i {
            margin-bottom: 0.5rem;
            font-size: 3rem;
        }

        .no-image-placeholder span {
            font-size: 0.9rem;
            font-weight: 500;
        }

        /* Styles pour les sélections */
        ::selection {
            background: #757575;
            color: #fff;
        }

        ::-moz-selection {
            background: #757575;
            color: #fff;
        }

        /* Responsive pour les nouveaux éléments */
        @media (max-width: 700px) {
            .search-bubble {
                width: 36px;
                height: 36px;
                min-width: 36px;
                margin-right: 0.3rem;
            }

            .search-bubble.open {
                width: 99vw;
                border-radius: 0 0 18px 18px;
            }
        }

        @media (max-width: 768px) {
            .refresh-notification {
                bottom: 20px;
                right: 20px;
                max-width: 300px;
                padding: 0.8rem 1.2rem;
            }

            .scroll-to-top {
                bottom: 20px;
                right: 20px;
                width: 45px;
                height: 45px;
                font-size: 1.1rem;
            }
        }

        @media (max-width: 480px) {
            .refresh-notification {
                bottom: 15px;
                right: 15px;
                max-width: 280px;
                padding: 0.7rem 1rem;
            }

            .refresh-notification span {
                font-size: 0.8rem;
            }
        }

        @media (max-width: 600px) {
            .gallery-nav {
                width: 35px;
                height: 35px;
                font-size: 1rem;
            }

            .gallery-nav.prev {
                left: 10px;
            }

            .gallery-nav.next {
                right: 10px;
            }

            .gallery-counter {
                top: 10px;
                left: 10px;
                font-size: 0.7rem;
                padding: 4px 8px;
            }

            .gallery-indicators {
                bottom: 10px;
                gap: 6px;
            }

            .gallery-indicator {
                width: 6px;
                height: 6px;
            }

            .vehicle-status {
                bottom: 10px;
                left: 10px;
                font-size: 0.6rem;
                padding: 3px 6px;
            }
        }

        /* Animation des tuiles */
        @keyframes tileReveal {
            from {
                opacity: 1;
            }

            to {
                opacity: 0;
            }
        }

        .tile.revealed-anim {
            animation: tileReveal 0.3s forwards;
        }

        /* Styles du modal véhicule */
        .vehicle-modal {
            position: fixed;
            z-index: 9999;
            left: 0;
            top: 0;
            width: 100vw;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .vehicle-modal-overlay {
            position: absolute;
            left: 0;
            top: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0, 0, 0, 0.65);
            backdrop-filter: blur(2px);
        }

        .vehicle-modal-content {
            position: relative;
            background: #181818;
            border-radius: 28px;
            box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
            max-width: 600px;
            width: 99vw;
            padding: 0 0 1.2rem 0;
            z-index: 2;
            display: flex;
            flex-direction: column;
        }

        .vehicle-modal-body {
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            padding: 0 1.1rem;
        }

        .vehicle-modal-img-wrap {
            width: 100%;
            max-width: 100%;
            min-width: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            margin-bottom: 1.1rem;
            position: relative;
        }

        .vehicle-modal-img-wrap img {
            width: 100%;
            max-width: 600px;
            border-radius: 18px 18px 0 0;
            box-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
            margin-bottom: 0;
            transition: opacity 0.3s ease;
        }

        .vehicle-modal-perfs {
            width: 100%;
            margin-top: 0rem;
        }

        .vehicle-modal-infos {
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: flex-start;
            margin-bottom: 0.5rem;
        }

        .vehicle-modal-infos h2 {
            font-size: 1.5rem;
            color: #fff;
            margin-bottom: 0.1rem;
            font-weight: 800;
        }

        .vehicle-modal-price {
            font-size: 1.2rem;
            color: var(--primary-color);
            font-weight: 800;
            margin-bottom: 0.5rem;
            margin-top: 0rem;
        }

        .vehicle-modal-specs {
            display: flex;
            gap: 0.7rem;
            margin-bottom: 0.7rem;
            color: #fff;
            font-size: 0.98rem;
        }

        .vehicle-modal-specs i {
            color: var(--primary-color);
            margin-right: 0.3rem;
        }

        .vehicle-modal-perfs h3 {
            color: #fff;
            font-size: 1rem;
            margin-bottom: 0.5rem;
            font-weight: 700;
        }

        .vehicle-modal-perfs-list {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.5rem 1rem;
        }

        .vehicle-perf-block {
            background: rgba(30, 30, 30, 0.92);
            border-radius: 14px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
            display: flex;
            align-items: center;
            gap: 1.1rem;
            padding: 0.6rem 0.7rem;
            margin-bottom: 0.5rem;
            min-width: 0;
        }

        .vehicle-perf-icon {
            background: rgba(0, 0, 0, 0.22);
            border-radius: 10px;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            color: #fff;
            flex-shrink: 0;
        }

        .vehicle-perf-info {
            flex: 1 1 0;
            min-width: 0;
        }

        .vehicle-perf-title {
            color: #fff;
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 0.2rem;
            letter-spacing: 0.01em;
        }

        .vehicle-perf-bar {
            display: flex;
            gap: 0.18rem;
        }

        .vehicle-perf-segment {
            width: 11px;
            height: 7px;
            border-radius: 3px;
            background: #181818;
            border: 1px solid #222;
            transition: background 0.2s;
        }

        .vehicle-perf-segment.active {
            background: #fff;
            border-color: #fff;
        }

        /* Podium Logo Link - Toujours visible */
        .podium-logo-link {
            display: inline-flex;
            align-items: center;
            margin-left: -1rem;
            text-decoration: none;
            vertical-align: middle;
            margin-top: -4px;
        }

        .podium-logo-wrapper {
            position: relative;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 8px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
            border: 1px solid rgba(255, 215, 0, 0.2);
            width: 40px;
            height: 40px;
            box-sizing: border-box;
        }

        .podium-logo-wrapper:hover {
            background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
            border-color: rgba(255, 215, 0, 0.4);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
        }

        .podium-logo-wrapper i {
            font-size: 1.2rem;
            color: #ffd700;
            transition: transform 0.3s ease;
        }

        .podium-logo-wrapper:hover i {
            transform: scale(1.15) rotate(-5deg);
            color: #ffed4e;
        }
