/* ==========================================================================
   XUNDUN 讯顿 — Global Professional Hardware & Power Tools Website
   Design System & Responsive Stylesheet
   ========================================================================== */

:root {
  --xd-red: #dc1e28;
  --xd-red-hover: #be161f;
  --xd-red-soft: rgba(220, 30, 40, 0.08);
  --xd-dark: #15181e;
  --xd-charcoal: #22262f;
  --xd-text: #1f242d;
  --xd-text-secondary: #525866;
  --xd-text-muted: #848b98;
  --xd-bg: #ffffff;
  --xd-surface: #f5f6f8;
  --xd-surface-alt: #eef0f4;
  --xd-border: #e5e8ee;
  --xd-border-light: #eff1f5;
  --xd-shadow-sm: 0 2px 8px rgba(17, 24, 39, 0.05);
  --xd-shadow-md: 0 8px 24px rgba(17, 24, 39, 0.08);
  --xd-shadow-lg: 0 18px 42px rgba(17, 24, 39, 0.14);
  --xd-radius-sm: 4px;
  --xd-radius-md: 6px;
  --xd-radius-lg: 10px;
  --xd-container: 1320px;
  --xd-transition: 0.22s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--xd-text);
  background-color: var(--xd-bg);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--xd-transition);
}

img {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--xd-container);
  margin: 0 auto;
  padding: 0 24px;
}

/*Slanted Brand Accent Bar (`/`) matching reference design*/
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.section-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--xd-dark);
  letter-spacing: 0.01em;
}

.section-title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 22px;
  background: var(--xd-red);
  transform: skewX(-18deg);
  border-radius: 1px;
  flex-shrink: 0;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 500;
  color: var(--xd-text-secondary);
  transition: color var(--xd-transition), transform var(--xd-transition);
}

.more-link:hover {
  color: var(--xd-red);
}

.more-link:hover svg {
  transform: translateX(3px);
}

.more-link svg {
  transition: transform var(--xd-transition);
}

/* ==========================================================================
   1. TOP UTILITY BAR
   ========================================================================== */
.topbar {
  background: #f6f7f9;
  border-bottom: 1px solid var(--xd-border-light);
  font-size: 13px;
  color: var(--xd-text-secondary);
  height: 38px;
  display: flex;
  align-items: center;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  color: var(--xd-text-muted);
  flex-shrink: 0;
}

.topbar-item a:hover {
  color: var(--xd-red);
}

.topbar-divider {
  width: 1px;
  height: 12px;
  background: #d8dce5;
}

.lang-switch {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--xd-text-secondary);
  font-size: 13px;
  padding: 4px 6px;
  border-radius: var(--xd-radius-sm);
}

.lang-btn:hover {
  color: var(--xd-red);
  background: rgba(0, 0, 0, 0.03);
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  background: #fff;
  border: 1px solid var(--xd-border);
  border-radius: var(--xd-radius-md);
  box-shadow: var(--xd-shadow-md);
  min-width: 124px;
  padding: 4px;
  z-index: 1100;
  display: none;
}

.lang-switch.open .lang-menu {
  display: block;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 7px 10px;
  font-size: 13px;
  border-radius: var(--xd-radius-sm);
  color: var(--xd-text);
  text-align: left;
}

.lang-option:hover, .lang-option.active {
  background: var(--xd-red-soft);
  color: var(--xd-red);
  font-weight: 600;
}

/* ==========================================================================
   2. MAIN HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--xd-border);
  transition: box-shadow var(--xd-transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 10px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.brand-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-wordmark-en {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--xd-dark);
}

.brand-wordmark-en sup {
  font-size: 10px;
  font-weight: 700;
  margin-left: 1px;
}

.brand-wordmark-sub {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--xd-red);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 2px;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 100%;
  padding: 0 9px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--xd-text);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--xd-red);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 9px;
  right: 9px;
  height: 3px;
  background: var(--xd-red);
  border-radius: 2px 2px 0 0;
}

/* Mega Dropdown for Products */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: -80px;
  width: 680px;
  background: #fff;
  border: 1px solid var(--xd-border);
  border-top: 3px solid var(--xd-red);
  border-radius: 0 0 var(--xd-radius-md) var(--xd-radius-md);
  box-shadow: var(--xd-shadow-lg);
  padding: 20px 24px;
  display: none;
  z-index: 1050;
}

