.hero-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('https://images.unsplash.com/photo-1539020140153-e479b8c22e70?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');

    background-size: cover;
    background-position: center;

    h1,
    p {
        color: #ffffff;
        text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.8);
    }
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.disabled-section {
    opacity: 0.5;
    pointer-events: none;
    filter: grayscale(100%);
}

.disabled-btn {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.disabled-btn:hover {
    opacity: 0.5;
}

.disabled-link {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    color: #9ca3af !important;
}

.disabled-form input,
.disabled-form textarea,
.disabled-form button {
    opacity: 0.5;
    pointer-events: none;
}


.not-configured {
    position: relative;
}

.not-configured::after {
    content: 'Non configuré';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.75rem;
    color: #6b7280;
    white-space: nowrap;
}




.badge-verified {
    background-color: #3b82f6;
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
}


.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    border: 2px solid #16a34a;
    color: #16a34a;
    font-weight: bold;
    padding: 0.75rem;
    border-radius: 0.75rem;
    transition: background-color 0.2s;
}

.btn-whatsapp:hover {
    background-color: #f0fdf4;
}

.btn-whatsapp.disabled-btn {
    border-color: #9ca3af;
    color: #9ca3af;
}

.btn-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    border: 1px solid #d1d5db;
    color: #374151;
    padding: 0.75rem;
    border-radius: 0.75rem;
    transition: background-color 0.2s;
}

.btn-phone:hover {
    background-color: #f9fafb;
}

.btn-phone.disabled-btn {
    border-color: #e5e7eb;
    color: #9ca3af;
}


.social-link {
    color: #6b7280;
    font-size: 1.25rem;
    transition: color 0.2s;
}

.social-link:hover {
    color: #006233;
}

.social-link.disabled-link {
    color: #d1d5db;
}


.price-not-set {
    color: #9ca3af;
    font-style: italic;
}


::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}


.perspective-1000 {
    perspective: 1000px;
}

.transform-style-3d {
    transform-style: preserve-3d;
}

.transform-translate-z-50 {
    transform: translateZ(50px);
}

.transform-translate-z-70 {
    transform: translateZ(70px);
}


.categories-carousel-container {
    position: relative;
    padding: 2rem 0;
}

.categories-carousel {
    display: flex;
    overflow-x: auto;

    -ms-overflow-style: none;

    scrollbar-width: none;

}

.categories-carousel::-webkit-scrollbar {
    display: none;

}

.category-card-wrapper {
    scroll-snap-align: center;
}


.carousel-overlay-left,
.carousel-overlay-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 30;
    pointer-events: none;
    transition: opacity 0.3s;
}

.carousel-overlay-left {
    left: 0;
    background: linear-gradient(to right, #f9fafb, transparent);
}

.carousel-overlay-right {
    right: 0;
    background: linear-gradient(to left, #f9fafb, transparent);
}


.carousel-progress {
    height: 4px;
    background: #e5e7eb;
    width: 200px;
    margin: 2rem auto 0;
    border-radius: 999px;
    overflow: hidden;
}

.carousel-progress-bar {
    height: 100%;
    background: #006233;
    width: 0%;
    transition: width 0.1s;
}



.gdm-search-wrapper {
    z-index: 40;
}

.gdm-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    animation: gdm-dropdown-in 0.15s ease-out;
    z-index: 100;
}

@media (max-width: 768px) {
    .gdm-dropdown {
        max-height: calc(100vh - 160px);
    }
}

@keyframes gdm-dropdown-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

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

#gdm-search-results {
    overflow-y: auto;
    overscroll-behavior: contain;
}

.gdm-group {
    border-bottom: 1px solid #f3f4f6;
}

.gdm-group:last-child {
    border-bottom: none;
}

.gdm-group-header {
    padding: 10px 16px 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
}

.gdm-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none;
    color: #1f2937;
    transition: background-color 0.1s;
    cursor: pointer;
}

.gdm-result-item:hover,
.gdm-result-active {
    background-color: #f0fdf4;
}

.gdm-result-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.gdm-result-text {
    flex: 1;
    min-width: 0;
}

.gdm-result-title {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gdm-result-sub {
    font-size: 0.75rem;
    color: #9ca3af;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}



.gdm-badge-verified {
    color: #3b82f6;
    font-size: 0.75rem;
    vertical-align: middle;
    margin-left: 2px;
}

.gdm-dropdown-footer {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #006233;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    text-decoration: none;
    transition: background-color 0.15s;
}

.gdm-dropdown-footer:hover {
    background: #ecfdf5;
}

.gdm-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #9ca3af;
    font-size: 0.9rem;
}



.gdm-search-docked {
    position: fixed !important;

    left: 0;
    right: 0;
    z-index: 49;
    max-width: 100% !important;
    padding: 0 1rem;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    animation: gdm-dock-slide 0.2s ease-out;
}


#header-search-container {
    padding: 2px 0;
}

#header-search-container .gdm-search-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#header-search-container .gdm-search-box {
    box-shadow: none;
    border: 1px solid #e5e7eb;
    background: #f1f5f9;
    border-radius: 0.75rem;
    transition: all 0.2s;
    order: 1;

}

#header-search-container .gdm-search-box:focus-within {
    background: white;
    border-color: #006233;
    box-shadow: 0 0 0 3px rgba(0, 98, 51, 0.1);
}

#header-search-container .gdm-search-box .flex {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

#header-search-container #gdm-search-input {
    font-size: 0.875rem;
}


