/* =========================================================
   IMCOCO — home-mobile.css（P1 首页 ≤1000px 真实移动布局）
   加载顺序：common.css → home.css → responsive.css → 本文件（最后）
   桌面（>1000px）保持 1440 画布版式不动；本文件只接管手机/平板窄屏。
   1001–1439px 窄桌面仍由 common.js 画布等比缩放处理（见 common.js 注释）。
   ========================================================= */

@media (max-width:1000px){

  /* ---------- 页面容器：去画布，改流式 ---------- */
  .page{width:100%;height:auto;max-width:100%;margin:0}

  /* ---------- Header：汉堡菜单版（结构样式复用 responsive.css） ---------- */
  .header{position:relative;left:auto;top:auto;width:100%;height:64px}
  .header .logo{top:9px}
  .header .logo img{width:150px;height:auto}
  .header .nav{top:64px}
  .header-utils .lang-wrap{left:auto;right:106px;top:22px}
  .header-utils .lang-menu{left:auto;right:-10px;top:24px}

  /* ---------- HERO：视频背景 + 单列文字 ---------- */
  .hero{position:relative;left:auto;top:auto;width:100%;height:auto;min-height:74vw;max-height:640px;overflow:hidden}
  .hero-video{height:100%}
  .hero-title{position:static;width:calc(100% - 48px);margin:64px auto 0;
              font-size:clamp(30px,8.4vw,52px);line-height:1.18;text-shadow:0 2px 14px rgba(0,0,0,.45)}
  .hero-sub{position:static;width:calc(100% - 48px);margin:18px auto 0;
            font-size:clamp(16px,4.2vw,22px);line-height:1.4;text-shadow:0 2px 10px rgba(0,0,0,.45)}
  .hero-cta-wrap{position:static;width:calc(100% - 48px);margin:26px auto 56px;flex-direction:column;gap:14px}
  .hero-cta-wrap .btn{position:relative;left:auto;top:auto;width:100%;height:52px;font-size:16px}

  /* ---------- NAM HOM：单列堆叠，隐藏大装饰椰图 ---------- */
  .namhom{position:static;width:100%;height:auto;padding:52px 24px 44px}
  .namhom-coconut{display:none}
  .namhom-title{position:static;font-size:clamp(28px,7.5vw,40px);line-height:1.2}
  .namhom-rule{position:static;display:block;width:64px;height:1px;margin:18px 0 0}
  .namhom-two{position:static;font-size:clamp(84px,22vw,120px);line-height:1.1;margin-top:6px}
  .namhom-percent{position:static;margin-top:2px}
  .namhom-origin{position:static;width:100%;text-align:left;margin-top:22px}
  .namhom-brix{position:static;font-size:clamp(52px,14vw,72px);line-height:1.1;margin-top:20px}
  .namhom-sweet{position:static;width:100%;text-align:left;margin-top:10px}

  /* ---------- SOURCE：图片 + 绿面板单列 ---------- */
  .source{position:static;width:100%;height:auto;padding:8px 0 48px}
  .source-photo{position:relative;left:auto;top:auto;width:calc(100% - 48px);margin:0 auto;height:auto}
  .source-line{display:none}
  .source-place{position:absolute;left:auto;right:auto;bottom:14px;left:16px;top:auto;color:#fff;
                font-size:clamp(20px,5.4vw,26px);line-height:1.2;text-shadow:0 2px 12px rgba(0,0,0,.6)}
  .source-panel{position:relative;left:auto;top:auto;width:calc(100% - 48px);margin:16px auto 0;height:auto;padding:30px 24px 34px}
  .source-kicker{position:static;text-align:left}
  .source-title{position:static;text-align:left;white-space:normal;font-size:clamp(22px,6vw,30px);line-height:1.25;margin-top:10px}
  .source-body{position:static;width:100%;text-align:left;font-size:15px;line-height:1.6;margin-top:18px}
  .source-btn{position:relative;left:auto;top:auto;width:calc(100% - 48px);margin:18px auto 0;height:50px;display:flex}

  /* ---------- COLD CHAIN：数字+文案+图 单列 ---------- */
  .cold{position:static;width:100%;height:auto;padding:48px 24px}
  .cold-num{position:static;font-size:clamp(52px,14vw,72px);line-height:1.1}
  .cold-cap{position:static;margin-top:4px}
  .cold-rule{position:static;display:block;width:100%;margin:18px 0}
  .cold-photo{position:static;width:100%;height:auto;margin-top:18px}
  .cold-btn{position:relative;left:auto;top:auto;width:100%;margin-top:22px;height:50px;display:flex}

  /* ---------- SKUs：背景图 + banner 单列 ---------- */
  .skus{position:relative;left:auto;top:auto;width:100%;height:auto;padding:0 0 48px}
  .skus-bg{position:relative;width:100%;height:64vw;max-height:460px;object-fit:cover}
  .skus-banner{position:relative;left:auto;top:auto;width:calc(100% - 32px);margin:-72px auto 0;height:auto;padding:28px 18px}
  .skus-title{font-size:clamp(21px,5.6vw,28px);line-height:1.25}
  .skus-sub{font-size:clamp(15px,4vw,18px);margin-top:8px}
  .skus-btn{position:relative;left:auto;top:auto;width:calc(100% - 48px);margin:22px auto 0;height:50px;display:flex}

  /* ---------- NEWS：卡片单列（图上文下） ---------- */
  .news{position:static;width:100%;height:auto;padding:48px 0 56px}
  .news-title{position:static;width:calc(100% - 48px);margin:0 auto;font-size:clamp(26px,7vw,36px)}
  .news-viewport{position:static;left:auto;top:auto;width:calc(100% - 48px);margin:26px auto 0;height:auto}
  .news-card{position:relative;width:100%;height:auto;border:1px solid #a6a6a6}
  .news-photo{position:relative;left:auto;top:auto;width:100%;height:200px;height:48vw;max-height:240px}
  .news-content{position:static;left:auto;top:auto;width:100%;padding:20px 22px 0}
  .news-head{margin-top:0;font-size:clamp(17px,4.6vw,20px);line-height:1.4}
  .news-body{font-size:15px;line-height:1.55}
  .news-btn{position:relative;left:auto;top:auto;width:calc(100% - 44px);margin:16px 22px 22px;height:48px;display:flex}
  .news-dots{position:static;left:auto;transform:none;margin:22px auto 0;justify-content:center;top:auto}
  .news-pause{position:absolute;right:24px;top:44px}

  /* ---------- Footer：接管 responsive.css 重排并清画布残留 top ---------- */
  .footer{position:relative;left:0;top:auto;width:100%;height:auto;margin-top:8px}

  /* ---------- 按钮：从画布绝对定位改为文档流 ---------- */
  .btn{position:relative}

  /* ---------- 通用可访问性：键盘焦点可见 ---------- */
  a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{
    outline:2px solid var(--green);outline-offset:2px}
}

/* ---------- ≤560px：小屏微调 ---------- */
@media (max-width:560px){
  .hero{min-height:88vw}
  .hero-cta-wrap .btn{height:56px}
  .header .logo img{width:132px}
  .header-utils .lang-wrap{right:96px}
  .f-social{width:min(300px,100%)}
}
