/* 全局重置，手机基础优化 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-size: 15px;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
}
input, select, textarea, button {
  -webkit-appearance: none;
  border-radius: 0;
}
a, .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* 手机端统一规则 <768px */
@media (max-width:768px){
  body {
    font-size: 16px !important; /* 手机全局文字放大，解决字小 */
    padding-top: 60px !important; /* 给顶部导航留出空间 */
  }
  /* 栅格强制手机单列，实现竖排浏览（核心解决你需求） */
  .row .col-md-3,
  .row .col-md-4,
  .row .col-md-6,
  .row .col-md-8 {
    width: 100% !important;
    margin-bottom: 12px;
  }
  /* 表单一行多列全部改成单列 */
  .row > div[class*="col-md"] {
    width: 100% !important;
  }
  /* 卡片铺满屏幕，阅读舒适 */
  .card {
    padding: 10px !important;
  }
  /* 筛选表单按钮通栏 */
  .btn {
    width: 100%;
    margin: 4px 0;
  }
  /* 表格手机横向滚动，不挤字 */
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  table {
    min-width: 700px;
  }
  /* 图片预览缩小适配手机 */
  .img-preview img, .img-item {
    width: 80px !important;
    height: 80px !important;
  }
}