.monolith-brand,
.monolith-nav,
.monolith-search,
.monolith-menu-toggle {
    display: none !important;
}

.home-page > .header-main {
    display: block;
}

.home-page main > section:nth-of-type(2) .grid {
    margin-top: -80px;
}

.home-page .service-card {
    border-radius: 14px;
}

.home-page .annonces-carousel {
    position: relative;
}

.home-page .annonces-grid-home {
    display: flex;
    grid-template-columns: none;
    gap: 24px;
    overflow-x: auto;
    padding: 2px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.home-page .annonces-grid-home::-webkit-scrollbar {
    display: none;
}

.home-page .annonces-grid-home > .eav-annonce-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
    scroll-snap-align: start;
}

.home-page .annonces-grid-home .annonce-facts {
    display: none;
}

.home-page .annonces-carousel-button {
    position: absolute;
    z-index: 5;
    top: 50%;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    background: #fff;
    color: #402000;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
    cursor: pointer;
    transform: translateY(-50%);
}

.home-page .annonces-carousel-button--prev {
    left: -19px;
}

.home-page .annonces-carousel-button--next {
    right: -19px;
}

.home-page .annonces-carousel-button:disabled {
    opacity: .35;
    cursor: default;
}

.eav-annonce-card {
    height: auto;
    min-height: 0;
    overflow: hidden;
    border: 1px solid #e7e5e0;
    border-radius: 14px;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.eav-annonce-card:hover,
.eav-annonce-card:active {
    border-color: #d7d3ca;
    box-shadow: 0 8px 22px rgba(27, 27, 31, .09);
    transform: none;
}

.eav-annonce-card.is-pepite {
    border-color: rgba(243, 146, 55, .65);
    box-shadow: none;
}

.eav-annonce-card .annonce-image,
.eav-annonce-card.is-home-reference .annonce-image {
    height: 175px;
    clip-path: none;
}

.eav-annonce-card .annonce-image img {
    outline: 0;
}

.eav-annonce-card:hover .annonce-image img {
    transform: none;
}

.eav-annonce-card .annonce-statuses {
    top: 12px;
    left: 12px;
    gap: 5px;
    max-width: calc(100% - 24px);
}

.eav-annonce-card .annonce-status {
    min-height: 25px;
    padding: 0 8px;
    border-radius: 4px;
    font-size: var(--site-text-min, 12px);
    letter-spacing: .08em;
    box-shadow: none;
}

.eav-annonce-card .annonce-pepite-seal,
.eav-annonce-card.is-home-reference .annonce-pepite-seal {
    top: 12px;
    right: 12px;
    display: block;
    width: 92px;
    height: 92px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    box-shadow: none;
    filter: drop-shadow(0 6px 10px rgba(56, 31, 8, .2));
}

.eav-annonce-card .annonce-content,
.eav-annonce-card.is-home-reference .annonce-content,
.eav-annonce-card.is-home-reference.is-pepite .annonce-content {
    padding: 16px 18px 17px;
}

.eav-annonce-card.is-pepite .annonce-content {
    padding-top: 16px;
}

.eav-annonce-card .annonce-kicker {
    min-height: 0;
    max-width: none;
    margin-bottom: 7px;
    font-size: var(--site-text-min, 12px);
}

.eav-annonce-card .annonce-title {
    min-height: 40px;
    margin-bottom: 7px;
    font-size: 18px;
    line-height: 1.15;
}

.eav-annonce-card .annonce-description {
    display: -webkit-box;
    min-height: 36px;
    margin: 0 0 9px;
    overflow: hidden;
    color: #6f736c;
    font-size: 12px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.eav-annonce-card .annonce-location,
.eav-annonce-card.is-home-reference .annonce-location {
    margin-bottom: 10px;
    font-size: 12px;
}

.eav-annonce-card .annonce-facts {
    display: flex;
    gap: 16px;
    width: auto;
    margin-top: 0;
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
}

.eav-annonce-card .annonce-facts > span {
    padding: 0;
    background: transparent;
}

.eav-annonce-card .annonce-facts > span + span {
    border-left: 0;
}

.eav-annonce-card .annonce-facts small,
.eav-annonce-card .annonce-price small {
    margin-bottom: 2px;
    font-size: var(--site-text-min, 12px);
}

.eav-annonce-card .annonce-facts strong {
    font-size: 12px;
}

.eav-annonce-card .annonce-bottom,
.eav-annonce-card.is-home-reference .annonce-bottom {
    align-items: center;
    margin-top: 11px;
    padding-top: 10px;
}

.eav-annonce-card .annonce-price strong {
    font-size: 20px;
}

.eav-annonce-card .annonce-arrow {
    display: none;
}

.annonces-grid.view-liste .eav-annonce-card {
    grid-template-columns: minmax(220px, 290px) minmax(0, 1fr);
    min-height: 210px;
}

.annonces-grid.view-liste .eav-annonce-card .annonce-image {
    height: 100%;
    clip-path: none;
}

.annonces-grid.view-liste .eav-annonce-card .annonce-pepite-seal {
    top: 12px;
    right: 12px;
    left: auto;
}

.annonces-grid.view-liste .eav-annonce-card .annonce-content {
    grid-template-columns: minmax(0, 1fr) 170px;
}

.annonces-grid.view-liste .eav-annonce-card .annonce-main {
    padding: 20px 22px;
}

.annonces-grid.view-liste .eav-annonce-card.is-pepite .annonce-main {
    padding-left: 22px;
}

.annonces-grid.view-liste .eav-annonce-card .annonce-bottom {
    padding: 20px 18px;
}

.workspace-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 6px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    cursor: pointer;
}

.workspace-vendeur .page-layout > .sidebar .sidebar-header,
.workspace-acheteur .page-layout > .sidebar .sidebar-header {
    display: flex;
    align-items: center;
    min-height: 82px;
    padding: 25px 20px;
    background:
        linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .45)),
        url('../images/new.webp') center / cover no-repeat !important;
}

