.recent-orders-reminder {
    margin: -2px 0 8px;
    overflow: hidden;
    text-align: center;
    white-space: nowrap;
}

.recent-orders-reminder__link {
    color: #0d6efd;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
}

.recent-orders-reminder__link:hover,
.recent-orders-reminder__link:focus {
    color: #0a58ca;
    text-decoration: underline;
}

  /* 手机端订单结果：让商品信息保持紧凑，优先露出宝贝内容 */
  @media (max-width: 767.98px) {
    .order-results .panel-body {
      padding-right: 10px;
      padding-left: 10px;
    }

    .order-results .order-item {
      padding: 14px;
      margin-bottom: 12px;
      border-radius: 14px;
    }

    .order-results .order-header {
      gap: 10px;
      margin-bottom: 12px;
      padding-bottom: 12px;
    }

    .order-results .order-left {
      width: 100%;
      gap: 10px;
    }

    .order-results .status-badge {
      padding: 6px 10px;
      white-space: nowrap;
    }

    .order-results .order-no {
      margin-bottom: 5px;
      font-size: 16px;
      overflow-wrap: anywhere;
    }

    .order-results .order-time,
    .order-results .payment-time,
    .order-results .payment-dst {
      margin-bottom: 2px;
      font-size: 12px;
    }

    .order-results .order-right {
      align-self: flex-start;
    }

    .order-results .order-amount {
      flex-direction: row;
      align-items: baseline;
      gap: 8px;
    }

    .order-results .amount-label {
      margin-bottom: 0;
    }

    .order-results .amount-value {
      font-size: 20px;
    }

    .order-results .goods-section {
      flex-direction: row;
      align-items: center;
      gap: 10px;
      padding: 10px 12px;
      text-align: left;
    }

    .order-results .goods-thumb {
      align-self: auto;
    }

    .order-results .goods-image {
      width: 54px;
      height: 54px;
      border-radius: 10px;
      object-fit: cover;
    }

    .order-results .goods-name {
      display: -webkit-box;
      margin: 0 0 5px;
      overflow: hidden;
      font-size: 15px;
      line-height: 1.3;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .order-results .goods-meta {
      justify-content: flex-start;
    }

    .order-results .goods-sku {
      font-size: 12px;
    }

    .order-results .card-section {
      margin-top: 12px;
      padding-top: 12px;
    }

    .order-results .card-header {
      margin-bottom: 8px;
    }

    .order-results .card-title {
      width: 100%;
      justify-content: space-between;
      font-size: 15px !important;
    }

    .order-results .card-content,
    .order-results .card-content-no-password {
      margin-top: 8px;
      padding: 12px;
    }
  }

/* Long order numbers, SKU labels and delivery text must fit narrow screens. */
@media (max-width: 767.98px) {
    .order-results .order-basic,
    .order-results .order-left {
        min-width: 0;
    }
    .order-results .goods-sku {
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    .order-results .card-display,
    .order-results .card-section > .mt-3 {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .order-query-form .btn-search-query {
        white-space: nowrap;
    }
}
