/* ========================================
   威驭WYW - SONDA-style Website
   Theme: Logo Orange #f58220 + Light Gray
   ======================================== */

:root {
  --main-color: #f58220;
  --main-color-dark: #d96e10;
  --main-color-light: rgba(245, 130, 32, 0.12);
  --second-color: #f58220;

  --bg-page: #f3f3f3;
  --bg-white: #ffffff;
  --bg-section: #fafafa;
  --bg-muted: #ececec;
  --bg-band: #e8e8e8;
  --bg-hover: #f0f0f0;

  --text-dark: #555555;
  --text-body: #666666;
  --text-gray: #888888;
  --text-light: #aaaaaa;

  --border-color: #dddddd;
  --border-light: #eeeeee;
  --shadow-sm: 0 1px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --overlay-soft: rgba(85, 85, 85, 0.55);
  --overlay-hint: rgba(85, 85, 85, 0.65);

  --white: #ffffff;
  --header-height: 95px;
  --header-nav-font-size: 17px;
  --logo-header-height: 86px;
  --logo-footer-height: 108px;
  --logo-brand-font-size: 2.025rem;
  --max-width: 1400px;
  --font-main: "Segoe UI", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  color: var(--text-body);
  background: var(--bg-page);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== Header ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-height);
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 16px;
}

.header-logo {
  flex-shrink: 0;
  margin-right: 4px;
}

.header-logo picture {
  display: block;
  line-height: 0;
}

.header-logo img {
  height: var(--logo-header-height);
  width: auto;
  object-fit: contain;
}

/* ========== Main Navigation ========== */
.main-nav {
  flex: 0 1 auto;
  display: flex;
  justify-content: flex-start;
  margin: 0;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  text-align: left;
}

.nav-list > li > a {
  font-size: var(--header-nav-font-size);
  font-weight: 500;
  color: var(--text-dark);
  white-space: nowrap;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  text-align: left;
  transition: color var(--transition);
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
  color: var(--main-color);
  font-weight: 700;
}

.nav-arrow {
  font-size: 10px;
  color: var(--main-color);
  transition: transform var(--transition);
}

.has-dropdown:hover .nav-arrow {
  transform: rotate(180deg);
}

.has-dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  box-shadow: var(--shadow-md);
  min-width: 220px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
}

.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text-dark);
  white-space: nowrap;
  text-align: left;
  transition: all var(--transition);
}

.nav-dropdown li a:hover {
  background: var(--main-color-light);
  color: var(--main-color);
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-shrink: 0;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
}

.header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--text-dark);
  position: relative;
  transition: color var(--transition);
}

.header-icon-btn:hover { color: var(--main-color); }

.header-icon-btn svg {
  width: calc(var(--header-nav-font-size) + 3px);
  height: calc(var(--header-nav-font-size) + 3px);
  fill: currentColor;
}

.search-toggle.is-active { color: var(--main-color); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Site search overlay */
body.site-search-open { overflow: hidden; }

.site-search {
  position: fixed;
  inset: 0;
  z-index: 2000;
}

.site-search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(60, 60, 60, 0.45);
}

.site-search-panel {
  position: relative;
  max-width: 640px;
  margin: 72px auto 0;
  background: var(--bg-white);
  border-radius: 6px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.site-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
}

.site-search-icon {
  display: flex;
  color: var(--text-gray);
  flex-shrink: 0;
}

.site-search-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.site-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 16px;
  font-family: inherit;
  color: var(--text-dark);
  outline: none;
  min-width: 0;
}

.site-search-input::placeholder {
  color: var(--text-light);
}

.site-search-close {
  border: none;
  background: none;
  font-size: 24px;
  line-height: 1;
  color: var(--text-gray);
  cursor: pointer;
  padding: 0 4px;
}

.site-search-close:hover {
  color: var(--main-color);
}

.site-search-results {
  max-height: min(420px, calc(100vh - 180px));
  overflow-y: auto;
  padding: 8px 0;
}

.site-search-hint,
.site-search-empty {
  padding: 20px 18px;
  font-size: 14px;
  color: var(--text-body);
  text-align: center;
  margin: 0;
}

.site-search-result {
  display: block;
  padding: 12px 18px;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}

.site-search-result:hover,
.site-search-result.active {
  background: var(--bg-section);
  border-left-color: var(--main-color);
}

.site-search-result-type {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--main-color);
  margin-bottom: 4px;
}

.site-search-result-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.site-search-result-desc {
  display: block;
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .site-search-panel {
    margin: 0;
    max-width: none;
    min-height: 100%;
    border-radius: 0;
  }

  .site-search-results {
    max-height: calc(100vh - 64px);
  }
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--main-color);
  color: white;
  font-size: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-dropdown-wrap { position: relative; }

.lang-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: var(--header-nav-font-size);
  font-weight: 500;
  font-family: inherit;
  color: var(--text-dark);
}

