/* ═══════════════════════════════════════════════════════════════
   GuDSell — Extension de l'univers GuDeal
   Couleur primaire : #E07820 (orange)
   Charge ce fichier APRÈS gudeal.css
   ═══════════════════════════════════════════════════════════════ */

:root {
  --gs-orange:      #E07820;
  --gs-orange-dark: #8B3F0A;
  --gs-orange-light:#FEF3E8;
  --gs-orange-mid:  #F0912A;
  --gs-dark:        #1A1206;
  --gs-green:       #5DAF2B;
}

/* ── Nav active state GuDSell ───────────────────────────────── */
.nav-link.gs-active { color: var(--gs-orange) !important; }
.nav-link.gs-active::after { background: var(--gs-orange) !important; }

/* ── Sub-nav barre contextuelle ─────────────────────────────── */
.gs-subnav { background: var(--gs-orange-light); border-bottom: 1px solid rgba(224,120,32,0.2); }
.gs-subnav .container { padding-top: 0; padding-bottom: 0; }
.gs-subnav-inner { display: flex; align-items: center; gap: 12px; padding: 8px 0; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.gs-subnav-inner::-webkit-scrollbar { display: none; }
.gs-subnav-title { font-family: var(--font-head); font-weight: 900; font-size: 15px; color: var(--gs-orange); white-space: nowrap; margin-right: 4px; }
.gs-subnav-link { font-size: 13px; font-weight: 700; color: #888; text-decoration: none; padding: 4px 10px; border-radius: 20px; transition: all 0.2s; white-space: nowrap; font-family: var(--font-head); }
.gs-subnav-link:hover, .gs-subnav-link.active { background: var(--gs-orange); color: white; }

/* ── Hero GuDSell ───────────────────────────────────────────── */
.gs-hero { background: linear-gradient(140deg, #1a1206 0%, #2d1f08 50%, #0f1a2e 100%); }
.gs-hero .hero-eyebrow { background: var(--gs-orange); color: white; border-radius: 20px; padding: 5px 16px; display: inline-block; font-size: 12px; font-weight: 800; margin-bottom: 18px; letter-spacing: 0.5px; font-family: var(--font-head); }
.gs-hero h1 .accent { color: var(--gs-orange); }
.gs-hero .hero-inner { text-align: center; }

/* ── Barre de recherche ─────────────────────────────────────── */
.gs-search { display: flex; background: white; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,0.25); max-width: 540px; margin: 28px auto; }
.gs-search input { flex: 1; padding: 14px 20px; border: none; outline: none; font-size: 15px; font-family: var(--font-body); color: #1a1a1a; }
.gs-search button { background: var(--gs-orange); color: white; border: none; padding: 14px 24px; cursor: pointer; font-weight: 800; font-size: 15px; font-family: var(--font-head); transition: background 0.2s; white-space: nowrap; }
.gs-search button:hover { background: var(--gs-orange-mid); }

/* ── Trust bar hero ─────────────────────────────────────────── */
.gs-trust { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 24px; }
.gs-trust-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.8); font-size: 13px; font-family: var(--font-head); font-weight: 600; }
.gs-trust-icon { font-size: 20px; }

/* ── Boutons GuDSell ────────────────────────────────────────── */
.btn-gs { background: var(--gs-orange); color: white; border: none; padding: 13px 26px; border-radius: var(--radius-lg); font-family: var(--font-head); font-weight: 800; font-size: 15px; cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; line-height: 1; }
.btn-gs:hover { background: var(--gs-orange-mid); transform: translateY(-1px); }
.btn-gs-lg { font-size: 17px; padding: 16px 36px; }
.btn-gs-full { width: 100%; }
.btn-gs-outline { background: transparent; color: var(--gs-orange); border: 2px solid var(--gs-orange); padding: 11px 24px; border-radius: var(--radius-lg); font-family: var(--font-head); font-weight: 700; font-size: 15px; cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn-gs-outline:hover { background: var(--gs-orange-light); }
.btn-gs-green { background: var(--gs-green); }
.btn-gs-green:hover { background: #4a9422; }

/* ── Grille catégories ──────────────────────────────────────── */
.gs-cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 600px) { .gs-cat-grid { grid-template-columns: repeat(2, 1fr); } }
.gs-cat-item { background: white; border-radius: var(--radius-lg); padding: 18px 10px 14px; text-align: center; cursor: pointer; border: 2px solid transparent; transition: all 0.2s; text-decoration: none; color: inherit; display: flex; flex-direction: column; align-items: center; gap: 8px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.gs-cat-item:hover, .gs-cat-item.active { border-color: var(--gs-orange); background: var(--gs-orange-light); }
.gs-cat-icon { font-size: 30px; }
.gs-cat-name { font-size: 12px; font-family: var(--font-head); font-weight: 700; color: #444; line-height: 1.3; }
@media (max-width: 480px) { .gs-cat-item { padding: 12px 6px 10px; } .gs-cat-icon { font-size: 26px; } }

/* ── Listing Grid ───────────────────────────────────────────── */
.listing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 600px) { .listing-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .listing-grid { grid-template-columns: repeat(4, 1fr); } }
.listing-grid-3 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 600px) { .listing-grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ── Listing Card ───────────────────────────────────────────── */
.listing-card { background: white; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; color: inherit; display: flex; flex-direction: column; box-shadow: 0 1px 6px rgba(0,0,0,0.08); }
.listing-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.listing-photo { width: 100%; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; font-size: 42px; position: relative; flex-shrink: 0; }
.listing-body { padding: 10px 12px 12px; flex: 1; display: flex; flex-direction: column; }
.listing-badges { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 5px; }
.ls-badge { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 10px; text-transform: uppercase; letter-spacing: 0.3px; }
.ls-badge.new-item   { background: #E3F2FD; color: #1565C0; }
.ls-badge.used       { background: #F5F5F5; color: #616161; }
.ls-badge.new-listing{ background: #E8F5E9; color: #2E7D32; }
.ls-badge.urgent     { background: #FFEBEE; color: #C62828; }
.ls-badge.negotiable { background: var(--gs-orange-light); color: var(--gs-orange-dark); }
.listing-price { font-size: 19px; font-weight: 900; color: var(--gs-orange); font-family: var(--font-head); margin-bottom: 2px; }
.listing-title { font-size: 13px; font-weight: 600; color: #1a1a1a; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; flex: 1; }
.listing-footer { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.listing-location { font-size: 11px; color: #999; }
.listing-date { font-size: 11px; color: #ccc; }

/* ── Photo placeholders colorés ────────────────────────────── */
.ph-phone    { background: linear-gradient(135deg,#667eea,#764ba2); }
.ph-tv       { background: linear-gradient(135deg,#2d3748,#4a5568); }
.ph-moto     { background: linear-gradient(135deg,#f6546a,#c9270d); }
.ph-table    { background: linear-gradient(135deg,#c8a96e,#8b6534); }
.ph-mac      { background: linear-gradient(135deg,#4facfe,#00f2fe); }
.ph-sofa     { background: linear-gradient(135deg,#43e97b,#38f9d7); }
.ph-washer   { background: linear-gradient(135deg,#3b82f6,#1d4ed8); }
.ph-baby     { background: linear-gradient(135deg,#f9a8d4,#ec4899); }
.ph-generator{ background: linear-gradient(135deg,#fbbf24,#d97706); }
.ph-fridge   { background: linear-gradient(135deg,#a5f3fc,#0284c7); }
.ph-bike     { background: linear-gradient(135deg,#86efac,#15803d); }
.ph-nokia    { background: linear-gradient(135deg,#fdba74,#ea580c); }

/* ── How it works (3 steps) ─────────────────────────────────── */
.gs-how-steps { display: grid; gap: 28px; }
@media (min-width: 600px) { .gs-how-steps { grid-template-columns: repeat(3, 1fr); } }
.gs-how-step { text-align: center; }
.gs-how-num { width: 54px; height: 54px; background: var(--gs-orange); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 900; font-family: var(--font-head); margin: 0 auto 14px; }
.gs-how-step h4 { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: #1a1a1a; margin-bottom: 8px; }
.gs-how-step p { font-size: 14px; color: #666; line-height: 1.6; }

/* ── Filter bar (annonces) ──────────────────────────────────── */
.gs-filter-bar { background: white; border-bottom: 1px solid #eee; padding: 12px 0; position: sticky; top: 64px; z-index: 50; }
.gs-filter-bar .container { padding-top: 0; padding-bottom: 0; }
.gs-filter-scroll { display: flex; gap: 8px; overflow-x: auto; padding: 0; scrollbar-width: none; }
.gs-filter-scroll::-webkit-scrollbar { display: none; }
.gs-filter-pill { border: 1.5px solid #e0e0e0; border-radius: 20px; padding: 7px 16px; font-size: 13px; font-weight: 700; font-family: var(--font-head); background: white; cursor: pointer; white-space: nowrap; color: #555; transition: all 0.2s; flex-shrink: 0; }
.gs-filter-pill:hover, .gs-filter-pill.active { background: var(--gs-orange); border-color: var(--gs-orange); color: white; }

/* ── Filter/sort bar ────────────────────────────────────────── */
.filter-sort-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.results-count { font-size: 14px; color: #666; }
.results-count strong { color: #1a1a1a; }
.sort-select { border: 1.5px solid #e0e0e0; border-radius: 8px; padding: 7px 14px; font-size: 13px; cursor: pointer; font-family: var(--font-body); background: white; outline: none; color: #444; }

/* ── Step progress (poster form) ────────────────────────────── */
.step-progress { display: flex; align-items: center; justify-content: center; padding: 20px 0 32px; }
.sp-item { display: flex; align-items: center; gap: 6px; }
.sp-dot { width: 32px; height: 32px; border-radius: 50%; background: #e8e8e8; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: #aaa; transition: all 0.3s; flex-shrink: 0; font-family: var(--font-head); }
.sp-dot.active { background: var(--gs-orange); color: white; box-shadow: 0 2px 10px rgba(224,120,32,0.35); }
.sp-dot.done { background: var(--gs-green); color: white; }
.sp-label { font-size: 12px; font-weight: 700; color: #bbb; font-family: var(--font-head); white-space: nowrap; }
.sp-item.active .sp-label { color: var(--gs-orange); }
.sp-item.done .sp-label { color: var(--gs-green); }
.sp-line { width: 28px; height: 2px; background: #e8e8e8; margin: 0 4px; flex-shrink: 0; transition: background 0.3s; }
.sp-line.done { background: var(--gs-green); }
@media (max-width: 480px) { .sp-label { display: none; } .sp-line { width: 18px; } }

/* ── Step panes ─────────────────────────────────────────────── */
.step-pane { display: none; }
.step-pane.active { display: block; }
.step-nav { display: flex; gap: 12px; margin-top: 28px; }
.step-nav .btn-gs { flex: 1; }
.step-nav .btn-gs-outline { flex: 0; }

/* ── Category selector (form) ───────────────────────────────── */
.cat-select-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 480px) { .cat-select-grid { grid-template-columns: repeat(2, 1fr); } }
.cat-sel-item { border: 2px solid #e8e8e8; border-radius: var(--radius-lg); padding: 16px 8px; text-align: center; cursor: pointer; transition: all 0.2s; background: white; }
.cat-sel-item:hover, .cat-sel-item.selected { border-color: var(--gs-orange); background: var(--gs-orange-light); }
.cat-sel-emoji { font-size: 28px; display: block; margin-bottom: 6px; }
.cat-sel-name { font-size: 12px; font-weight: 700; color: #444; font-family: var(--font-head); }

/* ── Condition toggle ───────────────────────────────────────── */
.condition-toggle { display: flex; gap: 12px; margin: 16px 0; }
.cond-btn { flex: 1; padding: 12px; border: 2px solid #e0e0e0; border-radius: var(--radius-lg); background: white; font-weight: 700; font-size: 14px; cursor: pointer; transition: all 0.2s; font-family: var(--font-head); color: #666; text-align: center; }
.cond-btn.selected { border-color: var(--gs-orange); background: var(--gs-orange-light); color: var(--gs-orange-dark); }

/* ── Photo upload ───────────────────────────────────────────── */
.photo-upload-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 90px); gap: 8px; }
.photo-slot { position: relative; border: 2px dashed #ccc; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; background: #fafafa; transition: all 0.2s; color: #bbb; font-size: 11px; gap: 4px; overflow: hidden; }
.photo-slot:hover:not(.photo-slot-empty) { border-color: var(--gs-orange); background: var(--gs-orange-light); color: var(--gs-orange); }
.photo-slot.photo-slot-add:hover { border-color: var(--gs-orange); background: var(--gs-orange-light); color: var(--gs-orange); }
.photo-slot.photo-slot-ghost { opacity: 0.35; cursor: default; pointer-events: none; }
.photo-slot.photo-slot-filled { border: 2px solid var(--gs-orange); padding: 0; background: #fff; cursor: default; }
.photo-slot.photo-slot-filled img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-slot:first-child { grid-column: span 2; grid-row: span 2; }
.photo-slot .slot-icon { font-size: 26px; }
.photo-slot .slot-text { font-size: 11px; color: #bbb; }
.photo-slot .main-label { font-size: 10px; font-weight: 800; text-transform: uppercase; color: var(--gs-orange); font-family: var(--font-head); }
.photo-slot-filled .main-label { position: absolute; bottom: 6px; left: 6px; background: rgba(224,120,32,0.85); color: white; border-radius: 4px; padding: 1px 6px; font-size: 9px; }
.slot-del { position: absolute; top: 5px; right: 5px; background: rgba(0,0,0,0.55); color: white; border: none; border-radius: 50%; width: 22px; height: 22px; cursor: pointer; font-size: 12px; display: flex; align-items: center; justify-content: center; padding: 0; z-index: 2; line-height: 1; }
.slot-del:hover { background: rgba(198,40,40,0.85); }
.photo-upload-grid.dragover { outline: 2px dashed var(--gs-orange); outline-offset: 4px; background: var(--gs-orange-light); border-radius: 10px; }

/* ── Step validation error ──────────────────────────────────── */
.step-error { background: #ffebee; color: #c62828; border-left: 3px solid #ef9a9a; border-radius: 6px; padding: 10px 14px; font-size: 13px; margin-top: 12px; display: none; }
.step-error.show { display: block; }

/* ── Price input ────────────────────────────────────────────── */
.price-wrap { position: relative; display: flex; align-items: center; }
.price-wrap input { padding-right: 52px !important; }
.price-suffix { position: absolute; right: 14px; font-weight: 700; color: #999; font-size: 14px; pointer-events: none; }

/* ═══════════════════════════════════════════════════════════════
   POSTER FORM — Style GuDSell premium pour tous les steps
   ═══════════════════════════════════════════════════════════════ */

.poster-step label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  color: #555;
  margin-bottom: 7px;
  letter-spacing: 0.1px;
}
.poster-step label[for] { cursor: pointer; }

.poster-step input[type="text"],
.poster-step input[type="number"],
.poster-step input[type="tel"],
.poster-step input[type="email"],
.poster-step textarea,
.poster-step select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: #1a1a1a;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.poster-step input[type="text"]:focus,
.poster-step input[type="number"]:focus,
.poster-step input[type="tel"]:focus,
.poster-step input[type="email"]:focus,
.poster-step textarea:focus,
.poster-step select:focus {
  border-color: var(--gs-orange);
  box-shadow: 0 0 0 3px rgba(224, 120, 32, 0.12);
  background: #fffdf9;
}
.poster-step input::placeholder,
.poster-step textarea::placeholder { color: #c0c0c0; }

.poster-step textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.55;
}

.poster-step select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.poster-step input[type="number"]::-webkit-outer-spin-button,
.poster-step input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.poster-step input[type="number"] { -moz-appearance: textfield; }

.poster-step .form-group { margin-bottom: 22px; }
.poster-step small {
  font-size: 11px;
  color: #bbb;
  display: block;
  margin-top: 5px;
  line-height: 1.4;
}

.poster-step-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 900;
  color: #1a1a1a;
  margin: 0 0 20px;
}

.poster-optional-block {
  background: #fafafa;
  border: 1.5px solid #f0f0f0;
  border-radius: 12px;
  padding: 20px 18px 4px;
  margin-bottom: 20px;
}
.poster-optional-block-label {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #c0c0c0;
  margin-bottom: 16px;
  display: block;
}

.negotiable-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  margin-bottom: 22px;
}
.negotiable-row:hover { border-color: var(--gs-orange); background: var(--gs-orange-light); }
.negotiable-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  cursor: pointer;
  accent-color: var(--gs-orange);
  border: none;
  border-radius: 4px;
  padding: 0;
}
.negotiable-row label {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #444;
  cursor: pointer;
  font-family: var(--font-head);
}

.poster-optional-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) { .poster-optional-grid { grid-template-columns: 1fr; } }

.cond-btn.active { border-color: var(--gs-orange); background: var(--gs-orange-light); color: var(--gs-orange-dark); }

/* ── Auth ───────────────────────────────────────────────────── */
.auth-wrap { max-width: 420px; margin: 0 auto; background: white; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.auth-tabs { display: flex; border-bottom: 2px solid #eee; margin-bottom: 24px; }
.auth-tab { flex: 1; padding: 12px; text-align: center; cursor: pointer; font-weight: 800; font-size: 15px; color: #bbb; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: all 0.2s; font-family: var(--font-head); }
.auth-tab.active { color: var(--gs-orange); border-bottom-color: var(--gs-orange); }
.auth-tab-btn { flex: 1; padding: 12px; text-align: center; cursor: pointer; font-weight: 800; font-size: 15px; color: #bbb; border: none; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: all 0.2s; font-family: var(--font-head); background: transparent; }
.auth-tab-btn.active { color: var(--gs-orange); border-bottom-color: var(--gs-orange); }
.auth-social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 16px; border-radius: var(--radius-lg); background: white; cursor: pointer; font-weight: 700; font-size: 14px; font-family: var(--font-head); transition: all 0.2s; width: 100%; }
.auth-social-btn:hover:not(:disabled) { background: #f8f8f8; }
.auth-social-btn:disabled { opacity: 0.65; cursor: not-allowed; }
.auth-divider { text-align: center; color: #bbb; font-size: 13px; margin: 18px 0; position: relative; }
.auth-divider::before, .auth-divider::after { content: ''; position: absolute; top: 50%; height: 1px; background: #eee; width: 42%; }
.auth-divider::before { left: 0; } .auth-divider::after { right: 0; }
.auth-pane { display: none; }
.auth-pane.active { display: block; }
.social-login { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.social-btn { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--radius-lg); border: 1.5px solid #e0e0e0; background: white; cursor: pointer; font-weight: 700; font-size: 14px; font-family: var(--font-head); transition: all 0.2s; width: 100%; text-align: left; }
.social-btn:hover { background: #f8f8f8; }
.social-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.or-divider { text-align: center; color: #bbb; font-size: 13px; margin: 18px 0; position: relative; }
.or-divider::before, .or-divider::after { content: ''; position: absolute; top: 50%; height: 1px; background: #eee; width: 42%; }
.or-divider::before { left: 0; } .or-divider::after { right: 0; }

/* ── Dashboard ──────────────────────────────────────────────── */
.gs-dash-layout { display: grid; gap: 24px; }
@media (min-width: 900px) { .gs-dash-layout { grid-template-columns: 220px 1fr; align-items: start; } }
.gs-dash-sidebar { background: white; border-radius: var(--radius-lg); padding: 24px 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.gs-dash-avatar { width: 64px; height: 64px; background: var(--gs-orange-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 10px; }
.gs-dash-name { text-align: center; font-family: var(--font-head); font-weight: 900; font-size: 15px; color: #1a1a1a; }
.gs-dash-since { text-align: center; font-size: 12px; color: #aaa; margin-bottom: 20px; }
.gs-dash-nav { list-style: none; padding: 0; margin: 0; }
.gs-dash-nav-item { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 8px; text-decoration: none; color: #666; font-size: 14px; font-weight: 700; transition: all 0.2s; margin-bottom: 2px; font-family: var(--font-head); }
.gs-dash-nav-item:hover, .gs-dash-nav-item.active { background: var(--gs-orange-light); color: var(--gs-orange); }
.gs-dash-logout { color: #c62828 !important; }
.gs-dash-logout:hover { background: #ffebee !important; color: #c62828 !important; }
.gs-dash-nav-item .dn-icon { font-size: 18px; }
.gs-dash-main { min-width: 0; }
.gs-dash-card { background: white; border-radius: var(--radius-lg); padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); margin-bottom: 16px; }
.gs-dash-card-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.gs-dash-card-title h3 { font-family: var(--font-head); font-weight: 900; font-size: 16px; color: #1a1a1a; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 0; }
.stat-box, .stats-box { background: var(--gs-orange-light); border-radius: 10px; padding: 16px; text-align: center; }
.stat-num, .stats-value { font-size: 30px; font-weight: 900; color: var(--gs-orange); font-family: var(--font-head); }
.stat-label, .stats-label { font-size: 12px; color: #888; margin-top: 2px; }

/* ── Ad row (dashboard) ─────────────────────────────────────── */
.ad-row { display: grid; grid-template-columns: 72px 1fr auto auto; gap: 10px; align-items: center; padding: 14px; border-radius: 10px; background: #fafafa; margin-bottom: 8px; border: 1px solid #f0f0f0; transition: background 0.2s; }
.ad-row:hover { background: #f5f5f5; }
.ad-thumb { width: 72px; height: 54px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; }
.ad-title { font-size: 13px; font-weight: 700; color: #1a1a1a; text-decoration: none; display: block; margin-bottom: 3px; line-height: 1.3; }
.ad-title:hover { color: var(--gs-orange); }
.ad-info h4 { font-size: 13px; font-weight: 700; color: #1a1a1a; margin-bottom: 3px; line-height: 1.3; }
.ad-info .ad-price { font-size: 14px; font-weight: 900; color: var(--gs-orange); font-family: var(--font-head); }
.ad-info .ad-meta { font-size: 11px; color: #aaa; }
.ad-badge { display: inline-flex; padding: 3px 10px; border-radius: 20px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.3px; font-family: var(--font-head); align-self: start; white-space: nowrap; }
.ad-status-badge { display: inline-flex; padding: 3px 9px; border-radius: 20px; font-size: 10px; font-weight: 800; text-transform: uppercase; margin-bottom: 5px; letter-spacing: 0.3px; font-family: var(--font-head); }
.ad-status-badge.active  { background: #E8F5E9; color: #2E7D32; }
.ad-status-badge.expired { background: #F5F5F5; color: #757575; }
.ad-status-badge.sold    { background: #E3F2FD; color: #1565C0; }
.ad-actions { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.ad-action { font-size: 11px; padding: 5px 10px; border-radius: 6px; border: 1px solid #e0e0e0; background: white; cursor: pointer; color: #666; font-family: var(--font-head); font-weight: 700; white-space: nowrap; transition: all 0.15s; }
.ad-action:hover { background: #f0f0f0; }
.ad-action.sold-btn { border-color: #bbdefb; color: #1565C0; }
.ad-action.sold-btn:hover { background: #e3f2fd; }
.ad-action.edit-btn { border-color: #e0e0e0; color: #555; }
.ad-action.del-btn { border-color: #ffcdd2; color: #c62828; }
.ad-action.del-btn:hover { background: #ffebee; }
.ad-actions-col { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.ad-btn { font-size: 11px; padding: 5px 10px; border-radius: 6px; border: 1px solid #e0e0e0; background: white; cursor: pointer; color: #666; font-family: var(--font-head); font-weight: 700; white-space: nowrap; transition: all 0.15s; }
.ad-btn:hover { background: #f0f0f0; }
.ad-btn.sold-btn  { border-color: #bbdefb; color: #1565C0; }
.ad-btn.sold-btn:hover  { background: #e3f2fd; }
.ad-btn.del-btn   { border-color: #ffcdd2; color: #c62828; }
.ad-btn.del-btn:hover   { background: #ffebee; }
@media (max-width: 600px) { .ad-row { grid-template-columns: 56px 1fr; } .ad-badge, .ad-actions { display: none; } }

/* ── Dashboard Tips Card ────────────────────────────────────── */
.gs-tips-card { padding: 0; overflow: hidden; }
.gs-tips-header { display: flex; align-items: center; gap: 14px; padding: 18px 20px 14px; background: linear-gradient(135deg, var(--gs-orange) 0%, #c96a16 100%); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.gs-tips-header-icon { font-size: 28px; line-height: 1; flex-shrink: 0; }
.gs-tips-title { font-family: var(--font-head); font-weight: 900; font-size: 16px; color: #fff; line-height: 1.2; }
.gs-tips-subtitle { font-size: 12px; color: rgba(255,255,255,0.82); margin-top: 3px; line-height: 1.3; }
.gs-tips-list { padding: 16px 20px 8px; display: flex; flex-direction: column; gap: 12px; }
.gs-tip-item { display: flex; align-items: flex-start; gap: 14px; padding: 12px 14px; background: var(--gs-orange-light); border-radius: 10px; border-left: 3px solid var(--gs-orange); }
.gs-tip-badge { font-size: 22px; line-height: 1; flex-shrink: 0; padding-top: 1px; }
.gs-tip-body { flex: 1; min-width: 0; }
.gs-tip-label { font-family: var(--font-head); font-weight: 800; font-size: 13px; color: #1a1a1a; margin-bottom: 3px; }
.gs-tip-desc { font-size: 12px; color: #555; line-height: 1.5; }
.gs-tips-cta-wrap { padding: 12px 20px 18px; text-align: center; }
.gs-tips-cta { display: inline-block; background: var(--gs-orange); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 13px; padding: 10px 22px; border-radius: 8px; text-decoration: none; letter-spacing: 0.2px; transition: background 0.18s, transform 0.12s; }
.gs-tips-cta:hover { background: #c96a16; transform: translateY(-1px); }
@media (max-width: 480px) { .gs-tip-desc { display: none; } .gs-tip-item { padding: 10px 12px; } }

/* ── Detail page ────────────────────────────────────────────── */
.detail-layout { display: grid; gap: 28px; }
@media (min-width: 900px) { .detail-layout { grid-template-columns: 1fr 300px; align-items: start; } }
.detail-main-photo { width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 90px; margin-bottom: 10px; overflow: hidden; }
.detail-thumbs { display: flex; gap: 8px; margin-bottom: 20px; }
.detail-thumb { width: 60px; height: 46px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 22px; cursor: pointer; border: 2px solid transparent; flex-shrink: 0; transition: border-color 0.2s; }
.detail-thumb.active { border-color: var(--gs-orange); }
.detail-price-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.detail-price { font-size: 38px; font-weight: 900; color: var(--gs-orange); font-family: var(--font-head); line-height: 1; }
.detail-title { font-size: 22px; font-weight: 900; color: #1a1a1a; font-family: var(--font-head); margin-bottom: 16px; line-height: 1.3; }
.info-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.info-table td { padding: 9px 0; font-size: 14px; border-bottom: 1px solid #f5f5f5; vertical-align: top; }
.info-table td:first-child { color: #999; width: 38%; }
.info-table td:last-child { color: #1a1a1a; font-weight: 600; }
.seller-box { background: white; border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); border-top: 4px solid var(--gs-orange); }
.seller-box h4 { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: #1a1a1a; margin-bottom: 14px; }
.seller-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.seller-avatar { width: 44px; height: 44px; background: var(--gs-orange-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.seller-name { font-family: var(--font-head); font-weight: 800; font-size: 14px; color: #1a1a1a; }
.seller-since { font-size: 12px; color: #aaa; }
.safety-note { background: #FFF8E1; border-radius: 10px; padding: 12px 16px; font-size: 13px; color: #795548; line-height: 1.6; margin-top: 16px; border-left: 3px solid #FFC107; }

/* ── Sticky contact bar (detail, mobile) ────────────────────── */
.sticky-contact { display: none; }
@media (max-width: 860px) {
  .sticky-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; bottom: 0; left: 0; right: 0; background: white; padding: 10px 16px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -2px 16px rgba(0,0,0,0.12); z-index: 100; }
  .has-sticky { padding-bottom: 80px; }
}

/* ── Bottom nav (GuDSell mobile) ────────────────────────────── */
.gs-bnav { display: none; }
@media (max-width: 768px) {
  .gs-bnav { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: white; border-top: 1px solid #ebebeb; z-index: 100; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -2px 12px rgba(0,0,0,0.06); }
  .has-bnav { padding-bottom: 68px; }
}
.gs-bnav-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px 4px 6px; text-decoration: none; color: #aaa; font-size: 10px; gap: 2px; font-family: var(--font-head); font-weight: 700; transition: color 0.2s; }
.gs-bnav-item .bi { font-size: 20px; }
.gs-bnav-item.active { color: var(--gs-orange); }
.gs-bnav-post { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; gap: 2px; padding: 4px; }
.gs-bnav-post .post-circle { width: 46px; height: 46px; background: var(--gs-orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; color: white; box-shadow: 0 3px 10px rgba(224,120,32,0.45); margin-top: -14px; }
.gs-bnav-post .post-lbl { font-size: 10px; color: var(--gs-orange); font-family: var(--font-head); font-weight: 800; }

/* ── Success screen (poster) ────────────────────────────────── */
.post-success { display: none; text-align: center; padding: 60px 20px; }
.post-success .success-icon { font-size: 72px; margin-bottom: 16px; }
.post-success h3 { font-family: var(--font-head); font-size: 24px; font-weight: 900; color: #1a1a1a; margin-bottom: 10px; }
.post-success p { font-size: 15px; color: #666; line-height: 1.7; margin-bottom: 24px; }

/* ── Misc ───────────────────────────────────────────────────── */
.gs-section-alt { background: var(--gs-orange-light); }
.gs-divider { height: 1px; background: #eee; margin: 0; }
.report-link { font-size: 12px; color: #ddd; text-align: center; margin-top: 16px; cursor: pointer; display: block; }
.report-link:hover { color: #aaa; }
.tag-pill { background: #f0f0f0; color: #555; font-size: 12px; padding: 4px 12px; border-radius: 20px; font-weight: 600; }
.preview-card { background: white; border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); border: 2px solid var(--gs-orange); margin-top: 8px; }
.preview-price { font-size: 26px; font-weight: 900; color: var(--gs-orange); font-family: var(--font-head); }
.preview-title { font-size: 16px; font-weight: 700; color: #1a1a1a; margin: 4px 0 8px; }
.preview-meta { font-size: 13px; color: #888; }

/* ================================================================
   BLOC 3 — GuDSell homepage, archive, single
   Classes manquantes par rapport au prototype
   ================================================================ */

/* ── Hero (homepage GuDSell) ──────────────────────────────────── */
.hero-content { max-width: 640px; margin: 0 auto; text-align: center; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: white;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 900;
  color: white;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero-title .accent { color: #7FD43A; }

.hero-tagline {
  font-size: clamp(14px, 2vw, 17px);
  color: rgba(255,255,255,0.88);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ── CTA Band (section finale homepage) ──────────────────────── */
.gs-cta-band {
  background: linear-gradient(135deg, var(--gs-orange) 0%, #c5620d 100%);
  padding: 64px 0;
  text-align: center;
}
.gs-cta-band h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  color: white;
  margin-bottom: 12px;
}
.gs-cta-band p {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Seller box — badge vérifié ──────────────────────────────── */
.seller-badge {
  display: inline-block;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  margin: 6px 0 14px;
}

/* ── Detail tags (single annonce) ────────────────────────────── */
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  margin-bottom: 8px;
}

/* ── Listing meta (annonces similaires) ──────────────────────── */
.listing-meta {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
  font-family: var(--font-head);
}

/* ── btn-gs-blue — appel téléphonique ────────────────────────── */
.btn-gs-blue {
  background: var(--blue);
  color: white;
  border: none;
}
.btn-gs-blue:hover { background: #163d7a; }

/* ── Section view-all link ───────────────────────────────────── */
.gs-section-view-all { text-align: center; margin-top: 32px; }

/* ================================================================
   BLOC 4 — Auth / Dashboard / Poster suppléments
   ================================================================ */

/* ── Wrapper de section ──────────────────────────────────────── */
.section-auth {
  background: linear-gradient(135deg, #f5f7fa 0%, #f0f3f8 100%);
  padding: 4rem 1rem;
  min-height: 60vh;
}
.section-dashboard {
  padding: 2rem 1rem;
  background: #f5f7fa;
  min-height: 60vh;
}

/* ── Conteneur étroit (auth, poster) ─────────────────────────── */
.container-narrow {
  max-width: 540px;
  margin: 0 auto;
  width: 100%;
}

/* ── Bouton social désactivé ─────────────────────────────────── */
.auth-social-btn--disabled {
  opacity: 0.55;
  cursor: not-allowed !important;
  pointer-events: none;
}

/* ── Vues dashboard (bascule JS) ─────────────────────────────── */
.gs-dash-view { display: block; }

/* ── Thumbnail image dans ad-row ─────────────────────────────── */
.ad-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* ── Photo slots (gudsell.js renderPhotoGrid) ────────────────── */
.photo-slot.has-photo {
  border: 2px solid var(--gs-orange);
  background: #fff;
  cursor: default;
  padding: 0;
  overflow: hidden;
}
.photo-slot.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-slot.main-photo { border-color: var(--gs-orange); }
.photo-slot.empty-slot { cursor: pointer; }
.photo-slot.empty-slot:hover {
  border-color: var(--gs-orange);
  background: var(--gs-orange-light);
}
.photo-slot-del {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: white;
  border: none;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  line-height: 1;
  padding: 0;
  transition: background 0.15s;
}
.photo-slot-del:hover { background: rgba(198,40,40,0.85); }
.photo-slot-plus {
  font-size: 24px;
  color: #ccc;
  pointer-events: none;
}
.photo-slot-main-badge {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: rgba(224,120,32,0.85);
  color: white;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 9px;
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
}

/* ── Drag-over état ──────────────────────────────────────────── */
.photo-upload-grid.drag-over {
  border: 2px dashed var(--gs-orange);
  background: var(--gs-orange-light);
  border-radius: 10px;
}

/* ── Profil form (dashboard) ─────────────────────────────────── */
#dash-view-profil .gs-dash-card hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 1.5rem 0;
}
