@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Syne:wght@400..800&display=swap');
:root {
  --brand: #c8102e;
  --brand-dark: #9e0d24;
  --brand-soft: #fdf0f2;
  --brand-mid: #f5c6ce;
  --accent: #ff6b35;
  --dark: #181818;
  --dark-2: #1a1a1a;
  --dark-3: #2a2a2a;
  --muted: #6b7280;
  --muted-light: #9ca3af;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --surface: #ffffff;
  --surface-2: #fafafa;
  --header-h: 60px;
  --searchbar-h: 52px;
  --bottom-nav-h: 64px;
  --font-display: 'Nunito Sans', sans-serif;
  --font-body: 'Nunito Sans', 'Syne', sans-serif;
  --radius-card: 14px;
  --radius-img: 10px;
  --transition: .2s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--dark);
  background: var(--surface-2); 
  padding-top: 60px;
  -webkit-font-smoothing: antialiased;
}
body[data-theme="listing"] {
padding-top: calc(var(--header-h) + var(--searchbar-h));
} 

@media screen and (max-width: 992px) {
  body{
      padding-bottom: var(--bottom-nav-h);
  }
}

/* Pages détail : pas de search bar → override via classe sur body */
body.no-searchbar { padding-top: var(--header-h); }

h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }

@media (min-width:992px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm {
        max-width: 824px !important
    }
}
.container { max-width: 700px; margin: 0 auto; padding: 0 1rem; }
img { max-width: 100%; }

/* ---- HEADER ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  z-index: 1050;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 0.5rem;
}

.site-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--brand);
  letter-spacing: -0.03em;
  flex: 1;
  white-space: nowrap;
}
.site-logo span { color: var(--dark); }

.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--dark);
  cursor: pointer;
  transition: background var(--transition);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.header-btn:hover { background: var(--border-light); color: var(--brand); }

.btn-publish-head {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  border: none;
  border-radius: 100px;
  padding: 0.38rem 0.9rem;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-publish-head:hover { background: var(--brand-dark); color: #fff; }
@media screen and (max-width :885px){
  .btn-publish-head{
  padding: 0.3rem 0.78rem;
    font-size: 0.7rem;
  }
}

.btn-login-head {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  font-size: 0.82rem;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 0.35rem 0.85rem;
  background: transparent;
  color: var(--dark);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-login-head:hover { border-color: var(--brand); color: var(--brand); }

/* ---- SEARCH BAR ---- */
.site-searchbar {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  height: var(--searchbar-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  z-index: 1040;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 0.5rem;
}
body.no-searchbar .site-searchbar { display: none; }

.searchbar-inner {
  display: flex;
  align-items: center;
  background: var(--border-light);
  border-radius: 100px;
  padding: 0 0.5rem 0 1rem;
  flex: 1;
  height: 36px;
  gap: 0.5rem;
  transition: background var(--transition);
}
.searchbar-inner:focus-within {
  background: #fff;
  box-shadow: 0 0 0 2px var(--brand-mid);
}
.searchbar-inner input {
  border: none;
  background: transparent;
  outline: none;
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--dark);
}
.searchbar-inner input::placeholder { color: var(--muted-light); }
.btn-search-submit {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background var(--transition);
  flex-shrink: 0;
}
@media screen and (max-width: 885px) {
  .searchbar-inner input{
    width: 92%;
  }
}
.btn-search-submit:hover { background: var(--brand-dark); }

.searchbar-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--border-light);
  border: none;
  border-radius: 100px;
  padding: 0.3rem 0.75rem;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.searchbar-filter-btn:hover { background: var(--border); color: var(--dark); }

/* ---- SEARCH OVERLAY ---- */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  z-index: 1060;
  display: flex;
  align-items: flex-start;
  padding-top: 5rem;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.search-overlay.active { opacity: 1; pointer-events: all; }
