/* 云沐优选 PC网站手机适配 20261030 —— 手机浏览器打开同一个网站，版式自动适配 */
@media only screen and (max-width: 768px) {

  /* 1. 首页分类侧栏隐藏（PC左侧悬停栏，手机上改走顶部导航/分类页） */
  body.index-design-index .goods-category-title,
  body.index-design-index .category-content,
  /* 1b. 隐藏PC版"全部商品分类"自定义装修模块（蓝色渐变那个，手机上占首屏） */
  body.index-design-index .module-custom-container:has(div[style*="1b6ff0"]) { display: none !important; }

  /* 2. 顶部导航次要项收纳 */
  body.index-design-index .header-top .top-nav-items-favor,
  body.index-design-index .header-top .top-nav-items-quick { display: none !important; }

  /* 3. 楼层模块间距压缩 */
  body.index-design-index .layout-content-container { margin-bottom: 0.5rem !important; }

  /* 4. 商品/图片模块限高，防止一张图占满一屏 */
  body.index-design-index .module-list-content img,
  body.index-design-index .module-goods-content img,
  body.index-design-index .module-many-images-container img {
    max-height: 300px;
    object-fit: contain;
  }

  /* 5. 楼层标题紧凑 */
  body.index-design-index .module-title { font-size: 1.1rem !important; margin: 0.5rem 0 !important; }

  /* 6. 通用：页面不留大空隙 */
  body.index-design-index .layout-view { padding-bottom: 0.5rem; }
}
