/* Mobile Optimization - Added 2026-04-11 */

/* Touch targets minimum 44px */
@media (max-width: 999px) {
  .wp-element-button,
  .woocommerce a.button,
  a.nectar-button,
  .nectar-button,
  input[type="submit"],
  .menu-item a {
    min-height: 44px;
    min-width: 44px;
    padding: 12px 20px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Responsive images */
@media (max-width: 768px) {
  img {
    max-width: 100%;
    height: auto;
  }

  .partners-row img,
  .partner-logo img {
    min-width: unset !important;
    width: 120px !important;
    height: auto !important;
  }

  /* Prevent horizontal overflow */
  body, html {
    overflow-x: hidden;
  }

  .container, .main-content, .row {
    max-width: 100vw;
    overflow-x: hidden;
  }

  /* Readable font sizes */
  body, p, li, span {
    font-size: 16px;
    line-height: 1.5;
  }

  h1 { font-size: 28px !important; }
  h2 { font-size: 24px !important; }
  h3 { font-size: 20px !important; }

  /* Better spacing */
  .vc_row, .wpb_row, section {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* Small phones */
@media (max-width: 480px) {
  h1 { font-size: 24px !important; }
  h2 { font-size: 20px !important; }
  h3 { font-size: 18px !important; }

  .nectar-button, a.nectar-button {
    width: 100%;
    text-align: center;
  }
}
