/*
 * USO customer-service form (wp-content/mu-plugins/uso-leads/support.css)
 * Loaded by uso-leads.php only where the Zoho Forms "ContactForm" iframe is shown (/pages/customer-service,
 * the theme's Contact template, or [uso_support_form]). Same form the old Shopify customer-service page embedded.
 */

/* Frame height measured 2026-10-23 on the live form: 685px at 1024px wide, 721px at 480px, 775px at 340px.
   Extra room covers the required-field error lines and Zoho's CAPTCHA pop-up, which opens inside the frame. */
#uso-support-form { display: block; width: 100% !important; height: 820px !important; border: none; }
@media (max-width: 749px) { #uso-support-form { height: 900px !important; } }

/* Contact template banner (page-contato.php): the form column is taller than the photo, so keep the title at
   the top and the photo beside it (same rules as /pages/contact in quote.css). */
@media (min-width: 991px) {
  .s-bannercontato { align-items: flex-start !important; }
  .s-bannercontato .photo { position: sticky; top: 64px; }
  .s-bannercontato .container .info { padding: 48px 0 40px; }
}
@media (max-width: 990px) {
  /* Phones/tablets: the decorative photo would push the form below the first screen. */
  .s-bannercontato .photo { display: none !important; }
  .s-bannercontato .container .info { padding: 8px 0 32px; }
}
