/* Favorito Delivery — Build 405 */

/* 900px reais no desktop, inclusive modelos que antes travavam em 760/820px. */
@media (min-width:901px){
  body.marketplace-body{--store-app-desktop-width:900px!important}
  body.marketplace-body .market-wrap,
  body.marketplace-body .market-header .market-wrap,
  body.marketplace-body .market-footer .market-wrap,
  body.marketplace-body .market-store-context-bar .market-wrap,
  body.marketplace-body .consumer-page-shell,
  body.marketplace-body .consumer-cart-page,
  body.marketplace-body .fdx-content,
  body.marketplace-body .fdx-summary,
  body.marketplace-body .market-app-bottom{
    width:min(900px,calc(100% - 40px))!important;
    max-width:900px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  body.marketplace-store-app .market-main{
    width:min(900px,100%)!important;
    max-width:900px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  body.marketplace-body.market-model-offers_v1 .offers-v1-home,
  body.marketplace-body.market-model-offers_v1 .market-product-page,
  body.marketplace-body.market-model-offers_v1 .consumer-cart-page,
  body.marketplace-body.market-model-offers_v1 .offers-v1-product-flow,
  body.marketplace-body.market-model-profile_v1 .profile-store-home,
  body.marketplace-body .app-store-page,
  body.marketplace-body .store-page{
    width:min(900px,100%)!important;
    max-width:900px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  body.marketplace-body .fdx-sheet-page{width:min(900px,100%)!important;max-width:900px!important}
  body.marketplace-body .fdx-sheet-scroll{width:min(860px,100%)!important;max-width:860px!important}
}

/* Cabeçalho da loja: nome centralizado, status no canto e serviços compactos. */
body.marketplace-store-app[data-market-page="loja"] .store-app-identity{
  position:relative!important;
}
body.marketplace-store-app[data-market-page="loja"] .store-app-copy{
  position:static!important;
  text-align:center!important;
}
body.marketplace-store-app[data-market-page="loja"] .store-app-copy h1{
  text-align:center!important;
  font-weight:760!important;
  letter-spacing:-.015em!important;
}
body.marketplace-store-app[data-market-page="loja"] .store-app-copy p{
  text-align:center!important;
}
body.marketplace-store-app[data-market-page="loja"] .store-open-state{
  position:absolute!important;
  right:14px!important;
  margin:0!important;
  white-space:nowrap!important;
  font-size:10.5px!important;
  font-weight:750!important;
  line-height:1!important;
}
body.marketplace-store-app[data-market-page="loja"] .market-store-service-chips{
  justify-content:center!important;
  gap:5px!important;
  margin-top:7px!important;
}
body.marketplace-store-app[data-market-page="loja"] .market-store-service-chip{
  min-height:25px!important;
  padding:4px 7px!important;
  gap:4px!important;
  border-radius:8px!important;
  font-size:10px!important;
  font-weight:600!important;
  line-height:1!important;
}
body.marketplace-store-app[data-market-page="loja"] .market-store-service-chip svg{
  width:12px!important;height:12px!important;
}

@media (max-width:900px){
  body.marketplace-store-app[data-market-page="loja"] .store-app-identity{
    display:block!important;
    margin-top:-36px!important;
    padding:0 12px 12px!important;
    min-height:105px!important;
  }
  body.marketplace-store-app[data-market-page="loja"] .store-app-identity .store-avatar.large{
    position:absolute!important;
    left:12px!important;
    top:0!important;
    width:74px!important;
    height:74px!important;
    z-index:2!important;
  }
  body.marketplace-store-app[data-market-page="loja"] .store-app-copy{
    width:100%!important;
    min-width:0!important;
    padding:42px 74px 0!important;
    box-sizing:border-box!important;
  }
  body.marketplace-store-app[data-market-page="loja"] .store-app-copy h1{
    margin:0!important;
    font-size:18px!important;
    line-height:1.18!important;
    min-height:22px!important;
    overflow:visible!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
  }
  body.marketplace-store-app[data-market-page="loja"] .store-app-copy p{
    margin:3px 0 0!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-open-state{
    top:45px!important;
    right:12px!important;
  }
  body.marketplace-store-app[data-market-page="loja"] .market-store-service-chips{
    margin-left:-60px!important;
    margin-right:-60px!important;
  }
}

@media (min-width:901px){
  body.marketplace-store-app[data-market-page="loja"] .store-app-identity{
    min-height:104px!important;
    padding:0 22px 14px!important;
  }
  body.marketplace-store-app[data-market-page="loja"] .store-app-copy{
    width:100%!important;
    padding:43px 110px 0!important;
  }
  body.marketplace-store-app[data-market-page="loja"] .store-open-state{top:47px!important;right:22px!important}
  body.marketplace-store-app[data-market-page="loja"] .store-app-copy h1{font-size:21px!important}
}
