.route-pedidos .orders-page-list {
  width: min(100%, 1050px);
  max-width: none;
  margin: 0 auto;
  padding: 18px clamp(14px, 4vw, 42px) 56px;
  background: #f8f9ed;
  font-family: Montserrat, Arial, sans-serif;
}

.route-pedidos .orders-group {
  margin: 0 0 28px;
}

.route-pedidos .orders-group h2 {
  margin: 0 0 8px;
  color: #77734e;
  font: 700 clamp(21px, 2.3vw, 29px)/1.25 Montserrat, Arial, sans-serif;
}

.route-pedidos .orders-group-list {
  display: grid;
  gap: 12px;
}

.route-pedidos .order-list-card {
  display: flex;
  align-items: flex-start;
  position: relative;
  width: 100%;
  max-width: 760px;
  min-height: 118px;
  gap: 15px;
  padding: 5px;
  border-radius: 5px;
  background: #e7e8df;
}

.route-pedidos .order-list-photo {
  flex: 0 0 86px;
  width: 86px;
  height: 108px;
  overflow: hidden;
  border-radius: 2px;
  background: #efeee7;
}

.route-pedidos .order-list-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.route-pedidos .order-list-info {
  min-width: 0;
  padding: 7px 4px 24px 0;
  color: #77734e;
}

.route-pedidos .order-list-info h3 {
  margin: 0;
  font: 400 clamp(18px, 2vw, 24px)/1.2 Montserrat, Arial, sans-serif;
  overflow-wrap: anywhere;
}

.route-pedidos .order-list-info p {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.35;
}

.route-pedidos .order-list-time {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
}

.order-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 0;
  font: 600 12px/1.3 Montserrat, Arial, sans-serif;
}

.order-status svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.order-status--scheduled { color: #77734e; }
.order-status--cancelled { color: #a32738; }
.order-status--collected { color: #287044; }
.order-status--not-collected { color: #9b4a2f; }

.route-pedido-detalhe .order-detail-page,
.route-pedido-detalhe .order-day-detail,
.route-pedido-detalhe .order-line,
.route-pedido-detalhe .pickup-code {
  min-width: 0;
  max-width: 100%;
}

.route-pedido-detalhe .order-detail-page h1 {
  margin: 0 0 8px;
  color: #77734e;
  font: 700 clamp(25px, 4vw, 36px)/1.2 Montserrat, Arial, sans-serif;
  overflow-wrap: anywhere;
}

.route-pedido-detalhe .order-line > div,
.route-pedido-detalhe .order-line > b {
  min-width: 0;
  overflow-wrap: anywhere;
}

.route-pedido-detalhe .order-line > b {
  text-align: right;
}

.route-pedido-detalhe .pickup-code > strong {
  display: block;
  max-width: 100%;
  font-size: clamp(17px, 5vw, 24px);
  letter-spacing: .04em;
}

.management-reference {
  overflow-wrap: anywhere;
}

.route-pedidos .order-list-info .order-status {
  display: flex;
  margin-top: 4px;
  font-weight: 700;
}

.route-pedidos .order-list-open {
  position: absolute;
  right: 13px;
  bottom: 10px;
  padding: 2px;
  border: 0;
  background: transparent;
  color: #77734e;
  font: 400 11px Montserrat, Arial, sans-serif;
  text-decoration: none;
}

.route-pedidos .order-list-open:hover,
.route-pedidos .order-list-open:focus-visible,
.route-pedidos .orders-refresh:hover,
.route-pedidos .orders-refresh:focus-visible {
  text-decoration: underline;
}

.route-pedidos .orders-empty {
  margin: 24px 0;
  color: #77734e;
}

.route-pedidos .orders-refresh {
  display: block;
  margin: 12px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #77734e;
  font: 400 12px Montserrat, Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 650px) {
  .route-pedidos .orders-page-list {
    padding: 16px 14px 38px;
  }

  .route-pedidos .orders-group {
    margin-bottom: 27px;
  }

  .route-pedidos .orders-group h2 {
    font-size: 22px;
  }

  .route-pedidos .order-list-card {
    min-height: 104px;
    gap: 13px;
    padding: 4px;
  }

  .route-pedidos .order-list-photo {
    flex-basis: 76px;
    width: 76px;
    height: 96px;
  }

  .route-pedidos .order-list-info {
    padding-top: 5px;
  }

  .route-pedidos .order-list-info h3 {
    font-size: 19px;
  }

  .route-pedidos .order-list-info p {
    font-size: 11px;
  }
}
