.theme-content-area-inner {
    background: var(--background);
}

.detail-main-container {
    width: 70% !important;
    padding: 0 2vw 0 4vw;
    margin: 0;
}

.cta {
    position: relative;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

/* Placeholder base */
.video-placeholder {
    background: var(--background-3);
    width: 100%;
    aspect-ratio: 1.7777;
}

/* Shimmer effect (custom palette) */
.shimmer {
    width: 100%;
    height: 100%;
    background: linear-gradient(110deg,
            var(--background-3) 25%,
            var(--primary-light-2) 40%,
            var(--background-3) 55%);
    background-size: 200% 100%;
    animation: shimmer 1.6s infinite;
    opacity: 0.9;
}

/* Animation */
@keyframes shimmer {
    to {
        background-position: -200% 0;
    }
}

/* Video */
.video {
    width: 100%;
    height: 100%;
    display: block;
}

.side-panel {
    position: fixed;
    top: clamp(calc(125px + 5em), 15em, 15em);
    right: 4vw;
    max-height: calc(100% - 16em);
    background: var(--scroll-background);
    width: calc(30% - 4vw);
    z-index: 10;
    padding: 1.2em;
    border-radius: 0;
    /* 20px */
    overflow-y: auto;
    scrollbar-gutter: stable;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
    scrollbar-width: thin;
    box-sizing: border-box;
}

.panel-section {
    margin-bottom: 2.5em;
    font-size: clamp(0.60rem, 1vw, calc(1450px * 0.012));
}

.sommaire-title {
    padding-bottom: 0.5em;
    border-bottom: solid 1px var(--primary-main);
    display: flex;
    align-items: center;
    gap: 1em;
    width: fit-content;
}

.panel-section-title {
    font-size: 1.5em !important;
    line-height: 1.5em;
    font-weight: 600;
    color: var(--primary-main);
}

.map {
    height: auto;
    width: 100%;
    aspect-ratio: 1.5;
}

.sommaire-title>img,
.bouton-sommaire>img {
    height: 2em;
    background: var(--text-light);
}

.panel-section-content {
    margin-top: 1.5em;
}

.mise-en-marche {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary-main);
    border-radius: 0;
    /* 10px */
    overflow: hidden;
}

.mise-en-marche h3 {
    color: var(--text-light);
    font-size: 2.5rem !important;
    margin-bottom: 1em;
}

.mise-en-marche>img {
    height: 16em;
}

.property-list {
    display: flex;
    justify-content: space-between;
}

.property-list .propCard {
    width: 49%;
}

.autres-proprietes {
    overflow: hidden;
}

.autres-proprietes>h3 {
    font-size: 1.5em !important;
    font-weight: 600;
    margin-bottom: 2em;
}

.size-container {
    padding-bottom: 4.1em;
}

.detail-section {
    margin-bottom: 4.1em;
}

/*
**
** Gallerie d'images
**
*/

.playeryt,
#playeryt {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    align-items: center;
}

#playeryt {
    aspect-ratio: 1.7777;
}

.gallery-place {
    margin-top: 2em;
}

.gallery-container {
    position: relative;
    display: flex;
    gap: 1.5em;
    padding: 1.5em;
    background: var(--scroll-background);
    border-radius: 0;
    /* 20px */
}

.top-image {
    width: 100%;
    border-radius: 0;
    /* 20px */
    overflow: hidden;
    flex: 5;
}

.top-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.bottom-images {
    display: flex;
    justify-content: space-between;
    flex: 4;
    flex-wrap: wrap;
    gap: 1.5em;
    position: relative;
}

.bottom-images .img-wrapper {
    flex: 1;
    aspect-ratio: 1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0;
    /* 20px */
    overflow: hidden;
    background: white;
    min-width: 35%;
    max-width: calc(50% - 0.75em);
}

.last-img {
    margin-right: 0px !important;
}

