.elementor-8 .elementor-element.elementor-element-713fdd1 {
  aspect-ratio: 1138 / 640;
  height: auto !important;
  min-height: 0 !important;
  --min-height: 0px !important;
}

.elementor-8 .elementor-element.elementor-element-713fdd1::before,
.elementor-8
  .elementor-element.elementor-element-713fdd1
  > .elementor-background-video-container::before,
.elementor-8
  .elementor-element.elementor-element-713fdd1
  > .e-con-inner
  > .elementor-background-video-container::before,
.elementor-8
  .elementor-element.elementor-element-713fdd1
  > .elementor-background-slideshow::before,
.elementor-8
  .elementor-element.elementor-element-713fdd1
  > .e-con-inner
  > .elementor-background-slideshow::before,
.elementor-8
  .elementor-element.elementor-element-713fdd1
  > .elementor-motion-effects-container
  > .elementor-motion-effects-layer::before {
  background-size: 100% 100% !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.elementor-8 .elementor-element.elementor-element-9bb2374,
.elementor-8 .elementor-element.elementor-element-3113947,
.elementor-8 .elementor-element.elementor-element-6f87bae {
  align-self: stretch !important;
  min-height: 100% !important;
}

/* 仅修复「最新资讯」上方产品轮播多余吊钩背景条 */
.elementor-8 .elementor-element.elementor-element-3c87867 {
  padding-top: 48px !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.elementor-8 .elementor-element.elementor-element-3c87867::before,
.elementor-8
  .elementor-element.elementor-element-3c87867
  > .elementor-motion-effects-container
  > .elementor-motion-effects-layer::before {
  background-image: none !important;
}

.elementor-8 .elementor-element.elementor-element-3c87867 .eael-woo-product-carousel-container {
  min-height: 320px;
  overflow: hidden;
}

/* 静态镜像：Elementor 滚动动画未触发时避免整块空白 */
.elementor-invisible,
.elementor-widget.elementor-invisible,
.e-con.elementor-invisible {
  visibility: visible !important;
  opacity: 1 !important;
}

/* 关于我们页内锚点（固定顶栏不遮挡） */
#1,
#fazhan,
#rongyu {
  scroll-margin-top: 110px;
}

/* 内页 Smart Slider 横幅：JS 未就绪时也保持原站大致高度 */
.elementor-widget-smartslider ss3-force-full-width,
.elementor-widget-smartslider .n2-ss-align {
  display: block;
  width: 100%;
}

.elementor-widget-smartslider .n2-ss-slider-1 {
  min-height: clamp(220px, 38vw, 520px);
}

/* 联系我们：三列联系方式（依赖 post-51.css，本地缺失时用 flex 兜底） */
.elementor-51 .elementor-element-t7841ln > .e-con-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
}

.elementor-51 .elementor-element-t7841ln > .e-con-inner > .e-con.e-child {
  flex: 1 1 280px;
  max-width: 360px;
  text-align: center;
}

.elementor-727 .elementor-element.elementor-element-3aabf70 .elementor-posts-container.elementor-grid {
  align-items: stretch;
}

.elementor-727 .elementor-element.elementor-element-3aabf70 .elementor-post {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.elementor-727 .elementor-element.elementor-element-3aabf70 .elementor-post__thumbnail__link {
  display: block;
}

.elementor-727 .elementor-element.elementor-element-3aabf70 .elementor-posts-container .elementor-post__thumbnail {
  height: auto !important;
  overflow: hidden;
  line-height: 0;
  position: relative;
}

.elementor-727 .elementor-element.elementor-element-3aabf70 .elementor-post__thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  max-width: none;
  max-height: none;
}

.elementor-727 .elementor-element.elementor-element-3aabf70 .elementor-post__text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.elementor-727 .elementor-element.elementor-element-3aabf70 .elementor-post__title {
  min-height: 2.8em;
}

.elementor-727 .elementor-element.elementor-element-3aabf70 .elementor-post__title a {
  display: block;
  line-height: 1.35;
}