.lang-trigger svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  box-shadow: var(--shadow-md);
  min-width: 130px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all var(--transition);
  z-index: 100;
}

.lang-dropdown-wrap.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-menu button,
.lang-menu a {
  display: block;
  width: 100%;
  padding: 10px 16px;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  font-size: 13px;
}

.lang-menu button:hover,
.lang-menu button.active,
.lang-menu a:hover,
.lang-menu a.active {
  background: var(--main-color-light);
  color: var(--main-color);
}



/* ========== Banner ========== */
.banner-section {
  margin-top: var(--header-height);
  position: relative;
  overflow: hidden;
  background: var(--main-color);
}

.banner-carousel {
  position: relative;
  height: calc(100vh - var(--header-height) - 72px);
  min-height: 420px;
  max-height: 720px;
  background: var(--main-color);
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.banner-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.banner-slide img,
.banner-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-hero-content {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: max(6vw, 32px);
  width: min(660px, 58vw);
  transform: translateY(-50%);
  padding: 32px 36px;
  color: #fff;
  background: linear-gradient(110deg, rgba(7, 25, 45, 0.88), rgba(7, 25, 45, 0.56));
  border-left: 5px solid var(--main-color);
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

.home-hero-content h1 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.home-hero-content p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.home-hero-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid #fff;
  border-radius: 3px;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.home-hero-btn--primary,
.home-hero-btn:hover {
  border-color: var(--main-color);
  background: var(--main-color);
  color: #fff;
}

.home-hero-btn--secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.banner-tagline {
  background: var(--bg-white);
  padding: 22px 24px;
  text-align: center;
  border-top: 4px solid var(--main-color);
}

.banner-tagline-text {
  margin: 0;
  font-size: clamp(0.95rem, 2.2vw, 1.25rem);
  font-weight: 700;
  color: var(--main-color);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.5;
}

.banner-text-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 40px;
  background: rgba(0,0,0,0.35);
}

.banner-text-overlay--light {
  background: transparent;
}

.banner-text-overlay h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: white;
  line-height: 1.4;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.banner-text-overlay .slogan-highlight {
  color: var(--main-color);
  display: block;
  font-size: clamp(1.2rem, 3vw, 2rem);
  margin-top: 12px;
  letter-spacing: 2px;
}

.banner-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--main-color);
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background var(--transition);
}

.banner-dot.active { background: var(--main-color); }

/* ========== Who Are We ========== */
.who-section {
  position: relative;
  background-color: var(--bg-section);
  background-size: cover;
  background-position: center;
  padding: 80px 0;
}

.who-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(243, 243, 243, 0.94);
  z-index: 0;
}

