/* PHONE-FIX-2 (Sajawat, 1 Dec 2026, Asia/Karachi).
   Scoped under body.ad-theme. Mobile first.
   Phone tweaks are in max-width:767.98px so 768 and 1280 stay unchanged.
   Does not retouch PHONE-FIX-1 selectors (hero, /ar switcher, quote-bar
   observer, export image boxes, slider dots/arrows, .ard-product-btn).
   Offline build by Coka. Live only after Bina's QA and the founder's yes. */

@media (max-width: 767.98px) {

  /* 1. Availability enquire actions were 250×23. Keep the stacked
     underlined text; give a 44px hit area. */
  body.ad-theme .ard-av-act a {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin: 0;
    padding: 0;
  }

  /* 2. Machinery hub (and machine pages) "View machine page" was 133×23. */
  body.ad-theme .ard-ms-hub-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  /* 3. Product-page "Weekly availability" standalone link was 122×17. */
  body.ad-theme .ard-avail-link a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  /* 4. /fr (EU locale) language links were 26px tall. Keep the existing
     bar (not a dropdown). Tighter horizontal margins so the six links
     stay on one 44px-tall row instead of growing a second 44px row. */
  body.ad-theme .eu-lang-bar {
    padding: 4px 2px;
    line-height: 1;
  }
  body.ad-theme .eu-lang-bar a,
  body.ad-theme .eu-lang-bar .ard-lang-cur,
  body.ad-theme .eu-lang-bar span {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin: 0 2px;
    padding: 0;
    box-sizing: border-box;
  }

  /* 5. /fr home standalone CTAs (each in its own <p>) were 20px tall.
     Do not restyle into buttons; do not enlarge in-sentence .eu-cta-link. */
  body.ad-theme main.eu-page .eu-container > p > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  /* 6. /fr WhatsApp float sits at right:14px, 50×50 (x=296–346 at 360).
     .eu-container's border box already ends at x=308, so only 24px of
     padding-inline-end is needed for a 12px gutter (content right 284).
     76px would over-narrow the column and wrap the H1. */
  body.ad-theme main.eu-page .eu-container {
    padding-inline-end: 24px;
  }
  body.ad-theme main.eu-page {
    padding-bottom: calc(56px + 50px + 14px);
  }

  /* 7. Quote form primary submit type is 13px live. Match the 16px
     phone CTA size used in PHONE-FIX-1. min-height stays 52px. */
  body.ad-theme .ardlink-submit-button {
    font-size: 16px !important;
  }

  /* 8. EU-template drawer: close control is 25×25 (EN is already 44×44).
     Menu labels measure 11.7px on /fr vs 14px on EN. */
  body.ad-theme .mobile-menu-close {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
  }
  body.ad-theme .mobile-menu a,
  body.ad-theme .mobile-nav a,
  body.ad-theme .mobile-menu-wrapper a {
    font-size: 14px;
  }
}
