/* Favorito Delivery — Build 408
   Andamento vertical no mobile, carrinho oculto após envio e avaliação no cabeçalho. */

/* Cabeçalho da loja: no lugar da cidade, avaliação real da unidade. */
body.marketplace-store-app[data-market-page="loja"] .store-app-copy .store-app-rating{
  display:flex!important;align-items:center!important;gap:4px!important;
  margin:3px 0 0!important;padding:0!important;max-width:100%!important;
  color:#667085!important;font-size:11.5px!important;line-height:1.25!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
body.marketplace-store-app[data-market-page="loja"] .store-app-copy .store-app-rating svg{
  width:13px!important;height:13px!important;flex:0 0 13px!important;color:#f59e0b!important;fill:currentColor!important;
}
body.marketplace-store-app[data-market-page="loja"] .store-app-copy .store-app-rating strong{font-size:11.5px!important;font-weight:800!important;color:#344054!important}
body.marketplace-store-app[data-market-page="loja"] .store-app-copy .store-app-rating span{font-size:11px!important;font-weight:600!important;color:#667085!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.marketplace-store-app[data-market-page="loja"] .store-app-copy .store-app-rating.is-empty svg{color:#98a2b3!important;fill:none!important}

/* Pedido enviado: acompanhamento tem prioridade visual absoluta sobre o carrinho. */
body[data-market-page="loja"] .market-active-order-bar ~ .market-floating-cart{display:none!important}

/* Mobile: fluxo do pedido volta a ser vertical, uma etapa abaixo da outra. */
@media (max-width:620px){
  body[data-market-page="pedido"] .fd404-order-timeline{
    display:block!important;padding:12px 14px!important;gap:0!important;
  }
  body[data-market-page="pedido"] .fd404-order-timeline .consumer-order-timeline-step{
    position:relative!important;display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;
    align-items:start!important;justify-items:stretch!important;gap:11px!important;
    width:100%!important;min-height:58px!important;padding:0 0 12px!important;text-align:left!important;
  }
  body[data-market-page="pedido"] .fd404-order-timeline .consumer-order-timeline-step:last-child{min-height:38px!important;padding-bottom:0!important}
  body[data-market-page="pedido"] .fd404-order-timeline .consumer-order-timeline-step::after{
    content:""!important;position:absolute!important;left:18px!important;top:36px!important;bottom:0!important;
    width:2px!important;background:#e3e7ed!important;border-radius:2px!important;
  }
  body[data-market-page="pedido"] .fd404-order-timeline .consumer-order-timeline-step:last-child::after{display:none!important}
  body[data-market-page="pedido"] .fd404-order-timeline .consumer-order-timeline-step.is-done:not(.is-current)::after{background:#86d6a2!important}
  body[data-market-page="pedido"] .fd404-order-timeline .consumer-order-timeline-step>span{
    grid-column:1!important;grid-row:1!important;width:36px!important;height:36px!important;min-width:36px!important;
    margin:0!important;position:relative!important;z-index:2!important;
  }
  body[data-market-page="pedido"] .fd404-order-timeline .consumer-order-timeline-step>div{
    grid-column:2!important;grid-row:1!important;min-width:0!important;padding:2px 0 0!important;text-align:left!important;
  }
  body[data-market-page="pedido"] .fd404-order-timeline .consumer-order-timeline-step strong{
    font-size:13px!important;line-height:1.25!important;text-align:left!important;overflow-wrap:normal!important;
  }
  body[data-market-page="pedido"] .fd404-order-timeline .consumer-order-timeline-step small{
    margin-top:3px!important;font-size:11px!important;line-height:1.25!important;text-align:left!important;white-space:normal!important;
  }
}