.who-section > .container {
  position: relative;
  z-index: 1;
}

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.who-video {
  height: 400px;
  background: var(--bg-muted);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.who-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.who-hero {
  display: flex;
  align-items: center;
}

.home-hero-content--plain {
  position: static;
  transform: none;
  width: 100%;
  max-width: none;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.home-hero-content--plain h1 {
  color: var(--text-dark);
}

.home-hero-content--plain p {
  color: var(--text-body);
}

.home-hero-content--plain .home-hero-btn--secondary {
  color: var(--text-dark);
  border-color: var(--text-dark);
  background: transparent;
}

.home-hero-content--plain .home-hero-btn--secondary:hover {
  border-color: var(--main-color);
  background: var(--main-color);
  color: #fff;
}

.who-content h3 {
  font-size: 48px;
  color: var(--main-color);
  font-weight: 400;
  margin-bottom: 16px;
}

.who-content h2 {
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  color: var(--main-color);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 24px;
}

.who-content p {
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 32px;
}

.btn-learn {
  display: inline-block;
  padding: 14px 40px;
  border: 2px solid var(--main-color);
  border-radius: 20px;
  color: white;
  font-size: 22px;
  background: rgba(245, 130, 32, 0.9);
  transition: all var(--transition);
}

.btn-learn:hover {
  background: var(--main-color);
  transform: translateY(-2px);
}

/* ========== Company Figures ========== */
.figures-section {
  padding: 80px 0;
  background: var(--bg-white);
}

.section-heading {
  font-size: 40px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-dark);
}

.figures-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.figure-item .number {
  font-size: 44px;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1;
}

.figure-divider {
  width: 100%;
  height: 1px;
  background: var(--border-color);
  margin: 16px 0;
}

.figure-item .label-main {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.figure-item .label-sub {
  font-size: 14px;
  color: var(--text-gray);
  text-transform: uppercase;
}

/* ========== Application Range ========== */
.app-section {
  background-color: var(--bg-page);
  background-size: cover;
  background-position: center;
  padding: 80px 0;
}

.app-section .section-heading {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 38px;
}

.app-desc {
  text-align: center;
  color: var(--text-body);
  font-size: 18px;
  max-width: 900px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.app-card {
  position: relative;
  height: 200px;
  background-color: #e9edf2;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition);
}

.app-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 35%, var(--overlay-soft));
}

.app-card:hover { transform: scale(1.02); }

.app-card span {
  position: relative;
  z-index: 1;
  color: white;
  font-size: 18px;
  font-weight: 700;
}

/* ========== Products Range ========== */
.products-section {
  padding: 80px 0;
  background: var(--bg-white);
}

.section-intro {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.cable-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cable-type-card {
  display: block;
  padding: 0 0 24px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: var(--bg-white);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.cable-type-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.cable-type-card-media {
  aspect-ratio: 1 / 1;
  background: #f7f8fa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.cable-type-card-media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.cable-type-card h3 {
  margin: 0 0 12px;
  padding: 0 24px;
  font-size: 18px;
  color: var(--primary);
}

.cable-type-card p {
  margin: 0;
  padding: 0 24px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.cable-type-more {
  text-align: center;
  margin-top: 32px;
}

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 0;
}

.tab-btn {
  padding: 16px 24px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 15px;
  color: var(--text-dark);
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.tab-btn:hover,
.tab-btn.active {
  color: var(--main-color);
  border-bottom-color: var(--main-color);
  font-weight: 600;
}

.tab-desc {
  text-align: center;
  padding: 24px 40px;
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
}

.tab-panel {
  display: none;
  background-size: cover;
  background-position: center;
  min-height: 400px;
  padding: 60px 40px;
  position: relative;
}

.tab-panel.active { display: block; }

.tab-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.75);
}

.tab-panel-content {
  position: relative;
  z-index: 1;
}

.tab-panel h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

/* ========== Footer ========== */
.site-footer {
  background-color: var(--bg-section);
  background-size: cover;
  background-position: center;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo picture {
  display: block;
  line-height: 0;
}

.footer-logo img {
  height: var(--logo-footer-height);
  margin-bottom: 16px;
}

.footer-contact p {
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-locations {
  margin-top: 4px;
}

.footer-location {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.footer-location:last-child {
  margin-bottom: 0;
}

.footer-location strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--main-color);
  letter-spacing: 0.02em;
}

.footer-location span {
  display: block;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-body);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-content: start;
}

.footer-links a {
  font-size: 15px;
  color: var(--text-dark);
}

.footer-links a:hover { color: var(--main-color); }

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--main-color);
}

.footer-social svg { width: 28px; height: 28px; fill: currentColor; }

/* WordPress-managed Blog and News */
.editorial-page { background: #fff; }
.editorial-list { max-width: 960px; }
.editorial-card { display: grid; grid-template-columns: minmax(0, 280px) 1fr; gap: 30px; padding: 32px 0; border-bottom: 1px solid var(--border-light); }
.editorial-card:not(:has(.editorial-card-image)) { grid-template-columns: 1fr; }
.editorial-card-image { display: block; overflow: hidden; border-radius: 4px; aspect-ratio: 16 / 10; background: #f3f3f3; }
.editorial-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.editorial-card-image:hover img { transform: scale(1.03); }
.editorial-card-content h2 { margin: 6px 0 12px; font-size: 25px; line-height: 1.3; }
.editorial-card-content h2 a:hover { color: var(--main-color); }
.editorial-date { color: var(--text-light); font-size: 13px; }
.editorial-excerpt { color: var(--text-body); line-height: 1.75; }
.editorial-excerpt p { margin: 0; }
.editorial-read-more, .editorial-back { display: inline-block; margin-top: 16px; color: var(--main-color); font-weight: 600; }
.editorial-pagination { margin-top: 36px; text-align: center; }
.editorial-pagination .page-numbers { display: inline-flex; min-width: 36px; height: 36px; margin: 0 3px; align-items: center; justify-content: center; border: 1px solid var(--border-light); }
.editorial-pagination .current, .editorial-pagination a:hover { color: #fff; border-color: var(--main-color); background: var(--main-color); }
.editorial-empty { padding: 60px 0; text-align: center; color: var(--text-light); }
.editorial-article-wrap { max-width: 900px; }
.editorial-article { padding: 20px 0 60px; }
.editorial-article-header { margin: 24px 0 30px; }
.editorial-article-header h1 { margin-top: 8px; font-size: clamp(32px, 5vw, 50px); line-height: 1.2; }
.editorial-featured-image { margin-bottom: 32px; }
.editorial-featured-image img { display: block; width: 100%; height: auto; }
.editorial-content { color: var(--text-body); font-size: 16px; line-height: 1.85; }
.editorial-content img { max-width: 100%; height: auto; }

@media (max-width: 720px) {
  .editorial-card { grid-template-columns: 1fr; gap: 20px; }
  .editorial-card-content h2 { font-size: 21px; }
}

.footer-subscribe {
  display: flex;
  gap: 0;
  margin-bottom: 12px;
}

.footer-subscribe input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: 4px 0 0 4px;
  font-size: 14px;
  outline: none;
}

.footer-subscribe input:focus { border-color: var(--main-color); }

.footer-subscribe button {
  padding: 10px 16px;
  background: var(--main-color);
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-size: 18px;
}

.footer-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-checkboxes label {
  font-size: 12px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid var(--border-light);
  font-size: 14px;
  color: var(--text-gray);
}

.footer-sitemap {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 16px;
  background: var(--main-color);
  color: white;
  font-size: 14px;
  border-radius: 2px;
}

/* ========== Floating Sidebar ========== */
.float-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.06);
  border-radius: 4px 0 0 4px;
  overflow: hidden;
}

