/* ==========================================================================
   VOCarbon — Enterprise Site Design System
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --red:        #C8102E;
  --red-dark:   #A30C24;
  --red-soft:   #FBEEF0;
  --ink:        #16181D;
  --ink-2:      #3D4148;
  --muted:      #69707C;
  --line:       #E3E5EA;
  --line-soft:  #EEF0F3;
  --bg:         #FFFFFF;
  --bg-soft:    #F5F6F8;
  --bg-dark:    #1C1E24;
  --focus:      #0B5CAD;
  --radius:     10px;
  --radius-sm:  6px;
  --shadow-1:   0 1px 2px rgba(18,20,24,.06);
  --shadow-2:   0 10px 30px rgba(18,20,24,.10);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", "PingFang SC",
          "Microsoft YaHei", sans-serif;
  --container: 1280px;
}

/* ---------- 2. Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3, h4, h5 { margin: 0 0 .5em; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
h1 { font-size: 34px; } h2 { font-size: 26px; } h3 { font-size: 18px; } h4 { font-size: 16px; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--red); color: #fff; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- 3. Buttons & Chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-size: 14.5px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: #000; color: #fff; }
.btn-light { background: #fff; color: var(--red); border-color: #fff; }
.btn-light:hover { background: var(--red-soft); color: var(--red-dark); }
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: var(--radius); }
.btn-block { width: 100%; }
.btn svg { flex: 0 0 auto; }

.chip {
  display: inline-block; padding: 3px 10px; border: 1px solid var(--line);
  border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  background: var(--bg-soft); margin: 0 6px 6px 0;
}
a.chip:hover { border-color: var(--red); color: var(--red); background: var(--red-soft); }

/* ---------- 4. Header ---------- */
.topbar { background: var(--bg-dark); color: #C9CCD4; font-size: 12.5px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; min-height: 34px; gap: 16px; }
.topbar a { color: #E6E8EC; }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.topbar-dot { opacity: .4; }

.header-main { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 30; }
.header-in { display: flex; align-items: center; gap: 24px; padding: 14px 20px; }

.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 10px; background: var(--red);
  display: flex; align-items: center; justify-content: center; color: #fff; flex: 0 0 auto;
  box-shadow: 0 2px 6px rgba(200,16,46,.28);
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 21px; letter-spacing: .02em; }
.brand-text small { font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: .04em; }
.brand:hover { color: inherit; }

.header-search { flex: 1 1 auto; max-width: 560px; margin: 0 auto; position: relative; }
.header-search input, .hero-search input, .filter-bar input {
  width: 100%; padding: 11px 118px 11px 42px; border: 2px solid var(--line);
  border-radius: var(--radius); font: inherit; font-size: 14.5px; color: var(--ink);
  background: var(--bg-soft); transition: border-color .15s ease, background .15s ease;
}
.header-search input:focus, .hero-search input:focus, .filter-bar input:focus {
  outline: none; border-color: var(--red); background: #fff;
}
.header-search .search-ico, .hero-search .search-ico {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--muted); pointer-events: none;
}
.header-search button, .hero-search button {
  position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
  border: 0; border-radius: var(--radius-sm); background: var(--red); color: #fff;
  font: inherit; font-size: 14px; font-weight: 600; padding: 8px 16px; cursor: pointer;
  transition: background .15s ease;
}
.header-search button:hover, .hero-search button:hover { background: var(--red-dark); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.header-phone { display: flex; flex-direction: column; text-align: right; line-height: 1.25; margin-right: 4px; }
.header-phone small { font-size: 11px; color: var(--muted); }
.header-phone strong { font-size: 15px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.nav-in { display: flex; align-items: stretch; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav-in::-webkit-scrollbar { display: none; }
.nav-link {
  padding: 12px 14px; font-size: 14px; font-weight: 600; color: var(--ink-2);
  border-bottom: 2px solid transparent; white-space: nowrap; transition: color .15s ease, border-color .15s ease;
}
.nav-link:hover { color: var(--red); }
.nav-link.active { color: var(--red); border-bottom-color: var(--red); }

/* ---------- 5. Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 400px at 85% -10%, #FBEEF0 0%, transparent 60%),
    linear-gradient(180deg, #FBFBFC 0%, #F1F2F5 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero-copy { max-width: 620px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px;
}
.hero-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.hero-title { font-size: clamp(30px, 3.2vw, 42px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); margin: 0 0 18px; }
.hero-title .accent { color: var(--red); }
.hero-sub { font-size: 16.5px; color: var(--ink-2); line-height: 1.65; max-width: 560px; margin: 0 0 28px; }
.hero-search { position: relative; max-width: 560px; margin-bottom: 22px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-media { position: relative; }
.hero-media-frame {
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff;
  box-shadow: var(--shadow-2); aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
}
.hero-media-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-media-svg { width: 100%; height: 100%; padding: 0; }

.hero-chip {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow-2); padding: 10px 14px; display: flex; flex-direction: column; line-height: 1.2;
}
.hero-chip strong { font-size: 18px; color: var(--red); }
.hero-chip span { font-size: 11.5px; color: var(--muted); }
.hero-chip-c1 { top: -14px; left: -10px; }
.hero-chip-c2 { bottom: -14px; right: -6px; }

/* ---------- 6. Stats ---------- */
.stats { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 20px; }
.stat { padding: 22px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat:last-child { padding-right: 0; }
.stat strong { font-size: 30px; font-weight: 800; color: var(--red); letter-spacing: -.02em; line-height: 1.1; }
.stat span { font-size: 13px; color: var(--muted); font-weight: 500; margin-top: 4px; }

/* ---------- 7. Sections ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin-bottom: 4px; }
.section-desc { color: var(--muted); margin: 0; max-width: 640px; }
.section-more { font-size: 14px; font-weight: 700; white-space: nowrap; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.section-more:hover { color: var(--red-dark); }

/* ---------- 8. Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px;
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.cat-card:hover { border-color: var(--red); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.cat-card::before { content: ""; position: absolute; top: 0; left: 20px; right: 20px; height: 3px; background: var(--red); border-radius: 0 0 4px 4px; opacity: 0; transition: opacity .15s ease; }
.cat-card:hover::before { opacity: 1; }
.cat-icon { width: 42px; height: 42px; border-radius: var(--radius-sm); background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.cat-icon svg { width: 22px; height: 22px; }
.cat-card h3 { font-size: 17px; margin-bottom: 0; }
.cat-card p { font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.cat-meta { font-size: 12px; color: var(--muted); }
.cat-link { margin-top: auto; font-size: 13.5px; font-weight: 700; color: var(--red); }
.cat-card:hover .cat-link { color: var(--red-dark); }

/* ---------- 9. Spec table ---------- */
.spec-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.spec-row {
  display: grid; grid-template-columns: 72px minmax(150px, 1.5fr) 120px 130px 150px minmax(100px, 1fr) 28px;
  align-items: center; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line-soft);
  transition: background .12s ease;
}
.spec-row:first-child { border-top: 0; }
a.spec-row:hover { background: var(--red-soft); }
a.spec-row:hover .sc-name { color: var(--red-dark); }
.spec-head { background: var(--bg-soft); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sc-img { width: 60px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; }
.sc-img img { width: 100%; height: 100%; object-fit: cover; }
.sc-img .noimg { font-size: 11px; color: #B9BEC6; }
.sc-name { font-weight: 600; font-size: 14.5px; }
.sc-sku { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sc-mat, .sc-dim, .sc-app { font-size: 13px; color: var(--ink-2); }
.sc-arrow { color: var(--red); font-weight: 700; text-align: center; }

/* ---------- 10. Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.product-card:hover { border-color: var(--red); box-shadow: var(--shadow-2); }
.pc-img { aspect-ratio: 4 / 3; border-bottom: 1px solid var(--line-soft); background: var(--bg-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; }
.pc-noimg { font-size: 12.5px; color: #B9BEC6; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.pc-body { padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pc-sku { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--red); }
.pc-body h3 {
  font-size: 15.5px; margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.pc-body p { font-size: 13px; color: var(--muted); margin: 0; flex: 1; }
.pc-link { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--red); }

@media (max-width: 1200px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 11. Applications ---------- */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.app-card { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.app-card:hover { border-color: var(--red); box-shadow: var(--shadow-2); }
.app-num { font-size: 12px; font-weight: 800; color: #C9CDD4; letter-spacing: .08em; }
.app-card h3 { font-size: 17px; margin: 0; }
.app-card p { font-size: 13.5px; color: var(--muted); margin: 0; flex: 1; }
.app-link { font-size: 13.5px; font-weight: 700; color: var(--red); }

/* ---------- 12. Value ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; background: #fff; }
.value-num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 800; font-size: 14px; margin-bottom: 12px; }
.value-item h4 { margin-bottom: 6px; }
.value-item p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- 13. News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.news-card time { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.news-card h3 { font-size: 16.5px; margin: 0; }
.news-card p { font-size: 13.5px; color: var(--muted); margin: 0; flex: 1; }
.news-link { font-size: 13.5px; font-weight: 700; color: var(--red); }

/* ---------- 14. CTA band ---------- */
.cta-band { background: var(--red); color: #fff; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 44px 20px; flex-wrap: wrap; }
.cta-in h2 { margin: 0 0 6px; color: #fff; font-size: 26px; }
.cta-in p { margin: 0; color: #FBDCE1; max-width: 620px; }

/* ---------- 15. Footer ---------- */
.site-footer { background: var(--bg-dark); color: #B9BDC7; font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; padding: 48px 20px 36px; }
.footer-col h4 { color: #fff; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: #B9BDC7; font-size: 13.5px; }
.footer-col a:hover { color: #fff; }
.footer-col span { color: #9AA0AC; font-size: 13.5px; }
.footer-bottom { border-top: 1px solid #34373F; }
.footer-bottom-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; flex-wrap: wrap; color: #8B909C; font-size: 12.5px; }
.footer-bottom a { color: #C4C8D1; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 16. Breadcrumb ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 20px 0 0; font-size: 13px; color: var(--muted); line-height: 1.4; }
.breadcrumb a { color: var(--muted); font-weight: 500; white-space: nowrap; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { color: #C3C7CE; margin: 0 2px; }
.breadcrumb .current { color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 480px; }

/* ---------- 17. Listing layout ---------- */
.layout { display: grid; grid-template-columns: 250px 1fr; gap: 34px; padding-top: 26px; align-items: start; }
.sidebar { position: sticky; top: 66px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.sidebar-title { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 16px 18px 12px; border-bottom: 1px solid var(--line-soft); margin: 0; }
.cat-tree { list-style: none; padding: 8px 0; }
.cat-tree a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 18px; font-size: 14px; font-weight: 500; color: var(--ink-2); border-left: 3px solid transparent; transition: background .12s ease, color .12s ease; }
.cat-tree a:hover { background: var(--bg-soft); color: var(--red); }
.cat-tree a.active { background: var(--red-soft); color: var(--red-dark); border-left-color: var(--red); font-weight: 700; }
.cat-tree .count { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cat-tree a.active .count { color: var(--red); }
.cat-tree-name { flex: 1; }

.list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.list-head h1 { margin: 0; font-size: 28px; }
.list-count { color: var(--muted); font-size: 14px; margin: 0; }

.filter-bar { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; align-items: center; }
.filter-bar input { flex: 1 1 220px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font: inherit; font-size: 14px; }
.filter-bar select { padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font: inherit; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.filter-bar .btn { padding: 10px 18px; }

.pagination { display: flex; align-items: center; gap: 6px; margin-top: 26px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; padding: 0 10px; }
.pagination a:hover { border-color: var(--red); color: var(--red); }
.pagination .current { background: var(--red); border-color: var(--red); color: #fff; }
.pagination .gap { border: 0; }

.empty-msg { text-align: center; padding: 60px 24px; background: var(--bg-soft); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-msg svg { color: var(--muted); margin: 0 auto 16px; }
.empty-msg h3 { font-size: 18px; margin-bottom: 8px; color: var(--ink); }
.empty-msg p { color: var(--muted); margin-bottom: 20px; }
.empty-msg a { color: var(--red); font-weight: 600; }

/* ---------- 18. Product detail ---------- */
.pd-layout { display: grid; grid-template-columns: minmax(320px, 460px) 1fr; gap: 40px; padding-top: 26px; align-items: start; }
.pd-media { position: sticky; top: 70px; }
.pd-media-box {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
  min-height: 380px; max-height: 520px; padding: 16px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.pd-media-box img, .pd-media-box .main-img {
  width: 100%; height: 100%; max-height: 480px;
  object-fit: contain;
  display: block;
}
.pd-noimg { color: #B9BEC6; font-size: 14px; }
.pd-zoom-btn {
  position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border: 0; border-radius: 999px;
  background: rgba(22,24,29,.72); color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .15s ease, transform .15s ease;
}
.pd-zoom-btn:hover { background: var(--red); transform: scale(1.06); }
.pd-zoom-btn svg { width: 18px; height: 18px; }
.pd-media .btn { margin-bottom: 10px; }
.pd-help { border: 1px dashed var(--line); border-radius: var(--radius); padding: 14px 16px; font-size: 13px; color: var(--muted); background: var(--bg-soft); }
.pd-help a { color: var(--red); font-weight: 700; }

.pd-info h1 { font-size: 30px; margin-bottom: 8px; }
.pd-sku { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 15px; color: var(--ink-2); margin-bottom: 12px; }
.pd-sku strong { color: var(--ink); }
.sku-copy {
  display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); background: var(--bg-soft);
  border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 600; color: var(--muted); cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.sku-copy:hover { border-color: var(--red); color: var(--red); background: var(--red-soft); }
.sku-copy.copied { border-color: #1E9E5A; color: #1E9E5A; background: #EAF7F0; }
.pd-summary { font-size: 15.5px; color: var(--ink-2); margin-bottom: 20px; }

.spec-mini { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); border-collapse: separate; border-spacing: 0; overflow: hidden; margin-bottom: 20px; font-size: 14px; }
.spec-mini th, .spec-mini td { padding: 10px 14px; border-top: 1px solid var(--line-soft); text-align: left; }
.spec-mini tr:first-child th, .spec-mini tr:first-child td { border-top: 0; }
.spec-mini th { background: var(--bg-soft); width: 38%; color: var(--muted); font-weight: 600; font-size: 13px; }
.spec-mini td { color: var(--ink); }

.pd-models { margin-bottom: 22px; }
.pd-models-label { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.pd-perks { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line); }
.pd-perk { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); line-height: 1.2; }
.pd-perk svg { width: 15px !important; height: 15px !important; max-width: 15px; max-height: 15px; flex: 0 0 15px; color: var(--red); display: inline-block; vertical-align: middle; }

/* Lightbox：默认隐藏，防止空图显示 */
.pd-lightbox {
  position: fixed !important;
  inset: 0 !important;
  z-index: 90 !important;
  background: rgba(10,12,16,.78) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transition: opacity .2s ease, visibility .2s ease;
}
.pd-lightbox.open {
  opacity: 1 !important;
  pointer-events: auto !important;
  visibility: visible !important;
}
.pd-lightbox img {
  max-width: 92vw !important;
  max-height: 86vh !important;
  border-radius: 10px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.45) !important;
}
.pd-lightbox-close {
  position: absolute; top: 18px; right: 22px; background: rgba(255,255,255,.14); color: #fff; border: 0;
  width: 40px; height: 40px; border-radius: 999px; font-size: 20px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .15s ease;
}
.pd-lightbox-close:hover { background: var(--red); }

.pd-section { margin-top: 46px; border-top: 1px solid var(--line); padding-top: 36px; }
.pd-section-title { font-size: 22px; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.pd-section-title::before { content: ""; width: 6px; height: 24px; background: var(--red); border-radius: 3px; }

.specs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.specs-item { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; background: #fff; }
.specs-key { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.specs-val { font-size: 14.5px; color: var(--ink); font-weight: 600; }
.specs { font-size: 14.5px; color: var(--ink-2); white-space: pre-line; }
.specs-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs-table th, .specs-table td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.specs-table th { background: var(--bg-soft); font-weight: 700; }

.content { font-size: 15px; color: var(--ink-2); }
.content h3, .content h4 { margin-top: 1.2em; }
.content ul { padding-left: 20px; margin-bottom: 1em; }
.content li { margin-bottom: .4em; }

.models-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.model-tag { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-soft); font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: border-color .12s ease, background .12s ease; }
.model-tag::before { content: "✓"; color: var(--red); font-weight: 800; }
.model-tag:hover { border-color: var(--red); background: var(--red-soft); color: var(--red-dark); }
.models-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.models-note a { color: var(--red); font-weight: 600; }

/* ---------- 19. Contact ---------- */
.contact-head { padding: 10px 0 2px; }
.contact-head h1 { font-size: 34px; margin-bottom: 10px; }
.contact-lead { max-width: 720px; font-size: 15.5px; color: var(--ink-2); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); gap: 26px; margin-top: 24px; align-items: start; }

.contact-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-field label { font-size: 13px; font-weight: 700; color: var(--ink); }
.form-field input, .form-field textarea {
  font: inherit; font-size: 15px; color: var(--ink); padding: 10px 13px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,16,46,.12); }
.form-field textarea { resize: vertical; min-height: 128px; }
.req { color: var(--red); }
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 2px; }
.form-note { font-size: 12.5px; color: var(--muted); }

.notice { border-radius: var(--radius-sm); padding: 16px; font-size: 14.5px; margin-bottom: 18px; }
.notice p { margin: 8px 0 0; }
.notice .btn { margin-top: 14px; }
.notice.success { background: #EAF7F0; border: 1px solid #BFE8D3; color: #12603A; }
.notice.success strong { color: #0B4A2C; }
.notice.error { background: #FDECEF; border: 1px solid #F5C2CB; color: #8E1B2E; }

.contact-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 76px; }
.info-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 20px; box-shadow: var(--shadow-1); }
.info-card h2 { font-size: 15px; margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }
.info-card h2::before { content: ""; width: 5px; height: 18px; background: var(--red); border-radius: 2px; flex: 0 0 auto; }
.info-card-accent { background: var(--bg-soft); }
.info-card p { font-size: 14px; color: var(--ink-2); margin: 10px 0 0; }
.info-row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--ink-2); }
.info-card > .info-row:first-of-type { border-top: 0; }
.info-row svg { width: 17px !important; height: 17px !important; max-width: 17px !important; max-height: 17px !important; flex: 0 0 17px !important; color: var(--red) !important; margin-top: 2px; }
.info-row a { color: var(--ink); font-weight: 600; }
.info-row a:hover { color: var(--red); }
.hours-list { list-style: none; margin: 8px 0 0; padding: 0; font-size: 14px; color: var(--ink-2); }
.hours-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line-soft); }
.hours-list li:first-child { border-top: 0; }
.hours-list strong { color: var(--ink); }
.hours-note { font-size: 12.5px !important; color: var(--muted); }
.contact-form .btn { display: inline-flex; align-items: center; gap: 8px; }
.form-foot .btn svg { width: 16px !important; height: 16px !important; }

/* ---------- 20. Responsive ---------- */
@media (max-width: 1080px) {
  .spec-row { grid-template-columns: 72px minmax(140px, 1.4fr) 115px 130px 1fr 28px; }
  .sc-app { display: none; }
  .cat-grid, .app-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 44px; padding-bottom: 52px; }
  .hero-media { max-width: 560px; }
  .header-search { order: 3; flex-basis: 100%; max-width: none; margin: 4px 0 2px; }
  .pd-layout { grid-template-columns: 1fr; }
  .pd-media { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-side { position: static; }
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 768px) {
  body { font-size: 14.5px; }
  .nav-toggle { display: flex; }
  .site-nav { position: static; }
  .nav-in { display: none; flex-direction: column; padding: 8px 16px 12px; }
  .nav-in.open { display: flex; }
  .nav-link { border-bottom: 1px solid var(--line-soft); padding: 12px 4px; }
  .nav-link.active { border-bottom-color: var(--red); }
  .header-phone { display: none; }
  .header-actions .btn-ghost { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; padding: 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { padding: 18px 16px; }
  .stat strong { font-size: 24px; }
  .spec-row { grid-template-columns: 64px 1fr auto; padding: 12px 14px; gap: 10px; }
  .sc-mat, .sc-dim, .sc-app { display: none; }
  .section { padding: 44px 0; }
  .cta-in { padding: 36px 20px; }
  .section-head h2 { font-size: 22px; }
  h1 { font-size: 27px; }
  .pd-info h1 { font-size: 25px; }
  .contact-main { padding: 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .breadcrumb { font-size: 12.5px; gap: 4px; }
  .breadcrumb .current { max-width: 220px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  input, select, textarea { font-size: 16px; }
  .hero-title { font-size: 30px; }
}
@media (max-width: 520px) {
  .header-in { flex-wrap: wrap; gap: 12px; }
  .header-actions { margin-left: auto; }
  .brand-text small { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 14px 12px; }
  .stat strong { font-size: 22px; }
  .cat-grid, .product-grid, .app-grid, .value-grid, .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; padding: 36px 16px 28px; }
  .footer-bottom-in { justify-content: center; text-align: center; }
  .topbar-in { justify-content: center; }
  .topbar-links { display: none; }
  .hero-title { font-size: 26px; }
  .hero-sub { font-size: 15px; }
  .hero-cta .btn { width: 100%; }
}

/* ---------- 21. Logo ---------- */
.header-in .brand { display: flex; align-items: center; flex: 0 0 auto; max-width: 260px; }
.brand-logo { display: block; height: 44px; width: auto; max-width: 240px; object-fit: contain; }
.brand-text-only { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: .02em; white-space: nowrap; }
.site-footer .brand-logo { height: 40px; max-width: 200px; }
@media (max-width: 768px) {
  .header-in .brand { max-width: 180px; }
  .brand-logo { height: 36px; max-width: 160px; }
  .brand-text-only { font-size: 18px; }
}
@media (max-width: 520px) {
  .header-in .brand { max-width: 150px; }
  .brand-logo { height: 32px; max-width: 140px; }
  .brand-text-only { font-size: 16px; }
}

/* ---------- 22. Table sort ---------- */
.th-sort { background: none; border: 0; padding: 0; margin: 0; font: inherit; text-align: left; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: inherit; }
.th-sort:hover { color: var(--red); }
.sort-caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; opacity: .45; }
.th-sort[aria-sort="ascending"] .sort-caret { border-bottom: 5px solid var(--red); border-top: 0; opacity: 1; }
.th-sort[aria-sort="descending"] .sort-caret { border-top: 5px solid var(--red); border-bottom: 0; opacity: 1; }
.th-sort[aria-sort="none"] .sort-caret { border-top: 5px solid var(--muted); border-bottom: 0; }

/* ---------- 23. Print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .topbar, .site-nav, .header-actions, .nav-toggle, .cta-band, .site-footer, .filter-bar, .sidebar { display: none !important; }
  .layout { display: block; }
}

/* ================= 新闻卡片配图 ================= */
.news-card-img {
  display: block;
  margin: -22px -20px 12px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-soft);
  aspect-ratio: 4/3;
  overflow: hidden;
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }

/* 新闻详情 */
.news-detail h1 { font-size: 32px; line-height: 1.25; margin-bottom: 8px; }
.news-detail-meta { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.news-detail-img {
  width: 100%; height: auto; max-height: 480px;
  object-fit: cover; border-radius: 8px; margin-bottom: 24px;
}

/* 空状态页 */
.empty-msg { text-align: center; padding: 60px 24px; background: var(--bg-soft); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-msg h3 { font-size: 18px; margin-bottom: 8px; color: var(--ink); }
.empty-msg p { color: var(--muted); margin-bottom: 20px; }

/* ================= Applications 带图卡片 ================= */
.app-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* 图片/图标区 */
.app-card-media {
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.app-card:hover .app-card-media img {
  transform: scale(1.05);
}

/* 没图时显示的图标 */
.app-card-media--icon svg {
  width: 56px;
  height: 56px;
  color: var(--red);
  opacity: .85;
}

/* 文字区 */
.app-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.app-card-body .app-num { margin-bottom: 2px; }
.app-card-body h3 { font-size: 17px; margin: 0; }
.app-card-body p { font-size: 13.5px; color: var(--muted); margin: 0; flex: 1; }
.app-card-body .app-link { font-size: 13.5px; font-weight: 700; color: var(--red); margin-top: 8px; }

/* 有图时 hover 效果 */
.app-card--img:hover { border-color: var(--red); box-shadow: var(--shadow-2); }
.app-card--icon { padding: 0; }

/* ================= Applications 卡片（精细工业图标版） ================= */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.app-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.app-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-2);
  transform: translateY(-3px);
}

/* 图片/图标区 */
.app-card-media {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #FAFBFC 0%, #F1F3F6 100%);
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.app-card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,16,46,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,16,46,.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.app-card-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.app-card:hover .app-card-media img {
  transform: scale(1.05);
}

.app-card-media--icon svg {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  color: var(--red);
  stroke-width: 1.6;
  transition: transform .3s ease;
}
.app-card:hover .app-card-media--icon svg {
  transform: scale(1.08);
}

/* 文字区 */
.app-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.app-num {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--muted);
  padding: 3px 8px;
  background: var(--bg-soft);
  border-radius: 3px;
  width: fit-content;
  margin-bottom: 4px;
}
.app-card-body h3 {
  font-size: 17px;
  margin: 0;
  color: var(--ink);
}
.app-card-body p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 6px 0 0;
  flex: 1;
  line-height: 1.6;
}
.app-card-body .app-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--red);
  margin-top: 10px;
}
.app-card:hover .app-link { color: var(--red-dark); }

@media (max-width: 1080px) {
  .app-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .app-grid { grid-template-columns: 1fr; }
}

/* ================= Applications 卡片（支持实拍图 / 图标降级） ================= */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.app-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.app-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-2);
  transform: translateY(-3px);
}

/* 图片区 */
.app-card-media {
  aspect-ratio: 5 / 3;
  background: linear-gradient(135deg, #FAFBFC 0%, #F1F3F6 100%);
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.app-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.app-card:hover .app-card-media img {
  transform: scale(1.05);
}

/* 无图时显示的图标 */
.app-card-media--icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,16,46,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,16,46,.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.app-card-media--icon svg {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  color: var(--red);
  stroke-width: 1.6;
  transition: transform .3s ease;
}
.app-card:hover .app-card-media--icon svg {
  transform: scale(1.08);
}

/* 文字区 */
.app-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.app-num {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--muted);
  padding: 3px 8px;
  background: var(--bg-soft);
  border-radius: 3px;
  width: fit-content;
  margin-bottom: 4px;
}
.app-card-body h3 {
  font-size: 17px;
  margin: 0;
  color: var(--ink);
}
.app-card-body p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 6px 0 0;
  flex: 1;
  line-height: 1.6;
}
.app-card-body .app-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--red);
  margin-top: 10px;
}
.app-card:hover .app-link { color: var(--red-dark); }

@media (max-width: 1080px) {
  .app-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .app-grid { grid-template-columns: 1fr; }
}

/* ================= 应用场景编辑表单 ================= */
.page-form {
  max-width: 1100px;
  padding-bottom: 80px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-field-full {
  grid-column: 1 / -1;
}
.form-field label {
  font-size: 13px;
  font-weight: 700;
  color: #16181d;
}
.form-field input[type=text],
.form-field input[type=number],
.form-field input[type=email],
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: 14.5px;
  color: #16181d;
  padding: 10px 13px;
  border: 1px solid #d8dde3;
  border-radius: 6px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #c8102e;
  box-shadow: 0 0 0 3px rgba(200,16,46,.12);
}
.form-field textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}
.form-field input[type=file] {
  padding: 10px;
  border: 1px dashed #d8dde3;
  border-radius: 6px;
  background: #fafbfc;
  cursor: pointer;
  font-size: 13.5px;
}
.form-field input[type=file]:hover {
  border-color: #c8102e;
}

.req { color: #c8102e; }

.field-hint {
  font-size: 12.5px;
  color: #69707c;
  margin: 6px 0 0;
}

/* 图片预览 */
.img-preview {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 12px;
  padding: 12px;
  background: #f7f9fc;
  border: 1px solid #e3e5ea;
  border-radius: 6px;
}
.img-preview img {
  max-width: 200px;
  max-height: 120px;
  border-radius: 4px;
  border: 1px solid #e3e5ea;
}
.img-preview-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
  color: #69707c;
}
.img-preview-remove {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  cursor: pointer;
}
.img-preview-remove input[type=checkbox] {
  accent-color: #c8102e;
}

/* 折叠区块 */
.form-section {
  background: #fff;
  border: 1px solid #e3e5ea;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}
.form-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: #f7f9fc;
  border-bottom: 1px solid #e3e5ea;
  cursor: pointer;
  user-select: none;
  list-style: none;
}
.form-section-head::-webkit-details-marker { display: none; }
.form-section-title { font-size: 15px; font-weight: 700; color: #16181d; }
.form-section-hint { font-size: 12.5px; color: #69707c; }
.form-section-body { padding: 20px; }

/* 底部固定操作栏 */
.form-actions {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: #fff;
  border-top: 1px solid #e3e5ea;
  box-shadow: 0 -4px 12px rgba(18,20,24,.05);
  z-index: 50;
}
.form-actions .btn {
  padding: 11px 22px;
  font-size: 14.5px;
}

/* TinyMCE 圆角 */
.tox-tinymce {
  border-radius: 6px !important;
  border: 1px solid #d8dde3 !important;
}
.tox-tinymce:focus-within {
  border-color: #c8102e !important;
  box-shadow: 0 0 0 3px rgba(200,16,46,.12) !important;
}

@media (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- View switch (grid / table) ---------- */
.list-head-right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.view-switch { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.view-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 36px; color: var(--muted); background: #fff;
  border-left: 1px solid var(--line); transition: background .15s ease, color .15s ease;
}
.view-btn:first-child { border-left: 0; }
.view-btn:hover { color: var(--red); background: var(--red-soft); }
.view-btn.active { background: var(--red); color: #fff; }
.view-btn svg { width: 16px; height: 16px; }
@media (max-width: 640px) {
  .list-head-right { width: 100%; justify-content: space-between; }
}

/* ================= Footer social ================= */
.footer-bottom-right {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-links { white-space: nowrap; }
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #34373F;
  color: #B9BDC7;
  background: transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.footer-social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.footer-social svg { display: block; }

@media (max-width: 520px) {
  .footer-bottom-in { justify-content: center; text-align: center; }
  .footer-bottom-right { justify-content: center; width: 100%; }
}