/* ALLO212 V143 - Barre du bas « 212 » (téléphone), bouton Publier flottant, 4 raccourcis de l'accueil.
   Les boutons se règlent dans Centre de pilotage > Barre du bas (admin/barre-du-bas.php). */
.mb-fab,.mb-short{display:none}

@media (max-width:700px){
  /* la barre : même place que l'ancienne, 5 cases égales, logos « 212 » */
  html.a-express body .a-mobile-nav.mb-bar{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:stretch!important;gap:0!important;min-height:76px!important;padding:6px 4px calc(6px + env(safe-area-inset-bottom,0px))!important;background:#fff!important;border:1px solid #EFE3D6!important;border-top:1px solid #EFE3D6!important;border-radius:24px!important;box-shadow:0 -2px 24px rgba(42,26,16,.14)!important;backdrop-filter:none!important}
  html.a-express body .a-mobile-nav.mb-bar a.mb-i,html.a-express body .a-mobile-nav.mb-bar a.mb-i:is(:hover,:focus,:active){display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;min-width:0!important;min-height:62px!important;width:100%!important;margin:0!important;padding:4px 0 2px!important;border-radius:18px!important;background:transparent!important;color:#2A1A10!important;font:800 11px/1.1 Montserrat,system-ui,sans-serif!important;letter-spacing:-.1px!important;text-decoration:none!important;position:relative!important;box-shadow:none!important;pointer-events:auto!important}
  html.a-express body .a-mobile-nav.mb-bar a.mb-i .b212-logo{display:block!important;width:42px!important;height:42px!important;flex:0 0 auto;filter:drop-shadow(0 3px 5px rgba(42,26,16,.2));transition:transform .15s ease}
  html.a-express body .a-mobile-nav.mb-bar a.mb-i:active .b212-logo{transform:scale(.9)}
  html.a-express body .a-mobile-nav.mb-bar a.mb-i .mb-n{display:block!important;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:none!important;padding:0!important;color:inherit!important;font-size:11px!important}
  /* service ouvert : petit trait de sa couleur au-dessus */
  html.a-express body .a-mobile-nav.mb-bar a.mb-i[aria-current]{background:#FBF4EC!important}
  html.a-express body .a-mobile-nav.mb-bar a.mb-i[aria-current]::before{content:"";position:absolute;top:-6px;left:26%;right:26%;height:4px;border-radius:0 0 4px 4px;background:var(--mb-c,#C25717)}
  html.a-express body .a-mobile-nav.mb-bar a.mb-i:focus-visible{outline:2px solid #C25717!important;outline-offset:-2px!important}

  /* « Publier » : bouton orange flottant au-dessus de la barre */
  .mb-fab{position:fixed;right:14px;bottom:calc(98px + env(safe-area-inset-bottom,0px));z-index:1001;display:inline-flex;align-items:center;gap:7px;height:46px;padding:0 16px 0 13px;border-radius:23px;background:#C25717;color:#fff!important;font:800 14px/1 Montserrat,system-ui,sans-serif;text-decoration:none!important;box-shadow:0 10px 24px rgba(194,87,23,.38),0 2px 6px rgba(42,26,16,.18)}
  .mb-fab:active{transform:scale(.96)}
  body.h74-lock .mb-fab,html.cs-open .mb-fab,html.has-live212 .mb-fab,body.a18-keyboard .mb-fab,body[data-mobile-view=publish] .mb-fab,body[data-mobile-view=messages] .mb-fab,body[data-mobile-view=account] .mb-fab{display:none!important}

  /* Messages : petite icône à côté de « Mon compte » sur les autres pages */
  html.a-express body:not(.mb-x) .a-header a.x-header-messages:not(.mb-x){display:inline-flex!important;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;padding:0!important;border-radius:22px;background:#fff;color:#2A1A10;font-size:0!important;box-shadow:0 2px 10px rgba(42,26,16,.1);order:9}
  html.a-express body:not(.mb-x) .a-header a.x-header-messages:not(.mb-x) .a-icon,html.a-express body:not(.mb-x) .a-header a.x-header-messages:not(.mb-x) svg{width:22px!important;height:22px!important;display:block!important}
}

/* les 4 raccourcis de l'accueil, sous « Que cherchez-vous ? » (téléphone et tablette) */
@media (max-width:899px){
  .h74>.mb-short{order:3;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%;flex:0 0 auto}
  .mb-short a.mb-s{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:86px;padding:9px 2px 8px;border-radius:20px;background:#FFF8F1;color:#2A1A10;font:800 12px/1.1 Montserrat,system-ui,sans-serif;text-decoration:none;box-shadow:0 10px 24px rgba(30,14,4,.22),inset 0 0 0 1.5px rgba(194,87,23,.12);-webkit-tap-highlight-color:transparent}
  .mb-short a.mb-s:active{transform:scale(.96)}
  .mb-short a.mb-s .b212-logo{display:block;width:44px;height:44px;filter:drop-shadow(0 3px 6px rgba(42,26,16,.18))}
  .mb-short a.mb-s .mb-n{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
@media (max-width:360px){.mb-short a.mb-s{font-size:11px}}

/* « Tous » : messages, compte, Maroc ⇄ Monde en haut du volet */
.mb-me{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 14px}
.mb-me-i{display:flex;flex-direction:column;align-items:center;gap:6px;min-height:64px;justify-content:center;padding:8px 4px;border:0;border-radius:16px;background:#FBF4EC;color:#2A1A10!important;font:700 12px/1.15 Montserrat,system-ui,sans-serif;text-align:center;text-decoration:none!important;cursor:pointer;box-shadow:inset 0 0 0 1.5px #EFE3D6}
.mb-me-i svg{color:#C25717}
.mb-me-mre svg{color:#0B6B3A}

/* V143 : les photos des cartes d'annonces restent dans leur carte (protection si un ancien fichier d'appel est encore en cache) */
.h74-card .ph,.c212-recent .ph{position:relative!important;inset:auto!important;z-index:auto!important;padding:0!important;display:flex!important;justify-content:center!important}
@media (max-width:380px){html.a-express body .a-mobile-nav.mb-bar a.mb-i,html.a-express body .a-mobile-nav.mb-bar a.mb-i .mb-n{font-size:10px!important;letter-spacing:-.3px!important}}

/* V145 : accueil téléphone : « + Publier » en haut à la place de la ville, même style que « S'inscrire », petit saut pour attirer l'œil */
.h74-pub{display:none}
@media (max-width:899px){
  .h74-top .h74-citypill{display:none!important}
  .h74-top .h74-pub{display:flex;align-items:center;gap:7px;height:40px;padding:0 14px 0 5px;margin-inline-start:auto;margin-inline-end:8px;border-radius:999px;background:rgba(255,248,241,.14);border:1px solid rgba(255,248,241,.28);color:#FFF8F1!important;text-decoration:none!important;font:700 13px/1 Montserrat,system-ui,sans-serif;white-space:nowrap;-webkit-tap-highlight-color:transparent}
  .h74-top .h74-pub:active{transform:scale(.96)}
  .h74-pub-ico{width:30px;height:30px;border-radius:50%;background:#FFF8F1;color:#C25717;display:flex;align-items:center;justify-content:center;animation:h74pubhop 3.2s ease-in-out infinite;box-shadow:0 0 0 0 rgba(255,248,241,.55)}
  body.h74-home .mb-fab{display:none!important}
}
@keyframes h74pubhop{0%,64%,100%{transform:translateY(0);box-shadow:0 0 0 0 rgba(255,248,241,.5)}72%{transform:translateY(-5px)}80%{transform:translateY(0);box-shadow:0 0 0 7px rgba(255,248,241,0)}86%{transform:translateY(-2px)}}
@media (prefers-reduced-motion:reduce){.h74-pub-ico{animation:none}}

/* V146 : MRE 212 (Marocains du monde) */
@media (min-width:900px){.h74>.b212>.b212-monde{display:none}}
.mre-free{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border-radius:16px;background:#E8F6EE;color:#0B4A2C;box-shadow:inset 0 0 0 1.5px #BFE5CF;margin-bottom:4px}
.mre-free b{font-size:15px;font-weight:800}
.mre-free span{font-size:13px;line-height:1.45;font-weight:600}
@media (max-width:440px){.sv-seg.fx-seg:has(>button:nth-child(4)){gap:2px;padding:3px}.sv-seg.fx-seg:has(>button:nth-child(4)) b{font-size:12px}.sv-seg.fx-seg:has(>button:nth-child(4)) small{font-size:9.5px}.sv-seg.fx-seg:has(>button:nth-child(4)) button{padding:6px 2px}}

/* V147 : MRE 212 - 4 services */
.mre-free.orange{background:#FFF1E6;color:#6B2E0A;box-shadow:inset 0 0 0 1.5px #F5D2B8}
.mre-free.blue{background:#EAF2FF;color:#14325E;box-shadow:inset 0 0 0 1.5px #C9DAF5}
.mre-loads{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.mre-load{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-height:64px;padding:10px 12px;border:1.5px solid #E8D9CA;border-radius:16px;background:#fff;color:#2A1A10;font:inherit;text-align:start;cursor:pointer}
.mre-load b{font-size:13.5px;font-weight:800;line-height:1.2}
.mre-load small{font-size:11.5px;color:#6B5646;line-height:1.25}
.mre-load[aria-pressed=true]{border-color:#C25717;background:#FFF6EF;box-shadow:0 0 0 3px rgba(194,87,23,.14)}
.mre-route{position:relative;display:flex;flex-direction:column;gap:6px}
.mre-swap{align-self:center;width:40px;height:40px;border-radius:50%;border:1.5px solid #E8D9CA;background:#fff;color:#C25717;font:800 20px/1 system-ui,sans-serif;cursor:pointer}
.mre-steps{list-style:none;margin:4px 0 10px;padding:0;display:grid;gap:6px;counter-reset:none}
.mre-steps li{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:14px;background:#FBF6F0}
.mre-steps li b{font-size:13.5px;font-weight:800;color:#2A1A10}
.mre-steps li span{font-size:12.5px;color:#6B5646;line-height:1.35}
.mre-more-h{margin-top:18px!important}

/* V148 : MRE 212 - photos qui correspondent au choix */
.fx-banner.mre-banner{height:auto;aspect-ratio:3/2;max-height:260px}
.fx-banner.mre-banner img{object-position:center 60%}
.fx-banner.mre-banner::after{background:linear-gradient(180deg,rgba(30,14,4,0) 45%,rgba(30,14,4,.78))}
.fx-banner.mre-banner div{right:16px}
.mre-hero{position:relative;border-radius:20px;overflow:hidden;aspect-ratio:3/2;max-height:250px;background:#E5DACB;margin:10px 0 2px}
.mre-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;animation:mreHero .35s ease}
.mre-hero span{position:absolute;left:10px;bottom:10px;right:10px;padding:7px 11px;border-radius:12px;background:rgba(30,14,4,.72);color:#fff;font:700 12.5px/1.3 Montserrat,system-ui,sans-serif}
@keyframes mreHero{from{opacity:.4;transform:scale(1.03)}to{opacity:1;transform:none}}
.mre-load{padding:0 0 10px!important;overflow:hidden;gap:4px!important}
.mre-load .mre-load-img{display:block;width:100%;aspect-ratio:16/10;background:#E5DACB;margin-bottom:4px}
.mre-load .mre-load-img img{width:100%;height:100%;object-fit:cover;display:block}
.mre-load b,.mre-load small{padding:0 10px}
.sv81 .sv-card .sv-img:has(img[src*="mre-212"]),.sv-card .sv-img:has(img[src*="mre-212"]){height:auto;aspect-ratio:4/3;background:#d9c7b4;padding:0}
.sv-card .sv-img img[src*="mre-212"]{width:100%;height:100%;object-fit:cover;object-position:35% 60%}

/* V149 : accueil téléphone façon Allô Mariage
   1) « Aussi sur Allo212 » : une ligne qu'on fait glisser (raccourcis du Centre de pilotage d'abord, puis les autres services 212)
   2) « Tous les services Allo212 » : grand bouton orange, logos qui sautent et reflet qui passe de gauche à droite
   3) barre du bas : mêmes petits sauts + reflet */
@media (max-width:899px){
  .h74>.mb-short-wrap{order:3;display:flex;flex-direction:column;gap:8px;flex:0 0 auto;width:100%}
  .mb-short-h{display:flex;align-items:baseline;justify-content:space-between;padding:2px 8px 0;color:#FFF8F1}
  .mb-short-h b{font:800 17px/1.2 Montserrat,system-ui,sans-serif;letter-spacing:-.2px}
  .mb-short-h em{font-style:normal;color:#FFC38F}
  .mb-short-h small{font:700 12.5px/1 Montserrat,system-ui,sans-serif;opacity:.82}
  .mb-short-wrap .mb-short{display:flex!important;grid-template-columns:none!important;gap:2px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;padding:10px 6px 8px;border-radius:24px;background:#FFF8F1;box-shadow:0 12px 30px rgba(30,14,4,.26)}
  .mb-short-wrap .mb-short::-webkit-scrollbar{display:none}
  .mb-short-wrap .mb-short a.mb-s{flex:0 0 calc((100% - 8px) / 4.6);min-width:64px;min-height:0;padding:4px 0 2px;gap:6px;border-radius:16px;background:transparent;box-shadow:none;scroll-snap-align:start;font:800 11.5px/1.15 Montserrat,system-ui,sans-serif;color:#2A1A10}
  .mb-short-wrap .mb-short a.mb-s .b212-logo{width:46px;height:46px;animation:mbhop 3.8s ease-in-out infinite;animation-delay:calc(var(--i,0) * .18s)}
  .mb-short-wrap .mb-short a.mb-s:active{background:#F3E6D8}

  html body .h74>.h74-svc{background:linear-gradient(120deg,#DE7432,#B04A17 60%,#8E3A0E);color:#fff;border-radius:30px;padding:12px 12px 12px 14px;box-shadow:0 14px 30px rgba(140,55,10,.45),inset 0 1px 0 rgba(255,255,255,.25)}
  html body .h74>.h74-svc .h74-svc-txt b{color:#fff}
  html body .h74>.h74-svc .h74-svc-txt small{color:rgba(255,255,255,.88)}
  html body .h74>.h74-svc .h74-svc-go{background:rgba(255,255,255,.2);color:#fff;border-radius:50%}
  html body .h74>.h74-svc::after{background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.42) 50%,transparent 65%)}
}
@media (max-width:700px){
  html.a-express body .a-mobile-nav.mb-bar{overflow:hidden!important}
  html.a-express body .a-mobile-nav.mb-bar::after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(105deg,transparent 38%,rgba(255,236,214,.65) 50%,transparent 62%);transform:translateX(-120%);animation:mbshine 6s ease-in-out 2s infinite;pointer-events:none}
  html.a-express body .a-mobile-nav.mb-bar a.mb-i .b212-logo{animation:mbhop 4.2s ease-in-out infinite;animation-delay:calc(var(--i,0) * .22s)}
  html.a-express body .a-mobile-nav.mb-bar a.mb-i[aria-current]::before{top:0}
}
@keyframes mbhop{0%,70%,100%{transform:translateY(0)}78%{transform:translateY(-6px)}86%{transform:translateY(0)}92%{transform:translateY(-2px)}}
@keyframes mbshine{0%{transform:translateX(-120%)}30%,100%{transform:translateX(120%)}}
@media (prefers-reduced-motion:reduce){.mb-short a.mb-s .b212-logo,.a-mobile-nav.mb-bar a.mb-i .b212-logo{animation:none!important}.a-mobile-nav.mb-bar::after{display:none!important}}

/* V150 : MRE 212 - 4 onglets (Transporteur, Colis, Covoiturage, Entraide), plus léger */
.mre-lead{margin:2px 2px 0;font-size:13.5px;line-height:1.5;color:#4A3A2E;font-weight:600}
.mre-tog{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.mre-tog button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-height:58px;padding:9px 12px;border:1.5px solid #E8D9CA;border-radius:16px;background:#fff;color:#2A1A10;font:inherit;text-align:start;cursor:pointer}
.mre-tog button b{font-size:14px;font-weight:800}
.mre-tog button small{font-size:11.5px;color:#6B5646}
.mre-tog button[aria-selected=true]{border-color:#C25717;background:#FFF6EF;box-shadow:0 0 0 3px rgba(194,87,23,.13)}
/* « Entraide » : vert, avec un reflet qui passe et un petit battement */
.sv-seg.mre-seg button.mre-ent{position:relative;overflow:hidden;background:linear-gradient(135deg,#E3F6EC,#C9EEDA);box-shadow:inset 0 0 0 1.5px #8FD3AE;animation:mreBeat 4s ease-in-out infinite}
.sv-seg.mre-seg button.mre-ent b{color:#0B6B3A!important}
.sv-seg.mre-seg button.mre-ent small{color:#167A48!important;font-weight:800}
.sv-seg.mre-seg button.mre-ent::after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.85) 50%,transparent 65%);transform:translateX(-130%);animation:mbshine 3.6s ease-in-out 1s infinite;pointer-events:none}
.sv-seg.mre-seg button.mre-ent[aria-selected=true]{background:#0B6B3A;box-shadow:0 4px 12px rgba(11,107,58,.35)}
.sv-seg.mre-seg button.mre-ent[aria-selected=true] b,.sv-seg.mre-seg button.mre-ent[aria-selected=true] small{color:#fff!important}
@keyframes mreBeat{0%,82%,100%{transform:none}86%{transform:scale(1.06)}90%{transform:none}94%{transform:scale(1.03)}}
/* « Aussi dans MRE 212 » : une ligne qu'on fait glisser, au lieu d'une grande grille */
.mre-more{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px 2px 6px;scroll-snap-type:x mandatory}
.mre-more::-webkit-scrollbar{display:none}
.mre-more-i{flex:0 0 112px;display:flex;flex-direction:column;gap:5px;padding:0 0 8px;border:1.5px solid #EFE3D6;border-radius:16px;background:#fff;color:#2A1A10;font:inherit;text-align:center;cursor:pointer;overflow:hidden;scroll-snap-align:start}
.mre-more-img{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:4/3;background:#F3EAE0}
.mre-more-img img{width:100%;height:100%;object-fit:cover}
.mre-more-img i{font-style:normal;font-size:28px}
.mre-more-i b{font-size:12px;font-weight:800;line-height:1.2;padding:0 6px}
@media (prefers-reduced-motion:reduce){.sv-seg.mre-seg button.mre-ent,.sv-seg.mre-seg button.mre-ent::after{animation:none}}
/* V150 : bandeau MRE 212 plus bas (le fourgon ne fait plus doublon avec la carte « Colis & valises ») ; étapes sur une ligne */
.fx-banner.mre-banner{aspect-ratio:auto;height:132px;max-height:none}
.fx-banner.mre-banner img{object-position:center 58%}
.fx-banner.mre-banner::after{background:linear-gradient(90deg,rgba(30,14,4,.82),rgba(30,14,4,.15) 75%)}
.fx-banner.mre-banner div{right:38%}
.mre-steps li{flex-direction:row;align-items:baseline;gap:6px;padding:8px 12px}
.mre-steps li b{flex:0 0 auto;font-size:12.5px}
.mre-steps li span{font-size:12px}
/* V150 : cartes de trajet (colis, covoiturage, entraide) sur toute la largeur */
.pr.trip{grid-template-columns:minmax(0,1fr)!important}
.pr.trip .pr-t{grid-column:1 / -1}
.pr.trip .pr-acts .pr-b{flex:1 1 0;justify-content:center;text-align:center}

/* V151 : accueil téléphone - « Tous les services Allo212 » retiré ; la rangée du haut est la jumelle de la barre du bas
   (même largeur, hauteur, logos, texte, animations) ; « Que cherchez-vous ? » prend la place libérée */
@media (max-width:899px){
  html body .h74>.h74-svc{display:none!important}
  .h74>.mb-short.mb-top{order:3;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:stretch;gap:0;width:100%;flex:0 0 auto;min-height:76px;padding:6px 4px!important;margin:0;overflow:hidden;position:relative;background:#fff!important;border:1px solid #EFE3D6;border-radius:24px!important;box-shadow:0 8px 24px rgba(30,14,4,.18)!important;box-sizing:border-box}
  .h74>.mb-short.mb-top a.mb-i{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:62px;padding:4px 0 2px;border-radius:18px;background:transparent;color:#2A1A10;font:800 11px/1.1 Montserrat,system-ui,sans-serif;letter-spacing:-.1px;text-decoration:none;position:relative;-webkit-tap-highlight-color:transparent}
  .h74>.mb-short.mb-top a.mb-i .b212-logo{display:block;width:42px;height:42px;flex:0 0 auto;filter:drop-shadow(0 3px 5px rgba(42,26,16,.2));animation:mbhop 4.2s ease-in-out infinite;animation-delay:calc(var(--i,0) * .22s + .6s)}
  .h74>.mb-short.mb-top a.mb-i .mb-n{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
  .h74>.mb-short.mb-top a.mb-i:active .b212-logo{transform:scale(.9)}
  .h74>.mb-short.mb-top::after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(105deg,transparent 38%,rgba(255,236,214,.65) 50%,transparent 62%);transform:translateX(-120%);animation:mbshine 6s ease-in-out 5s infinite;pointer-events:none}
}
@media (max-width:380px){.h74>.mb-short.mb-top a.mb-i,.h74>.mb-short.mb-top a.mb-i .mb-n{font-size:10px;letter-spacing:-.3px}}
@media (prefers-reduced-motion:reduce){.h74>.mb-short.mb-top a.mb-i .b212-logo{animation:none}.h74>.mb-short.mb-top::after{display:none}}
@media (max-width:899px){.h74>.mb-short.mb-top{width:calc(100% + 8px);margin:0 -4px;align-self:center}}

/* V152 : MRE 212 - petit volet qui monte du bas (demi-page) */
.h74-sheet{position:relative}
.mre-dw-wrap{position:absolute;inset:0;z-index:30;pointer-events:none}
.mre-dw-bg{position:absolute;inset:0;background:rgba(30,14,4,.45);opacity:0;transition:opacity .25s;pointer-events:auto}
.mre-dw{position:absolute;left:0;right:0;bottom:0;max-height:78%;overflow-y:auto;overscroll-behavior:contain;background:#FBF8F4;border-radius:24px 24px 0 0;padding:6px 16px calc(18px + env(safe-area-inset-bottom,0px));box-shadow:0 -12px 34px rgba(30,14,4,.3);transform:translateY(100%);transition:transform .28s cubic-bezier(.2,.8,.2,1);pointer-events:auto;box-sizing:border-box}
.mre-dw-wrap.on .mre-dw-bg{opacity:1}
.mre-dw-wrap.on .mre-dw{transform:none}
.mre-dw-grab{width:44px;height:5px;border-radius:3px;background:#D9CFC3;margin:4px auto 10px;padding:6px 0;background-clip:content-box}
.mre-dw-h{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.mre-dw-h img{width:72px;height:54px;border-radius:12px;object-fit:cover;flex:0 0 auto}
.mre-dw-h div{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.mre-dw-h b{font:800 17px/1.2 Montserrat,system-ui,sans-serif;color:#2A1A10}
.mre-dw-h small{font-size:12.5px;color:#6B5646;line-height:1.3}
.mre-dw-x{flex:0 0 auto;width:40px;height:40px;border-radius:50%;border:0;background:#EFE7DD;color:#2A1A10;font:700 22px/1 system-ui,sans-serif;cursor:pointer}
.mre-dw-b{display:flex;flex-direction:column;gap:10px}
.mre-dw-note{margin:0;text-align:center;font-size:12px;color:#6B5646;line-height:1.4}
.mre-how{display:flex;justify-content:space-between;gap:6px;margin:12px 0 4px;padding:10px 12px;border-radius:14px;background:#FBF1E7;font:700 12px/1.2 Montserrat,system-ui,sans-serif;color:#6B2E0A}
.mre-load{cursor:pointer}
.mre-load:active{transform:scale(.97)}
@media (prefers-reduced-motion:reduce){.mre-dw,.mre-dw-bg{transition:none}}
.mre-how{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));text-align:center;font-size:11.5px}
.mre-more-i{padding-bottom:6px}

/* V153 : choix du métier « transporteur MRE » */
.mre-pro{display:flex;flex-direction:column;gap:8px}
.mre-pro-c{display:flex;align-items:center;gap:12px;padding:8px 12px 8px 8px;border:1.5px solid #E8D9CA;border-radius:16px;background:#fff;color:#2A1A10;font:inherit;text-align:start;cursor:pointer}
.mre-pro-c img{width:84px;height:60px;border-radius:12px;object-fit:cover;flex:0 0 auto}
.mre-pro-c span{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.mre-pro-c b{font-size:15px;font-weight:800}
.mre-pro-c small{font-size:12px;color:#6B5646;line-height:1.3}
.mre-pro-c i{font-style:normal;font-size:24px;color:#C25717}
.mre-pro-c:active{transform:scale(.98)}
/* V155 : grand onglet des services ajoutés */
.mre-dw-b .h74-f textarea{border:0;outline:0;resize:none;font:500 15px/1.4 Montserrat,system-ui,sans-serif;color:#2A1A10;background:transparent;padding:4px 0;min-height:64px}

/* V156 : sur ordinateur, les services ajoutés et MRE restent dans « Tous les services » (une seule ligne de tuiles) */
@media (min-width:900px){.h74>.b212>.b212-custom{display:none!important}}
/* V156 : la rangée du haut (téléphone) glisse du doigt ; même forme que la barre du bas */
@media (max-width:899px){
  .h74>.mb-top-wrap{order:3;position:relative;width:calc(100% + 8px);margin:0 -4px;flex:0 0 auto;min-height:76px;background:#fff;border:1px solid #EFE3D6;border-radius:24px;box-shadow:0 8px 24px rgba(30,14,4,.18);overflow:hidden;box-sizing:border-box}
  .h74>.mb-top-wrap::after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(105deg,transparent 38%,rgba(255,236,214,.65) 50%,transparent 62%);transform:translateX(-120%);animation:mbshine 6s ease-in-out 5s infinite;pointer-events:none;z-index:2}
  .h74 .mb-top-wrap>.mb-short.mb-top{order:0;display:flex!important;grid-template-columns:none!important;width:100%;margin:0;min-height:76px;padding:6px 4px!important;gap:0;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;-webkit-overflow-scrolling:touch}
  .h74 .mb-top-wrap>.mb-short.mb-top::-webkit-scrollbar{display:none}
  .h74 .mb-top-wrap>.mb-short.mb-top::after{display:none}
  .h74 .mb-top-wrap>.mb-short.mb-top a.mb-i{flex:0 0 20%;scroll-snap-align:start}
  /* indice « ça glisse » : fondu à droite + petite flèche qui bouge ; disparaît au bout de la rangée */
  .mb-more{position:absolute;top:0;right:0;bottom:0;width:46px;display:flex;align-items:center;justify-content:flex-end;padding-right:4px;background:linear-gradient(90deg,rgba(255,255,255,0),#fff 70%);color:#C25717;pointer-events:none;z-index:1;transition:opacity .25s}
  .mb-more svg{width:18px;height:18px;padding:3px;border-radius:50%;background:#FFF1E6;box-shadow:0 2px 6px rgba(194,87,23,.25);animation:mbnudge 1.6s ease-in-out infinite}
  .mb-top-wrap.at-end .mb-more{opacity:0}
}
@keyframes mbnudge{0%,100%{transform:translateX(0)}50%{transform:translateX(4px)}}
@media (prefers-reduced-motion:reduce){.mb-more svg{animation:none}}
.mb-top-wrap{display:none}
@media (max-width:899px){
  .h74>.mb-top-wrap{display:block}
  .mb-top-wrap a.mb-i{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:62px;padding:4px 0 2px;border-radius:18px;background:transparent;color:#2A1A10!important;font:800 11px/1.1 Montserrat,system-ui,sans-serif;letter-spacing:-.1px;text-decoration:none!important;position:relative;-webkit-tap-highlight-color:transparent}
  .mb-top-wrap a.mb-i .b212-logo{display:block;width:42px;height:42px;flex:0 0 auto;filter:drop-shadow(0 3px 5px rgba(42,26,16,.2));animation:mbhop 4.2s ease-in-out infinite;animation-delay:calc(var(--i,0) * .22s + .6s)}
  .mb-top-wrap a.mb-i .mb-n{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;padding:0 2px}
  .mb-top-wrap a.mb-i:active .b212-logo{transform:scale(.9)}
}
@media (max-width:380px){.mb-top-wrap a.mb-i,.mb-top-wrap a.mb-i .mb-n{font-size:10px;letter-spacing:-.3px}}
@media (prefers-reduced-motion:reduce){.mb-top-wrap a.mb-i .b212-logo{animation:none}}
/* V158 : pendant qu'une fenêtre est ouverte, la vidéo de l'accueil est masquée (sur certains PC Windows, Chrome la dessinait par-dessus la fenêtre) */
body.h74-lock .h74-map-card{visibility:hidden}
/* V158 : « Chercher un service, c'est toujours gratuit » en vert */
.ok82-gift.free{background:linear-gradient(135deg,#E8F6EE,#D3EFDF);border-color:#9FD5B5}.ok82-gift.free b{color:#0B6B3A}.ok82-gift.free small{color:#24543A}