.sidebar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 10px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background var(--transition);
  position: relative;
  min-width: 60px;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  width: 100%;
  text-decoration: none;
}

.sidebar-item.wechat-item.is-active {
  background: var(--main-color-light);
}

.wechat-qr-panel {
  position: fixed;
  right: 72px;
  top: 50%;
  transform: translateY(calc(-50% - 80px));
  z-index: 998;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  padding: 16px;
  text-align: center;
  width: 192px;
}

.wechat-qr-panel[hidden] {
  display: none;
}

.wechat-qr-panel img {
  width: 160px;
  height: 160px;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}

.wechat-qr-panel p {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--text-gray);
}

.sidebar-item:hover { background: var(--main-color-light); }

.sidebar-item svg { width: 24px; height: 24px; fill: var(--main-color); }

.sidebar-item .icon-title {
  font-size: 11px;
  color: var(--text-gray);
  margin-top: 4px;
  text-align: center;
}

.sidebar-item.service-item img {
  width: 52px;
  height: auto;
}

.sidebar-item .online-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: #52c41a;
  border-radius: 50%;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 30px;
  width: 44px;
  height: 44px;
  background: var(--main-color);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 998;
  box-shadow: 0 2px 10px rgba(245,130,32,0.4);
}

.back-to-top.show { display: flex; }

.back-to-top svg { width: 20px; height: 20px; fill: white; }

/* ========== Subpage Banner ========== */
.page-banner {
  margin-top: var(--header-height);
  background: var(--main-color);
  color: white;
  padding: 27px 24px 20px;
  text-align: left;
}

.page-banner .container {
  max-width: var(--max-width);
  margin: 0;
  padding: 0;
}

.page-banner h1 {
  font-size: 1.75rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-content { padding: 60px 0; background: var(--bg-page); }

/* ========== Cable Carriers Page ========== */
.cable-page { padding-top: 0; }

.cable-breadcrumb {
  background: var(--bg-section);
  margin: 0 -24px 32px;
  padding: 14px 24px;
  font-size: 13px;
  color: var(--text-gray);
  text-align: left;
}

.cable-breadcrumb a {
  color: var(--text-gray);
}

.cable-breadcrumb a:hover {
  color: var(--main-color);
}

.cable-breadcrumb-sep {
  margin: 0 8px;
  color: #bbb;
}

.cable-breadcrumb-current {
  color: var(--text-dark);
  font-weight: 600;
}

.cable-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}

.cable-cat-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cable-cat-nav a {
  display: block;
  padding: 10px 0 10px 16px;
  font-size: 15px;
  color: var(--text-gray);
  text-align: left;
  border-left: 2px solid transparent;
  transition: all var(--transition);
}

.cable-cat-nav a:hover {
  color: var(--main-color);
}

.cable-cat-nav a.active {
  color: var(--main-color);
  font-weight: 600;
  border-left-color: var(--main-color);
}

.cable-sidebar-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-dark);
  margin-bottom: 20px;
  text-align: left;
}

.cable-cat-group {
  border-bottom: 1px solid var(--border-light);
}

.cable-cat-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 0;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
}

.cable-cat-toggle:hover {
  color: var(--main-color);
}

.cable-cat-icon {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-gray);
  line-height: 1;
}

.cable-cat-sub {
  display: none;
  padding: 0 0 12px;
}

.cable-cat-group.open .cable-cat-sub {
  display: block;
}

.cable-cat-sub a {
  display: block;
  padding: 8px 0 8px 16px;
  font-size: 14px;
  color: var(--text-gray);
  text-align: left;
  border-left: 2px solid transparent;
  transition: all var(--transition);
}

.cable-cat-sub a:hover {
  color: var(--main-color);
}

.cable-cat-sub a.active {
  color: var(--main-color);
  font-weight: 600;
  border-left-color: var(--main-color);
}

.cable-main {
  min-width: 0;
}

.cable-detail {
  display: none;
}

.cable-detail.active {
  display: block;
}

.cable-detail-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.cable-detail-desc {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.9;
  margin-bottom: 32px;
  max-width: 720px;
  text-align: left;
}