.nav-item.has-dropdown:hover .mega-dropdown {
  display: block;
}

.mega-groups {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--xd-border-light);
  margin-bottom: 14px;
}

.mega-group-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  background: var(--xd-surface);
  border-radius: var(--xd-radius-md);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  transition: all var(--xd-transition);
}

.mega-group-card img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.mega-group-card:hover {
  background: var(--xd-red-soft);
  color: var(--xd-red);
  transform: translateY(-2px);
}

.mega-subcats-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--xd-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.mega-subcats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.mega-subcat-link {
  font-size: 13px;
  color: var(--xd-text-secondary);
  padding: 4px 10px;
  border-radius: 999px;
  background: #f7f8fa;
  border: 1px solid var(--xd-border-light);
}

.mega-subcat-link:hover {
  background: var(--xd-red);
  border-color: var(--xd-red);
  color: #fff;
}

/* Header Search & Inquiry Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 206px;
  height: 36px;
  background: #f5f6f8;
  border: 1px solid var(--xd-border);
  border-radius: var(--xd-radius-sm);
  transition: border-color var(--xd-transition), background var(--xd-transition);
}

.header-search:focus-within {
  background: #fff;
  border-color: var(--xd-red);
}

.header-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  background: transparent;
  padding: 0 12px;
  font-size: 13px;
  color: var(--xd-text);
  outline: none;
}

.header-search input::placeholder {
  color: #9aa1ae;
}

.header-search-btn {
  width: 38px;
  height: 36px;
  margin-right: -1px;
  background: var(--xd-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 var(--xd-radius-sm) var(--xd-radius-sm) 0;
  transition: background var(--xd-transition);
  flex-shrink: 0;
}

.header-search-btn:hover {
  background: var(--xd-red-hover);
}

.search-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--xd-border);
  border-radius: var(--xd-radius-md);
  box-shadow: var(--xd-shadow-md);
  z-index: 1100;
  max-height: 340px;
  overflow-y: auto;
  display: none;
}

.search-suggest.open {
  display: block;
}

.suggest-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--xd-border-light);
  cursor: pointer;
}

.suggest-item:last-child {
  border-bottom: none;
}

.suggest-item:hover {
  background: var(--xd-surface);
}

.suggest-item img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 4px;
  background: #f5f6f8;
  flex-shrink: 0;
}

.suggest-meta {
  min-width: 0;
  flex: 1;
}

.suggest-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--xd-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggest-sku {
  font-size: 11px;
  color: var(--xd-text-muted);
}

.inquiry-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--xd-border);
  border-radius: var(--xd-radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--xd-text);
  background: #fff;
  transition: all var(--xd-transition);
  white-space: nowrap;
}

.inquiry-trigger:hover {
  border-color: var(--xd-red);
  color: var(--xd-red);
}

.inquiry-badge {
  background: var(--xd-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--xd-dark);
  border: 1px solid var(--xd-border);
  border-radius: var(--xd-radius-sm);
}

/* ==========================================================================
   3. HERO BANNER CAROUSEL (1:1 Reference Visual Match)
   ========================================================================== */
.hero-section {
  position: relative;
  background: #daddde;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  height: 440px;
}

.hero-slide {
  --slide-bg: #daddde;
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s ease, visibility 0.65s ease;
  background-color: var(--slide-bg);
  background-size: auto 100%;
  background-position: right max(2%, calc((100vw - 1320px) / 2)) center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--slide-bg) 0%, var(--slide-bg) 43%, rgba(225, 227, 230, 0) 58%);
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 580px;
  padding: 20px 0;
}