/* 动态内页：正文区浮动配图完整显示 */
.elementor-727 .elementor-widget-theme-post-content .elementor-widget-container,
.elementor-727 .entry-content {
  overflow: visible;
}

.elementor-727 .entry-content img,
.elementor-727 .elementor-widget-theme-post-content img {
  max-width: 100%;
  height: auto;
}

.elementor-727 .entry-content img.alignleft,
.elementor-727 .entry-content img.alignright {
  display: block;
  float: none;
  margin: 1em auto;
}

@media (min-width: 768px) {
  .elementor-727 .entry-content img.alignleft {
    float: left;
    margin: 0.25em 1.25em 1em 0;
    max-width: min(300px, 45%);
  }

  .elementor-727 .entry-content img.alignright {
    float: right;
    margin: 0.25em 0 1em 1.25em;
    max-width: min(300px, 45%);
  }
}

/* 产品中心：分类页 / 产品列表统一产品图高度 */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  display: flex;
  flex-direction: column;
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
}

.elementor-widget-container .elementor-image-box-img img,
.elementor-widget-container a.elementor-animation-grow img.attachment-large,
.elementor-widget-container .woocommerce-loop-product__link img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
}

#n2-ss-4 .n2-ss-spinner,
#n2-ss-4 .n2-ss-loading-overlay {
  animation-duration: 0.35s !important;
  transition-duration: 0.35s !important;
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

img,
video,
iframe,
.n2-ss-slider,
.swiper,
.elementor-element {
  max-width: 100%;
}

.custom-logo,
img.custom-logo {
  max-width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .elementor-8 .elementor-element.elementor-element-713fdd1 {
    aspect-ratio: auto;
    min-height: 200px !important;
  }

  .elementor-widget-smartslider .n2-ss-slider-1 {
    min-height: 180px;
  }

  .woocommerce ul.products li.product a img,
  .woocommerce-page ul.products li.product a img,
  .elementor-widget-container .elementor-image-box-img img,
  .elementor-widget-container a.elementor-animation-grow img.attachment-large,
  .elementor-widget-container .woocommerce-loop-product__link img {
    height: 180px;
  }

  .custom-logo,
  img.custom-logo {
    max-height: 40px !important;
    width: auto !important;
  }

  .ast-mobile-header-wrap {
    display: block;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  .elementor-51 .elementor-element-t7841ln > .e-con-inner > .e-con.e-child {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.elementor-widget-tl-post-content img,
.prose img,
.cms-img img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 16px auto;
}

img.trp-flag-image {
  display: inline-block !important;
  width: 22px !important;
  height: 15px !important;
  max-width: none !important;
  min-width: 22px;
  object-fit: cover;
  vertical-align: middle;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.ydn-form-notice {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
}
.ydn-form-ok {
  background: #e8f7ee;
  color: #146c2e;
}
.ydn-form-err {
  background: #fdecea;
  color: #a12622;
}

.uael-video-type-hosted.ydn-video-ready {
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  max-width: 100%;
  cursor: default;
  background: #000 url("/wp-content/uploads/2024/12/brand-video-poster.jpg") center / contain no-repeat;
}
.uael-video-type-hosted.ydn-video-ready::before {
  display: none !important;
  content: none !important;
}
.uael-video-type-hosted.ydn-video-ready video.uael-hosted-video {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: contain;
  background: transparent;
  z-index: 3;
  cursor: pointer;
}
.ydn-video-play {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  z-index: 6 !important;
  width: 80px;
  height: 80px;
  padding: 0;
  border: 3px solid #fff;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
}
.ydn-video-play svg {
  width: 34px;
  height: 34px;
  margin-left: 4px;
}
.ydn-video-ready.is-playing .ydn-video-play {
  display: none;
}

.eael-woo-product-carousel .icons-wrap,
.eael-post-grid .eael-entry-overlay i {
  display: none !important;
}