.bottom-images img {
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.gallery-button {
    background: rgb(from var(--primary-main) r g b / 0.7) !important;
  	border: none !important;
  	padding: 0.5em 1em !important;
}

.gallery-button:hover {
    background: rgb(from var(--text-light) r g b / 0.7) !important;
}

.gallery-button-container {
    gap: 0.8em;
    position: absolute;
    bottom: 0.5em;
    z-index: 10;
    right: 0;
    width: calc(50% - 0.75em);
    display: flex;
    justify-content: center;
}

.gallery-button img {
    height: 1.2em;
    border-radius: 0;
    /* 1000px */
}

.gallery-button div {
    background: var(--text-light);
    margin-left: 6px;
    height: 1.2em;
    display: flex;
  	aspect-ratio: 1;
}

.gallery-button:hover div {
    background: var(--primary-main);
  	transition: 0.3s linear;
}

.gallery-button:hover img {
    filter: brightness(0) invert(1);
  	transition: 0.3s linear;
}

.no-images-found {
    font-size: 3.7em;
    text-align: center;
    align-items: center;
    color: var(--primary-main);
    padding: 200px 0px;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 10001;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
}

.lightbox .close,
.lightbox .arrow {
    position: absolute;
    color: var(--text-light);
    font-size: 1.9em;
    cursor: pointer;
    user-select: none;
    padding: 0px 20px;
}

.lightbox .close {
    top: 20px;
    right: 30px;
}

.lightbox .arrow.left {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: fit-content;
}

.lightbox .arrow.right {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: fit-content;
}

.clickable-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
    cursor: pointer;
}

/*
**
** Titre de page
**
*/

.bande-verte {
    border-bottom: solid 3px var(--accent);
    flex: 1;
    margin: 0px 10px;
    height: 1.3em
}

.titre-propriete {
    font-family: var(--font-family);
    font-size: 2.5em;
    color: var(--primary-main);
    margin-bottom: 0.5em;
}

.logements-info {
    font-family: var(--font-family);
    display: flex;
    justify-content: space-between;
    color: var(--primary-main);
}

.logements-info > .nb-logement-mb {
    font-size: 2em;
}

.info-top {
    padding-top: clamp(calc(125px + 1em), 11em, 11em);
}

.link-btn {
    height: 2em;
    margin: 0 0 0 5px;
    background: var(--accent);
    border-radius: 0;
    /* 999px */
    padding: 0.2em;
}

/*
**
** Section d'information top
**
*/

.taux-container {
    display: flex;
}

.taux-section,
.info-taux {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    gap: 1em;
}

.info-taux .taux-container {
    align-items: stretch;
    cursor: pointer;
    width: calc(50% - 0.5em);
    background: var(--text-light);
    padding: 0.75em 0.75em;
    flex: 1 1 calc(50% - 0.5em);
    min-width: fit-content;
}

.taux-container img {
    height: 2.2em;
    margin-right: 5px;
}

.info-taux .taux-container img {
    height: 3.5em;
    margin-right: 5px;
}

.info-taux .taux-text-top {
    font-size: 1.1em;
}

.info-taux .taux-text-bottom {
    font-size: 1.3em;
}


