/* ============================================
   TAP'ANNONCES - Feuille de style principale
   Mobile-first, design épuré, production-ready
   ============================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #1f2937;
  --muted: #6b7280;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #eff6ff;
  --orange: #f59e0b;
  --orange-dark: #d97706;
  --green: #059669;
  --red: #dc2626;
  --pale: #f9fafb;
  --pale-2: #f1f5f9;
  --card: #ffffff;
  --line: #e5e7eb;
  --line-2: #cbd5e1;

  --xs: clamp(.75rem, .7rem + .25vw, .8125rem);
  --sm: clamp(.875rem, .8rem + .35vw, .9375rem);
  --base: clamp(.9375rem, .85rem + .4vw, 1.0625rem);
  --lg: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  --xl: clamp(1.25rem, 1.1rem + .75vw, 1.75rem);
  --2xl: clamp(1.75rem, 1.4rem + 1.75vw, 2.5rem);
  --3xl: clamp(2rem, 1.5rem + 2.5vw, 3.25rem);
  --4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);

  --sp-xs: clamp(.5rem, 1.5vw, .75rem);
  --sp-sm: clamp(.75rem, 2vw, 1rem);
  --sp-md: clamp(1rem, 3vw, 1.5rem);
  --sp-lg: clamp(1.5rem, 4vw, 2.5rem);
  --sp-xl: clamp(2rem, 6vw, 4rem);
  --sp-2xl: clamp(3rem, 8vw, 6rem);

  --max: 1336px;
  --cont: clamp(1rem, 3vw, 2rem);
  --rs: 6px;
  --r: 10px;
  --rl: 16px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow: 0 4px 12px rgba(15, 23, 42, .08);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, .1);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .18);
  --ring: 0 0 0 3px rgba(37, 99, 235, .12);
}

/* ---------- 2. Reset + base ---------- */
*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--card);
  font-size: var(--base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block }
button, input, select, textarea { font: inherit; color: inherit }
button { cursor: pointer; border: 0; background: none; padding: 0 }
a { text-decoration: none; color: inherit }
ul { list-style: none; padding: 0; margin: 0 }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.2; font-weight: 700 }
p { margin: 0 0 1rem }
::selection { background: var(--blue); color: #fff }

/* ---------- 3. Utilities ---------- */
.wrap { width: min(var(--max), calc(100% - var(--cont) * 2)); margin: auto; padding: 0 var(--cont) }
.eyebrow {
  display: inline-block;
  padding: .35rem .875rem;
  background: var(--pale);
  border-radius: 4px;
  color: var(--muted);
  font-size: var(--xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.section-title { margin: .875rem 0 0; font-size: var(--3xl); line-height: 1.1; font-weight: 800; letter-spacing: -.02em }
.center { text-align: center }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease }
.reveal.visible { opacity: 1; transform: none }
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--ink); color: #fff;
  padding: .5rem 1rem; z-index: 1000; border-radius: 0 0 var(--rs) 0;
}
.skip-link:focus { top: 0 }

/* ---------- 4. Buttons ---------- */
.btn {
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--rs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  transition: background .2s, transform .15s, box-shadow .2s;
  border: 1.5px solid transparent;
  text-align: center;
  white-space: nowrap;
}
.btn:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: var(--shadow) }
.btn:active { transform: translateY(0) }
.btn i { width: 18px; height: 18px; flex-shrink: 0 }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line) }
.btn-ghost:hover { background: var(--pale); color: var(--blue); border-color: var(--blue) }
.btn-secondary { background: var(--pale); color: var(--ink); border: 1.5px solid var(--line) }
.btn-secondary:hover { background: var(--line) }
.btn-large { padding: 16px 36px; font-size: var(--base) }
.btn-sm { padding: .375rem .75rem; font-size: var(--xs) }
.btn-danger { background: var(--red); color: #fff }
.btn-danger:hover { background: #b91c1c }

/* ---------- 5. Header + nav ---------- */
header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  background-color: rgba(255, 255, 255, .92);
}
header .wrap { height: 68px; display: flex; align-items: center }
.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 1rem }
.logo {
  font-size: var(--xl);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--ink);
}
.logo span { color: var(--blue) }

.links {
  display: none;
  flex-direction: column;
  gap: 0;
  position: absolute; top: 68px; left: 0; right: 0;
  background: var(--card);
  padding: .5rem 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}
.links.open { display: flex }
.links a {
  font-size: var(--base);
  font-weight: 600;
  padding: .875rem var(--cont);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: color .2s;
}
.links a:last-child { border: 0 }
.links a:hover, .links a.active { color: var(--blue) }

.account { display: flex; align-items: center; gap: .75rem }
.login { display: none; align-items: center; gap: .5rem; font-size: var(--sm); font-weight: 600; color: var(--ink) }
.login i { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--muted) }
.login a { color: var(--ink) }
.login.logged-in a { display: flex; align-items: center; gap: .5rem; color: var(--blue); font-weight: 600; font-size: var(--sm) }
.login.logged-in i { color: var(--blue); border-color: var(--blue) }
.post { display: none }
.menu-btn {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--rs);
  color: var(--ink);
  transition: background .2s, border-color .2s;
}
.menu-btn:hover { background: var(--pale); border-color: var(--blue) }
.menu-btn i { width: 20px; height: 20px }

/* ---------- 6. Breadcrumb ---------- */
.breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: var(--sm);
  padding-top: 1.5rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.breadcrumb i { width: 14px; height: 14px; opacity: .5 }
.breadcrumb a { color: var(--muted); transition: color .2s }
.breadcrumb a:hover { color: var(--blue) }
.breadcrumb span { color: var(--ink); font-weight: 500 }

/* ---------- 7. Hero ---------- */
.hero { background: var(--pale); padding: 2.5rem 0 3rem; position: relative; overflow: hidden }
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(37, 99, 235, .08), transparent 60%);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; position: relative; z-index: 1 }
.hero-copy h1 {
  font-size: var(--4xl);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.03em;
  margin: 0 0 1rem;
  background: linear-gradient(135deg, var(--ink) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-copy p { color: var(--muted); font-size: var(--base); line-height: 1.75; margin: 0 0 1.5rem }

.quick-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .75rem; max-width: 100% }
.quick-cat {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.25rem .75rem;
  font-size: var(--sm);
  font-weight: 500;
  color: var(--ink);
  min-width: 0;
  height: 110px;
  cursor: pointer;
  transition: border-color .2s, transform .2s, box-shadow .2s, background .2s;
}
.quick-cat:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(44, 58, 77, .07);
  background: #fff7ed;
}
.quick-cat i { width: 30px; height: 30px; color: var(--orange); stroke-width: 1.75 }
.quick-cat span { text-align: center; line-height: 1.3; color: var(--ink) }

/* Search box */
.search-box { background: var(--card); border-radius: var(--rl); padding: 1.5rem; box-shadow: 0 12px 36px rgba(44, 58, 77, .07) }
.search-box h2 { text-align: center; margin: 0 0 1.5rem; font-size: var(--xl); font-weight: 700 }

.field, .price input {
  height: 60px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--rs);
  display: flex; align-items: center; gap: .75rem;
  padding: 0 1rem;
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field:focus-within { border-color: var(--blue); box-shadow: var(--ring) }
.field i { width: 32px; height: 32px; display: grid; place-items: center; color: #fff; background: var(--orange); border-radius: var(--rs); flex-shrink: 0 }
.field input, .field select, .field textarea { border: 0; outline: 0; width: 100%; background: transparent; font-size: var(--base) }
.field textarea { resize: vertical; min-height: 100px; padding: .75rem 0; font-family: inherit }

.price { display: grid; grid-template-columns: 1fr; gap: .625rem; text-align: center }
.price input { padding: 0 1rem; outline: 0; appearance: textfield; -moz-appearance: textfield }
.price input::-webkit-outer-spin-button, .price input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0 }
.price span { color: var(--muted); font-weight: 600; display: block }
.search-box form { display: grid; gap: 1rem }
.search-box .btn { height: 60px; font-size: var(--base) }