.hero-headline {
  font-size: 46px;
  font-weight: 900;
  line-height: 1.22;
  color: #14171c;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}

.hero-headline .line-with-bar {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-slash {
  display: inline-block;
  width: 14px;
  height: 44px;
  background: var(--xd-red);
  transform: skewX(-18deg);
  border-radius: 1px;
  flex-shrink: 0;
}

.hero-subline {
  font-size: 18px;
  font-weight: 500;
  color: #363c48;
  letter-spacing: 0.03em;
  margin-bottom: 28px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--xd-red);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--xd-radius-sm);
  box-shadow: 0 6px 18px rgba(220, 30, 40, 0.25);
  transition: all var(--xd-transition);
}

.btn-primary:hover {
  background: var(--xd-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(220, 30, 40, 0.34);
  color: #fff;
}

.btn-outline-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid var(--xd-red);
  color: var(--xd-red);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: var(--xd-radius-sm);
  transition: all var(--xd-transition);
}

.btn-outline-red:hover {
  background: var(--xd-red);
  color: #fff;
}

.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 9px;
  z-index: 5;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  transition: all var(--xd-transition);
}

.hero-dot.active {
  background: var(--xd-red);
  transform: scale(1.15);
}

/* ==========================================================================
   4. CATEGORY QUICK BAR (Red Header Block + 5 Category Cards)
   ========================================================================== */
.quick-cat-section {
  padding: 20px 0 8px;
  background: #fff;
}

.quick-cat-grid {
  display: grid;
  grid-template-columns: 200px repeat(5, 1fr);
  gap: 14px;
  align-items: stretch;
}

.quick-cat-all {
  background: var(--xd-red);
  color: #fff;
  border-radius: var(--xd-radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 6px 16px rgba(220, 30, 40, 0.22);
  transition: background var(--xd-transition), transform var(--xd-transition);
}

.quick-cat-all:hover {
  background: var(--xd-red-hover);
  transform: translateY(-2px);
  color: #fff;
}

.quick-cat-all-icon {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quick-cat-all-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.quick-cat-all-sub {
  font-size: 12px;
  opacity: 0.9;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.quick-cat-card {
  background: #f8f9fb;
  border: 1px solid var(--xd-border-light);
  border-radius: var(--xd-radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 86px;
  transition: all var(--xd-transition);
}

.quick-cat-card:hover {
  background: #fff;
  border-color: rgba(220, 30, 40, 0.35);
  box-shadow: var(--xd-shadow-md);
  transform: translateY(-2px);
}

.quick-cat-card img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  mix-blend-mode: multiply;
  flex-shrink: 0;
  transition: transform var(--xd-transition);
}

.quick-cat-card:hover img {
  transform: scale(1.07);
}

.quick-cat-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--xd-dark);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.quick-cat-label span.arrow {
  color: var(--xd-text-muted);
  font-weight: 400;
  transition: transform var(--xd-transition), color var(--xd-transition);
}

.quick-cat-card:hover .quick-cat-label {
  color: var(--xd-red);
}

.quick-cat-card:hover .quick-cat-label span.arrow {
  color: var(--xd-red);
  transform: translateX(3px);
}

/* ==========================================================================
   5. FOUR VALUE PROPOSITIONS STRIP
   ========================================================================== */
.value-strip {
  padding: 26px 0;
  border-bottom: 1px solid var(--xd-border-light);
  background: #fff;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.value-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 8px 20px;
  border-right: 1px solid var(--xd-border);
}

.value-item:last-child {
  border-right: none;
}

.value-icon {
  width: 44px;
  height: 44px;
  color: var(--xd-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-icon svg {
  width: 38px;
  height: 38px;
}

.value-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--xd-dark);
  line-height: 1.3;
}

.value-desc {
  font-size: 13px;
  color: var(--xd-text-secondary);
  margin-top: 2px;
}

/* ==========================================================================
   6. SPLIT SECTION: ABOUT XUNDUN + HOT PRODUCTS
   ========================================================================== */
.about-hot-section {
  padding: 36px 0 32px;
  background: #fff;
}

.about-hot-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.about-panel {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 26px;
  align-items: center;
  padding-right: 28px;
  border-right: 1px solid var(--xd-border-light);
}

.about-photo-wrap {
  position: relative;
  border-radius: var(--xd-radius-md);
  overflow: hidden;
  box-shadow: var(--xd-shadow-sm);
  aspect-ratio: 16 / 10;
  background: #eef2f7;
}

.about-photo-wrap img.building-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Subtle Brand Sign Badge on HQ card */
.about-photo-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(21, 24, 30, 0.82);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.about-photo-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--xd-red);
}

