/* 0.5.8: inline quantity + price per card; direct linked info dialog. */
.mbs-shop .mbs-product-body{gap:8px!important}
.mbs-shop .mbs-product-bottom{
  order:2!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  width:100%!important;
  margin:3px 0 0!important;
}
.mbs-shop .mbs-card-price-block{min-width:0;flex:1 1 auto;display:flex;flex-direction:column;align-items:flex-start;gap:9px}
.mbs-shop .mbs-card-price-block .mbs-price{min-width:0;display:flex;flex-direction:column;gap:4px;align-items:flex-start}
.mbs-shop .mbs-card-price-block .mbs-price strong{font-size:clamp(21px,2vw,26px)!important;color:#fff!important;line-height:1.12!important;white-space:nowrap!important}
.mbs-shop .mbs-card-price-block .mbs-price small{font-size:10px!important;color:#dceab8!important;line-height:1.35!important}
.mbs-shop .mbs-card-qty{display:inline-flex;align-items:center;justify-content:space-between;gap:8px;min-height:34px;padding:3px 5px;border:1px solid #94b94980;border-radius:50px;background:#092e21;color:#fff}
.mbs-shop .mbs-card-qty button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:28px!important;height:28px!important;min-height:28px!important;min-width:28px!important;
  padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;
  background:#c5ef45!important;color:#082b1b!important;font-size:18px!important;font-weight:900!important;
  box-shadow:none!important;line-height:1!important
}
.mbs-shop .mbs-card-qty button:disabled{opacity:.36!important;cursor:not-allowed!important}
.mbs-shop .mbs-card-qty output{min-width:18px;text-align:center;font-size:14px;line-height:1;font-weight:800;color:white}
.mbs-shop .mbs-product-bottom .mbs-card-add{
  flex:0 0 auto!important;width:auto!important;min-width:0!important;min-height:38px!important;
  display:inline-flex!important;justify-content:center!important;align-items:center!important;gap:5px!important;
  padding:6px 10px!important;font-size:12px!important;box-shadow:0 4px 10px #0002!important
}
.mbs-shop .mbs-product-bottom .mbs-card-add .mbs-add-arrow{width:22px!important;height:22px!important}
.mbs-shop .mbs-view-link{
  order:3!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
  width:100%!important;margin:4px 0 0!important;padding:10px 1px 0!important;
  border-top:1px solid rgba(211,244,105,.25)!important;
  font-size:12px!important;letter-spacing:.04em!important;color:#e9f55f!important
}
.mbs-shop .mbs-view-link span{font-size:17px!important}
@media(max-width:1000px){
  .mbs-shop .mbs-product-bottom{flex-direction:column!important;align-items:stretch!important}
  .mbs-shop .mbs-card-price-block{flex-direction:row;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:7px}
  .mbs-shop .mbs-product-bottom .mbs-card-add{align-self:flex-start!important}
}
@media(max-width:620px){
  /* Preserve 0.5.7's narrow single column with the cart in a separate rail. */
  .mbs-shop .mbs-product-body{padding:11px!important;gap:5px!important}
  .mbs-shop .mbs-product-bottom{gap:10px!important;align-items:stretch!important}
  .mbs-shop .mbs-card-price-block{flex-direction:column!important;align-items:flex-start!important;gap:8px!important}
  .mbs-shop .mbs-card-price-block .mbs-price strong{font-size:21px!important}
  .mbs-shop .mbs-card-price-block .mbs-price small{font-size:10px!important;overflow-wrap:anywhere}
  .mbs-shop .mbs-card-qty{gap:6px;min-height:32px}
  .mbs-shop .mbs-card-qty button{width:27px!important;height:27px!important;min-height:27px!important;min-width:27px!important}
  .mbs-shop .mbs-product-bottom .mbs-card-add{align-self:stretch!important;min-height:34px!important;font-size:11px!important;padding:4px 8px!important;justify-content:space-between!important}
  .mbs-shop .mbs-view-link{font-size:11px!important;padding-top:9px!important;letter-spacing:.02em!important}
}