.taux-text {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.taux-text-top {
    line-height: 1em;
    color: var(--secondary-light);
    margin-bottom: 2px
}

.taux-text-bottom {
    line-height: 0.8em;
    color: var(--primary-main);
    font-weight: 500;
    overflow-y: hidden;
}

.presentation {
    display: flex;
    font-size: clamp(0.65rem, 0.8vw, calc(1450px * 0.009));
}

/*
**
** Financement
**
*/

.titre-financement {
    margin-left: 10px;
    font-size: 1.9em;
    color: var(--primary-main);
    margin-bottom: 20px;
}

.liste-financement {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1em;
    flex: 1;
}

.type-financement {
    background: white;
    border: solid 1px var(--primary-main);
    padding: 10px 8px;
    width: calc(50% - 0.5em);
    border-radius: 0;
    /* 10px */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 calc(50% - 0.5em);
    min-width: fit-content;
    max-height: 50%;
  	min-height: fit-content;
}

.t-titre-financement {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
}

.tf-titre {
    font-size: 1em;
    font-weight: 600;
}

.tf-perc {
    font-size: 0.8em;
    background: var(--primary-light-2);
    border-radius: 0;
    /* 3px */
    padding: 0.25em 0.45em;
    border: solid 1px var(--primary-main);
    font-weight: 500;
    line-height: 1em;
}

.valeur-financement {
    font-size: 1.5em;
    color: var(--text-dark);
    font-weight: 200;
    margin-top: 0.5em;
    line-height: 1em;
}

/*
**
** Section offre
**
*/

.section-offre {
    background: var(--primary-main);
    padding: 3em 0 0 0;
    position: relative;
    border-radius: 0;
    /* 10px */
}

.offre-text {
    font-family: var(--font-family);
    font-size: 2.2rem;
    color: var(--text-light);
    font-weight: 600;
}

.offre-desc {
    color: var(--text-light);
    font-size: 1.2em;
    text-align: justify;
}

.offre-container {
    padding-top: 2.5em;
    border-top: solid 1px var(--text-light);
    font-weight: 400;
}

/*
**
** Section informations
**
*/

.informationsProp {
    min-height: 30em;
    padding: 3em 1.5em;
}

.informationsContainer {
    background-color: var(--background-3);
}

.sidebar {
    display: flex;
    justify-content: space-between;
    margin-block-end: 1.5em;
}

.scrollable-sidebar {
    background: var(--scroll-background);
    border: 1px solid var(--primary-main);
}

.scrollable-sidebar hr {
    height: 40%;
    width: 0.5px;
    margin: 0 1em;
}

.tab {
    padding: 0.65em 1em;
    cursor: pointer;
    color: var(--primary-main);
    text-align: center;
    line-height: 1em;
    height: 100%;
    display: flex;
    align-items: center;
    transition: 0.1s linear;
}

.tab:hover {
    color: var(--text-light);
    background: var(--primary-main);
  	transition: 0.1s linear;
}

.tab.active {
    color: var(--text-light);
    background: var(--primary-main);
}

.two-cols {
    columns: 2;
    break-inside: avoid;
    column-gap: 1.5em;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.field-container {
    background: var(--text-light);
}

.field {
    display: flex;
    justify-content: flex-end;
    border-radius: 0;
    /* 5px */
    color: var(--primary-dark);
    align-items: center;
    break-inside: avoid;
    border: 1px solid var(--scroll-front);
    padding: 1em 2em 1em 1em;
  	background: var(--text-light);
  	margin-top: -1px;
}

.two-cols .field:first-child {
		margin-top: 0px;
}

.field-group {
    background: var(--scroll-background);
    padding: 1.5em;
    width: 60%;
    border-radius: 0;
    /* 11px */
    display: grid;
    grid-template-columns: max-content 1fr;
    row-gap: 20px;
    align-items: center;
    margin-left: 1.3em;
}

.field-label {
    width: 40%;
    text-align: start;
    line-height: 1em;
}

.field-group .field-label {
    width: auto;
}

.field-value {
    border-radius: 0;
    /* 45px */
    width: 60%;
    margin-left: 15px;
    line-height: 1em;
    text-align: right;
}

.field-group .field-value {
    margin-right: 0px;
    width: auto;
}

.expander {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50cqw;
    width: 100cqw;
}

.eval-municipale {
    margin-left: 0px;
}

/* Scrollbar */

.content::-webkit-scrollbar {
    width: 12px;
}

.content::-webkit-scrollbar-track {
    background: var(--scroll-background);
    border-radius: 0;
    /* 10px */
}

.content::-webkit-scrollbar-thumb {
    background: var(--scroll-front);
    border-radius: 0;
    /* 10px */
}

@supports not selector(::-webkit-scrollbar) {
    .content {
        scrollbar-color: var(--scroll-front) var(--scroll-background);
    }
}

/*
**
** Section visites
**
*/

.visite-item {
    border-radius: 0;
    /* 20px */
    overflow: hidden;
    width: calc(calc(100% / 3) - calc(40px / 3));
    text-align: center;
    font-family: Arial, sans-serif;
    border: solid 1px var(--primary-main);
    background: white;
}

.visite-item video {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd;
}

.visite-title {
    font-weight: bold;
    font-size: 1.1em;
    margin: 10px 0 5px;
    color: var(--primary-main);
}

.visite-description {
    font-size: 0.9em;
    color: var(--text-dark-2);
    margin-bottom: 15px;
    padding: 0 10px;
}

.visite-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 224/171;
}

.info-title {
    font-size: 1.4em;
    color: var(--secondary-light);
}

.map-image {
    border-radius: 0;
    /* 10px */
    width: 100%;
}

.info-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 5em;
}