.about-text h2 {
  font-size: 23px;
  font-weight: 800;
  color: var(--xd-dark);
  margin-bottom: 10px;
}

.about-red-rule {
  width: 30px;
  height: 3px;
  background: var(--xd-red);
  margin-bottom: 14px;
  border-radius: 2px;
}

.about-text p {
  font-size: 14px;
  line-height: 1.82;
  color: var(--xd-text-secondary);
  margin-bottom: 20px;
}

/* Hot Products Panel */
.hot-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hot-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  flex: 1;
}

.hot-card {
  background: #f6f7f9;
  border: 1px solid var(--xd-border-light);
  border-radius: var(--xd-radius-md);
  padding: 16px 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  cursor: pointer;
  transition: all var(--xd-transition);
}

.hot-card:hover {
  background: #fff;
  border-color: rgba(220, 30, 40, 0.35);
  box-shadow: var(--xd-shadow-md);
  transform: translateY(-3px);
}

.hot-card-img {
  width: 100%;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.hot-card-img img {
  max-height: 124px;
  max-width: 92%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform var(--xd-transition);
}

.hot-card:hover .hot-card-img img {
  transform: scale(1.06);
}

.hot-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--xd-dark);
}

.hot-card:hover .hot-card-title {
  color: var(--xd-red);
}

/* ==========================================================================
   7. APPLICATION FIELDS (5 Cards matching Reference Design)
   ========================================================================== */
.applications-section {
  padding: 20px 0 44px;
  background: #fff;
}

.app-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.app-card {
  position: relative;
  border-radius: var(--xd-radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  display: block;
  background: #1c2026;
  box-shadow: var(--xd-shadow-sm);
}

.app-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.35s ease;
}

.app-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 18, 24, 0.05) 35%, rgba(15, 18, 24, 0.84) 100%);
  pointer-events: none;
}

.app-card:hover img {
  transform: scale(1.08);
}

.app-card-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.app-card-caption svg {
  width: 20px;
  height: 20px;
  color: #fff;
  flex-shrink: 0;
}

/* ==========================================================================
   8. FEATURED PRODUCT MATRIX SECTION (Homepage Catalog Showcase)
   ========================================================================== */
.catalog-preview-section {
  padding: 52px 0;
  background: var(--xd-surface);
  border-top: 1px solid var(--xd-border-light);
}

.filter-tabs-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-tab {
  padding: 8px 16px;
  border-radius: var(--xd-radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--xd-text-secondary);
  background: #fff;
  border: 1px solid var(--xd-border);
  transition: all var(--xd-transition);
}

.filter-tab:hover {
  border-color: var(--xd-red);
  color: var(--xd-red);
}

.filter-tab.active {
  background: var(--xd-red);
  border-color: var(--xd-red);
  color: #fff;
}

