/* Aerís mobile fixes: body copy at 14px or more and 44px tap targets on phones.
   Load after every other stylesheet. Phone widths only (the site's own 767px breakpoint), so desktop is unchanged.
   Inline links get a taller hit area through vertical padding offset by a negative margin, so text doesn't move. */
@media (max-width: 767px) {
  /* ---------- Body copy: 14px minimum ---------- */
  /* assets/ui/pages.css sets .content-page p and li to 13px below 768px, and notes, hints and fine print to 11-12px. */
  .content-page p,
  .content-page li,
  .content-page dd,
  .content-page details p,
  .content-page .acc-body,
  .content-page .pdp-story,
  .content-page .fineprint,
  .content-page .micro,
  .content-page .muted,
  .content-page .hint,
  .content-page .form-note,
  .samples-page .learn-price-teaser p,
  .samples-page .learn-hint,
  .guide-card p,
  .guides-start p,
  .pizza-card p,
  .subscription-band p,
  .subscription-point p,
  .ar-review-summary,
  .ar-review-body,
  .ar-review-score-copy p,
  .ar-review-invitation-note,
  .ar-review-transparency,
  .ar-review-source-note,
  .ar-roast-sub {
    font-size: 14px !important;
  }
  .content-page .lead,
  .content-page .ar-lead {
    font-size: 16px !important;
  }
  .content-page p strong,
  .content-page li strong,
  .content-page p em,
  .ar-review-byline strong {
    font-size: inherit !important;
  }
  /* Guide pages set "Why it fits" and similar lines with inline font-size: 0.92rem. */
  .content-page .lot-body p[style] {
    font-size: 14px !important;
  }

  /* Prices and tasting notes in coffee cards */
  .content-page .lot-price,
  .pdp-mini .lot-price,
  .lot-price,
  .lot-price strong,
  .lot-price b,
  .lot-price-alt,
  .lot-size,
  .product-buy strong,
  .product-buy small {
    font-size: 14px !important;
  }
  .content-page .lot-notes,
  .lot-notes {
    font-size: 14px !important;
  }

  /* ---------- Labels and kickers: 12px minimum (uppercase, letter-spaced; 7-10px before) ---------- */
  .eyebrow,
  .pdp-kicker,
  .ar-kicker,
  .ar-roast-kicker,
  .learn-from-kicker,
  .learn-eyebrow,
  .learn-go-kicker,
  .content-page .lot-origin,
  .lot-origin,
  .lot-open-hint,
  .product-image .category,
  .product-origin span,
  .coffee-note,
  .pdp-chip,
  .pdp-chips > span,
  .subscription-lane,
  .field-label,
  .ar-review-item-copy small,
  .ar-review-card-meta time,
  .figure-caption,
  figure.review figcaption,
  .pdp-crumb,
  .content-page > .pdp-crumb {
    font-size: 12px !important;
  }
  .ar-review-item-copy strong {
    font-size: 14px !important;
  }

  /* ---------- Announcement bars: 10px text, 11px-tall links ---------- */
  .announcement,
  .ar-shipbar {
    font-size: 12px !important;
  }
  .announcement a,
  .ar-shipbar a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  /* ---------- Footers ---------- */
  footer .footer-grid > div > a,
  .ar-footer li > a,
  .ar-footer address a,
  .account-footer a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
  .footer-legal a,
  .account-footer .border-t a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }
  /* pages.css forces footer-bottom links to 10px with !important. */
  .footer-bottom a,
  .footer-credit,
  .footer-credit strong {
    font-size: 12px !important;
  }
  .footer-page-master,
  .foot-brand .brand-mark {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 12px;
  }

  /* ---------- Taller hit areas without moving text ---------- */
  .lot-name a,
  .lot-open-hint,
  .product-name,
  .text-link,
  .underlink,
  .pdp-crumb a,
  .content-page li > a,
  .content-page p.eyebrow > a,
  .content-page .micro a,
  .cart-heading a,
  .a2-buy-actions a,
  .ar-review-invitation-google a,
  .ar-review-card a,
  .section-head a,
  .section-heading a,
  .hero-actions .text-link,
  figure.review figcaption a {
    display: inline-block;
    padding-block: 14px;
    margin-block: -14px;
  }

  /* ---------- Controls ---------- */
  .content-page summary {
    padding-block: 10px;
  }
  .pdp-view-cart,
  .guides-shortcuts a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  figcaption .icon-button,
  .icon-button {
    min-width: 44px;
    min-height: 44px;
  }

  /* ---------- Shop cards and the remaining copy ---------- */
  /* css/ui-theme.css sets body.ar-redesign .lot-tile .lot-origin to 10px with !important. */
  html body.ar-redesign .lot-tile .lot-origin,
  html body .lot-tile .lot-origin {
    font-size: 12px !important;
  }
  html body .lot-price .lot-size,
  html body .lot-price-alt,
  html body .lot-price b,
  html body .lot-price strong {
    font-size: 14px !important;
  }
  #story p,
  .guides-flight p,
  .content-page .pdp-glance-row,
  .content-page .pdp-glance-row b,
  .content-page .stamp,
  .page-purchase .button,
  .pdp-view-cart,
  .subscription-band .button {
    font-size: 14px !important;
  }
  .page-purchase small,
  .content-page .field,
  .content-page .field > span,
  .content-page .pdp-brew,
  .content-page .pdp-brew-item span,
  figure.review figcaption a,
  figure.review figcaption strong,
  .footer-page-master,
  .foot-prodigy-built {
    font-size: 12px !important;
  }
  figure.review figcaption strong {
    font-size: 14px !important;
  }
  /* Short links that are tall enough after the padding above but still narrower than 44px. */
  .pdp-crumb a,
  .content-page .micro a,
  .content-page li > a {
    padding-inline: 8px;
    margin-inline: -8px;
  }
  main li > a,
  footer li > a,
  footer address a {
    display: inline-block;
    padding-block: 14px;
    margin-block: -14px;
  }
  .ar-footer li > a,
  .ar-footer address a,
  footer .foot li > a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding-block: 0;
    margin-block: 0;
  }
  main details > summary {
    padding-block: 11px;
  }
  figure.review figcaption div a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  /* css/ui-theme.css: body footer :is(.foot-grid,.footer-grid) a { min-height: 36px } (the script-built footer on /shop/). */
  html body footer .foot-grid li > a,
  html body footer .foot-grid address a,
  html body footer .footer-grid > div > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-block: 0;
    margin-block: 0;
  }
  /* Shop cards: body.ar-redesign .lot-tile .lot-price sets 13px with !important; .lot-price small is 0.65rem. */
  html body.ar-redesign .lot-tile .lot-price,
  html body .lot-tile .lot-price,
  html body .lot-tile .lot-price b,
  html body .lot-tile .lot-price small,
  html body .lot-tile .lot-price-alt {
    font-size: 14px !important;
  }
  main details > summary {
    min-height: 44px;
    box-sizing: border-box;
  }
}
