/**
 * FarshidBonab compact cart items v3
 * A focused presentation layer for food-order rows. Loaded after menu-checkout-v2.css.
 */
/* Compact food-order list — keeps many cart items visible without nested cards. */
body.online-cart-enabled .cart-basket-card{
  gap:10px!important;
  padding:14px!important;
}
body.online-cart-enabled .cart-items{
  display:block!important;
  overflow:hidden!important;
  padding:0!important;
  border-block:1px solid #332c24!important;
  background:transparent!important;
}
body.online-cart-enabled .cart-row{
  display:grid!important;
  grid-template-columns:46px minmax(0,1fr) 90px 32px!important;
  grid-template-areas:"media main qty remove"!important;
  align-items:center!important;
  gap:10px!important;
  min-height:66px!important;
  margin:0!important;
  padding:9px 2px!important;
  overflow:visible!important;
  border:0!important;
  border-bottom:1px solid #2e2821!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  transition:background .18s ease!important;
}
body.online-cart-enabled .cart-row:last-child{border-bottom:0!important}
body.online-cart-enabled .cart-row:hover{
  border-color:#2e2821!important;
  background:rgba(255,255,255,.018)!important;
  transform:none!important;
}
body.online-cart-enabled .cart-row__media{
  grid-area:media;
  width:46px;
  height:46px;
  overflow:hidden;
  border-radius:13px;
  background:#242019;
}
body.online-cart-enabled .cart-row__media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
body.online-cart-enabled .cart-row__media.is-placeholder{
  display:grid;
  place-items:center;
  border:1px solid #493b28;
  background:linear-gradient(145deg,#2b241a,#1a1712);
  color:#e5c887;
  font-size:10px;
  font-weight:950;
  letter-spacing:.05em;
}
body.online-cart-enabled .cart-row__main{
  grid-area:main!important;
  min-width:0!important;
  display:grid!important;
  gap:5px!important;
}
body.online-cart-enabled .cart-row__main>strong{
  overflow:hidden!important;
  color:#fffaf2!important;
  font-size:12.5px!important;
  font-weight:950!important;
  line-height:1.55!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.online-cart-enabled .cart-row__meta{
  min-width:0;
  display:flex;
  align-items:center;
  gap:8px;
  overflow:hidden;
  white-space:nowrap;
}
body.online-cart-enabled .cart-row__meta span{
  overflow:hidden;
  color:#aaa093!important;
  font-size:8.5px!important;
  font-weight:700!important;
  text-overflow:ellipsis;
}
body.online-cart-enabled .cart-row__meta span small{
  color:#7f776d!important;
  font:inherit!important;
}
body.online-cart-enabled .cart-row__meta b{
  flex:0 0 auto;
  color:#efd29a!important;
  font-size:10px!important;
  font-weight:950!important;
}
body.online-cart-enabled .cart-qty-control{
  grid-area:qty!important;
  width:90px!important;
  height:32px!important;
  display:grid!important;
  grid-template-columns:30px 30px 30px!important;
  align-items:center!important;
  overflow:hidden!important;
  border:1px solid #493d2d!important;
  border-radius:10px!important;
  background:#100f0d!important;
}
body.online-cart-enabled .cart-qty-btn{
  width:30px!important;
  height:30px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#efd39d!important;
  font-family:inherit!important;
  font-size:17px!important;
  line-height:1!important;
}
body.online-cart-enabled .cart-qty-btn:hover{background:#262016!important}
body.online-cart-enabled .cart-qty-control>b{
  height:30px!important;
  display:grid!important;
  place-items:center!important;
  border-inline:1px solid #302a22!important;
  color:#fff8ed!important;
  font-size:10.5px!important;
  font-weight:950!important;
}
body.online-cart-enabled .remove-item{
  grid-area:remove!important;
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  display:grid!important;
  place-items:center!important;
  justify-self:end!important;
  padding:0!important;
  border:0!important;
  border-radius:10px!important;
  background:transparent!important;
  color:#a98479!important;
}
body.online-cart-enabled .remove-item span{display:none!important}
body.online-cart-enabled .remove-item svg{width:16px!important;height:16px!important}
body.online-cart-enabled .remove-item:hover{
  border:0!important;
  background:#2b1916!important;
  color:#ffc0ae!important;
}

@media(max-width:470px){
  body.online-cart-enabled .cart-basket-card{padding:11px!important}
  body.online-cart-enabled .cart-row{
    grid-template-columns:42px minmax(0,1fr) 84px 30px!important;
    grid-template-areas:"media main qty remove"!important;
    gap:7px!important;
    min-height:61px!important;
    padding:8px 0!important;
  }
  body.online-cart-enabled .cart-row__media{width:42px;height:42px;border-radius:11px}
  body.online-cart-enabled .cart-row__main>strong{font-size:11.5px!important}
  body.online-cart-enabled .cart-row__meta{gap:6px}
  body.online-cart-enabled .cart-row__meta span{font-size:8px!important}
  body.online-cart-enabled .cart-row__meta b{font-size:9.5px!important}
  body.online-cart-enabled .cart-qty-control{width:84px!important;height:30px!important;grid-template-columns:28px 28px 28px!important}
  body.online-cart-enabled .cart-qty-btn{width:28px!important;height:28px!important;font-size:16px!important}
  body.online-cart-enabled .cart-qty-control>b{height:28px!important;font-size:10px!important}
  body.online-cart-enabled .remove-item{width:30px!important;height:30px!important;min-width:30px!important}
}

@media(max-width:360px){
  body.online-cart-enabled .cart-row{
    grid-template-columns:40px minmax(0,1fr) 30px!important;
    grid-template-areas:
      "media main remove"
      "media qty qty"!important;
    row-gap:5px!important;
    min-height:74px!important;
  }
  body.online-cart-enabled .cart-row__media{width:40px;height:40px}
  body.online-cart-enabled .cart-qty-control{justify-self:start!important}
  body.online-cart-enabled .cart-row__meta b{font-size:9px!important}
}