.info-container>div {
    flex: 47%;
    background: var(--primary-main);
    padding: 2em;
    display: flex;
    gap: 1.5em;
    flex-direction: column;
}

.info-container>div>img {
    height: 2.5em;
    width: 2.5em;
}

.info-container>div>div {
    margin-top: 0.5em;
}

.info-container span {
    color: var(--text-light);
    font-size: 1.4em;
    line-height: 0;
    font-family: var(--font-family);
    font-weight: 600;
}

.info-container p {
    color: var(--text-light);
    margin-top: 1em;
    text-align: justify;
    font-size: 1em;
}

/*
**
** Section tables
**
*/

.table-infos {
    background: var(--text-light);
}

.table-infos thead {
    background: var(--primary-light-2);
}

.table-header th:first-child {
    text-align: right;
}

.table-infos table {
    width: 100%;
    max-width: 900px;
    margin: auto;
    border-spacing: 12px 12px;
    table-layout: fixed;
    border-collapse: collapse;
    border: 1px solid var(--scroll-front);
}

.table-infos thead tr th:last-child {
    border-right: 1px solid var(--scroll-front) !important;
}

.table-infos table th {
    padding: 1em 0;
}

.table-infos col:first-child {
    width: 34%;
}

.table-infos col:not(:first-child) {
    width: 27%;
}

thead th {
    padding: 0;
    line-height: 1em;
}

.table-infos th,
td {
    text-align: center;
    border-inline-end: 0px hidden;
    border-block-end: 0px hidden;
}

.table-infos td span {
    border-radius: 0;
    /* 3px */
    height: fit-content;
    width: 100%;
    display: block;
}

.table-infos tbody th,
td {
    font-size: clamp(0.8em,0.8em, 14px);
    padding: 1em 0.5em;
}

.table-infos td {
    border-bottom: 1px solid var(--scroll-front) !important;
}

.table-infos th {
    background-color: transparent;
    color: var(--secondary-light);
}

.table-infos .table-name-col {
    text-align: right;
    background-color: transparent;
    border-radius: 0;
    line-height: 1em;
    padding: 0.2em 0;
    margin-left: -0.2em;
}

.table-infos .table-info-title {
    color: var(--secondary-light);
    font-size: 1.4em;
    text-wrap: nowrap;
}

.table-infos .total-row {
    background: var(--primary-light-2);
}

.table-infos .total-row span {
    color: var(--secondary-light);
    font-weight: 600;
}

.taux-alignment {
    display: flex;
    width: 100%;
    flex-direction: row;
    gap: 8px;
    background: var(--text-light);
    padding: 1.5em;
    flex-wrap: wrap;
}

.taux-section-info .taux-container {
    background: var(--background-3);
    padding: 10px;
    border-radius: 0;
    /* 10px */
    margin-right: 0px;
}

.info-section-header {
    font-size: 1.3em;
    font-family: var(--font-family);
    color: var(--primary-main);
    padding-bottom: 0.3em;
    border-bottom: 1px solid var(--primary-main);
    margin-bottom: 1em;
    display: flex;
    justify-content: space-between;
}

.info-section-header img {
    height: 1.8em;
    margin-right: 5px;
}

.cell-highlight {
    background: var(--secondary-light);
    color: var(--text-light) !important;
}

/*
**
** Contact
**
*/

.contact-img-details {
    margin-block-end: 0 !important;
}

.second-courtier {
    left: -45% !important;
    z-index: 99 !important;
}

.property-contacts .contactDetailsProp {
    flex-direction: column;
    gap: 1.5em;
    flex: 1;
}

.property-contacts .contacts-mb {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  	gap: 1.5em;
}

.property-contacts .contactImageContainer {
    z-index: 100;
}

.contacts-list {
    display: flex;
    gap: 1.5em;
  	max-width: 45%;
}