.search-overlay-box {
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem;
  width: min(560px, calc(100vw - 2rem));
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.search-overlay-box input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--dark);
}
.search-overlay-box input:focus{
  color: var(--brand-dark);
}
.btn-search-overlay-submit {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition);
}
.btn-search-overlay-submit:hover { background: var(--brand-dark); }
@media screen and (max-width: 885px) {
  .search-overlay-box {
  width: 100%;
      padding: .9rem;
  }
  .btn-search-overlay-submit {
  width: 37px; height: 37px;
    font-size: .89rem;
  }
}
/* ---- OFFCANVAS NAV ---- */
.offcanvas-nav .nav-link-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 0.5rem;
  border-radius: 10px;
  font-weight: 500;
  color: var(--dark);
  transition: background var(--transition), color var(--transition);
}
.offcanvas-nav .nav-link-item:hover,
.offcanvas-nav .nav-link-item.active {
  background: var(--brand-soft);
  color: var(--brand);
}
.offcanvas-nav .nav-link-item i {
  width: 22px;
  text-align: center;
  font-size: 1rem;
  color: var(--brand);
}
.nav-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.5rem 0.5rem 0.25rem;
  margin-top: 0.5rem;
}
.offcanvas-legal {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}
.offcanvas-legal a {
  font-size: 0.78rem;
  color: var(--muted);
  transition: color var(--transition);
}
.offcanvas-legal a:hover { color: var(--brand); }

/* ---- BOTTOM NAV ---- */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--bottom-nav-h);
  background: var(--surface);
  border-top: 1px solid var(--border);
  z-index: 1040;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 0.25rem;
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 1;
  padding: 0.3rem 0.15rem;
  border-radius: 10px;
  color: var(--muted);
  transition: color var(--transition);
  cursor: pointer;
  border: none;
  background: transparent;
  position: relative;
}
.bottom-nav-item i { font-size: 1.15rem; transition: transform .15s; }
.bottom-nav-item span { font-size: 0.62rem; font-weight: 500; white-space: nowrap; }
.bottom-nav-item:hover, .bottom-nav-item.active { color: var(--brand); }
.bottom-nav-item:hover i { transform: translateY(-1px); }
/* Publish button in bottom nav — stands out */
.bottom-nav-publish {
  background: var(--brand) !important;
  color: #fff !important;
  border-radius: 14px !important;
  padding: 0.4rem 0.75rem !important;
  min-width: 58px;
}
.bottom-nav-publish::after { display: none !important; }
.bottom-nav-publish:hover { background: var(--brand-dark) !important; }

/* ---- CARD ANNONCE (list style) ---- */
.card-annonce {
  display: flex;
  align-items: stretch;
  background: var(--surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
}

.card-annonce.vip, .card-annonce.featured{
  border: 1px solid #ffe177;
  background: #fffbec;
}
.card-annonce:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.09);
  transform: translateY(-1px);
}
.card-annonce-img {
position: relative;
  width: 147px;
  height: 137px;
  flex-shrink: 0;
  border-radius: var(--radius-img);
  overflow: hidden;
  margin: 0.5rem 0 0.5rem 0.5rem; 
  min-height: 115px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-annonce-img img {
  width: 100%;
  height: 100%; 
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center;
  display: block;
}
.badge-photos {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 100px;
  padding: 2px 7px;
  display: flex;
  align-items: center;
  gap: 3px;
}
@media (max-width: 575.98px) { .badge-photos { display: none; } }

.card-annonce-body {
  flex: 1;
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: start;
  gap: 0.25rem;
  min-width: 0;
}
@media (max-width: 575.98px) { 
  .card-annonce-body {
    padding: 0.5rem 0.65rem;
  }
}

.card-annonce-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  color: var(--dark);
}
@media screen and (max-width: 728px){
  .card-annonce-title{
    font-size: .9rem;
    line-height: 1.2;
    margin-bottom: .2rem;
  } 
}
.card-annonce-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.card-annonce-meta span {
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 3px;
}
.card-annonce-badge {
  font-size: 0.68rem;
  font-weight: 600;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 100px;
  padding: 1px 8px;
}
.card-annonce-price {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand);
}
@media (max-width: 640px) {
  .card-annonce-img { width: 123px;height: 140px;}
  .card-annonce-price { 
  font-size: 0.75rem; 
}
}