.cable-detail-media {
  max-width: 560px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  background: #f7f8fa;
  aspect-ratio: auto;
  height: auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.cable-detail-media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: none;
  display: block;
}

.cable-detail-app {
  height: 320px;
  background-size: cover;
  background-position: center;
}

@media (max-width: 900px) {
  .cable-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cable-sidebar {
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 16px 20px;
  }
}

@media (max-width: 768px) {
  .cable-breadcrumb {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ========== Product Pages (WYW Motion) ========== */
.header-logo-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-name {
  font-size: var(--logo-brand-font-size);
  font-weight: 800;
  color: var(--main-color);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.product-footer {
  background: var(--bg-section);
  margin-top: 0;
}

.product-footer .footer-bottom-bar {
  border: none;
  padding: 24px 0;
  text-align: left;
}

.product-breadcrumb {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 28px;
  text-align: left;
}

.product-breadcrumb a {
  color: var(--text-gray);
}

.product-breadcrumb a:hover {
  color: var(--main-color);
}

.product-breadcrumb span {
  margin: 0 8px;
  color: #bbb;
}

.product-layout {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 24px;
  align-items: start;
}

.product-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.product-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.product-side-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
  margin: 0;
}

.product-model-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-model-link {
  display: block;
  padding: 12px 16px;
  background: var(--bg-white);
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  transition: all var(--transition);
}

.product-model-link:hover {
  border-color: var(--main-color);
  color: var(--main-color);
  background: var(--main-color-light);
}

.product-model-code {
  font-size: 22px;
  font-weight: 800;
  color: var(--main-color);
  text-align: left;
  margin: 0;
}

.product-model-category {
  font-size: 14px;
  color: var(--text-gray);
  text-align: left;
  margin: 0 0 8px;
}

.product-back-link {
  font-size: 14px;
  color: var(--main-color);
  font-weight: 600;
  text-align: left;
  margin-top: 8px;
}

.product-skeleton-block {
  border: 1px dashed var(--border-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  text-align: center;
}

.product-main .product-skeleton-block {
  background: var(--bg-section);
}

.product-side .product-skeleton-block {
  background: var(--bg-muted);
}

.product-skeleton-media { min-height: 280px; }
.product-skeleton-text { min-height: 160px; }
.product-skeleton-spec { min-height: 200px; }
.product-skeleton-inquiry { min-height: 100px; }
.product-skeleton-download { min-height: 80px; }

.product-skeleton-label {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}

/* ========== Product Spec Table ========== */
.spec-table-wrap {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}

.spec-table-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  padding: 16px 20px;
  margin: 0;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-section);
}

.spec-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
  table-layout: auto;
}

.spec-table thead th {
  background: var(--main-color);
  color: #fff;
  font-weight: 600;
  padding: 12px 14px;
  white-space: normal;
  line-height: 1.35;
  border-right: 1px solid var(--main-color-dark);
}

.spec-table thead th:last-child {
  border-right: none;
}

.spec-table tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  color: var(--text-dark);
  white-space: normal;
  line-height: 1.4;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

.spec-table tbody td:last-child {
  border-right: none;
}

.spec-table tbody tr:nth-child(even) {
  background: var(--bg-hover);
}

.spec-table tbody tr:nth-child(odd) {
  background: var(--bg-white);
}

.spec-table tbody tr:hover {
  background: var(--main-color-light);
}

.spec-table tbody td[data-chain-length] {
  font-weight: 700;
  color: var(--text-gray);
}

.spec-table tbody td[data-chain-length].is-calculated {
  color: var(--main-color);
}

/* ========== Chain Calc Form ========== */
.calc-form-wrap {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 20px;
}

.calc-form-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 18px;
  text-align: left;
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.calc-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

.calc-field input[type="number"],
.calc-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  background: var(--bg-section);
}

.calc-field input[type="number"]:focus,
.calc-field select:focus {
  outline: none;
  border-color: var(--main-color);
  background: var(--bg-white);
}

.calc-field input[type="range"] {
  width: 100%;
  accent-color: var(--main-color);
  cursor: pointer;
}

.calc-field-switch {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.calc-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.calc-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.calc-switch-slider {
  position: absolute;
  inset: 0;
  background: var(--border-color);
  border-radius: 26px;
  cursor: pointer;
  transition: background var(--transition);
}

.calc-switch-slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  bottom: 3px;
  background: var(--bg-white);
  border-radius: 50%;
  transition: transform var(--transition);
}

.calc-switch input:checked + .calc-switch-slider {
  background: var(--main-color);
}

.calc-switch input:checked + .calc-switch-slider::before {
  transform: translateX(22px);
}

.calc-btn {
  width: 100%;
  padding: 12px 20px;
  background: var(--main-color);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
  margin-top: 4px;
}

.calc-btn:hover {
  background: var(--main-color-dark);
}

.calc-formula {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.5;
}