.many-courtier-infos {
    flex-direction: row;
    justify-content: center;
  	max-width: none;
}

#contactForm {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.form-title {
    font-family: var(--font-family);
    font-size: 3em;
    color: var(--primary-main);
    line-height: 0.5;
}

.form-container {
    background-color: white;
    padding: 1.5em 2em;
    border-radius: 0;
    /* 15px */
    width: 100%;
  	height: 100%;
}

.form-group {
    margin-bottom: 0px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 1.2em;
    line-height: 1;
}

.form-group input,
textarea {
    width: 100%;
    padding: 1em 0.75em;
    border: none;
    border: 1px solid var(--primary-main);
    outline: none;
    font-size: 0.9em !important;
    color: var(--text-dark);
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    height: fit-content;
    border-radius: 0;
    /* 5px */
}

.form-group textarea:focus-visible {
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-main);
}

/* Placeholder styles */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--secondary-light);
    font-style: normal;
}

.submit-button {
    background-color: var(--primary-main);
    padding: 0.75em;
    border: none;
    border-radius: 0;
    /* 1000px */
    font-size: 1.5em;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    width: 100%;
    max-width: 100% !important;
}

.submit-button:hover {
    background-color: var(--primary-light);
}

.form-flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
}

.form-flex-item {
    width: 100%;
}

/*
**
** Side box
**
*/

.side-box {
    position: fixed;
    top: 50%;
    right: -250px;
    /* Start hidden off-screen */
    transform: translateY(-50%);
    transition: right 0.3s ease;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.side-box-container {
    padding: 10px;
    background: var(--side-box-background);
    border-radius: 0;
    /* 8px */
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.side-box .taux-container {
    background: white;
    padding: 5px;
    border-radius: 0;
    /* 5px */
    margin-right: 0px;
}

.side-box.show {
    right: 20px;
}

.side-box.bottom {
    position: absolute;
    right: 20px;
    bottom: 0;
    top: auto;
    transform: none;
}

.bouton-sommaire {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    overflow: hidden;
    /* Important for the slide-in effect */
}

.notification-box {
    background-color: var(--primary-main);
    color: var(--text-light);
    padding: 15px;
    border-radius: 0;
    /* 8px */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 300px;
    transform: translateX(120%);
    transition: transform 0.5s ease-in-out;
}

.notification-box.show {
    transform: translateX(0);
}

#notification-title,
#notification-message {
    color: var(--text-light) !important;
}

#notification-title {
  	margin-top: 0;
    font-size: 1.2em !important;
    margin-bottom: 10px;
}

.notification-box p {
    margin-bottom: 0;
    font-size: 0.9em;
}

.flex-1 {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: space-between;
    overflow-x: hidden;
}

.liste-immeubles {
    display: none;
    flex-wrap: wrap;
    background: white;
    margin-top: 3em;
    padding: 1.7em 1.7em 2.5em 1.7em;
    border-radius: 0;
    /* 8px */
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    justify-content: space-between;
    row-gap: 1em;
}

.liste-immeubles>a {
    flex-basis: 48%;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--primary-main);
    color: var(--primary-main) !important;
    font-size: 1.1em;
    font-weight: 500;
    line-height: 1.3em;
    align-items: center;
}

.liste-immeubles>a:hover {
    box-shadow: inset 0 -1px 0 0 var(--primary-main);
}

.liste-immeubles img {
    height: 1.5em;
    background: var(--primary-main);
    border-radius: 0;
    /* 3px */
}

.back-button {
    font-weight: 500;
    color: var(--secondary-light);
    line-height: 1em;
}

.info-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}


@media only screen and (min-width: calc(1450px + 8vw)) {
    .side-panel {
        right: calc((100vw - (1450px + 8vw)) * 0.5 + 4vw);
        max-width: calc((1450px + 8vw) * 0.3 - 4vw);
    }

    .size-container {
        max-width: calc(1450px + 8vw);
    }

    .full-container {
        display: flex;
        justify-content: center;
    }
}


