/* STAFF-REDESIGN-6M4 – Warenkorb wirklich auf Staff-App-Typo zurückgeführt
   Nur CSS: Warenkorbseite + Warenkorb-Button im Daumenmenü. Keine Logik. */

/* Screen-Header wie die übrigen kompakten Staff-Seiten, nicht Plakatgröße */
html body #appShell #screenCart .screen-title{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:start!important;
  gap:14px!important;
  margin:18px 0 14px!important;
}
html body #appShell #screenCart .screen-title h2{
  font-size:34px!important;
  line-height:1.02!important;
  letter-spacing:-.045em!important;
  margin:0 0 8px!important;
  font-weight:900!important;
}
html body #appShell #screenCart .screen-title p{
  font-size:17px!important;
  line-height:1.32!important;
  max-width:270px!important;
  margin:0!important;
  font-weight:650!important;
}
html body #appShell #screenCart .back-btn{
  min-height:46px!important;
  padding:10px 14px!important;
  border-radius:16px!important;
  font-size:16px!important;
  line-height:1!important;
  font-weight:850!important;
}

/* Warenkorbpanel ruhiger und flacher */
html body #appShell #screenCart .manual-panel.cart-page-panel{
  margin-top:8px!important;
  padding:16px!important;
  border-radius:22px!important;
}
html body #appShell #screenCart .step-label{
  font-size:13px!important;
  letter-spacing:.13em!important;
  margin-bottom:10px!important;
  font-weight:900!important;
}
html body #appShell #screenCart .cart-page-context{
  padding:12px 13px!important;
  border-radius:16px!important;
  margin-bottom:10px!important;
}
html body #appShell #screenCart .cart-page-context strong{
  display:block!important;
  font-size:21px!important;
  line-height:1.14!important;
  letter-spacing:-.025em!important;
  margin:0 0 5px!important;
  font-weight:900!important;
  overflow-wrap:anywhere!important;
}
html body #appShell #screenCart .cart-page-context span{
  font-size:14px!important;
  line-height:1.25!important;
  font-weight:600!important;
}

/* Artikel nicht als Monster-Zeile */
html body #appShell #screenCart .cart-page-items{
  gap:8px!important;
  margin:10px 0!important;
}
html body #appShell #screenCart .cart-page-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-areas:"main price" "qty qty"!important;
  gap:8px 10px!important;
  align-items:start!important;
  padding:11px 12px!important;
  border-radius:16px!important;
}
html body #appShell #screenCart .cart-page-row-main{grid-area:main!important;min-width:0!important;}
html body #appShell #screenCart .cart-page-row-main strong{
  display:block!important;
  font-size:19px!important;
  line-height:1.15!important;
  letter-spacing:-.025em!important;
  font-weight:900!important;
  overflow-wrap:anywhere!important;
}
html body #appShell #screenCart .cart-page-row-main span,
html body #appShell #screenCart .cart-page-row-main small{
  font-size:12.5px!important;
  line-height:1.25!important;
  margin-top:3px!important;
}
html body #appShell #screenCart .cart-page-row-price{
  grid-area:price!important;
  font-size:20px!important;
  line-height:1.1!important;
  font-weight:900!important;
  white-space:nowrap!important;
  padding-top:0!important;
}
html body #appShell #screenCart .cart-page-qty{
  grid-area:qty!important;
  justify-content:flex-end!important;
  gap:8px!important;
  margin-top:0!important;
}
html body #appShell #screenCart .cart-page-qty button{
  width:34px!important;
  height:32px!important;
  min-height:32px!important;
  border-radius:11px!important;
  font-size:18px!important;
  line-height:1!important;
  padding:0!important;
}
html body #appShell #screenCart .cart-page-qty b{
  min-width:26px!important;
  font-size:16px!important;
  line-height:32px!important;
}