/* ---------- 8. Listings + cards ---------- */
.listings { padding: var(--sp-2xl) 0 }
.heading-row { display: flex; flex-direction: column; align-items: stretch; gap: 1rem; margin-bottom: var(--sp-xl) }
.listing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem }
.listing-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .25s, border-color .2s;
}
.listing-card:hover { box-shadow: 0 10px 32px rgba(44, 58, 77, .09); transform: translateY(-3px); border-color: #d1d5db }
.listing-image-link { display: block; overflow: hidden; aspect-ratio: 3/2; background: var(--pale) }
.listing-image { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s }
.listing-card:hover .listing-image { transform: scale(1.05) }
.listing-body { padding: 1.125rem; flex: 1; display: flex; flex-direction: column; gap: .375rem }
.listing-body h3 { font-size: var(--lg); line-height: 1.3; margin: 0; font-weight: 700 }
.listing-body h3 a { color: var(--ink); transition: color .2s }
.listing-body h3 a:hover { color: var(--blue) }
.listing-cat-tag {
  display: inline-block; align-self: flex-start;
  font-size: .6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--blue);
  background: var(--blue-light);
  padding: .25rem .625rem;
  border-radius: 4px;
  margin-bottom: .25rem;
}
.location { display: flex; align-items: center; gap: .375rem; color: var(--muted); font-size: var(--sm) }
.location i { color: var(--orange); width: 16px; height: 16px }
.price-tag { font-size: var(--lg); font-weight: 700; margin: .5rem 0 0; color: var(--ink) }
.listing-date { display: block; font-size: var(--xs); color: var(--muted); margin-top: .25rem }

.card-actions { border-top: 1px solid var(--line); display: flex; align-items: center; gap: .625rem; padding: .75rem 1.125rem }
.icon-btn {
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--muted);
  transition: border-color .2s, color .2s, background .2s;
}
.icon-btn:hover, .icon-btn.active { border-color: var(--orange); color: var(--orange); background: #fff7ed }
.icon-btn i { width: 15px; height: 15px }
.views { margin-left: auto; color: var(--muted); font-size: var(--xs) }

/* ---------- 9. Categories + features ---------- */
.categories, .features { background: var(--pale); padding: var(--sp-2xl) 0 }
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: var(--sp-xl) }
.category-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .2s, transform .2s }
.category-card:hover { box-shadow: var(--shadow); transform: translateY(-2px) }
.cat-head { height: 140px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .625rem; border-bottom: 1px solid var(--line); font-weight: 700; font-size: var(--lg) }
.cat-head i { width: 38px; height: 38px; color: var(--blue) }
.cat-list { padding: 1.25rem 1.5rem }
.cat-list li { display: flex; justify-content: space-between; align-items: center; color: var(--ink); padding: .625rem 0; border-bottom: 1px dashed var(--line); font-size: var(--sm) }
.cat-list li:last-child { border: 0 }
.count { color: #fff; background: var(--orange); border-radius: 20px; min-width: 26px; text-align: center; font-size: .6875rem; font-weight: 700; padding: 2px 8px }
.cat-foot { border-top: 1px solid var(--line); padding: .875rem; text-align: center }
.cat-foot a { display: inline-block; background: #eef2ff; color: var(--blue); font-weight: 600; padding: .625rem 1.75rem; border-radius: var(--rs); transition: background .2s, color .2s }
.cat-foot a:hover { background: var(--blue); color: #fff }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: var(--sp-xl) }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.75rem; text-align: center; transition: box-shadow .25s, transform .25s }
.feature:hover { box-shadow: 0 8px 28px rgba(44, 58, 77, .06); transform: translateY(-2px) }
.feature i { width: 40px; height: 40px; margin: 0 auto .875rem; color: var(--blue) }
.feature h3 { font-size: var(--lg); margin: 0 0 .5rem; font-weight: 700 }
.feature p { color: var(--muted); line-height: 1.75; margin: 0; font-size: var(--sm) }

/* ---------- 10. Regions ---------- */
.regions-modern { background: #f8fafc; padding: var(--sp-2xl) 0 }
.region-header { text-align: center; margin-bottom: var(--sp-xl) }
.region-intro { color: var(--muted); max-width: 600px; margin: .75rem auto 0; font-size: var(--base); line-height: 1.8 }

.regions-title { display: flex; align-items: baseline; gap: 1rem; margin-bottom: var(--sp-lg); padding-bottom: .75rem; border-bottom: 2px solid var(--line) }
.regions-title h3 { margin: 0; font-size: var(--xl); font-weight: 800; letter-spacing: -.02em; color: var(--ink) }
.regions-subtitle { margin: 0; font-size: var(--sm); color: var(--muted); font-weight: 500 }

.regions-metro { margin-bottom: var(--sp-2xl) }
.regions-outremer { background: linear-gradient(135deg, #f0fdf4 0%, #eff6ff 100%); border-radius: var(--rl); padding: var(--sp-xl); margin: 0 calc(-1 * var(--cont)); padding-left: var(--cont); padding-right: var(--cont) }
.regions-outremer .regions-title { border-bottom-color: #bbf7d0 }
.regions-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem }

.region-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--rl); padding: 1.25rem; transition: box-shadow .25s, transform .25s, border-color .2s; overflow: hidden }
.region-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-2px) }
.region-card-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; margin-bottom: 1rem; flex-shrink: 0 }
.region-card-icon i { width: 22px; height: 22px }
.region-card-title { font-size: var(--base); font-weight: 700; margin: 0 0 .25rem; line-height: 1.3 }
.region-card-sub { color: var(--muted); font-size: var(--xs); margin: 0 0 .75rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600 }
.region-card-deps { font-size: var(--xs); color: var(--ink); margin-bottom: .75rem; line-height: 1.5 }
.region-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--line) }
.region-ad-count { font-size: var(--xs); color: var(--muted); font-weight: 500 }
.region-explore { color: var(--blue); font-weight: 600; font-size: var(--sm); display: inline-flex; align-items: center; gap: .25rem; transition: gap .2s }
.region-explore:hover { gap: .5rem }
.region-explore::after { content: '→' }

/* ---------- 11. CTA ---------- */
.cta-section { padding: var(--sp-2xl) 0 }
.cta-box { background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 50%, var(--blue) 100%); border-radius: var(--rl); padding: 3rem 2rem; text-align: center; color: #fff; position: relative; overflow: hidden }
.cta-box::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 100% 100%, rgba(245, 158, 11, .2), transparent 60%); pointer-events: none }
.cta-box > * { position: relative; z-index: 1 }
.cta-box h2 { font-size: var(--2xl); font-weight: 800; margin: 0 0 .75rem }
.cta-box p { opacity: .9; font-size: var(--base); margin: 0 0 1.75rem }
.cta-box .btn { background: var(--orange); }
.cta-box .btn:hover { background: var(--orange-dark) }
.cta-box .btn-ghost { background: transparent; border: 2px solid #fff; color: #fff }
.cta-box .btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff }
.cta-content { margin-bottom: 1.5rem }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap }

/* ---------- 12. Footer ---------- */
footer { background: #1e293b; color: #e2e8f0 }
.footer-main { padding: var(--sp-2xl) 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem }
.footer-main h3 { font-size: var(--base); margin: 0 0 1rem; color: #fff; font-weight: 700 }
.footer-main li { margin: 0 0 .5rem; font-size: var(--sm) }
.footer-main a { color: #94a3b8; transition: color .2s }
.footer-main a:hover { color: var(--orange) }
.footer-contact { color: #cbd5e1; line-height: 1.7; margin-bottom: 1.5rem }
.footer-contact .logo { color: #fff; margin-bottom: .75rem; display: block }
.footer-contact p { margin: 0 0 .75rem }
.footer-contact strong { color: #fff; font-weight: 600 }
.social { display: flex; gap: .625rem }
.social a { width: 36px; height: 36px; border: 1px solid #475569; border-radius: 50%; display: grid; place-items: center; font-size: var(--xs); font-weight: 700; transition: background .2s, border-color .2s, color .2s }
.social a:hover { background: var(--orange); border-color: var(--orange); color: #fff }
.footer-bottom { background: #0f172a; padding: 1.25rem var(--cont) }
.footer-bottom-inner { display: flex; flex-direction: column; gap: .75rem; align-items: center; text-align: center; color: #94a3b8; font-size: var(--xs) }
.footer-legal { display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: center }
.footer-legal a { color: #94a3b8 }
.footer-legal a:hover { color: var(--orange) }
.footer-recent li { display: block }
.footer-recent strong { color: #fff; font-weight: 600; display: block; margin-bottom: .125rem }

/* ---------- 13. Toast ---------- */
.toast { position: fixed; right: 1rem; bottom: 1rem; background: var(--ink); color: #fff; padding: .75rem 1.25rem; border-radius: var(--rs); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); transform: translateY(80px); opacity: 0; z-index: 100; transition: transform .3s, opacity .3s; font-size: var(--sm); max-width: 320px }
.toast.show { transform: none; opacity: 1 }

/* ---------- 14. Modal (auth) ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(44, 58, 77, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 200; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; padding: 1rem }
.modal-overlay.open { opacity: 1; visibility: visible }
.modal { background: var(--card); border-radius: var(--rl); width: 100%; max-width: 440px; box-shadow: var(--shadow-lg); overflow: hidden; transform: translateY(20px) scale(.98); transition: transform .3s }
.modal-overlay.open .modal { transform: none }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--line) }
.modal-header h3 { margin: 0; font-size: var(--lg); font-weight: 700 }
.modal-close { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: background .2s, color .2s }
.modal-close:hover { background: var(--pale); color: var(--ink) }
.modal-close i { width: 18px; height: 18px }
.modal-tabs { display: flex; border-bottom: 1px solid var(--line); background: var(--pale) }
.modal-tab { flex: 1; padding: 1rem; font-weight: 600; font-size: var(--sm); color: var(--muted); position: relative; transition: color .2s, background .2s }
.modal-tab.active { color: var(--blue); background: var(--card) }
.modal-tab.active::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--blue) }
.modal-body { padding: 1.75rem 1.5rem }
.modal-form { display: none; flex-direction: column; gap: .875rem }
.modal-form.active { display: flex }
.modal-form .field { background: var(--pale); margin: 0 }
.modal-form .btn { width: 100%; height: 50px }
.modal-footer { text-align: center; margin-top: 1rem; font-size: var(--sm); color: var(--muted) }
.modal-footer a { color: var(--blue); font-weight: 600; cursor: pointer }
.modal-divider { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0; color: var(--muted); font-size: var(--xs); text-align: center }
.modal-divider::before, .modal-divider::after { content: ''; flex: 1; height: 1px; background: var(--line) }
.social-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .5rem }
.social-btn { display: flex; align-items: center; justify-content: center; gap: .375rem; padding: .625rem; border: 1px solid var(--line); border-radius: var(--rs); background: var(--card); font-size: var(--xs); font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s }
.social-btn:hover { border-color: var(--blue); background: var(--pale) }
.social-btn:disabled { opacity: .5; cursor: not-allowed }
.social-btn i { width: 16px; height: 16px }

.modal-terms { display: flex; align-items: flex-start; gap: .5rem; margin-bottom: 1rem; font-size: var(--xs); color: var(--muted) }
.modal-terms input { margin-top: .2rem; accent-color: var(--blue) }
.modal-terms a { color: var(--blue) }
.modal-form-links { text-align: right; margin: -.25rem 0 .5rem }
.modal-form-links a { font-size: var(--xs); color: var(--blue) }
.password-strength { display: flex; gap: .25rem; align-items: center; margin-top: .25rem }
.password-strength-bar { flex: 1; height: 4px; background: var(--line); border-radius: 2px; overflow: hidden }
.password-strength-bar-inner { height: 100%; width: 0; background: var(--red); transition: width .3s, background .3s }
.password-strength-label { font-size: var(--xs); font-weight: 600; min-width: 60px; text-align: right; color: var(--muted) }

/* ---------- 15. Cookie banner ---------- */
.cookie-banner { position: fixed; inset: auto 0 0 0; z-index: 9999; background: rgba(255, 255, 255, .98); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -8px 32px rgba(15, 23, 42, .12); transform: translateY(110%); transition: transform .45s cubic-bezier(.22, 1, .36, 1) }
.cookie-banner.show { transform: translateY(0) }
.cookie-inner { width: min(1180px, calc(100% - var(--cont) * 2)); margin: auto; padding: 1.25rem var(--cont); display: grid; grid-template-columns: 1fr; gap: 1rem; align-items: center }
.cookie-text { display: flex; gap: .875rem; align-items: flex-start }
.cookie-icon { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #f59e0b, #f97316); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(245, 158, 11, .3) }
.cookie-icon i { width: 22px; height: 22px }
.cookie-content h3 { margin: 0 0 .25rem; font-size: var(--base); font-weight: 700; color: var(--ink) }
.cookie-content p { margin: 0; font-size: var(--sm); color: var(--muted); line-height: 1.5 }
.cookie-content a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center }
.cookie-btn { height: 42px; padding: 0 1.125rem; border-radius: var(--rs); font-size: var(--sm); font-weight: 600; display: inline-flex; align-items: center; gap: .375rem; transition: background .2s, color .2s, transform .15s, border-color .2s; border: 1.5px solid transparent; white-space: nowrap; cursor: pointer }
.cookie-btn:hover { transform: translateY(-1px) }
.cookie-btn i { width: 16px; height: 16px }
.cookie-btn-primary { background: var(--blue); color: #fff }
.cookie-btn-primary:hover { background: var(--blue-dark) }
.cookie-btn-ghost { background: transparent; color: var(--ink); border-color: var(--line) }
.cookie-btn-ghost:hover { background: var(--pale); border-color: var(--blue); color: var(--blue) }
.cookie-btn-text { background: transparent; color: var(--muted); font-weight: 500; padding: 0 .5rem }
.cookie-btn-text:hover { color: var(--ink); text-decoration: underline }

.cookie-prefs { position: fixed; inset: 0; z-index: 10000; background: rgba(15, 23, 42, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 1rem; opacity: 0; transition: opacity .25s }
.cookie-prefs.show { display: flex; opacity: 1 }
.cookie-prefs-card { background: var(--card); border-radius: var(--rl); width: min(560px, 100%); max-height: 90vh; overflow-y: auto; padding: 1.75rem 1.5rem 1.5rem; box-shadow: var(--shadow-lg); transform: scale(.96); transition: transform .25s }
.cookie-prefs.show .cookie-prefs-card { transform: scale(1) }
.cookie-prefs-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem }
.cookie-prefs-head h2 { margin: 0; font-size: var(--xl); font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: .5rem }
.cookie-prefs-head h2 i { width: 24px; height: 24px; color: var(--blue) }
.cookie-prefs-close { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); transition: background .2s, color .2s }
.cookie-prefs-close:hover { background: var(--pale); color: var(--ink) }
.cookie-prefs-close i { width: 20px; height: 20px }
.cookie-prefs-intro { color: var(--muted); font-size: var(--sm); line-height: 1.6; margin: 0 0 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line) }
.cookie-pref-item { display: flex; align-items: flex-start; gap: .875rem; padding: 1rem 0; border-bottom: 1px solid var(--line) }
.cookie-pref-item:last-of-type { border-bottom: 0 }
.cookie-pref-info { flex: 1 }
.cookie-pref-info h4 { margin: 0 0 .25rem; font-size: var(--base); font-weight: 700; color: var(--ink) }
.cookie-pref-info p { margin: 0; font-size: var(--xs); color: var(--muted); line-height: 1.5 }
.cookie-toggle { position: relative; flex-shrink: 0; width: 44px; height: 24px; margin-top: .25rem }
.cookie-toggle input { position: absolute; opacity: 0; width: 0; height: 0 }
.cookie-toggle .slider { position: absolute; inset: 0; background: var(--line); border-radius: 999px; transition: background .2s; cursor: pointer }
.cookie-toggle .slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .2s; box-shadow: 0 2px 4px rgba(0, 0, 0, .15) }
.cookie-toggle input:checked + .slider { background: var(--blue) }
.cookie-toggle input:checked + .slider::before { transform: translateX(20px) }
.cookie-toggle input:disabled + .slider { background: #cbd5e1; cursor: not-allowed; opacity: .7 }
.cookie-prefs-foot { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line) }
.cookie-prefs-foot .cookie-btn { flex: 1; min-width: 140px; justify-content: center }

/* ---------- 16. Auth pages (login, register, forgot) ---------- */
.auth-section { min-height: 80vh; display: flex; align-items: center; padding: 3rem 0; background: var(--pale) }
.auth-card { max-width: 480px; margin: 0 auto; background: var(--card); padding: 2.5rem 2rem; border-radius: var(--rl); box-shadow: 0 12px 36px rgba(44, 58, 77, .07) }
.auth-header { text-align: center; margin-bottom: 2rem }
.auth-header h1 { font-size: var(--xl); font-weight: 800; margin: 0 0 .5rem; display: flex; align-items: center; justify-content: center; gap: .5rem }
.auth-header h1 i { width: 28px; height: 28px; color: var(--blue) }
.auth-header p { color: var(--muted); margin: 0 }
.auth-form { display: flex; flex-direction: column; gap: 1rem }
.auth-form .field { background: var(--pale); margin: 0 }
.auth-form-meta { display: flex; justify-content: space-between; align-items: center; font-size: var(--sm) }
.auth-form-meta .remember { display: flex; align-items: center; gap: .5rem; cursor: pointer; color: var(--muted) }
.auth-form-meta .remember input { accent-color: var(--blue) }
.auth-form-meta .forgot-link { color: var(--blue) }
.auth-divider { text-align: center; margin: 1.5rem 0; position: relative; color: var(--muted); font-size: var(--sm) }
.auth-divider::before, .auth-divider::after { content: ''; position: absolute; top: 50%; width: 35%; height: 1px; background: var(--line) }
.auth-divider::before { left: 0 }
.auth-divider::after { right: 0 }
.auth-social { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: 1.5rem }
.auth-social .social-btn { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem; border: 1px solid var(--line); border-radius: var(--rs); background: var(--card); cursor: pointer; transition: border-color .2s, background .2s }
.auth-social .social-btn:hover:not(:disabled) { border-color: var(--blue); background: var(--pale) }
.auth-social .social-btn:disabled { opacity: .5; cursor: not-allowed }
.auth-footer { text-align: center; margin: 1rem 0 0; color: var(--muted) }
.auth-footer a { color: var(--blue); font-weight: 600; display: inline-flex; align-items: center; gap: .375rem }
.auth-footer a i { width: 16px; height: 16px }
.auth-form .terms { display: flex; align-items: flex-start; gap: .5rem; font-size: var(--sm); color: var(--muted); cursor: pointer }
.auth-form .terms input { margin-top: .25rem; accent-color: var(--blue) }
.auth-form .terms a { color: var(--blue); font-weight: 600 }

/* ---------- 17. Account / dashboard ---------- */
.account-page { background: var(--pale); min-height: calc(100vh - 80px); padding: var(--sp-xl) 0 }
.account-layout { display: grid; grid-template-columns: 1fr; gap: 1.5rem }
.account-sidebar { background: var(--card); border: 1px solid var(--line); border-radius: var(--rl); padding: 1.25rem; height: fit-content; position: sticky; top: 80px }
.account-user { display: flex; align-items: center; gap: .75rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem }
.account-avatar-wrap { position: relative; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #3b82f6, #8b5cf6); color: #fff; display: grid; place-items: center; flex-shrink: 0; overflow: hidden }
.account-avatar-wrap img { width: 100%; height: 100%; object-fit: cover }
.account-avatar-wrap i { width: 28px; height: 28px }
.account-user-info { flex: 1; min-width: 0 }
.account-user-name { font-weight: 700; font-size: var(--base); margin: 0 0 .125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.account-user-email { font-size: var(--xs); color: var(--muted); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.account-user-since { color: var(--muted); font-size: var(--xs); margin: .5rem 0 0 }

.account-nav { display: flex; flex-direction: column; gap: .25rem }
.account-nav-item { display: flex; align-items: center; gap: .75rem; padding: .75rem .875rem; border-radius: var(--r); font-size: var(--sm); font-weight: 500; color: var(--ink); transition: background .2s, color .2s; text-align: left; width: 100%; text-decoration: none }
.account-nav-item:hover { background: var(--pale); color: var(--blue) }
.account-nav-item.active { background: var(--blue); color: #fff; font-weight: 600 }
.account-nav-item.active .account-nav-icon { color: #fff }
.account-nav-icon { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0 }
.account-nav-badge { margin-left: auto; background: var(--pale); color: var(--blue); font-size: var(--xs); font-weight: 700; padding: .125rem .5rem; border-radius: 999px; min-width: 20px; text-align: center }
.account-nav-item.active .account-nav-badge { background: rgba(255, 255, 255, .25); color: #fff }
.account-nav-badge.alert { background: var(--red); color: #fff }
.account-logout { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--red) }
.account-logout:hover { background: #fef2f2; color: #b91c1c }

.account-content { display: flex; flex-direction: column; gap: 1.5rem }
.account-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--rl); padding: 1.5rem; display: none }
.account-panel.active { display: block }
.account-panel-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line) }
.account-panel-title { display: flex; align-items: center; gap: .625rem; font-size: var(--xl); font-weight: 800; margin: 0 }
.account-panel-title i { width: 24px; height: 24px; color: var(--blue) }
.account-panel-subtitle { font-size: var(--sm); color: var(--muted); margin: .25rem 0 0 }
.account-section-title { font-size: var(--base); font-weight: 700; margin: 2rem 0 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line) }

.stats-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 2rem }
.stat-card-modern { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--rl); transition: box-shadow .25s, transform .25s }
.stat-card-modern:hover { box-shadow: var(--shadow); transform: translateY(-2px) }
.stat-card-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0 }
.stat-card-icon i { width: 24px; height: 24px }
.stat-card-num { font-size: var(--xl); font-weight: 800; margin: 0; line-height: 1.1 }
.stat-card-label { font-size: var(--xs); color: var(--muted); margin: 0 }

.account-listings, .account-listings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem }
.account-listing, .account-listing-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--rl); overflow: hidden; transition: box-shadow .2s, transform .2s; text-decoration: none; color: inherit; display: block }
.account-listing:hover, .account-listing-card:hover { box-shadow: 0 4px 16px rgba(44, 58, 77, .08); transform: translateY(-2px) }
.account-listing-img { position: relative; aspect-ratio: 16/10; background: var(--pale) }
.account-listing-img img { width: 100%; height: 100%; object-fit: cover }
.account-listing-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted) }
.account-listing-placeholder i { width: 48px; height: 48px }
.account-listing-status { position: absolute; top: .5rem; right: .5rem; background: rgba(0, 0, 0, .7); color: #fff; font-size: var(--xs); font-weight: 600; padding: .25rem .625rem; border-radius: 999px; text-transform: capitalize }
.status-active { background: var(--green) !important }
.status-pending { background: var(--orange) !important }
.status-rejected { background: var(--red) !important }
.status-sold { background: var(--blue) !important }
.account-listing-info, .account-listing-body { padding: 1rem }
.account-listing-title, .account-listing h4 { font-size: var(--sm); font-weight: 700; margin: 0 0 .375rem; line-height: 1.4 }
.account-listing-meta { font-size: var(--xs); color: var(--muted); margin: 0 0 .5rem; display: flex; align-items: center; gap: .375rem; flex-wrap: wrap }
.account-listing-meta i { width: 12px; height: 12px }
.account-listing-price { color: var(--blue); font-weight: 800; font-size: var(--base); margin: 0 }
.account-listing-stats { display: flex; gap: .75rem; font-size: var(--xs); color: var(--muted); margin: .5rem 0 }
.account-listing-stats span { display: flex; align-items: center; gap: .25rem }
.account-listing-stats i { width: 12px; height: 12px }
.account-listing-actions { display: flex; gap: .5rem; margin-top: 1rem }

.account-form .form-section { background: var(--card); border: 1px solid var(--line); border-radius: var(--rl); padding: 1.5rem; margin-bottom: 1.5rem }
.account-form .form-row { display: grid; grid-template-columns: 1fr; gap: 1rem }
.account-form .form-group { margin-bottom: 0 }
.account-form .form-actions { display: flex; gap: .75rem; flex-wrap: wrap }

.security-list { background: var(--card); border: 1px solid var(--line); border-radius: var(--rl); overflow: hidden }
.security-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--line); flex-wrap: wrap }
.security-row:last-child { border-bottom: 0 }
.security-row h4 { margin: 0 0 .25rem; font-size: var(--base); font-weight: 700 }
.security-row p { margin: 0; color: var(--muted); font-size: var(--sm) }

.toggle { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer }
.toggle input { display: none }
.toggle-slider { position: relative; width: 44px; height: 24px; background: var(--line); border-radius: 12px; transition: background .2s }
.toggle-slider::after { content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: left .2s; box-shadow: 0 2px 4px rgba(0, 0, 0, .15) }
.toggle input:checked + .toggle-slider { background: var(--blue) }
.toggle input:checked + .toggle-slider::after { left: 22px }
.toggle-label { font-size: var(--sm); font-weight: 600; color: var(--ink) }

/* ---------- 18. Deposit (deposer) ---------- */
.deposit-page { padding: 2rem 0 4rem }
.deposit-form { max-width: 760px; margin: 0 auto }
.form-step { display: none }
.form-step.active { display: block; animation: fadeIn .3s }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }

.stepper { display: flex; align-items: flex-start; justify-content: center; gap: 0; margin-bottom: 3rem; flex-wrap: wrap }
.step { display: flex; flex-direction: column; align-items: center; gap: .5rem; flex-shrink: 0 }
.step-circle { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-weight: 700; font-size: var(--base); color: var(--muted); background: var(--card); transition: all .3s }
.step.active .step-circle { border-color: var(--blue); background: var(--blue); color: #fff }
.step.completed .step-circle { background: var(--green); border-color: var(--green); color: #fff }
.step-label { font-size: var(--xs); font-weight: 600; color: var(--muted); text-align: center }
.step.active .step-label { color: var(--blue) }
.step.completed .step-label { color: var(--green) }
.step-line { width: 60px; height: 2px; background: var(--line); margin: 0 .5rem; margin-top: 21px; transition: background .3s; flex-shrink: 0 }
.step-line.completed { background: var(--green) }

.form-section { background: var(--card); border: 1px solid var(--line); border-radius: var(--rl); padding: 1.5rem; margin-bottom: 1.5rem }
@media (min-width: 768px) { .form-section { padding: 2rem } }
.form-section-title { display: flex; align-items: center; gap: .5rem; font-size: var(--lg); font-weight: 700; margin: 0 0 1.5rem }
.form-section-title i { width: 20px; height: 20px; color: var(--blue) }
.step-header { margin-bottom: 2rem; text-align: center }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr } }
.form-group { margin-bottom: 1rem }
.form-group:last-child { margin-bottom: 0 }
.form-label { display: flex; align-items: center; gap: .375rem; font-weight: 600; font-size: var(--sm); margin-bottom: .5rem }
.form-label i { width: 16px; height: 16px; color: var(--muted) }
.form-input { width: 100%; height: 48px; padding: 0 1rem; border: 1px solid var(--line); border-radius: var(--rs); background: var(--card); font-size: var(--base); color: var(--ink); transition: border-color .2s, box-shadow .2s }
.form-input:focus { outline: 0; border-color: var(--blue); box-shadow: var(--ring) }
.form-input.has-prefix { padding-left: 2.5rem }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; appearance: none; -webkit-appearance: none; padding-right: 2.5rem; cursor: pointer }
textarea.form-input { height: auto; padding: .875rem 1rem; resize: vertical; min-height: 140px; font-family: inherit }
.input-prefix-wrap { position: relative }
.input-prefix { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; pointer-events: none }
.form-hint { font-size: var(--xs); color: var(--muted); margin-top: .375rem; display: flex; justify-content: space-between }
.form-hint span { font-weight: 600; color: var(--ink) }
.field-error { color: var(--red); font-size: var(--xs); margin-top: .5rem; display: none }
.field-error.visible { display: block }
.form-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; gap: 1rem; flex-wrap: wrap }
.form-actions .btn { min-width: 140px; display: inline-flex; align-items: center; gap: .5rem }
.form-actions .btn i { width: 18px; height: 18px }
.btn-next:not(:disabled) { background: var(--blue); color: #fff }
.btn-next:disabled { opacity: .45; cursor: not-allowed; pointer-events: none }
.btn-submit:not(:disabled) { background: var(--green); color: #fff }
.btn-submit:disabled { opacity: .45; cursor: not-allowed; pointer-events: none }

.category-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .75rem }
.cat-option { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 1.25rem .75rem; border: 2px solid var(--line); border-radius: var(--r); cursor: pointer; transition: all .2s; text-align: center; background: var(--card); color: var(--ink) }
.cat-option:hover { border-color: var(--blue); background: var(--blue-light) }
.cat-option.selected { border-color: var(--blue); background: var(--blue); color: #fff }
.cat-option i { width: 32px; height: 32px }
.cat-option.selected i { color: #fff }
.cat-option span { font-size: var(--xs); font-weight: 600 }

.autocomplete-wrap { position: relative }
.autocomplete-dropdown { position: absolute; top: 100%; left: 0; right: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--rs); box-shadow: 0 8px 24px rgba(44, 58, 77, .12); z-index: 100; max-height: 240px; overflow-y: auto; display: none; margin-top: .25rem }
.autocomplete-dropdown.open { display: block }
.autocomplete-item { padding: .75rem 1rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background .15s; gap: .5rem }
.autocomplete-item:hover, .autocomplete-item.active { background: var(--blue-light) }
.autocomplete-item strong { font-weight: 600 }
.autocomplete-item small { color: var(--muted); font-size: var(--xs) }

.upload-area { border: 2px dashed var(--line); border-radius: var(--r); padding: 2.5rem 1rem; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; background: var(--card) }
.upload-area:hover, .upload-area.dragover { border-color: var(--blue); background: var(--blue-light) }
.upload-area i { width: 48px; height: 48px; color: var(--blue); margin: 0 auto .75rem }
.upload-area p { margin: 0 0 .25rem; font-weight: 600; color: var(--ink) }
.upload-area small { color: var(--muted); font-size: var(--xs) }
.upload-link { color: var(--blue); cursor: pointer; font-weight: 600; text-decoration: underline }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: .75rem; margin-top: 1rem }
.photo-item { position: relative; border-radius: var(--rs); overflow: hidden; aspect-ratio: 1; background: var(--pale); border: 2px solid transparent }
.photo-item img { width: 100%; height: 100%; object-fit: cover }
.photo-item .remove-btn { position: absolute; top: .25rem; right: .25rem; width: 26px; height: 26px; background: rgba(0, 0, 0, .7); color: #fff; border: none; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background .2s }
.photo-item .remove-btn:hover { background: var(--red) }
.photo-item .remove-btn i { width: 14px; height: 14px }
.photo-item .main-badge { position: absolute; bottom: .25rem; left: .25rem; background: var(--blue); color: #fff; font-size: .6875rem; font-weight: 700; padding: .125rem .375rem; border-radius: 4px }

.field-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem }

.preview-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--rl); overflow: hidden; margin-bottom: 2rem }
.preview-photos { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2px; max-height: 320px }
.preview-photo { background: var(--pale); overflow: hidden; min-height: 80px }
.preview-photo:first-child { grid-row: span 2 }
.preview-photo img { width: 100%; height: 100%; object-fit: cover }
.preview-photo-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted) }
.preview-photo-placeholder i { width: 48px; height: 48px }
.preview-content { padding: 1.5rem }
.preview-category { display: inline-block; font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--blue); background: var(--blue-light); padding: .25rem .625rem; border-radius: 4px; margin-bottom: .5rem }
.preview-title { font-size: var(--xl); font-weight: 800; margin: 0 0 .5rem; line-height: 1.2 }
.preview-price { font-size: var(--lg); font-weight: 700; color: var(--blue); margin: 0 0 1rem }
.preview-description { color: var(--muted); line-height: 1.7; margin: 0 0 1rem; font-size: var(--sm) }
.preview-location { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: var(--sm); margin-bottom: 1rem }
.preview-location i { width: 16px; height: 16px }
.preview-attributes { display: flex; flex-wrap: wrap; gap: .5rem }
.preview-attr { display: inline-flex; align-items: center; gap: .375rem; padding: .375rem .75rem; background: var(--pale); border-radius: 999px; font-size: var(--xs); font-weight: 500 }
.preview-attr i { width: 14px; height: 14px; color: var(--blue) }