.workspace-vendeur .sidebar-header .sidebar-workspace-icon,
.workspace-vendeur .sidebar-header .sidebar-workspace-copy,
.workspace-acheteur .sidebar-header .sidebar-workspace-icon,
.workspace-acheteur .sidebar-header .sidebar-workspace-copy {
    display: none !important;
}

.workspace-vendeur .sidebar-header a,
.workspace-acheteur .sidebar-header a {
    display: block;
    width: 100%;
}

.workspace-vendeur .sidebar-header img,
.workspace-acheteur .sidebar-header img {
    display: block;
    width: min(100%, 205px) !important;
    height: auto !important;
    max-width: 100% !important;
}

.workspace-vendeur .sidebar-header:not(:has(a))::after,
.workspace-acheteur .sidebar-header:not(:has(a))::after {
    content: '';
    display: block;
    width: min(100%, 205px);
    height: 32px;
    background: url('../images/logo-long-white-transparent.png') left center / contain no-repeat;
}

body > .page-header {
    padding: 24px 0;
    background:
        linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .55)),
        url('../images/imageprofil.jpg') center / cover;
}

body > .page-header::before {
    display: none;
}

body > .page-header .page-header-inner {
    align-items: center;
    max-width: 1280px;
    padding: 0 16px;
}

body > .page-header .page-header-copy {
    max-width: 760px;
}

body > .page-header .page-header-eyebrow {
    display: none;
}

body > .page-header h1 {
    font-size: 1.4rem;
    line-height: 1.2;
    letter-spacing: 0;
}

body > .page-header p {
    margin-top: 5px;
    font-size: .85rem;
    line-height: 1.45;
}

body > .page-header .page-header-link {
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 6px;
    background: rgba(255, 255, 255, .1);
    box-shadow: none;
    color: #fff;
    font-size: var(--site-text-min, 12px);
    letter-spacing: 0;
    text-transform: none;
}

body > .page-header .page-header-link:hover {
    background: rgba(255, 255, 255, .2);
    transform: none;
}

body:has(.search-layout) {
    background: #f5f7fa;
}

.search-layout {
    display: flex;
    gap: 16px;
    max-width: 1280px;
    padding: 12px 16px 52px;
}

