/* Shared footer (Importer, Trader, Vendre). Markup: site-footer.html, behaviour: site-footer.js.
   Lives at the end of #s-search, after .wrap and #seller-panel, so it follows whichever landing is shown. */
.site-footer{margin-top:clamp(40px,6vw,88px);border-top:1px solid var(--line);background:var(--surface2);color:var(--ink);font-family:var(--font-sans,"Manrope"),system-ui,sans-serif}
.sf-inner{max-width:1120px;margin:0 auto;padding:clamp(32px,5vw,56px) clamp(16px,4vw,32px) 28px}
.sf-top{display:grid;grid-template-columns:minmax(0,1fr);gap:32px 28px}
.sf-brand{max-width:36ch}
.sf-logo{display:inline-flex;align-items:center;gap:9px;text-decoration:none;color:var(--ink);font-family:var(--font-display,"Sora"),sans-serif;font-size:22px;font-weight:800;letter-spacing:-.04em}
.sf-logo img{width:34px;height:34px;display:block}
.sf-tag{margin:14px 0 0;font-size:15px;line-height:1.5;color:var(--muted);font-weight:600}
.sf-loc{display:inline-flex;align-items:center;gap:6px;margin:14px 0 0;font-size:13px;font-weight:700;color:var(--muted)}
.sf-loc ph-icon{color:#ff5400;display:inline-flex}
.sf-col{display:flex;flex-direction:column;gap:12px;min-width:0}
.sf-col h3{margin:0 0 2px;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.sf-col a{color:var(--ink);text-decoration:none;font-size:15px;font-weight:700;line-height:1.3;display:flex;flex-direction:column;gap:2px;width:fit-content}
.sf-col a:hover strong,.sf-col a:hover{color:#ff5400}
.sf-col a small,.sf-col p small{font-size:13px;font-weight:600;color:var(--muted);line-height:1.35}
.sf-col a strong{font-weight:800}
.sf-col a[aria-current="page"] strong{color:#ff5400}
.sf-col p{margin:0;font-size:14px;line-height:1.45;color:var(--muted);font-weight:600;display:flex;flex-direction:column;gap:2px}
.sf-col p strong{color:var(--ink);font-weight:800;font-size:15px}
.sf-logos{display:flex;flex-wrap:wrap;gap:8px;margin-top:2px}
.sf-logos img{width:24px;height:24px;border-radius:7px;object-fit:contain;background:#fff;border:1px solid var(--line);padding:2px;box-sizing:content-box}
.sf-bottom{display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px;margin-top:36px;padding-top:20px;border-top:1px solid var(--line);font-size:12.5px;color:var(--muted);font-weight:600}
.sf-copy{font-weight:800;color:var(--ink)}
.sf-note{flex:1 1 260px;line-height:1.45}
.sf-top-btn{display:inline-flex;align-items:center;gap:6px;margin-inline-start:auto;height:36px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font:700 13px/1 var(--font-sans,"Manrope"),system-ui,sans-serif;cursor:pointer}
.sf-top-btn:hover{border-color:#ff5400;color:#ff5400}
.sf-lang{display:inline-flex;height:36px;padding:3px;border-radius:999px;border:1px solid var(--line);background:var(--surface)}
.sf-lang button{border:0;background:none;border-radius:999px;padding:0 12px;font:inherit;font-weight:800;font-size:12px;letter-spacing:.04em;color:var(--muted);cursor:pointer}
.sf-lang button.on{background:var(--ink);color:#fff}
.sf-top-btn ph-icon{display:inline-flex}

/* Mode-specific pieces: Europe sources + customs note on Importer/Trader, sticker facts on Vendre. */
body[data-mode="sell"] .sf-sources,body[data-mode="sell"] .sf-dzeu{display:none}
body:not([data-mode="sell"]) .sf-sell,body:not([data-mode="sell"]) .sf-sellonly{display:none}
/* Not part of the seller flow: only the Vendre landing carries the footer (platform-header.js keeps
   data-seller-screen current). Same for the account views. */
body[data-mode="sell"]:not([data-seller-screen="welcome"]) .site-footer,
body[data-account-page="true"] .site-footer{display:none}

@media (max-width:899px){
  /* Clear the fixed search CTA (Importer/Trader) that sits above the bottom tab bar. */
  body[data-mode="dz"] .site-footer,body[data-mode="eu"] .site-footer{padding-bottom:96px}
  .sf-top-btn{display:none}
}
@media (min-width:600px){
  .sf-top{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sf-brand{grid-column:1 / -1}
}
@media (min-width:900px){
  .sf-top{grid-template-columns:minmax(0,1.6fr) repeat(3,minmax(0,1fr));gap:32px 40px}
  .sf-brand{grid-column:auto}
}