/* ---- CARD PROFIL (grid) ---- */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}
@media (max-width: 1199.98px) { .profiles-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 991.98px)  { .profiles-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575.98px)  { .profiles-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; } }

.card-profil {
  border-radius: var(--radius-card);
  overflow: hidden; 
  cursor: pointer; 
  transition: box-shadow var(--transition), transform var(--transition);
}
.card-profil:hover {
  transform: translateY(-2px);
}
.card-profil-img {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
}
.card-profil-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .35s ease;
}
.card-profil:hover .card-profil-img img { transform: scale(1.04); }
.card-profil-badge-genre {
  position: absolute;
  top: 8px; right: 8px;
  font-size: 0.62rem;
  font-weight: 700;
  border-radius: 100px;
  padding: 2px 8px;
}
.card-profil-body {
  padding: 0.6rem 0rem 0.7rem;
}
.card-profil-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--dark);
}
.card-profil-location {
  font-size: 0.72rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 3px;
}
.card-profil-tarif {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand);
  margin-top: 0.25rem;
}

/* ---- CARD BLOG ---- */
.card-blog {
  background: var(--surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
  padding: 0.65rem;
}
.card-blog:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.1);
  transform: translateY(-2px);
}
.card-blog-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 10px;
}
.card-blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.card-blog:hover .card-blog-img img { transform: scale(1.04); }
.card-blog-body { padding: .6rem 0.2rem 0 .2rem; }
.card-blog-cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand);
}
.card-blog-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
  margin: 0.3rem 0; 
}
.card-blog-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.card-blog-meta {
  font-size: 0.72rem;
  color: var(--muted-light);
  margin-top: 0.6rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* ---- SECTION TITLE ---- */
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}
.section-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand);
}
.section-link:hover { color: var(--brand-dark); }

/* ---- PAGE HEADER (hero strip) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #2a0a11 100%);
  color: #fff;
  padding: 2.5rem 0 2rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  z-index: 10;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: -1;
}
.page-hero-title {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  position: relative;
}
.page-hero-sub {
  font-size: 0.9rem;
  opacity: .7;
  position: relative;
}

/* ---- FILTER CHIPS ---- */
.filter-chips {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}
.filter-chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.3rem 0.85rem;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--dark);
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---- MISC ---- */
.divider-or {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted-light);
  font-size: 0.8rem;
}
.divider-or::before, .divider-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.online-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #fff;
  display: inline-block;
}

/* Annonce list gap */
.annonces-list { display: flex; flex-direction: column; gap: 0.75rem; }