.terms-agree .modal-terms { margin: 0 }
.terms-agree .field-error { margin-top: .75rem }

.moderation-modal-overlay, .submit-modal-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1rem }
.moderation-modal, .submit-modal { background: var(--card); border-radius: var(--rl); padding: 3rem 2rem; text-align: center; max-width: 440px; width: 100%; box-shadow: var(--shadow-lg) }
.moderation-icon, .submit-icon { width: 80px; height: 80px; margin: 0 auto 1.5rem; border-radius: 50%; display: grid; place-items: center }
.moderation-icon { background: #fef3c7; color: #d97706 }
.submit-icon { background: #d1fae5; color: var(--green) }
.moderation-icon i, .submit-icon i { width: 40px; height: 40px }
.moderation-modal h2, .submit-modal h2 { font-size: var(--xl); font-weight: 800; margin: 0 0 .75rem; color: var(--ink) }
.moderation-modal p, .submit-modal p { color: var(--muted); line-height: 1.7; margin: 0 0 2rem }
.moderation-steps { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-bottom: 2rem; flex-wrap: wrap }
.moderation-step { display: flex; flex-direction: column; align-items: center; gap: .375rem }
.step-num { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-weight: 700; font-size: var(--sm); background: var(--card); color: var(--muted) }
.moderation-step.active .step-num { border-color: var(--green); background: var(--green); color: #fff }
.step-connector { width: 40px; height: 2px; background: var(--line); margin-bottom: 1rem }
.submit-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap }

/* ---------- 19. Detail page ---------- */
.detail-section { padding: var(--sp-lg) 0 }
.detail-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start }
.detail-images { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 88px }
.main-image { width: 100%; aspect-ratio: 4/3; background: var(--pale); border-radius: var(--rl); overflow: hidden; border: 1px solid var(--line) }
.main-image img { width: 100%; height: 100%; object-fit: cover }
.thumbnail-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem }
.thumbnail { aspect-ratio: 1; background: var(--pale); border: 2px solid transparent; border-radius: var(--r); overflow: hidden; cursor: pointer; padding: 0; transition: border-color .2s, transform .2s }
.thumbnail:hover { transform: translateY(-2px) }
.thumbnail.active { border-color: var(--blue) }
.thumbnail img { width: 100%; height: 100%; object-fit: cover }

