/* v545: tablet header total next to cart. Phones keep the compact icon-only cart. */
@media (min-width: 600px) and (min-height: 600px) and (max-width: 1239.98px) {
  html.ahp-layout-v497 #editorHeader .header-summary-wrap,
  html.ahp-layout-v497 #startHeader .header-summary-wrap {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 0 0 auto !important;
  }

  html.ahp-layout-v497 #editorHeader #topSummaryButton,
  html.ahp-layout-v497 #startHeader #startTopSummaryButton {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    gap: 8px !important;
    padding: 0 4px !important;
    justify-content: flex-start !important;
  }

  html.ahp-layout-v497 #editorHeader #topSummaryButton .top-summary-main,
  html.ahp-layout-v497 #startHeader #startTopSummaryButton .top-summary-main,
  html.ahp-layout-v497 #editorHeader #topSummaryButton .top-summary-main strong,
  html.ahp-layout-v497 #startHeader #startTopSummaryButton .top-summary-main strong {
    display: flex !important;
    align-items: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    max-width: none !important;
    color: #fff !important;
    white-space: nowrap !important;
  }

  html.ahp-layout-v497 #editorHeader #topSummaryButton .top-summary-main strong,
  html.ahp-layout-v497 #startHeader #startTopSummaryButton .top-summary-main strong {
    font-size: 14px !important;
    line-height: 1 !important;
  }
}
