/* COMPACTMACH - TRAKON brand palette */
/* TRAKON palette overrides shared by desktop, mobile, and embedded page styles. */:root {
  --brand-dark: #212529;
  --brand-orange: #F57C20;
  --bg-light: #F4F6F8;
  --text-main: #333333;
  --text-muted: #868E96;
  --alert-red: #E53935;
  --success-green: #2E7D32;
  --line: #E5E7E9;
  --primary: var(--brand-dark);
  --primary-dark: var(--brand-dark);
  --accent: var(--brand-orange);
  --footer: var(--brand-dark);
  --bg: var(--bg-light);
  --card: #FFFFFF;
  --text: var(--text-main);
  --text-2: var(--text-muted);
  --border: var(--line);
  --radius: 10px;
  --shadow: 0 2px 10px rgba(33, 37, 41, 0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1440px; margin: 0 auto; padding: 0 20px; }
button { font-family: inherit; cursor: pointer; }
.top-strip { background: var(--primary-dark); color: #fff; text-align: center; font-size: 13px; padding: 7px 12px; letter-spacing: .5px; }
.site-header { background: var(--card); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 24px; padding: 14px 0; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 42px; height: 42px; border-radius: 8px; background: var(--primary); color: #fff; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.logo-text { font-size: 20px; font-weight: 800; color: var(--primary); letter-spacing: .5px; }
.logo-text em { font-style: normal; color: var(--accent); }
.logo-slogan { font-size: 12px; color: var(--text-2); }
.search-box { flex: 1; min-width: 220px; display: flex; }
.search-box input { flex: 1; padding: 9px 12px; border: 1px solid var(--border); border-radius: var(--radius) 0 0 var(--radius); font-size: 14px; outline: none; }
.search-box input:focus { border-color: var(--primary); }
.search-box button { padding: 9px 18px; background: var(--primary); color: #fff; border: none; border-radius: 0 var(--radius) var(--radius) 0; font-size: 14px; }
.search-box button:hover { background: var(--primary-dark); }
.header-nav { display: flex; align-items: center; gap: 12px; }
.header-nav a { padding: 8px 14px; border-radius: var(--radius); font-size: 15px; color: var(--text); }
.header-nav a:hover { background: var(--bg); }
.header-nav a.active { background: var(--primary); color: #fff; }
.header-nav a.btn-quote { background: var(--accent); color: #fff; }
.header-nav a.btn-quote:hover { background: #e06c14; }
main.container { padding: 28px 20px; }
.layout { display: flex; align-items: flex-start; gap: 26px; }
.sidebar { width: 250px; flex-shrink: 0; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; position: sticky; top: 20px; }
.side-title { font-size: 16px; font-weight: 800; color: var(--primary-dark); padding: 8px 10px; border-bottom: 2px solid var(--primary); margin-bottom: 8px; }
.side-group { border-bottom: 1px solid var(--border); }
.side-head { display: flex; align-items: center; justify-content: space-between; padding: 11px 12px; font-size: 15px; font-weight: 700; color: var(--primary-dark); text-decoration: none; border-bottom: 1px solid var(--border); }
.side-head:hover { color: var(--primary); background: var(--bg); }
.side-head.on { background: var(--primary); color: #fff; border-radius: 6px; }
.side-head span { color: var(--text-2); font-size: 12px; font-weight: 500; }
.side-head.on span { color: rgba(255,255,255,.8); }
.side-arrow { width: 8px; height: 8px; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(-45deg); transition: transform .2s; margin-right: 6px; }
.side-group.open .side-arrow { transform: rotate(45deg); }
.side-subs { 
  display: none; 
  padding: 0 0 10px; 
  animation: fadeIn 0.3s ease;
  overflow: hidden;
}
.side-group.open .side-subs { 
  display: block; 
}
.side-sub { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 8px 16px 8px 24px; 
  font-size: 14px; 
  color: var(--text); 
  border-radius: 6px;
  margin-left: 12px;
  transition: all 0.2s ease;
  border-left: 2px solid var(--border);
}
.side-sub:hover { 
  background: var(--bg); 
  color: var(--primary);
  border-left-color: var(--primary);
}
.side-sub.on { 
  background: var(--primary); 
  color: #fff;
  border-left-color: var(--accent);
}
.side-sub.on span { 
  color: rgba(255,255,255,.8); 
}

/* 添加箭头样式改进 */
.side-head { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 11px 12px; 
  font-size: 15px; 
  font-weight: 700; 
  color: var(--primary-dark); 
  text-decoration: none; 
  border-bottom: 1px solid var(--border); 
  transition: all 0.2s ease;
}
.side-head.collapsible { display: flex; align-items: center; }
.side-head .side-arrow { flex-shrink: 0; }

/* 添加折叠动画 */
.side-subs {
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.3s ease;
}
.side-group.open .side-subs {
  max-height: 500px;
  opacity: 1;
  padding: 0 0 10px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.side-sub { display: flex; align-items: center; justify-content: space-between; padding: 7px 10px; font-size: 14px; color: var(--text); border-radius: 6px; }
.side-sub span { color: var(--text-2); font-size: 12px; }
.side-sub:hover { background: var(--bg); color: var(--primary); }
.side-sub.on { background: var(--primary); color: #fff; }
.side-sub.on span { color: rgba(255,255,255,.8); }
.sidebar-toggle { display: none; }
.sidebar-content { display: block; }
.main-col { flex: 1; min-width: 0; }
.breadcrumb { font-size: 13px; color: var(--text-2); margin-bottom: 20px; }
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.hero-row { margin-bottom: 30px; }
.hero-row.container { margin-top: 28px; margin-bottom: 0; }
.carousel { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.carousel-track { display: flex; transition: transform .5s ease; }
.banner-slide { position: relative; min-width: 100%; height: 420px; background-size: cover; background-position: center; display: flex; align-items: center; }
.banner-mask { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(244,246,248,.58), rgba(244,246,248,.4) 60%, rgba(244,246,248,.18)); }
.banner-inner { position: relative; z-index: 2; padding: 40px; max-width: 560px; color: #fff; }
.banner-badge { display: inline-block; background: var(--accent); color: #fff; font-size: 13px; padding: 4px 12px; border-radius: 20px; margin-bottom: 16px; }
.banner-title { font-size: 34px; font-weight: 800; line-height: 1.25; margin-bottom: 12px; }
.banner-sub { font-size: 16px; opacity: .92; margin-bottom: 22px; }
.banner-cta { display: inline-block; background: #fff; color: var(--primary-dark); font-weight: 700; padding: 12px 26px; border-radius: var(--radius); }
.banner-cta:hover { background: var(--accent); color: #fff; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; background: rgba(255,255,255,.85); border: none; width: 42px; height: 42px; border-radius: 50%; font-size: 22px; color: var(--primary-dark); }
.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }
.carousel-btn:hover { background: var(--accent); color: #fff; }
.carousel-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 5; }
.carousel-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.6); cursor: pointer; }
.carousel-dots span.active { background: var(--accent); width: 22px; border-radius: 5px; }
.section { margin-bottom: 36px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.section-head h2 { font-size: 22px; color: var(--primary-dark); }
.section-sub { font-size: 13px; color: var(--text-2); }
.section-sub.more-link { color: var(--primary); font-weight: 600; }
.section-sub.more-link:hover { text-decoration: underline; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.trust-ic { width: 40px; height: 40px; border-radius: 8px; background: var(--primary); color: #fff; font-size: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust-card h4 { font-size: 16px; color: var(--primary-dark); margin-bottom: 4px; }
.trust-card p { font-size: 13px; color: var(--text-2); }
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.category-grid.wide { grid-template-columns: repeat(5, 1fr); }
.category-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; text-align: center; transition: box-shadow .2s, transform .2s; }
.category-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--primary); }
.category-thumb { width: 100%; height: 96px; overflow: hidden; border-radius: 6px; background: #F4F6F8; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.category-thumb img { width: 100%; height: 100%; object-fit: cover; }
.category-name { display: block; font-size: 15px; font-weight: 700; color: var(--primary-dark); }
.category-count { display: block; font-size: 12px; color: var(--accent); font-weight: 600; }
.hot-scroll { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--primary); }
.img-wrap { display: block; width: 100%; height: 180px; background: #FFFFFF; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.img-wrap img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.product-body { padding: 14px; }
.product-cat { font-size: 12px; color: var(--text-2); margin-bottom: 4px; }
.product-name { display: block; font-size: 15px; font-weight: 700; color: var(--primary-dark); line-height: 1.4; min-height: 42px; }
.product-name:hover { color: var(--accent); }
.product-tags { margin: 8px 0 12px; }
.tag { display: inline-block; background: #F4F6F8; color: var(--primary-dark); font-size: 12px; padding: 2px 10px; border-radius: 12px; }
.buy-btn { width: 100%; padding: 10px; background: var(--primary); color: #fff; border: none; border-radius: 6px; font-size: 14px; }
.buy-btn:hover { background: var(--accent); }
.cta-band { background: var(--primary-dark); color: #fff; border-radius: var(--radius); text-align: center; padding: 40px 24px; margin: 8px 0 40px; }
.cta-band h2 { font-size: 24px; margin-bottom: 10px; }
.cta-band p { font-size: 15px; opacity: .9; margin-bottom: 20px; }
.btn-primary { display: inline-block; background: var(--primary); color: #fff; padding: 12px 28px; border-radius: var(--radius); font-size: 15px; border: none; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-big { font-size: 17px; padding: 14px 36px; background: var(--accent); }
.btn-big:hover { background: #e06c14; }
.site-footer { background: var(--footer); color: #fff; padding: 52px 0 0; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1.3fr 1fr; gap: 42px; padding-bottom: 38px; }
.footer-column { min-width: 0; }
.footer-title { color: #fff; font-size: 16px; font-weight: 800; line-height: 1.4; margin: 0 0 18px; }
.footer-description { color: #fff; font-size: 13px; line-height: 1.85; margin: 0 0 16px; }
.footer-contact { display: grid; gap: 6px; margin-bottom: 14px; }
.footer-contact a, .footer-list a, .footer-legal a { color: #fff; font-size: 13px; transition: color .18s ease; }
.footer-contact a:hover, .footer-list a:hover, .footer-legal a:hover { color: var(--accent); }
.footer-socials { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; }
.footer-socials a { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 4px; color: #fff; transition: color .18s ease, border-color .18s ease, background-color .18s ease; }
.footer-socials a:hover { color: var(--accent); border-color: var(--accent); background: rgba(255,255,255,.08); }
.footer-socials svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-tagline { color: #fff; font-size: 12px; line-height: 1.6; }
.footer-list { display: grid; gap: 9px; list-style: none; margin: 0; padding: 0; }
.footer-list a { line-height: 1.55; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 62px; border-top: 1px solid var(--border); color: #fff; font-size: 12px; }
.footer-legal { display: flex; align-items: center; gap: 12px; }
.footer-legal a { font-size: 12px; }
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 48px; }
}

@media (max-width: 700px) {
  .site-footer { padding-top: 38px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 30px; text-align: center; }
  .footer-socials { justify-content: center; }
  .footer-bottom { flex-direction: column; justify-content: center; gap: 8px; padding: 16px 0; text-align: center; }
  .footer-legal { justify-content: center; }
}
.footer-note { font-size: 12px; opacity: .7; }
.list-toolbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.group-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.list-result-info { font-size: 13px; color: var(--text-2); white-space: nowrap; }
.loading-block { grid-column: 1 / -1; text-align: center; padding: 60px 0; color: var(--text-2); font-size: 14px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.detail-img { position: relative; width: 100%; height: 400px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.detail-img img { width: 100%; height: 100%; object-fit: contain; }
.detail-title { font-size: 26px; color: var(--primary-dark); margin-bottom: 12px; }
.detail-title-en { margin: -4px 0 16px; color: var(--text-2); font-size: 17px; font-weight: 600; }
.detail-intro { margin: 0 0 16px; }
.detail-intro h2 { margin: 0 0 6px; color: var(--primary-dark); font-size: 16px; }
.detail-intro p { margin: 0; }
.detail-meta { margin-bottom: 16px; }
.detail-desc { color: var(--text-2); font-size: 15px; margin-bottom: 18px; }
.btn-quote-lg { font-size: 16px; padding: 13px 30px; }
.detail-sections { margin-top: 40px; }
.detail-panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.detail-panel h3 { font-size: 18px; color: var(--primary-dark); margin-bottom: 16px; }
.spec-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 14px; }
.spec-table td { border: 1px solid var(--border); overflow-wrap: anywhere; }
.spec-table td:first-child { width: 35%; background: #F4F6F8; color: var(--brand-dark); font-weight: 600; }
.spec-table td:last-child { color: var(--text); font-weight: 500; }

/* 系列对照表：多机型横向对比，窄屏可滚动 */
.series-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.series-table { table-layout: auto; min-width: 560px; }
.series-table th, .series-table td { white-space: nowrap; }
.series-table thead th { background: #F4F6F8; color: var(--brand-dark); font-weight: 700; }
.series-table td:first-child { width: auto; background: #fff; color: var(--primary); font-weight: 600; }
.series-card .product-name { font-weight: 700; }
.detail-gallery-control { position: absolute; z-index: 1; top: 50%; display: grid; width: 42px; height: 42px; place-items: center; transform: translateY(-50%); border: 1px solid rgba(33,37,41,.16); border-radius: 50%; background: rgba(255,255,255,.92); color: var(--brand-dark); font-size: 28px; line-height: 1; cursor: pointer; }
.detail-gallery-control:hover, .detail-gallery-control:focus-visible { background: var(--brand-orange); color: #fff; }
.detail-gallery-prev { left: 12px; }
.detail-gallery-next { right: 12px; }
.detail-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.detail-items li { display: flex; min-width: 0; align-items: flex-start; gap: 10px; padding: 14px; border: 1px solid var(--border); border-radius: 8px; background: #fff; color: var(--text); font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.detail-item-icon { display: grid; width: 24px; height: 24px; flex: 0 0 24px; place-items: center; border-radius: 50%; background: rgba(245,124,32,.12); color: var(--brand-orange); }
.detail-item-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.quote-form { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.quote-form h3 { font-size: 19px; color: var(--primary-dark); margin-bottom: 18px; }
.quote-form label { display: block; font-size: 13px; color: var(--text-2); margin: 12px 0 6px; }
.quote-form input, .quote-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; outline: none; font-family: inherit; }
.quote-form input:focus, .quote-form textarea:focus { border-color: var(--primary); }
.quote-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form .btn-primary { width: 100%; margin-top: 20px; font-size: 16px; padding: 13px; }
.form-note { margin-top: 12px; font-size: 13px; color: var(--accent); font-weight: 600; }
.img-ph { display: flex; align-items: center; justify-content: center; color: var(--text-2); font-size: 13px; background: #F4F6F8; border-radius: 6px; }
.img-ph.small { width: 100%; height: 96px; }
.img-ph.big { width: 100%; height: 400px; }
.empty-state { text-align: center; padding: 60px 0; color: var(--text-2); font-size: 15px; }
/* ===== 顶部横排分类图标导航栏 ===== */
.cat-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 14px auto 0; padding: 10px 14px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.cat-nav-title { font-size: 14px; font-weight: 800; color: var(--primary-dark); padding: 0 10px 0 2px; border-right: 1px solid var(--border); margin-right: 4px; white-space: nowrap; }
.cat-nav-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 8px; text-decoration: none; min-width: 76px; transition: transform .25s ease, color .25s ease, background-color .25s ease; }
.cat-nav-item .machine-icon-wrap { position: relative; width: 58px; height: 52px; }
.cat-nav-item img.machine-icon { position: absolute; inset: 0; width: 58px; height: 52px; object-fit: contain; border-radius: 8px; background: transparent; border: 0; padding: 3px; transition: opacity .2s ease; }
.cat-nav-item .machine-icon-active { opacity: 0; }
.cat-nav-item .cat-nav-name { font-size: 12px; color: var(--primary-dark); font-weight: 600; text-align: center; line-height: 1.2; transition: color .25s ease; }
.cat-nav-item:hover { background: transparent; }
.cat-nav-item:hover .cat-nav-name { color: var(--accent); }
.cat-nav-item.on { background: var(--primary); }
.cat-nav-item.on .cat-nav-name { color: #fff; }
.cat-nav-item.on img { border-color: var(--primary); }
.cat-nav-item .cat-nav-ph { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: #F4F6F8; border-radius: 8px; color: var(--text-2); font-size: 13px; border: 1px solid var(--border); }
@media (max-width: 700px) { .cat-nav { justify-content: flex-start; gap: 2px; } .cat-nav-item { min-width: 64px; padding: 4px 6px; } .cat-nav-item img, .cat-nav-item .cat-nav-ph { width: 44px; height: 44px; } }
@media (max-width: 1024px) { .category-grid, .category-grid.wide { grid-template-columns: repeat(3, 1fr); } .hot-scroll { grid-template-columns: repeat(3, 1fr); } .trust-grid { grid-template-columns: repeat(2, 1fr); } .product-grid { grid-template-columns: repeat(3, 1fr); } .banner-slide { height: 340px; } }
@media (max-width: 700px) { .layout { flex-direction: column; } .sidebar { width: 100%; position: static; margin-bottom: 8px; } .sidebar-toggle { display: flex; width: 100%; min-height: 44px; align-items: center; gap: 11px; padding: 8px 10px; border: 0; border-radius: 6px; background: #fff; color: var(--primary-dark); font-size: 14px; font-weight: 700; text-align: left; } .sidebar-toggle-icon { display: grid; width: 22px; gap: 4px; } .sidebar-toggle-icon span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; } .sidebar-content { display: none; padding-top: 6px; } .sidebar.is-open .sidebar-content { display: block; } .header-inner { flex-direction: column; gap: 12px; align-items: stretch; } .header-nav { justify-content: center; } .category-grid, .category-grid.wide, .hot-scroll { grid-template-columns: repeat(2, 1fr); } .product-grid { grid-template-columns: repeat(2, 1fr); } .trust-grid { grid-template-columns: 1fr; } .detail-grid { grid-template-columns: 1fr; } .quote-form .row { grid-template-columns: 1fr; } .banner-slide { height: 260px; } .banner-inner { padding: 24px; } .banner-title { font-size: 24px; } }

/* Responsive Chinese machinery catalogue and quote modal. */
html { overflow-x: clip; }
body { overflow-x: clip; }
.container { width: 100%; }
.site-header { position: relative; }
.header-inner { gap: 16px; }
.logo { min-width: 0; flex-shrink: 0; }
.logo > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.logo-text { overflow-wrap: anywhere; }
.header-contact { display: flex; flex-direction: column; gap: 2px; min-width: max-content; color: var(--text-2); font-size: 12px; }
.header-contact a { color: var(--primary-dark); font-size: 16px; font-weight: 800; }
.header-quote { flex-shrink: 0; padding: 10px 18px; border: 0; border-radius: 6px; background: var(--accent); color: #fff; font-weight: 700; }
.header-quote:hover { background: #e06c14; }
.cat-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; justify-items: center; gap: 8px 12px; }
.cat-nav-title { display: flex; grid-column: 1 / -1; align-items: center; justify-content: center; margin-right: 0; padding: 0 0 8px; border-right: 0; border-bottom: 1px solid var(--border); }
.cat-nav-item { width: 100%; min-width: 0; max-width: none; }
.cat-nav-item.on { background: var(--bg-light); }
.cat-nav-item.on .cat-nav-name { color: var(--accent); }
.cat-nav .cat-nav-item:hover,
.cat-nav .cat-nav-item:active,
.cat-nav .cat-nav-item:focus-visible { transform: scale(1.03); background: transparent; }
.cat-nav .cat-nav-item:hover .cat-nav-name,
.cat-nav .cat-nav-item:active .cat-nav-name,
.cat-nav .cat-nav-item:focus-visible .cat-nav-name { color: var(--brand-orange); }
.cat-nav .cat-nav-item:hover .machine-icon-active,
.cat-nav .cat-nav-item:active .machine-icon-active,
.cat-nav .cat-nav-item:focus-visible .machine-icon-active,
.cat-nav-item.on .machine-icon-active { opacity: 1; }
.cat-nav .cat-nav-item:hover .machine-icon-base,
.cat-nav .cat-nav-item:active .machine-icon-base,
.cat-nav .cat-nav-item:focus-visible .machine-icon-base,
.cat-nav-item.on .machine-icon-base { opacity: 0; }
.side-head { justify-content: space-between; gap: 8px; }
.sidebar .side-subs, .sidebar .side-arrow { display: none !important; }
.main-col { min-width: 0; width: 100%; }
.product-card { min-width: 0; }
.product-body { min-width: 0; }
.product-summary { min-height: 42px; margin: 8px 0 12px; color: var(--text-2); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.product-name { overflow-wrap: anywhere; }
.product-card-remote-mower { display: flex; min-height: 450px; flex-direction: column; }
.product-card-remote-mower .product-body { display: flex; min-height: 260px; flex: 1; flex-direction: column; padding: 14px; }
.product-card-remote-mower .product-cat { min-height: 17px; }
.product-card-remote-mower .product-name { display: -webkit-box; height: 42px; min-height: 42px; overflow: hidden; overflow-wrap: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-card-remote-mower .product-summary { display: flex; height: 9.6em; min-height: 9.6em; flex: 0 0 9.6em; flex-direction: column; margin: 8px 0 12px; overflow: hidden; }
.product-card-remote-mower .product-spec-line { display: block; min-height: 1.6em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-card-remote-mower .buy-btn { margin-top: auto; }
.banner-title { line-height: 1.25; }
.banner-title br { display: block; }
.carousel-dot { border: 0; padding: 0; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.65); cursor: pointer; }
.carousel-dot.active { width: 22px; border-radius: 5px; background: var(--accent); }
.company-intro { padding: 24px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.company-intro p { max-width: 820px; color: var(--text-2); font-size: 15px; line-height: 1.9; }
.trust-card h3 { font-size: 16px; color: var(--primary-dark); margin-bottom: 4px; }
.trust-card p { color: var(--text-2); font-size: 13px; }
.footer-contact { margin: 0 0 6px; }
.footer-contact a { color: #fff; }
.search-inline { flex: 1 1 220px; }
.search-inline input { width: 100%; max-width: 420px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 6px; font: inherit; }
.quote-intro { padding: 30px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.quote-intro h1 { margin-bottom: 8px; color: var(--primary-dark); }
.quote-intro p { margin-bottom: 18px; color: var(--text-2); }
.modal-open { overflow: hidden; }
.modal-mask { position: fixed; z-index: 1000; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; overflow-y: auto; background: rgba(33,37,41,.65); }
.modal-mask[hidden] { display: none !important; }
.quote-modal { position: relative; width: min(100%, 620px); max-height: calc(100vh - 40px); overflow-y: auto; padding: 30px; background: #fff; border-radius: 12px; box-shadow: 0 16px 50px rgba(0,0,0,.24); }
.quote-modal h2 { margin: 0 40px 6px 0; color: var(--primary-dark); font-size: 24px; }
.modal-description { margin-bottom: 18px; color: var(--text-2); }
.modal-close { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--bg-light); color: var(--text); font-size: 26px; line-height: 1; }
.quote-form { padding: 0; border: 0; background: transparent; }
.quote-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-field { min-width: 0; }
.form-field-wide { grid-column: 1 / -1; }
.quote-form .form-field label { margin: 0 0 6px; color: var(--text); font-weight: 600; }
.form-field label span { color: var(--brand-orange); }
.quote-form .form-field input, .quote-form .form-field textarea { display: block; min-width: 0; }
.form-honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.quote-submit { width: 100%; margin-top: 16px; }
.quote-submit:disabled { opacity: .7; cursor: wait; }
.form-note { min-height: 20px; margin: 12px 0 0; color: #2E7D32; }
.form-note.error { color: #E53935; }
.breadcrumb { overflow-wrap: anywhere; }
.empty-state { grid-column: 1 / -1; }
@media (max-width: 700px) {
  .header-inner { gap: 10px; }
  .header-contact { flex-direction: row; align-items: center; justify-content: space-between; }
  .header-quote { width: 100%; }
  .cat-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 4px; }
  .cat-nav-title { padding: 4px 2px 8px; }
  .cat-nav-item { width: 100%; min-width: 0; padding: 5px 2px; }
  .cat-nav-item .machine-icon-wrap { width: 46px; height: 42px; }
  .cat-nav-item img.machine-icon { width: 46px; height: 42px; }
  .sidebar { padding: 8px; }
  .side-head { padding: 8px; font-size: 13px; }
  .hero-row.container { margin-top: 10px; }
  .banner-inner { padding: 22px; }
  .banner-title { font-size: 24px; }
  .banner-sub { max-width: 90%; font-size: 14px; }
  .quote-modal { padding: 24px 18px; }
}
@media (max-width: 380px) {
  .container { padding-right: 12px; padding-left: 12px; }
  .product-grid { gap: 10px; }
  .img-wrap { height: 130px; }
  .product-body { padding: 10px; }
  .product-name { font-size: 14px; }
  .product-summary { font-size: 11px; }
  .product-card-remote-mower { min-height: 392px; }
  .product-card-remote-mower .product-body { min-height: 260px; padding: 10px; }
  .product-card-remote-mower .product-name { height: 34px; min-height: 34px; font-size: 11px; line-height: 1.5; }
  .cat-nav-item { min-width: 52px; }
  .quote-fields { grid-template-columns: minmax(0, 1fr); }
  .form-field-wide { grid-column: auto; }
}

/* Expanded home page layout. */
.hero-full { width: 100%; margin: 0; }
.hero-full .carousel { border-radius: 0; box-shadow: none; }
.hero-full .banner-slide { height: min(620px, 42vw); min-height: 440px; }
.hero-full .banner-inner { margin-left: max(20px, calc((100vw - 1440px) / 2 + 20px)); }
.home-layout { display: block; padding-top: 40px !important; padding-bottom: 0 !important; }
.home-layout .main-col { width: 100%; }
.home-layout .section { margin-bottom: 88px; }
.home-layout .section-head { margin-bottom: 28px; }
.home-layout .section-head h1,
.home-layout .section-head h2 { margin: 0; color: var(--primary-dark); font-size: 30px; font-weight: 800; line-height: 1.3; }
.home-layout .certification-grid { grid-auto-rows: 1fr; }
.home-layout .certificate-card { height: 100%; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.home-layout .certificate-card:hover { transform: translateY(-4px); border-color: #212529; box-shadow: 0 12px 28px rgba(33, 37, 41, .14); }
.home-layout .certificate-mark { border-width: 2px; }
.section-kicker { display: block; margin-bottom: 8px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: 1.8px; }
.section-intro { margin-top: 7px; color: var(--text-2); font-size: 15px; }
.home-layout .section-sub { flex-shrink: 0; }
#hotProducts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
#hotProducts .img-wrap { height: 260px; }
#hotProducts .product-body { padding: 18px; }
#hotProducts .product-name { font-size: 17px; }
#hotProducts .product-summary { font-size: 13px; }
.category-showcase-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.category-showcase-card { display: block; min-width: 0; overflow: hidden; color: inherit; background: var(--card); border: 1px solid var(--border); border-radius: 10px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.category-showcase-card:hover,
.category-showcase-card:focus-visible { transform: translateY(-4px); border-color: #212529; box-shadow: 0 12px 28px rgba(33, 37, 41, .14); }
.category-showcase-image { display: block; height: 160px; overflow: hidden; background: #F4F6F8; }
.category-showcase-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.category-showcase-card:hover .category-showcase-image img { transform: scale(1.05); }
.category-showcase-placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: var(--text-2); font-size: 13px; }
.category-showcase-copy { padding: 16px; }
.category-showcase-count { color: var(--accent); font-size: 12px; font-weight: 700; }
.category-showcase-copy h3 { margin: 5px 0 7px; color: #212529; font-size: 16px; line-height: 1.4; }
.category-showcase-link { display: inline-flex; align-items: center; gap: 7px; color: #212529; font-size: 13px; font-weight: 700; }
.category-showcase-link:hover { color: var(--accent); }
.application-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.application-card { position: relative; min-width: 0; height: 320px; overflow: hidden; border-radius: 10px; background: var(--primary-dark); }
.application-card::after { position: absolute; inset: 30% 0 0; background: linear-gradient(180deg, transparent, rgba(33, 37, 41, .88)); content: ""; }
.application-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.application-card:hover img { transform: scale(1.05); }
.application-copy { position: absolute; z-index: 1; right: 22px; bottom: 22px; left: 22px; color: #fff; }
.application-copy > span { color: var(--brand-orange); font-size: 10px; font-weight: 800; letter-spacing: 1.3px; }
.application-copy h3 { margin: 6px 0; font-size: 22px; }
.application-copy p { color: rgba(255,255,255,.86); font-size: 13px; }
.factory-section { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.factory-gallery { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: repeat(2, 220px); gap: 14px; }
.factory-photo { position: relative; min-width: 0; overflow: hidden; border-radius: 10px; background: #F4F6F8; }
.factory-photo img { width: 100%; height: 100%; object-fit: cover; }
.factory-photo-main { grid-row: span 2; }
.factory-photo-main figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 28px 18px 16px; background: linear-gradient(transparent, rgba(33, 37, 41, .8)); color: #fff; font-size: 14px; font-weight: 700; }
.factory-copy h2 { margin-bottom: 14px; color: var(--primary-dark); font-size: 32px; line-height: 1.35; }
.factory-intro { margin-bottom: 24px; color: var(--text-2); font-size: 15px; line-height: 1.9; }
.factory-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.factory-facts > div { display: flex; min-height: 88px; flex-direction: column; justify-content: center; padding: 14px 16px; border-left: 3px solid var(--accent); background: #F4F6F8; }
.factory-facts strong { color: var(--primary-dark); font-size: 22px; line-height: 1.25; }
.factory-facts span { margin-top: 5px; color: var(--text-2); font-size: 12px; }
.factory-note { margin-top: 14px; color: var(--text-2); font-size: 12px; line-height: 1.7; }
.case-track { display: flex; gap: 0; overflow: hidden; padding: 2px 0 16px; animation: caseMarquee 40s linear infinite; }
.case-track:hover { animation-play-state: paused; }
.case-card { flex: 0 0 calc((100% - 80px) / 4); margin-right: 20px; min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 10px; background: var(--card); }
@keyframes caseMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.case-card > img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center center; }
.case-copy { padding: 18px 20px 20px; }
.case-type { color: var(--accent); font-size: 12px; font-weight: 700; }
.case-copy h3 { margin: 7px 0 10px; color: var(--primary-dark); font-size: 18px; }
.case-copy p { color: var(--text-2); font-size: 12px; line-height: 1.7; }
.case-copy p strong { color: var(--primary-dark); }
.case-disclaimer { margin-top: 10px; color: var(--text-2); font-size: 12px; }
.certification-section { padding: 42px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-light); }
.certification-section .section-head { margin-bottom: 24px; }
.certification-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.certificate-card { display: flex; min-width: 0; align-items: center; gap: 16px; padding: 20px; border: 1px solid var(--border); border-radius: 9px; background: #fff; }
.certificate-mark { display: flex; width: 58px; height: 58px; flex: 0 0 58px; align-items: center; justify-content: center; border: 2px solid var(--primary); border-radius: 50%; color: var(--primary); font-size: 17px; font-weight: 900; }
.certificate-mark-patent { border-radius: 12px; color: var(--accent); border-color: var(--accent); font-size: 13px; }
.certificate-card h3 { color: var(--primary-dark); font-size: 16px; }
.certificate-card p { margin-top: 4px; color: var(--text-2); font-size: 11px; line-height: 1.55; }
.service-section .trust-grid { gap: 20px; }
.service-section .trust-card { padding: 24px; }
.home-cta-band { width: 100vw; margin: 0 0 0 calc(50% - 50vw); background: var(--primary-dark); color: #fff; }
.home-cta-inner { display: flex; max-width: 1440px; min-height: 190px; align-items: center; justify-content: space-between; gap: 32px; margin: 0 auto; padding: 42px 20px; }
.home-cta-inner > div > span { color: var(--brand-orange); font-size: 11px; font-weight: 800; letter-spacing: 1.8px; }
.home-cta-inner h2 { margin: 8px 0; color: #fff; font-size: 30px; }
.home-cta-inner p { color: rgba(255,255,255,.8); font-size: 14px; }
.home-cta-inner .btn-big { flex-shrink: 0; padding: 17px 38px; font-size: 18px; }
.home-cta-inner .btn-big span { margin-left: 8px; }
@media (max-width: 1200px) {
  .category-showcase-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #hotProducts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .factory-section { gap: 36px; }
  .factory-gallery { grid-template-rows: repeat(2, 180px); }
  .certification-section { padding: 30px; }
}
@media (max-width: 800px) {
  .hero-full .banner-slide { height: 360px; min-height: 360px; }
  .home-layout { padding-top: 30px !important; }
  .home-layout .section { margin-bottom: 60px; }
  .home-layout .section-head h1,
  .home-layout .section-head h2 { font-size: 25px; }
  .category-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .category-showcase-image { height: 145px; }
  .category-showcase-copy { padding: 12px; }
  .application-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .application-card { height: 280px; }
  .case-card { flex-basis: calc((100% - 24px) / 2); margin-right: 12px; }
  .factory-section { grid-template-columns: 1fr; gap: 30px; }
  .factory-gallery { grid-template-rows: repeat(2, 200px); }
  .certification-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .certification-section { padding: 24px; }
  .home-cta-inner { min-height: 0; }
}
@media (max-width: 560px) {
  .hero-full .banner-slide { height: 300px; min-height: 300px; }
  .hero-full .banner-inner { margin-left: 0; }
  .home-layout { padding-top: 24px !important; }
  .home-layout .section { margin-bottom: 48px; }
  .home-layout .section-head { align-items: flex-start; gap: 12px; }
  .home-layout .section-head h1,
  .home-layout .section-head h2 { font-size: 22px; }
  .home-layout .section-head .more-link { align-self: flex-end; font-size: 12px; }
  .section-intro { font-size: 13px; }
  #hotProducts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  #hotProducts .img-wrap { height: 170px; }
  #hotProducts .product-body { padding: 12px; }
  #hotProducts .product-name { font-size: 14px; }
  #hotProducts .product-summary { font-size: 11px; }
  .category-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .category-showcase-image { height: 135px; }
  .category-showcase-copy p { min-height: 0; }
  .application-grid { gap: 10px; }
  .application-card { height: 230px; }
  .application-copy { right: 14px; bottom: 14px; left: 14px; }
  .application-copy h3 { font-size: 18px; }
  .application-copy p { font-size: 11px; }
  .factory-gallery { grid-template-rows: repeat(2, 140px); gap: 9px; }
  .factory-copy h2 { font-size: 25px; }
  .factory-facts strong { font-size: 18px; }
  .case-track { gap: 0; }
  .case-card { flex-basis: 84%; margin-right: 12px; }
  .case-card > img { aspect-ratio: 4 / 3; }
  .certification-section { padding: 18px 14px; }
  .certification-grid { gap: 9px; }
  .certificate-card { align-items: flex-start; flex-direction: column; gap: 10px; padding: 14px; }
  .certificate-mark { width: 46px; height: 46px; flex-basis: 46px; }
  .home-cta-inner { align-items: flex-start; flex-direction: column; gap: 22px; padding: 36px 20px; }
  .home-cta-inner h2 { font-size: 25px; }
  .home-cta-inner .btn-big { width: 100%; }
}

/* News templates and navigation. */
.header-inner .header-nav { flex-shrink: 0; gap: 2px; }
.header-inner .header-nav a { padding: 8px 9px; white-space: nowrap; }
.news-layout { display: flex; align-items: flex-start; gap: 30px; padding-top: 40px; padding-bottom: 60px; }
.news-sidebar { flex: 0 0 250px; position: static; }
.news-sidebar .side-title { padding: 12px 14px; color: #212529; font-size: 16px; font-weight: 700; background: #F4F6F8; border-bottom: 1px solid #212529; }
.news-sidebar .side-head:not(.on) { color: #333; }
.news-sidebar .side-head:not(.on):hover { color: #212529; }
.news-sidebar .side-head { font-size: 14px; }
.news-sidebar-products-title { margin-top: 20px; }
.news-main { flex: 1; min-width: 0; }
.news-archive-heading { margin: 0 0 28px; padding: 0 0 22px; border-bottom: 1px solid var(--border); }
.news-archive-heading h1 { color: var(--primary-dark); font-size: 32px; line-height: 1.3; }
.news-archive-heading p { margin-top: 8px; color: var(--text-2); font-size: 14px; }
.news-archive-list { display: grid; gap: 20px; }
.news-archive-card { display: grid; grid-template-columns: minmax(220px, 34%) minmax(0, 1fr); gap: 24px; padding: 20px; border: 1px solid var(--border); border-radius: 10px; background: var(--card); transition: box-shadow .2s, transform .2s; }
.news-archive-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.news-archive-image { display: flex; min-height: 190px; align-items: center; justify-content: center; overflow: hidden; border-radius: 7px; background: #F4F6F8; color: var(--text-2); }
.news-archive-image img { width: 100%; height: 100%; min-height: 190px; object-fit: cover; }
.news-archive-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; }
.news-archive-copy time,
.news-home-copy time,
.news-related-card time { color: var(--text-2); font-size: 12px; }
.news-archive-copy h2 { margin: 8px 0; color: var(--primary-dark); font-size: 21px; line-height: 1.45; }
.news-archive-copy h2 a:hover,
.news-home-copy h3 a:hover { color: var(--accent); }
.news-archive-copy p { margin-bottom: 14px; color: var(--text-2); font-size: 14px; line-height: 1.8; }
.news-read-more { margin-top: auto; color: var(--primary); font-size: 13px; font-weight: 700; }
.news-read-more:hover { color: var(--accent); }
.news-empty { padding: 40px 0; color: var(--text-2); }
.news-main .nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.news-main .page-numbers { display: inline-flex; min-width: 38px; min-height: 38px; align-items: center; justify-content: center; padding: 6px 12px; border: 1px solid var(--border); border-radius: 6px; background: #fff; color: var(--primary-dark); }
.news-main .page-numbers.current,
.news-main .page-numbers:hover { border-color: var(--primary); background: var(--primary); color: #fff; }
.news-article { padding: 32px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.news-article-header { padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.news-article-header h1 { color: var(--primary-dark); font-size: clamp(26px, 3vw, 36px); line-height: 1.4; overflow-wrap: anywhere; }
.news-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; color: var(--text-2); font-size: 13px; }
.news-term-list { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.news-term-list a { padding: 3px 10px; border-radius: 20px; background: #F4F6F8; color: var(--primary); }
.news-article-featured { margin: 24px 0; overflow: hidden; border-radius: 8px; background: #F4F6F8; }
.news-article-featured img { width: 100%; max-height: 560px; object-fit: cover; }
.news-article-content { color: var(--text-main); font-size: 16px; line-height: 1.95; overflow-wrap: anywhere; }
.news-article-content > * { margin-bottom: 1.15em; }
.news-article-content h2 { margin-top: 1.7em; color: var(--primary-dark); font-size: 25px; line-height: 1.4; }
.news-article-content h3 { margin-top: 1.4em; color: var(--primary-dark); font-size: 20px; line-height: 1.45; }
.news-article-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.news-article-content img { height: auto; margin: 20px auto; border-radius: 6px; }
.news-product-links { margin-top: 30px; padding: 22px; border-left: 3px solid var(--accent); background: var(--bg-light); }
.news-product-links h2,
.news-related > h2 { margin-bottom: 8px; color: var(--primary-dark); font-size: 21px; }
.news-product-links p { margin-bottom: 14px; color: var(--text-2); font-size: 13px; }
.news-product-link-list { display: flex; flex-wrap: wrap; gap: 9px; }
.news-product-link-list a { display: inline-flex; gap: 6px; padding: 7px 12px; border: 1px solid var(--border); border-radius: 20px; background: #fff; color: var(--primary); font-size: 13px; }
.news-product-link-list a:hover { border-color: var(--primary); color: var(--accent); }
.news-post-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.news-post-navigation > div { min-width: 0; padding: 15px; border: 1px solid var(--border); border-radius: 7px; }
.news-post-navigation a { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.news-post-navigation span { color: var(--text-2); font-size: 12px; }
.news-post-navigation strong { overflow: hidden; color: var(--primary-dark); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.news-related { margin-top: 34px; }
.news-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.news-related-card { min-width: 0; padding: 12px; border: 1px solid var(--border); border-radius: 8px; }
.news-related-card img { width: 100%; height: 130px; margin-bottom: 10px; border-radius: 5px; object-fit: cover; }
.news-related-card h3 { margin-bottom: 7px; color: var(--primary-dark); font-size: 14px; line-height: 1.5; }
.news-related-card a:hover h3 { color: var(--accent); }
.news-home-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.news-home-card { display: grid; grid-template-columns: minmax(120px, 36%) minmax(0, 1fr); gap: 16px; min-width: 0; padding: 14px; border: 1px solid var(--border); border-radius: 9px; background: var(--card); transition: box-shadow .2s, transform .2s; }
.news-home-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.news-home-image { display: flex; min-height: 128px; align-items: center; justify-content: center; overflow: hidden; border-radius: 6px; background: #F4F6F8; color: var(--text-2); font-size: 12px; }
.news-home-image img { width: 100%; height: 100%; min-height: 128px; object-fit: cover; }
.news-home-copy { min-width: 0; }
.news-home-copy h3 { display: -webkit-box; margin: 7px 0; overflow: hidden; color: var(--primary-dark); font-size: 16px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.news-home-copy p { display: -webkit-box; overflow: hidden; color: var(--text-2); font-size: 12px; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.news-home-empty { grid-column: 1 / -1; padding: 22px; border: 1px solid var(--border); border-radius: 8px; color: var(--text-2); }
@media (max-width: 1100px) {
  .header-inner .header-nav { order: 5; flex: 1 0 100%; justify-content: center; }
  .news-layout { gap: 20px; }
  .news-sidebar { flex-basis: 220px; }
  .news-archive-card { grid-template-columns: minmax(180px, 32%) minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 700px) {
  .header-inner .header-nav { order: 0; flex: 1 1 auto; flex-wrap: wrap; gap: 2px; }
  .header-inner .header-nav a { padding: 6px 7px; font-size: 13px; }
  .news-layout { flex-direction: column; gap: 20px; padding-top: 24px; padding-bottom: 40px; }
  .news-sidebar { width: 100%; }
  .news-sidebar .side-head { padding: 8px; font-size: 13px; }
  .news-sidebar-products-title { margin-top: 12px; }
  .news-archive-heading { margin-bottom: 20px; }
  .news-archive-heading h1 { font-size: 26px; }
  .news-archive-card { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 14px; }
  .news-archive-image,
  .news-archive-image img { min-height: 190px; max-height: 250px; }
  .news-archive-copy h2 { font-size: 18px; }
  .news-article { padding: 20px 16px; }
  .news-article-content { font-size: 15px; }
  .news-article-content h2 { font-size: 22px; }
  .news-article-content h3 { font-size: 18px; }
  .news-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-home-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .news-post-navigation { grid-template-columns: minmax(0, 1fr); }
  .news-related-grid { grid-template-columns: minmax(0, 1fr); }
  .news-home-card { grid-template-columns: 100px minmax(0, 1fr); gap: 11px; padding: 10px; }
  .news-home-image,
  .news-home-image img { min-height: 110px; }
}

/* Expanded header contacts and fixed quick-contact actions. */
:root { --contact-navy: var(--brand-dark); --contact-accent: var(--brand-orange); }
.top-strip { padding: 14px 0; background: var(--contact-navy); }
.topbar-inner { display: flex; min-height: 58px; align-items: center; gap: 28px; }
.topbar-logo { flex: 0 0 auto; color: #fff; }
.topbar-logo .logo-mark { background: rgba(255,255,255,.14); color: #fff; }
.topbar-logo .logo-text { color: #fff; }
.topbar-logo .logo-slogan { color: rgba(255,255,255,.72); }
.top-contact-list { display: flex; min-width: 0; flex: 1 1 auto; align-items: center; justify-content: flex-end; gap: clamp(14px, 2.2vw, 34px); }
.top-contact-item { display: inline-flex; min-width: 0; align-items: center; gap: 9px; color: #fff; font-size: 15px; line-height: 1.4; }
.top-contact-item:hover { color: #fff; }
.top-contact-item svg { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.top-contact-item span { overflow-wrap: anywhere; }
.header-quote { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; padding: 12px 23px; border-radius: 7px; background: var(--contact-accent); color: #fff; font-size: 15px; font-weight: 800; white-space: nowrap; transition: background .2s, transform .2s; }
.header-quote:hover { transform: translateY(-1px); background: #e06c14; color: #fff; }
.site-header { position: relative; z-index: 60; background: #fff; }
.header-inner { min-height: 64px; align-items: center; justify-content: space-between; gap: 24px; padding-top: 10px; padding-bottom: 10px; }
.header-inner .header-nav { order: 0; flex: 0 1 auto; justify-content: flex-start; gap: clamp(12px, 2vw, 28px); }
.header-inner .header-nav a { padding: 9px 3px; border-radius: 0; color: var(--contact-navy); font-size: 15px; font-weight: 700; }
.header-inner .header-nav a:hover,
.header-inner .header-nav a.active { background: transparent; color: var(--contact-accent); }
.header-inner .search-box { flex: 0 1 320px; min-width: 220px; }
.nav-toggle { display: none; }
.floating-contact { position: fixed; z-index: 80; top: 42%; right: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(33,37,41,.12); border-right: 0; border-radius: 10px 0 0 10px; background: #fff; box-shadow: 0 8px 26px rgba(33,37,41,.2); }
.floating-contact-link { display: flex; width: 62px; min-height: 62px; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: var(--contact-navy); color: #fff; transition: background .2s; }
.floating-contact-link + .floating-contact-link { border-top: 1px solid rgba(255,255,255,.18); }
.floating-contact-link:hover,
.floating-contact-link:focus-visible { background: var(--contact-accent); color: #fff; }
.floating-contact-link svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.floating-contact-link span { font-size: 10px; line-height: 1.2; white-space: nowrap; }
.nav-toggle:focus-visible,
.header-nav a:focus-visible,
.header-quote:focus-visible,
.top-contact-item:focus-visible { outline: 3px solid rgba(245,124,32,.55); outline-offset: 3px; }
@media (max-width: 1100px) {
  .topbar-inner { gap: 18px; }
  .top-contact-list { gap: 14px; }
  .top-contact-item { font-size: 13px; }
  .top-contact-item svg { width: 18px; height: 18px; flex-basis: 18px; }
  .header-inner { flex-wrap: wrap; }
  .header-inner .header-nav { flex: 1 1 auto; gap: 16px; }
  .header-inner .search-box { flex-basis: 260px; }
}
@media (max-width: 900px) {
  .top-strip { padding: 12px 0; }
  .topbar-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 18px; }
  .top-contact-list { grid-column: 1 / -1; justify-content: flex-start; gap: 12px 24px; flex-wrap: wrap; }
  .header-quote { padding: 10px 17px; }
  .header-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 14px; }
  .nav-toggle { display: flex; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--border); border-radius: 7px; background: #fff; color: var(--contact-navy); }
  .nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; }
  .header-inner .header-nav { display: none; grid-column: 1 / -1; align-items: stretch; flex-direction: column; gap: 0; padding: 8px 0; border-top: 1px solid var(--border); }
  .header-inner .header-nav.is-open { display: flex; }
  .header-inner .header-nav a { padding: 11px 8px; border-bottom: 1px solid var(--border); }
  .header-inner .search-box { width: 100%; max-width: 420px; min-width: 0; justify-self: end; }
}
@media (max-width: 600px) {
  body { padding-bottom: 76px; }
  .topbar-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .topbar-logo .logo-mark { width: 36px; height: 36px; font-size: 15px; }
  .topbar-logo .logo-text { font-size: 16px; }
  .topbar-logo .logo-slogan { font-size: 10px; }
  .header-quote { padding: 9px 12px; font-size: 13px; }
  .top-contact-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .top-contact-item { font-size: 13px; }
  .top-contact-item svg { width: 17px; height: 17px; flex-basis: 17px; }
  .header-inner { gap: 8px 10px; }
  .header-inner .search-box { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; max-width: none; }
  .header-inner .header-nav { grid-row: 3; }
  .floating-contact { top: auto; right: 12px; bottom: max(10px, env(safe-area-inset-bottom)); left: 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid rgba(33,37,41,.15); border-radius: 10px; }
  .floating-contact-link { width: auto; min-width: 0; min-height: 56px; gap: 3px; }
  .floating-contact-link + .floating-contact-link { border-top: 0; border-left: 1px solid rgba(255,255,255,.18); }
  .floating-contact-link svg { width: 19px; height: 19px; }
  .floating-contact-link span { font-size: 10px; }
}
@media (max-width: 360px) {
  .topbar-inner { padding-right: 12px; padding-left: 12px; gap: 8px; }
  .topbar-logo { gap: 7px; }
  .topbar-logo .logo-text { font-size: 14px; letter-spacing: 0; }
  .topbar-logo .logo-slogan { font-size: 9px; }
  .header-quote { padding: 8px 9px; font-size: 12px; }
  .top-contact-item { font-size: 12px; }
  .floating-contact { right: 8px; left: 8px; }
}

/* Eight-category catalogue, responsive category navigation and product details. */
.category-showcase-card { display: flex; min-height: 100%; flex-direction: column; color: inherit; text-decoration: none; }
.category-showcase-image { height: clamp(150px, 16vw, 220px); }
.category-showcase-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.category-showcase-copy h3 { margin: 0 0 6px; }
.category-showcase-count { margin-top: auto; }
.category-showcase-link { margin-top: 12px; }
.category-showcase-card:focus-visible { outline: 3px solid rgba(245,124,32,.55); outline-offset: 3px; }
.side-category { min-width: 0; }
.side-products { display: grid; gap: 7px; max-height: 340px; overflow-y: auto; padding: 8px 4px 10px; }
.side-product { display: flex; min-width: 0; align-items: center; gap: 9px; color: var(--primary-dark); font-size: 11px; line-height: 1.4; text-decoration: none; }
.side-product:hover { color: var(--accent); }
.side-product img { width: 48px; height: 42px; flex: 0 0 48px; border-radius: 4px; background: #F4F6F8; object-fit: cover; }
.side-product span { overflow-wrap: anywhere; }
.detail-sections { display: grid; gap: 20px; }
.detail-panel { min-width: 0; margin-bottom: 0; }
.detail-panel h2 { margin: 0 0 16px; color: var(--primary-dark); font-size: 21px; line-height: 1.4; }
.detail-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.detail-gallery { min-width: 0; }
.detail-thumbnails { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.detail-thumbnail { width: 76px; height: 68px; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: 6px; background: #F4F6F8; cursor: pointer; }
.detail-thumbnail.active,
.detail-thumbnail:hover { border-color: var(--accent); }
.detail-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.product-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.product-option { display: grid; min-width: 0; gap: 7px; color: var(--text); font-size: 13px; font-weight: 700; }
.product-option select { width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid var(--border); border-radius: 6px; background: #fff; color: var(--text); font: inherit; font-weight: 400; }
.configuration-note,
.detail-quote-panel p { grid-column: 1 / -1; color: var(--text-2); font-size: 13px; line-height: 1.7; }
.detail-quote-panel .buy-btn { max-width: 320px; }
.nav-category-dropdown { position: relative; }
.nav-category-toggle { padding: 9px 3px; border: 0; background: transparent; color: var(--contact-navy); font-size: 15px; font-weight: 700; cursor: pointer; }
.nav-category-toggle:hover,
.nav-category-toggle[aria-expanded="true"] { color: var(--contact-accent); }
.nav-category-menu { position: absolute; z-index: 70; top: 100%; left: -12px; display: none; width: min(460px, 90vw); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 10px; border: 1px solid var(--border); border-radius: 8px; background: #fff; box-shadow: 0 12px 30px rgba(33, 37, 41, .18); }
.nav-category-dropdown.is-open .nav-category-menu,
.nav-category-dropdown:hover .nav-category-menu,
.nav-category-dropdown:focus-within .nav-category-menu { display: grid; }
.nav-category-menu a { display: flex; min-width: 0; flex-direction: column; gap: 3px; padding: 10px; border-radius: 5px !important; color: var(--primary-dark) !important; text-decoration: none; white-space: normal !important; }
.nav-category-menu a:hover { background: #F4F6F8 !important; color: var(--contact-accent) !important; }
.nav-category-menu small { color: var(--text-2); font-size: 11px; font-weight: 400; line-height: 1.4; }
@media (max-width: 900px) {
  .nav-category-dropdown { width: 100%; }
  .nav-category-toggle { width: 100%; padding: 11px 8px; border-bottom: 1px solid var(--border); text-align: left; }
  .nav-category-menu { position: static; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 5px 0 9px; border: 0; border-radius: 0; box-shadow: none; }
  .nav-category-dropdown:not(.is-open) .nav-category-menu { display: none; }
  .nav-category-dropdown:not(.is-open):hover .nav-category-menu,
  .nav-category-dropdown:not(.is-open):focus-within .nav-category-menu { display: none; }
}
@media (max-width: 800px) {
  .category-showcase-image { height: 145px; }
  .product-options { grid-template-columns: minmax(0, 1fr); }
  .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .detail-items { grid-template-columns: minmax(0, 1fr); }
  .detail-panel { padding: 18px; }
  .spec-table th, .spec-table td { padding: 9px 10px; font-size: 13px; }
}
@media (max-width: 380px) {
  .category-showcase-image { height: 120px; }
  .category-showcase-copy { padding: 10px; }
  .category-showcase-copy h3 { font-size: 14px; }
}
@media (min-width: 901px) {
  .site-header { z-index: 100; }
  .nav-category-dropdown { z-index: 121; }
  .header-inner .header-nav > a,
  .header-inner .nav-category-toggle {
    display: inline-flex;
    height: 42px;
    align-items: center;
    box-sizing: border-box;
    line-height: 24px;
  }
  .header-inner .nav-category-toggle { padding: 9px 3px; }
  .nav-category-menu { z-index: 122; }
  .nav-category-dropdown:hover > .nav-category-menu,
  .nav-category-dropdown:focus-within > .nav-category-menu,
  .nav-category-dropdown.is-open > .nav-category-menu {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* Phone-first adjustments for 375px-wide screens. Kept last to override broader breakpoints. */
@media (max-width: 375px) {
  .nav-toggle { display: flex; }
  .header-inner .header-nav { display: none; grid-column: 1 / -1; }
  .header-inner .header-nav.is-open { display: flex; }
  .header-inner .header-nav a,
  .nav-category-toggle { min-height: 44px; padding: 11px 8px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #hotProducts { grid-template-columns: minmax(0, 1fr); }
  #hotProducts .img-wrap { height: 220px; }
}

/* TRAKON palette overrides shared by desktop, mobile, and embedded page styles. */
body {
  color: var(--text-main);
  background: var(--bg-light);
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
}

.site-header {
  background: var(--brand-dark);
  border-bottom-color: var(--brand-dark);
}
.top-strip { background: var(--brand-dark); }
.topbar-logo .logo-text,
.topbar-logo .logo-slogan { color: #fff; }
.header-inner .header-nav > a,
.header-inner .nav-category-toggle {
  color: #fff;
  transition: color .2s ease, background-color .2s ease;
}
.header-inner .header-nav > a:hover,
.header-inner .header-nav > a.active,
.header-inner .nav-category-toggle:hover,
.header-inner .nav-category-toggle[aria-expanded="true"] {
  background: transparent;
  color: var(--brand-orange);
}
.nav-toggle { border-color: rgba(255,255,255,.35); background: transparent; color: #fff; }
.header-inner .search-box input { border-color: var(--line); }
.header-inner .search-box input:focus { border-color: var(--brand-orange); }

.header-nav a.btn-quote,
.header-nav a.btn-quote:hover,
.header-quote,
.header-nav a.btn-quote:hover,
.header-quote:hover,
.search-box button,
.search-box button:hover,
.buy-btn,
.buy-btn:hover,
.btn-primary,
.btn-primary:hover,
.btn-big,
.btn-big:hover,
.btn-quote-lg,
.quote-submit,
.banner-cta,
.banner-cta:hover,
.cm-contact-submit,
.cm-contact-submit:hover {
  background: var(--brand-orange);
  color: #fff;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.header-quote:hover,
.search-box button:hover,
.buy-btn:hover,
.btn-primary:hover,
.btn-big:hover,
.btn-quote-lg:hover,
.quote-submit:hover,
.banner-cta:hover,
.cm-contact-submit:hover { background: #e06c14; }
.btn-secondary,
.btn-outline {
  border: 1px solid var(--brand-dark);
  background: transparent;
  color: var(--brand-dark);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-secondary:hover,
.btn-outline:hover { background: var(--brand-dark); color: #fff; }

.news-sidebar .side-title {
  margin-bottom: 8px;
  padding: 12px 14px;
  border-bottom: 2px solid var(--brand-dark);
  background: var(--bg-light);
  color: var(--brand-dark);
  font-size: 17px;
  font-weight: 800;
}
.news-sidebar .side-head:not(.on) { background: transparent; color: var(--text-main); }
.news-sidebar .side-head:not(.on):hover { background: transparent; color: var(--brand-orange); }
.news-sidebar .side-head.on { background: var(--brand-dark); color: #fff; }

.section-head h1,
.section-head h2,
.section-head h3,
.detail-title,
.detail-panel h2,
.detail-panel h3,
.news-archive-heading h1,
.news-archive-copy h2,
.news-article-header h1,
.news-article-content h2,
.news-article-content h3,
.category-showcase-copy h3,
.category-showcase-link { color: var(--brand-dark); }
.footer-title { color: #fff; }
.category-showcase-card:hover,
.category-showcase-card:focus-visible { border-color: var(--brand-orange); }
.category-showcase-link {
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--brand-orange);
  color: #fff;
}
.category-showcase-link:hover { background: #e06c14; color: #fff; }
.tag { background: var(--brand-orange); color: #fff; }
.certificate-mark:not(.certificate-mark-patent) { border-color: var(--success-green); color: var(--success-green); }
.certificate-mark-patent { border-color: var(--brand-orange); color: var(--brand-orange); }

.site-footer { background: var(--brand-dark); color: #fff; }
.footer-contact a:hover,
.footer-list a:hover,
.footer-legal a:hover,
.footer-socials a:hover { color: var(--brand-orange); }
.form-note { color: var(--success-green); }
.form-note.error { color: var(--alert-red); }
.cm-contact-status { color: var(--success-green) !important; }
.cm-contact-status.is-error { color: var(--alert-red) !important; }
.quote-form input,
.quote-form textarea,
.cm-contact-field input,
.cm-contact-field textarea,
.cm-contact-field select { border-color: var(--text-muted); }
.quote-form input:focus,
.quote-form textarea:focus,
.cm-contact-field input:focus,
.cm-contact-field textarea:focus,
.cm-contact-field select:focus { border-color: var(--brand-orange) !important; outline-color: rgba(245,124,32,.2) !important; }
.quote-form input,
.quote-form textarea,
.cm-contact-field input,
.cm-contact-field textarea,
.cm-contact-field select { border-color: var(--line) !important; color: var(--text-main) !important; }
.cm-contact .cm-contact-submit:hover,
.cm-about .home-cta-inner .btn-big:hover { background: #e06c14 !important; }
.cm-contact .cm-contact-submit { background: var(--brand-orange) !important; }
.cm-contact-field input:focus,
.cm-contact-field textarea:focus,
.cm-contact-field select:focus { border-color: var(--brand-orange) !important; outline: 2px solid rgba(245,124,32,.2) !important; }

body .cm-about { --cm-navy: var(--brand-dark); --cm-blue: var(--brand-dark); --cm-light: var(--bg-light); color: var(--text-main); }
body .cm-contact { --cm-navy: var(--brand-dark); --cm-accent: var(--brand-orange); color: var(--text-main); }
.cm-about-banner h1,
.cm-contact-hero h1,
.news-archive-banner h1,
.news-detail-banner h1 { color: var(--brand-dark) !important; }
.cm-about-banner::before,
.cm-contact-hero::before { background: rgba(244,246,248,.82) !important; }
.news-archive-banner,
.news-detail-banner {
  border-bottom-color: var(--text-muted) !important;
  background-color: var(--bg-light) !important;
  background-blend-mode: screen;
}
.news-archive-banner p,
.news-archive-banner nav,
.news-detail-banner p,
.news-detail-banner nav { color: var(--text-main) !important; }
.news-archive-banner a,
.news-detail-banner a { color: var(--brand-dark) !important; }
.news-archive-banner a:hover,
.news-detail-banner a:hover { color: var(--brand-orange) !important; }
.cm-about-banner { border-bottom-color: var(--text-muted) !important; }
.cm-about-banner-subtitle,
.cm-about-breadcrumb,
.cm-contact-hero-subtitle,
.cm-contact-hero .breadcrumb { color: var(--text-main) !important; }
.cm-about-breadcrumb a,
.cm-contact-hero .breadcrumb a { color: var(--brand-dark) !important; }
.cm-about-breadcrumb a:hover,
.cm-contact-hero .breadcrumb a:hover { color: var(--brand-orange) !important; }
.cm-about :is(h2, h3, .cm-about-brand),
.cm-contact :is(h2, .cm-contact-info strong) { color: var(--brand-dark) !important; }
.cm-about :is(.cm-about-heading p, .cm-about-advantage p, .cm-about-gallery figcaption, .cm-about-image-missing),
.cm-contact :is(.cm-contact-lead, .cm-contact-info a, .cm-contact-info span, .cm-contact-map p) { color: var(--text-muted) !important; }
.cm-about .cm-about-copy p,
.news-article-content { color: var(--text-main) !important; }
.cm-contact-field input:focus,
.cm-contact-field textarea:focus,
.cm-contact-field select:focus { outline-color: rgba(245,124,32,.2) !important; }
.cm-contact-map-mark { background: var(--brand-dark); }
.cm-about .home-cta-band { background: var(--brand-dark); }
/* 侧边栏子分类增强样式 */
.side-group:last-child {
  border-bottom: none;
}

.side-head.on {
  background: var(--primary); 
  color: #fff; 
  border-radius: 6px;
}

/* 确保箭头在小型挖掘机标题中正确对齐 */
.side-head[data-category="mini-excavators"] {
  position: relative;
  padding-left: 12px;
}

.side-arrow {
  position: relative;
}

/* 子分类缩进动画 */
.side-sub {
  animation: fadeInUp 0.3s ease forwards;
  opacity: 0;
  transform: translateY(-5px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 为侧边栏添加响应式样式 */
@media (max-width: 768px) {
  .sidebar {
    position: static;
    width: 100%;
    margin-bottom: 20px;
  }
  
  .side-group.open .side-subs {
    max-height: 300px;
  }
}

@media (min-width: 701px) and (max-width: 768px) {
  .sidebar { width: 250px; flex: 0 0 250px; }
  .main-col { width: auto; }
}

/* 确保产品数量显示正确 */
.side-head span,
.side-sub span {
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
}

.side-head.on span,
.side-sub.on span {
  background: rgba(255,255,255,0.2);
}

/* 鼠标悬停效果改进 */
.side-head:hover .side-arrow {
  border-color: var(--primary);
}

.side-group.open .side-head .side-arrow {
  border-color: var(--accent);
}

/* 侧边栏整体改进 */
.sidebar {
  box-shadow: var(--shadow);
}

.side-title {
  font-size: 18px;
  padding-bottom: 12px;
  margin-bottom: 12px;
}
.cm-about .home-cta-inner .btn-big:hover { background: #e06c14; }

.banner-mask { background: linear-gradient(90deg, rgba(244,246,248,.58), rgba(244,246,248,.4) 60%, rgba(244,246,248,.18)) !important; }
.banner-inner,
.banner-title,
.banner-sub { color: var(--brand-dark) !important; }
.hero-full .banner-cta { background: var(--brand-orange); color: #fff; }
.hero-full .banner-cta:hover { background: #e06c14; color: #fff; }
.home-layout .industry-news-card h3 a:hover { color: var(--brand-orange) !important; }
.home-layout .home-cta-band .btn-primary:hover { background: #e06c14 !important; }
.cat-nav .cat-nav-item:hover .machine-icon { filter: none !important; }
.site-footer :is(.footer-title, .footer-description, .footer-contact a, .footer-address, .footer-list a, .footer-tagline, .footer-bottom, .footer-legal a, .footer-socials a) { color: #fff; }
.footer-address { display: block; max-width: 300px; color: rgba(255,255,255,.72); font-size: 12.5px; line-height: 1.6; }

/* 详情页买家视角提示条 */
.detail-buyer-note { margin-top: 14px; padding: 14px 16px; border-left: 3px solid #F57C20; border-radius: 0 4px 4px 0; background: #FAFAF8; }
.detail-buyer-note p { margin: 0 0 6px; color: #55595E; font-size: 13px; line-height: 1.7; }
.detail-buyer-note p:last-child { margin-bottom: 0; }
.detail-buyer-note strong { color: #212529; }

/* 产品卡片上的一句"适用场景" */
.product-useline { display: block; margin: 2px 0 7px; color: #7A828A; font-size: 12px; line-height: 1.55; }
.product-card-remote-mower .product-useline { margin-top: 4px; }

/* 首页「我们怎么做事」四步 */
.howwework-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.howwework-step { position: relative; min-width: 0; padding: 26px 22px 24px; border: 1px solid #E5E7E9; border-radius: 6px; background: #fff; box-shadow: 0 6px 20px rgba(33,37,41,.06); }
.howwework-num { display: block; margin-bottom: 12px; color: #F57C20; font-size: 22px; font-weight: 800; letter-spacing: 1px; line-height: 1; }
.howwework-step h3 { margin: 0 0 10px; color: #212529; font-size: 16px; font-weight: 700; line-height: 1.5; }
.howwework-step p { margin: 0; color: #868E96; font-size: 13.5px; line-height: 1.75; }
@media (max-width: 900px) { .howwework-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .howwework-grid { grid-template-columns: 1fr; } }

/* Trade terms panel (product / series detail) */.detail-terms-panel .trade-terms-sub { margin-left: 6px; color: #868E96; font-size: 12px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; }
.trade-terms-table-wrap { overflow-x: auto; }
.trade-terms-table th { width: 34%; min-width: 180px; background: #F4F6F8; color: #212529; font-weight: 700; text-align: left; }
.trade-terms-table th, .trade-terms-table td { padding: 12px 14px; border: 1px solid #E5E7E9; font-size: 14px; line-height: 1.65; vertical-align: top; }
.trade-terms-table td { color: #333; }
.trade-terms-note { margin: 14px 0 20px; color: #868E96; font-size: 12.5px; line-height: 1.7; }
.trade-terms-note-en { display: inline-block; margin-left: 4px; color: #ADB5BD; }
.trade-terms-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trade-terms-actions .btn-whatsapp,
.trade-terms-actions .btn-contact-link { display: inline-flex; align-items: center; padding: 12px 24px; border-radius: 4px; font-size: 14px; font-weight: 700; text-decoration: none; transition: background .2s ease; }
.trade-terms-actions .btn-whatsapp { background: #25D366; color: #fff; }
.trade-terms-actions .btn-whatsapp:hover { background: #1EBE5B; }
.trade-terms-actions .btn-contact-link { border: 1px solid #212529; color: #212529; }
.trade-terms-actions .btn-contact-link:hover { background: #212529; color: #fff; }
.footer-contact a:hover,
.footer-list a:hover,
.footer-legal a:hover,
.site-footer .footer-socials a:hover { color: var(--brand-orange); }
a,
button { transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
/* 详情页内联提示句 */
.detail-note-inline { margin: 12px 0 0; color: #7A828A; font-size: 13px; line-height: 1.7; }

.list-page-title{margin:0 0 8px;color:#212529;font-size:clamp(22px,3vw,30px);font-weight:800;line-height:1.25}

/* English export front end: hide the duplicate detail panels, keep the pair matching the current language */
html:not([lang="zh"]) .detail-panel[lang="zh-CN"],
html:not([lang="zh"]) .detail-intro[lang="zh-CN"],
html:not([lang="zh"]) .detail-buyer-note[lang="zh-CN"],
html:not([lang="zh"]) .detail-title[lang="zh-CN"] { display: none !important; }
html[lang="zh"] .detail-panel[lang="en"],
html[lang="zh"] .detail-intro[lang="en"],
html[lang="zh"] .detail-buyer-note[lang="en"],
html[lang="zh"] #seriesPanelEn,
html[lang="zh"] #specPanelEn { display: none !important; }


/* ---- language switcher ---- */
.lang-switcher{position:relative;margin-left:12px;flex:0 0 auto}
.lang-toggle{display:inline-flex;align-items:center;gap:6px;background:transparent;border:1px solid rgba(255,255,255,.3);color:#fff;border-radius:6px;padding:5px 10px;font:700 12px/1 inherit;letter-spacing:.05em;cursor:pointer}
.lang-toggle svg{fill:none;stroke:currentColor;stroke-width:2;opacity:.9}
.lang-native{font-weight:500;opacity:.85;letter-spacing:0}
.lang-menu{position:absolute;top:calc(100% + 6px);right:0;min-width:170px;background:#fff;border-radius:8px;box-shadow:0 12px 32px rgba(0,0,0,.18);padding:6px;margin:0;list-style:none;display:none;z-index:1300}
.lang-switcher.open .lang-menu{display:block}
.lang-menu a{display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:6px;color:#212529;text-decoration:none;font-size:13px}
.lang-menu a:hover,.lang-menu a.current{background:#f1f3f5;color:#f57c20}
.lang-code{font-weight:800;letter-spacing:.05em;min-width:26px}
@media (max-width:820px){.lang-native{display:none}.lang-switcher{margin-left:8px}}

/* Language switcher: keep it beside the quote button on small screens */
@media (max-width:900px){
  .topbar-inner{grid-template-columns:minmax(0,1fr) auto auto}
  .topbar-inner .top-contact-list{grid-column:1/-1;grid-row:2}
  .topbar-inner .lang-switcher{grid-column:2;grid-row:1;justify-self:end;margin-left:0}
  .topbar-inner .header-quote{grid-column:3;grid-row:1;width:auto}
}
@media (max-width:560px){
  .topbar-inner .lang-native{display:none}
  .lang-toggle{padding:4px 8px}
}

/* Language switcher: guarantee it sits above the header and is always clickable */
.top-strip{position:relative;z-index:9999}
.lang-menu{top:calc(100% + 22px);z-index:2147483000}
.lang-toggle{gap:7px}
.lang-toggle .caret{display:inline-block;width:0;height:0;margin-left:2px;border-top:4px solid currentColor;border-right:4px solid transparent;border-left:4px solid transparent;opacity:.75}
.lang-switcher.open .lang-toggle .caret{transform:rotate(180deg)}

/* Bilingual banner subtitle */
.banner-sub-zh{display:block;margin-top:6px;font-size:.9em;line-height:1.5;color:rgba(255,255,255,.88);text-shadow:0 1px 3px rgba(0,0,0,.45)}
@media (max-width:700px){ .banner-sub-zh{font-size:.85em;margin-top:5px} }

/* Footer compact pass (2026-11-27) */
.site-footer { padding: 44px 0 0; }
.footer-grid { gap: 32px; padding-bottom: 30px; }
.footer-title { font-size: 15px; margin: 0 0 14px; }
.footer-description { font-size: 13px; line-height: 1.7; margin: 0 0 14px; max-width: 380px; color: rgba(255,255,255,.84); }
.footer-contact { display: grid; gap: 4px; margin-bottom: 12px; }
.footer-list { display: grid; gap: 6px; }
.footer-list a { line-height: 1.5; }
.footer-socials { margin: 0; }
.footer-bottom { min-height: 56px; }
@media (max-width: 782px) {
  .footer-grid { gap: 26px; }
  .footer-description { max-width: none; }
}

/* Keep footer legal clear of the floating chat bubble */
@media (min-width: 783px) {
  .footer-bottom { padding-right: 104px; }
}

/* Footer legal: clear the floating contact rail (wider allowance) */
@media (min-width: 783px) {
  .footer-bottom { padding-right: 172px; }
}

/* RTL polish: keep phone numbers and addresses LTR-readable */
html[dir="rtl"] .top-contact-item span,
html[dir="rtl"] .footer-contact a,
html[dir="rtl"] .footer-address { direction: ltr; unicode-bidi: isolate; white-space: nowrap; }

/* Never let the top bar wrap contact details onto several lines */
.top-contact-item span { white-space: nowrap; }
.top-contact-item { flex: 0 0 auto; }

/* Banner subtitle legibility over bright hero photos */
.banner-sub { opacity: 1; text-shadow: 0 1px 3px rgba(0,0,0,.62), 0 3px 14px rgba(0,0,0,.42); }

/* Narrow screens: drop the least critical top-bar contacts before they overlap the brand */
@media (max-width: 1280px) {
  .top-strip a[href^="mailto:"] { display: none; }
}
@media (max-width: 1120px) {
  .top-strip a[href*="wa.me"] { display: none; }
  .top-strip .top-contact-item span { font-size: 13px; }
}

/* Unified category card typography (artwork carries no baked-in text) */
.category-showcase-image { height: 186px; }
.category-showcase-copy h3 { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 800; line-height: 1.3; margin: 6px 0 8px; letter-spacing: -.01em; }
.category-showcase-copy h3::before { content: ""; width: 20px; height: 3px; border-radius: 2px; background: var(--accent); flex: 0 0 20px; }

/* Equal-height category cards with a fixed two-line title block */
.category-showcase-card { display: flex; flex-direction: column; height: 100%; }
.category-showcase-card .category-showcase-copy { display: flex; flex-direction: column; flex: 1 1 auto; }
.category-showcase-card .category-showcase-link { margin-top: auto; }
.category-showcase-copy h3 { font-size: 16px; min-height: 3.95em; align-items: flex-start; }
.category-showcase-copy h3::before { margin-top: .45em; }

/* Quick-contact rail: on wide screens tuck it to the edge so it never covers the text column; on phones reserve room above it. */
@media (min-width: 900px) {
  .floating-contact { transform: translateX(calc(100% - 22px)); transition: transform .18s ease; }
  .floating-contact:hover,
  .floating-contact:focus-within { transform: translateX(0); }
}
@media (max-width: 899px) {
  body { padding-bottom: 74px; }
  .floating-contact { box-shadow: 0 -6px 18px rgba(33,37,41,.16); }
  .floating-contact:focus-within { transform: none; }
}

/* === 2026-11-27 audit fixes: responsive containment and quick-contact visibility === */
html, body { max-width: 100%; overflow-x: hidden; }
.topbar-inner,
.topbar-logo,
.topbar-logo .logo-text,
.header-inner,
.header-inner > *,
.category-grid > *,
.product-grid > *,
.cat-nav-item { min-width: 0; }
.banner-inner { max-width: 100%; }
.banner-title,
.banner-sub { overflow-wrap: anywhere; word-break: break-word; }
@media (min-width: 900px) {
  .floating-contact { transform: none !important; }
}
@media (max-width: 600px) {
  body { padding-bottom: 0; }
  .floating-contact {
    position: static;
    right: auto;
    bottom: auto;
    left: auto;
    width: auto;
    max-width: none;
    margin: 16px 12px 24px;
    box-shadow: none;
  }
  #tk-ai { bottom: 12px; }
  .topbar-logo .logo-text { white-space: normal; overflow-wrap: anywhere; }
}
/* ===== 页脚精简 · 2026-11-27 =====
   原 4 列（公司 / Quick Links 5 项 / 分类 8 项 / Export Services 4 项）+ 底部 4 个法务链接
   改为 3 列（公司 / 分类 8 项 / Quick Links 5 项）+ 底部 2 个法务链接；
   手机端两列紧凑、隐藏长文案与地址，页脚高度约减半。 */
.site-footer { padding: 44px 0 0; }
.footer-grid { grid-template-columns: 1.55fr 1fr 0.95fr; gap: 40px; padding-bottom: 28px; align-items: start; }
.footer-company { min-width: 0; }
.footer-company .footer-title { font-size: 19px; letter-spacing: 0; text-transform: none; margin: 0 0 10px; }
.footer-title { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; margin: 0 0 13px; opacity: .9; }
.footer-description { font-size: 12.5px; line-height: 1.65; margin: 0 0 12px; max-width: 330px; color: rgba(255,255,255,.82); }
.footer-contact { gap: 4px; margin: 0 0 10px; }
.footer-contact a, .footer-list a, .footer-legal a { font-size: 12.5px; }
.footer-list { gap: 7px; }
.footer-socials { margin: 0 0 10px; gap: 8px; }
.footer-socials a { width: 30px; height: 30px; }
.footer-address { font-size: 11.5px; max-width: 280px; }
.footer-bottom { min-height: 54px; font-size: 11.5px; }

@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; }
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr .85fr; gap: 22px; text-align: left; }
  .footer-company { grid-column: auto; }
  .footer-description { max-width: none; }
  .footer-socials { justify-content: flex-start; }
  /* 底部固定联系条/悬浮咨询按钮会压住版权行，留出让位空白并左对齐两行 */
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; min-height: 0; padding: 0 0 62px; }
  .footer-legal { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .site-footer { padding-top: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; padding-bottom: 20px; text-align: left; }
  .footer-company { grid-column: 1 / -1; }
  .footer-company .footer-title { font-size: 17px; }
  .footer-title { font-size: 11px; margin-bottom: 9px; }
  .footer-description { display: none; }
  .footer-list { gap: 5px; }
  .footer-list a, .footer-contact a { font-size: 12px; }
  .footer-contact { margin-bottom: 8px; }
  .footer-address { display: none; }
  .footer-bottom { flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px 0 70px; min-height: 0; text-align: center; }
  .footer-legal { justify-content: center; }
}