/*
***********
VERSION TABLET
***********
*/
@media only screen and (max-width: 1300px/*var(--mid-pc-limit)*/) {
  .side-panel {
      font-size: clamp(0.75rem, 0.9vw, 1rem);
  }
  
  .donne-finance-full {
    	flex-direction: column;
  }
}
@media only screen and (max-width: 1100px/*var(--small-pc-limit)*/) {
    .side-panel {
        position: static;
        max-height: none;
        width: 100%;
        display: flex;
        gap: 1.5em;
        font-size: clamp(0.6rem, 1.1vw, 1.1rem);
    }
  
    .side-panel .info-taux .taux-container,.side-panel .type-financement {
        width: calc(50% - 0.5em);
    }

    .financement-estime.panel-section-content {
        margin-top: 2em;
        display: flex;
    }

    .panel-section {
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
    }

    .detail-main-container {
        width: 100% !important;
        padding: 0 2vw;
    }

    .panel-section-content {
        flex: 1;
    }

    .flex-4 {
        flex: 4;
    }

    .flex-3 {
        flex: 3;
    }

    .panel-section .info-taux {
        align-items: normal;
    }

    .detail-main-container .map {
        height: 100%;
        width: auto;
        aspect-ratio: auto;
    }

    .panel-section-content.map {
        margin-top: 0;
    }

    .info-top {
        padding-top: calc(4em + 100px);
    }
  
    .donne-finance-full {
        flex-direction: row;
    }
}

@media only screen and (max-width: 900px/*var(--tablet-limit)*/) {
    .visite-item {
        width: calc(calc(100% / 2) - calc(40px / 2));
    }
  
    .contacts-list {
        max-width: none;
    }
  
    .side-panel {
        flex-direction: column;
        font-size: clamp(0.8rem, 1.1vw, 1.1rem);
    }

    .detail-main-container .map {
        height: auto;
        width: 100%;
        aspect-ratio: 2;
    }

    .many-courtier-infos {
        width: 100% !important;
        flex-direction: column;
    }

    .property-contacts .contactDetails {
        flex-direction: row;
    }
  
    .contact-img-details {
        max-width: 50%;
    }

    .contact-form {
        width: 100% !important;
    }

    .property-contacts .contacts-mb {
        flex-direction: column;
    }

    .bottom-images {
        flex: 2;
        flex-direction: column;
    }

    .bottom-images .img-wrapper {
        display: none;
        max-width: none;
        flex: 1;
    }

    .bottom-images .img-wrapper:nth-child(1),
    .bottom-images .img-wrapper:nth-child(2) {
        display: flex;
    }

    .gallery-button-container {
        width: 100%;
    }

    .visites-virtuels-btn {
        left: calc(-100% - 0.75em) !important;
    }

    .presentation {
        font-size: clamp(0.6rem, 1.2vw, 1.1rem);
    }
  
    .donne-finance-full {
        flex-direction: column;
    }
}

/*
***********
VERSION MOBILE
***********
*/


