﻿@font-face {
  font-family: "Poppins";
  src: url("../poppins/Poppins-Thin.woff2") format("woff2"),
         url("../poppins/Poppins-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../poppins/Poppins-ThinItalic.woff2") format("woff2"),
         url("../poppins/Poppins-ThinItalic.ttf") format("truetype");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../poppins/Poppins-ExtraLight.woff2") format("woff2"),
         url("../poppins/Poppins-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../poppins/Poppins-ExtraLightItalic.woff2") format("woff2"),
         url("../poppins/Poppins-ExtraLightItalic.ttf") format("truetype");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../poppins/Poppins-Light.woff2") format("woff2"),
         url("../poppins/Poppins-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../poppins/Poppins-LightItalic.woff2") format("woff2"),
         url("../poppins/Poppins-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../poppins/Poppins-Regular.woff2") format("woff2"),
         url("../poppins/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../poppins/Poppins-Italic.woff2") format("woff2"),
         url("../poppins/Poppins-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../poppins/Poppins-Medium.woff2") format("woff2"),
         url("../poppins/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../poppins/Poppins-MediumItalic.woff2") format("woff2"),
         url("../poppins/Poppins-MediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../poppins/Poppins-SemiBold.woff2") format("woff2"),
         url("../poppins/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../poppins/Poppins-SemiBoldItalic.woff2") format("woff2"),
         url("../poppins/Poppins-SemiBoldItalic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../poppins/Poppins-Bold.woff2") format("woff2"),
         url("../poppins/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../poppins/Poppins-BoldItalic.woff2") format("woff2"),
         url("../poppins/Poppins-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../poppins/Poppins-ExtraBold.woff2") format("woff2"),
         url("../poppins/Poppins-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../poppins/Poppins-ExtraBoldItalic.woff2") format("woff2"),
         url("../poppins/Poppins-ExtraBoldItalic.ttf") format("truetype");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../poppins/Poppins-Black.woff2") format("woff2"),
         url("../poppins/Poppins-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../poppins/Poppins-BlackItalic.woff2") format("woff2"),
         url("../poppins/Poppins-BlackItalic.ttf") format("truetype");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
}
.site-header-top {
  position: relative;
  z-index: 1000;
}
.language-switcher {
  position: relative;
  z-index: 1001;
}
.language-switcher [data-lang-switch-panel],
.language-switcher .trp-ls-shortcode-language,
.language-switcher .trp-language-switcher > div:not(.trp-current-language-item__wrapper) {
  z-index: 10020;
}
.language-switcher:hover [data-lang-switch-panel],
.language-switcher.is-open [data-lang-switch-panel] {
  display: block;
  opacity: 1;
  visibility: visible;
}
.language-switcher .trp-language-switcher{
  padding: 0;
  line-height: 40px;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.language-switcher .trp-current-language-item__wrapper{
  padding: 0;
}
.language-switcher .trp-current-language-item__wrapper:not(.trp-hide-arrow){
  padding: 0;
}

.language-switcher .trp-current-language-item__wrapper .trp-language-item__current{
  display: flex;
  align-items: center;
  justify-content: justify-between;
}

.shadow-glow {
  box-shadow: 0 8px 30px rgba(255, 140, 0, 0.22);
}
.shadow-glow:hover {
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 106, 0, 0.25);
}

/* Header Top Bar - Scroll Hide */
.site-header-top {
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.site-header-top.is-hidden {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* Header Nav - Sticky on scroll */
.site-header-nav {
  transition: box-shadow 0.3s ease;
}

.site-header-nav.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Compact Power Section - Swiper Styles */
.compact-power-card {
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.compact-power-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.compact-power-media {
  position: relative;
  overflow: hidden;
  min-height: 240px;
}

.compact-power-media img,
.compact-power-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.compact-power-card:hover .compact-power-media img,
.compact-power-card:hover .compact-power-media video {
  transform: scale(1.05);
}

.compact-power-content {
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .compact-power-media {
    min-height: 280px;
  }
}

@media (min-width: 768px) {
  .compact-power-media {
    min-height: 320px;
  }
}

@media (min-width: 1024px) {
  .compact-power-media {
    min-height: 400px;
  }
}

/* Products Accessories Swiper Styles */
.products-accessories-swiper .swiper-wrapper {
  align-items: flex-start;
}

.products-accessories-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.products-accessories-swiper .swiper-slide > div {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.products-accessories-swiper .swiper-slide > div > div:last-child {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.products-accessories-swiper .line-clamp-3 {
  min-height: 4.5em;
}

/* Product Category Swiper Styles */
[class*="products-swiper-"] .swiper-wrapper {
  align-items: flex-start;
}

[class*="products-swiper-"] .swiper-slide {
  height: auto;
}

[class*="products-swiper-"] .swiper-slide > div {
  width: 100%;
}

/* Flagship Products Swiper Styles */
.flagship-products-swiper .swiper-wrapper {
  align-items: flex-start;
}

.flagship-products-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.flagship-products-swiper .swiper-slide > div {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.flagship-products-swiper .swiper-slide > div > div:last-child {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.flagship-products-swiper .line-clamp-3 {
  min-height: 4.5em;
}
/* 全局减小字体大小 */
html {
    font-size: 14px; /* 默认是 16px，改为 14px 相当于整体缩小约 87.5% */
}

.hero-swiper,
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
  max-height: 760px;
}

.compact-power-swiper .swiper-wrapper,
.compact-applications-swiper .swiper-wrapper {
  align-items: flex-start;
}

.compact-power-swiper .swiper-slide,
.compact-applications-swiper .swiper-slide {
  height: auto;
}
/* Swiper height fixes - prevent abnormal stretching */
.testimonial-swiper,
.testimonial-swiper .swiper-wrapper,
.testimonial-swiper .swiper-slide,
.compact-power-swiper,
.compact-power-swiper .swiper-wrapper,
.compact-power-swiper .swiper-slide,
.quality-swiper,
.quality-swiper .swiper-wrapper,
.quality-swiper .swiper-slide,
.compact-applications-swiper,
.compact-applications-swiper .swiper-wrapper,
.compact-applications-swiper .swiper-slide {
  height: auto !important;
}
/* Global Swiper height fix - prevent abnormal stretching from Swiper's default height:100% */
.swiper .swiper-wrapper,
.swiper .swiper-slide {
  height: auto !important;
}