/* Classic Blue Theme - Industrial Professional Style */
:root {
  /* Core Palette - Reverted to Original Blue Theme */
  --bg-dark: #f8fafc;       /* Light blue-grey background */
  --bg-card: #ffffff;       /* White cards */
  --bg-header: #ffffff;     /* White header */
  --bg-popup: #ffffff;      /* White popups */
  
  --primary: #1976d2;       /* Original Primary Blue */
  --primary-glow: rgba(25, 118, 210, 0.1);
  
  --accent: #42a5f5;        /* Original Accent Blue */
  --accent-secondary: #e3f2fd; 
  
  --text-main: #0f172a;     /* Darker professional text */
  --text-muted: #64748b;    /* Muted text */
  
  --border-color: rgba(25, 118, 210, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.95);
}

/* =========================================
   Global Layout & Background
   ========================================= */
body {
  background-color: var(--bg-dark) !important;
  color: var(--text-main) !important;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  overflow-x: hidden !important;
}

/* Entrance Animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 30px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.page-content, .container, .banner, .product-card {
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark); 
}

::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.2) !important; 
  border-radius: 0;
  border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(37, 99, 235, 0.4) !important; 
}

/* =========================================
   Unified Header Styling
   ========================================= */
.header {
  background-color: #ffffff !important;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.1), 0 2px 4px rgba(0,0,0,0.04);
}

.header-top {
  background-color: #f5f5f5 !important;
  border-bottom: 1px solid #e0e0e0;
  padding: 8px 0;
  font-size: 12px;
  color: var(--text-muted);
}

.header-top .company-name {
  color: var(--primary) !important;
  font-weight: 600;
  letter-spacing: 1px;
}

.header-top .company-contact span,
.header-top .company-contact i {
  color: #666666 !important;
}

/* Navigation Bar - Reverted to Original Blue Style */
.header-nav {
  height: auto !important; 
  background-color: var(--primary) !important;
  box-shadow: 0 12px 28px rgba(25, 118, 210, 0.12), 0 4px 8px rgba(0,0,0,0.06) !important;
  position: relative !important;
  z-index: 100 !important;
}