#header-search-container .hero-tabs-bar {
    display: flex;
    order: 2;

    margin-top: 4px;
    margin-bottom: 0;
    padding: 0 4px;
    gap: 1rem;

    border-bottom: 1px solid #e5e7eb;
}

#header-search-container .hero-tab {
    padding: 6px 4px;
    font-size: 0.8rem;
    font-weight: 700;
    gap: 0.5rem;
    border: none;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: #374151;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    transition: all 0.2s;
}

#header-search-container .hero-tab i {
    font-size: 0.9rem;
    color: #4b5563;
}

#header-search-container .hero-tab.active {
    background: transparent;
    color: #006233;
    border-bottom-color: #006233;
}

#header-search-container .hero-tab.active i {
    color: #006233;
}

#header-search-container .hero-tab:hover:not(.active) {
    background: transparent;
    color: #000;
    border-bottom-color: #cbd5e1;
}

@keyframes gdm-dock-slide {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }

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


#main-nav.has-docked-search {
    box-shadow: none;
}

.gdm-search-docked .gdm-search-box {
    max-width: 800px;
    margin: 6px auto;
    box-shadow: none;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background: #f9fafb;
    transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}

.gdm-search-docked .gdm-search-box:focus-within {
    border-color: #006233;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 98, 51, 0.08);
}

.gdm-search-docked .gdm-search-box .flex {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

.gdm-search-docked #gdm-search-input {
    font-size: 0.875rem;
}

.gdm-search-docked .gdm-dropdown {
    max-width: 800px;
    margin: 0 auto;
    left: 0;
    right: 0;
    border-radius: 0.75rem;
    max-height: 65vh;
}


@media (max-width: 768px) {
    .gdm-search-docked {
        padding: 0 0.5rem;
    }

    .gdm-search-docked .gdm-search-box {
        margin: 4px auto;
    }

    .gdm-search-docked .gdm-dropdown {
        left: 0.5rem;
        right: 0.5rem;
        max-width: none;
    }

    .gdm-dropdown {
        max-height: 60vh;
        border-radius: 0.75rem;
    }

    .gdm-result-item {
        padding: 8px 12px;
        gap: 10px;
    }

    .gdm-result-icon {
        width: 36px;
        height: 36px;
    }
}




@media (max-width: 1023px) {
    #filter-panel {
        max-width: 320px;
        box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15);
    }
}


.gdm-toggle {
    position: relative;
    width: 2.75rem;
    height: 1.5rem;
    background: #d1d5db;
    border-radius: 9999px;
    transition: background-color 0.2s;
    cursor: pointer;
    flex-shrink: 0;
}

.gdm-toggle::after {
    content: '';
    position: absolute;
    left: 2px;
    top: 2px;
    width: 1.25rem;
    height: 1.25rem;
    background: white;
    border-radius: 9999px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s;
}

.gdm-toggle.active {
    background: #006233;
}

.gdm-toggle.active::after {
    transform: translateX(1.25rem);
}


.filter-section-toggle .fa-chevron-down {
    transition: transform 0.2s;
}

.filter-section-toggle .fa-chevron-down.rotate-180 {
    transform: rotate(180deg);
}


#active-filters-pills span {
    animation: pill-in 0.2s ease-out;
}

@keyframes pill-in {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


input[name="filter-cat"],
input[name="filter-amenity"] {
    accent-color: #006233;
}


#filter-amenities-list::-webkit-scrollbar {
    width: 4px;
}

#filter-amenities-list::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

#filter-amenities-list {
    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
}


#results-grid {
    transition: opacity 0.2s;
}

#results-grid.loading {
    opacity: 0.5;
    pointer-events: none;
}


#search-tabs {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#search-tabs::-webkit-scrollbar {
    display: none;
}

.search-tab {
    cursor: pointer;
    border-bottom-width: 2px;
    transition: color 0.15s, border-color 0.15s;
}

.search-tab:hover:not(.active) {
    color: #374151;
    border-color: #d1d5db;
}



.hero-tabs-bar {
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.hero-tabs-bar::-webkit-scrollbar {
    display: none;
}

.hero-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.15rem;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 9999px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.hero-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.hero-tab.active {
    background: #fff;
    color: #006233;
    border-color: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.hero-tab i {
    font-size: 0.8rem;
}


.gdm-search-docked .hero-tabs-bar {
    max-width: 800px;
    margin: 0 auto;
    padding: 8px 0 0;
    gap: 0.4rem;
    margin-bottom: 0;
}

.gdm-search-docked .hero-tab {
    background: #f3f4f6;
    color: #6b7280;
    border-color: transparent;
    backdrop-filter: none;
    padding: 0.4rem 0.9rem;
    font-size: 0.78rem;
}

.gdm-search-docked .hero-tab:hover:not(.active) {
    background: #e5e7eb;
    color: #374151;
    border-color: transparent;
}

.gdm-search-docked .hero-tab.active {
    background: #006233;
    color: #fff;
    border-color: #006233;
    box-shadow: 0 1px 4px rgba(0, 98, 51, 0.25);
}


@media (max-width: 768px) {
    .hero-tab {
        padding: 0.45rem 0.9rem;
        font-size: 0.78rem;
    }

    .hero-tab i {
        font-size: 0.72rem;
    }

    .gdm-search-docked .hero-tab {
        padding: 0.35rem 0.75rem;
        font-size: 0.72rem;
    }

    .gdm-search-docked .hero-tabs-bar {
        padding: 6px 0.5rem 0;
    }
}