.calc-result {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 4px;
  background: rgba(230, 126, 34, 0.08);
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.5;
}

.calc-result strong {
  color: var(--main-color);
  font-size: 18px;
}

.spec-table td.is-calculated,
.spec-table td[data-chain-length].is-calculated {
  color: var(--main-color);
  font-weight: 700;
}

.calc-mobile-value {
  color: var(--main-color);
  font-weight: 700;
}

/* ========== 3D Preview & CAD Download ========== */
.preview-3d-wrap {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 20px;
}

.preview-3d-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 14px;
  text-align: left;
}

.preview-3d-viewer {
  width: 100%;
  height: 280px;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-muted);
}

.preview-3d-viewer canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.preview-3d-hint {
  font-size: 12px;
  color: var(--text-gray);
  text-align: center;
  margin: 8px 0 16px;
}

.cad-download-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cad-btn {
  display: block;
  padding: 11px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: all var(--transition);
}

.cad-btn-step {
  background: var(--main-color);
  color: #fff;
  border: 1px solid var(--main-color);
}

.cad-btn-step:hover {
  background: var(--main-color-dark);
  border-color: var(--main-color-dark);
  color: #fff;
}

.cad-btn-dwg {
  background: var(--bg-white);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}

.cad-btn-dwg:hover {
  border-color: var(--main-color);
  color: var(--main-color);
}

@media (max-width: 900px) {
  .product-layout {
    grid-template-columns: 1fr;
  }
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
  .figures-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1100px) {
  .nav-list { gap: 20px; }
  :root { --header-nav-font-size: 16px; }
}