.el-menu.nav-menu {
  border-bottom: none !important;
  background: transparent !important;
  height: 60px !important;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.el-menu.nav-menu .el-menu-item {
  height: 60px !important;
  line-height: 60px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 15px !important;
  font-weight: 500;
  border-bottom: 3px solid transparent !important;
  transition: all 0.3s ease;
  background: transparent !important;
}

.el-menu.nav-menu .el-menu-item:hover,
.el-menu.nav-menu .el-menu-item:focus,
.el-menu.nav-menu .el-menu-item.is-active {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border-bottom-color: #ffffff !important;
}

/* Language Switcher Overrides */
.header-top .language-switcher .lang-item {
  background: #ffffff !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-muted) !important;
  border-radius: 2px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: none !important;
}

.header-top .language-switcher .lang-item:hover {
  background: var(--bg-dark) !important;
  color: var(--primary) !important;
  border-color: var(--primary) !important;
}

.header-top .language-switcher .lang-item.active {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
}

/* Subtle indicator for active language - REMOVED */
.header-top .language-switcher .lang-item.active::before {
  display: none !important;
}

.el-menu.nav-menu .el-menu-item.is-active::after {
  display: none !important;
}

/* Footer Injected Links Styling */
.footer-links .link-list.link-list-injected {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-links .link-list.link-list-injected li {
  margin-bottom: 8px !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
  list-style-type: none !important; /* Force remove dots */
}

.footer-links .link-list.link-list-injected li a {
  color: hsla(0, 0%, 100%, 0.8) !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.footer-links .link-list.link-list-injected li a:hover {
  color: #ffffff !important;
  padding-left: 8px !important;
}

.footer-links .link-list.link-list-injected li a::before {
  content: "" !important;
  width: 0 !important;
  height: 1px !important;
  background: #42a5f5 !important;
  transition: width 0.3s !important;
}

.footer-links .link-list.link-list-injected li a:hover::before {
  width: 12px !important;
}

/* =========================================
   Banner & Hero Section
   ========================================= */
.banner {
  margin-top: -1px; 
  position: relative;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

/* =========================================
   Professional Product Cards
   ========================================= */
.product-card, .news-card, .hot-item {
  background-color: var(--bg-card) !important;
  border: 1px solid var(--border-color) !important;
  position: relative;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(25, 118, 210, 0.06) !important;
}

.product-card:hover, .hot-item:hover, .news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(25, 118, 210, 0.1) !important; 
  border-color: var(--primary) !important;
}

.product-image, .hot-image {
  background-color: #fff; /* White bg for images */
  padding: 10px;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.product-info, .hot-info {
  padding: 15px;
  text-align: center !important;
}

.product-name, .news-title, .hot-name {
  color: var(--text-main) !important;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-model, .hot-model {
  color: var(--accent) !important;
  font-family: 'Consolas', monospace; 
  font-size: 0.9em;
  letter-spacing: 0.5px;
}

.product-desc, .news-desc {
  color: var(--text-muted) !important;
}

/* =========================================
   Sidebar & Categories
   ========================================= */
.category-sidebar {
  background-color: #ffffff !important;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.sidebar-title {
  border-bottom: 1px solid var(--border-color);
  padding: 15px;
  margin: 0;
  color: var(--primary) !important;
}

.category-list li {
  border-bottom: 1px solid #f1f5f9;
}

.category-list li:hover {
  background-color: #f8fafc;
}

.category-list li.active, .category-list li.is-active {
  background-color: var(--primary) !important;
  color: #ffffff !important;
}

.category-list li.active .category-name, 
.category-list li.is-active .category-name {
  color: #ffffff !important;
}

.category-list li.active i,
.category-list li.is-active i {
  color: #ffffff !important;
}

/* =========================================
   Headings & Titles
   ========================================= */
h1, h2, h3, h4, h5 {
  color: var(--text-main) !important;
  letter-spacing: 0.5px;
}

.section-title {
  color: var(--text-main);
  border-left: 4px solid var(--primary);
  padding-left: 15px;
  display: flex;
  align-items: center;
  position: relative;
}

.section-title::after {
  content: '';
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(to right, var(--border-color), transparent);
  margin-left: 20px;
}

/* =========================================
   Buttons & Inputs
   ========================================= */
.el-button {
  border-radius: 4px !important;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.el-button--primary {
  background: linear-gradient(135deg, #1976d2, #42a5f5) !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.2);
  position: relative;
  overflow: hidden;
}

.el-button--primary:hover {
  background: linear-gradient(135deg, #1565c0, #1976d2) !important;
  box-shadow: 0 6px 15px rgba(25, 118, 210, 0.3);
  transform: translateY(-1px);
}

.el-button--primary.is-plain {
  background: #ffffff !important;
  border: 1px solid var(--primary) !important;
  color: var(--primary) !important;
  box-shadow: none !important;
}

.el-button--primary.is-plain:hover {
  background: var(--primary) !important;
  color: #ffffff !important;
}

.el-button--success {
  background: linear-gradient(135deg, #2ba245, #22c55e) !important;
  border: none !important;
}

.el-button--info {
  background: linear-gradient(135deg, #64748b, #94a3b8) !important;
  border: none !important;
}

.el-button--warning {
  background: linear-gradient(135deg, #f59e0b, #fbbf24) !important;
  border: none !important;
}

.el-button--danger {
  background: linear-gradient(135deg, #ef4444, #f87171) !important;
  border: none !important;
}

.el-button--default {
  background-color: #ffffff !important;
  border: 1px solid #dcdfe6 !important;
  color: #606266 !important;
}

.el-button--default:hover {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  background-color: #f8fafc !important;
}

/* Inputs & Forms */
.el-input__inner, 
.el-textarea__inner,
.el-select .el-input__inner {
  background-color: #ffffff !important;
  border: 1px solid #dcdfe6 !important;
  color: #333333 !important;
  border-radius: 4px !important;
  transition: all 0.2s ease;
}

.el-form-item__label {
  color: #333333 !important;
  font-weight: 500;
}

.el-input__inner:focus, .el-textarea__inner:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.1) !important;
  outline: none !important;
}

.el-input-group__append, .el-input-group__prepend {
  background-color: #f5f7fa !important;
  border-color: #dcdfe6 !important;
  color: #909399 !important;
}

/* =========================================
   Footer - Reverted to Original Style
   ========================================= */
.footer {
  background-color: #4a4a4a !important; 
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 50px 0 0 !important;
  position: relative !important;
  overflow: hidden !important;
}

.footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  z-index: 2;
}

.footer-content {
  display: flex !important;
  gap: 20px !important;
  align-items: flex-start !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
}

.footer-links {
  flex: 1;
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important; /* 6 columns to fit everything in one row */
  gap: 12px !important; /* Smaller gap for compactness */
  align-items: start !important;
}

.footer-inquiry {
  width: 240px !important; /* Slightly narrower to fit */
  flex-shrink: 0 !important;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer h3, .footer h4 {
  color: #ffffff !important;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 8px;
  font-size: 16px; /* Slightly smaller for compactness */
}

.footer h3::after, .footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background-color: #42a5f5 !important;
  border-radius: 2px;
}

.footer a {
  color: rgba(255, 255, 255, 0.8) !important;
  transition: all 0.3s;
  text-decoration: none;
  font-size: 14px;
}

.footer a:hover {
  color: #ffffff !important;
  padding-left: 5px;
}

.footer-links .link-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-links .link-list li {
  margin-bottom: 8px !important;
}

.footer-bottom {
  background-color: #424242 !important;
  padding: 20px 0 !important;
  margin-top: 40px !important;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9) !important;
  position: relative !important;
}

.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #1976d2 !important;
}

.footer .contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.footer .contact-info-item i {
  color: #42a5f5 !important;
  font-size: 18px;
  margin-top: 3px;
}

/* Footer Inquiry Button - Original Style */
.footer .inquiry-btn {
  margin-top: 20px;
  width: 100%;
  height: 42px;
  font-size: 14px;
  background: #1976d2 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(25,118,210,.12),0 4px 8px rgba(0,0,0,.06);
  position: relative;
  overflow: hidden;
}

.footer .inquiry-btn:hover {
  background: #1565c0 !important;
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(25,118,210,.15),0 8px 16px rgba(0,0,0,.08);
}

.footer .inquiry-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,transparent,hsla(0,0%,100%,.2),transparent);
  transition: left .5s;
}

.footer .inquiry-btn:hover::before {
  left: 100%;
}

/* =========================================
   Element UI Overrides
   ========================================= */
.el-dropdown-menu, 
.el-select-dropdown, 
.el-picker-panel {
  background-color: #ffffff !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.el-dropdown-menu__item, 
.el-select-dropdown__item {
  color: var(--text-main) !important;
}

.el-dropdown-menu__item:hover, 
.el-select-dropdown__item.hover {
  background-color: #f1f5f9 !important;
  color: var(--primary) !important;
}

.el-table {
  background-color: #ffffff !important;
  color: var(--text-main) !important;
}

.el-table th, .el-table tr {
  background-color: #ffffff !important;
  border-bottom-color: var(--border-color) !important;
}

.el-table--enable-row-hover .el-table__body tr:hover>td {
  background-color: #f8fafc !important;
}

.el-table td, .el-table th.is-leaf {
  border-bottom: 1px solid var(--border-color) !important;
}

.el-tag {
  background-color: #eff6ff !important;
  border-color: #bfdbfe !important;
  color: #2563eb !important;
  border-radius: 4px;
}

/* =========================================
   Floating Contact & Utility Buttons
   ========================================= */
.section-action {
  display: none !important;
}

/* Floating Contact Buttons Fixes */
.contact-float {
  bottom: 80px !important;
  right: 20px !important;
  gap: 12px !important;
  z-index: 1000 !important;
}

.contact-btn, .back-to-top {
  background: #ffffff !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 12px !important;
  width: 54px !important;
  height: 54px !important;
  color: #1976d2 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.3s cubic-bezier(.4, 0, .2, 1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

.contact-btn.contact-qq {
  background: #ffffff !important;
  color: #12b7f5 !important;
}

.contact-btn.contact-wechat {
  background: #ffffff !important;
  color: #2ba245 !important;
}

.contact-btn.contact-email {
  background: #ffffff !important;
  color: #1976d2 !important;
}

.contact-btn.contact-phone {
  background: #ffffff !important;
  color: #f59e0b !important;
}

.contact-btn:hover, .back-to-top:hover {
  background: #1976d2 !important;
  color: #ffffff !important;
  transform: translateY(-5px) !important;
  box-shadow: 0 8px 25px rgba(25, 118, 210, 0.2) !important;
  border-color: #1976d2 !important;
}

.contact-btn i, .back-to-top i {
  font-size: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.contact-btn:hover i, .back-to-top:hover i {
  color: #ffffff !important;
}

.contact-btn svg {
  width: 28px !important;
  height: 28px !important;
}

/* Fix for third icon (Email) display */
.contact-btn.contact-email i {
  visibility: visible !important;
  display: block !important;
}

/* About Us Page & Service Page Dark Boxes back to white */
.contact-box, .contact-cta .cta-content {
  background: #ffffff !important;
  border: 1px solid #e0e0e0 !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05) !important;
}

.contact-box .contact-left h3,
.contact-box .contact-left p,
.contact-box .contact-right .contact-item,
.contact-cta .cta-content h2,
.contact-cta .cta-content p {
  color: #333333 !important;
}

.contact-box .contact-right .el-button,
.contact-cta .cta-content .cta-buttons .el-button--primary {
  background: #1976d2 !important;
  color: #ffffff !important;
  border: none !important;
}

.contact-box .contact-right .el-button:hover,
.contact-cta .cta-content .cta-buttons .el-button--primary:hover {
  background: #1565c0 !important;
  transform: translateY(-2px) !important;
}

.contact-cta .cta-content .cta-buttons .el-button--default {
  background: #ffffff !important;
  color: #1976d2 !important;
  border: 1px solid #1976d2 !important;
}

/* Service Process Refinement */
.process-steps {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  padding: 40px 20px !important;
  display: flex !important;
  justify-content: space-around !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
}

/* Hide Service Network Section and Map */
.section.network {
  display: none !important;
}

.process-step {
  flex: 0 1 150px !important;
  margin-bottom: 20px !important;
}

.process-step .step-icon {
  background: #eff6ff !important;
  color: #1976d2 !important;
  border: 1px solid #dbeafe !important;
  width: 70px !important;
  height: 70px !important;
  margin: 0 auto 15px !important;
  transition: all 0.3s ease !important;
}

.process-step:hover .step-icon {
  background: #1976d2 !important;
  color: #ffffff !important;
  transform: scale(1.1) !important;
}

.process-step .step-icon i {
  color: #1976d2 !important;
  font-size: 32px !important;
  transition: all 0.3s ease !important;
}

.process-step:hover .step-icon i {
  color: #ffffff !important;
}

.process-step .step-content h4 {
  color: #1e293b !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
}

.process-step .step-content p {
  color: #64748b !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

.process-step .step-arrow {
  display: none !important; /* Hide arrows for cleaner look */
}

@media (max-width: 768px) {
  .process-steps {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    padding: 20px 10px !important;
  }
  
  .process-step {
    flex: none !important;
    width: 100% !important;
  }

  .about-section {
    padding: 60px 0 !important;
  }
}

/* Tooltip/Popup styling for contact buttons */
.qr-code-popup, .contact-popup {
  background: #ffffff !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
  color: var(--text-main) !important;
}

.qr-code-popup::after {
  border-left-color: #ffffff !important;
}

/* =========================================
   Global Element UI Neutralization
   ========================================= */
.el-link.el-link--primary {
  color: var(--primary) !important;
}
.el-link.el-link--primary:hover {
  color: #1d4ed8 !important;
}

.el-tabs__item.is-active {
  color: var(--primary) !important;
}
.el-tabs__active-bar {
  background-color: var(--primary) !important;
}

.el-pagination.is-background .el-pager li:not(.disabled).active {
  background-color: var(--primary) !important;
  color: #ffffff !important;
}

i[class^="el-icon"], i[class*=" el-icon"] {
  color: inherit;
}

/* Specific Card-like structures found in images */
.advantage-card, .feature-item, .service-card, .advantage-item, .contact-card, .process-step {
  background-color: #ffffff !important;
  border: 1px solid var(--border-color) !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05) !important;
}

.advantage-card:hover, .feature-item:hover, .service-card:hover, .advantage-item:hover, .contact-card:hover, .process-step:hover {
  border-color: var(--primary) !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1) !important;
}

/* Icon backgrounds often found in these cards */
.icon-wrapper, .icon-box, .advantage-icon, .process-icon {
  background-color: #eff6ff !important;
  color: var(--primary) !important;
}

.advantage-card:hover .advantage-icon, 
.feature-item:hover .icon-box,
.process-step:hover .process-icon {
  background-color: var(--primary) !important;
  color: #ffffff !important;
}

/* Contact Info & Text Colors */
.contact-info-item .info-text, 
.contact-info-item i,
.contact-card .card-title,
.contact-details a,
.company-info .info-value {
  color: var(--text-main) !important;
}

.contact-details a:hover {
  color: var(--primary) !important;
  text-decoration: underline;
}

/* Icons in cards */
.el-icon-phone, .el-icon-message, .el-icon-location, .el-icon-chat-dot-round {
  color: var(--primary) !important;
}

/* Corporate Culture & Other Sections */
.culture-item .icon-box, 
.vision-item .icon-box,
.mission-item .icon-box {
  background-color: var(--primary) !important;
  color: #ffffff !important;
}

.culture-item:hover, .vision-item:hover, .mission-item:hover {
  border-color: var(--primary) !important;
}

/* All blue text that might be hardcoded in JS or elsewhere */
[style*="color: rgb(0, 122, 204)"],
[style*="color: #007acc"],
[style*="color: #00d2ff"] {
  color: var(--primary) !important;
}

[style*="background-color: rgb(0, 122, 204)"],
[style*="background-color: #007acc"] {
  background-color: var(--primary) !important;
  color: #ffffff !important;
}

/* =========================================
   Service Page - Network Map Fix (JS Mode)
   ========================================= */
#amap-container-service {
  width: 100% !important;
  height: 450px !important;
  border-radius: 8px !important;
  border: 1px solid var(--border-color) !important;
  overflow: hidden !important;
  background-color: #f8fafc !important;
}

.network-map {
  margin-top: 20px !important;
  position: relative !important;
}

/* =========================================
   Home Page - About Us Section Background
   ========================================= */
.about-section {
  position: relative;
  background-color: #ffffff !important;
  background-image: none !important;
  padding: 100px 0 !important;
  overflow: hidden;
}

/* Removing blue overlay */
.about-section::before {
  display: none !important;
}

.about-section .container {
  position: relative;
  z-index: 2;
}

.about-section .about-title {
  color: #333333 !important;
  font-size: 32px !important;
  margin-bottom: 20px !important;
}

.about-section .about-desc {
  color: #666666 !important;
  line-height: 1.8 !important;
  max-width: 600px;
}

.about-section .about-line {
  width: 50px;
  height: 3px;
  background-color: var(--primary) !important;
  margin-bottom: 30px;
}

.about-section .about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.about-section .about-text {
  flex: 1;
}

.about-section .about-image {
  flex: 1;
  text-align: right;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-section .about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
  border: 4px solid #f1f5f9 !important;
}

@media (max-width: 992px) {
  .about-section .about-content {
    flex-direction: column;
    text-align: center;
  }
  .about-section .about-text {
    max-width: 100%;
  }
  .about-section .about-desc {
    margin: 0 auto 20px;
  }
  .about-section .about-line {
    margin: 0 auto 30px;
  }
}

/* =========================================
   Responsive Design & Mobile Optimization
   ========================================= */

/* Tablets and smaller */
@media (max-width: 1200px) {
  .container {
    width: 95% !important;
    padding: 0 15px !important;
  }
}

/* Tablets (Portrait) */
@media (max-width: 992px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative !important;
  }

  .header-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav-menu {
    display: none !important; /* Hide standard menu */
  }
  
  /* Grid adjustments */
  .products-grid, .advantages-grid, .news-grid, .hot-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }
  
  .hero-carousel {
    height: 400px !important;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  /* Typography */
  h1 { font-size: 28px !important; }
  h2 { font-size: 24px !important; }
  h3 { font-size: 20px !important; }
  
  .section {
    padding: 40px 0 !important;
  }
  
  .header-top {
    display: block !important;
    padding: 10px 0 !important;
  }
  
  .header-top .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    text-align: center !important;
  }

  .header-top .company-contact {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
  }

  .header {
    height: auto !important;
    min-height: 60px !important;
    position: relative !important;
  }
  
  .header-nav {
    height: 60px !important;
    background-color: #1976d2 !important;
  }
  
  .mobile-menu-toggle span {
    background-color: #ffffff !important;
  }
  
  .logo img {
    height: 35px !important;
    width: auto !important;
    filter: brightness(0) invert(1); /* Make logo white if it's dark, or keep if it's already white */
  }
  
  .el-menu.nav-menu {
    height: auto !important;
  }

  /* Grid adjustments for mobile */
  .products-grid, 
  .advantages-grid, 
  .news-list, 
  .hot-products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important; /* Slightly smaller gap */
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .products-main {
    width: 100% !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .products-grid {
    padding: 5px !important;
    margin: 0 !important;
  }

  .products-layout {
    display: block !important;
    width: 100% !important;
  }
  
  .footer-content,
  .contact-info-grid,
  .about-content,
  .detail-wrapper,
  .message-content,
  .contact-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }
  
  .product-image-section,
  .product-info-section,
  .message-form-section,
  .contact-info {
    width: 100% !important;
  }

  .main-image img {
    max-width: 100% !important;
    height: auto !important;
  }

  .captcha-wrapper {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .captcha-img {
    margin-left: 0 !important;
    margin-top: 5px !important;
  }
  
  .product-card, .advantage-item, .news-item {
    width: 100% !important;
  }
  
  /* Product Center Mobile Optimization */
  .products-grid .product-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    text-align: center !important;
    border-radius: 6px !important; 
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
  }

  .products-grid .product-image {
    height: 140px !important; 
    padding: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-bottom: 1px solid var(--border-color) !important;
    background-color: #ffffff !important;
  }

  .products-grid .product-image img {
    max-height: 100% !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .products-grid .product-info {
    padding: 12px 10px !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    background: #ffffff !important;
  }

  .products-grid .product-name {
    font-size: 13px !important;
    margin-bottom: 3px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: var(--text-main) !important;
  }

  .products-grid .product-model {
    font-size: 10px !important; /* Slightly smaller */
    margin-bottom: 0 !important;
    color: var(--primary) !important;
    opacity: 0.8 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .products-grid .product-desc,
  .products-grid .product-tags {
    display: none !important; /* Hide details on grid view for mobile */
  }

  /* Pagination Mobile Fix */
  .pagination-wrapper {
    margin-top: 30px !important;
    text-align: center !important;
    width: 100% !important;
    overflow-x: auto !important;
    padding-bottom: 10px !important;
  }

  .el-pagination {
    display: inline-flex !important;
    white-space: nowrap !important;
  }

  .el-pagination button, .el-pagination .el-pager li {
    min-width: 35px !important;
    height: 35px !important;
    line-height: 35px !important;
    margin: 0 3px !important;
    background-color: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-main) !important;
  }

  .el-pagination .el-pager li.active {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #000 !important;
  }

  /* Hot Products Home Page Optimization */
  .hot-products-grid .hot-item {
    text-align: center !important;
    background: var(--bg-card) !important;
    border-radius: 8px !important;
  }

  .hot-products-grid .hot-info {
    padding: 10px !important;
  }

  .hot-products-grid .hot-name {
    font-size: 14px !important;
    margin-bottom: 5px !important;
  }

  .hot-products-grid .hot-model {
    font-size: 11px !important;
  }

  /* Filter Button for Mobile */
  .mobile-filter-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    color: var(--text-main);
    width: 100%;
    cursor: pointer;
  }

  .mobile-filter-btn i {
    margin-right: 8px;
    color: var(--accent);
  }
  
  /* Footer adjustments */
  .footer-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
    text-align: left !important;
  }
  
  .footer-links {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
    width: 100% !important;
  }
  
  .footer-inquiry {
    width: 100% !important;
    margin-top: 20px !important;
  }
  
  .footer-column {
    margin-bottom: 0 !important;
  }
  
  .footer-bottom-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    align-items: center !important;
    text-align: center !important;
  }
  
  /* Hero Carousel Adjustments */
  .hero-carousel {
    height: 300px !important;
    margin-top: 60px !important; /* Account for fixed header */
  }
  
  .hero-content h1 {
    font-size: 24px !important;
  }

  /* Page Spacer for inner pages */
  .page-spacer {
    height: 60px !important; /* Match mobile header height */
  }
  
  /* Map adjustments */
  #amap-container-service {
    height: 300px !important;
  }
  
  /* Floating contact buttons */
  .contact-float {
    bottom: 30px !important;
    right: 15px !important;
    gap: 10px !important;
  }
  
  .contact-btn, .back-to-top {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
  }
  
  .contact-btn i, .back-to-top i {
    font-size: 18px !important;
  }
}

/* Very small screens */
@media (max-width: 480px) {
  .container {
    width: 100% !important;
    padding: 0 10px !important;
    margin: 0 auto !important;
    overflow-x: hidden !important;
  }
  
  .hero-carousel {
    height: 250px !important;
  }
  
  /* Use the same image height as other mobile devices for consistency */
  .products-grid .product-image {
    height: 120px !important;
  }
}

/* =========================================
   Mobile Menu Implementation
   ========================================= */

/* Hamburger Button */
.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  z-index: 1001;
  padding: 10px;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--primary);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100vh;
  background-color: #ffffff;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  padding: 80px 20px 20px;
  box-shadow: 10px 0 30px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow-y: auto;
}

