/* Mobile UX — touch targets, readable type, no input zoom */

@media (max-width: 849px) {
  /* Prevent iOS auto-zoom on focus (needs 16px+ on inputs) */
  input,
  select,
  textarea,
  .woocommerce-ordering select,
  .st-header-search-input {
    font-size: 16px !important;
  }

  /* Comfortable tap targets */
  .button,
  .btn,
  button,
  a.button,
  .st-pdp-quote__btn,
  .st-shop-filters__apply,
  .category-filter-row .filter-button {
    min-height: 44px;
    min-width: 44px;
  }

  /* Product grid — readable titles */
  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .product-title a {
    font-size: 14px !important;
    line-height: 1.35 !important;
  }

  /* PDP — price + specs breathing room */
  .st-pdp-lifting .product_title {
    font-size: 22px !important;
    line-height: 1.25 !important;
  }

  .st-pdp-lifting .product-summary .price ins {
    font-size: 22px !important;
  }

  /* Blog / post reading */
  .single-post .entry-content,
  .blog-single .entry-content {
    font-size: 17px;
    line-height: 1.65;
  }

  .single-post .entry-content h2,
  .blog-single .entry-content h2 {
    font-size: 20px;
    margin-top: 1.6em;
  }

  .single-post .entry-content img,
  .blog-single .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
  }

  .st-blog-cta {
    padding: 20px 16px !important;
    margin: 28px 0 !important;
  }

  .st-blog-cta p {
    font-size: 15px !important;
  }

  /* Footer link stacks */
  .footer .widget li {
    margin-bottom: 6px;
  }

  /* Sticky WhatsApp — avoid covering Apply filters */
  .st-whatsapp-float {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (max-width: 549px) {
  .woocommerce ul.products {
    --flatsome-products-per-row: 2 !important;
  }

  .header-main .st-header-search-wrap {
    width: 100%;
  }
}