@media (max-width: 992px) {
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    min-height: 0;
    padding: 10px 12px;
    gap: 10px;
  }

  .site-header {
    position: sticky;
    top: 0;
    height: auto;
    min-height: 0;
  }

  .banner-section,
  .page-banner {
    margin-top: 0;
  }

  .nav-toggle { display: flex; }

  .main-nav {
    order: 3;
    width: 100%;
    margin: 0;
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .main-nav.open {
    display: block;
    max-height: 600px;
    padding-bottom: 12px;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    text-align: left;
  }

  .nav-list > li > a {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    justify-content: flex-start;
    text-align: left;
    white-space: normal;
  }

  .nav-dropdown li a {
    text-align: left;
    white-space: normal;
  }

  .has-dropdown .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    display: none;
    padding-left: 16px;
  }

  .has-dropdown.open .nav-dropdown { display: block; }

  .has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .float-sidebar,
  .wechat-qr-panel {
    display: none !important;
  }

  /* Homepage: keep mobile flow Banner → Figures → Applications */
  .who-section,
  .products-section {
    display: none;
  }

  /* Category / product pages: hide left navigation sidebars */
  .cable-sidebar,
  .enclosed-hi-sidebar {
    display: none;
  }

  .cable-layout,
  .enclosed-catalog-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --logo-header-height: 52px;
    --logo-brand-font-size: 1.35rem;
    --header-nav-font-size: 15px;
  }

  .container { padding: 0 16px; }

  .header-logo img {
    height: var(--logo-header-height);
  }

  .header-right {
    gap: 2px;
    flex-shrink: 1;
  }

  .header-icon-btn {
    width: 36px;
    height: 36px;
  }

  .lang-trigger {
    font-size: 14px;
    padding: 6px 2px;
  }

  /* Keep menu / language / search; hide secondary icons on narrow screens */
  .header-right > .header-icon-btn[data-i18n-aria-label="sidebar.whatsapp"],
  .header-right > a.header-icon-btn[aria-label="Account"],
  .header-right > a.header-icon-btn:has(.cart-badge) {
    display: none;
  }

  .who-grid { grid-template-columns: 1fr; }
  .who-section { padding: 48px 0; }
  .who-hero { order: -1; }
  .figures-grid { grid-template-columns: 1fr; gap: 30px; }
  .app-grid { grid-template-columns: 1fr; }
  .product-tabs { flex-direction: column; align-items: stretch; }
  .cable-type-grid { grid-template-columns: 1fr; }
  .tab-btn { text-align: center; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-bar { flex-direction: column; gap: 10px; text-align: center; }
  .page-content { padding: 32px 0; }
  .page-banner { padding: 20px 16px 16px; }
  .page-banner h1 { font-size: 1.35rem; line-height: 1.3; }
  .product-breadcrumb {
    font-size: 12px;
    line-height: 1.6;
    word-break: break-word;
  }
  .product-model-code { font-size: 18px; }
  .banner-carousel {
    height: 56vw;
    min-height: 200px;
    max-height: 320px;
  }

  .banner-slide img {
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .banner-carousel { min-height: 400px; }
  .who-content h3 { font-size: 32px; }
}

@media (max-width: 768px) {
  .home-hero-content {
    left: 20px;
    right: 20px;
    width: auto;
    padding: 24px;
  }

  .home-hero-content--embedded {
    left: 16px;
    right: 16px;
    padding: 20px;
  }

  .home-hero-content h1 {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .home-hero-content--plain h1 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }
}

/* ========== About Us Page (SONDA-style) ========== */
.about-history {
  padding: 48px 0 64px;
  background: var(--bg-white);
}

.about-intro {
  padding: 40px 0 16px;
  background: var(--bg-white);
}

.about-intro-meta {
  text-align: center;
  color: #666;
  font-size: 14px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.about-intro-body {
  max-width: 920px;
  margin: 0 auto;
}

.about-intro-body p {
  margin: 0 0 16px;
  line-height: 1.85;
  color: #444;
  font-size: 16px;
}

.about-commitment {
  margin-top: 20px;
  padding: 20px 22px;
  background: #f5f7fa;
  border-left: 4px solid var(--main-color);
}

.about-commitment-title {
  font-size: 18px;
  margin: 0 0 10px;
  color: var(--text-dark);
}

.about-commitment p {
  margin: 0;
  line-height: 1.75;
  color: #555;
  font-size: 15px;
}

.about-why-card-desc {
  font-size: 13px;
  line-height: 1.65;
  color: #555;
  padding: 0 14px 16px;
  margin: 0;
}

.about-why-cards--three {
  grid-template-columns: 1fr;
}

.about-why-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about-why-gallery-title {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.about-gallery-grid {
  display: grid;
  gap: 14px;
}

.about-gallery-grid--4 {
  grid-template-columns: repeat(2, 1fr);
}

.about-gallery-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

/* Application / Installation — containers hug image, no dashed placeholder gap */
.about-why-gallery .about-gallery-grid {
  align-items: start;
}

.about-why-gallery .about-img-slot--gallery {
  display: block;
  height: auto;
  min-height: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  background: #fff;
  line-height: 0;
}

.about-why-gallery .about-img-slot--gallery .about-img-slot__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
}

.about-gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  text-align: center;
  background: linear-gradient(transparent, var(--overlay-soft));
}

.about-img-slot--gallery .about-img-slot__hint {
  top: 0;
  bottom: auto;
  font-size: 10px;
  padding: 4px 8px;
  background: rgba(85, 85, 85, 0.45);
}

@media (max-width: 640px) {
  .about-gallery-grid--4,
  .about-gallery-grid--2 {
    grid-template-columns: 1fr;
  }
}

.figures-grid--four {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
  .figures-grid--four { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .figures-grid--four { grid-template-columns: 1fr; }
}

.figures-grid--five {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 992px) {
  .figures-grid--five { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .figures-grid--five { grid-template-columns: 1fr; }
}


.about-timeline {
  max-width: 1100px;
  margin: 0 auto;
}

.about-timeline-layout {
  display: grid;
  grid-template-columns: minmax(120px, 200px) 1fr;
  gap: 32px 48px;
  align-items: start;
}

.about-timeline-years {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  padding-top: 8px;
}

.about-year {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 10px 0;
  font-family: inherit;
  text-align: right;
  transition: color var(--transition);
}

.about-year-label {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-light);
  line-height: 1;
  transition: font-size 0.35s ease, color 0.35s ease, font-weight 0.35s ease;
}

.about-year.active .about-year-label {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 700;
  color: var(--text-dark);
}

.about-year:hover .about-year-label {
  color: var(--main-color);
}

.about-year-arrow {
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 9px solid var(--main-color);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.about-year.active .about-year-arrow {
  opacity: 1;
  transform: translateX(0);
}

.about-timeline-content {
  min-height: 360px;
  position: relative;
}

.about-timeline-panel {
  display: none;
  animation: aboutPanelIn 0.35s ease;
}

.about-timeline-panel.active {
  display: block;
}

@keyframes aboutPanelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.about-timeline-text {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.75;
  color: var(--text-dark);
  text-align: left;
  margin: 0 0 24px;
}

/* Shared image slots — replace src when photos are ready */
.about-img-slot {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--bg-muted);
  border: 2px dashed rgba(245, 130, 32, 0.35);
}

.about-img-slot__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-slot__hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 12px;
  font-size: 12px;
  color: #fff;
  background: var(--overlay-hint);
  text-align: center;
  font-family: Consolas, monospace;
  pointer-events: none;
}

.about-img-slot.is-loaded .about-img-slot__hint {
  display: none;
}

.about-img-slot--timeline {
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
}

.about-img-slot--hero {
  aspect-ratio: 784 / 520;
  margin-bottom: 24px;
}

.about-img-slot--card {
  aspect-ratio: 4 / 3;
}

.about-img-slot--card .about-img-slot__hint {
  top: 0;
  bottom: auto;
  font-size: 10px;
  padding: 4px 8px;
  background: rgba(85, 85, 85, 0.45);
}

.about-img-slot--card h4 {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 14px 12px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  background: linear-gradient(transparent, var(--overlay-soft));
}

.about-why {
  padding: 70px 0 80px;
  background: var(--bg-band);
  color: var(--text-body);
}

.about-why-header {
  text-align: center;
  margin-bottom: 48px;
}

.about-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-why-left p {
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 16px;
  font-size: 16px;
}

.about-why-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.about-why-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.55;
  text-transform: uppercase;
  max-width: 820px;
  margin: 0 auto;
}

