/* ═══════════════════════════════════════════════════════
   移动端布局 —— 照抄原站 h5/ 方案
   原理：1rem = 屏幕宽 / 20（375px 屏 → 1rem = 18.75px）
   用法：手机端所有尺寸用 rem，自动等比缩放
   ═══════════════════════════════════════════════════════ */

html { -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; }
* { box-sizing: border-box; }

@media screen and (max-width: 767px) {

  /* ───── 顶部：logo + 搜索 + 登录（原站 h5 结构）───── */
  .pc-topbar { display: none !important; }

  .pc-header { background: #fff; }
  .pc-main { padding: 0.53rem 0.53rem 0.27rem; }
  .pc-main-inner {
    flex-wrap: wrap;
    gap: 0.53rem;
    padding: 0;
    min-height: auto;
  }
  .pc-logo-slot { min-width: auto; flex: 0 0 auto; }
  .pc-site-logo__img { height: 2.35rem !important; }

  .pc-search-area { order: 3; flex: 1 1 100%; }
  .pc-search-row { height: 2.13rem; gap: 0.43rem; }
  .pc-search-composite { border-radius: 0.32rem; height: 2.13rem; }
  .pc-search-field { font-size: 0.75rem !important; line-height: 2.13rem !important; padding: 0 1.7rem 0 0.75rem !important; }
  .pc-search-btn {
    width: 3.73rem; font-size: 0.75rem; border-radius: 0 0.32rem 0.32rem 0;
    flex: 0 0 3.73rem;
  }
  .pc-search-btn svg { width: 0.75rem; height: 0.75rem; }
  .pc-search-btn span { font-size: 0.75rem; }

  .pc-app-dl {
    height: 2.13rem; padding: 0 0.64rem; font-size: 0.7rem;
    border-radius: 0.32rem; margin-left: auto; flex: 0 0 auto;
  }
  .pc-app-dl-txt { font-size: 0.7rem; }
  .pc-app-dl svg { width: 0.75rem; height: 0.75rem; }

  /* ───── 导航：横向滚动胶囊 ───── */
  .pc-nav { padding: 0.32rem 0 0.21rem; }
  .pc-nav-wrap { padding: 0 0.53rem; }
  .pc-nav-rail { padding: 0.21rem 0.32rem; border-radius: 1.07rem; overflow: hidden; }
  .pc-nav-list {
    overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.11rem;
  }
  .pc-nav-list::-webkit-scrollbar { display: none; }
  .pc-nav-pill {
    flex: 0 0 auto; height: 1.81rem; padding: 0 0.75rem;
    border-radius: 0.91rem; min-width: auto;
  }
  .pc-nav-pill-text { font-size: 0.64rem; }
  .pc-nav-pill-icon { font-size: 0.69rem; width: 0.69rem; height: 0.69rem; }
  .pc-nav-pill-inner { padding: 0 0.32rem; gap: 0.21rem; }
  .pc-nav-pill.is-center { margin-left: 0; }
  .pc-nav-group-gap { display: none; }

  /* ───── 主体容器 ───── */
  .pc-home-inner, .pc-rent-inner { padding: 0.53rem 0.53rem 1.28rem; max-width: 100%; }

  /* ───── Hero：单列纵向 ───── */
  .pc-hero { flex-direction: column; gap: 0.53rem; margin-bottom: 0.53rem; }

  /* 用户面板：横向紧凑 */
  .pc-user-panel { width: 100% !important; flex: 1 1 auto; border-radius: 0.64rem; }
  .pc-user-panel .el-card__body { padding: 0.85rem !important; }
  .pc-user-head { margin-bottom: 0.64rem; gap: 0.53rem; }
  .pc-user-avatar { width: 2.13rem; height: 2.13rem; flex: 0 0 2.13rem; font-size: 0.96rem; }
  .pc-greet { font-size: 0.64rem; }
  .pc-uname { font-size: 0.8rem; margin-top: 0.11rem; }
  .pc-quick-item { padding: 0.43rem 0.53rem; margin-bottom: 0.32rem; gap: 0.53rem; border-radius: 0.43rem; }
  .pc-quick-ico { width: 1.6rem; height: 1.6rem; border-radius: 0.43rem; }
  .pc-quick-ico svg { width: 0.85rem; height: 0.85rem; }
  .pc-quick-title { font-size: 0.69rem; margin-bottom: 0.11rem; }

  /* Banner：全宽 竖向压缩 */
  .pc-banner-wrap { width: 100%; flex: 1 1 auto; border-radius: 0.64rem; }
  .pc-banner-wrap .el-card__body,
  .pc-banner-wrap .el-card__body > div { height: 9.07rem !important; }
  .pc-banner-wrap h1 { font-size: 0.91rem !important; margin-bottom: 0.21rem !important; }
  .pc-banner-wrap p { font-size: 0.64rem !important; margin-bottom: 0.43rem !important; }
  .pc-banner-wrap span { font-size: 0.59rem !important; padding: 0.11rem 0.43rem !important; }
  .pc-banner-wrap a { padding: 0.43rem 0.96rem !important; font-size: 0.67rem !important; }
  .pc-banner-wrap .el-card__body > div > div:last-child { padding: 0.85rem 0.8rem !important; }
  .pc-banner-wrap .el-card__body > div > div:last-child > div:nth-child(3) { margin-bottom: 0.53rem !important; }

  /* 通知公告：隐藏 */
  .pc-news-panel { display: none !important; }

  /* ───── 公告条 ───── */
  .el-alert.pc-notice, .pc-notice {
    font-size: 0.64rem !important; padding: 0.37rem 0.53rem !important;
    border-radius: 0.43rem !important; margin: 0.53rem 0 !important;
    min-height: auto !important; gap: 0.32rem !important;
  }
  .el-alert__title { font-size: 0.64rem !important; line-height: 1.5 !important; }
  .el-alert__icon, .pc-notice svg { width: 0.75rem !important; height: 0.75rem !important; flex: 0 0 0.75rem !important; }

  /* ───── 工具栏 ───── */
  .pc-goods-toolbar { margin-bottom: 0.53rem; flex-wrap: wrap; gap: 0.43rem; }
  .pc-layout-toggle-group { gap: 0.27rem; }
  .pc-layout-toggle {
    padding: 0.27rem 0.64rem !important; font-size: 0.64rem !important;
    border-radius: 999px !important; height: auto !important;
  }

  /* ───── 筛选面板 ───── */
  .pc-rf { padding: 0.64rem 0.64rem 0.53rem !important; border-radius: 0.53rem !important; margin-bottom: 0.53rem !important; }
  .pc-rf-hotbar { padding: 0.53rem 0.53rem 0.43rem !important; margin-bottom: 0.53rem !important; border-radius: 0.43rem !important; }
  .pc-rf-hotbar-title { font-size: 0.75rem !important; }
  .pc-rf-hotbar-tabs { gap: 0.43rem !important; margin-top: 0.53rem !important; }
  .pc-rf-tab {
    min-width: 3.84rem !important; height: 1.6rem !important; line-height: 1.6rem !important;
    padding: 0 0.64rem !important; font-size: 0.64rem !important; border-radius: 0.43rem !important;
  }

  /* 数值区间：2 列 */
  .pc-rf-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 0.43rem 0.53rem !important; }
  .pc-rf-range { gap: 0.21rem !important; }
  .pc-rf-range-l { width: 3.09rem !important; font-size: 0.61rem !important; flex: 0 0 3.09rem; }
  .pc-rf-range .el-input__inner, .pc-rf-range input {
    height: 1.6rem !important; line-height: 1.6rem !important;
    font-size: 0.64rem !important; padding: 0 0.32rem !important;
    border-radius: 0.21rem !important;
  }
  .pc-rf-dash { font-size: 0.61rem; }

  /* 高级筛选：纵向堆叠 */
  .pc-rf-adv { padding-top: 0.53rem !important; }
  .pc-rf-adv-title { font-size: 0.75rem !important; margin-bottom: 0.21rem !important; }
  .pc-rf-adv-row { flex-direction: column !important; padding: 0.43rem 0 !important; gap: 0.32rem !important; }
  .pc-rf-adv-l { width: 100% !important; text-align: left !important; font-size: 0.67rem !important; line-height: 1.4 !important; }
  .pc-rf-adv-tags { gap: 0.32rem 0.53rem !important; flex-wrap: wrap !important; }
  .pc-rf-adv-tag {
    padding: 0.21rem 0.43rem !important; font-size: 0.64rem !important;
    line-height: 1.4 !important; border-radius: 0.21rem !important;
  }
  .pc-rf-adv-row-skin .pc-rf-adv-tags { max-height: 5.12rem !important; overflow-y: auto; }
  .pc-rf-foot { gap: 0.53rem !important; padding-top: 0.53rem !important; }
  .pc-rf-foot button {
    padding: 0.43rem 1.28rem !important; font-size: 0.69rem !important;
    border-radius: 0.43rem !important; flex: 1 1 auto; max-width: 8rem;
  }

  /* ───── 排序栏 ───── */
  .pc-rent-sort { padding: 0.43rem 0 0.53rem !important; margin-bottom: 0.53rem !important; flex-wrap: wrap; gap: 0.43rem; }
  .pc-rent-sort-left { gap: 0.85rem !important; flex: 1 1 100%; overflow-x: auto; scrollbar-width: none; }
  .pc-rent-sort-left::-webkit-scrollbar { display: none; }
  .pc-rent-sort-item { font-size: 0.69rem !important; white-space: nowrap; }
  .pc-rent-sort-right { flex: 1 1 100%; }
  .pc-rent-sort-right .pc-layout-toggle-group { justify-content: flex-start !important; }

  /* ───── 商品网格：2 列 ───── */
  .pc-products-wrap { min-height: auto; }
  .pc-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.53rem !important;
  }
  .pc-products-grid-item { min-width: 0; }
  .pc-list-card { border-radius: 0.43rem !important; }

  /* 卡片封面 */
  .pc-list-cover { height: 5.76rem !important; }
  .pc-list-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

  /* 卡片内容 */
  .pc-list-body { padding: 0.43rem 0.48rem 0.48rem !important; }
  .pc-list-line1 {
    font-size: 0.64rem !important; line-height: 1.45 !important;
    font-weight: 600 !important;
  }
  .pc-list-line2 { font-size: 0.57rem !important; margin-top: 0.16rem !important; line-height: 1.4 !important; }

  .pc-list-chips { margin-top: 0.27rem !important; }
  .pc-list-skin-row, .pc-list-tag-row { gap: 0.16rem !important; }
  .pc-list-skin-row { margin-bottom: 0.21rem !important; }

  .pc-chip {
    font-size: 0.51rem !important; padding: 0.05rem 0.21rem !important;
    line-height: 1.6 !important; border-radius: 0.16rem !important;
    border-width: 1px !important;
  }
  .pc-chip-xs { font-size: 0.51rem !important; padding: 0.05rem 0.21rem !important; }

  /* 最近来过 */
  .pc-list-come { font-size: 0.53rem !important; margin-top: 0.21rem !important; line-height: 1.4 !important; }

  /* 底部价格 */
  .pc-list-foot {
    margin-top: 0.32rem !important; padding-top: 0.32rem !important;
    flex-direction: column !important; align-items: flex-start !important; gap: 0.11rem !important;
    border-top: 1px solid #f0f0f0 !important;
  }
  .pc-list-price-item { font-size: 0.53rem !important; white-space: nowrap; }
  .pc-list-price-item.em { font-size: 0.75rem !important; font-weight: 700 !important; }

  /* ───── 分页（原站 h5 样式）───── */
  .pc-pager-wrap {
    background: none !important; border: none !important; box-shadow: none !important;
    padding: 0 !important; margin-top: 1.07rem !important; border-radius: 0 !important;
    display: flex !important; justify-content: center !important;
  }
  .pc-pagination, .el-pagination {
    display: flex !important; align-items: center !important; justify-content: center !important;
    flex-wrap: wrap !important; gap: 0.21rem !important; font-size: 0.61rem !important;
  }
  .el-pagination__total { font-size: 0.61rem !important; margin-right: 0.32rem !important; }
  .pc-size-select { height: 1.39rem !important; font-size: 0.61rem !important; padding: 0 1.07rem 0 0.32rem !important; }
  .el-pager .number {
    min-width: 1.39rem !important; height: 1.39rem !important; line-height: 1.39rem !important;
    font-size: 0.61rem !important; margin: 0 0.11rem !important; border-radius: 0.11rem !important;
  }
  .el-pager .more { min-width: 1.39rem; height: 1.39rem; line-height: 1.39rem; font-size: 0.61rem; }
  .el-pagination__jump { font-size: 0.61rem !important; margin-left: 0.32rem !important; gap: 0.21rem !important; }
  .pc-jump-input { width: 2.13rem !important; height: 1.39rem !important; font-size: 0.61rem !important; }

  /* 空状态 */
  .pc-products-empty { padding: 2.67rem 1.07rem !important; border-radius: 0.43rem !important; }
  .pc-products-empty svg { width: 5.33rem !important; height: 5.33rem !important; margin-bottom: 0.85rem !important; }
  .pc-products-empty p { font-size: 0.69rem !important; }

  /* ───── 详情页 ───── */
  .pc-detail-page { flex-direction: column; padding: 0.53rem 0.53rem 1.28rem; gap: 0.53rem; }
  .pc-detail-hero { flex-direction: column; padding: 0.53rem; gap: 0.64rem; border-radius: 0.43rem; }
  .pc-detail-gallery { width: 100%; }
  .pc-detail-img { height: 10.67rem !important; border-radius: 0.32rem; }
  .pc-detail-hero-title { font-size: 0.72rem !important; line-height: 1.5 !important; }
  .pc-detail-hero-time { font-size: 0.59rem !important; margin-top: 0.43rem !important; }
  .pc-detail-hero-meta { font-size: 0.59rem !important; margin-top: 0.32rem !important; }
  .pc-detail-hero-remark { font-size: 0.64rem !important; }
  .pc-detail-badge { font-size: 0.59rem !important; padding: 0.11rem 0.43rem !important; }
  .pc-detail-last-come { font-size: 0.59rem !important; }
  .pc-detail-hero-price { margin-top: 0.64rem !important; gap: 0.75rem !important; }
  .pc-detail-hero-price .rent { font-size: 1.07rem !important; }
  .pc-detail-hero-price .dep { font-size: 0.64rem !important; }
  .pc-detail-hero-btns { gap: 0.32rem !important; margin-top: 0.75rem !important; }
  .pc-detail-hero-btns .el-button { padding: 0.37rem 0.75rem !important; font-size: 0.67rem !important; border-radius: 0.21rem !important; }

  .pc-detail-section { padding: 0.64rem 0.64rem !important; border-radius: 0.43rem !important; margin-bottom: 0.53rem !important; }
  .pc-sec-title { font-size: 0.75rem !important; margin-bottom: 0.53rem !important; }
  .pc-skin-row { gap: 0.32rem !important; }
  .pc-skin-row .el-tag { font-size: 0.59rem !important; padding: 0 0.32rem !important; height: 1.17rem !important; line-height: 1.07rem !important; }

  .pc-grid5 { border-radius: 0.32rem !important; }
  .pc-grid-cell { width: 33.33% !important; padding: 0.48rem 0.21rem !important; }
  .pc-grid-v { font-size: 0.64rem !important; margin-bottom: 0.16rem !important; }
  .pc-grid-l { font-size: 0.53rem !important; }

  .pc-item-cell { width: 50% !important; padding: 0.64rem 0.32rem !important; }
  .pc-item-n { font-size: 0.8rem !important; }
  .pc-item-tag { font-size: 0.53rem !important; padding: 0.05rem 0.32rem !important; }
  .pc-item-name { font-size: 0.61rem !important; }
  .pc-item-unit, .pc-item-total { font-size: 0.53rem !important; }

  .pc-notice { font-size: 0.64rem !important; line-height: 1.75 !important; }
  .pc-notice-p { margin-bottom: 0.53rem !important; }

  /* ───── 个人中心 ───── */
  .pc-center-page { padding: 0.53rem 0.53rem 1.28rem; }
  .pc-center-wrap { flex-direction: column !important; min-height: auto !important; border-radius: 0.53rem !important; }
  .pc-center-side { width: 100% !important; border-right: none !important; border-bottom: 1px solid #f0f1f5; }
  .pc-center-userbox { display: flex; align-items: center; gap: 0.64rem; padding: 0.75rem 0.64rem; text-align: left; }
  .pc-center-avatar { width: 2.45rem !important; height: 2.45rem !important; margin: 0 !important; font-size: 1.01rem !important; }
  .pc-center-nick { font-size: 0.75rem !important; margin-bottom: 0.21rem !important; }
  .pc-center-bal { font-size: 0.64rem !important; }
  .pc-center-menu { display: flex !important; overflow-x: auto; padding: 0 !important; scrollbar-width: none; }
  .pc-center-menu::-webkit-scrollbar { display: none; }
  .pc-center-menu-item {
    flex: 0 0 auto !important; padding: 0.53rem 0.75rem !important;
    border-left: none !important; border-bottom: 3px solid transparent !important;
    font-size: 0.67rem !important; white-space: nowrap;
  }
  .pc-center-menu-item.on { border-left: none !important; border-bottom-color: #4f569d !important; }
  .pc-center-main { padding: 0.75rem 0.64rem !important; }
  .pc-center-title { font-size: 0.8rem !important; margin-bottom: 0.64rem !important; padding-bottom: 0.53rem !important; }
  .pc-center-stats { grid-template-columns: repeat(2, 1fr) !important; gap: 0.43rem !important; margin-bottom: 0.85rem !important; }
  .pc-center-stat { padding: 0.64rem 0.53rem !important; border-radius: 0.43rem !important; }
  .pc-center-stat b { font-size: 1.01rem !important; }
  .pc-center-stat span { font-size: 0.61rem !important; margin-top: 0.21rem !important; }
  .pc-center-row { font-size: 0.67rem !important; padding: 0.53rem 0 !important; }
  .pc-center-empty { padding: 2.13rem 0.64rem !important; font-size: 0.69rem !important; }

  /* ───── 表单 ───── */
  .pc-field { margin-bottom: 0.75rem !important; }
  .pc-field-label { font-size: 0.69rem !important; margin-bottom: 0.32rem !important; }
  .pc-input { height: 2.24rem !important; font-size: 0.72rem !important; border-radius: 0.43rem !important; }
  .pc-code-row { gap: 0.43rem !important; }
  .pc-code-btn { height: 2.24rem !important; padding: 0 0.75rem !important; font-size: 0.67rem !important; border-radius: 0.43rem !important; }
  .pc-auth-submit { height: 2.45rem !important; font-size: 0.77rem !important; border-radius: 1.23rem !important; }

  /* ───── 登录页 ───── */
  .pc-auth-page { padding: 0.85rem 0.64rem !important; min-height: auto !important; }
  .pc-auth-card { border-radius: 0.75rem !important; }
  .pc-auth-form-col { padding: 1.39rem 1.07rem 1.17rem !important; }
  .pc-auth-title { font-size: 1.28rem !important; margin-bottom: 0.96rem !important; }
  .pc-auth-welcome { margin-bottom: 1.07rem !important; gap: 0.53rem !important; }
  .pc-auth-welcome-brand { font-size: 0.8rem !important; }
  .pc-auth-welcome-hi { font-size: 0.69rem !important; }
  .pc-auth-welcome-slogan { font-size: 0.61rem !important; }
  .pc-auth-art-col { display: none !important; }
  .pc-agree { font-size: 0.59rem !important; margin-bottom: 0.85rem !important; }
  .pc-link-r { font-size: 0.59rem !important; }
  .pc-register-hint { font-size: 0.64rem !important; }
  .pc-auth-switch { font-size: 0.64rem !important; margin-top: 0.85rem !important; }

  /* ───── 页脚 ───── */
  .pc-footer { margin-top: 1.07rem !important; padding: 0 0.53rem !important; }
  .pc-footer-inner {
    flex-direction: column !important; align-items: flex-start !important;
    gap: 0.85rem !important; padding: 1.17rem 0 !important;
  }
  .pc-footer-brand-wrap { gap: 0.53rem !important; }
  .pc-footer-name { font-size: 0.96rem !important; }
  .pc-footer-slogan { font-size: 0.61rem !important; }
  .pc-footer-links { gap: 0.32rem 0.75rem !important; }
  .pc-footer-link { font-size: 0.67rem !important; }
  .pc-footer-tip, .pc-footer-copy { font-size: 0.56rem !important; line-height: 1.65 !important; }
  .pc-footer-copy-row { gap: 0.53rem !important; flex-direction: column !important; align-items: flex-start !important; }

  /* ───── 悬浮按钮 ───── */
  .pc-float { right: 0.43rem !important; }
  .pc-float-item { padding: 0.48rem 0.59rem !important; font-size: 0.91rem !important; }
  .pc-float-label { font-size: 0.53rem !important; }

  /* ───── 列表/表格类页面 ───── */
  .pc-contentcard { padding: 0.75rem !important; border-radius: 0.53rem !important; margin-bottom: 0.53rem !important; }
  .pc-contentcard h3 { font-size: 0.8rem !important; margin-bottom: 0.64rem !important; }
}

/* 超小屏（<360px）再压缩 */
@media screen and (max-width: 359px) {
  .pc-products-grid { gap: 0.43rem !important; }
  .pc-list-cover { height: 5.12rem !important; }
  .pc-chip { font-size: 0.48rem !important; }
  .pc-grid-cell { width: 50% !important; }
}