.detail-header { margin-bottom: 1.5rem }
.detail-meta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem }
.category-tag, .date-tag { display: inline-flex; align-items: center; gap: .375rem; padding: .375rem .75rem; background: var(--pale); border-radius: 999px; font-size: var(--xs); font-weight: 600; color: var(--ink); transition: background .2s, color .2s }
.category-tag { color: var(--blue); background: var(--blue-light) }
.category-tag:hover { background: var(--blue); color: #fff }
.category-tag i, .date-tag i { width: 14px; height: 14px }
.title-row { display: flex; align-items: flex-start; gap: 1rem; justify-content: space-between; margin-bottom: .75rem }
.detail-title { font-size: var(--2xl); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 0; flex: 1 }
.title-favorite { flex-shrink: 0; width: 44px; height: 44px }
.detail-location { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: var(--sm); margin-bottom: 1rem }
.detail-location i { color: var(--orange); width: 18px; height: 18px }
.detail-price { font-size: var(--3xl); font-weight: 800; color: var(--blue); margin: 0; letter-spacing: -.02em }
.detail-stats { display: flex; gap: 1.5rem; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 1.5rem }
.stat-item { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: var(--sm); font-weight: 500 }
.stat-item i { width: 18px; height: 18px; color: var(--blue) }

.message-section { margin-bottom: 1.5rem }
.btn-contact { width: 100%; height: 56px; font-size: var(--base) }
.message-form { background: var(--pale); border-radius: var(--rl); padding: 1.5rem; margin-top: 1rem; display: flex; flex-direction: column; gap: 1rem }
.message-form[hidden] { display: none }
.message-form-title { display: flex; align-items: center; gap: .5rem; font-size: var(--lg); font-weight: 700; margin: 0 0 .5rem }
.message-form-title i { width: 20px; height: 20px; color: var(--blue) }
.message-form .field { background: var(--card); height: auto; min-height: 56px; padding: .75rem 1rem; align-items: flex-start }
.message-form .field i { margin-top: .125rem }
.message-form textarea { padding: .25rem 0; min-height: 100px }
.message-form-actions { display: flex; gap: .75rem; flex-wrap: wrap }
.message-form-actions .btn { flex: 1; min-width: 120px }

.seller-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--rl); padding: 1.5rem; margin-bottom: 1.5rem }
.seller-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem }
.seller-avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), #8b5cf6); color: #fff; display: grid; place-items: center; overflow: hidden; flex-shrink: 0 }
.seller-avatar img { width: 100%; height: 100%; object-fit: cover }
.seller-avatar i { width: 28px; height: 28px }
.seller-info { flex: 1; min-width: 0 }
.seller-name { font-size: var(--base); font-weight: 700; margin: 0 0 .125rem }
.seller-joined { font-size: var(--xs); color: var(--muted); margin: 0 }
.seller-rating { display: flex; align-items: center; gap: .25rem; color: var(--orange); font-weight: 700; font-size: var(--sm) }
.seller-rating i { width: 16px; height: 16px; fill: currentColor; stroke: currentColor }
.btn-seller { width: 100%; justify-content: center }