.mobile-menu-overlay.active {
  left: 0;
}

.mobile-menu-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 999;
  display: none;
}

.mobile-menu-mask.active {
  display: block;
}

.mobile-menu-item {
  color: var(--text-main);
  font-size: 18px;
  padding: 12px 15px;
  border-bottom: 1px solid var(--border-color);
  text-decoration: none;
  display: block;
}

.mobile-menu-item:active {
  background-color: #f1f5f9;
}

@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: block !important;
  }
  
  .header-nav .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 100% !important;
  }
  
  .header-nav {
    display: flex;
    align-items: center;
  }
}

/* Fix for Hero content visibility on mobile */
@media (max-width: 768px) {
  .hero-carousel .bg-overlay {
    background: rgba(0,0,0,0.6) !important;
  }
}

/* =========================================
   Component Specific Mobile Fixes
   ========================================= */

@media (max-width: 768px) {
  /* Product Detail */
  .product-main {
    flex-direction: column !important;
    gap: 30px !important;
  }
  
  .product-image {
    width: 100% !important;
    text-align: center !important;
  }
  
  .product-image img {
    max-width: 100% !important;
    height: auto !important;
  }
  
  .product-info {
    width: 100% !important;
    padding: 0 !important;
  }
  
  .related-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }
  
  /* Message & Contact Pages */
  .message-content, .contact-content {
    flex-direction: column !important;
    gap: 40px !important;
  }
  
  .form-section, .info-section, .contact-info, .contact-map {
    width: 100% !important;
  }
  
  .captcha-wrapper {
    flex-direction: column !important;
    gap: 10px !important;
  }
  
  .captcha-image {
    width: 100% !important;
    text-align: center !important;
    height: 40px !important;
    line-height: 40px !important;
  }
  
  /* Buttons on mobile */
  .el-button--large {
    width: 100% !important;
    margin-bottom: 10px !important;
    margin-left: 0 !important;
  }
  
  .product-actions {
    display: flex !important;
    flex-direction: column !important;
  }
  
  /* News */
  .news-item {
    flex-direction: column !important;
  }
  
  .news-image {
    width: 100% !important;
    height: 200px !important;
    margin-bottom: 15px !important;
  }
  
  .news-content {
    padding: 0 !important;
  }
  
  /* Tabs */
  .el-tabs__nav {
    display: flex !important;
    width: 100% !important;
  }
  
  .el-tabs__item {
    flex: 1 !important;
    text-align: center !important;
    padding: 0 10px !important;
    font-size: 13px !important;
  }
}

