/* STAFF-REDESIGN-6M6 – Warenkorb final compact / klare 2-Aktionen
   Ziel: Warenkorb orientiert sich an den übrigen Staff-Seiten, nicht an Plakat-Typo. */

/* Seitenkopf klein wie normale App-Unterseite */
#screenCart .screen-title{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:start!important;
  gap:10px!important;
  margin:10px 0 12px!important;
}
#screenCart .screen-title h2{
  font-size:24px!important;
  line-height:1.05!important;
  letter-spacing:-.025em!important;
  margin:0 0 4px!important;
  font-weight:820!important;
}
#screenCart .screen-title p{
  font-size:13px!important;
  line-height:1.25!important;
  max-width:260px!important;
  margin:0!important;
  font-weight:520!important;
  color:#aeb5c1!important;
}
#screenCart .back-btn{
  min-height:38px!important;
  padding:8px 12px!important;
  border-radius:14px!important;
  font-size:13px!important;
  font-weight:800!important;
}

/* Hauptpanel deutlich zurückgenommen */
#screenCart .manual-panel.cart-page-panel{
  margin-top:6px!important;
  padding:12px!important;
  border-radius:18px!important;
}
#screenCart .step-label{
  font-size:10.5px!important;
  letter-spacing:.14em!important;
  line-height:1.1!important;
  margin:0 0 8px!important;
  font-weight:850!important;
}

/* Fahrzeugblock: maximal kompakt, Kennzeichen nicht riesig */
#screenCart .cart-page-context{
  padding:10px 12px!important;
  border-radius:14px!important;
  margin:0 0 9px!important;
}
#screenCart .cart-page-context strong{
  display:block!important;
  font-size:16px!important;
  line-height:1.15!important;
  letter-spacing:-.01em!important;
  margin:0 0 3px!important;
  font-weight:850!important;
  overflow-wrap:anywhere!important;
}
#screenCart .cart-page-context span{
  display:block!important;
  font-size:12px!important;
  line-height:1.22!important;
  font-weight:600!important;
  color:#aeb5c1!important;
  overflow-wrap:anywhere!important;
}

/* Artikelzeilen: kompakte Bedienzeile, keine riesige Karte */
#screenCart .cart-page-items{display:grid!important;gap:7px!important;margin:8px 0!important;}
#screenCart .cart-page-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-areas:"main price" "main qty"!important;
  align-items:center!important;
  gap:6px 10px!important;
  padding:10px 12px!important;
  border-radius:14px!important;
  min-height:0!important;
}
#screenCart .cart-page-row-main{grid-area:main!important;min-width:0!important;}
#screenCart .cart-page-row-main strong{
  display:block!important;
  font-size:15px!important;
  line-height:1.15!important;
  letter-spacing:-.005em!important;
  font-weight:830!important;
  overflow-wrap:anywhere!important;
}
#screenCart .cart-page-row-main span,
#screenCart .cart-page-row-main small,
#screenCart .manual-item-meta{
  font-size:11px!important;
  line-height:1.2!important;
  margin-top:2px!important;
  color:#aeb5c1!important;
}
#screenCart .cart-page-row-price{
  grid-area:price!important;
  font-size:16px!important;
  line-height:1.1!important;
  font-weight:850!important;
  white-space:nowrap!important;
  color:#f3f5f8!important;
}
#screenCart .cart-page-qty{
  grid-area:qty!important;
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:6px!important;
  margin:0!important;
}
#screenCart .cart-page-qty button{
  width:28px!important;
  height:28px!important;
  min-height:28px!important;
  padding:0!important;
  border-radius:9px!important;
  font-size:15px!important;
  line-height:1!important;
}
#screenCart .cart-page-qty b{
  min-width:20px!important;
  font-size:13.5px!important;
  line-height:28px!important;
  font-weight:850!important;
  text-align:center!important;
}

/* Summe kleiner, aber noch klar */
#screenCart .cart-page-total{
  display:flex!important;
  justify-content:space-between!important;
  align-items:flex-end!important;
  gap:12px!important;
  border-top:1px solid rgba(255,255,255,.1)!important;
  margin:9px 0 0!important;
  padding:9px 0 0!important;
}
#screenCart .cart-page-total span{
  font-size:10.5px!important;
  letter-spacing:.13em!important;
  font-weight:850!important;
  color:#aeb5c1!important;
}
#screenCart .cart-page-total strong{
  font-size:25px!important;
  line-height:1!important;
  letter-spacing:-.025em!important;
  font-weight:900!important;
  color:#ffcc00!important;
}

/* Nur zwei klare Aktionen unten */
#screenCart .cart-page-actions{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:8px!important;
  margin-top:11px!important;
}
#screenCart #cartPageClearBtn{display:none!important;}
#screenCart .cart-page-actions .btn,
#screenCart .cart-page-actions .primary{
  grid-column:auto!important;
  grid-row:auto!important;
  min-height:40px!important;
  padding:8px 10px!important;
  border-radius:13px!important;
  font-size:13px!important;
  line-height:1.12!important;
  font-weight:850!important;
}
#screenCart #cartPageSubmitBtn{background:#ffcc00!important;color:#050505!important;border-color:#ffcc00!important;}

/* Bottom Dock: keine aufgeblasene aktive Warenkorb-Kachel */
.bottom-nav.fourNav{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:6px!important;
  padding:7px!important;
  min-height:68px!important;
  align-items:center!important;
}
.bottom-nav.fourNav .nav-item,
.bottom-nav.fourNav .nav-item.active,
.bottom-nav.fourNav .nav-item[aria-current="page"],
.bottom-nav.fourNav .cartNavBtn,
.bottom-nav.fourNav .cartNavBtn.active{
  position:relative!important;
  min-height:50px!important;
  height:50px!important;
  padding:6px 3px 5px!important;
  border-radius:14px!important;
  transform:none!important;
  overflow:visible!important;
  font-size:10.5px!important;
  line-height:1.05!important;
  font-weight:800!important;
}
.bottom-nav.fourNav .nav-item strong,
.bottom-nav.fourNav .cartNavBtn strong{
  display:block!important;
  font-size:15px!important;
  line-height:15px!important;
  height:15px!important;
  margin:0 0 4px!important;
  transform:none!important;
}
.bottom-nav.fourNav .nav-item span,
.bottom-nav.fourNav .cartNavBtn span{
  display:block!important;
  font-size:10px!important;
  line-height:1.05!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.bottom-nav.fourNav .cart-dock-total{display:none!important;}
.bottom-nav.fourNav .cart-dock-badge{
  position:absolute!important;
  top:4px!important;
  right:14px!important;
  width:16px!important;
  min-width:16px!important;
  height:16px!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  font-size:9.5px!important;
  line-height:16px!important;
  font-weight:900!important;
  text-align:center!important;
  box-sizing:border-box!important;
  box-shadow:0 0 0 2px rgba(5,7,12,.95)!important;
}
.bottom-nav.fourNav .cart-dock-badge.hidden{display:none!important;}

@media(max-width:430px){
  #screenCart .screen-title h2{font-size:23px!important;}
  #screenCart .screen-title p{font-size:12.5px!important;max-width:230px!important;}
  #screenCart .manual-panel.cart-page-panel{padding:10px!important;border-radius:17px!important;}
  #screenCart .cart-page-context strong{font-size:15px!important;}
  #screenCart .cart-page-row-main strong{font-size:14.5px!important;}
  #screenCart .cart-page-row-price{font-size:15px!important;}
  #screenCart .cart-page-total strong{font-size:23px!important;}
  #screenCart .cart-page-actions .btn{font-size:12.5px!important;}
}