.location-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--rl); overflow: hidden; margin-bottom: 1.5rem }
.location-card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--line); flex-wrap: wrap }
.location-card-head h3 { display: flex; align-items: center; gap: .5rem; font-size: var(--base); font-weight: 700; margin: 0 }
.location-card-head h3 i { width: 20px; height: 20px; color: var(--blue) }
.location-tag { font-size: var(--xs); color: var(--muted); background: var(--pale); padding: .25rem .625rem; border-radius: 999px }
.map-wrap { width: 100%; aspect-ratio: 16/10 }
.osm-map { width: 100%; height: 100%; border: 0; display: block }
.location-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.5rem; background: var(--pale); flex-wrap: wrap }
.btn-osm { display: inline-flex; align-items: center; gap: .375rem; padding: .5rem 1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--rs); color: var(--ink); font-weight: 600; font-size: var(--sm); transition: border-color .2s, color .2s }
.btn-osm:hover { border-color: var(--blue); color: var(--blue) }
.btn-osm i { width: 14px; height: 14px }
.osm-attrib { font-size: var(--xs); color: var(--muted) }
.osm-attrib a { color: var(--blue); text-decoration: underline }

.description-section { padding: var(--sp-xl) 0 }
.description-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--rl); padding: 2rem; max-width: 900px; margin: 0 auto }
.description-card h2 { display: flex; align-items: center; gap: .5rem; font-size: var(--xl); font-weight: 800; margin: 0 0 1.25rem }
.description-card h2 i { width: 22px; height: 22px; color: var(--blue) }
.description-content { color: var(--ink); line-height: 1.8; font-size: var(--base); white-space: pre-wrap; word-wrap: break-word }

.similar-section { padding: var(--sp-2xl) 0; background: var(--pale) }

/* ---------- 20. Filter bar (all.php) ---------- */
.filter-bar { background: var(--pale); padding: 1.5rem 0; border-bottom: 1px solid var(--line) }
.filter-toggle-wrap { display: flex; justify-content: center }
.filter-toggle { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.25rem; background: var(--card); border: 1px solid var(--line); border-radius: 999px; font-weight: 600; cursor: pointer; transition: all .2s }
.filter-toggle:hover { border-color: var(--blue); color: var(--blue) }
.filter-toggle i { width: 18px; height: 18px }
.filter-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 10px; background: var(--blue); color: #fff; font-size: var(--xs); font-weight: 700; padding: 0 6px }
.filter-chevron { transition: transform .2s }
.filter-panel-section { padding: 0 0 1.5rem; background: var(--pale) }
.filter-panel-section[hidden] { display: none }
.filter-panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem }
.filter-panel-header h2 { margin: 0; font-size: var(--lg) }
.filter-close { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; transition: background .2s }
.filter-close:hover { background: var(--pale) }
.filter-actions { display: flex; gap: .75rem; flex-wrap: wrap }

.sort-wrapper { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap }
.sort-label { display: flex; align-items: center; gap: .375rem; color: var(--muted); font-size: var(--sm) }
.sort-label i { width: 16px; height: 16px }
.sort-select { height: 44px; padding: 0 2.5rem 0 1rem; border: 1px solid var(--line); border-radius: var(--rs); background-color: var(--card); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; appearance: none; -webkit-appearance: none; font-size: var(--sm); cursor: pointer }
.results-count { color: var(--muted); margin: 0 0 1.5rem; font-size: var(--sm) }
.results-count strong { color: var(--ink) }