/* Product Grid & Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--xd-border);
  border-radius: var(--xd-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--xd-transition);
}

.product-card:hover {
  border-color: rgba(220, 30, 40, 0.42);
  box-shadow: var(--xd-shadow-md);
  transform: translateY(-3px);
}

.product-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f8f9fb;
  overflow: hidden;
  cursor: pointer;
  border-bottom: 1px solid var(--xd-border-light);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform 0.35s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.05);
}

.product-sku-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  pointer-events: none;
  background: rgba(21, 24, 30, 0.78);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0.03em;
}

.product-img-count {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 2;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--xd-border);
  color: var(--xd-text-secondary);
  font-size: 11px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 999px;
}

.product-video-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 2;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(220, 30, 40, 0.92);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.product-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-cat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--xd-red);
  margin-bottom: 4px;
}

.product-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--xd-dark);
  line-height: 1.4;
  margin-bottom: 8px;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-title:hover {
  color: var(--xd-red);
}

.product-spec-snippet {
  font-size: 12.5px;
  color: var(--xd-text-secondary);
  line-height: 1.55;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.product-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.meta-pill {
  font-size: 11.5px;
  color: var(--xd-text-secondary);
  background: var(--xd-surface);
  padding: 2px 8px;
  border-radius: 3px;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: auto;
}

.btn-detail {
  padding: 7px 12px;
  background: var(--xd-surface);
  color: var(--xd-dark);
  border: 1px solid var(--xd-border);
  border-radius: var(--xd-radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: all var(--xd-transition);
}

.btn-detail:hover {
  background: var(--xd-dark);
  border-color: var(--xd-dark);
  color: #fff;
}

.btn-inquire-add {
  padding: 7px 12px;
  background: var(--xd-red-soft);
  color: var(--xd-red);
  border: 1px solid rgba(220, 30, 40, 0.24);
  border-radius: var(--xd-radius-sm);
  font-size: 13px;
  font-weight: 700;
  transition: all var(--xd-transition);
  white-space: nowrap;
}

.btn-inquire-add:hover, .btn-inquire-add.added {
  background: var(--xd-red);
  border-color: var(--xd-red);
  color: #fff;
}

/* ==========================================================================
   9. OEM CTA BANNER & SITE FOOTER
   ========================================================================== */
.oem-cta-banner {
  background: linear-gradient(115deg, #15181f 0%, #232834 60%, #2c161a 100%);
  color: #fff;
  padding: 46px 0;
  position: relative;
  overflow: hidden;
}

.oem-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.oem-cta-text h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.oem-cta-text p {
  color: #c4cad6;
  font-size: 15px;
  max-width: 680px;
}

.oem-cta-buttons {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

.btn-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  border-radius: var(--xd-radius-sm);
  font-weight: 600;
  transition: all var(--xd-transition);
}

.btn-light:hover {
  background: #fff;
  color: var(--xd-dark);
}

.site-footer {
  background: #111318;
  color: #a9b1bf;
  padding: 56px 0 26px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-box .brand-wordmark-en {
  color: #fff;
}

.footer-brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.95);
  padding: 6px 12px;
  border-radius: var(--xd-radius-md);
  margin-bottom: 16px;
}

.footer-brand-logo-wrap img {
  height: 36px;
}

.footer-desc {
  line-height: 1.75;
  color: #949dab;
  margin-bottom: 18px;
}

.footer-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  padding-left: 11px;
}

.footer-col h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: 15px;
  background: var(--xd-red);
  transform: skewX(-16deg);
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact-list svg {
  width: 17px;
  height: 17px;
  color: var(--xd-red);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #6e7785;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   10. INNER PAGE SUB-BANNERS & LAYOUTS
   ========================================================================== */
.page-hero {
  background: linear-gradient(110deg, #161920 0%, #252b37 100%);
  color: #fff;
  padding: 44px 0;
  border-bottom: 3px solid var(--xd-red);
}

.breadcrumb {
  font-size: 13px;
  color: #9ba3b2;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a:hover {
  color: #fff;
}

.page-hero h1 {
  font-size: 32px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-hero h1::before {
  content: "";
  width: 8px;
  height: 28px;
  background: var(--xd-red);
  transform: skewX(-18deg);
}

.page-hero p {
  margin-top: 8px;
  color: #c5ccd8;
  max-width: 720px;
  font-size: 15px;
}

/* Products Center Layout */
.catalog-page-section {
  padding: 36px 0 64px;
  background: var(--xd-surface);
  min-height: 65vh;
}

.catalog-toolbar {
  background: #fff;
  border: 1px solid var(--xd-border);
  border-radius: var(--xd-radius-md);
  padding: 20px 22px;
  margin-bottom: 24px;
  box-shadow: var(--xd-shadow-sm);
}

.toolbar-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--xd-border);
}

.toolbar-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.toolbar-row:first-child {
  padding-top: 0;
}

.toolbar-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--xd-dark);
  min-width: 78px;
  padding-top: 5px;
  flex-shrink: 0;
}