.search-sidebar {
    flex: 0 0 270px;
    width: 270px;
    max-height: 75vh;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.search-sidebar .filters-scroll {
    padding: 0;
}

.search-sidebar .filter-intro {
    display: none;
}

.search-sidebar .filter-box {
    margin-bottom: 10px;
    padding: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #fff;
}

.search-sidebar .filter-box:first-of-type {
    border-top: 1px solid #e5e5e5;
}

.search-sidebar .filter-title {
    margin-bottom: 9px;
    font-size: 12px;
}

.search-sidebar .filter-title > i {
    display: none;
}

.search-sidebar .filter-control-label {
    font-size: var(--site-text-min, 12px);
    letter-spacing: .04em;
}

.search-sidebar .filter-stack {
    gap: 7px;
}

.search-sidebar .filter-select,
.search-sidebar .filter-input {
    min-height: 36px;
    border-color: #ddd;
    border-radius: 6px;
    font-size: 12px;
}

.search-sidebar .filter-field-icon > i {
    display: none;
}

.search-sidebar .filter-field-icon .filter-input {
    padding: 0 10px;
    background: #fff;
}

.search-sidebar .filter-range {
    display: flex;
    align-items: flex-end;
    gap: 6px;
}

.search-sidebar .filter-range label {
    flex: 1 1 0;
}

.search-sidebar .price-btns {
    gap: 5px;
}

.search-sidebar .price-btns button {
    min-height: 30px;
    border: 1px solid #e2e2e2;
    border-radius: 3px;
    background: #f7f7f7;
    font-size: var(--site-text-min, 12px);
    box-shadow: none;
}

.search-sidebar .price-btns button.active {
    border-color: #402000;
    background: #402000;
    box-shadow: none;
}

.search-sidebar .filter-switch {
    min-height: 44px;
}

.search-sidebar .filter-switch > i {
    width: 38px;
    height: 22px;
}

.search-sidebar .filter-switch > i::before {
    width: 16px;
    height: 16px;
}

.search-sidebar .filter-switch input:checked + i::before {
    transform: translateX(16px);
}

.search-sidebar .filters-actions {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.search-sidebar .btn-filter,
.search-sidebar .btn-criteres {
    min-height: 38px;
    border-radius: 4px;
    font-size: 12px;
}

.search-sidebar .btn-filter {
    justify-content: center;
    padding: 0 12px;
    background: #f39237;
    box-shadow: none;
}

.search-sidebar .btn-filter i {
    display: none;
}

.search-content {
    flex: 1 1 auto;
}

.search-toolbar {
    margin-bottom: 12px;
    padding: 8px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.search-toolbar .results-eyebrow,
.search-toolbar .results-heading small {
    display: none;
}

.search-toolbar .results-count {
    color: #555;
    font-size: 13px;
}

.search-toolbar .results-count strong {
    font-size: 18px;
}

.search-toolbar .sort-control {
    min-height: 36px;
    padding: 0 9px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    box-shadow: none;
}

.search-toolbar .view-toggle {
    gap: 0;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    box-shadow: none;
}

.search-toolbar .view-toggle button {
    min-width: 40px;
    height: 34px;
    border-radius: 0;
}

.search-toolbar .view-toggle button.active {
    background: #402000;
    color: #fff;
    box-shadow: none;
}

.active-filters {
    padding: 8px 10px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    box-shadow: none;
}

.filter-tag {
    min-height: 27px;
    border-radius: 4px;
}

.pagination a,
.pagination span {
    min-width: 36px;
    height: 36px;
    border-radius: 4px;
    box-shadow: none;
}

.pagination .current {
    background: #402000;
    box-shadow: none;
}

.empty-state {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    box-shadow: none;
}

.acheteur-card {
    min-height: 0;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    box-shadow: none;
}

.acheteur-card:hover {
    border-color: #d2d2d2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
    transform: none;
}

.acheteur-avatar,
.acheteur-categories span,
.acheteur-metrics > div,
.acheteur-unlock > i:first-child {
    border-radius: 4px;
}

.acheteur-metrics > div {
    border: 1px solid #ededed;
    background: #f8f8f8;
}

.access-notice-action {
    border-radius: 4px;
    background: #402000;
}

.detail-sidebar-module,
.contact-card,
.seller-card {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: none;
}

@media (max-width: 900px) {
    .home-page .annonces-grid-home > .eav-annonce-card {
        flex-basis: calc((100% - 24px) / 2);
    }

    .workspace-menu-toggle {
        display: inline-flex;
    }

    .search-layout {
        display: block;
        padding: 12px 12px 72px;
    }

    .search-sidebar {
        width: min(360px, 92vw);
        max-height: none;
        border-radius: 0 8px 8px 0;
        background: #fff;
    }

    .search-sidebar .sidebar-header {
        padding: 14px;
    }

    .search-sidebar .filters-scroll {
        padding: 12px 14px;
    }

    .search-sidebar .filters-actions {
        padding: 10px 14px 16px;
        background: #fff;
    }

    .mobile-filter-toggle {
        min-width: 48px;
        width: auto;
        height: 48px;
        border-radius: 24px;
        background: #f39237;
        box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
    }
}

@media (max-width: 768px) {
    .home-page > .header-main {
        display: none;
    }

    .topbar .topbar-right > .guest-login-trigger {
        display: none;
    }

    .home-page .annonces-grid-home {
        gap: 16px;
    }

    .home-page .annonces-grid-home > .eav-annonce-card {
        flex-basis: 100%;
    }

    .home-page .annonces-carousel-button {
        width: 34px;
        height: 34px;
    }

    .home-page .annonces-carousel-button--prev {
        left: -9px;
    }

    .home-page .annonces-carousel-button--next {
        right: -9px;
    }

    .annonces-grid.view-liste .eav-annonce-card {
        display: flex;
    }

    .annonces-grid.view-liste .eav-annonce-card .annonce-image {
        height: 175px;
    }

    .annonces-grid.view-liste .eav-annonce-card .annonce-content {
        display: flex;
        padding: 16px 18px 17px;
    }

    .annonces-grid.view-liste .eav-annonce-card .annonce-main,
    .annonces-grid.view-liste .eav-annonce-card.is-pepite .annonce-main {
        padding: 0;
    }

    .annonces-grid.view-liste .eav-annonce-card .annonce-bottom {
        padding: 10px 0 0;
    }

    body > .page-header {
        padding: 20px 0 22px;
    }

    body > .page-header .page-header-inner {
        gap: 14px;
    }

    body > .page-header .page-header-link {
        min-height: 34px;
    }
}