/* ---------- 21. Pagination ---------- */
.pagination { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 3rem; flex-wrap: wrap }
.pagination-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .625rem 1rem; border: 1px solid var(--line); border-radius: var(--rs); font-size: var(--sm); font-weight: 600; color: var(--ink); transition: border-color .2s, background .2s }
.pagination-btn:hover { border-color: var(--blue); background: var(--blue-light); color: var(--blue) }
.pagination-btn i { width: 16px; height: 16px }
.pagination-pages { display: flex; gap: .25rem }
.pagination-page { min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--rs); font-weight: 600; font-size: var(--sm); color: var(--ink); transition: all .2s }
.pagination-page:hover { border-color: var(--blue); background: var(--blue-light); color: var(--blue) }
.pagination-page.active { background: var(--blue); color: #fff; border-color: var(--blue) }
.pagination-ellipsis { display: grid; place-items: center; padding: 0 .5rem; color: var(--muted) }

/* ---------- 22. Empty / alert ---------- */
.empty-state { text-align: center; padding: 4rem 2rem; color: var(--muted); grid-column: 1 / -1 }
.empty-state i { width: 64px; height: 64px; color: var(--line-2); margin: 0 auto 1rem }
.empty-state h3 { font-size: var(--xl); color: var(--ink); margin: 0 0 .5rem }
.empty-state p { margin: 0 0 1.5rem }
.empty-state .btn { display: inline-flex }
.empty-page { min-height: 60vh; display: flex; align-items: center; padding: 4rem 0 }

.alert { display: flex; align-items: flex-start; gap: .75rem; padding: 1rem 1.25rem; border-radius: var(--r); margin-bottom: 1.5rem }
.alert i { width: 24px; height: 24px; flex-shrink: 0 }
.alert ul { margin: .25rem 0 0; padding-left: 1.25rem }
.alert p { margin: .5rem 0 0 }
.alert-success { background: #d1fae5; border: 1px solid #6ee7b7; color: #065f46 }
.alert-success i { color: #047857 }
.alert-success strong { color: #064e3b }
.alert-error { background: #fee2e2; border: 1px solid #fca5a5; color: #991b1b }
.alert-error i { color: #b91c1c }
.alert-error strong { color: #7f1d1d }
.alert-info { background: #dbeafe; border: 1px solid #93c5fd; color: #1e40af }
.alert-warning { background: #fef3c7; border: 1px solid #fcd34d; color: #92400e }

/* ---------- 23. Page hero (about, contact, etc.) ---------- */
.page-hero { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, var(--blue) 100%); padding: 3rem 0 4rem; color: #fff; position: relative; overflow: hidden }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, .15), transparent 50%); pointer-events: none }
.page-hero-small { padding: 2.5rem 0 3rem }
.breadcrumb-nav { display: flex; align-items: center; gap: .5rem; font-size: var(--sm); margin-bottom: 1.5rem; position: relative; z-index: 1; flex-wrap: wrap }
.breadcrumb-nav i { width: 14px; height: 14px; opacity: .6 }
.breadcrumb-nav a { opacity: .7; transition: opacity .2s; color: #fff }
.breadcrumb-nav a:hover { opacity: 1 }
.breadcrumb-nav span { opacity: 1; font-weight: 500 }
.page-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; margin: 0 0 1rem; letter-spacing: -.03em; position: relative; z-index: 1 }
.page-title .highlight { color: var(--orange) }
.page-subtitle { font-size: var(--lg); opacity: .9; max-width: 600px; line-height: 1.6; margin: 0; position: relative; z-index: 1 }
.page-subtitle a { color: var(--orange); text-decoration: underline }

.content-section { padding: var(--sp-2xl) 0 }
.content-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center }
.content-text .eyebrow { margin-bottom: .75rem; display: block }
.content-text h2 { font-size: var(--2xl); font-weight: 800; margin: 0 0 1.25rem; line-height: 1.2 }
.content-text p { color: var(--muted); line-height: 1.8; margin: 0 0 1rem; font-size: var(--base) }
.content-text strong { color: var(--ink); font-weight: 700 }

.visual-card { background: linear-gradient(135deg, var(--blue-light) 0%, #f0fdf4 100%); border-radius: var(--rl); padding: 2.5rem 2rem; text-align: center; border: 1px solid var(--line) }
.visual-icon { width: 72px; height: 72px; margin: 0 auto 1.25rem; background: var(--blue); border-radius: 20px; display: grid; place-items: center; color: #fff }
.visual-icon i { width: 36px; height: 36px }
.visual-card h3 { font-size: var(--xl); font-weight: 800; margin: 0 0 .75rem }
.visual-card p { color: var(--muted); margin: 0; line-height: 1.7 }

.mission-section, .values-section { padding: var(--sp-2xl) 0 }
.mission-section { background: var(--pale); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line) }
.values-section { background: var(--card) }
.mission-text { color: var(--muted); max-width: 600px; margin: 1rem auto 0; font-size: var(--lg); line-height: 1.8 }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-top: var(--sp-xl) }
.stat-card { background: var(--card); border-radius: var(--rl); padding: 2rem 1.5rem; text-align: center; border: 1px solid var(--line); transition: box-shadow .25s, transform .25s }
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px) }
.stat-number { display: block; font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; color: var(--blue); line-height: 1; margin-bottom: .5rem; letter-spacing: -.03em }
.stat-label { display: block; font-size: var(--lg); font-weight: 700; color: var(--ink); margin-bottom: .375rem }
.stat-desc { display: block; font-size: var(--sm); color: var(--muted) }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: var(--sp-xl) }
.value-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--rl); padding: 1.75rem 1.5rem; transition: box-shadow .25s, transform .25s, border-color .25s }
.value-card:hover { border-color: var(--blue); box-shadow: 0 8px 28px rgba(37, 99, 235, .1); transform: translateY(-3px) }
.value-icon { width: 52px; height: 52px; background: linear-gradient(135deg, var(--blue-light) 0%, #dbeafe 100%); border-radius: 14px; display: grid; place-items: center; margin-bottom: 1rem; color: var(--blue); transition: background .25s, color .25s }
.value-card:hover .value-icon { background: var(--blue); color: #fff }
.value-icon i { width: 26px; height: 26px }
.value-card h3 { font-size: var(--lg); font-weight: 700; margin: 0 0 .625rem }
.value-card p { color: var(--muted); margin: 0; line-height: 1.7; font-size: var(--sm) }

.section-intro { color: var(--muted); max-width: 600px; margin: .75rem auto 0 }

/* ---------- 24. FAQ ---------- */
.faq-section { padding: var(--sp-2xl) 0 }
.faq-search { margin-bottom: 2rem }
.faq-filters { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.5rem }
.faq-chip { padding: .5rem 1.25rem; border: 1px solid var(--line); background: var(--card); border-radius: 999px; font-size: var(--sm); font-weight: 600; color: var(--ink); cursor: pointer; transition: all .2s }
.faq-chip:hover { border-color: var(--blue); color: var(--blue) }
.faq-chip.active { background: var(--blue); color: #fff; border-color: var(--blue) }
.faq-category { margin-bottom: 3rem }
.faq-category-title { display: flex; align-items: center; gap: .5rem; font-size: var(--xl); font-weight: 800; margin: 0 0 1.25rem; padding-bottom: .75rem; border-bottom: 2px solid var(--line) }
.faq-category-title i { width: 22px; height: 22px; color: var(--blue) }
.faq-list { display: flex; flex-direction: column; gap: .75rem }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s, box-shadow .2s }
.faq-item[open] { border-color: var(--blue); box-shadow: 0 4px 16px rgba(37, 99, 235, .08) }
.faq-question { padding: 1.25rem 1.5rem; font-weight: 600; cursor: pointer; list-style: none; position: relative; transition: background .2s; padding-right: 3.5rem }
.faq-question::-webkit-details-marker { display: none }
.faq-question::before { content: '+'; position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 300; color: var(--blue); transition: transform .2s }
.faq-item[open] .faq-question::before { content: '−' }
.faq-question:hover { background: var(--pale) }
.faq-answer { padding: 0 1.5rem 1.25rem; color: var(--muted); line-height: 1.8; font-size: var(--sm) }

/* ---------- 25. Team ---------- */
.team-section { padding: var(--sp-2xl) 0 }
.ops-section { background: var(--pale) }
.founders-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; margin-top: var(--sp-xl) }
.founder-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--rl); padding: 2rem 1.5rem; text-align: center; transition: box-shadow .25s, transform .25s, border-color .25s }
.founder-card:hover { box-shadow: 0 12px 32px rgba(44, 58, 77, .1); transform: translateY(-4px); border-color: var(--blue) }
.founder-avatar { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 1rem; display: grid; place-items: center; color: #fff; font-size: var(--xl); font-weight: 800; letter-spacing: -.02em }
.founder-name { font-size: var(--lg); font-weight: 800; margin: 0 0 .25rem }
.founder-role { color: var(--blue); font-weight: 600; font-size: var(--sm); margin: 0 0 .75rem }
.founder-desc { color: var(--muted); line-height: 1.7; font-size: var(--sm); margin: 0 0 1rem }
.founder-social { display: flex; gap: .5rem; justify-content: center }
.founder-social a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); transition: all .2s }
.founder-social a:hover { border-color: var(--blue); color: var(--blue) }
.founder-social i { width: 16px; height: 16px }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: var(--sp-xl) }
.team-member { background: var(--card); border: 1px solid var(--line); border-radius: var(--rl); padding: 1.5rem 1rem; text-align: center; transition: box-shadow .25s, transform .25s }
.team-member:hover { box-shadow: 0 8px 24px rgba(44, 58, 77, .08); transform: translateY(-3px) }
.member-avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; margin: 0 auto .75rem; display: grid; place-items: center; font-weight: 700; font-size: var(--lg) }
.member-name { font-size: var(--base); font-weight: 700; margin: 0 0 .25rem }
.member-role { color: var(--blue); font-size: var(--xs); font-weight: 600; margin: 0 0 .5rem }
.member-desc { color: var(--muted); font-size: var(--xs); line-height: 1.6; margin: 0 }

/* ---------- 26. Legal ---------- */
.legal-section { padding: var(--sp-2xl) 0; background: var(--pale) }
.legal-article { max-width: 800px; margin: 0 auto; background: var(--card); padding: 2.5rem; border-radius: var(--rl); box-shadow: 0 4px 24px rgba(44, 58, 77, .05) }
.legal-article h2 { display: flex; align-items: center; gap: .5rem; font-size: var(--lg); font-weight: 800; margin: 2rem 0 1rem; color: var(--ink) }
.legal-article h2:first-of-type { margin-top: 0 }
.legal-article h2 i { width: 18px; height: 18px; color: var(--blue) }
.legal-article p { color: var(--ink); line-height: 1.8; margin: 0 0 1rem }
.legal-article ul { padding-left: 1.5rem; line-height: 1.8; color: var(--ink); list-style: disc }
.legal-article ul li { margin-bottom: .5rem }
.legal-article a { color: var(--blue); font-weight: 600 }
.legal-lead { font-size: var(--lg); color: var(--ink); font-weight: 500; line-height: 1.7; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem }
.legal-card { background: var(--pale); border-left: 3px solid var(--blue); padding: 1.25rem 1.5rem; border-radius: 0 var(--rs) var(--rs) 0; margin: 1rem 0 }
.legal-card p { margin: 0 0 .25rem }
.legal-card p:last-child { margin: 0 }
.legal-footer { margin-top: 2rem; padding-top: 1.5rem; border-bottom: 0; border-top: 1px solid var(--line); color: var(--muted); text-align: center; font-size: var(--sm) }

/* ---------- 27. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--rl); padding: 1.5rem; text-align: center; transition: border-color .2s, box-shadow .2s }
.contact-card:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(37, 99, 235, .08) }
.contact-icon { width: 56px; height: 56px; margin: 0 auto .75rem; background: linear-gradient(135deg, var(--blue-light), #dbeafe); border-radius: 16px; display: grid; place-items: center; color: var(--blue) }
.contact-icon i { width: 28px; height: 28px }
.contact-card h3 { font-size: var(--base); font-weight: 700; margin: 0 0 .25rem }
.contact-card p { color: var(--muted); font-size: var(--sm); margin: 0 0 .5rem }
.contact-card a, .contact-card span { color: var(--blue); font-weight: 600; font-size: var(--sm) }
.contact-form-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--rl); padding: 2rem }
.contact-form { display: flex; flex-direction: column; gap: 1rem }
.contact-form .form-row { display: grid; grid-template-columns: 1fr; gap: 1rem }
.contact-form-terms { display: flex; align-items: flex-start; gap: .5rem; font-size: var(--sm); color: var(--muted) }
.contact-form-terms input { margin-top: .25rem; accent-color: var(--blue) }
.contact-form-terms a { color: var(--blue); font-weight: 600 }
.message-field { align-items: flex-start !important; padding: .75rem 1rem !important; height: auto !important }
.message-field i { margin-top: .25rem }
.message-field textarea { border: 0; outline: 0; width: 100%; background: transparent; font-size: var(--base); resize: vertical; min-height: 100px; font-family: inherit }

/* ---------- 28. 404 / 500 / 403 ---------- */
.error-page { min-height: 60vh; display: flex; align-items: center; padding: 4rem 0 }
.error-content { text-align: center; max-width: 600px; margin: 0 auto }
.error-code { font-size: clamp(6rem, 20vw, 12rem); font-weight: 900; color: var(--line); line-height: 1; margin-bottom: 1rem; letter-spacing: -.04em }
.error-title { font-size: var(--2xl); font-weight: 800; margin-bottom: 1rem }
.error-message { color: var(--muted); line-height: 1.8; margin-bottom: 2rem }
.error-search { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem }
.error-search input { height: 52px; border: 1.5px solid var(--line); border-radius: var(--rs); padding: 0 1rem; font-size: var(--base); min-width: 250px; flex: 1; max-width: 400px }
.error-search input:focus { outline: 0; border-color: var(--blue); box-shadow: var(--ring) }
.error-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap }

