:root {
  --bg: #ffffff;
  --surface: #f5f7fa;
  --fg: #222222;
  --muted: #888888;
  --border: #ced3d9;
  --accent: #1470cc;
  --accent-red: #e64545;
  --accent-red-deep: #d92121;
  --shadow: 0 2px 8px rgba(0,33,66,0.12);
  --shadow-lg: 0 4px 16px rgba(0,33,66,0.15);
  --radius: 3px;
  --font: Roboto, Arial, "Microsoft Yahei", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", sans-serif;
  --mono: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1250px;
}
*,*::before,*::after { box-sizing: border-box; }
html,body { margin: 0; padding: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 14px; line-height: 1.5; }
a { color: var(--accent); }
a:hover { color: var(--accent-red); }
button,input,select,textarea { font-family: inherit; font-size: inherit; }
img { max-width: 100%; display: block; height: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 12px; }

.topbar { background: var(--surface); border-bottom: 1px solid var(--border); font-size: 12px; color: var(--muted); letter-spacing: 0.01em; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 32px; gap: 12px; flex-wrap: wrap; }
.topbar a { color: var(--muted); }
.topbar a:hover { color: var(--accent-red); }
.topbar-right { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.site-header { background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px 0 14px; position: sticky; top: 0; z-index: 40; }
.header-row { display: grid; grid-template-columns: 180px 1fr auto; gap: 16px; align-items: center; }
.logo a { display: flex; align-items: center; gap: 4px; text-decoration: none; color: var(--fg); }
.logo img { height: 36px; width: auto; }
.logo-text { font-weight: 700; font-size: 13px; color: var(--fg); line-height: 1.2; margin-top: 2px; }
.search-box { display: flex; border: 2px solid var(--accent-red); border-radius: var(--radius); overflow: hidden; background: var(--bg); height: 42px; flex: 1; }
.search-box select { border: 0; border-right: 1px solid var(--border); background: var(--surface); padding: 0 8px; color: var(--fg); min-width: 88px; outline: none; }
.search-box input { flex: 1; border: 0; padding: 0 12px; outline: none; min-width: 0; color: var(--fg); }
.search-box input::placeholder { color: var(--muted); }
.search-box button { border: 0; background: var(--accent-red); color: #fff; padding: 0 22px; font-weight: 500; letter-spacing: 0.02em; cursor: pointer; white-space: nowrap; }
.search-box button:hover { background: var(--accent-red-deep); }
.search-box .search-icon { display: none; }
.search-cart-wrap { display: flex; align-items: center; gap: 10px; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.cart-btn { position: relative; }
.cart-count { position: absolute; top: -6px; right: -6px; background: var(--accent-red); color: #fff; font-size: 11px; min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-weight: 700; padding: 0 4px; }
.mobile-toggle { display: none; border: 1px solid var(--border); background: var(--bg); border-radius: var(--radius); padding: 6px 8px; cursor: pointer; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg); color: var(--fg); cursor: pointer; font-weight: 500; letter-spacing: 0.02em; white-space: nowrap; text-decoration: none; }
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline-blue { border-color: var(--accent); color: var(--accent); }
.btn-outline-blue:hover { background: #eef5fc; color: var(--accent); }
.btn-red { background: var(--accent-red); border-color: var(--accent-red); color: #fff; }
.btn-red:hover { background: var(--accent-red-deep); border-color: var(--accent-red-deep); color: #fff; }
.btn-blue { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-blue:hover { background: #0f5fad; color: #fff; }
.btn-lg { min-height: 44px; padding: 0 24px; font-size: 15px; }
.btn-sm { min-height: 32px; padding: 0 10px; font-size: 12px; }

.nav-bar { background: var(--bg); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; gap: 4px; overflow-x: auto; min-height: 40px; align-items: center; }
.nav-inner a { padding: 10px 12px; color: var(--fg); font-weight: 500; font-size: 13px; white-space: nowrap; letter-spacing: 0.01em; text-decoration: none; }
.nav-inner a:hover, .nav-inner a.is-active { color: var(--accent-red); }

.crumb { padding: 10px 0; font-size: 12px; color: var(--muted); letter-spacing: 0.01em; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--accent); }
.crumb span { margin: 0 6px; color: #bbb; }

.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding: 32px 0 20px; margin-top: 24px; font-size: 12px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.footer-col h4 { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--fg); letter-spacing: 0.01em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a { color: var(--muted); text-decoration: none; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 8px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid var(--border); border-radius: var(--radius); color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 700; }
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-bottom { text-align: center; font-size: 12px; }

@media (max-width: 960px) {
  .header-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
  .logo { flex: 0 0 auto; }
  .search-cart-wrap { flex: 1; min-width: 160px; }
  .header-actions { flex: 0 0 auto; }
  .topbar { display: none; }
  .nav-bar { display: none; }
  .mobile-toggle { display: none; }
  .crumb { display: none; }
  .header-actions .btn-outline-blue { display: none; }
  .site-footer .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  .search-box select { display: none; }
  .search-box button { padding: 0 12px; }
  .search-text { display: none; }
  .search-box .search-icon { display: block; }
}

.archive-page { display: grid; grid-template-columns: 320px 900px; gap: 16px; padding-bottom: 48px; align-items: start; }
.filters { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; position: sticky; top: 88px; align-self: start; }
.filters h3 { margin: 0 0 10px; font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.filter-group { border-top: 1px solid var(--border); padding: 12px 0; }
.filter-group:first-of-type { border-top: 0; padding-top: 0; }
.filter-group h4 { margin: 0 0 8px; font-size: 13px; font-weight: 500; color: var(--fg); }
.filter-group label { display: flex; align-items: flex-start; gap: 8px; padding: 4px 0; font-size: 13px; color: var(--fg); cursor: pointer; line-height: 1.35; }
.filter-group input { margin-top: 2px; accent-color: var(--accent); }
.filter-group .count { color: var(--muted); font-size: 12px; margin-left: auto; }
.filter-group .cat-list { max-height: 220px; overflow-y: auto; display: block; }
.cat-item { }
.cat-parent { display: flex; align-items: center; gap: 4px; }
.cat-toggle { flex-shrink: 0; width: 18px; height: 18px; margin-top: 0; padding: 0; border: none; background: none; cursor: pointer; position: relative; }
.cat-toggle::before { content: ''; position: absolute; inset: 4px; border-left: 5px solid var(--muted); border-top: 4px solid transparent; border-bottom: 4px solid transparent; transition: transform .15s ease; }
.cat-toggle.is-open::before { transform: rotate(90deg); }
.cat-link { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 13px; color: var(--fg); text-decoration: none; line-height: 1.35; flex: 1; min-width: 0; }
.cat-link:hover { color: var(--accent-red); }
.cat-link.is-active { color: var(--accent-red); font-weight: 700; }
.cat-link .count { margin-left: auto; color: var(--muted); font-size: 12px; }
.cat-children { display: none; padding-left: 22px; }
.cat-children.is-open { display: block; }
.cat-children .cat-link { font-size: 12px; padding: 3px 0; }
.spec-filter-group { margin-bottom: 8px; }
.spec-filter-label { margin: 0 0 3px; font-size: 12px; font-weight: 600; color: var(--fg); background: var(--surface); padding: 6px 8px; border-radius: var(--radius); letter-spacing: 0.01em; display: flex; align-items: center; justify-content: space-between; }
.spec-filter-values { display: flex; flex-direction: column; }
.spec-filter-values .cat-link { font-size: 12px; padding: 2px 0; display: flex; align-items: center; gap: 6px; }
.spec-filter-link::before { content: ''; width: 14px; height: 14px; border: 2px solid var(--border); border-radius: 3px; flex-shrink: 0; box-sizing: border-box; }
.spec-filter-link.is-active::before { content: '✓'; width: 14px; height: 14px; border-color: var(--accent-red, #c00); background: var(--accent-red, #c00); color: #fff; font-size: 11px; line-height: 14px; text-align: center; border-radius: 3px; flex-shrink: 0; box-sizing: border-box; }
.filter-clear { font-size: 10px; font-weight: 400; color: var(--accent-red); text-decoration: none; text-transform: none; letter-spacing: 0; }
.filter-clear:hover { text-decoration: underline; }
.filter-group h4 { display: flex; align-items: center; gap: 8px; }
.filter-group h4 .filter-clear { font-weight: 400; font-size: 11px; margin-left: auto; }
.range-row { display: flex; gap: 6px; align-items: center; }
.range-row input { width: 100%; border: 1px solid var(--border); border-radius: var(--radius); padding: 6px 8px; min-height: 32px; }
.filter-apply { width: 100%; margin-top: 8px; }

.main-col { min-width: 0; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 10px; margin-bottom: 12px; }
.toolbar .chip { border: 1px solid var(--border); background: var(--bg); border-radius: 16px; padding: 4px 10px; font-size: 12px; cursor: pointer; color: var(--fg); letter-spacing: 0.01em; }
.toolbar .chip.is-on, .toolbar .chip:hover { border-color: var(--accent); color: var(--accent); }
.toolbar .spacer { flex: 1; }
.toolbar select { border: 1px solid var(--border); border-radius: var(--radius); padding: 6px 8px; background: var(--bg); min-height: 32px; }

.plist { display: flex; flex-direction: column; gap: 10px; }
.pcard { display: grid; grid-template-columns: 168px 1fr 180px; gap: 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); padding: 12px; transition: box-shadow .15s ease, border-color .15s ease; }
.pcard:hover { border-color: #b8c2cc; box-shadow: var(--shadow); }
.pcard-media { position: relative; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); aspect-ratio: 1; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.pcard-media img { width: 100%; height: 100%; object-fit: contain; }
.pcard-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.pcard-title { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-title a { color: var(--fg); text-decoration: none; }
.pcard-title a:hover { color: var(--accent-red); }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; font-size: 12px; color: var(--muted); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; color: var(--fg); font-family: var(--mono); font-size: 12px; letter-spacing: 0.01em; }
.supplier { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: auto; padding-top: 6px; font-size: 12px; }
.supplier-name { color: var(--accent); font-weight: 500; text-decoration: none; }
.supplier-name:hover { color: var(--accent-red); }
.badge { height: 20px; width: auto; display: inline-block; vertical-align: middle; }
.meta-dot { color: #ccc; }
.years { color: var(--muted); }
.pcard-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.price { font-size: 16px; font-weight: 700; color: var(--accent-red); letter-spacing: -0.01em; }
.price small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.moq { font-size: 12px; color: var(--muted); }
.side-actions { display: flex; flex-direction: column; gap: 6px; width: 100%; margin-top: auto; }
.side-actions .btn { width: 100%; min-height: 34px; font-size: 13px; text-decoration: none; }
.tag-row { display: flex; flex-wrap: wrap; gap: 4px; }
.tag { font-size: 11px; letter-spacing: 0.02em; color: #555; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1px 6px; }

.pager { display: flex; justify-content: center; gap: 6px; margin-top: 18px; flex-wrap: wrap; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; border: 1px solid var(--border); background: var(--bg); border-radius: var(--radius); cursor: pointer; color: var(--fg); text-decoration: none; font-size: 13px; }
.pager a:hover, .pager span.current { border-color: var(--accent); color: var(--accent); }
.pager span.dots { border: none; cursor: default; color: var(--muted); }

.mobile-filter-btn { display: none; }
.filters-overlay { display: none; }

@media (max-width: 960px) {
  .archive-page { grid-template-columns: 1fr; }
  .filters { display: none; }
  .filters-overlay { display: none; }
  .mobile-filter-btn { display: none; }
  .plist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .pcard { grid-template-columns: 1fr; gap: 8px; padding: 10px; }
  .pcard-media { max-width: 100%; }
  .pcard-title { font-size: 13px; -webkit-line-clamp: 2; }
  .specs { display: none; }
  .moq { display: none; }
  .side-actions { display: none; }
}
@media (max-width: 520px) {
  .plist { grid-template-columns: 1fr; }
  .pcard-media { max-width: 220px; margin: 0 auto; width: 100%; }
}

.product-title { margin: 0 0 8px; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.detail-main { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.detail-main-left { min-width: 0; }
.detail-main-right { display: flex; flex-direction: column; gap: 16px; }

.gallery { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); padding: 12px; }
.gallery-main { aspect-ratio: 1; max-width: 480px; margin: 0 auto; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.gallery-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.gallery-thumbs button { width: 52px; height: 52px; border: 2px solid var(--border); border-radius: var(--radius); background: var(--bg); padding: 3px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.gallery-thumbs button.is-on { border-color: var(--accent); }
.gallery-thumbs button img { max-width: 100%; max-height: 100%; object-fit: contain; }

.info-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.info-card-body { padding: 16px; }
.info-card-body .price { font-size: 22px; font-weight: 700; color: var(--accent-red); letter-spacing: -0.01em; }
.info-card-body .price small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 4px; }
.info-card-body .moq { font-size: 13px; color: var(--muted); margin-top: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.info-card-body .moq strong { color: var(--fg); font-family: var(--mono); font-weight: 500; }
.info-card-actions { padding: 12px 16px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.info-card-actions .btn { width: 100%; text-decoration: none; }

.specs-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; font-size: 13px; }
.specs-grid .spec-item { display: flex; border-bottom: 1px solid var(--border); }
.specs-grid .spec-item:last-child { border-bottom: 0; }
.specs-grid .spec-item:nth-child(3n+2),
.specs-grid .spec-item:nth-child(3n+3) { border-left: 1px solid var(--border); }
.specs-grid .spec-label { font-weight: 500; color: var(--muted); background: var(--surface); padding: 8px 12px; min-width: 200px; font-size: 12px; letter-spacing: 0.01em; border-right: 1px solid var(--border); }
.specs-grid .spec-value { padding: 8px 12px; color: var(--fg); flex: 1; }

.supplier-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); margin-top: 16px; }
.supplier-card-body { padding: 16px; }
.supplier-card h3 { margin: 0 0 12px; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.supplier-info { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.supplier-info .row { display: grid; grid-template-columns: 100px 1fr; gap: 8px; color: var(--muted); }
.supplier-info .row span:last-child { color: var(--fg); }
.supplier-badges { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.supplier-badges .badge { height: 24px; width: auto; }
.contact-supplier { margin-top: 14px; }

.related { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.related h2 { margin: 0 0 16px; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.rp-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); padding: 10px; }
.rp-card:hover { border-color: #b8c2cc; box-shadow: var(--shadow); }
.rp-media { aspect-ratio: 1; max-width: 160px; margin: 0 auto; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--bg); }
.rp-media img { width: 100%; height: 100%; object-fit: contain; }
.rp-title { margin: 8px 0 4px; font-size: 13px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rp-title a { color: var(--fg); text-decoration: none; }
.rp-title a:hover { color: var(--accent-red); }
.rp-price { font-size: 14px; font-weight: 700; color: var(--accent-red); letter-spacing: -0.01em; }

.tab-bar { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.tab-bar a { padding: 10px 16px; font-size: 13px; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; text-decoration: none; }
.tab-bar a.is-on { color: var(--fg); border-bottom-color: var(--accent-red); }
.tab-bar a:hover { color: var(--fg); }

.tab-content { padding-bottom: 16px; }
.tab-content-main { min-width: 0; }

.product-images { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.product-images img { width: 100%; border: 1px solid var(--border); border-radius: var(--radius); }

.company-profile { margin-top: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.company-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface); }
.company-header-label { font-size: 14px; font-weight: 700; color: var(--fg); letter-spacing: 0.08em; }
.company-header-link { font-size: 12px; color: var(--accent); font-weight: 500; text-decoration: none; }
.company-header-link:hover { color: var(--accent-red); }
.company-about { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px; }
.company-about-text p { font-size: 13px; line-height: 1.6; color: var(--fg); margin: 0 0 8px; }
.company-about-text p:last-child { margin-bottom: 0; }
.company-about-images { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.company-about-images img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); }

.company-timeline { margin-top: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.timeline { display: flex; justify-content: space-between; padding: 24px 16px; position: relative; }
.timeline::before { content: ''; position: absolute; top: 36px; left: 16px; right: 16px; height: 2px; background: var(--border); }
.timeline-item { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; flex: 1; }
.timeline-year { font-size: 14px; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.timeline-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid var(--bg); box-shadow: 0 0 0 2px var(--accent); margin-bottom: 8px; }
.timeline-text { font-size: 11px; color: var(--muted); text-align: center; max-width: 100px; }

.factory-section { margin-top: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.factory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 16px; }
.factory-grid img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }

.quality-section { margin-top: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.quality-content { display: flex; gap: 16px; padding: 16px; align-items: flex-start; }
.quality-icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.quality-text { font-size: 13px; line-height: 1.6; color: var(--fg); }
.quality-text p { margin: 0; }

.payment-section { margin-top: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.payment-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px; }
.payment-label { font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 8px; letter-spacing: 0.01em; }
.payment-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.payment-icon { display: inline-flex; align-items: center; justify-content: center; padding: 6px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); font-size: 12px; font-weight: 500; color: var(--fg); }
.payment-note { padding: 0 16px 16px; font-size: 12px; color: var(--muted); line-height: 1.5; }

.faq-section { margin-top: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.faq-list { }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 0; }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--fg); list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { background: var(--surface); }
.faq-q::after { content: '›'; font-size: 16px; color: var(--muted); transition: transform 0.2s; }
details[open] .faq-q::after { transform: rotate(90deg); }
.faq-a { display: block; padding: 0 16px 12px; font-size: 13px; color: var(--muted); line-height: 1.6; }

@media (max-width: 960px) {
  .detail-main { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: 1fr; }
  .specs-grid .spec-item:nth-child(3n+2),
  .specs-grid .spec-item:nth-child(3n+3) { border-left: 0; }
  .company-about { grid-template-columns: 1fr; }
  .timeline { flex-wrap: wrap; gap: 16px; justify-content: center; }
  .timeline::before { display: none; }
  .factory-grid { grid-template-columns: repeat(2, 1fr); }
  .payment-methods { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-thumbs button { width: 44px; height: 44px; }
  .product-images { grid-template-columns: 1fr; }
  .factory-grid { grid-template-columns: 1fr; }
}

.rfq-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; padding-bottom: 48px; align-items: start; }
.rfq-main { min-width: 0; }
.rfq-main h1 { margin: 0 0 4px; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.rfq-main .sub { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.form-section { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); margin-bottom: 16px; }
.form-section h2 { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: -0.01em; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface); border-radius: var(--radius) var(--radius) 0 0; }
.form-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.form-row { display: flex; flex-direction: column; gap: 4px; }
.form-row label { font-size: 13px; font-weight: 500; color: var(--fg); }
.form-row .hint { font-size: 11px; color: var(--muted); letter-spacing: 0.01em; }
.form-row input,.form-row select,.form-row textarea { border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 10px; min-height: 36px; color: var(--fg); outline: none; }
.form-row input:focus,.form-row select:focus,.form-row textarea:focus { border-color: var(--accent); }
.form-row textarea { resize: vertical; min-height: 80px; }
.form-row.inline { flex-direction: row; flex-wrap: wrap; gap: 10px; }
.form-row.inline > * { flex: 1; min-width: 140px; }
.form-actions { display: flex; gap: 10px; align-items: center; margin-top: 4px; }
.form-actions .btn { min-height: 44px; }

.summary-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); position: sticky; top: 100px; }
.summary-card h3 { margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.summary-body { padding: 12px 16px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.summary-item { display: flex; gap: 10px; align-items: flex-start; }
.summary-item img { width: 48px; height: 48px; object-fit: contain; border: 1px solid var(--border); border-radius: var(--radius); flex-shrink: 0; }
.summary-item .info { min-width: 0; }
.summary-item .info .name { font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.summary-item .info .price { color: var(--accent-red); font-weight: 700; margin-top: 2px; }
.summary-divider { border: 0; border-top: 1px solid var(--border); margin: 4px 0; }
.summary-row { display: flex; justify-content: space-between; font-size: 13px; }
.summary-row.total { font-weight: 700; font-size: 15px; padding-top: 6px; border-top: 1px solid var(--border); color: var(--accent-red); }

.rfq-success { display: none; text-align: center; padding: 40px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); max-width: 520px; margin: 24px auto; }
.rfq-success.is-show { display: block; }
.rfq-success h2 { margin: 0 0 8px; font-size: 20px; font-weight: 700; }
.rfq-success p { color: var(--muted); margin: 0 0 20px; font-size: 14px; }

.trust-strip { display: flex; flex-wrap: wrap; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 20px; font-size: 12px; color: var(--muted); align-items: center; }
.trust-strip strong { color: var(--fg); }

@media (max-width: 960px) {
  .rfq-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
}

.hero { background: var(--surface); border-bottom: 1px solid var(--border); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; min-height: 340px; }
.hero-copy h1 { margin: 0; font-size: 32px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.15; }
.hero-copy p { margin: 10px 0 18px; font-size: 15px; color: var(--muted); max-width: 480px; line-height: 1.55; }
.hero-copy .btn { min-height: 44px; padding: 0 28px; font-size: 15px; }

.screens { padding: 48px 0; }
.screens h2 { margin: 0 0 24px; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; text-align: center; }
.screen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.s-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); overflow: hidden; }
.s-card:hover { box-shadow: var(--shadow-lg); }
.s-card-preview { background: var(--surface); height: 160px; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--border); padding: 16px; }
.s-card-preview img { max-height: 100%; max-width: 100%; object-fit: contain; }
.s-card-body { padding: 14px 16px; }
.s-card-body h3 { margin: 0 0 4px; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.s-card-body h3 a { color: var(--fg); text-decoration: none; }
.s-card-body h3 a:hover { color: var(--accent-red); }
.s-card-body p { margin: 0 0 12px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.s-card-body .btn { min-height: 36px; font-size: 13px; }

.features { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 40px 0; }
.features h2 { margin: 0 0 24px; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; text-align: center; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.feat-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); padding: 16px; }
.feat-card h3 { margin: 0 0 4px; font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.feat-card p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; }

.stats { padding: 32px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stat-num { font-size: 28px; font-weight: 900; color: var(--accent-red); letter-spacing: -0.02em; font-family: var(--mono); }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }

@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; min-height: auto; padding: 32px 0; }
  .hero-copy p { margin-left: auto; margin-right: auto; }
  .screen-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

.mini-cart-dropdown { position: fixed; top: 80px; right: 12px; width: 340px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 50; padding: 12px; }
.mini-cart-header { font-weight: 700; font-size: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.mini-cart-items { max-height: 320px; overflow-y: auto; }
.mini-cart-empty { text-align: center; color: var(--muted); padding: 24px; font-size: 13px; }
.mini-cart-footer { padding-top: 8px; border-top: 1px solid var(--border); margin-top: 8px; }

.vi-checkout-main { max-width: var(--max); margin: 0 auto; padding: 24px 12px; }

#main { min-height: 400px; }

.plugin-cart-override .vi-cart-page,
.plugin-checkout-override .vi-checkout-form { max-width: var(--max); margin: 24px auto; padding: 0 12px; }

.archive-description { margin-bottom: 16px; font-size: 13px; color: var(--muted); line-height: 1.5; }

.archive-title { margin: 0 0 4px; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
