/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------

	0. 	Variables Theme
    1.  CSS Reset
	2. 	Element Base
	3. 	Site Header
	4. 	Menu Modal
	5. 	Form search
		a. 	Homepage form
		c. 	Searchpage form
	6.  Real estate cards
	7.  Real estate page
	8. My account
	9. Alerts cards
	10. Real estate favorites
	11. Site Footer
	12. Media Queries

----------------------------------------------------------------------------- */


/* -------------------------------------------------------------------------- */

/*	0. Variables Theme
/* -------------------------------------------------------------------------- */
:root{
  /* colors */
  --bg: #ffffff;
  --surface: #f8f9fa;
  --text: #1f2937;
  --muted: #6b7280;
  --primary: #2563eb;
  --primary-600: #1d4ed8;
  --accent: #06b6d4;

  /* spacing / scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;

  /* sizing */
  --container-max: 1200px;
  --radius-xs: 4px;
  --radius-s: 8px;

  /* typography */
}

/* -------------------------------------------------------------------------- */

/*	1. CSS Reset
/* -------------------------------------------------------------------------- */

body{
    background:#fff!important;
}

/* Buttons -------------------------- */
button.filter-button, button.filter-button:hover, .checkbox-label:hover{
    text-decoration:none;
}
button.favorite-btn{
	padding: 0;
}
/* -------------------------------------------------------------------------- */

/*	2. 	Element Base
/* -------------------------------------------------------------------------- */

/* Buttons -------------------------- */

/* TOOGLE BUTTON */
.toggle-option {
    flex: 1;
    padding: 14px 24px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: none;
    font-weight: 600;
    color: #000;
    text-align: center;
    text-decoration:none;
}
.toggle-option:hover {
    background: #f8f9fa;
    border-color: transparent;
    transform: none;
    text-decoration: none;
}

.toggle-option.active {
    background: #a6e1b3;
    border-color: transparent;
    color: #000;
    transform: none;
    box-shadow: none;
}

/* ADVANCED SEARCH */
.btn-homepage-advanced{
    display:inline-flex;
    border:none;
    color:#000;
    background: var(--bg);
    text-decoration: underline;
    text-transform: none;
}
.btn-homepage-advanced:hover {
    background: none;
    color: #000;
    transform: none;
    box-shadow: none;
    text-decoration: none;
}
.homepage-advanced-link-container {
    display: flex;
    justify-content: flex-end;
}

/* Tooltip Floating UI -------------------------- */
/* Dropdown même largeur que son bouton parent */
.homepage-filter-item .filter-dropdown-content {
    min-width: 100%;
    width: max-content;
    max-width: 100%;
}
.homepage-filter-item .custom-filter-dropdown {
    position: relative;
}
.homepage-filter-item .filter-dropdown-content {
    width: 100%;
    min-width: auto;
    max-width: none;
    /*left: 0 !important; /* Forcer l'alignement à gauche */
}

/* Autocomplete cities -------------------------- */

.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    background: white;
    border: none;
    border-radius: var(--radius-xs);
    padding: 8px 0;
    margin-top: 8px;
    z-index: 10001 !important;
}

/* SCROLLBAR */
.ui-autocomplete::-webkit-scrollbar {
    width: 8px;
}

.ui-autocomplete::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.ui-autocomplete::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.ui-autocomplete::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.ui-autocomplete .ui-menu-item {
    padding: 0;
    margin: 0;
    border: none;
    list-style: none;
}

/* Wrapper de chaque item */
.ui-autocomplete .ui-menu-item-wrapper {
    padding: 14px 20px;
    cursor: pointer;
    border-bottom: none;
    transition: none;
    color: #000;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ui-autocomplete .ui-menu-item:last-child .ui-menu-item-wrapper {
    border-bottom: none;
}

.ui-autocomplete .ui-menu-item-wrapper:hover,
.ui-autocomplete .ui-state-active,
.ui-autocomplete .ui-state-focus {
    background: #f1f1f1 !important;
    color: #000 !important;
    border: none !important;
    margin: 0 !important;
}

/* -------------------------------------------------------------------------- */

/*	3. Site Header
/* -------------------------------------------------------------------------- */

#site-header {
    background: #FFF!important;
    position: fixed;
    z-index: 3!important;
}

.homepage-advanced-backdrop{
    position:absolute;
    z-index:1000;
}
.homepage-advanced-content{
    position:relative;
    z-index:1001;
}
.coup-de-coeur-wrapper{
    position:relative;
    z-index:1;
}

/* -------------------------------------------------------------------------- */

/*	7. Real estate page
/* -------------------------------------------------------------------------- */
.annonces-grid{
    padding:0 35px;
}
.annonce-detail-header-right .favorite-btn-detail{
    width:75px;
}
.breadcrumb-list li{
    font-size: 1.2rem!important;
    line-height: 1.4;
}
span.price-value{
    font-size:2rem;
}
.annonce-detail-price.location-price .loyer-base, .annonce-detail-price{
    color:#2c3e50 !important;
}
.annonce-detail-left-content{
    padding: 0 35px;
}
@media (min-width: 769px) {
    .annonce-detail-gallery .gallery-swiper-main {
        height: 600px !important;
    }
}
/* -------------------------------------------------------------------------- */

/*	12. Media Queries
/* -------------------------------------------------------------------------- */

/* md (>=768px) : tablets */
@media (min-width: 768px){

}

/* lg (>=1024px) : small laptops */
@media (min-width: 1024px){
    section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    section + section {
        margin-top: 2rem;
    }
}

/* xl (>=1280px) : desktop */
@media (min-width: 1280px){

}
