﻿/* ============================================================
   fix-mobile.css 鈥?绉诲姩绔帓鐗堜慨澶嶅眰
   2026-09-14
   淇鑼冨洿锛?   1) .shelf-table 鎵嬫満绔拺鐖嗗睆骞曪紙min-width:720px 瀵艰嚧妯悜婧㈠嚭锛?      鈫?鎵嬫満绔浆涓哄爢鍙犲崱鐗囧竷灞€
   2) .ev-hero-media 鍏ㄥ昂瀵歌秺鐣?1~29px 鈫?鐖跺鍣?overflow 瑁佸壀
   3) .shelf-note 宸﹀彸鐣欑櫧涓嶅绉帮紙宸︿晶璐磋竟锛夆啋 缁熶竴鍐呰竟璺?   ============================================================ */

/* ---------- 1) 棣栧睆濯掍綋鍧楄秺鐣屼慨澶嶏紙鍏ㄥ昂瀵革級 ---------- */
.ev-hero { overflow: hidden; }
.ev-hero-media { max-width: 100%; }

/* ---------- 2) shelf-note 鐣欑櫧瀵圭О ---------- */
.ev-shelf { padding-left: 0; padding-right: 0; }
.shelf-note {
  padding-left: 4px;
  padding-right: 4px;
  max-width: 100%;
}

