/**
 * Client storefront — Batch IMEI query (order history → batch query link).
 * Complements inline styles in batchquery/templete.php; load after mobile-shared.css.
 */

@media (max-width: 991.98px) {
  .pc-storefront-body .imei-bq-page,
  .imei-bq-page {
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .pc-storefront-body .imei-bq-page .modern-card,
  .pc-storefront-body .imei-bq-page .card {
    min-width: 0;
    max-width: 100%;
  }

  .pc-storefront-body .imei-bq-page .bq-dup-summary-box {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .pc-storefront-body .imei-bq-page #duplicateReviewSummary {
    flex: 1 1 auto;
    min-width: 0;
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: normal;
    overflow-wrap: normal;
  }

  .pc-storefront-body .imei-bq-page #duplicateReviewSummary .bq-dup-warn,
  .pc-storefront-body .imei-bq-page #duplicateReviewSummary .bq-dup-ok {
    display: inline;
    white-space: nowrap;
    word-break: normal;
  }

  .pc-storefront-body .imei-bq-page .bq-dup-review-btn {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .pc-storefront-body .imei-bq-page #duplicateReviewModal .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .pc-storefront-body .imei-bq-page .bq-dup-rule-row > .col-6,
  .pc-storefront-body .imei-bq-page .bq-dup-rule-row > .bq-dup-col {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }
}