/* Summe und Aktionen passend zu übrigen Seiten */
html body #appShell #screenCart .cart-page-total{
  padding-top:10px!important;
  margin-top:8px!important;
}
html body #appShell #screenCart .cart-page-total span{
  font-size:12px!important;
  letter-spacing:.12em!important;
  font-weight:900!important;
}
html body #appShell #screenCart .cart-page-total strong{
  font-size:36px!important;
  line-height:1!important;
  letter-spacing:-.045em!important;
  font-weight:950!important;
}
html body #appShell #screenCart .cart-page-actions{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:9px!important;
  margin-top:12px!important;
}
html body #appShell #screenCart .cart-page-actions .primary{
  grid-column:1 / -1!important;
  grid-row:1!important;
}
html body #appShell #screenCart .cart-page-actions .btn{
  min-height:48px!important;
  padding:11px 12px!important;
  border-radius:15px!important;
  font-size:15.5px!important;
  line-height:1.12!important;
  font-weight:900!important;
}
html body #appShell #screenCart .cart-page-actions .primary{
  min-height:52px!important;
  font-size:18px!important;
}

/* Bottom-Dock: Warenkorb verhält sich wie normale Navigation, kein aufgeblasenes Sonderfeld */
html body #appShell .bottom-nav.fourNav{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:6px!important;
  padding:7px!important;
  min-height:74px!important;
  align-items:center!important;
}
html body #appShell .bottom-nav.fourNav .nav-item,
html body #appShell .bottom-nav.fourNav .nav-item.active,
html body #appShell .bottom-nav.fourNav .nav-item[aria-current="page"]{
  position:relative!important;
  min-height:56px!important;
  height:56px!important;
  padding:6px 3px 5px!important;
  border-radius:16px!important;
  transform:none!important;
  overflow:visible!important;
  font-size:12px!important;
  line-height:1.05!important;
  font-weight:850!important;
}
html body #appShell .bottom-nav.fourNav .nav-item strong,
html body #appShell .bottom-nav.fourNav .cartNavBtn strong{
  display:block!important;
  font-size:18px!important;
  line-height:18px!important;
  height:18px!important;
  margin:0 0 4px!important;
  transform:none!important;
}
html body #appShell .bottom-nav.fourNav .nav-item span,
html body #appShell .bottom-nav.fourNav .cartNavBtn span{
  display:block!important;
  font-size:11px!important;
  line-height:1.05!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
/* Preis im Dock raus: war unlesbar und macht die Nav unruhig. Summe steht auf der Warenkorbseite. */
html body #appShell .bottom-nav.fourNav .cart-dock-total{
  display:none!important;
}
html body #appShell .bottom-nav.fourNav .cart-dock-badge{
  position:absolute!important;
  top:5px!important;
  right:18px!important;
  width:18px!important;
  min-width:18px!important;
  height:18px!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  font-size:10.5px!important;
  line-height:1!important;
  font-weight:950!important;
  text-align:center!important;
  box-shadow:0 0 0 2px rgba(5,7,12,.85)!important;
}
html body #appShell .bottom-nav.fourNav .cart-dock-badge.hidden{display:none!important;}

@media(max-width:430px){
  html body #appShell #screenCart .screen-title h2{font-size:31px!important;}
  html body #appShell #screenCart .screen-title p{font-size:15.5px!important;max-width:230px!important;}
  html body #appShell #screenCart .back-btn{font-size:15px!important;min-height:42px!important;padding:9px 12px!important;}
  html body #appShell #screenCart .manual-panel.cart-page-panel{padding:12px!important;border-radius:20px!important;}
  html body #appShell #screenCart .cart-page-context strong{font-size:18px!important;}
  html body #appShell #screenCart .cart-page-row-main strong{font-size:17px!important;}
  html body #appShell #screenCart .cart-page-row-price{font-size:18px!important;}
  html body #appShell #screenCart .cart-page-total strong{font-size:30px!important;}
  html body #appShell .bottom-nav.fourNav{gap:5px!important;padding:6px!important;}
  html body #appShell .bottom-nav.fourNav .nav-item,
  html body #appShell .bottom-nav.fourNav .nav-item.active{height:54px!important;min-height:54px!important;}
  html body #appShell .bottom-nav.fourNav .cart-dock-badge{right:14px!important;top:5px!important;}
}
