/* Mobile readability improvements layered over the original Billur design. */
@media (max-width: 759px) {
  html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-bottom: calc(110px + env(safe-area-inset-bottom));
  }

  /* 16px fields prevent automatic input zoom on iPhone. */
  body input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
  body select,
  body textarea {
    font-size: 16px;
    min-width: 0;
    max-width: 100%;
  }

  .content {
    padding-bottom: calc(120px + env(safe-area-inset-bottom));
  }

  .seller-home-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .seller-product-photo { height: 120px; }
  .seller-product-tile { padding: 10px; }
  .seller-product-tile b {
    font-size: 13px;
    line-height: 1.45;
    min-height: 38px;
  }
  .seller-product-tile strong { font-size: 14px; }
  .seller-product-tile small { font-size: 11px; }

  .seller-stat-head { flex-wrap: wrap; }
  .seller-revenue > div,
  .stats146-card { min-width: 0; }
  .stats146-card strong { overflow-wrap: anywhere; }
  .stats146-card small { font-size: 12px; line-height: 1.4; }
  .stats146-note { font-size: 12px; line-height: 1.6; }
  .seller-stat-detail,
  .section-head button { min-height: 44px; font-size: 12px; }

  .seller-nav button { min-height: 60px; line-height: 1.25; }
  .seller-nav .nav-icon { flex-shrink: 0; }
  .wh145-buttons button { min-height: 44px; }
  .wh143-search input { min-height: 44px; }

  button,
  a,
  label { -webkit-tap-highlight-color: transparent; }
  button,
  a { touch-action: manipulation; }
}

@media (max-width: 359px) {
  .seller-home-products { gap: 8px; }
  .seller-product-photo { height: 100px; }
  .seller-product-tile { padding: 8px; }
}