.about-why-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.about-figures {
  background: var(--bg-section);
}

@media (max-width: 992px) {
  .about-why-grid { grid-template-columns: 1fr; }
  .about-timeline-layout { grid-template-columns: 1fr; gap: 24px; }
  .about-timeline-years {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 8px 20px;
  }
  .about-year {
    width: auto;
    padding: 6px 0;
  }
  .about-year-label { font-size: 1rem; }
  .about-year.active .about-year-label { font-size: 1.35rem; }
  .about-year-arrow { display: none !important; }
  .about-timeline-text { font-size: 17px; }
}

@media (max-width: 576px) {
  .about-why-cards { grid-template-columns: 1fr; }
}

/* ========== Shared page cards (blog, news, download, contact, product) ========== */
.content-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  transition: box-shadow var(--transition);
}

.content-card:hover {
  box-shadow: 0 4px 20px rgba(245, 130, 32, 0.12);
}

/* ========== Contact Page ========== */
.contact-intro {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.contact-intro h2 {
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.contact-intro > p {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.contact-quick {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
}

.contact-quick-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-body);
}

.contact-quick-item svg {
  width: 18px;
  height: 18px;
  fill: var(--main-color);
  flex-shrink: 0;
}

.contact-quick-item a {
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: none;
}

.contact-quick-item a:hover {
  color: var(--main-color);
}

.contact-form-wrap {
  max-width: 560px;
  margin: 0 auto 56px;
}

.contact-form {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 36px;
  border-radius: 4px;
}

.contact-form h2 {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.contact-form > p {
  color: var(--text-body);
  font-size: 14px;
  margin-bottom: 24px;
}

.contact-form .form-group {
  margin-bottom: 18px;
}

.contact-form .form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  background: var(--bg-section);
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  outline: none;
  border-color: var(--main-color);
}

.contact-form .btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--main-color);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}

.contact-form .btn-submit:hover {
  background: var(--main-color-dark);
}

.contact-form .form-success {
  display: none;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 14px;
  border-radius: 4px;
  margin-top: 14px;
  text-align: center;
}

.contact-form .form-success.show {
  display: block;
}

.contact-locations {
  padding-top: 48px;
  border-top: 1px solid var(--border-light);
}

.contact-locations > h2 {
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 8px;
  text-align: center;
}

.contact-locations > p {
  text-align: center;
  color: var(--text-body);
  font-size: 15px;
  margin-bottom: 32px;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.location-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.location-card-head {
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--border-light);
}

.location-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--main-color);
  background: rgba(245, 130, 32, 0.1);
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}

.location-card-head h3 {
  font-size: 17px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.location-address {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
}

.location-details {
  margin: 0;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-section);
}

.location-detail {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px 12px;
  align-items: baseline;
  padding: 8px 0;
}

.location-detail + .location-detail {
  border-top: 1px dashed var(--border-light);
}

.location-detail dt {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-gray);
  margin: 0;
}

.location-detail dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.location-value {
  color: var(--text-dark);
  font-weight: 500;
  word-break: break-all;
}

.location-value.is-placeholder {
  color: var(--text-light);
  font-weight: 400;
  font-style: italic;
}

a.location-value {
  text-decoration: none;
}

a.location-value:hover {
  color: var(--main-color);
}

.location-map {
  height: 220px;
  background: var(--bg-muted);
  flex: 1;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 992px) {
  .location-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .location-map {
    height: 260px;
  }
}

/* ============================================
   FIX: 图片容器自适应 - 消除留白
   修改日期：2026-07-07
   ============================================ */

/* 产品详情页主图区 */
.product-page .product-media-block,
.enclosed-detail-page .product-media-block {
  min-height: 0;
  height: auto;
  padding: 16px;
}

.product-page .product-media-block img,
.enclosed-detail-page .product-media-block img,
.product-hero-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
}

/* 产品列表卡片图（保持居中，去掉固定比例留白） */
.cable-type-card-media {
  aspect-ratio: auto;
  min-height: 0;
  height: auto;
  padding: 16px;
}

.cable-type-card-media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
}

.enclosed-grid-card-media--placeholder .product-skeleton-media {
  aspect-ratio: auto;
  min-height: 0;
}

/* 内联 height:280px 的 product-images 容器（覆盖 style=""） */
.product-images,
.product-images[style*="height"] {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  overflow: visible !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.product-images img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  display: block !important;
}
