/* PILOTERA_ERGONOMIE_V8_20261125 - styles pour les elements reels commerce.html */
body.pd-v8-ui main .pd-v8-shop-dock {
  display: flex !important; justify-content: flex-end !important;
  align-items: center !important; box-sizing: border-box !important;
  padding: 0 22px 0 10px !important; margin: 3px 0 12px !important;
  min-height: 60px !important; width: 100% !important;
  position: relative !important; z-index: 5 !important;
}
body.pd-v8-ui main .pd-v8-shop-label {
  display: flex !important; flex-direction: column !important;
  align-items: flex-start !important; gap: 5px !important;
  width: min(345px,100%) !important; max-width: 100% !important;
  color: #35112b !important; font-size: 1rem !important;
  font-weight: 850 !important; transform: none !important;
  text-shadow: none !important;
}
body.pd-v8-ui main .pd-v8-shop-label #shop {
  box-sizing: border-box !important; min-height: 49px !important;
  width: 100% !important; font-size: .95rem !important;
  color: #1a1022 !important; border: 1px solid #c7a4ba !important;
  background: #fffafc !important; font-weight: 700 !important;
  box-shadow: 0 3px 8px rgba(45,18,40,.08) !important;
}
/* Les quatre commandes administratives du proprietaire */
body.pd-v8-ui header.topbar .top-actions .pd-v8-purple,
body.pd-v8-ui .top-actions .pd-v8-purple {
  background: linear-gradient(160deg,#9c4aaa,#75247f 62%,#51145a) !important;
  background-image: linear-gradient(160deg,#9c4aaa,#75247f 62%,#51145a) !important;
  color: #fff !important; -webkit-text-fill-color: #fff !important;
  font-weight: 850 !important; text-shadow: none !important;
  border: 1px solid #c291cb !important; border-bottom: 3px solid #45164f !important;
  box-shadow: 0 4px 0 #47134f, 0 9px 14px rgba(44,9,53,.2) !important;
}
body.pd-v8-ui .top-actions .pd-v8-purple * { color:#fff!important; -webkit-text-fill-color:#fff!important; text-shadow:none!important; }
body.pd-v8-ui .top-actions .pd-v8-purple:hover,
body.pd-v8-ui .top-actions .pd-v8-purple:focus-visible {
  color:#fff !important; -webkit-text-fill-color:#fff !important;
  background:#a451ac!important; background-image:none!important;
}
body.pd-v8-ui .top-actions .pd-v8-purple:active {
  color:#321139!important; -webkit-text-fill-color:#321139!important;
  background:#f0e9ef!important; background-image:none!important;
}
/* Cartes de Famille et Sous-famille : surface d'environ 3 fois la precedente */
body.pd-v8-ui main .pd-v8-category-tile {
  display: inline-flex !important; box-sizing: border-box !important;
  width: min(287px,100%) !important; min-width: min(200px,100%) !important;
  max-width: 100% !important; min-height: 110px !important;
  align-items: center !important; justify-content: flex-start !important;
  gap: 12px !important; padding: 14px !important;
  background: #44464d !important; background-image: none !important;
  color: white !important; -webkit-text-fill-color:white!important;
  font-weight: 850 !important; font-size: 1.1rem !important;
  border: 2px solid #5c5e65 !important; border-radius: 17px !important;
  box-shadow: 0 5px 0 #59545f, 0 10px 20px rgba(0,0,0,.18) !important;
  text-shadow: none !important; cursor: pointer !important;
}
body.pd-v8-ui main .pd-v8-category-tile :is(span,small,b,strong,p,div,h3,h4,label) {
  color: white !important; -webkit-text-fill-color:white!important;
  font-weight: 850 !important; text-shadow:none!important;
}
body.pd-v8-ui main .pd-v8-category-tile :is(img,svg) {
  max-width: 74px !important; max-height: 80px !important;
  object-fit: cover; border-radius: 9px;
}
body.pd-v8-ui main .pd-v8-category-tile:hover,
body.pd-v8-ui main .pd-v8-category-tile:focus-visible,
body.pd-v8-ui main .pd-v8-category-tile:active {
  background: #eee9e9 !important; background-image: none !important;
  color: #131313 !important; -webkit-text-fill-color:#131313!important;
  border-color: #8c868b !important;
}
body.pd-v8-ui main .pd-v8-category-tile:is(:hover,:focus-visible,:active) :is(span,small,b,strong,p,div,h3,h4,label) {
  color:#131313!important; -webkit-text-fill-color:#131313!important;
}
/* Conserver Retour bleu deja valide, rendre sa regle independante de V7 */
body.pd-v8-ui main .pd-v8-back {
  background: linear-gradient(160deg,#2984de,#155baf) !important;
  background-image: linear-gradient(160deg,#2984de,#155baf) !important;
  color:#fff!important; -webkit-text-fill-color:#fff!important;
  font-weight:850!important; border:1px solid #1b559d!important;
  box-shadow:0 3px 0 #174a7e!important;
}
@media(max-width:760px){
  body.pd-v8-ui main .pd-v8-shop-dock { padding-right: 8px !important; margin: 8px 0!important; }
  body.pd-v8-ui main .pd-v8-shop-label { width:100%!important; }
  body.pd-v8-ui main .pd-v8-category-tile { width:100%!important; min-width:0!important; min-height:82px!important; font-size:1.05rem!important; }
}
