/* wangzhan 前台样式 — 英文 B2B 产品站 */
:root {
  --navy: #14212e;
  --navy-2: #1f3245;
  --accent: #f76707;
  --accent-d: #e8590c;
  --ok: #2f9e44;
  --bg: #f5f7fa;
  --card: #ffffff;
  --line: #e3e8ef;
  --text: #2b3440;
  --muted: #6b7684;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(20, 33, 46, .08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", sans-serif; color: var(--text); background: var(--bg); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
h1 { font-size: 26px; }
h2 { font-size: 22px; }
.muted { color: var(--muted); }

/* ---------- 顶栏（公告 + 账户行） ---------- */
.topbar { background: var(--navy); color: #cfd8e3; font-size: 12.5px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; padding: 6px 16px; gap: 12px; flex-wrap: wrap; }
.topbar-announce { opacity: .9; }
.topbar-acc { display: flex; gap: 4px; }
.topbar-acc a { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 6px; color: #cfd8e3; }
.topbar-acc a:hover { background: rgba(255,255,255,.1); color: #fff; }
.topbar-acc .ic { color: #ffb367; }
.topbar-cta { background: var(--accent); color: #fff !important; font-weight: 600; padding: 3px 14px !important; border-radius: 999px; }
.topbar-cta:hover { background: var(--accent-d) !important; }
.topbar-cta .ic { color: #fff; }

/* —— 版头「Click for inquiry」胶囊按钮：漫画头像压于橙色胶囊之上，
      头顶高出上边缘，身体在胶囊底边渐隐融入 —— */
.header-in > a.nav-inquiry {
  position: relative;
  flex-shrink: 0;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  line-height: 18px;
  padding: 13px 16px 13px 88px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  transition: background .18s;
  text-decoration: none;
  z-index: 5;
}
.header-in > a.nav-inquiry:hover { background: var(--accent-d); color: #fff; }
.header-in > a.nav-inquiry > span { position: relative; z-index: 3; }
.nav-inquiry-avatar {
  position: absolute;
  left: 22px;
  top: -15px;
  width: 60px;
  height: 60px;
  object-fit: contain;
  object-position: bottom;
  /* 底部渐隐：发梢自然融入橙色胶囊，不留生硬下边线 */
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 13px), rgba(0, 0, 0, .55) calc(100% - 5px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 13px), rgba(0, 0, 0, .55) calc(100% - 5px), transparent 100%);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3));
  pointer-events: none;
  z-index: 2;
  /* 摆动时以左下角为轴，头像底部始终贴合胶囊底边，不会露出下边线 */
  transform-origin: left bottom;
  animation: nav-avatar-float 3s ease-in-out infinite;
  will-change: transform;
}
/* 产品页「Inquire this product」：整张横幅图（漫画女孩 + 黑色胶囊 + 文字），直接用图，不再套橙色胶囊 */
.product-cta {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: transform .15s, filter .15s;
}
.product-cta img { height: 74px; width: auto; display: block; }
.product-cta:hover { transform: translateY(-2px); filter: brightness(1.04); }
@keyframes nav-avatar-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25%      { transform: translateY(-3px) rotate(-2.5deg); }
  50%      { transform: translateY(-1px) rotate(0deg); }
  75%      { transform: translateY(-4px) rotate(2.5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .nav-inquiry-avatar { animation: none; }
}

/* ---------- 页头（Logo + 公司信息，自适应拉满） ---------- */
.site-header { background: var(--card); position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); padding: 10px 16px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-mark { width: auto; height: 160px; max-width: 42vw; object-fit: contain; flex-shrink: 0; display: block; }
.header-main { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.company-name { font-size: clamp(18px, 2vw, 26px); font-weight: 800; color: var(--navy); letter-spacing: .2px; line-height: 1.15; white-space: nowrap; }
.company-name:hover { color: var(--accent-d); }
/* 长公司名在窄屏（≤992px）允许换行，避免溢出；更宽时强制单行 */
@media (max-width: 1100px) { .company-name { white-space: normal; } }
.company-cats { font-size: clamp(13px, 1.5vw, 20px); color: var(--muted); }
.company-contacts { display: flex; gap: clamp(16px, 3vw, 48px); font-size: clamp(13px, 1.5vw, 18px); color: var(--text); flex-wrap: wrap; margin-top: 4px; }
.company-contacts .ic { color: var(--accent); }
.nav-toggle { display: none; border: 1px solid var(--line); background: #fff; border-radius: 8px; font-size: 18px; padding: 4px 10px; cursor: pointer; }

/* ---------- 导航（深色条 + 右侧店内搜索，参考 alibaba 店铺导航） ---------- */
.main-nav { background: var(--navy); }
.nav-in { display: flex; align-items: stretch; gap: 2px; }
.nav-in > a, .nav-drop > a { color: #dbe3ec; padding: 12px 20px; font-size: 15px; display: flex; align-items: center; gap: 6px; }
.main-nav a:hover { color: #fff; background: var(--navy-2); }
.main-nav a.active { color: var(--navy); background: #fff; font-weight: 700; }
.nav-drop { position: relative; }
.nav-search { margin-left: auto; align-self: center; display: flex; max-width: 320px; flex: 1; min-width: 180px; }
.nav-search input { flex: 1; min-width: 0; border: 0; border-radius: 999px; padding: 7px 16px; font-size: 13.5px; outline: none; background: #fff; color: var(--text); }
.nav-search button { border: 0; background: var(--accent); color: #fff; width: 38px; border-radius: 999px; margin-left: -34px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.nav-search button .ic { width: 16px; height: 16px; }
.drop-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); border-radius: 0 0 8px 8px; z-index: 60; padding: 6px 0; }
.nav-drop:hover .drop-menu { display: block; }
.drop-menu a { color: var(--text); padding: 8px 16px; font-size: 14px; border-bottom: 0; }
.drop-menu a:hover { background: var(--bg); color: var(--accent); }
.drop-menu .cnt { color: var(--muted); font-size: 12px; }

/* ---------- 按钮 ---------- */
.btn { display: inline-block; padding: 9px 18px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; border: 1.5px solid transparent; transition: .15s; }
.btn-lg { padding: 12px 26px; font-size: 15px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-d); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-line { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #f1f3f5; }

/* ---------- Flash ---------- */
.flash { margin: 14px 0; padding: 12px 16px; border-radius: 8px; font-size: 14px; }
.flash-success { background: #ebfbee; color: #2b8a3e; border: 1px solid #b2f2bb; }
.flash-error { background: #fff5f5; color: #c92a2a; border: 1px solid #ffc9c9; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, #274b6d 100%); color: #fff; padding: 54px 0 46px; }
.hero-in { display: flex; align-items: center; gap: 40px; }
.hero-text { flex: 1; }
.hero h1 { font-size: 38px; line-height: 1.2; margin-bottom: 14px; }
.hero p { color: #b9c6d6; font-size: 16.5px; max-width: 560px; margin-bottom: 22px; }
.hero-cta { display: flex; gap: 12px; margin-bottom: 30px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; list-style: none; }
.hero-stats b { display: block; font-size: 20px; color: #ffb367; }
.hero-stats span { font-size: 12.5px; color: #9fb0c3; }
.hero-imgs { display: flex; gap: 16px; }
.hero-card { width: 170px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; overflow: hidden; text-align: center; transition: .2s; }
.hero-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.12); }
.hero-card img { width: 100%; height: 150px; object-fit: contain; background: #fff; padding: 8px; }
.hero-card span { display: block; padding: 8px; font-size: 12.5px; color: #dbe4ee; }

/* ---------- 顶部轮播（home_banners） ---------- */
.hero-carousel { position: relative; background: var(--navy); overflow: hidden; }
.hc-track { display: flex; transition: transform .6s ease; }
.hc-slide { flex: 0 0 100%; line-height: 0; }
/* 宽度固定100%，高度自适应（无固定高度） */
.hc-slide img { width: 100%; height: auto; display: block; }
.hc-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 5; }
.hc-dot { width: 10px; height: 10px; border-radius: 6px; border: 0; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; transition: .2s; }
.hc-dot.active { background: #fff; width: 26px; }

/* ---------- 首页产品分类循环 ---------- */
.cat-loop { padding-top: 40px; }
.cl-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.cl-title { font-size: 24px; color: var(--navy); position: relative; padding-left: 14px; }
.cl-title::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px; border-radius: 3px; background: var(--accent); }
.cl-all { color: var(--accent); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 3px; }
.cl-banner { width: 100%; max-height: 210px; object-fit: cover; border-radius: var(--radius); margin-bottom: 22px; display: block; }
.cl-sub { margin-bottom: 28px; }
.cl-sub:last-child { margin-bottom: 0; }
.cl-subtitle { font-size: 17px; color: var(--navy); margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cl-sub-more { color: var(--accent); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 3px; flex: none; }

/* ---------- 首页装修模块 ---------- */
.banner-img { background: var(--navy); line-height: 0; }
.banner-img img { width: 100%; max-height: 460px; object-fit: cover; }
.banner-code { line-height: normal; }
.richtext-body { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.richtext-body img { max-width: 100%; border-radius: 8px; margin: 8px 0; }
.richtext-body h1, .richtext-body h2, .richtext-body h3 { color: var(--navy); margin: 14px 0 8px; }
.richtext-body p { margin-bottom: 10px; }
.richtext-body ul, .richtext-body ol { margin: 0 0 12px 22px; }
/* 首页富文本插槽（后台可编辑） */
.home-slot { padding: 36px 0; }
.home-slot-title { text-align: center; margin-bottom: 18px; color: var(--navy); font-size: 24px; }
.home-slot .home-slot-body { border: 0; padding: 0; background: transparent; border-radius: 0; }
.home-slot .home-slot-body > :first-child { margin-top: 0; }
.home-slot .home-slot-body > :last-child { margin-bottom: 0; }
.home-slot .home-slot-body img { max-width: 100%; height: auto; }
.home-slot .home-slot-body a { color: var(--accent); }

/* ---------- 通用 section ---------- */
.section { padding: 44px 0; }
.section-alt { background: var(--card); }
.section-title { text-align: center; margin-bottom: 28px; color: var(--navy); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.section-head .section-title { text-align: left; margin: 0; }
.section-link { color: var(--accent); font-weight: 600; font-size: 14px; }

/* ---------- 分类 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.cat-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; text-align: center; transition: .18s; }
.cat-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-3px); }
.cat-ico { font-size: 34px; display: block; margin-bottom: 10px; }
.cat-card h3 { font-size: 17px; color: var(--navy); margin-bottom: 4px; }
.cat-card p { color: var(--muted); font-size: 13px; }
.cat-more { color: var(--accent); font-size: 13px; font-weight: 600; }

/* ---------- 产品卡片 ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
/* 产品列表页固定3列（每页21个=3×7，底部不空缺）；首页等仍用 auto-fill */
.list-layout .prod-grid { grid-template-columns: repeat(3, 1fr); }
.prod-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .18s; display: flex; flex-direction: column; }
.prod-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #d4dce6; }
.prod-img { position: relative; background: #fafbfc; overflow: hidden; }
.prod-img img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; padding: 0; display: block; }
.img-empty { height: 210px; display: flex; align-items: center; justify-content: center; color: #b0bac6; font-size: 13px; }
.img-empty.big { height: 380px; }
.badge { position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 20px; }
.badge-stock { background: #fff3e6; color: var(--accent-d); border: 1px solid #ffd8a8; }
.badge-ok { background: #ebfbee; color: var(--ok); border: 1px solid #b2f2bb; position: static; display: inline-block; }
.detail-info .badge { position: static; display: inline-block; vertical-align: middle; margin: 0 6px 0 0; }
.prod-info { padding: 14px 16px 16px; }
.prod-info h3 { font-size: 14.5px; color: var(--navy); line-height: 1.4; min-height: 40px; }
.prod-info .model { color: var(--muted); font-weight: 500; font-size: 12.5px; }
.prod-price { color: var(--accent-d); font-weight: 800; font-size: 17px; margin-top: 8px; }
.prod-price .per { color: var(--muted); font-weight: 400; font-size: 12px; }
.prod-moq { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.prod-card { position: relative; }
.prod-title { display: block; }
.prod-title h3 { pointer-events: none; }
.fav-form { position: absolute; top: 8px; right: 8px; z-index: 5; }
.fav-btn { border: 0; background: rgba(255,255,255,.92); color: #9aa7b6; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 17px; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(20,33,46,.15); transition: .15s; }
.fav-btn:hover { color: var(--accent); transform: scale(1.08); }
.fav-btn.on { color: var(--accent); }
.img-more { position: absolute; bottom: 10px; right: 10px; background: rgba(20,33,46,.72); color: #fff; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 14px; display: inline-flex; align-items: center; gap: 4px; }
.prod-img img[data-more] { cursor: zoom-in; }
/* ===== 产品卡片：图片铺满 + 悬停播放视频（阿里巴巴风格）===== */
/* 视频默认隐藏，绝对定位盖在图上；鼠标悬停卡片时淡入并自动播放 */
.prod-img .card-video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; background: #0b141d; padding: 0; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.prod-card:hover .prod-img .card-video,
.prod-img:hover .card-video { opacity: 1; }
/* 中央播放按钮：半透明白圆 + 三角，悬停播放时淡出 */
.card-play { position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 2px 12px rgba(0,0,0,.22); z-index: 3; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.card-play::after { content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%); border-left: 17px solid #1b2a3a; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.prod-card:hover .prod-img .card-play,
.prod-img:hover .card-play { opacity: 0; transform: scale(.85); }
/* 右下角视频时长角标 */
.card-dur { position: absolute; right: 8px; bottom: 8px; z-index: 3; background: rgba(12,20,29,.78); color: #fff; font-size: 11px; font-weight: 600; line-height: 1; padding: 5px 7px; border-radius: 4px; letter-spacing: .3px; pointer-events: none; font-variant-numeric: tabular-nums; }
.prod-actions { display: flex; gap: 8px; margin-top: 12px; }
.prod-actions .cart-add { flex: 1; display: flex; }
.prod-actions .cart-add button { flex: 1; }
.btn-sm { padding: 6.5px 12px; font-size: 13px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; }

/* ---------- 列表页 ---------- */
.page-head { background: var(--card); border-bottom: 1px solid var(--line); padding: 18px 0; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.crumbs a:hover { color: var(--accent); }
.page-head h1 { color: var(--navy); }
.page-head h1 small { color: var(--muted); font-weight: 400; }
.list-layout { display: grid; grid-template-columns: 230px 1fr; gap: 24px; padding-top: 24px; }
.filter-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; height: fit-content; position: sticky; top: 210px; align-self: start; }
.filter-box h3 { font-size: 15px; color: var(--navy); margin-bottom: 10px; }
.filter-box a { display: block; padding: 8px 10px; border-radius: 7px; font-size: 14px; color: var(--text); }
.filter-box a span { color: var(--muted); font-size: 12.5px; }
.filter-box a.active, .filter-box a:hover { background: #fff3e6; color: var(--accent-d); }
.filter-note { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--muted); }
.list-toolbar { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar-search { display: flex; flex: 1; max-width: 380px; }
.toolbar-search input { flex: 1; border: 1.5px solid var(--line); border-right: 0; border-radius: 8px 0 0 8px; padding: 8px 12px; font-size: 14px; }
.toolbar-search button { border: 0; background: var(--navy); color: #fff; padding: 0 16px; border-radius: 0 8px 8px 0; cursor: pointer; }
.toolbar-sort select { border: 1.5px solid var(--line); border-radius: 8px; padding: 8px 10px; background: #fff; font-size: 14px; }
.empty-box { background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); padding: 50px; text-align: center; color: var(--muted); }
.empty-404 { text-align: center; padding: 60px 0; }
.empty-404 h1 { font-size: 64px; color: var(--accent); }

/* 分页 */
.pager { display: flex; gap: 6px; justify-content: center; margin: 28px 0 10px; flex-wrap: wrap; }
.pager a, .pager .pg-disabled { padding: 7px 13px; border-radius: 7px; border: 1px solid var(--line); background: var(--card); font-size: 14px; }
.pager a:hover { border-color: var(--accent); color: var(--accent); }
.pg-active { background: var(--accent) !important; color: #fff !important; border-color: var(--accent) !important; }
.pg-disabled { color: #c1cad5; }
.pg-ellipsis { align-self: center; color: var(--muted); }

/* ---------- 产品详情 ---------- */
.detail-grid { display: grid; grid-template-columns: 600px 1fr; gap: 32px; padding-top: 24px; align-items: start; }
.detail-gallery { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: start; }
.detail-gallery:has(.thumbs-col) { grid-template-columns: 96px 1fr; }
.thumbs-col { display: flex; flex-direction: column; max-height: 520px; overflow-y: auto; }
.thumbs-col img { width: 80px; height: 80px; object-fit: contain; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 1px; cursor: pointer; flex: none; margin-bottom: 6px; }
.thumbs-col img.active, .thumbs-col img:hover { border-color: var(--accent); }
.gallery-main { position: relative; display: flex; flex-direction: column; gap: 12px; }
.main-img { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.img-stage { position: relative; }
.main-img img { width: 100%; aspect-ratio: 1 / 1; max-height: 640px; object-fit: contain; padding: 18px; }
.prod-video { width: 100%; max-height: 320px; background: #000; border-radius: var(--radius); border: 1px solid var(--line); }
.gal-arrow { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.95); color: var(--navy); cursor: pointer; font-size: 15px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); z-index: 5; }
.gal-arrow:hover { color: var(--accent); border-color: var(--accent); }
.gal-prev { left: 10px; right: auto; transform: translateY(-50%) rotate(180deg); }
.gal-counter { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); background: rgba(20,33,46,.75); color: #fff; font-size: 12px; padding: 3px 12px; border-radius: 999px; letter-spacing: .5px; z-index: 4; }
.detail-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.detail-title-row h1 { flex: 1; }
.fav-inline { position: static; margin-top: 4px; }
.fav-inline .fav-btn { width: 40px; height: 40px; font-size: 19px; }
.detail-cta { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.cart-add-lg { flex: 0 1 auto; display: flex; gap: 8px; min-width: 0; }
.cart-add-lg input { width: 64px; border: 1.5px solid var(--line); border-radius: 8px; padding: 9px 10px; font-size: 14px; }
.detail-anchor { padding-top: 26px; }
.detail-anchor-in { display: flex; gap: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 10px 16px; }
.detail-anchor-in a { font-weight: 600; font-size: 14px; color: var(--navy); }
.detail-anchor-in a:hover { color: var(--accent); }
/* 同类推荐轮播 */
.related-block h2 { margin-bottom: 14px; }

/* ---------- You Might Like：后台勾选的同类产品，2行x4列共8个 ---------- */
.like-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.like-grid .prod-img img { height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: #fafbfc; }
@media (max-width: 1100px) { .like-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .like-grid { grid-template-columns: repeat(2, 1fr); } }
.carousel { display: flex; align-items: center; gap: 10px; }
.car-track { display: flex; gap: 14px; overflow-x: auto; flex: 1; scroll-behavior: smooth; scrollbar-width: thin; padding: 4px 2px; }
.car-card { flex: 0 0 232px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .18s; }
.car-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.car-card .prod-img img { height: 180px; }
.car-arrow { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--navy); cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.car-arrow:hover { color: var(--accent); border-color: var(--accent); }
.car-prev { transform: rotate(180deg); }
.detail-info h1 { color: var(--navy); font-size: 23px; font-weight: 700; letter-spacing: -.5px; line-height: 1.2; margin-bottom: -.5px; }
.detail-model { color: var(--muted); margin-bottom: 12px; font-size: 14px; }
.price-box { background: #f6f7f9; border: 1px solid #e8ecf1; border-radius: var(--radius); padding: 16px 18px; margin: 16px 0; }
.tier-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tier-table th, .tier-table td { padding: 7px 10px; text-align: left; border-bottom: 1px solid #ffe8cc; }
.tier-table th { color: var(--muted); font-weight: 600; font-size: 13px; }
.tier-table td:last-child, .tier-table th:last-child { color: var(--accent-d); font-weight: 800; }
.price-big { font-size: 24px; font-weight: 800; color: var(--accent-d); }
.price-note { color: var(--muted); font-size: 12.5px; margin-top: 8px; }
/* 阶梯价横排卡片：大字价格 + 灰色数量档位说明 */
.tier-cards { display: flex; flex-wrap: wrap; gap: 10px 40px; }
.tier-card { min-width: 70px; }
.tier-price { color: var(--accent-d); white-space: nowrap; line-height: 1; }
.tier-price .cur { font-size: 20px; font-weight: 700; margin-right: 1px; }
.tier-price .int { font-size: 35px; font-weight: 800; letter-spacing: -.5px; }
.tier-price .dec { font-size: 15px; font-weight: 800; vertical-align: 12px; }
.tier-range { color: var(--muted); font-size: 15.5px; margin-top: 4px; white-space: nowrap; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--card); border-radius: var(--radius); overflow: hidden; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table th { width: 210px; text-align: left; color: var(--muted); font-weight: 600; padding: 9px 14px; background: #fafbfc; vertical-align: top; }
.spec-table td { padding: 9px 14px; white-space: pre-line; }
.spec-table td.spec-cell { white-space: normal; }
.spec-table td.spec-cell p, .spec-table td.spec-cell div { margin: 0 0 4px; }
.spec-table td.spec-cell p:last-child, .spec-table td.spec-cell div:last-child { margin-bottom: 0; }
.spec-table td.spec-cell ul, .spec-table td.spec-cell ol { margin: 0 0 4px 20px; }
.spec-rich { white-space: normal; }
/* Product Details 两列展示（2026-10-16 需求：一列太长右边太空） */
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.spec-item { display: flex; gap: 12px; padding: 9px 14px; border-bottom: 1px solid var(--line); font-size: 14px; min-width: 0; }
.spec-item:nth-last-child(-n+2) { border-bottom: 0; }
.spec-item .spec-k { flex: none; width: 150px; color: var(--muted); font-weight: 600; }
.spec-item .spec-cell { flex: 1; min-width: 0; white-space: normal; }
.spec-item .spec-cell p, .spec-item .spec-cell div { margin: 0 0 4px; }
.spec-item .spec-cell p:last-child, .spec-item .spec-cell div:last-child { margin-bottom: 0; }
.spec-item .spec-cell ul, .spec-item .spec-cell ol { margin: 0 0 4px 20px; }
/* 两列固定分区：左列技术参数 / 右列品牌重量箱规；每列独立，仅末行去底边线 */
.spec-grid.spec-cols { grid-template-columns: 1fr 1fr; gap: 0 28px; }
.spec-cols .spec-col { display: flex; flex-direction: column; }
.spec-cols .spec-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.spec-cols .spec-col .spec-item:last-child { border-bottom: 0; }
@media (max-width: 760px) { .spec-grid { grid-template-columns: 1fr; } .spec-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); } .spec-item:last-child { border-bottom: 0; } }
/* 规格选择器 */
.spec-picker { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin: 0 0 16px; background: var(--card); }
.sp-group { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; }
.sp-group + .sp-group { border-top: 1px dashed var(--line); }
.sp-name { flex: none; min-width: 96px; color: var(--muted); font-weight: 600; font-size: 14px; padding-top: 5px; }
.sp-vals { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.sp-val {
  display: block; align-items: center; gap: 6px;
  border: 1.5px solid var(--line); border-radius: 8px; background: #fff;
  padding: 6px 12px; font-size: 13.5px; cursor: pointer;
  line-height: 23px; color: var(--text);
  transition: border-color .15s, background .15s;
}
.sp-val em { font-style: normal; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.sp-val:hover { border-color: var(--accent); }
.sp-val.active { border-color: var(--accent); background: #fff5ec; color: var(--accent-d); font-weight: 700; }
.sp-val.active em { color: var(--accent-d); }
/* 规格选择显示图片（2026-10-16 需求：点规格切左图） */
.sp-val-img { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 5px; width: 76px; }
.sp-val-img img { width: 64px; height: 64px; object-fit: contain; background: #fafbfc; border-radius: 6px; pointer-events: none; }
.sp-val-name { font-size: 12px; line-height: 1.25; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.sp-val-img.active { background: #fff5ec; }
/* 图片模式规格（对照 SK修改前端.jpg）：组名在上方小写、只显示图片块（名称悬浮提示）、选中深色描边 */
.spec-picker-img .sp-group { display: block; padding: 4px 0; }
.spec-picker-img .sp-name { display: block; min-width: 0; padding-top: 0; margin-bottom: 10px; text-transform: lowercase; }
.spec-picker-img .sp-val-name { display: none; }
.spec-picker-img .sp-val-img { width: 86px; padding: 5px; border-width: 2px; border-radius: 10px; }
.spec-picker-img .sp-val-img img { width: 72px; height: 72px; }
.spec-picker-img .sp-val-img.active { border-color: #1f2937; background: #fff; }
/* 右侧信息区：Model 行 + 徽章（位于 color 区下方） */
.detail-meta { margin: 4px 0 14px; }
.detail-badges { margin-top: 2px; }
.detail-cta .product-cta { margin-left: 28px; }
.spec-price { font-size: 24px; font-weight: 800; color: var(--accent-d); }
.detail-cta { display: flex; align-items: flex-end; gap: 12px; margin-top: 20px; }
.detail-block { padding: 30px 16px 0; }
.detail-block h2 { color: var(--navy); margin-bottom: 14px; font-size: 20px; }
/* ---------- 详情下部两栏：左内容 + 右固定侧栏（Factory Video / Completed Orders） ---------- */
.detail-lower { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; padding-top: 30px; align-items: start; }
.detail-lower .detail-block { padding: 0; }
.detail-main { min-width: 0; }
.detail-main .detail-block + .detail-block { margin-top: 30px; }
.detail-side { position: sticky; top: 240px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.side-card h3 { color: var(--navy); font-size: 16px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.side-card video { width: 100%; aspect-ratio: 1 / 1; height: auto; max-height: none; object-fit: cover; border-radius: 8px; background: #000; display: block; }
.co-count { font-size: 12px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.co-scroll { max-height: 420px; overflow: hidden; }
.co-table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.co-table th, .co-table td { padding: 6px 6px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.co-table th { color: var(--muted); font-weight: 600; font-size: 11px; position: sticky; top: 0; background: var(--card); z-index: 1; }
.co-table tbody tr:last-child td { border-bottom: 0; }
.co-table td.amt { color: var(--accent-d); font-weight: 700; }
.co-tag { display: inline-block; padding: 1px 7px; border-radius: 999px; font-size: 10.5px; line-height: 1.6; }
.co-tag.paid, .co-tag.done { background: #e6f7ec; color: #1a7f4b; }
.co-tag.pending { background: #fff4e5; color: #b26a00; }
.co-tag.shipped { background: #e8f1fd; color: #1d5fbf; }
.co-tag.cancelled { background: #f3f4f6; color: #8a94a0; }
/* ---------- Product Detail 八行图片表：首行 = #8 白底图 + 产品描述，其后 #1–#7 各占一行（原图通栏） ---------- */
.pd-table { width: 100%; border-collapse: collapse; }
.pd-table td { padding: 0; vertical-align: top; }
.pd-table .pd-img img { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.pd-table tr + tr .pd-img img { margin-top: 14px; }
.pd-row-first { --gap: 16px; }
.pd-row-first .pd-img { width: 50%; }
.pd-row-first .pd-img img { height: auto; object-fit: contain; }
.pd-row-first .pd-desc { padding-left: var(--gap); }
.pd-richtext { height: 100%; }
@media (max-width: 1100px) {
  .detail-lower { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .detail-grid { grid-template-columns: minmax(0, 1fr) 1fr; gap: 20px; }
}
@media (max-width: 760px) {
  .pd-row-first .pd-img { width: 100%; }
  .pd-row-first .pd-desc { padding-left: 0; margin-top: 12px; }
}
/* ---------- 移动端隐藏 Product Detail 首行（#8 白底图 + 右侧产品描述） ----------
   红框区域 = .pd-row-first；PC / 平板横屏（>768px）保持正常显示。
   2026-11-07 需求：产品页在手机上不展示这一块，标题与 #1–#7 图片仍保留。 */
@media (max-width: 768px) {
  #product-detail .pd-row-first { display: none; }
}
.spec-pre { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13.5px; line-height: 1.8; white-space: pre-wrap; color: var(--text); }

/* ---------- 购物车 ---------- */
.cart-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-top: 24px; }
.cart-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cart-table tr { border-bottom: 1px solid var(--line); }
.cart-table tr:last-child { border-bottom: 0; }
.cart-table th { text-align: left; color: var(--muted); font-size: 12.5px; font-weight: 600; padding: 10px 8px; text-transform: uppercase; letter-spacing: .4px; }
.cart-table td { padding: 12px 8px; vertical-align: middle; }
.cart-prod { min-width: 280px; }
.cart-prod-link { display: flex; align-items: center; gap: 14px; min-width: 0; }
.cart-prod-link img { width: 86px; height: 86px; object-fit: contain; background: #fafbfc; border: 1px solid var(--line); border-radius: 10px; padding: 6px; flex: none; }
.cart-prod-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cart-prod-name { font-weight: 600; color: var(--navy); line-height: 1.35; }
.cart-prod-link:hover .cart-prod-name { color: var(--accent-d); }
.cart-prod-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.cart-model { font-size: 12px; color: var(--muted); letter-spacing: .3px; }
.cart-sku-name { font-size: 12px; color: var(--accent-d); font-weight: 600; }
.cart-noimg { width: 86px; height: 86px; display: inline-flex; align-items: center; justify-content: center; background: #fafbfc; border: 1px solid var(--line); border-radius: 10px; color: #b0bac6; font-size: 22px; flex: none; }
.cart-sku { width: 96px; text-align: center; vertical-align: middle; }
.cart-sku-thumb img { width: 64px; height: 64px; object-fit: contain; background: #fafbfc; border: 1px solid var(--line); border-radius: 8px; padding: 4px; }
.cart-sku-form { margin-top: 6px; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.cart-sku-label { display: flex; flex-direction: column; gap: 2px; }
.cart-sku-select { border: 1.5px solid var(--line); border-radius: 7px; padding: 6px 8px; font-size: 13px; background: #fff; }
.cart-unit, .cart-total { font-weight: 600; color: var(--navy); white-space: nowrap; }
.cart-qty-form input { width: 68px; border: 1.5px solid var(--line); border-radius: 7px; padding: 7px 8px; font-size: 14px; }
.cart-remove { text-align: right; }
.cart-footer { display: flex; flex-direction: column; align-items: stretch; gap: 14px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); flex-wrap: wrap; }
.cart-back-btn { align-self: center; }
.cart-grand-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 12px; flex-wrap: wrap; }
.cart-grand-right { display: flex; align-items: center; gap: 18px; }
.cart-order-no { font-size: 18px; font-weight: 600; color: var(--navy); }
.cart-order-no .mono { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .4px; font-weight: 700; font-size: 19px; }
.cart-grand-total { text-align: right; font-size: 15px; font-weight: 400; color: var(--navy); }
.cart-grand-total [data-total-product-price] { font-size: 19px; font-weight: 700; color: #e03131; }
.btn-link { border: 0; background: none; color: var(--navy); cursor: pointer; font-size: 14px; padding: 0; }
.btn-link.danger { color: #c92a2a; }
.btn-link.danger:hover { text-decoration: underline; }

/* ---------- 购物车：收货地址（会员信息，可编辑）---------- */
.cart-ship { margin-top: 18px; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.cart-ship-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.cart-ship-h { font-size: 15px; font-weight: 700; color: var(--navy); margin: 0; }
.cart-step-badge { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; line-height: 1; flex: none; margin-right: 8px; vertical-align: middle; }

/* ---------- 购物车：第3点 配送信息（分组卡片 + 横向等宽选项）---------- */
.cart-ship-info { margin-top: 22px; }
.cart-ship-prompt { margin: 16px 0 8px; font-size: 14px; color: var(--navy); }
.ship-opt-group { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.ship-opt-group.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cart-ship-submit { margin-top: 16px; display: flex; justify-content: flex-end; align-items: center; gap: 12px; flex-wrap: wrap; text-align: right; }
.cart-sync-form { margin-top: 0; text-align: right; }
/* 购物车页 Inquire：直接引用用户提供的 banner 整图（深黑胶囊 + 棕发深蓝西装动漫头像 + 白字 Inquire Now），原样显示不裁切（头像自身溢出图顶）*/
.inquire-banner-link {
  display: inline-block;
  line-height: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .28);
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.inquire-banner-link img {
  display: block;
  height: 56px;
  width: auto;
}
.inquire-banner-link:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0, 0, 0, .34); }
.cart-order-sent { display: flex; align-items: center; gap: 12px; text-align: left;
  background: #f0faf2; border: 1px solid #bfe3c8; border-radius: 10px; padding: 12px 16px; }
.cart-order-sent-icon { color: #2f9e44; font-size: 20px; line-height: 1; }
.cart-order-sent b { color: var(--navy); }
.cart-order-sent-sub { font-size: 13px; color: #6b7280; margin-top: 2px; }
.cart-order-sent .btn { margin-left: auto; }

/* ---------- 购物车：第4点 运费（提交订单后才显示，读取后台运费）---------- */
.cart-ship-fee { margin-top: 22px; }
.fee-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; margin-top: 8px; align-items: start; }
.fee-left { min-width: 0; }
/* 两个输入框：Shipping 较宽、Shipping insurance 较窄（按图） */
.fee-row { display: grid; grid-template-columns: 1.7fr 1fr; gap: 16px; }
.fee-field { display: flex; flex-direction: column; gap: 6px; }
.fee-label { font-size: 13px; font-weight: 600; color: var(--navy); }
.fee-input-wrap { position: relative; display: flex; align-items: center; }
.fee-usd {
  position: absolute; left: 1px; top: 1px; bottom: 1px;
  display: inline-flex; align-items: center; padding: 0 12px;
  background: #f1ede4; border-right: 1px solid var(--line);
  border-radius: 8px 0 0 8px; font-size: 13px; font-weight: 600; color: #7a6f5c;
  pointer-events: none;
}
.fee-input {
  width: 100%; box-sizing: border-box; padding: 10px 12px 10px 58px;
  border: 1px solid var(--line); border-radius: 8px; background: #faf8f3;
  font-size: 14px; color: var(--navy); letter-spacing: .3px;
}
.fee-input:focus { outline: none; border-color: var(--accent); }
.fee-input[readonly] { color: #5b5240; }

/* 价格汇总卡片（右侧，作为侧栏与第4点左栏同高对齐） */
.price-summary {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid #cfc8b8;
  border-radius: 10px; padding: 18px 20px;
}
.ps-title { margin: 0 0 4px; font-size: 16px; font-weight: 700; color: #1a1a1a; }
.ps-buyer-pays { margin: 0 0 12px; font-size: 13px; font-weight: 700; color: #1a1a1a; }
/* 每行标签左、金额右，行下加虚线（按图） */
.ps-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; padding: 9px 0; border-bottom: 1px dotted #d8d2c6; }
.ps-label { font-size: 13px; color: #555; }
.ps-value { font-size: 14px; font-weight: 600; color: #d23b2e; white-space: nowrap; }
.ps-total { border-bottom: none; margin-top: 4px; padding-top: 12px; }
.ps-total .ps-label { font-size: 15px; font-weight: 700; color: #1a1a1a; }
.ps-total .ps-value { font-size: 18px; font-weight: 800; color: #d23b2e; }
@media (max-width: 760px) { .fee-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .fee-row { grid-template-columns: 1fr; } }

/* ---------- 购物车：第5点 付款方式（银行电汇信息，按 PDF 排版）---------- */
.cart-pay { margin-top: 22px; }
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.pay-col { display: flex; flex-direction: column; gap: 20px; }
.pay-panel { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 18px 20px 20px; }
.pay-panel .cart-ship-prompt { margin-top: 8px; }
.pay-qr { margin-top: 14px; border: 1px dashed #d8d2c6; border-radius: 10px; background: #f6f4ef; min-height: 220px; display: flex; align-items: center; justify-content: center; padding: 14px; }
.pay-qr img { max-width: 100%; max-height: 320px; width: auto; height: auto; border-radius: 6px; display: block; }
.pay-qr .no-img { color: #9aa1ab; font-size: 14px; letter-spacing: 2px; }
.cart-proof { margin-top: 0; }
.cart-proof-prompt { color: #6b7280; font-size: 13px; line-height: 1.6; }
.proof-body { display: flex; gap: 18px; align-items: stretch; margin-top: 10px; }
.proof-preview { flex: 0 0 240px; height: 130px; min-height: 0; border: 1px dashed #d8d2c6; border-radius: 10px; background: #f6f4ef; display: flex; align-items: stretch; justify-content: center; padding: 12px; box-sizing: border-box; }
.proof-preview .no-img { color: #9aa1ab; font-size: 14px; letter-spacing: 2px; }
.proof-thumb { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #fff; text-decoration: none; }
.proof-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.proof-thumb.proof-file-thumb { font-size: 13px; color: #6b7280; padding: 8px; text-align: center; word-break: break-all; }
.proof-thumb { position: relative; }
.proof-del {
  position: absolute; top: 4px; right: 4px; z-index: 2;
  width: 20px; height: 20px; line-height: 18px; text-align: center;
  border-radius: 50%; background: rgba(214,40,40,.92); color: #fff;
  font-size: 15px; cursor: pointer; user-select: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.proof-del:hover { background: #c01b1b; }
.proof-upload { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; height: 130px; box-sizing: border-box; }
.proof-file-input { display: block; font-size: 13px; }
.proof-upload .btn { align-self: flex-start; }
@media (max-width: 640px) { .proof-body { flex-direction: column; } .proof-preview { flex: none; width: 100%; height: auto; } .proof-upload { height: auto; } }
.pay-card { margin-top: 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 4px 18px; }
.pay-row { display: flex; gap: 16px; padding: 11px 0; border-bottom: 1px solid #f0ece4; }
.pay-row:last-child { border-bottom: 0; }
.pay-key { flex: 0 0 200px; font-size: 13px; font-weight: 600; color: var(--navy); }
.pay-val { flex: 1; font-size: 14px; color: #2b2b2b; line-height: 1.5; }
.pay-acc { font-size: 16px; font-weight: 700; color: var(--accent-d); letter-spacing: .5px; }
.pay-mono { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; font-weight: 600; letter-spacing: .5px; }
.cur-chip { display: inline-block; margin: 0 6px 6px 0; padding: 3px 10px; background: #f1ede4; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 600; color: #6b5b3e; }
.pay-note { margin: 12px 0 0; font-size: 12.5px; color: #6b7280; line-height: 1.55; }
.pay-note-muted { color: #9aa1ab; }
@media (max-width: 760px) { .pay-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pay-row { flex-direction: column; gap: 4px; } .pay-key { flex: none; } }
.ship-opt { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-right: 1px solid var(--line); cursor: pointer; transition: background .15s; }
.ship-opt:last-child { border-right: 0; }
.ship-opt:hover { background: #fff7f0; }
.ship-opt-main { display: flex; align-items: center; gap: 8px; }
.ship-opt input { margin: 0; accent-color: var(--accent); }
.ship-opt-name { font-weight: 600; color: var(--navy); }
.ship-opt-note { padding-left: 22px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.cart-ship-update { flex: none; }
.cart-ship-grid { display: flex; flex-direction: column; gap: 12px; }
.cart-ship-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px 16px; }
.cart-ship-row2 { grid-template-columns: 1fr 5fr; }
.cart-ship-fld { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.cart-ship-big { min-width: 0; }
.cart-ship-lbl { font-size: 12px; color: var(--muted); letter-spacing: .01em; }
.cart-ship-input { width: 100%; padding: 8px 10px; font-size: 14px; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 8px; outline: none; transition: border-color .15s, box-shadow .15s; }
.cart-ship-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(201,98,47,.12); }
@media (max-width: 720px) {
  .cart-ship-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart-ship-row2 { grid-template-columns: 1fr; }
}

/* ---------- SKU 缩略图点击放大（lightbox）---------- */
.cart-sku-thumb img { cursor: zoom-in; }
.sku-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.78); display: none; align-items: center; justify-content: center; z-index: 9999; cursor: zoom-out; padding: 20px; }
.sku-lightbox.open { display: flex; }
.sku-lightbox img { max-width: 86vw; max-height: 86vh; width: auto; height: auto; object-fit: contain; background: #fff; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,.45); padding: 10px; }

/* ---------- 独立询盘页 ---------- */
.inq-layout { display: grid; grid-template-columns: 360px 1fr; gap: 26px; align-items: start; }
.inq-product { position: sticky; top: 120px; }
.inq-product-card { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; transition: .18s; }
.inq-product-card:hover { box-shadow: var(--shadow); border-color: #d4dce6; }
.inq-product-card img { width: 110px; height: 110px; object-fit: contain; background: #fafbfc; border-radius: 8px; padding: 6px; flex: none; }
.inq-product-card .img-empty { width: 110px; height: 110px; display: flex; align-items: center; justify-content: center; background: #fafbfc; border-radius: 8px; color: #b0bac6; font-size: 24px; flex: none; }
.inq-product-info h3 { font-size: 14.5px; color: var(--navy); line-height: 1.4; margin-bottom: 4px; }
.inq-cart-h { color: var(--navy); margin-bottom: 10px; }
.inq-cart-list { list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; max-height: 340px; overflow-y: auto; }
.inq-cart-list li { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 8px; }
.inq-cart-list li:hover { background: var(--bg); }
.inq-cart-list img { width: 52px; height: 52px; object-fit: contain; background: #fafbfc; border: 1px solid var(--line); border-radius: 7px; padding: 3px; flex: none; }
.inq-cart-name { min-width: 0; }
.inq-cart-name a { font-size: 13.5px; font-weight: 600; color: var(--navy); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inq-cart-name a:hover { color: var(--accent-d); }
.inq-cart-name .muted { font-size: 12.5px; }
.inq-cart-note { margin-top: 10px; font-size: 13px; }
.inq-main { min-width: 0; }
/* 无左侧产品/购物车卡片时（普通询盘）：表单单列居中，避免挤进 360px 窄列 */
.inq-solo { grid-template-columns: minmax(0, 720px); justify-content: center; }
.inq-lead { margin-bottom: 16px; font-size: 13.5px; }

/* ---------- 表单 ---------- */
.inq-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.inq-form h3 { color: var(--navy); margin-bottom: 14px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fgroup { margin-bottom: 14px; display: flex; flex-direction: column; }
.fgroup label { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
.fgroup input, .fgroup textarea, .fgroup select { border: 1.5px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 14px; font-family: inherit; outline: none; background: #fff; }
.fgroup input:focus, .fgroup textarea:focus { border-color: var(--accent); }
.fgroup .hint { margin-top: 5px; font-size: 12.5px; color: var(--muted); }

/* ---------- 登录 / 注册 / 找回密码 ---------- */
.auth-wrap { max-width: 520px; }
.auth-form { display: flex; flex-direction: column; }
.auth-form .btn { margin-top: 6px; }
.auth-note { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.auth-note strong { color: var(--navy); }
.auth-sub { margin: 18px 0 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.auth-alt { margin-top: 16px; font-size: 13.5px; color: var(--muted); text-align: center; }
.otp-code { letter-spacing: 8px; font-size: 22px !important; font-weight: 700; text-align: center; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; }
.otp-wait { color: var(--muted); font-style: italic; }
.otp-resend-form { display: none; }
.linklike { border: 0; background: none; padding: 0; color: var(--accent-d); font: inherit; cursor: pointer; text-decoration: underline; }
.linklike:hover { color: var(--accent); }

/* ---------- 关于 ---------- */
.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 34px; align-items: start; }
.about-text { max-width: 960px; }
.about-text h2 { color: var(--navy); margin-bottom: 14px; }
.about-text h3, .about-text h4 { color: var(--navy); margin: 0 0 12px; }
.about-text p { margin-bottom: 14px; color: #3d4a5a; }
.about-text ul, .about-text ol { margin: 0 0 14px 20px; color: #3d4a5a; }
.about-text img { max-width: 100%; height: auto; border-radius: 8px; margin: 6px 0; }
.about-text a { color: var(--accent); }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
/* 数据块移到正文下方、What We Do 上方，一行四列排列 */
.about-facts-row { grid-template-columns: repeat(4, 1fr); margin-top: 26px; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }
/* 用类名而非 b/span 标签选择器：避免命中 lead 内部的 span，保留后台设置的内联颜色 */
.fact-lead { display: block; font-size: 22px; color: var(--accent-d); margin-bottom: 4px; }
.fact-lead > * { font-size: inherit; }
.fact-text { display: block; font-size: 12.5px; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature-ic { display: block; font-size: 30px; margin-bottom: 10px; }
.feature-ic .ic { width: 30px; height: 30px; color: var(--navy); }
.feature-title { font-size: 16px; color: var(--navy); margin-bottom: 8px; }
.feature-title > * { font-size: inherit; }
.feature-text { font-size: 13.5px; color: var(--muted); }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 30px; align-items: start; }
.contact-info h2 { color: var(--navy); margin-bottom: 10px; }
.contact-info > p { color: var(--muted); margin-bottom: 16px; }
.contact-list { list-style: none; }
.contact-list li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.contact-list span:first-child { width: 150px; flex-shrink: 0; color: var(--muted); }
.contact-list a:hover { color: var(--accent); }
.contact-note { margin-top: 14px; background: #fffaf5; border: 1px solid #ffe8cc; border-radius: 8px; padding: 12px 14px; font-size: 13.5px; }
.contact-form { margin-top: 0; }

/* ---------- CTA ---------- */
.cta-band { background: linear-gradient(120deg, var(--accent), #ff922b); color: #fff; padding: 36px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-in h2 { font-size: 24px; margin-bottom: 6px; }
.cta-in p { opacity: .92; max-width: 560px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy); color: #b9c6d6; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 30px; padding: 40px 16px 30px; }
.site-footer h4 { color: #fff; font-size: 17px; margin-bottom: 12px; }
.site-footer h5 { color: #fff; font-size: 14px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .5px; }
.site-footer p, .site-footer a { font-size: 13.5px; line-height: 1.9; display: block; }
.site-footer a:hover { color: #ffb367; }
.footer-note { color: #8fa1b5; font-size: 12.5px; margin-top: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 14px 0; font-size: 12.5px; color: #8fa1b5; }
.admin-link { float: right; opacity: .6; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .hero-in { flex-direction: column; }
  .hero-imgs { width: 100%; justify-content: center; }
  .detail-grid, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .about-facts-row { grid-template-columns: 1fr 1fr; }
  .list-layout { grid-template-columns: 1fr; }
  .list-layout .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .acct-center { grid-template-columns: 1fr !important; }
  .filter-box { order: -1; position: static; top: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-in { gap: 12px; }
  .logo-mark { height: 64px; max-width: 150px; }
  .company-name { font-size: 16px; white-space: normal; }
  .company-cats { white-space: normal; }
  .nav-toggle { display: block; }
  .nav-in { display: none; flex-direction: column; }
  body.nav-open .nav-in { display: flex; }
  .nav-search { margin: 8px 12px 12px; max-width: none; }
  .header-in > a.nav-inquiry { margin-left: 0; padding: 9px 16px 9px 58px; font-size: 13px; line-height: 16px; }
  .nav-inquiry-avatar { width: 56px; height: 55px; left: 6px; top: -13px; clip-path: inset(0 0 11px 0); }
  .frow { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  /* 详情页缩略图：手机上改为主图在上、缩略图横向滚动带 */
  .detail-gallery:has(.thumbs-col) { grid-template-columns: 1fr; }
  .thumbs-col { flex-direction: row; max-height: none; overflow-x: auto; overflow-y: hidden; gap: 6px; margin-bottom: 12px; -webkit-overflow-scrolling: touch; }
  .thumbs-col img { width: 64px; height: 64px; margin-bottom: 0; flex: 0 0 auto; }
}

/* ---------- 移动端（≤640px）头部收紧，避免窄屏一行拥挤溢出 ---------- */
@media (max-width: 640px) {
  .company-cats, .company-contacts { display: none; }
  .company-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 18px; }
  .header-in { gap: 10px; padding: 8px 12px; }
  .logo-mark { height: 52px; max-width: 116px; }
  .header-in > a.nav-inquiry { padding: 8px 14px 8px 50px; font-size: 12px; line-height: 15px; margin-left: auto; }
  .nav-inquiry-avatar { width: 46px; height: 45px; left: 5px; top: -10px; }
  .nav-toggle { padding: 6px 11px; font-size: 20px; align-self: center; }
  .nav-in > a, .nav-drop > a { padding: 14px 20px; font-size: 16px; }
}

/* ---------- 内联 SVG 图标（icon() helper） ---------- */
.ic { width: 1em; height: 1em; vertical-align: -0.125em; flex: none; }
.topbar .ic { vertical-align: -0.15em; color: #ffb367; }
.contact-list .ic, .footer-grid .ic { color: var(--accent); }

/* ================= 导航：两级分类下拉 ================= */
.nav-drop-toggle { display: flex; align-items: center; gap: 5px; }
.nav-drop-toggle .ic { width: 14px; height: 14px; transition: transform .2s; }
.nav-drop:hover .nav-drop-toggle .ic { transform: rotate(180deg); }
.drop-cat { min-width: 300px; max-height: 70vh; overflow-y: auto; padding: 8px 0; }
.drop-cat-all { display: block; font-weight: 700; color: var(--navy); }
.drop-cat-all:hover { color: var(--accent); }
.drop-l1 { border-bottom: 1px solid var(--line); padding: 4px 0; }
.drop-l1:last-child { border-bottom: 0; }
.drop-l1-link { display: block; font-weight: 700; font-size: 14.5px; color: var(--navy); }
.drop-l1-link .cnt, .drop-l2 a .cnt { color: var(--muted); font-weight: 400; font-size: 12px; }
.drop-l1-link:hover { color: var(--accent); }
.drop-l1-link.active { color: var(--accent); }
.drop-l2 a { display: block; padding: 6px 16px 6px 30px !important; font-size: 13.5px; color: var(--muted); }
.drop-l2 a:hover { color: var(--accent); }

/* ================= 通用面板 / 工具类 ================= */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 22px; }
.panel h2 { font-size: 19px; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; color: var(--navy); }
.panel h3 { font-size: 16px; margin: 0 0 14px; color: var(--navy); }
.menu-content { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 22px; }
.menu-content .richtext-body { border: 0; padding: 0; margin: 0; background: transparent; border-radius: 0; }
.menu-content-empty { padding: 6px 0; }
.menu-content-section { padding-bottom: 12px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 14px; font-weight: 700; flex: none; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.form-grid label, .block-label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text); }
.form-grid input, .form-grid select, .block-label input, .block-label textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; background: #fff; }
.form-grid input:focus, .form-grid select:focus, .block-label input:focus, .block-label textarea:focus { outline: none; border-color: var(--accent); }
.block-label { margin-top: 14px; }
.block-label textarea { resize: vertical; }
.kv { display: grid; grid-template-columns: 110px 1fr; gap: 8px 14px; margin: 0; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--text); word-break: break-word; }
.side-panel { margin-bottom: 20px; }

/* ================= 结算页 ================= */
.checkout-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.checkout-side { position: sticky; top: 16px; }
.sum-list { list-style: none; margin: 0 0 14px; padding: 0; max-height: 260px; overflow-y: auto; }
.sum-list li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.sum-list .sum-name { color: var(--text); }
.sum-list .sum-name small { color: var(--muted); margin-left: 4px; }
.sum-list .sum-spec { display: block; color: var(--accent-d); margin: 2px 0 0; font-size: 12px; }
.sum-list .sum-amt { color: var(--navy); font-weight: 600; white-space: nowrap; }
.sum-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14.5px; }
.sum-row b { color: var(--navy); }
.sum-grand { border-top: 2px solid var(--navy); margin-top: 6px; padding-top: 12px; font-size: 17px; font-weight: 700; }
.sum-grand b { color: var(--accent); font-size: 19px; }
.ship-estimate { border: 1px solid var(--line); border-radius: 10px; padding: 6px 18px; margin-bottom: 10px; }
.se-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.se-row:last-child { border-bottom: 0; }
.se-row b { color: var(--navy); }
.se-total { font-weight: 700; }
.se-total b { color: var(--accent); font-size: 17px; }
.ship-note { font-size: 13px; margin: 0; }
.account-pick { display: grid; gap: 10px; margin: 14px 0; }
.account-opt { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; cursor: pointer; transition: border-color .15s; }
.account-opt:has(input:checked) { border-color: var(--accent); background: #fff8f2; }
.account-opt input { width: 18px; height: 18px; accent-color: var(--accent); }
.account-opt span { display: flex; flex-direction: column; }
.account-opt small { color: var(--muted); }
.checkout-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 8px; }

/* ================= 订单状态徽章 ================= */
.order-status-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.status-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.st-pending_payment { background: #fff3e6; color: #b45309; }
.st-paid { background: #ecfdf5; color: #047857; }
.st-shipped { background: #eff6ff; color: #1d4ed8; }
.st-completed { background: #f1f5f9; color: #334155; }
.st-cancelled { background: #fef2f2; color: #b91c1c; }
.ps-unpaid { background: #fef2f2; color: #b91c1c; }
.ps-proof_submitted { background: #fff3e6; color: #b45309; }
.ps-paid { background: #ecfdf5; color: #047857; }
.iq-0 { background: #fff3e6; color: #b45309; }
.iq-1 { background: #eff6ff; color: #1d4ed8; }
.iq-2 { background: #ecfdf5; color: #047857; }
.iq-3 { background: #f1f5f9; color: #64748b; }
.inq-no { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13.5px; color: var(--navy); font-weight: 600; }

/* ================= 订单详情 ================= */
.order-layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.order-main .order-totals { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 6px; max-width: 480px; margin-left: auto; }
.pay-panel { border-left: 3px solid var(--accent); }
.pay-note { background: #fff8f2; border: 1px solid #ffe0c7; border-radius: 8px; padding: 10px 12px; font-size: 13px; color: #b45309; }
.pay-note-rt > p { margin: 0 0 6px; }
.pay-note-rt > p:last-child { margin-bottom: 0; }
.pay-note-rt ul, .pay-note-rt ol { margin: 0 0 6px 20px; }
.pay-note-rt img { max-width: 100%; border-radius: 6px; }
.order-spec { display: block; color: var(--accent-d); font-size: 12px; margin-top: 2px; }
.proof-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.proof-item { margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fafbfc; }
.proof-item img { width: 100%; height: 120px; object-fit: cover; display: block; }
.proof-item figcaption { font-size: 12px; color: var(--muted); padding: 6px 8px; }
.proof-pdf { display: flex; align-items: center; justify-content: center; height: 120px; color: var(--muted); font-size: 14px; gap: 6px; }
.proof-list { list-style: none; margin: 0 0 12px; padding: 0; }
.proof-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.proof-upload { display: grid; gap: 10px; }
.proof-upload input[type=text] { padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.proof-upload input[type=file] { font-size: 13.5px; }
.ok-note { display: flex; align-items: center; gap: 8px; color: #047857; font-weight: 600; }
.order-totals .sum-row b { color: var(--navy); }
.order-totals .sum-grand b { color: var(--accent); }

/* ================= 我的订单列表 ================= */
.orders-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.orders-table th { text-align: left; padding: 12px 14px; background: #f8fafc; color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .3px; }
.orders-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); }
.orders-table tr:hover td { background: #fafbfc; }
.orders-table td.muted, .orders-table th { white-space: nowrap; }
.acct-main .orders-table { font-size: 13px; }
.acct-main .orders-table td, .acct-main .orders-table th { padding-left: 6px; padding-right: 6px; }
.acct-main .orders-table td.mono { font-size: 12px; }
.acct-main .orders-table .status-badge { white-space: nowrap; }

/* ================= 我的咨询列表 ================= */
.inq-list { display: grid; gap: 14px; }
.inq-row { display: block; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.inq-row:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.inq-row-top { display: flex; align-items: center; gap: 12px; }
.inq-date { margin-left: auto; font-size: 13px; }
.inq-row-sub { margin-top: 8px; font-size: 15px; }
.inq-row-sub .muted { font-size: 13.5px; }
.inq-row-foot { margin-top: 8px; font-size: 13px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.inq-row-body { flex: 1; min-width: 0; }
.inq-prod-thumb-wrap { display: block; }
.inq-prod-thumb-wrap:hover .inq-prod-thumb { border-color: var(--accent); }
.inq-row-open { margin-left: auto; color: var(--accent); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 3px; }
.inq-row-open:hover { text-decoration: underline; }

/* ================= 咨询会话（聊天） ================= */
.chat-wrap { padding: 0; overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 22px; border-bottom: 1px solid var(--line); background: #f8fafc; font-weight: 600; color: var(--navy); }
.chat-log { max-height: 56vh; overflow-y: auto; padding: 22px; background: #f6f8fa; display: flex; flex-direction: column; gap: 16px; }
.chat-empty { text-align: center; padding: 20px; }
.chat-msg { display: flex; flex-direction: column; max-width: 72%; }
.chat-buyer { align-self: flex-end; align-items: flex-end; }
.chat-admin { align-self: flex-start; align-items: flex-start; }
.chat-bubble { padding: 11px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.55; word-break: break-word; }
.chat-bubble p { margin: 0 0 6px; }
.chat-bubble p:last-child { margin-bottom: 0; }
.chat-buyer .chat-bubble { background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.chat-admin .chat-bubble { background: #fff; color: var(--text); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-rt > p { margin: 0 0 6px; }
.chat-rt > p:last-child { margin-bottom: 0; }
.chat-rt ul, .chat-rt ol { margin: 0 0 6px 20px; }
.chat-rt img { max-width: 100%; border-radius: 6px; }
.chat-rt a { color: var(--accent-d); }
.chat-att { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 13px; font-weight: 600; }
.chat-buyer .chat-att { color: #ffd8b8; }
.chat-admin .chat-att { color: var(--accent); }
.chat-meta { font-size: 11.5px; color: var(--muted); margin-top: 5px; padding: 0 4px; }
.chat-form { padding: 18px 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.chat-form textarea { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 14.5px; resize: vertical; }
.chat-form-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.chat-att-label { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; cursor: pointer; min-width: 0; }
.chat-att-label:empty { display: none; }
.chat-closed { padding: 16px 22px; border-top: 1px solid var(--line); background: #f8fafc; }

/* 聊天气泡内：自动识别的网址链接（新窗口打开） */
.chat-bubble a { color: var(--accent); text-decoration: underline; word-break: break-word; font-weight: 600; }
.chat-buyer .chat-bubble a { color: #ffe0c2; }
.chat-bubble a:hover { opacity: .82; }

/* 附件图片（气泡内显示，点击新窗口打开） */
.chat-img-link { display: block; margin-top: 8px; }
.chat-img { display: block; max-width: 240px; max-height: 220px; width: auto; height: auto; border-radius: 10px; cursor: zoom-in; border: 1px solid rgba(0,0,0,.08); }
.chat-video { display: block; max-width: 260px; max-height: 240px; width: auto; height: auto; border-radius: 10px; margin-top: 8px; background: #000; }
.chat-file { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--accent); text-decoration: none; word-break: break-word; }
.chat-buyer .chat-file { color: #ffe0c2; }
.chat-file:hover { opacity: .85; }
.chat-file-ic { font-size: 15px; }
.chat-file-ext { opacity: .7; font-weight: 500; }
.chat-att-thumb-video { height: 40px; max-width: 60px; border-radius: 8px; border: 1px solid var(--line); display: block; background: #000; }
.chat-att-file { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; color: var(--muted); padding: 4px 7px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }

/* 输入区：图片上传按钮 + 预览 */
.chat-input-row { display: flex; align-items: flex-end; gap: 8px; }
.chat-input-row textarea { flex: 1 1 auto; }
.chat-img-btn { flex: 0 0 auto; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--muted); transition: border-color .15s, color .15s; }
.chat-img-btn:hover { border-color: var(--accent); color: var(--accent); }
.chat-img-btn svg { width: 20px; height: 20px; }
.chat-att-hint { align-self: center; flex: 0 0 auto; font-size: 12.5px; color: var(--muted); white-space: nowrap; user-select: none; pointer-events: none; }
@media (max-width: 520px) { .chat-att-hint { display: none; } }
.chat-att-thumb { position: relative; display: inline-flex; }
.chat-att-thumb img { height: 38px; width: 38px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); display: block; }
.chat-att-rm { position: absolute; top: -7px; right: -7px; width: 18px; height: 18px; border-radius: 50%; background: #e23b3b; color: #fff; border: 2px solid #fff; cursor: pointer; font-size: 12px; line-height: 1; padding: 0; display: flex; align-items: center; justify-content: center; }

/* 上传进度气泡（Send 后即时显示在聊天框内） */
.chat-uploading { display: flex; align-items: center; gap: 8px; min-width: 170px; max-width: 320px; }
.chat-upload-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; color: var(--muted); }
.chat-progress { flex: 1 1 auto; height: 7px; background: rgba(0,0,0,.10); border-radius: 99px; overflow: hidden; min-width: 90px; }
.chat-progress-bar { height: 100%; width: 0%; background: var(--accent); border-radius: 99px; transition: width .15s ease; }
.chat-progress-pct { font-size: 12px; color: var(--muted); min-width: 34px; text-align: right; font-variant-numeric: tabular-nums; }
.chat-upload-err { color: #c0392b; font-size: 13px; }
.chat-att-warn { color: #c0392b; font-size: 12.5px; line-height: 1.4; max-width: 260px; }
.chat-video-tip { font-size: 12.5px; color: var(--muted); padding: 8px 10px; background: rgba(0,0,0,.04); border-radius: 8px; margin-bottom: 6px; }

/* ================= 在线询盘 / 实时聊天（新布局） ================= */
.live-wrap { display: grid; grid-template-columns: 360px 1fr; gap: 26px; align-items: start; }
.live-left { padding: 22px; }
.live-profile-btn { width: 100%; margin-bottom: 18px; font-size: 15px; }
.live-left .fgroup { margin-bottom: 12px; }
.live-left .fgroup input[disabled] { background: #f3f5f8; color: var(--muted); }
.live-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.live-btns .btn { width: 100%; }
.live-update { width: 100%; margin-top: 4px; }
.live-right { min-width: 0; }
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; align-self: flex-end; flex: none; }

/* 未登录：聊天区灰色、不可用 */
.chat-disabled { position: relative; }
.chat-disabled .chat-log,
.chat-disabled .chat-form { filter: grayscale(1); opacity: .55; pointer-events: none; user-select: none; }
.chat-lock-overlay {
  position: absolute; inset: 0; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  background: rgba(246,248,250,.6); backdrop-filter: blur(1px);
  border-radius: var(--radius);
}
.chat-lock-inner { text-align: center; max-width: 280px; color: var(--navy); padding: 16px; }
.chat-lock-inner strong { display: block; font-size: 16px; margin-bottom: 6px; }
.chat-lock-inner span { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

@media (max-width: 860px) {
  .live-wrap { grid-template-columns: 1fr; }
}

/* ---------- 顶栏登录信息 ---------- */
.topbar-user { color: #ffd8b8; font-weight: 600; margin-right: 4px; }
.topbar-user-link { color: #fff; }
.topbar-user-link:hover { text-decoration: underline; }

/* ---------- 首页产品分类目录（插槽①下方，图标可后台上传） ---------- */
.cat-dir { padding: 40px 0 8px; }
.cat-dir-head { text-align: center; margin-bottom: 24px; }
.cat-dir-head h2 { font-size: 26px; color: var(--navy); }
.cat-dir-head p { color: var(--muted); margin-top: 6px; }
.cat-dir-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-dir-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px 22px; text-align: center; transition: .18s; display: flex; flex-direction: column; align-items: center; }
.cat-dir-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-3px); }
.cat-dir-ico { width: 64px; height: 64px; border-radius: 14px; background: #fff3e6; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; overflow: hidden; flex: none; }
.cat-dir-ico svg { width: 34px; height: 34px; color: var(--accent-d); }
.cat-dir-ico img { width: 100%; height: 100%; object-fit: contain; }
.cat-dir-card h3 { font-size: 16.5px; color: var(--navy); margin-bottom: 4px; }
.cat-dir-cnt { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.cat-dir-all { color: var(--accent); font-weight: 600; font-size: 13.5px; display: inline-flex; align-items: center; gap: 4px; }
.cat-dir-card:hover .cat-dir-all { text-decoration: underline; }

/* ---------- 产品详情：视频/图片 切换 ---------- */
.gal-toggle { position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; z-index: 6; }
.gal-tab { border: 1px solid var(--line); background: rgba(255,255,255,.95); color: var(--navy); font-size: 12.5px; font-weight: 600; padding: 5px 13px; border-radius: 999px; cursor: pointer; box-shadow: var(--shadow); display: inline-flex; align-items: center; gap: 5px; }
.gal-tab.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.main-img { position: relative; }
/* 有视频时：视频盖住产品图片，位于主图区 */
.has-video .prod-video { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; border: 0; border-radius: var(--radius); z-index: 3; object-fit: contain; background: #0b141d; }
.has-video.gal-showing-images .prod-video { display: none; }
.has-video:not(.gal-showing-images) .img-stage { visibility: hidden; }
.has-video .thumbs-col { opacity: .55; }
.has-video.gal-showing-images .thumbs-col { opacity: 1; }
/* 无产品图片时视频正常占位（非覆盖） */
.main-img.no-imgs .prod-video { position: static; width: 100%; max-height: 420px; }
.main-img.no-imgs .img-empty.big { display: none; }

/* ---------- 询盘产品缩略图 ---------- */
.inq-prod { display: flex; align-items: center; gap: 10px; }
.inq-prod-thumb { width: 46px; height: 46px; border-radius: 8px; border: 1px solid var(--line); object-fit: contain; background: #fafbfc; flex: none; }
.inq-prod-name { color: var(--navy); font-weight: 600; font-size: 13.5px; line-height: 1.35; display: block; }
.inq-prod-name:hover { color: var(--accent); text-decoration: underline; }

/* ---------- 买家个人中心（3栏：菜单 / 主区 / 侧栏） ---------- */
.acct-center { display: grid; grid-template-columns: 280px minmax(0,1fr) 280px; gap: 20px; padding-top: 24px; align-items: start; }
.acct-left { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.acct-menu { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.acct-menu-head { padding: 14px 16px; font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--line); background: #f8fafc; font-size: 14px; }
.acct-menu a { display: flex; align-items: center; gap: 9px; padding: 11px 16px; font-size: 14px; color: var(--text); border-bottom: 1px solid #f0f3f7; }
.acct-menu a:last-child { border-bottom: 0; }
.acct-menu a:hover { background: #fff7ef; color: var(--accent-d); }
.acct-menu a.active { background: #fff3e6; color: var(--accent-d); font-weight: 700; }
.acct-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.acct-side { display: flex; flex-direction: column; gap: 22px; }
.acct-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.acct-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 18px; border-bottom: 1px solid var(--line); background: #f8fafc; }
.acct-panel-head h3 { font-size: 15px; color: var(--navy); }
.acct-panel-head a { font-size: 13px; color: var(--accent); font-weight: 600; }
.acct-panel-body { padding: 18px; }
/* 个人信息卡 */
.acct-profile { display: flex; gap: 16px; align-items: flex-start; }
.acct-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800; flex: none; }
.acct-profile-info { flex: 1; min-width: 0; }
.acct-profile-info h2 { font-size: 20px; color: var(--navy); margin-bottom: 3px; }
.acct-profile-sub { color: var(--muted); font-size: 13.5px; margin-bottom: 10px; }
.acct-stats { display: flex; gap: 26px; flex-wrap: wrap; }
.acct-stats b { font-size: 20px; color: var(--navy); display: block; }
.acct-stats span { font-size: 12px; color: var(--muted); }
.acct-kv { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 20px; margin-top: 14px; font-size: 13.5px; }
.acct-kv .k { color: var(--muted); margin-right: 6px; }
/* 顶部个人横幅（原“My Account”标题位置） */
.acct-head { padding: 14px 0 18px; }
.acct-hero { display: flex; align-items: center; gap: 16px; }
.acct-avatar-lg { width: 58px; height: 58px; font-size: 24px; }
.acct-hero-id { flex: 1; min-width: 0; }
.page-head .acct-hero-name { font-size: 21px; line-height: 1.25; color: var(--navy); margin: 0 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 姓名行：右侧并排「Sign Out」 */
.acct-hero-line { display: flex; align-items: center; gap: 20px; margin-bottom: 4px; }
.acct-hero-line .acct-hero-name { margin: 0; flex: 0 1 auto; min-width: 0; }
.acct-hero-out { display: inline-flex; align-items: center; gap: 7px; flex: none; font-size: 14px; font-weight: 600; color: #5b6b7d; white-space: nowrap; transition: .15s; }
.acct-hero-out .ic { width: 15px; height: 15px; color: #8b98a8; }
.acct-hero-out:hover { color: var(--accent-d); }
.acct-hero-out:hover .ic { color: var(--accent-d); }
.acct-hero .acct-profile-sub { margin: 0; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-stats-dots { display: flex; gap: 24px; flex-wrap: nowrap; margin-left: auto; flex: none; }
.acct-stats-dots > div { text-align: center; }
.acct-stats-dots b {
  width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; margin: 0 auto 6px; line-height: 1;
}
.acct-stats-dots span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.acct-kv-top { margin-top: 0; }
/* 我的资料：与询盘页左侧「My Profile」一致的可编辑表单 */
.acct-pf .live-profile-btn { margin-bottom: 18px; font-size: 15px; }
.acct-pf .fgroup { margin-bottom: 12px; }
.acct-pf .fgroup input[disabled] { background: #f3f5f8; color: var(--muted); }
.acct-pf .fgroup label small { font-weight: 400; color: var(--muted); }
.acct-pf .live-update { width: 100%; margin-top: 6px; }
.acct-pass { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.acct-pass summary { cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--accent-d); list-style: none; user-select: none; }
.acct-pass summary::-webkit-details-marker { display: none; }
.acct-pass summary::before { content: "＋ "; font-weight: 700; }
.acct-pass[open] summary::before { content: "－ "; }
.acct-pass-form { margin-top: 14px; }
/* 侧栏小卡（收藏夹/浏览记录） */
.acct-mini-list { display: flex; flex-direction: column; gap: 12px; }
.acct-mini-item { display: flex; gap: 10px; align-items: center; }
.acct-mini-item img { width: 52px; height: 52px; border-radius: 8px; border: 1px solid var(--line); object-fit: contain; background: #fafbfc; flex: none; }
.acct-mini-item .nm { font-size: 13px; color: var(--navy); font-weight: 600; line-height: 1.35; display: block; }
.acct-mini-item .nm:hover { color: var(--accent); }
.acct-mini-item .tm { font-size: 11.5px; color: var(--muted); display: block; margin-top: 2px; }
.acct-mini-empty { text-align: center; color: var(--muted); font-size: 13px; padding: 14px 8px; }

/* ================= 个人中心：订单手风琴卡片 ================= */
.ord-list { display: grid; gap: 12px; }
.ord-card { border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.ord-head { display: flex; align-items: center; gap: 10px; padding: 12px 13px; cursor: pointer; list-style: none; background: #f8fafc; user-select: none; }
.ord-head::-webkit-details-marker { display: none; }
.ord-card[open] .ord-head { background: #fff; border-bottom: 1px solid var(--line); }
.ord-num {
  width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  flex: none; line-height: 1;
}
.ord-thumb {
  width: 54px; height: 54px; flex: none; border: 1px solid var(--line); border-radius: 8px;
  background: #fafbfc; overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.ord-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ord-head-main { flex: 1; min-width: 0; }
.ord-no {
  display: block; font-size: 13px; font-weight: 800; color: var(--navy); letter-spacing: .01em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; word-break: break-all;
}
.ord-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin-top: 6px; }
.ord-meta .status-badge { padding: 2px 9px; font-size: 11.5px; line-height: 1.5; }
.ord-date { font-size: 11.5px; color: var(--muted); }
.ord-total { margin-left: auto; font-size: 16px; font-weight: 800; color: #f03e3e; white-space: nowrap; flex: none; line-height: 1.2; }
.ord-chev { flex: none; color: #9aa7b5; transition: transform .2s; }
.ord-chev .ic { width: 15px; height: 15px; }
.ord-card[open] .ord-chev { transform: rotate(180deg); }

.ord-body { padding: 2px 13px 13px; }
.ord-item { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px dashed #e6eaef; }
.ord-item:last-child { border-bottom: 0; padding-bottom: 6px; }
.ord-item img { width: 62px; height: 62px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fafbfc; flex: none; }
.ord-item-main { flex: 1; min-width: 0; }
.ord-item-top { display: flex; gap: 10px; align-items: flex-start; }
.ord-item-name { flex: 1; font-size: 12.5px; font-weight: 600; color: var(--navy); line-height: 1.45; }
.ord-item-sum { flex: none; font-size: 13px; font-weight: 700; color: #3b4a5a; white-space: nowrap; }
.ord-item-spec { font-size: 11px; color: var(--muted); margin-top: 4px; }
.ord-item-spec b { font-weight: 600; color: #8a94a0; }
.ord-item-color { color: var(--accent-d); }
.ord-item-price { font-size: 11px; color: #5a6b80; margin-top: 5px; letter-spacing: .02em; }

.ord-sums { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px 20px; padding: 10px 0 0; font-size: 12px; color: #5a6b80; }
.ord-sums b { color: var(--navy); font-weight: 700; }

.ord-proofs { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed #e6eaef; }
.ord-proof { margin: 0; width: 148px; }
.ord-proof > a { display: block; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #f3f4f6; }
.ord-proof img { display: block; width: 100%; height: 170px; object-fit: contain; background: #f3f4f6; }
.ord-proof .proof-pdf { height: 170px; }
.ord-proof figcaption { font-size: 11px; color: #5a6b80; margin-top: 6px; line-height: 1.5; white-space: pre-line; }
.ord-empty { font-size: 11.5px; color: var(--muted); padding: 10px 0 2px; }

/* ================= 响应式 ================= */
@media (max-width: 900px) {
  .checkout-layout, .order-layout { grid-template-columns: 1fr; }
  .checkout-side, .order-side { position: static; }
  .form-grid { grid-template-columns: 1fr; }
  .chat-msg { max-width: 90%; }
  .cat-dir-grid { grid-template-columns: repeat(2, 1fr); }
  .acct-center { grid-template-columns: 1fr; }
  .acct-hero { flex-wrap: wrap; row-gap: 12px; }
  .acct-stats-dots { width: 100%; margin-left: 0; gap: 18px 22px; justify-content: flex-start; flex-wrap: wrap; }
}

/* ================= 新版首页（hp-*） ================= */
/* —— 第一行：产品分类卡片 —— */
.hp-cats { background: #fff; padding: 34px 0 30px; }
.hp-cats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.hp-cat-card { text-align: center; }
.hp-cat-img { display: block; overflow: hidden; background: #f2f4f7; }
.hp-cat-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .25s; }
.hp-cat-card:hover .hp-cat-img img { transform: scale(1.04); }
.hp-cat-noimg { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16 / 10; color: #b6bfca; font-size: 13px; letter-spacing: .08em; }
.hp-cat-name { font-size: 17px; font-weight: 700; color: #111; margin: 14px 0 12px; }
.hp-shopnow { display: inline-block; border: 1px solid #111; color: #111; background: #fff; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; padding: 8px 26px; transition: .18s; }
.hp-shopnow:hover { background: #111; color: #fff; }

/* —— 第二行：左文字 + 右视频 —— */
.hp-intro { background: #fff; padding: 30px 0 44px; }
.hp-intro-in { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: center; }
.hp-intro-title { font-size: 30px; font-weight: 800; line-height: 1.25; color: #111; letter-spacing: -.01em; }
.hp-intro-desc { margin-top: 18px; font-size: 13px; font-weight: 400; color: #555; line-height: 1.75; max-width: 420px; }
.hp-intro-video video { width: 100%; display: block; background: #000; }

/* —— 第三~五行：分类 + 首页显示产品 —— */
.hp-sec { background: #fff; padding: 26px 0; }
.hp-sec + .hp-sec { border-top: 1px solid #f0f2f5; }
.hp-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.hp-sec-title { font-size: 26px; font-weight: 800; color: #111; letter-spacing: -.01em; }
.hp-sec-desc { margin-top: 6px; font-size: 12.5px; color: #666; line-height: 1.6; }
.hp-viewmore { flex: none; border: 1px solid #d5d5d5; border-radius: 999px; background: #fff; color: #111; font-size: 12px; font-weight: 600; padding: 7px 18px; transition: .18s; }
.hp-viewmore:hover { border-color: #111; background: #111; color: #fff; }
.hp-sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* —— 第六/七行：直销商品（图 + 文，hp-duo-rev 反转） —— */
.hp-duo { background: #fff; padding: 30px 0; }
.hp-duo + .hp-duo { border-top: 1px solid #f0f2f5; }
.hp-duo-in { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.hp-duo-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; }
.hp-duo-title { font-size: 24px; font-weight: 800; color: #111; letter-spacing: -.01em; }
.hp-duo-desc { margin-top: 12px; font-size: 13px; font-weight: 300; color: #555; line-height: 1.75; max-width: 460px; }
.hp-btn { display: inline-block; margin-top: 20px; background: #f5a623; color: #fff; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; padding: 11px 28px; border-radius: 3px; transition: .18s; }
.hp-btn:hover { background: #e0920f; color: #fff; }

/* —— 第八行：生产视频（悬停播放） —— */
.hp-videos { background: #fff; padding: 30px 0; border-top: 1px solid #f0f2f5; }
.hp-videos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.hp-video-wrap { background: #000; }
.hp-video { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.hp-video-title { margin-top: 14px; font-size: 14.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #111; }
.hp-video-desc { margin-top: 8px; font-size: 12.5px; color: #555; line-height: 1.7; }

/* —— 第九行：公司图片 / 样品间图片 —— */
.hp-samples { background: #fff; padding: 30px 0; border-top: 1px solid #f0f2f5; }
.hp-samples-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.hp-sample-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hp-sample-img { background: #f2f4f7; }
.hp-sample-title { margin-top: 14px; font-size: 14.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #111; }
.hp-sample-desc { margin-top: 8px; font-size: 12.5px; color: #555; line-height: 1.7; }

/* —— 第十行：公司简介富文本 —— */
.hp-richtext { background: #fff; padding: 30px 0 40px; border-top: 1px solid #f0f2f5; }
.hp-richtext-body { font-size: 12.5px; color: #555; line-height: 1.85; text-align: justify; }
.hp-richtext-body p { margin: 0 0 10px; }
.hp-richtext-body img { margin: 10px 0; }
.hp-richtext-body h1, .hp-richtext-body h2, .hp-richtext-body h3 { color: #111; font-size: 15px; margin: 14px 0 8px; }

@media (max-width: 900px) {
  .hp-cats-grid, .hp-sec-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-intro-in, .hp-duo-in, .hp-videos-grid, .hp-samples-grid { grid-template-columns: 1fr; }
  .hp-duo-rev .hp-duo-img { order: -1; }
  .hp-intro-title { font-size: 24px; }
}

/* ================= 产品询盘媒体条（页面第一行） ================= */
.pd-head { padding: 14px 0 18px; }
.pd-strip { display: flex; align-items: stretch; gap: 22px; flex-wrap: wrap; }
.pd-strip-video {
  flex: 0 0 520px; width: 520px; height: 300px;
  background: #0b1219; border-radius: var(--radius);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
/* 无视频：该位置留空（斜纹占位，版面高度与有视频一致） */
.pd-strip-video-empty {
  background: repeating-linear-gradient(45deg, #eef1f5, #eef1f5 10px, #e6eaf0 10px, #e6eaf0 20px);
  border: 1px dashed var(--line);
}
.pd-strip-vid { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
/* 右侧栏：产品图在上，数量框沉底（底部与视频对齐） */
.pd-strip-right { display: flex; flex-direction: column; flex: 1 1 360px; min-width: 0; }
.pd-strip-thumbs { display: flex; gap: 14px; flex: 0 0 auto; }
.pd-strip-thumb {
  position: relative; width: 176px; height: 176px;
  border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; background: #fff; display: block; transition: border-color .15s;
}
.pd-strip-thumb:hover { border-color: var(--accent); }
.pd-strip-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-strip-no {
  position: absolute; left: 6px; top: 6px;
  background: rgba(20, 33, 46, .78); color: #fff;
  font-size: 13px; font-weight: 700; line-height: 1.5;
  padding: 2px 8px; border-radius: 99px;
}
/* 缺图：该格留空 */
.pd-strip-thumb-empty {
  background: repeating-linear-gradient(45deg, #f1f3f6, #f1f3f6 8px, #e8ebf0 8px, #e8ebf0 16px);
  border-style: dashed;
}
.pd-strip-qty { flex: 0 0 auto; margin-top: auto; max-width: 360px; }
.pd-strip-qty label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 7px; }
.pd-strip-qty-row { display: flex; gap: 8px; }
.pd-strip-qty-row input {
  flex: 1 1 auto; width: 100%; min-width: 0; padding: 9px 12px;
  border: 1px solid var(--line); border-radius: 8px; font-size: 14px; background: #fff;
}
.pd-strip-qty-row input:focus { outline: none; border-color: var(--accent); }
.pd-strip-send { flex: 0 0 auto; white-space: nowrap; }

@media (max-width: 980px) {
  .pd-strip-video { flex: 1 1 100%; width: 100%; height: 300px; }
  .pd-strip-right { flex: 1 1 100%; }
  .pd-strip-thumbs { flex: 1 1 100%; }
  .pd-strip-thumb { flex: 1 1 0; width: auto; }
  .pd-strip-qty { max-width: none; }
}

/* 购物车清单消息（缩略图 + 单价 × 数量 + 总价） */
.inq-cart-sum { width: 100%; }
.inq-cart-sum small { opacity: .85; }

/* 产品询盘卡片（缩略图 + 标题 + 型号 + 价格） */
.inq-prod-sum { width: 100%; }

/* ================= 移动端重构（2026-11-03）：手机端独立布局，不再只是桌面缩放 =================
   同一套内容/模板，窄屏下按手机重新排版：页头精简、分类筛选可折叠、
   详情页信息清晰堆叠、全局底部 Inquire 栏。非 m 站、纯响应式。 */
/* 折叠触发器默认隐藏（桌面/平板不显示），仅手机显示 */
.filter-toggle-cb { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.filter-toggle-btn { display: none; }

/* 平板：详情页单列，避免 901–1100px 两栏挤压 */
@media (max-width: 1100px) {
  .detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  /* 给底部固定栏让位 */
  body { padding-bottom: 66px; }

  /* 页头：仅留 Logo + 汉堡；站内询盘胶囊交给底部栏，避免一行拥挤 */
  .header-in > a.nav-inquiry { display: none; }
  .header-in { gap: 8px; padding: 8px 12px; }
  .logo-mark { height: 46px; max-width: 92px; }
  .company-name { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nav-toggle { margin-left: auto; padding: 7px 12px; font-size: 20px; align-self: center; }
  .topbar-in { font-size: 11px; gap: 4px; padding: 5px 12px; }

  /* 产品列表：分类筛选改为可折叠抽屉（默认收起，点 Categories 展开） */
  .filter-toggle-btn {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    width: 100%; margin-bottom: 12px; padding: 11px;
    border: 1.5px solid var(--navy); border-radius: 10px; background: #fff;
    color: var(--navy); font-size: 14px; font-weight: 700; cursor: pointer;
  }
  .filter-toggle-btn .caret { transition: transform .2s; }
  .list-layout .filter-box {
    display: none; order: 0; position: static; top: auto; height: auto; margin-bottom: 14px;
  }
  .filter-toggle-cb:checked ~ .filter-box { display: block; }
  .filter-toggle-cb:checked ~ .filter-toggle-btn .caret { transform: rotate(180deg); }
  .filter-box a { padding: 10px 12px; font-size: 14.5px; }

  /* 产品详情：信息区清晰堆叠 */
  .detail-cta { flex-direction: column; gap: 14px; align-items: stretch; }
  .detail-cta .product-cta { margin-left: 0; width: 100%; }
  .detail-cta .product-cta img { height: 58px; width: auto; }
  .cart-add-lg { width: 100%; }
  .cart-add-lg input { flex: 1; }
  .detail-title-row h1 { font-size: 20px; }

  /* 右侧“Completed Orders”宽表手机上横向滚动，不溢出 */
  .co-scroll { max-height: none; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
  .co-table { min-width: 600px; }

  /* 首页模块间距收紧 */
  .hp-cats, .hp-intro, .hp-sec, .hp-duo, .hp-videos, .hp-samples, .hp-richtext { padding-top: 22px; padding-bottom: 22px; }
  .hp-sec-grid { gap: 12px; }
  .hp-cats-grid { gap: 14px; }

  /* 面包屑：手机上超长产品名单独成行并省略号截断，避免一行被拉爆 */
  .page-head { padding: 12px 0; }
  .crumbs { display: flex; flex-wrap: wrap; align-items: center; row-gap: 2px; column-gap: 4px; font-size: 12px; line-height: 1.45; }
  .crumbs > span:last-child { flex: 1 1 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  /* 长英文产品描述/富文本换行更稳，防止溢出 */
  .pd-richtext, .richtext-body { overflow-wrap: break-word; word-break: break-word; }
}

/* 全局底部固定栏：Menu + Inquiry（仅手机显示） */
.m-botbar { display: none; }
@media (max-width: 640px) {
  .m-botbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    display: flex; gap: 10px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97); backdrop-filter: blur(6px);
    border-top: 1px solid var(--line); box-shadow: 0 -2px 14px rgba(20,33,46,.14);
  }
  .m-botbar .mb-menu {
    flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    border: 1.5px solid var(--navy); color: var(--navy); background: #fff;
    border-radius: 10px; padding: 12px 18px; font-size: 14px; font-weight: 700;
  }
  .m-botbar .mb-inquire {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    background: var(--accent); color: #fff; border: 0; border-radius: 10px;
    padding: 12px; font-size: 15px; font-weight: 800; text-decoration: none;
  }
  .m-botbar .mb-inquire:active { background: var(--accent-d); }
}
.inq-prod-sum small { opacity: .85; }

/* ================= 移动端首页「图 + 文」排版收紧（2026-11-07） =================
   参考京东移动端商品卡：图片为主体、文字紧凑统一、同一行卡片的按钮/价格底部对齐。
   只作用于窄屏；PC（>900px，四列分类卡）完全不受影响。 */

/* ① 两列布局下统一结构：卡片等高、标题固定高度、按钮/价格沉底 —— 标题换行不再顶歪同行卡片 */
@media (max-width: 900px) {
  .hp-cat-card { display: flex; flex-direction: column; }
  .hp-cat-name { flex: 0 0 auto; }
  .hp-shopnow { margin-top: auto; align-self: center; white-space: nowrap; }
  .hp-sec-grid .prod-info { flex: 1; display: flex; flex-direction: column; }
  .hp-sec-grid .prod-price { margin-top: auto; }
}

/* ② 手机端（≤640px）字号与间距整体收紧，做出电商商品卡的信息密度 */
@media (max-width: 640px) {
  /* —— 分类卡片：标题统一占 2 行高、单行不省略、按钮通栏且同一水平线 —— */
  .hp-cats-grid { gap: 10px; }
  .hp-cat-name {
    font-size: 13px; line-height: 1.35; font-weight: 700;
    margin: 8px 0 9px;
    height: 2.7em;                 /* 固定两行高度，长短标题都不影响按钮位置 */
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
    overflow: hidden; word-break: break-word;
  }
  .hp-shopnow {
    display: block; width: 100%; padding: 7px 4px;
    font-size: 10.5px; letter-spacing: .08em; text-align: center;
  }

  /* —— 首页各级标题 / 说明文字：整体缩小一档，图与文搭配更紧凑 —— */
  .hp-intro-title { font-size: 19px; line-height: 1.3; }
  .hp-intro-desc  { font-size: 12px; line-height: 1.7; margin-top: 10px; }
  .hp-sec-head    { margin-bottom: 12px; gap: 10px; }
  .hp-sec-title   { font-size: 18px; }
  .hp-sec-desc    { font-size: 11.5px; line-height: 1.55; margin-top: 4px; }
  .hp-viewmore    { font-size: 11px; padding: 5px 12px; }
  .hp-duo-title   { font-size: 18px; }
  .hp-duo-desc    { font-size: 12px; line-height: 1.7; margin-top: 8px; }
  .hp-btn         { font-size: 10.5px; padding: 9px 18px; margin-top: 12px; }
  .hp-video-title, .hp-sample-title { font-size: 13px; margin-top: 8px; }
  .hp-sample-desc { font-size: 11.5px; line-height: 1.6; margin-top: 5px; }
  .hp-richtext-body { font-size: 12px; }

  /* —— 首页商品卡：2 行标题截断 + 价格沉底，同一行卡片底部对齐 —— */
  .hp-sec-grid { gap: 10px; }
  .hp-sec-grid .prod-img img { height: auto; padding: 0; }
  .hp-sec-grid .prod-img .card-video { height: 100%; }
  .hp-sec-grid .img-empty { height: 132px; }
  .hp-sec-grid .prod-info { padding: 8px 9px 10px; }
  .hp-sec-grid .prod-info h3 {
    font-size: 12px; line-height: 1.4; min-height: 0; height: 2.8em;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
    overflow: hidden; word-break: break-word;
  }
  .hp-sec-grid .prod-info .model { font-size: 10.5px; }
  .hp-sec-grid .prod-price { font-size: 14px; padding-top: 6px; }
  .hp-sec-grid .prod-price .per { font-size: 10px; }
  .hp-sec-grid .prod-moq { font-size: 10.5px; }
  .hp-sec-grid .badge { font-size: 9px; padding: 2px 6px; top: 6px; left: 6px; }
}

/* ============================================================
   移动端产品详情：标题完整显示但更紧凑；阶梯价所有档位排成一行
   仅 ≤900px 生效，PC 端版式与字号完全不变
   ============================================================ */
@media (max-width: 900px) {
  /* 标题：字号降一档、行距收紧，但不裁剪、不省略 —— 长标题依旧完整显示 */
  .detail-title-row { gap: 8px; align-items: flex-start; }
  .detail-title-row h1 {
    font-size: 16px; font-weight: 600; line-height: 1.4; letter-spacing: 0;
    margin-bottom: 0; display: block; overflow: visible; white-space: normal;
    word-break: break-word; -webkit-line-clamp: unset;
  }
  .fav-inline { margin-top: 0; }
  .fav-inline .fav-btn { width: 34px; height: 34px; font-size: 16px; }

  /* 价格盒：内边距收紧，给一行三档腾出宽度 */
  .price-box { padding: 12px; margin: 12px 0; }

  /* 阶梯价：所有档位强制同一行等宽排列（含规格动态生成的档位） */
  .tier-cards { display: flex; flex-wrap: nowrap; align-items: stretch; gap: 8px; }
  .tier-card {
    flex: 1 1 0; min-width: 0; text-align: center;
    background: #fff; border: 1px solid #ffe8cc; border-radius: 8px;
    padding: 9px 4px 10px;
  }
  .tier-price .cur { font-size: 13px; }
  .tier-price .int { font-size: 21px; letter-spacing: -.3px; }
  .tier-price .dec { font-size: 11px; vertical-align: 7px; }
  .tier-range {
    font-size: 11px; line-height: 1.3; margin-top: 6px;
    white-space: normal; word-break: break-word;
  }
  .price-big { font-size: 20px; }
  .price-note { font-size: 11.5px; line-height: 1.55; margin-top: 10px; }
}

@media (max-width: 390px) {
  .detail-title-row h1 { font-size: 15px; }
  .tier-card { padding: 8px 2px 9px; }
  .tier-price .int { font-size: 19px; }
  .tier-range { font-size: 10px; }
}

/* ================================================================
   移动端全站商品卡统一收紧（2026-11-07）
   覆盖：产品列表页 / 分类页 / 搜索结果 / 产品详情页「Related Products」「You Might Like」/ 轮播卡片
   原问题：标题 14.5px 占 7~9 行、价格被挤成两行、"Add to cart" 文字竖排成三行、
          同行卡片的价格与按钮错位。按京东商品卡处理：图为主体、标题固定 4 行、
          价格强制一行、按钮通栏沉底、同行卡片底部齐平。
   首页 .hp-sec-grid 已有更高优先级的专属规则，保持不变。
   ================================================================ */
@media (max-width: 900px) {
  /* 结构：卡片等高、标题固定行数、按钮沉底 */
  .prod-card .prod-info,
  .car-card .prod-info { flex: 1; display: flex; flex-direction: column; }
  .prod-info { padding: 9px 10px 11px; }
  .prod-info h3 {
    font-size: 12px; line-height: 1.35; font-weight: 600;
    min-height: 0; height: 5.4em;                  /* 固定 4 行，长短标题都同高 */
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4;
    overflow: hidden; word-break: break-word;
  }
  .prod-info .model { font-size: 10.5px; }

  /* 价格与 / piece 强制同一行，不再掉字 */
  .prod-price {
    font-size: 13px; margin-top: 6px; letter-spacing: -.2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .prod-price .per { font-size: 9.5px; }
  .prod-moq { font-size: 10.5px; margin-top: 2px; }

  /* 按钮改通栏纵排，避免 "Add to cart" 被挤成竖排文字 */
  .prod-actions { flex-direction: column; gap: 6px; margin-top: auto; padding-top: 8px; }
  .prod-actions .cart-add { width: 100%; flex: none; }
  .prod-actions .btn { width: 100%; font-size: 10.5px; padding: 7px 6px; white-space: nowrap; }

  .prod-img img { height: auto; padding: 0; }
  .prod-img .card-video { height: 100%; }
  .list-layout .prod-grid { gap: 10px; }
  .like-grid { gap: 10px; }
  .car-card { flex-basis: 150px; }
  .car-card .prod-img img { height: 120px; padding: 8px; }

  /* 内页标题统一收一档，与紧凑商品卡协调（PC 端不变） */
  .page-head h1 { font-size: 22px; }
  .page-head h1 small { font-size: 13px; }
  .detail-block h2 { font-size: 17px; margin-bottom: 10px; }
  .oem-svc-title { font-size: 17px; }
  .oem-proc-title { font-size: 16px; }
  .toolbar-sort label, .toolbar-sort select { font-size: 13px; }
}

@media (max-width: 390px) {
  .prod-info h3 { font-size: 11.5px; }
  .prod-price { font-size: 12px; }
  .prod-price .per { font-size: 9px; }
  .car-card { flex-basis: 140px; }
}

/* ================= Blog / News ================= */
.blog-sub { color: var(--muted); font-size: 14px; margin-top: 6px; }
.blog-meta { color: var(--muted); font-size: 13px; margin-top: 6px; display: flex; align-items: center; gap: 14px; }
.blog-meta time { display: inline-flex; align-items: center; gap: 4px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.blog-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .18s ease, transform .18s ease; }
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.blog-card-media { aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.blog-card-img { width: 100%; height: 100%; object-fit: cover; }
.blog-cover-blank { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: rgba(255,255,255,.55); font-size: 20px; font-weight: 700; letter-spacing: 3px; }
.blog-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.blog-card-date { color: var(--muted); font-size: 12.5px; margin-bottom: 6px; }
.blog-card-body h3 { font-size: 16.5px; line-height: 1.4; color: var(--navy); }
.blog-card-body p { color: var(--muted); font-size: 13.5px; margin-top: 8px; line-height: 1.55; }
.blog-card-more { margin-top: auto; padding-top: 14px; color: var(--accent); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 3px; }
.blog-empty { text-align: center; padding: 46px 20px; }
.blog-article { max-width: 860px; margin-left: auto; margin-right: auto; font-size: 15.5px; line-height: 1.8; }
.blog-cover { margin-bottom: 18px; }
.blog-cover-img { width: 100%; border-radius: 8px; }
.blog-backwrap { max-width: 860px; margin: 0 auto 26px; }
.blog-back { color: var(--accent); font-weight: 600; font-size: 14px; }
.blog-back:hover { text-decoration: underline; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }

/* Blog 永久置顶卡片 */
.blog-card-pinned { border-color: var(--accent); box-shadow: 0 2px 12px rgba(247,103,7,.14); }
.blog-card-media { position: relative; }
.blog-pin-badge { position: absolute; top: 10px; left: 10px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; letter-spacing: .3px; }

/* 产品页：隐藏 Model/库存信息行，购买按钮组上移（2026-11-22） */
.detail-info .detail-meta { display: none; }
.detail-info .detail-cta { margin-top: 12px; }

/* ---------- 属性单元格底色（2026-11-22）：左列属性名加浅灰底，值列留白 ---------- */
.spec-grid .spec-item { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 0; padding: 0; align-items: stretch; }
.spec-grid .spec-item .spec-k { width: auto; background: #f6f7f9; border-right: 1px solid var(--line); padding: 9px 14px; display: flex; align-items: center; color: #4a5568; }
.spec-grid .spec-item .spec-cell { padding: 9px 14px; background: #fff; }
@media (max-width: 760px) { .spec-grid .spec-item { grid-template-columns: 132px minmax(0, 1fr); } }