/* Fix for Category Sidebar on Products page */
@media (max-width: 992px) {
  .products-container {
    flex-direction: column !important;
  }
  
  .category-sidebar {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 80% !important;
    height: 100vh !important;
    z-index: 2000 !important;
    background: #ffffff !important;
    transition: right 0.3s ease !important;
    margin-bottom: 0 !important;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1) !important;
    display: block !important;
    overflow-y: auto !important;
    padding: 20px !important;
  }
  
  .category-sidebar.active {
    right: 0 !important;
  }

  .category-sidebar .sidebar-title {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 20px !important;
    color: var(--primary) !important;
  }

  .category-sidebar .sidebar-title::after {
    content: '\e6db'; /* Close icon for Element UI */
    font-family: 'element-icons' !important;
    cursor: pointer;
    font-size: 20px;
    color: var(--text-main);
  }
  
  .category-list {
    display: block !important;
    overflow-x: visible !important;
    padding: 0 !important;
    gap: 0 !important;
  }
  
  .category-list li {
    display: block !important;
    border: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 12px 0 !important;
    border-radius: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }

  .category-list .sub-category-list {
    padding-left: 20px !important;
    display: block !important;
  }

  .hot-products {
    margin-top: 30px !important;
  }
}

/* =========================================
   User Request: Simplify Product Cards
   (Only show Title and Image in List & Related)
   ========================================= */

/* Target Product Center List */
.products-main .product-card .product-desc,
.products-main .product-card .product-tags,
.products-main .product-card .el-tag,
.products-main .product-card .product-model,
.products-grid .product-card .product-desc,
.products-grid .product-card .product-tags,
.products-grid .product-card .el-tag,
.products-grid .product-card .product-model {
    display: none !important;
}

/* Target Related Products Section */
.related-grid .product-card .product-desc,
.related-grid .product-card .product-tags,
.related-grid .product-card .el-tag,
.related-grid .product-card .product-model,
.related-products .product-card .product-desc,
.related-products .product-card .product-tags,
.related-products .product-card .el-tag,
.related-products .product-card .product-model,
/* Fix for Related Products using different structure */
.related-grid .related-item .related-info p,
.related-products .related-item .related-info p {
    display: none !important;
}

/* Ensure proper spacing after hiding elements */
.products-main .product-card .product-info,
.products-grid .product-card .product-info,
.related-grid .product-card .product-info,
.related-products .product-card .product-info {
    padding-bottom: 15px !important;
    min-height: auto !important; /* Reset any min-height if set */
}
