/* FIAAMZY Targeted Launch Fix v1.1 — layout-only cleanup. */

/* Prevent WooCommerce archive/product wrappers from stretching vertically. */
body.woocommerce.archive #primary,
body.woocommerce.archive #main,
body.woocommerce.archive .site-main,
body.tax-product_cat #primary,
body.tax-product_cat #main,
body.tax-product_cat .site-main,
body.single-product #primary,
body.single-product #main,
body.single-product .site-main,
body.woocommerce.archive .content-area,
body.tax-product_cat .content-area,
body.single-product .content-area,
body.woocommerce.archive .ast-container,
body.tax-product_cat .ast-container,
body.single-product .ast-container {
  min-height: 0 !important;
  height: auto !important;
}

/* Avoid large empty bottom areas caused by generic theme spacing. */
body.woocommerce.archive .site-content,
body.tax-product_cat .site-content,
body.single-product .site-content {
  min-height: 0 !important;
  padding-bottom: 0 !important;
}

/* Keep the existing copyright strip compact without rebuilding the footer. */
body.woocommerce.archive .ast-footer-copyright,
body.tax-product_cat .ast-footer-copyright,
body.single-product .ast-footer-copyright {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  margin-bottom: 0 !important;
}

@media (max-width: 767px) {
  body.woocommerce.archive .site-content,
  body.tax-product_cat .site-content,
  body.single-product .site-content {
    min-height: 0 !important;
    padding-bottom: 0 !important;
  }
}

/* Defensive: if the checkout field markup survives from an older template,
   hide only these two customer-facing fields. */
.woocommerce-checkout #billing_company_field,
.woocommerce-checkout #billing_email_field {
  display: none !important;
}