.toolbar-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}

.cat-pill {
  padding: 5px 13px;
  border-radius: var(--xd-radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--xd-text-secondary);
  background: var(--xd-surface);
  border: 1px solid transparent;
  transition: all var(--xd-transition);
}

.cat-pill:hover {
  color: var(--xd-red);
  border-color: rgba(220, 30, 40, 0.3);
}

.cat-pill.active {
  background: var(--xd-red);
  color: #fff;
}

.cat-pill .count {
  font-size: 11px;
  opacity: 0.78;
  margin-left: 4px;
}

.catalog-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 14px;
  flex-wrap: wrap;
}

.catalog-result-count {
  font-size: 14px;
  color: var(--xd-text-secondary);
}

.catalog-result-count strong {
  color: var(--xd-red);
  font-size: 16px;
}

.catalog-inline-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.catalog-inline-search input {
  height: 36px;
  width: 240px;
  padding: 0 12px;
  border: 1px solid var(--xd-border);
  border-radius: var(--xd-radius-sm);
  background: #fff;
  font-size: 13px;
}

.pagination-bar {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.page-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--xd-radius-sm);
  background: #fff;
  border: 1px solid var(--xd-border);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--xd-text);
  transition: all var(--xd-transition);
}

.page-btn:hover:not(:disabled) {
  border-color: var(--xd-red);
  color: var(--xd-red);
}

.page-btn.active {
  background: var(--xd-red);
  border-color: var(--xd-red);
  color: #fff;
}

.page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ==========================================================================
   11. PRODUCT DETAIL MODAL & INQUIRY DRAWER
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 18, 25, 0.62);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.product-modal {
  background: #fff;
  width: 100%;
  max-width: 940px;
  max-height: 90vh;
  border-radius: var(--xd-radius-lg);
  box-shadow: var(--xd-shadow-lg);
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: sticky;
  top: 14px;
  float: right;
  margin: 14px 14px 0 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--xd-surface);
  color: var(--xd-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  font-size: 20px;
}

.modal-close:hover {
  background: var(--xd-red);
  color: #fff;
}

.modal-body-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  padding: 28px;
  clear: both;
}

.modal-gallery-main {
  aspect-ratio: 4 / 3;
  background: #f8f9fb;
  border: 1px solid var(--xd-border);
  border-radius: var(--xd-radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.modal-gallery-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.modal-video-player {
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: contain;
  display: block;
}

.modal-video-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  display: block;
}

.modal-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.modal-thumb-btn {
  width: 72px;
  height: 58px;
  border: 2px solid var(--xd-border);
  border-radius: var(--xd-radius-sm);
  overflow: hidden;
  background: #f8f9fb;
  flex-shrink: 0;
  position: relative;
}

.modal-thumb-btn.active {
  border-color: var(--xd-red);
}

.modal-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-thumb-video {
  background: #15181e;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 4px;
}

.modal-thumb-video .play-tri {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--xd-red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  padding-left: 2px;
}

.modal-watch-video-btn {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--xd-red-soft);
  color: var(--xd-red);
  border: 1px solid rgba(220, 30, 40, 0.3);
  font-size: 12.5px;
  font-weight: 700;
  transition: all var(--xd-transition);
}

.modal-watch-video-btn:hover {
  background: var(--xd-red);
  color: #fff;
}

.modal-info-sku {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--xd-red);
  background: var(--xd-red-soft);
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.modal-info-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--xd-dark);
  line-height: 1.35;
  margin-bottom: 14px;
}

.modal-specs-box {
  background: var(--xd-surface);
  border: 1px solid var(--xd-border-light);
  border-radius: var(--xd-radius-md);
  padding: 14px 16px;
  margin-bottom: 16px;
}

.modal-specs-box h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--xd-dark);
  margin-bottom: 8px;
}