/* ---------- 29. Responsive ---------- */
@media (min-width: 640px) {
  .cookie-prefs-card { padding: 2rem 2rem 1.5rem }
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; text-align: left }
  .regions-grid { grid-template-columns: repeat(2, 1fr) }
  .preview-photos { grid-template-columns: 2fr 1fr 1fr; max-height: 360px }
}
@media (min-width: 768px) {
  .links { position: static; display: flex; flex-direction: row; gap: 2rem; padding: 0; box-shadow: none; background: transparent }
  .links a { padding: 0; border: 0 }
  .links a:hover, .links a.active { color: var(--blue) }
  .login { display: flex }
  .post { display: inline-flex }
  .menu-btn { display: none }
  .hero { padding: 3.5rem 0 4rem }
  .hero-inner { grid-template-columns: 1.1fr .9fr; gap: 2.5rem }
  .heading-row { flex-direction: row; align-items: flex-end }
  .heading-row .btn { width: auto }
  .price { grid-template-columns: 1fr auto 1fr; text-align: left }
  .price span { display: block }
  .footer-main { grid-template-columns: repeat(4, 1fr) }
  .quick-cats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) }
  .content-grid { grid-template-columns: 1.1fr .9fr }
  .contact-grid { grid-template-columns: 1fr 1.4fr; gap: 4rem }
  .contact-form .form-row { grid-template-columns: 1fr 1fr }
  .regions-grid { grid-template-columns: repeat(3, 1fr) }
  .regions-outremer .regions-grid { grid-template-columns: repeat(5, 1fr) }
  .cookie-inner { grid-template-columns: 1fr auto; gap: 2rem }
  .cookie-actions { justify-content: flex-end }
  .stats-cards { grid-template-columns: repeat(4, 1fr) }
  .account-panel { padding: 2rem }
  .account-layout { grid-template-columns: 280px 1fr; gap: 2rem }
  .account-form .form-row { grid-template-columns: 1fr 1fr }
  .thumbnail-row { grid-template-columns: repeat(5, 1fr) }
  .detail-grid { grid-template-columns: 1.2fr 1fr }
}
@media (min-width: 900px) {
  .account-sidebar { position: sticky }
  .account-layout { grid-template-columns: 280px 1fr; gap: 2rem }
}
@media (min-width: 1024px) {
  .hero { padding: 4rem 0 5rem }
  .hero-inner { grid-template-columns: 1.15fr 1fr; gap: 4rem }
  .quick-cats { grid-template-columns: repeat(5, 1fr) }
  .regions-grid { grid-template-columns: repeat(4, 1fr) }
  .regions-outremer .regions-grid { grid-template-columns: repeat(5, 1fr) }
}
@media (max-width: 767px) {
  .account-sidebar { position: static }
  .region-card-icon { width: 40px; height: 40px }
  .region-card-icon i { width: 20px; height: 20px }
  .detail-images { position: static }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important }
}

/* ---------- 30. Print ---------- */
@media print {
  header, footer, .cookie-banner, .cookie-prefs, .modal-overlay, .toast, .btn { display: none !important }
  body { background: #fff; color: #000 }
  a { color: #000; text-decoration: underline }
}