/* ---------- 3) 閫氱敤锛氫换浣曡〃鏍煎鍣ㄩ兘涓嶅厑璁告拺鐮撮〉闈?---------- */
.shelf-wrap,
.ev-shelf .shelf-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ---------- 4) 鎵嬫満绔細璐ф灦琛ㄦ牸 鈫?鍫嗗彔鍗＄墖 ---------- */
@media (max-width: 760px) {

  .shelf-wrap {
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
  }

  /* 鍙栨秷寮哄埗鏈€灏忓搴︼紝鏀逛负鑷€傚簲 */
  .shelf-table {
    min-width: 0 !important;
    width: 100%;
    display: block;
    font-size: 14px;
    border-collapse: separate;
  }

  /* 闅愯棌琛ㄥご锛堟敼涓烘瘡琛屽唴鏄剧ず鍒楀悕锛?*/
  .shelf-table thead { display: none; }

  .shelf-table tbody { display: block; }

  /* 姣忚鍙樻垚涓€寮犲崱鐗囷紙娣辫壊涓婚锛氭繁搴?+ 娴呭瓧锛屼笌绔欑偣涓€鑷达級 */
  .shelf-table tbody tr {
    display: block;
    background: rgba(26, 35, 51, 0.72);
    border: 1px solid var(--stroke, rgba(125,184,238,.18));
    border-radius: 12px;
    padding: 14px 16px 12px;
    margin-bottom: 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,.25);
  }
  .shelf-table tbody tr:last-child { border-bottom: 1px solid var(--stroke, rgba(125,184,238,.18)); margin-bottom: 0; }
  .shelf-table tbody tr:hover { background: rgba(34, 211, 238, 0.05); }

  /* 娣辫壊鍗＄墖鍐呮枃瀛楃粺涓€涓烘祬鑹诧紙璺熺珯鐐逛富棰樹竴鑷达級 */
  .shelf-table tbody tr,
  .shelf-table tbody td {
    color: var(--tx-1, #f0f6fc) !important;
  }
  .shelf-table td.shelf-cat,
  .shelf-table td.shelf-pack .pack-trial,
  .shelf-table td.shelf-pack span {
    color: #9fb3c8 !important;
  }
  .shelf-table td.shelf-code a,
  .shelf-table td.shelf-code a:visited {
    color: var(--neon, #67e8f9) !important;
  }
  .shelf-table td.shelf-purity b {
    color: var(--tx-1, #f0f6fc) !important;
  }
  .shelf-table td::before {
    color: #8ba3ba !important;
  }
  /* 娣辫壊鍗＄墖鍐呮寜閽?閾炬帴 */
  .shelf-table tbody .shelf-link,
  .shelf-table tbody .shelf-act a,
  .shelf-table tbody a {
    color: var(--neon, #67e8f9) !important;
    background: rgba(103, 232, 249, 0.08) !important;
    border-color: rgba(103, 232, 249, 0.3) !important;
  }
  .shelf-table tbody .shelf-quote {
    background: rgba(34, 211, 238, 0.16) !important;
    color: var(--neon, #67e8f9) !important;
  }

  /* 姣忎釜鍗曞厓鏍煎彉鎴愪竴琛岋細宸﹀垪鍚?+ 鍙冲唴瀹?*/
  .shelf-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 7px 0 !important;
    border: 0 !important;
    width: auto !important;
    text-align: right;
  }

  /* 鐢?data-label 鏄剧ず鍒楀悕 */
  .shelf-table td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #7c8da3;
    text-align: left;
    white-space: nowrap;
  }

  /* 绗竴鏍硷紙浜у搧鍚嶏級浣滀负鍗＄墖鏍囬 */
  .shelf-table td.shelf-code {
    display: block;
    padding: 0 0 10px !important;
    margin-bottom: 4px;
    border-bottom: 1px dashed var(--ev-line, #e3eaf3) !important;
    text-align: left;
    font-size: 16px;
  }
  .shelf-table td.shelf-code::before { display: none; }
  .shelf-table td.shelf-code a { font-size: 15.5px; font-weight: 700; }

  /* 绾害鍒楋細杩涘害鏉″彲浠ヨ鍘嬬缉 */
  .shelf-table td.shelf-purity { white-space: normal; }
  .shelf-table td.shelf-purity .purity-bar { width: 64px; }

  /* 鎿嶄綔鍒楋細鎸夐挳骞舵帓闈犲彸 */
  .shelf-table td.shelf-act {
    padding-top: 11px !important;
    margin-top: 5px;
    border-top: 1px dashed var(--ev-line, #e3eaf3) !important;
    justify-content: flex-end;
    gap: 10px;
  }
  .shelf-table td.shelf-act::before { display: none; }

  /* 鍖呰鍒楃殑涓ゆ鏂囧瓧鍦ㄦ墜鏈轰笂绔栨帓鏇村ソ璇?*/
  .shelf-table td.shelf-pack { flex-wrap: wrap; }
  .shelf-table td.shelf-pack span { display: inline-block; }
  .pack-bulk { font-weight: 600; }
  .pack-trial { color: #7c8da3; font-size: 12.5px; }

  /* shelf-note 鎵嬫満涓婄暀鐧界粺涓€ */
  .shelf-note { padding-left: 0; padding-right: 0; }
}

/* ---------- 4b) 鎵嬫満绔細瀵规瘮琛?鈫?鍫嗗彔鍗＄墖 ---------- */
@media (max-width: 760px) {

  .compare-wrap {
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
  }

  .compare-table {
    min-width: 0 !important;
    width: 100%;
    display: block;
    font-size: 14px;
    border-collapse: separate;
  }
  .compare-table thead { display: none; }
  .compare-table tbody { display: block; }

  .compare-table tbody tr {
    display: block;
    background: rgba(26, 35, 51, 0.72);
    border: 1px solid var(--stroke, rgba(125,184,238,.18));
    border-radius: 12px;
    padding: 14px 16px 12px;
    margin-bottom: 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,.25);
  }
  .compare-table tbody tr:last-child { margin-bottom: 0; }
  .compare-table tbody tr:hover { background: rgba(34, 211, 238, 0.05); }

  /* 娣辫壊鍗＄墖鍐呮枃瀛楃粺涓€涓烘祬鑹?*/
  .compare-table tbody tr,
  .compare-table tbody td,
  .compare-table tbody th {
    color: var(--tx-1, #f0f6fc) !important;
  }
  .compare-table td::before {
    color: #8ba3ba !important;
  }
  .compare-table .compare-yes,
  .compare-table .yes { color: var(--neon, #67e8f9) !important; }
  .compare-table .compare-no,
  .compare-table .no { color: #ff8a8a !important; }
  /* 琛屾爣棰橈紙鍖栧悎鐗╁悕锛変綔涓哄崱鐗囨爣棰?*/
  .compare-table tbody th {
    display: block;
    width: auto !important;
    padding: 0 0 10px !important;
    margin-bottom: 4px;
    border-bottom: 1px dashed var(--line, #e3eaf3) !important;
    text-align: left;
    font-size: 16px;
    white-space: normal;
  }

  .compare-table td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 7px 0 !important;
    border: 0 !important;
    width: auto !important;
    text-align: right;
  }
  .compare-table td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #7c8da3;
    text-align: left;
    white-space: nowrap;
    padding-top: 2px;
  }

  /* SKU 闀挎枃鏈厑璁告崲琛?*/
  .compare-table .c-sku { max-width: none; white-space: normal; word-break: break-word; }
  .compare-table .c-size, .compare-table .c-pack { white-space: normal; }

  /* 鎶ヤ环鎸夐挳鐙崰涓€琛?*/
  .compare-table td.c-cta {
    margin-top: 6px;
    padding-top: 11px !important;
    border-top: 1px dashed var(--line, #e3eaf3) !important;
    justify-content: flex-end;
  }
  .compare-table td.c-cta::before { display: none; }

  /* 绛涢€夋潯鎵嬫満涓婂厑璁告崲琛?*/
  .compare-filter {
    flex-wrap: wrap;
    gap: 8px;
  }
  .compare-filter a { white-space: nowrap; }
}

/* ---------- 4c) 棣栧睆瀹瑰櫒锛氭墜鏈轰笂鍏ㄥ + 鍗曟爮 ---------- */

/* 鏍瑰洜锛?ev-hero 鏄?flex row锛屽鑷?.ev-hero-inner 涓?.ev-paths 琚苟鎺掓尋鍘嬨€?   骞虫澘鍙婁互涓嬩竴寰嬫敼鍥炲潡绾ф祦寮忓竷灞€銆?*/
@media (max-width: 980px) {
  .ev-hero { display: block; min-height: auto; }
  .ev-hero-inner {
    display: block;
    width: auto;
    max-width: 100%;
    margin: 0;
    padding-left: 22px;
    padding-right: 22px;
    box-sizing: border-box;
  }
  .ev-paths {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }
}

/* 鎵嬫満绔細鍏ㄥ鍗曟爮锛岀暀鐧藉绉?*/
@media (max-width: 760px) {
  .ev-hero-inner {
    padding: 56px 18px 48px;
  }
  .ev-paths {
    gap: 13px;
    margin-top: 30px;
  }
  .ev-path {
    padding: 20px;
    box-sizing: border-box;
    min-width: 0;
  }
  .ev-path strong, .ev-path .ev-path-desc { overflow-wrap: anywhere; }
  .ev-hero-media { transform: none; }
}

/* ---------- 4d) 鍒嗙被鍗＄墖锛氭墜鏈轰笂鏀逛负涓婁笅鍫嗗彔 ---------- */
@media (max-width: 760px) {
  .category-card a {
    display: block;
    grid-template-columns: none;
    min-height: 0;
  }
  .category-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
  }
  .category-card div {
    padding: 16px 18px 20px;
    overflow-wrap: anywhere;
  }
  .category-card a > * { min-width: 0; }
}

/* ---------- 4e) 瀵艰埅琛岋細灏忓睆闃叉孩鍑?---------- */
@media (max-width: 900px) {
  .nav-row-main {
    box-sizing: border-box;
    max-width: 100%;
    /* 涓嶈兘 overflow:hidden锛屽惁鍒欎細鎶婄粷瀵瑰畾浣嶇殑灞曞紑鑿滃崟瑁佹帀锛岃〃鐜板氨鏄€宮enu 鐐逛笉鍔ㄣ€?*/
  }
  .nav-toggle {
    flex: 0 0 auto !important;
    box-sizing: border-box;
    margin-left: auto;
  }
  .nav-row-main > * { min-width: 0; }

  /* 鍏抽敭锛氶檺鍒?logo 瀹藉害锛岀粰姹夊牎鎸夐挳鑵惧嚭绌洪棿 */
  .nav-row-main .brand {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 86px);
  }
  .nav-row-main .brand img {
    max-width: 100%;
    width: auto;
    max-height: 32px;
    object-fit: contain;
    object-position: left center;
  }
}
@media (max-width: 480px) {
  .nav-row-main { padding-left: 12px !important; padding-right: 12px !important; }
  .nav-row-main .brand { max-width: calc(100% - 78px); }
  .nav-toggle { padding: 0 12px !important; font-size: 12.5px !important; min-height: 34px !important; white-space: nowrap; }
}
@media (max-width: 380px) {
  .nav-row-main .brand { max-width: calc(100% - 70px); }
  .nav-row-main .brand img { max-height: 28px; }
  .nav-toggle { padding: 0 10px !important; min-height: 32px !important; }
}

/* ---------- 6b) 涓瓑瀹藉睆瀵艰埅锛氶槻婧㈠嚭 ---------- */
@media (max-width: 1500px) and (min-width: 901px) {
  /* 瀵艰埅琛屽厑璁稿脊鎬ф敹缂╋紝闃叉婧㈠嚭 */
  .nav-row-main {
    box-sizing: border-box;
    max-width: 100%;
    flex-wrap: nowrap;
    gap: 0;
  }
  .nav-row-main .brand {
    flex: 0 1 auto;
    min-width: 0;
  }
  .nav-row-main .brand img { max-width: 100%; width: auto; max-height: 34px; object-fit: contain; object-position: left center; }
  .main-menu {
    flex: 1 1 auto;
    min-width: 0;
  }
  .nav-tools { flex: 0 0 auto; gap: 8px !important; }
  .quote-link { white-space: nowrap; }
}
@media (max-width: 1240px) and (min-width: 901px) {
  /* 鏇寸獎鏃跺啀鏀朵竴姝ワ細闅愯棌璐墿杞﹀浘鏍?*/
  .nav-tools .cart-link { display: none !important; }
  .main-menu { gap: 0 !important; }
  .main-menu a { padding-left: 9px !important; padding-right: 9px !important; font-size: 14px !important; }
}

/* ---------- 7) 妗岄潰/骞虫澘锛歨ero 鍙屾爮瀵归綈 + 濯掍綋鍧楄秺鐣?---------- */

/* 濯掍綋鍧?scale(1.02) 瀵艰嚧宸﹀彸鍚勮秴鍑虹害 1%锛岀埗绾у凡鍦?fix 寮€澶磋 overflow:hidden */
.ev-hero { overflow: hidden !important; }
/* 鐩存帴鍙栨秷缂╂斁锛屽交搴曟秷闄よ秺鐣岋紙鍚屾椂淇濈暀 bleed 鏁堟灉锛?*/
.ev-hero-media { transform: none !important; }

@media (min-width: 981px) {
  /* 妗岄潰绔細hero-inner 涓?ev-paths 鏋勬垚鐪熸鐨勪袱鏍忥紝鍨傜洿灞呬腑瀵归綈 */
  .ev-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 780px) minmax(0, 790px);
    justify-content: center;
    align-items: center;
    column-gap: 56px;
    padding: 0 32px;
    box-sizing: border-box;
  }
  .ev-hero-media {
    position: absolute;
    inset: 0;
  }
  .ev-hero-inner {
    width: auto !important;
    max-width: 780px !important;
    margin: 0 !important;
    justify-self: end;
  }
  .ev-paths {
    width: auto;
    max-width: 790px;
    margin: 0 !important;
    justify-self: start;
    align-self: center;
  }
}

/* ---------- 5) 瓒呭皬灞忓啀鏀剁揣 ---------- */
@media (max-width: 420px) {
  .compare-table tbody tr { padding: 12px 13px 10px; }
  .compare-table td { font-size: 13.5px; }
  .compare-table td::before { font-size: 10px; letter-spacing: .08em; }
  .shelf-table tbody tr { padding: 12px 13px 10px; }
  .shelf-table td { font-size: 13.5px; }
  .shelf-table td::before { font-size: 10px; letter-spacing: .08em; }
  .shelf-table td.shelf-act { gap: 8px; }
}

/* ============================================================
   8) 澶у睆 / 2K / 4K 鑷€傚簲
   绔欑偣榛樿瀹瑰櫒涓婇檺 1560px锛屽湪 2K/4K 灞忓箷涓婂彧鍗?40% 宸﹀彸锛?   涓よ竟绌虹櫧宸ㄥぇ 鈫?鐪嬭捣鏉ャ€屽緢灏忋€嶃€傝繖閲屾寜灞忓鍒嗘。鏀惧涓婇檺骞?   绛夋瘮鏀惧ぇ鎺掔増鑺傚銆?   ============================================================ */

/* 2K 灞忥紙1921 绾э級锛氬鍣ㄥ畾鍊?1800px + 灞呬腑锛涘瓙鍧椾篃灞呬腑 */
@media (min-width: 1921px) {
  .nav-row-main,
  .section > *,
  .detail-layout,
  .wrap,
  .container {
    max-width: 1800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  /* bento tail 涓ゅ垪鍐呭鍚勮嚜灞呬腑锛岄伩鍏嶅瓙鍧楄创鍦ㄥ垪宸︿晶 */
  .bn-tail-col {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  /* FAQ / 瀵规瘮琛ㄧ瓑鍐呭鍧楀眳涓?*/
  .faq-list,
  .faq-block,
  .compare-wrap,
  .shelf-wrap {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* 澶у睆锛?560 绾э級锛氬鍣ㄥ畾鍊?2100px + 灞呬腑 */
@media (min-width: 2561px) {
  .nav-row-main,
  .section > *,
  .detail-layout,
  .wrap,
  .container {
    max-width: 2100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  html { font-size: 17px; }
  .section { padding-left: clamp(24px, 3vw, 72px) !important; padding-right: clamp(24px, 3vw, 72px) !important; }
}

/* 4K 婊¤锛?400+锛夛細瀹瑰櫒瀹氬€?2400px + 灞呬腑锛堜笉璺熻鍙ｆ棤闄愰摵寮€锛?*/
@media (min-width: 3400px) {
  .nav-row-main,
  .section > *,
  .detail-layout,
  .wrap,
  .container {
    max-width: 2400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  html { font-size: 18px; }

  /* 棣栧睆鍙屾爮闄愬灞呬腑 */
  .ev-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    column-gap: 72px !important;
    padding: 0 60px !important;
  }
  .ev-hero-inner { width: 100% !important; max-width: 1180px !important; justify-self: end !important; }
  .ev-paths { width: 100% !important; max-width: 1180px !important; justify-self: start !important; }
}

/* 2K 灞忛灞忎篃閫傚綋鏀惧 */
@media (min-width: 1921px) and (max-width: 3399px) {
  .ev-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    max-width: 1700px !important;
    margin: 0 auto !important;
    column-gap: 64px !important;
  }
  .ev-hero-inner { width: 100% !important; max-width: 900px !important; justify-self: end !important; }
  .ev-paths { width: 100% !important; max-width: 900px !important; justify-self: start !important; }
}








/* ============================================================
   10) 大屏统一居中收尾层（放最后，最高优先级）
   ============================================================ */
@media (min-width: 1921px) {
  .nav-row-main,
  .section > *,
  .detail-layout,
  .wrap,
  .container {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  /* grid 列内的子块：用 justify-self 让其在本列内居中 */
  .bn-tail > *,
  .bn-tail-col,
  .bn-duo > *,
  .bn-about > * {
    justify-self: center !important;
  }
  /* 栏内内容块居中 */
  .bn-tail-col > *,
  .faq-list,
  .faq-block,
  .blog-grid,
  .info-columns {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  /* 去掉大屏下 section 的额外左右内边距，避免内容被推偏 */
  .bn-tail-col > .section,
  .bn-tail-col > section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .section-head {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* bn-tail 大屏限宽居中（它不在 .section > * 规则覆盖范围内） */
@media (min-width: 1921px) {
  .bn-tail,
  .bn-about,
  .bn-duo,
  .bn-shelf-section,
  .bn-featured,
  .bn-cats,
  .bn-cert,
  .bn-reports {
    max-width: 2400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