@media only screen and (max-width: 650px/*var(--mobile-limit)*/) {
    body {
        overflow-x: hidden;
    }

    body p,
    span,
    h1,
    h2,
    h3,
    a {
        overflow-x: hidden
    }
  
    .tab-content {
        margin-top: 1.5em;
    }

    .flex-row {
        flex-direction: column;
    }
  
    .eval-municipale {
        margin-left: 0px !important;
      	margin-top: 1.5em;
    }

    .info-taux .taux-text-top {
        overflow-x: clip;
    }

    .contact-img-details {
        max-width: 100%;
    }

    .gallery-container {
        flex-direction: column;
    }

    .bottom-images .img-wrapper:nth-child(1),
    .bottom-images .img-wrapper:nth-child(2),
    .bottom-images .img-wrapper:nth-child(3) {
        display: flex;
        min-width: calc(30% - 1em);
    }

    .gallery-button-container {
        width: calc(30% - 1em);
        font-size: clamp(0.8rem, 3vw, 1rem);
        min-width: fit-content;
        justify-content: flex-end;
        right: 0.5em;
    }

    .bottom-images .img-wrapper {
        display: none;
        max-width: none;
        flex: 1;
    }

    #playeryt {
        position: relative;
    }

    .bottom-images {
        flex-direction: row;
    }
  
  	.presentation {
      	flex-direction: column;
      	font-size: clamp(0.6rem, 3.5vw, 0.75rem);
  	}

    .titre-propriete {
        font-size: 2em;
    }

    .nb-logement-mb {
        font-size: 0.9em;
        color: var(--secondary-light);
    }

    .prix-mb {
        width: 100%;
        display: flex;
        flex-direction: row-reverse;
    }

    .info-taux {
        row-gap: 1em;
        flex-wrap: wrap;
        margin-top: 1.2em;
        justify-content: normal;
        column-gap: 1em;
    }

    .logements-info {
        display: block;
    }

    .taux-container {
        padding: 0.5em;
        background: white;
        border-radius: 0;
        /* 10px */
        margin-right: 0;
    }

    .top-image {
        border-radius: 0;
    }

    .info-top {
       padding-top: calc(60px + 3rem);
    }

    .offre-desc {
        border-left: none;
        padding-left: 0;
    }

    .offre-text {
        font-size: 3.8em;
    }

    .side-box {
        display: none;
    }

    .sidebar {
        margin-block-end: 0;
    }
  
    .scrollable-sidebar hr {
        margin: 0 0.5px;
    }

    .tab {
        display: inline-block;
        white-space: nowrap;
        margin-right: 1em;
    }

    .two-cols {
        columns: 1;
        break-inside: avoid;
        border: 1px solid;
        border-bottom: none;
        border-color: var(--scroll-front);
    }

    .field {
        display: block;
        padding: 0.5em 0;
        background: white;
        margin-left: 0 !important;
    }

    .field-label {
        width: fit-content !important;
        margin-left: 30px !important;
        margin-top: 0.7em;
        color: var(--secondary-light);
    }

    .field-value {
        font-size: 1.2em;
        width: 100%;
        background: none;
        margin-left: 0;
        padding: 0.7em 30px;
    }

    .field-group {
        margin-left: 0;
        background: none;
        padding: 30px;
        padding: 0px 30px 10px 30px;
    }

    .field-group-lbl-mb {
        margin-bottom: 1.2em;
    }

    .field-group .field-label {
        padding: 0.4em 15px 0.4em 0;
        font-size: 1.2em;
        margin: 0 !important;
        color: var(--primary-main);
        width: 100% !important;
    }

    .field-group .field-value {
        padding: 0.4em 15px;
        background: var(--background);
    }

    .liste-financement {
        flex-wrap: wrap;
        row-gap: 1.5em;
    }

    .type-financement {
        width: 48.5%;
    }

    .mise-en-marche>img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 0;
    }

    .mise-en-marche>div {
        z-index: 10;
    }

    .visites-list {
        margin-right: 0;
        flex-direction: column;
      	align-items: center;
    }

    .visite-item {
        width: 90%;
    }

    .info-container {
        margin-top: 0;
    }

    .info-container>div {
        flex: 100%;
      	position: relative;
    }
  
    .info-container>div>div {
        z-index: 10;
    }

    .flux-mb {
        display: block !important;
    }

    .flux-desk {
        display: none !important;
    }

    .center-mb {
        width: 100% !important;
    }

    .contactDetails {
        flex-direction: column !important;
    }
  
    .property-contacts .contactImageContainer {
      	width: 100%
    }

    .right-mb {
        padding-left: 1em;
        margin-bottom: 2em;
        width: 100%;
    }

    .lien-contact {
        font-size: 1.2em !important;
        line-height: 1.2em;
    }

    .lien-contact img {
        height: 2em !important;
    }

    .contacts-mb>div {
        width: 100% !important;
    }

    .informationsProp {
        padding-top: 0.5em;
    }

    .scrollable-sidebar {
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
    }

    .info-section-header {
        border-bottom: none;
        margin-bottom: 0;
    }

    .seperator-flux {
        display: block !important;
        background: var(--primary-light-pale);
        margin: 3em 0 2em 0;
    }

    .taux-info-mb {
        font-size: 0.9em;
    }

    /********************
    TABLES
    ********************/
    .main-container {
        width: 100%;
        overflow: hidden;
        position: relative;
        box-sizing: border-box;
    }

    .table-section {
        margin-bottom: 1.875em;
    }

    .table-wrapper {
        display: flex;
        width: 100%;
        border-radius: 0;
        /* 0.5em */
        overflow: hidden;
        justify-content: space-between;
    }

    .fixed-table {
        flex-shrink: 0;
        width: 50%;
        border-collapse: separate;
        border-spacing: 0 0.625em;
        table-layout: fixed;
        border: none;
    }

    .fixed-table th,
    .fixed-table td {
        font-weight: normal;
        text-align: left;
        overflow-wrap: break-word;
        padding-left: 0;
        color: var(--primary-main);
        padding: 0;
    }

    .fixed-table th {
        font-size: 1.25em;
    }

    .fixed-table thead tr th {
        font-family: var(--font-family);
        font-size: 1.5em;
        padding: 0.9375rem 0;
    }

    .scrollable-wrapper {
        overflow-x: hidden;
        position: relative;
        max-width: 10em;
        -webkit-overflow-scrolling: auto;
    }

    .scrollable-table {
        border-collapse: collapse;
        width: auto;
        transition: transform 0.3s ease-in-out;
        border-collapse: separate;
        border-spacing: 0 0.625em;
        border: none;
    }

    .scrollable-table th,
    .scrollable-table td {
        padding: 0.9375rem 0.625em;
        text-align: center;
        white-space: nowrap;
        box-sizing: border-box;
        width: 100%;
        color: var(--primary-main);
    }

    .scrollable-table th {
        font-weight: normal;
        color: var(--primary-dark);
        bottom: -1em;
        position: relative;
        border: none;
        line-height: 1.5em;
        color: var(--text-dark-2) !important;
    }

    .scrollable-table tbody tr:last-child td {
        border-bottom: none;
    }

    .pagination-container {
        display: flex;
        justify-content: end;
    }

    .pagination-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 1em 0;
        gap: 0.625em;
        position: relative;
        z-index: 10;
        width: 50%;
        max-width: 10em;
    }

    .dot {
        width: 0.5em;
        height: 0.5em;
        background-color: var(--primary-main);
        opacity: 20%;
        border-radius: 0;
        /* 50% */
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .dot.active {
        background-color: var(--secondary-light);
        opacity: 100%;
    }

    .scrollable-table td {
        padding: 0;
        color: var(--primary-main);
        ;
    }

    .scrollable-table td div {
        padding: 0.4em 0.94em;
        background-color: white;
        border-radius: 0;
        /* 1.6em */
        margin: 0 0.8em;
    }

    .info-background {
        width: 50%;
        height: calc(100% - 3em);
        background: var(--secondary-light-2);
        ;
        position: absolute;
        z-index: 0;
        top: 2.4em;
        right: 0;
        border-radius: 0;
        /* 0.75em */
        max-width: 10em;
    }

    .donne-finance-mb {
        display: block !important;
    }

    .donne-finance-full {
        display: none !important;
    }

    .total-entry-mb {
        background: var(--secondary-light) !important;
        color: var(--text-light);
    }

    .ham-menu-c1 {
        display: flex;
        justify-content: space-around;
        height: 100vh;
        padding: 0 2em;
    }

    .ham-menu-c2 {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }

    .ham-menu-c3 {
        display: flex;
        flex-direction: column;
        gap: 2.5em;
        text-align: center;
    }

    .ham-menu-c3 a {
        color: var(--text-light) !important;
        font-size: 1.8em;
    }

    .form-title {
        font-size: 2.3em;
    }

    .liste-immeubles {
        justify-content: center;
    }

    .liste-immeubles>a {
        flex-basis: 100%;
    }

    .liste-immeubles .seeMoreButton {
        margin-bottom: 0px;
        margin-block-end: 0px;
        margin-top: 1em;
    }

    .property-list {
        flex-direction: column;
        gap: 1.5em;
    }

    .property-list .propCard {
        width: 100%;
    }

    .prensentation {
        flex-direction: column;
        gap: 1em;
    }
}
@media only screen and (max-width: 375px/*var(--mobile-limit)*/) {
		html {
        font-size: 16px !important;
    }
}