/* Blog grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 991.98px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .blog-grid { grid-template-columns: 1fr; } }

/* Scrolled header shadow */
.site-header.scrolled {border-color: #fa000022; box-shadow: none} /*0 2px 16px rgba(0,0,0,.08); */

/*Profil */
    .profile-cover-user { width:100%;height:180px;object-fit:cover;border-radius:0 0 20px 20px; background:linear-gradient(135deg,var(--dark),#2a0a11); }
    .avatar-user { width:80px;height:80px;border-radius:50%;border:4px solid #fff;box-shadow:0 4px 16px rgba(0,0,0,.15);}
    .menu-item { display:flex;align-items:center;gap:.85rem;padding:.7rem .9rem;border-radius:12px;font-weight:500;color:var(--dark);transition:background .15s,color .15s;cursor:pointer;text-decoration:none; }
    .menu-item:hover { background:var(--brand-soft);color:var(--brand); }
    .menu-item i { width:20px;text-align:center;color:var(--brand);font-size:.9rem; }
    .menu-item .badge-count { margin-left:auto;background:var(--brand);color:#fff;border-radius:100px;padding:1px 7px;font-size:.68rem;font-weight:700; } 
        .stat-card {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 14px;
            padding: 1rem;
            text-align: center;
        }

        .stat-val {
            font-family: var(--font-display);
            font-weight: 800;
            font-size: 1.5rem;
            color: var(--brand);
        }

        .stat-lbl {
            font-size: .72rem;
            color: var(--muted);
            margin-top: 2px;
        }
/* Auth page */
/* background: linear-gradient(135deg,#0d0d0d 0%,#2a0a11 100%); */
   body.no-searchbar {  min-height:100vh; }
    .auth-card { background:#fff; border-radius:20px; padding:2rem; width:min(420px,calc(100vw - 2rem)); box-shadow:0 20px 60px rgba(0,0,0,.3); }
    .auth-logo { font-family:var(--font-display); font-weight:800; font-size:1.5rem; color:var(--brand); margin-bottom:.25rem; }
    .auth-logo span { color:#fff; }
    .tab-auth { font-weight:600; font-size:.78rem; padding:.5rem 1rem; border-radius:100px; border:none; background:transparent; cursor:pointer; color:var(--muted); transition:all .2s; }
    .tab-auth.active { background:var(--brand); color:#fff; }
    .form-label { font-size:.83rem; font-weight:500; color:#374151; }
    .form-control,.form-select { border-radius:10px; border:1.5px solid var(--border); font-size:.9rem; padding:.6rem .9rem; }
    .form-control:focus,.form-select:focus { border-color:var(--brand); box-shadow:0 0 0 3px var(--brand-mid); }
    .pw-toggle { position:absolute; right:.75rem; top:50%; transform:translateY(-50%); color:var(--muted); cursor:pointer; font-size:.9rem; } 
    .auth-form.active { display:block; }
  
.gallery-thumb { cursor:pointer; border-radius:10px; overflow:hidden; aspect-ratio:1; }
    .gallery-thumb img { width:100%; height:100%; object-fit:cover; transition:transform .25s; }
    .gallery-thumb:hover img { transform:scale(1.06); }
    .gallery-main { border-radius:16px; overflow:hidden; aspect-ratio:4/3; }
    .gallery-main img { width:100%; height:100%; object-fit:cover; }
    .contact-sticky { position:sticky; top:calc(var(--header-h) + 1rem); }

.article-body { font-size:.95rem; line-height:1.8; color:#374151; }
    .article-body h2 { font-family:var(--font-display); font-weight:700; font-size:1.25rem; margin:2rem 0 .75rem; color:var(--dark); }
    .article-body h3 { font-family:var(--font-display); font-weight:600; font-size:1rem; margin:1.5rem 0 .5rem; color:var(--dark); }
    .article-body p { margin-bottom:1.1rem; }
    .article-body ul { padding-left:1.5rem; margin-bottom:1rem; }
    .article-body ul li { margin-bottom:.4rem; }
    .article-body blockquote { border-left:3px solid var(--brand); padding:.75rem 1.25rem; background:var(--brand-soft); border-radius:0 12px 12px 0; margin:1.5rem 0; font-style:italic; }

.profile-cover { width:100%; height:120px; object-fit:cover; object-position:top; border-radius:0 0 24px 24px; }
    @media(max-width:575px){ .profile-cover { height:220px; } }
    .profile-avatar { width:96px; height:96px; object-fit:cover; border-radius:50%; border:4px solid #fff; box-shadow:0 4px 16px rgba(0,0,0,.15); margin-top:-48px; }
    .tab-content-section { display:none; }
    .tab-content-section.active { display:block; }
    .review-card { background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:1rem; }
    .star { color:#facc15; }

.user-navs{
  border-bottom: 1px solid var(--border);
}
.nav.user-navs {
  --bs-nav-link-padding-x: 1rem;
  --bs-nav-link-padding-y: 0.5rem;
  --bs-nav-link-font-weight: ;
  --bs-nav-link-color: var(--dark);
  --bs-nav-link-hover-color: var(--brand);
  --bs-nav-link-disabled-color: var(--bs-secondary-color);
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
  background-color: transparent;
}

.nav-link {
  display: block;
  padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
  font-size: var(--bs-nav-link-font-size);
  font-weight: var(--bs-nav-link-font-weight);
  color: var(--dark);
  text-decoration: none;
  background: 0 0;
  border: 0;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}
.nav.user-navs .nav-link:hover, .nav.user-navs .nav-link.active {
  color: var(--brand);
}
.nav.user-navs .nav-link.active {
  border-bottom: 2px solid var(--brand);
}

.font-syne,.ff-syne {
  font-family: 'Syne', sans-serif !important;
  color :#0d993e;
}

button:disabled, button.disabled, a.disabled {
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.6; 
  box-shadow: none;
}

.offcanvas.offcanvas-filter {
height: 520px !important; 
border-radius: 14px 14px 0px 0px; 
max-width: 780px; 
width: 100%; 
margin: 0 auto;
}
.btn-close {
  --bs-btn-close-color: #d30808;
  --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
  --bs-btn-close-opacity: .8;
  width: .75em;
  height: .75em;
  padding: .25em .25em;
  color: var(--bs-btn-close-color);
  background-color: #cecece !important;
  background-size: .55rem;
  border: 0;
  border-radius: 50rem; 
}

.page-link {
  position: relative;
  display: block;
  padding: var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);
  color: var(--brand);
  text-decoration: none;
  background-color: var(--surface);
  border: var(--bs-pagination-border-width) solid var(--border-light);
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.page-link:hover {
  z-index: 2;
  color: var(--brand-dark);
  background-color: var(--brand-soft);
  border-color: var(--brand-soft);
}
.active > .page-link, .page-link.active {
  z-index: 3;
  color: var(--surface-2);
  background-color: var(--brand);
  border-color: var(--brand);
}
.dropdown-menu { 
  --bs-dropdown-padding-x: 1rem;
  --bs-dropdown-padding-y: .75rem;
  --bs-dropdown-font-size: 1rem;
  --bs-dropdown-color: var(--dark-2);
  --bs-dropdown-bg: white;
  --bs-dropdown-border-color: var(--border);
  --bs-dropdown-border-radius: 12px; 
  position: absolute; 
  display: none;
  min-width: var(--bs-dropdown-min-width);
  padding: var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);
  margin: 0;
  font-size: var(--bs-dropdown-font-size);
  color: var(--bs-dropdown-color);
  text-align: left;
  list-style: none;
  background-color: var(--bs-dropdown-bg);
  background-clip: padding-box;
  border: var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);
  border-radius: var(--bs-dropdown-border-radius);
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

.dropdown-item { 
  font-weight: 400;
  color: var(--dark-2); 
  border-radius: 8px;
}
.dropdown-item.active, .dropdown-item:active {
  color: var(--surface); 
  background-color: var(--brand);
}
.dropdown-item:focus, .dropdown-item:hover {
  color: var(--brand);
  background-color: #ececec;
}

@media(min-width:991px){
  .max-w-lg-130 { max-width:130px; }
}
@media(max-width:885px){
  .w-xs-160 { width:160px !important; }
}


.accordion-button {
  color: var(--dark-2);
  background-color: #ffffff;
  box-shadow: none;
}
.accordion-button:not(.collapsed) {
  color: var(--brand);
  background-color: #f6efef;
  font-weight: bold;
  box-shadow: none;
}



.accordion-button::after {
  width: .85rem;
  height: .85rem;
  margin-left: auto;
  content: "";
  background-repeat: no-repeat;
  background-size: .85rem;
}

/* =====================================================
   Lazy loading des images (gere par main.js)
   img.lazy        : placeholder gris pendant l'attente
   img.lazy-loaded : fade-in une fois chargee
   img.lazy-error  : teinte rouge tres claire si echec
===================================================== */
img.lazy,
img[data-src] {
  background-color: #ececec;
  background-image: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
  background-size: 200% 100%;
  animation: lazyShimmer 1.6s linear infinite;
  min-height: 1px;
}

img.lazy-loaded {
  animation: lazyFadeIn 0.35s ease-out both;
  background: none;
}

img.lazy-error {
  background: #fff5f5;
  animation: none;
}

@keyframes lazyFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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