/* Frontend-only mobile fixes (admin untouched) */
@media (max-width: 768px) {
  a[href*="products-3"] {
    display: block !important;
    width: 100% !important;
    padding: 14px 16px !important;
    line-height: 1.4 !important;
    touch-action: manipulation;
    position: relative;
    z-index: 10;
  }

  nav a[href*="products-3"] {
    flex: 1 1 100% !important;
  }

  input, select, textarea {
    font-size: 16px;
  }
}



/* === Mobile viewport & preload smart fix === */
@media (max-width: 768px) {

  body {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .hero,
  .page-header,
  .header-spacer,
  .preload-overlay,
  .edelx-preload,
  .loading-overlay {
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    display: none !important;
  }

  header {
    position: relative !important;
    top: auto !important;
  }
}

/* iOS Safari viewport fix */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 768px) {
    body {
      min-height: -webkit-fill-available;
    }
  }
}
