:root {
  --primary-color: #2f3437 !important;
  --primary-rgb: 47, 52, 55 !important;
  --primary-dark: #171a1c !important;
  --primary-light: #8a8175 !important;
  --secondary-color: #f6f3ed !important;
  --accent-color: #1f2326 !important;
  --wp--preset--color--pale-pink: #eeeeee !important;
  --wp--preset--color--vivid-red: #2f3437 !important;
  --wp--preset--color--luminous-vivid-orange: #6f6a60 !important;
  --wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg, #2f3437 0%, #6f6a60 100%) !important;
  --wp--preset--gradient--blush-bordeaux: linear-gradient(135deg, #2f3437 0%, #6f6a60 100%) !important;
  --wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg, #2f3437 0%, #555555 100%) !important;
  --text-dark: #2f3437 !important;
  --text-medium: #3f3f3f !important;
  --text-light: #676767 !important;
  --border-color: #d8d8d8 !important;
  --shadow-hover: 0 14px 34px rgba(0, 0, 0, 0.16) !important;
}

::selection {
  background: #2f3437;
  color: #ffffff;
}

body {
  background: #ffffff;
  color: #2f3437;
  
}

.topbar {
  background: #1f2326 !important;
  color: #ffffff !important;
}

.topbar a,
.topbar .topbar-item,
.topbar i {
  color: #ffffff !important;
}

.logo img,
.footer-logo img,
.distribution-stat.card-cn img {
  width: auto;
  object-fit: contain;
}

.logo img,
.footer-logo img {
  height: 52px !important;
}

.distribution-stat.card-cn img {
  max-height: 44px;
}

.widget-title::after,
.section-title h2::after {
  background: linear-gradient(90deg, #171a1c, #5b5b5b) !important;
}

.banner-sm::before,
.detail-banner::before,
.products-banner::before {
  background: #171a1c !important;
  opacity: 0.08 !important;
}

.banner-subtitle,
.banner-content h1 .highlight,
.banner-intro h1 span,
.b-feature i,
.app-feature-link,
.app-feature-link:hover,
.case-link,
.case-link:hover,
.video-modal-close:hover {
  color: #f4f4f4 !important;
}

.nav-link:hover,
.nav-link.active,
.breadcrumb-item.active,
.breadcrumb-item a:hover,
.card:hover .card-title,
.faq-item.active .faq-question,
.faq-question i,
.category-label,
.mega-product-card:hover .mega-product-info h4,
.mega-product-card:hover .mega-product-link,
.mega-product-link:hover,
.btn-learn-more,
.btn-learn-more:hover,
.search-icon:hover,
.menu-toggle:hover,
.search-close:hover,
.tab-btn:hover:not(.active),
.tab-nav-btn:hover:not(.active),
.product-tabs .tab-btn i,
.param-item i,
.f-product-specs li i,
.mega-product-params li i,
.adv-card i,
.service-icon,
.advantage-item i {
  color: #2f3437 !important;
}

.btn-primary,
.btn-primary:hover,
.btn-outline:hover,
.btn-white:hover,
.search-submit,
.search-submit:hover,
.sidebar-item:hover,
.side-cat-link:hover,
.side-cat-link.active,
.search-close:hover,
.tab-btn.active,
.tab-nav-btn.active,
.sol-tab-btn.active,
.sol-tab-btn:hover,
.megamenu-feature:hover,
.mega-product-badge,
.side-contact-widget,
.f-product-badge,
.case-tag,
.app-tag,
.cat-icon,
.cat-overlay,
.video-play-btn,
.ripple,
.adv-badge,
.adv-feature-icon,
.thumb-nav,
.swiper-pagination-bullet-active {
  background: #2f3437 !important;
  border-color: #2f3437 !important;
  color: #ffffff !important;
}

.btn-primary,
.btn-primary:hover {
  background-image: none !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18) !important;
}

.btn-outline {
  color: #2f3437 !important;
  border-color: #2f3437 !important;
}

.btn-white {
  color: #2f3437 !important;
}

.search-input:focus,
.form-control:focus {
  border-color: #2f3437 !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08) !important;
}

.swiper-pagination-bullet {
  background: rgba(0, 0, 0, 0.22) !important;
  opacity: 1 !important;
}

.product-visual .swiper-button-next:hover,
.product-visual .swiper-button-prev:hover,
.product-swiper .swiper-button-next:hover,
.product-swiper .swiper-button-prev:hover,
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #2f3437 !important;
  border-color: #2f3437 !important;
}