.modal-specs-list li {
  font-size: 13.5px;
  color: var(--xd-text-secondary);
  padding: 3px 0;
  line-height: 1.6;
}

.modal-pack-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 13px;
}

.modal-pack-table th, .modal-pack-table td {
  border: 1px solid var(--xd-border);
  padding: 8px 12px;
  text-align: left;
}

.modal-pack-table th {
  background: #f7f8fa;
  color: var(--xd-text-secondary);
  width: 34%;
  font-weight: 600;
}

/* Inquiry Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 18, 25, 0.5);
  z-index: 2100;
  display: none;
  justify-content: flex-end;
}

.drawer-backdrop.open {
  display: flex;
}

.inquiry-drawer {
  width: 100%;
  max-width: 430px;
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
}

.drawer-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--xd-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-header h3 {
  font-size: 18px;
  font-weight: 800;
}

.drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.drawer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--xd-border-light);
}

.drawer-item img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  background: var(--xd-surface);
  border-radius: 4px;
  flex-shrink: 0;
}

.drawer-item-info {
  flex: 1;
  min-width: 0;
}

.drawer-item-title {
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-qty-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.drawer-qty-row input {
  width: 68px;
  height: 28px;
  border: 1px solid var(--xd-border);
  border-radius: 4px;
  padding: 0 6px;
  font-size: 12.5px;
}

.drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--xd-border);
  background: var(--xd-surface);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   12. CONTENT SECTIONS FOR INNER PAGES (About, Solutions, Quality, OEM, News, Contact)
   ========================================================================== */
.content-section {
  padding: 56px 0;
}

.content-section.alt {
  background: var(--xd-surface);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--xd-border);
  border-top: 3px solid var(--xd-red);
  border-radius: var(--xd-radius-md);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--xd-shadow-sm);
}

.stat-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--xd-red);
  line-height: 1.1;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--xd-text-secondary);
  margin-top: 8px;
}

.feature-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.about-main-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}

.mobile-nav-search {
  display: none;
}

.info-card {
  background: #fff;
  border: 1px solid var(--xd-border);
  border-radius: var(--xd-radius-md);
  padding: 28px 24px;
  transition: all var(--xd-transition);
}

.info-card:hover {
  box-shadow: var(--xd-shadow-md);
  border-color: rgba(220, 30, 40, 0.35);
}

.info-card-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--xd-radius-sm);
  background: var(--xd-red);
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}

.info-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--xd-dark);
}

.info-card p {
  font-size: 14px;
  color: var(--xd-text-secondary);
  line-height: 1.75;
}

.solution-block {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 32px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--xd-border);
  border-radius: var(--xd-radius-lg);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--xd-shadow-sm);
}

.solution-block img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.solution-block-body {
  padding: 28px 32px 28px 4px;
}

.solution-block-body h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.solution-tag {
  padding: 4px 12px;
  background: var(--xd-surface);
  border: 1px solid var(--xd-border);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
}

.solution-tag:hover {
  border-color: var(--xd-red);
  color: var(--xd-red);
}

/* Contact Form */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 32px;
}

.contact-form-card {
  background: #fff;
  border: 1px solid var(--xd-border);
  border-radius: var(--xd-radius-lg);
  padding: 32px;
  box-shadow: var(--xd-shadow-sm);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--xd-dark);
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--xd-border);
  border-radius: var(--xd-radius-sm);
  font-size: 14px;
  transition: border-color var(--xd-transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--xd-red);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.toast-msg {
  position: fixed;
  bottom: 26px;
  right: 26px;
  background: #15181e;
  color: #fff;
  padding: 12px 20px;
  border-left: 4px solid var(--xd-red);
  border-radius: var(--xd-radius-sm);
  box-shadow: var(--xd-shadow-lg);
  font-size: 14px;
  font-weight: 600;
  z-index: 3000;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all 0.25s ease;
}

