/* La coque du comptoir ; le panier, la remise et les champs restent communs. */
.pro-page{background:#f5f7fa}
.pro-page [hidden]{display:none!important}
.pro-page .pro-contenu>.container{max-width:1440px}
.pro-page .pro-entete-label{display:inline-block;margin-left:12px;padding-left:12px;border-left:1px solid #dfe5ed;color:#0b1f33;font-size:26px;font-weight:650;line-height:1.2;letter-spacing:-.03em;white-space:nowrap;text-decoration:none}
.pro-page .pro-contenu{padding:22px 0 48px;background:transparent}
/* Trois destinations en bas ; le compte et le panier gardent leurs icônes en haut. */
.pro-page:has(.pro-zone-ouverte:not([hidden])){padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}
.pro-page .pro-onglets{position:fixed;left:50%;bottom:12px;transform:translateX(-50%);z-index:900;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:min(540px,calc(100% - 24px));gap:4px;padding:0 6px env(safe-area-inset-bottom,0px);margin:0;border:1px solid #e1e7ef;border-radius:18px;background:#fff;box-shadow:0 5px 28px #0b1f331a;overflow:visible}
.pro-page .pro-onglet{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:64px;padding:9px 6px;border:0;border-radius:12px;background:transparent;color:#526077;font-size:12px;font-weight:600;line-height:1.25;text-align:center;white-space:normal}
.pro-page .pro-onglet.is-actif{background:#edf3fa;color:#13375b;box-shadow:none}
.pro-page .pro-onglet:before{content:'';display:block;width:21px;height:21px;flex:0 0 21px;background:currentColor;-webkit-mask:var(--pro-icone) center/contain no-repeat;mask:var(--pro-icone) center/contain no-repeat}
.pro-page .pro-onglet:focus-visible{outline:2px solid #5275b9;outline-offset:-3px}
.pro-page .pro-onglet--catalogue{--pro-icone:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.5%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.5%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.5%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.5%22%2F%3E%3C%2Fsvg%3E")}
.pro-page .pro-onglet--reprise{--pro-icone:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%207h-8m5-4%204%204-4%204M4%2017h8m-5-4-4%204%204%204%22%2F%3E%3C%2Fsvg%3E")}
.pro-page .pro-onglet--commandes{--pro-icone:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%223%22%20width%3D%2214%22%20height%3D%2218%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M9%208h6m-6%204h6m-6%204h4%22%2F%3E%3C%2Fsvg%3E")}
.pro-page .pro-grille{display:block}
.pro-page .pro-panneau{padding:0;border:0;background:transparent;box-shadow:none}
.pro-page .pro-panneau--commande{position:static;max-height:none;overflow:visible;padding:0;border:0;background:transparent}
.pro-page .pro-panneau__titre{font-size:28px;letter-spacing:-.6px;margin:0 0 22px}
.pro-page .pro-stock.sc-preview{background:transparent;border:0;padding:0}
.pro-page .pro-panier{gap:0}
.pro-page.commerce-panier .panier-layout{margin:0;align-items:start}
.pro-page .panier-resume{align-self:start}
.pro-page .commande-intro,.pro-page .commande-mention{font-size:12px;line-height:1.6}
.pro-page .pro-remise{border:0;margin:24px 0 0;padding:0;background:transparent}
.pro-page .pro-remise__champ{display:flex;flex-direction:column;gap:7px;font-size:13px;margin:15px 0}
.pro-page .pro-remise__date,.pro-page .pro-remise__complement{max-width:100%;padding:12px;border:1px solid #dce3eb;border-radius:10px;font:inherit;background:#fff}
.pro-page .pro-remise__accord{align-self:flex-start;width:20px;height:20px}
.pro-page .pro-remise__mention,.pro-page .pro-remise__message{font-size:12px;color:#64748b;line-height:1.6}
/* Le compte est rangé sous l'avatar ; ses actions et écouteurs restent ceux du site ou de l'app. */
.pro-page .pro-compte-menu{position:relative;display:inline-flex;align-items:center;flex-shrink:0}
.pro-page .pro-compte-menu [data-pro-compte]{position:relative}
.pro-page .pro-compte-menu.is-connecte>[data-pro-compte]:after{content:'';position:absolute;right:6px;bottom:5px;width:8px;height:8px;background:#13765b;border:2px solid #fff;border-radius:50%}
.pro-page .pro-compte-menu [aria-expanded="true"]{background:#edf3fa;color:#13375b}
.pro-page .pro-compte-panneau{position:absolute;right:0;top:calc(100% + 10px);z-index:5001;width:290px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 105px);overflow-y:auto;overscroll-behavior:contain;padding:14px;background:#fff;color:#0b1f33;border:1px solid #e1e7ef;border-radius:14px;box-shadow:0 12px 32px #0b1f331c;text-align:left}
.pro-page .pro-compte-titre{margin:0 0 9px;font-size:14px;line-height:1.4;font-weight:700;color:#0b1f33}
.pro-page .pro-compte-panneau #pro-connexion,.pro-page .pro-compte-panneau #compte-connexion,.pro-page .pro-compte-panneau .saa-connexion{margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.pro-page .pro-compte-panneau .saa-cnx-etape-connecte{margin:0;padding:0}
.pro-page .pro-compte-panneau .saa-cnx-identite{display:flex;flex-direction:column;align-items:stretch;gap:4px;margin:0}
.pro-page .pro-compte-panneau .saa-cnx-identite-texte{flex:0 0 auto;margin:0}
.pro-page .pro-compte-panneau .saa-cnx-titre{display:none}
.pro-page .pro-compte-panneau .saa-cnx-numero,.pro-page .pro-compte-panneau .saa-connexion-etat{margin:0 0 4px;font-size:13px;font-weight:500;line-height:1.5;color:#526174;overflow-wrap:anywhere}
.pro-page .pro-compte-panneau #saa-cnx-deconnexion,.pro-page .pro-compte-panneau .saa-connexion-bouton{display:flex;align-items:center;justify-content:flex-start;width:100%;min-height:44px;margin:0;padding:10px;border:0;border-radius:8px;background:transparent;color:#a23443;font:inherit;font-size:13px;font-weight:600;text-align:left;white-space:normal;text-decoration:none;box-shadow:none}
.pro-page .pro-compte-panneau #saa-cnx-deconnexion:hover,.pro-page .pro-compte-panneau .saa-connexion-bouton:hover{background:#fff1f2;color:#8b2332}
.pro-page .pro-compte-actions{display:flex;flex-direction:column;gap:2px;margin-top:6px;padding-top:6px;border-top:1px solid #edf1f6}
.pro-page .pro-compte-action{display:flex;align-items:center;justify-content:flex-start;min-height:44px;width:100%;padding:10px;border:0;border-radius:8px;background:transparent;color:#0b1f33;font:inherit;font-size:13px;font-weight:600;text-align:left;cursor:pointer}
.pro-page .pro-compte-action:hover{background:#edf3fa}
.pro-page .pro-compte-menu a:focus-visible,.pro-page .pro-compte-menu button:focus-visible{outline:2px solid #5275b9;outline-offset:2px}
/* Mon entreprise : accueil, cartes et onglets du compte client repris de la maquette. */
.pro-page .pro-entreprise{max-width:1040px;margin:0 auto;color:#0b1f33}
.pro-page .pro-entreprise-accueil{margin-bottom:26px}
.pro-page .pro-entreprise-retour{display:block;min-height:40px;padding:9px 14px;margin:0 0 20px;border:1px solid #dfe5ed;border-radius:10px;background:#fff;color:#526077;font:inherit;font-size:12px;font-weight:600}
.pro-page .pro-entreprise-etiquette{display:inline-flex;margin:0 0 12px;padding:6px 10px;border-radius:30px;background:#edf1f6;color:#526174;font-size:11px;font-weight:700}
.pro-page .pro-entreprise-titre{margin:0 0 10px;font-size:clamp(26px,3.2vw,34px);font-weight:750;letter-spacing:-.035em;line-height:1.2}
.pro-page .pro-entreprise-intro{max-width:62ch;margin:0;color:#64748b;font-size:14px;line-height:1.6}
.pro-page .pro-entreprise-onglets{display:flex;gap:26px;align-items:stretch;margin:0 0 24px;border-bottom:1px solid #e1e6ed}
.pro-page .pro-entreprise-onglet{min-height:47px;padding:10px 0;border:0;border-bottom:2px solid transparent;background:transparent;color:#64748b;font:inherit;font-size:13px;font-weight:600}
.pro-page .pro-entreprise-onglet[aria-selected="true"]{color:#0b1f33;border-bottom-color:#0b1f33}
.pro-page .pro-entreprise-panneau{min-width:0}
.pro-page .pro-entreprise-grille{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:18px}
.pro-page .pro-entreprise-carte{background:#fff;border:1px solid #e1e6ed;border-radius:16px;padding:24px;margin:0 0 18px;display:flex;flex-direction:column;align-items:start;gap:15px;min-width:0}
.pro-page .pro-entreprise-carte h3{font-size:17px;font-weight:650;margin:0}
.pro-page .pro-entreprise-carte p{font-size:13px;color:#64748b;line-height:1.7;margin:0}
.pro-page .pro-entreprise-bouton{font-size:12px;padding:10px 14px;min-height:42px}
.pro-page .pro-entreprise-resume{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px;width:100%;margin:8px 0 3px}
.pro-page .pro-entreprise-resume dt,.pro-page .pro-entreprise-chiffres dt{margin:0 0 6px;font-size:12px;color:#64748b}
.pro-page .pro-entreprise-resume dd{margin:0;font-size:13px;font-weight:550;line-height:1.6;overflow-wrap:anywhere}
.pro-page .pro-entreprise-valide{color:#13765b}
.pro-page .pro-entreprise-valide:before{content:'✓';display:inline-block;margin-right:6px;font-weight:700}
.pro-page .pro-entreprise-chiffres{display:flex;gap:38px;margin:0}
.pro-page .pro-entreprise-chiffres dd{margin:0;font-size:27px;font-weight:700;letter-spacing:-.03em;line-height:1.2}
.pro-page .pro-entreprise-demandes{list-style:none;width:100%;margin:0;padding:0}
.pro-page .pro-entreprise-demande{padding:18px 0;border-top:1px solid #edf1f6}
.pro-page .pro-entreprise-demande-entete{display:flex;justify-content:space-between;align-items:baseline;gap:15px;flex-wrap:wrap;margin-bottom:7px;font-size:13px}
.pro-page .pro-entreprise-montant{font-weight:650;white-space:nowrap}
.pro-page .pro-entreprise-demande p.pro-entreprise-statut{color:#34445c}
.pro-page .pro-entreprise-demande p.pro-entreprise-remise{font-size:12px;margin-top:3px}
.pro-page .pro-entreprise-condition{display:inline-block;margin-top:9px;padding:5px 9px;border-radius:7px;background:#fff5dc;color:#856219;font-size:11px;font-weight:600}
.pro-page .pro-entreprise-carte p.pro-entreprise-erreur{color:#9b432f}
.pro-page .pro-entreprise-carte--factures{align-items:center;text-align:center;padding:34px 28px}
.pro-page .pro-entreprise-carte--factures p{max-width:60ch}
.pro-page .pro-entreprise-document{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:14px;background:#f1f4f8;color:#61758f;font-size:28px}
.pro-page .pro-entreprise button:focus-visible{outline:2px solid #5275b9;outline-offset:3px}
@media(max-width:750px){
 .pro-page .container{padding-left:16px;padding-right:16px}
 .pro-page .pro-entete-label{font-size:24px;margin-left:9px;padding-left:9px}
 .pro-page .pro-contenu{padding-top:17px}
 .pro-page .pro-panneau__titre{font-size:24px}.pro-page .pro-entreprise-grille{grid-template-columns:1fr;gap:0}.pro-page .pro-entreprise-carte{padding:20px}
 .pro-page.commerce-panier .panier-layout{grid-template-columns:minmax(0,1fr);gap:22px}.pro-page .panier-resume{position:static}
}

@media(max-width:480px){
 .pro-page .pro-entreprise-accueil{margin-bottom:19px}.pro-page .pro-entreprise-intro{font-size:13px}
 .pro-page .pro-entreprise-onglets{gap:24px}.pro-page .pro-entreprise-carte{padding:20px 16px}
 .pro-page .pro-entreprise-resume{grid-template-columns:minmax(0,1fr);gap:18px}
 .pro-page .pro-entreprise-demande-entete{gap:6px;font-size:12px}.pro-page .pro-entreprise-carte--factures{padding:28px 18px}
}

/* Sur téléphone : le même dock de trois destinations, au bord de l'écran. */
@media(max-width:750px){
 .pro-page .pro-contenu{padding-top:14px}
 .pro-page .pro-onglets{bottom:0;width:100%;gap:2px;border-radius:16px 16px 0 0}
 .pro-page .pro-onglet{font-size:11px}
}