.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
  color: #ffffff !important;
}

.thumb-nav:hover {
  background: #ffffff !important;
  color: #2f3437 !important;
}

.thumb-item.swiper-slide-thumb-active,
.thumb-item.active,
.faq-item:hover,
.faq-item.active,
.service-card:hover {
  border-color: #2f3437 !important;
}

.tab-btn.active {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22) !important;
}

.tab-btn.active i,
.tab-nav-btn.active i {
  color: #ffffff !important;
}

.tab-btn:hover:not(.active),
.tab-nav-btn:hover:not(.active) {
  background: rgba(0, 0, 0, 0.05) !important;
}

.mega-product-badge.badge-new {
  background: #5a5a5a !important;
}

.mega-product-badge.badge-best {
  background: #2f3437 !important;
}

.side-contact-widget {
  background-image: linear-gradient(135deg, #2f3437 0%, #4d5458 100%) !important;
}

.footer {
  background: linear-gradient(135deg, #1f2326, #1a1a1a) !important;
}

.footer::before,
.footer::after {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent) !important;
}

.footer-links a::before,
.footer-contact-item i {
  color: #d7d7d7 !important;
}

.footer-links a:hover,
.footer-contact-item a:hover,
.footer-bottom a,
.footer-bottom a:hover,
.footer-social-link,
.footer-section p,
.footer-contact-item span,
.footer-contact-item a {
  color: #ffffff !important;
}

.footer-social-link:hover,
.social-link:hover {
  background: #ffffff !important;
  color: #2f3437 !important;
}

.footer .btn-primary,
.footer .btn-primary:hover,
.cta-banner .btn-primary,
.cta-banner .btn-primary:hover,
.fixed-bg .btn-primary,
.fixed-bg .btn-primary:hover {
  background: #ffffff !important;
  color: #2f3437 !important;
  border-color: #ffffff !important;
  background-image: none !important;
}

.cat-content h3,
.banner-intro h1 span,
.banner-content h1 .highlight {
  color: #ffffff !important;
}

.service-icon,
.advantage-item i {
  background: #2f3437 !important;
  color: #ffffff !important;
}

/* Final no-red pass for theme/plugin fragments loaded after cache rebuilds. */
.highlight,
.text-primary,
.category-label,
.stat-number,
.distribution-stat-number,
.product-price,
.product-meta i,
.news-meta i,
.contact-method-icon,
.service-icon,
.faq-tab-btn:hover,
.faq-tab-btn.active,
.scenario-icon,
.scenario-info h4,
.scenario-card-num,
.adv-item-icon,
.adv-card i,
.adv-feature-icon,
.app-feature-icon,
.product-card:hover .product-title,
.news-card:hover .news-title,
.card:hover .card-title,
.modal-close:hover,
.swiper-button-next::after,
.swiper-button-prev::after {
  color: #2f3437 !important;
}

.banner .highlight,
.banner-content h1 .highlight,
.banner-intro h1 span,
.fixed-bg .highlight,
.applications-section .highlight,
.advantages-section .highlight,
.photo-wall-section .highlight,
.news-section .highlight,
.side-contact-widget .highlight,
.footer .highlight,
.cat-content h3,
.case-overlay .highlight {
  color: #ffffff !important;
}

.faq-tab-btn.active,
.faq-tab-btn:hover,
.contact-method-card:hover .contact-method-icon,
.service-card:hover .service-icon,
.scenario-card:hover .scenario-icon,
.adv-item:hover .adv-item-icon,
.adv-visual-badge,
.app-feature-icon,
.adv-feature-icon,
.product-card-badge,
.product-badge,
.news-date,
.case-tag,
.app-tag,
.cat-icon,
.cat-overlay,
.badge,
[class*="badge"],
[class*="tag"],
.pagination .page-btn:hover,
.pagination .page-btn.active,
.page-btn:hover,
.page-btn.active,
.modal-close:hover,
.tablepress thead th,
.tablepress thead .dt-orderable-asc:hover,
.tablepress thead .dt-orderable-desc:hover,
.tablepress thead .dt-ordering-asc,
.tablepress thead .dt-ordering-desc {
  background: #2f3437 !important;
  background-color: #2f3437 !important;
  border-color: #2f3437 !important;
  color: #ffffff !important;
}

.contact-method-icon,
.service-icon,
.scenario-icon,
.adv-item-icon,
.contact-social-inline .social-links a:hover {
  background: #f2f2f2 !important;
  background-color: #f2f2f2 !important;
  color: #2f3437 !important;
}

.contact-method-card:hover .contact-method-icon,
.service-card:hover .service-icon,
.scenario-card:hover .scenario-icon,
.adv-item:hover .adv-item-icon,
.contact-social-inline .social-links a:hover {
  background: #2f3437 !important;
  background-color: #2f3437 !important;
  color: #ffffff !important;
}

.side-contact-widget,
.cta-banner,
.adv-visual-badge,
.cat-adv-section,
.footer,
.footer::before,
.footer::after {
  background-image: none !important;
}

.side-contact-widget,
.cta-banner,
.cat-adv-section {
  background-color: #2f3437 !important;
  color: #ffffff !important;
}

.swiper-pagination-bullet,
.carousel-dot {
  background: #d0d0d0 !important;
}

.swiper-pagination-bullet-active,
.carousel-dot.active {
  background: #2f3437 !important;
}

.form-control:focus,
.ff-el-form-control:focus,
.ff-el-form-control:focus-visible,
input:focus,
textarea:focus,
select:focus {
  border-color: #2f3437 !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08) !important;
  outline-color: #2f3437 !important;
}

.tablepress {
  --head-bg-color: #2f3437 !important;
  --head-text-color: #ffffff !important;
  --head-active-bg-color: #6f6a60 !important;
  --head-active-text-color: #ffffff !important;
  --head-sort-arrow-color: #ffffff !important;
  --hover-bg-color: #eeeeee !important;
}

.banner-slide img,
.card-image img,
.product-image img,
.product-gallery img,
.main-image-slider img,
.thumb-item img,
.mega-product-image img,
.f-product-visual img,
.cat-bg img,
.case-image img,
.news-image img,
.featured-image img,
.news-list-image img,
.intro-image img,
.adv-main-img img,
.adv-visual-box img,
.photo-item img,
.contact-method-card img {
  filter: saturate(0.82) contrast(1.03) !important;
}

.logo img,
.footer-logo img,
.qr-tooltip img,
.distribution-stat.card-cn img {
  filter: none !important;
}

.has-pale-pink-color,
.has-vivid-red-color,
.has-luminous-vivid-orange-color {
  color: #2f3437 !important;
}

.has-pale-pink-background-color,
.has-vivid-red-background-color,
.has-luminous-vivid-orange-background-color,
.has-luminous-vivid-orange-to-vivid-red-gradient-background,
.has-blush-bordeaux-gradient-background,
.has-cool-to-warm-spectrum-gradient-background {
  background: #2f3437 !important;
  background-color: #2f3437 !important;
  color: #ffffff !important;
}

.has-pale-pink-border-color,
.has-vivid-red-border-color,
.has-luminous-vivid-orange-border-color {
  border-color: #2f3437 !important;
}

.app-feature-link {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.fluentform .ff-btn,
.fluentform .ff-btn-submit,
.fluentform button.ff-btn,
.fluentform button.ff-btn-submit {
  background: #2f3437 !important;
  border-color: #2f3437 !important;
  color: #ffffff !important;
}

.fluentform .ff-btn:hover,
.fluentform .ff-btn-submit:hover,
.fluentform button.ff-btn:hover,
.fluentform button.ff-btn-submit:hover {
  background: #171a1c !important;
  border-color: #171a1c !important;
  color: #ffffff !important;
}

[id^="gspb_heading-id-gsbp-"] {
  background-color: #2f3437 !important;
  border-right-color: #ffffff !important;
  color: #ffffff !important;
}

/* Balanced neutral direction: remove red without flattening the whole site. */
body {
  background: #fbfaf7 !important;
  filter: none !important;
}

.section,
.company-intro,
.products-section,
.advantages-section,
.applications-section,
.photo-wall-section,
.news-section,
.cases-section {
  background-color: #fbfaf7 !important;
}

.card,
.mega-product-card,
.news-featured-card,
.news-list-item,
.contact-method-card,
.sidebar-widget,
.stat-item,
.advantage-card,
.service-card,
.faq-item,
.tab-pane,
.product-split {
  background-color: #ffffff !important;
  border-color: #e5ded2 !important;
  box-shadow: 0 10px 28px rgba(47, 52, 55, 0.08) !important;
}

.topbar,
.footer {
  background: linear-gradient(135deg, #1f2326 0%, #3d4143 100%) !important;
}

.btn-primary,
.search-submit,
.tab-btn.active,
.tab-nav-btn.active,
.sidebar-item:hover,
.side-cat-link:hover,
.side-cat-link.active,
.faq-tab-btn.active,
.faq-tab-btn:hover,
.swiper-pagination-bullet-active,
.carousel-dot.active,
.video-play-btn,
.app-tag,
.case-tag,
.cat-icon,
.adv-badge,
.adv-feature-icon,
.contact-method-card:hover .contact-method-icon,
.service-card:hover .service-icon {
  background: #2f3437 !important;
  background-color: #2f3437 !important;
  border-color: #2f3437 !important;
  color: #ffffff !important;
}

.btn-primary:hover,
.search-submit:hover,
.video-play-btn:hover {
  background: #6f6a60 !important;
  background-color: #6f6a60 !important;
  border-color: #6f6a60 !important;
}

.highlight,
.category-label,
.stat-number,
.distribution-stat-number,
.btn-learn-more,
.mega-product-link,
.app-feature-link,
.case-link:hover,
.nav-link:hover,
.nav-link.active,
.breadcrumb-item.active,
.breadcrumb-item a:hover,
.card:hover .card-title,
.news-card:hover .news-title,
.product-card:hover .product-title,
.advantage-icon,
.product-tabs .tab-btn i,
.mega-product-params li i,
.app-feature-list li i,
.faq-question i {
  color: #6f6a60 !important;
}

.banner .highlight,
.banner-content h1 .highlight,
.banner-intro h1 span,
.fixed-bg .highlight,
.applications-section .highlight,
.advantages-section .highlight,
.photo-wall-section .highlight,
.news-section .highlight,
.footer .highlight {
  color: #f2eadc !important;
}

.widget-title::after,
.section-title h2::after,
.advantage-card::before {
  background: linear-gradient(90deg, #2f3437, #b9ad9a) !important;
}

.banner-slide img,
.card-image img,
.product-image img,
.product-gallery img,
.main-image-slider img,
.thumb-item img,
.mega-product-image img,
.f-product-visual img,
.cat-bg img,
.case-image img,
.news-image img,
.featured-image img,
.news-list-image img,
.intro-image img,
.adv-main-img img,
.adv-visual-box img,
.photo-item img {
  filter: saturate(0.78) contrast(1.04) brightness(1.02) !important;
}

.logo img,
.footer-logo img,
.qr-tooltip img,
.distribution-stat.card-cn img {
  filter: none !important;
}

@media (max-width: 768px) {
  .logo img,
  .footer-logo img {
    height: 42px !important;
  }

  .distribution-stat.card-cn img {
    max-height: 36px;
  }
}