.toast-msg.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   13. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1360px) {
  .quick-cat-grid {
    grid-template-columns: 184px repeat(5, minmax(0, 1fr));
    gap: 10px;
  }
  .quick-cat-all {
    padding: 14px 14px;
    gap: 10px;
  }
  .quick-cat-card {
    padding: 10px 10px;
    gap: 6px;
    min-width: 0;
  }
  .quick-cat-card img {
    width: 52px;
    height: 52px;
  }
  .quick-cat-label {
    font-size: 14.5px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 1180px) {
  .quick-cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .about-hot-grid {
    grid-template-columns: 1fr;
  }
  .about-panel {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid var(--xd-border-light);
    padding-bottom: 24px;
  }
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .app-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .main-nav {
    display: none;
  }
  .main-nav.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: auto;
    background: #fff;
    border-bottom: 2px solid var(--xd-red);
    box-shadow: var(--xd-shadow-lg);
    padding: 14px 20px 18px;
    z-index: 1050;
  }
  .main-nav.mobile-open .mobile-nav-search {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    border: 1px solid var(--xd-border);
    border-radius: var(--xd-radius-sm);
    background: #f5f6f8;
    height: 38px;
    overflow: hidden;
  }
  .main-nav.mobile-open .mobile-nav-search input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: none;
    background: transparent;
    padding: 0 12px;
    font-size: 13.5px;
    outline: none;
  }
  .main-nav.mobile-open .mobile-nav-search button {
    width: 40px;
    height: 100%;
    background: var(--xd-red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .main-nav.mobile-open .nav-item {
    height: 44px;
  }
  .main-nav.mobile-open .mega-dropdown {
    display: none !important;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  .topbar-left,
  .topbar-item-email,
  .topbar-item-phone {
    display: none;
  }
  .topbar-inner {
    justify-content: space-between;
  }
  .topbar-right {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .topbar-item-wa {
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .topbar-divider {
    display: none;
  }
  .header-inner {
    height: 64px;
    gap: 8px;
  }
  .brand-logo img {
    height: 32px;
  }
  .brand-wordmark-en {
    font-size: 15.5px;
  }
  .brand-wordmark-sub {
    font-size: 8.5px;
  }
  .header-search {
    display: none;
  }
  .inquiry-trigger {
    height: 36px;
    padding: 0 9px;
  }
  .mobile-menu-btn {
    width: 36px;
    height: 36px;
  }
  .hero-slider {
    height: 360px;
  }
  .hero-slide {
    background-position: right center;
  }
  .hero-slide::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.82) 55%, rgba(255, 255, 255, 0.25) 100%);
  }
  .hero-headline {
    font-size: 28px;
  }
  .hero-subline {
    font-size: 14.5px;
    margin-bottom: 20px;
  }
  .hero-slash {
    height: 28px;
    width: 9px;
  }
  .quick-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .value-item {
    border-right: none;
    justify-content: flex-start;
  }
  .about-panel,
  .about-main-split,
  .feature-cards-2 {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .app-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid, .stats-grid, .feature-cards-3, .contact-layout, .solution-block, .modal-body-grid, .oem-cta-inner {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .solution-block-body {
    padding: 20px;
  }
}

@media (max-width: 520px) {
  .products-grid, .quick-cat-grid, .hot-cards-grid, .app-cards-grid, .value-grid, .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .inquiry-trigger span.label-txt {
    display: none;
  }
}

/* ==========================================================================
   14. GEO / B2B FAQ SECTION & CRAWLABLE SEMANTIC CATALOG
   ========================================================================== */
.faq-section {
  padding: 52px 0;
  background: #ffffff;
  border-top: 1px solid var(--xd-border-light);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.faq-card {
  background: var(--xd-surface);
  border: 1px solid var(--xd-border);
  border-radius: var(--xd-radius-md);
  padding: 22px 24px;
  transition: border-color var(--xd-transition), box-shadow var(--xd-transition);
}

.faq-card:hover {
  border-color: rgba(220, 30, 40, 0.35);
  box-shadow: var(--xd-shadow-sm);
}

.faq-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--xd-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.faq-card p {
  font-size: 13.8px;
  color: var(--xd-text-secondary);
  line-height: 1.72;
}

.sr-crawl-catalog {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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