/* Carte des magasins de jouets — club-jouet.fr (28/11/2026) */
.cjmap-wrap{--red:#e8402f;--red2:#c62a1f;--ink:#1c2947;--line:#e3e7f0;--muted:#6b7280;max-width:1280px;margin:0 auto;padding:0 18px}
.cjmap-head{text-align:center;padding:26px 0 14px}
.cjmap-head .kick{display:inline-block;font-weight:800;letter-spacing:.08em;text-transform:uppercase;font-size:12px;color:var(--red);background:#fdecea;padding:5px 12px;border-radius:999px}
.cjmap-head h1{margin:.4em 0 .25em;font-size:clamp(1.7rem,3.4vw,2.5rem);line-height:1.1;color:#fff;text-shadow:0 2px 14px rgba(2,6,20,.45)}
.cjmap-head p{margin:0 auto;max-width:720px;color:rgba(255,255,255,.9);font-size:1.03rem}

/* Barre de recherche */
.cjmap-search{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin:18px 0 8px}
.cjmap-search form{display:flex;flex:1 1 440px;max-width:560px;position:relative}
.cjmap-search input{flex:1;height:52px;border:1.5px solid var(--line);border-radius:14px 0 0 14px;padding:0 16px;font-size:16px;color:var(--ink);outline:none;transition:border-color .2s}
.cjmap-search input:focus{border-color:var(--red)}
.cjmap-search button[type=submit]{height:52px;padding:0 22px;border:none;border-radius:0 14px 14px 0;background:linear-gradient(135deg,var(--red),var(--red2));color:#fff;font-weight:800;font-size:15px;cursor:pointer}
.cjmap-geo{height:52px;padding:0 18px;border:1.5px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);font-weight:700;font-size:14px;cursor:pointer;display:inline-flex;align-items:center;gap:7px;transition:border-color .2s,color .2s}
.cjmap-geo:hover{border-color:var(--red);color:var(--red)}
.cjmap-hint{text-align:center;color:rgba(255,255,255,.82);font-size:13px;margin:2px 0 0;min-height:18px}

/* Filtres enseignes */
.cjmap-filters{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:14px 0 6px}
.cjmap-chip{display:inline-flex;align-items:center;gap:7px;padding:6px 13px 6px 7px;border:1.5px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);font-weight:700;font-size:13.5px;cursor:pointer;user-select:none;transition:all .18s}
.cjmap-chip img{width:22px;height:22px;object-fit:contain;border-radius:5px;background:#fff}
.cjmap-chip .mono{width:22px;height:22px;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:11px;font-weight:900}
.cjmap-chip .n{color:var(--muted);font-weight:800;font-size:12px}
.cjmap-chip[aria-pressed=false]{opacity:.42;filter:grayscale(.6)}
.cjmap-chip:hover{border-color:var(--red)}
.cjmap-chip[aria-pressed=true]{border-color:var(--ink);box-shadow:0 3px 10px rgba(16,28,60,.08)}

/* Layout carte + liste */
.cjmap-body{display:grid;grid-template-columns:360px 1fr;gap:16px;margin:16px 0 40px}
.cjmap-list{border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden;display:flex;flex-direction:column;max-height:74vh}
.cjmap-list__hd{padding:12px 15px;border-bottom:1px solid var(--line);font-weight:800;color:var(--ink);font-size:14px;background:#fafbfe}
.cjmap-list__scroll{overflow-y:auto}
.cjmap-item{display:flex;gap:11px;padding:12px 15px;border-bottom:1px solid #f1f3f8;cursor:pointer;transition:background .15s}
.cjmap-item:hover{background:#fafbfe}
.cjmap-item__ic{flex:0 0 42px;height:42px;border-radius:10px;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;overflow:hidden;background:#fff}
.cjmap-item__ic img{width:34px;height:34px;object-fit:contain}
.cjmap-item__ic .mono{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:900;font-size:13px}
.cjmap-item__b{min-width:0;flex:1}
.cjmap-item__t{font-weight:800;color:var(--ink);font-size:14px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cjmap-item__a{color:var(--muted);font-size:12.5px;line-height:1.3;margin-top:2px}
.cjmap-item__d{color:var(--red);font-weight:800;font-size:12px;margin-top:3px}
.cjmap-empty{padding:22px 16px;color:var(--muted);font-size:14px;text-align:center}

#cjmap{height:74vh;min-height:460px;border-radius:16px;border:1px solid var(--line);overflow:hidden;z-index:0}

/* Marqueurs */
.cjm-pin{width:38px;height:38px;border-radius:50% 50% 50% 4px;background:#fff;border:2px solid #fff;box-shadow:0 3px 9px rgba(10,20,45,.33);display:flex;align-items:center;justify-content:center;transform:rotate(-45deg);transition:transform .12s}
.cjm-pin>*{transform:rotate(45deg)}
.cjm-pin img{width:26px;height:26px;object-fit:contain}
.cjm-pin .mono{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:900;font-size:12px}
.cjm-pin--indep{background:#64748b;width:16px;height:16px;border-radius:50%;transform:none;border:2px solid #fff}
.cjm-pin--indep>*{display:none}
.leaflet-marker-icon .cjm-pin:hover{transform:rotate(-45deg) scale(1.12)}
/* Logo "boutique" des indépendants */
.cjm-pin svg{width:22px;height:22px;display:block}
.cjm-pin--shop{color:#5b6b85}
.cjmap-chip .mono.cjm-shop svg{width:15px;height:15px;display:block}
.cjmap-item__ic .mono.cjm-shop svg{width:24px;height:24px;display:block}

/* Popup */
.cjm-pop{min-width:210px;font-family:inherit}
.cjm-pop__t{font-weight:800;color:var(--ink);font-size:15px;margin:0 0 3px}
.cjm-pop__ens{display:inline-block;font-size:11px;font-weight:800;color:#fff;padding:2px 8px;border-radius:999px;margin-bottom:6px}
.cjm-pop__row{color:#374151;font-size:13px;line-height:1.4;margin:3px 0}
.cjm-pop__row b{color:var(--ink)}
.cjm-pop__acts{display:flex;gap:8px;margin-top:9px;flex-wrap:wrap}
.cjm-pop__acts a{flex:1;text-align:center;white-space:nowrap;font-size:12.5px;font-weight:800;text-decoration:none;padding:7px 10px;border-radius:9px}
.cjm-pop__go{background:linear-gradient(135deg,var(--red),var(--red2));color:#fff}
.cjm-pop__web{background:#eef1f7;color:var(--ink)}

/* Cluster */
.marker-cluster-small,.marker-cluster-medium,.marker-cluster-large{background:rgba(232,64,47,.22)}
.marker-cluster-small div,.marker-cluster-medium div,.marker-cluster-large div{background:linear-gradient(135deg,var(--red),var(--red2));color:#fff;font-weight:800}

@media(max-width:860px){
  .cjmap-body{grid-template-columns:1fr}
  .cjmap-list{max-height:none;order:2}
  .cjmap-list__scroll{max-height:46vh}
  #cjmap{height:56vh;order:1}
}

/* Bloc SEO (carte blanche lisible sur le fond sombre) */
.cjmap-seo{max-width:920px;margin:12px auto 48px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:30px 36px;color:#374151;line-height:1.7}
.cjmap-seo h2{color:var(--ink);margin:0 0 .5em;font-size:1.55rem;line-height:1.2}
.cjmap-seo h3{color:var(--ink);margin:1.7em 0 .5em;font-size:1.2rem}
.cjmap-seo h4{color:var(--ink);margin:1.3em 0 .3em;font-size:1.03rem}
.cjmap-seo p{margin:.6em 0}
.cjmap-seo ul,.cjmap-seo ol{padding-left:1.25em;margin:.5em 0}
.cjmap-seo li{margin:.35em 0}
.cjmap-seo a{color:var(--red2);font-weight:600}
.cjmap-seo .note{font-size:13px;color:var(--muted);margin-top:1.5em}
.cjmap-cities{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 4px}
.cjmap-cities button{border:1.5px solid var(--line);background:#fafbfe;color:var(--ink);font-weight:700;font-size:13.5px;padding:6px 14px;border-radius:999px;cursor:pointer;transition:all .18s}
.cjmap-cities button:hover{border-color:var(--red);color:var(--red);transform:translateY(-1px)}
.cjmap-faq h4{cursor:default}
@media(max-width:560px){.cjmap-seo{padding:22px 18px}}
