@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//yifeinewpower.com/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.2.7") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//yifeinewpower.com/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//yifeinewpower.com/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//yifeinewpower.com/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//yifeinewpower.com/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//yifeinewpower.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//yifeinewpower.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//yifeinewpower.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//yifeinewpower.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "Ubuntu", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 15px;
	--wd-title-font: "Manrope3", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Manrope3", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Manrope3", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Manrope3", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Ubuntu", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 500;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-primary-color: rgb(239,202,153);
	--wd-alternative-color: #fbbc34;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(142,203,222);
	--btn-accented-bgcolor-hover: rgb(115,190,214);
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: url(https://yifeinewpower.com/wp-content/uploads/2021/10/alternative-energy-popup.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: #0a0a0a;
	background-image: url(https://yifeinewpower.com/wp-content/uploads/2021/10/alternative-energy-page-title.jpg);
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
.wd-nav-arrows.wd-pos-sep:not(:where(.wd-custom-style)) {
	--wd-arrow-offset-h: -32px;
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1600px;
--wd-form-brd-radius: 35px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 0px;
}

@media (min-width: 1600px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


@font-face {
	font-family: "Manrope3";
	src: url("//yifeinewpower.com/wp-content/uploads/2021/10/Manrope3-Thin.woff") format("woff2"), 
url("//yifeinewpower.com/wp-content/uploads/2021/10/Manrope3-Thin.woff") format("woff");
	font-weight: 100;
	font-style: normal;
}

@font-face {
	font-family: "Manrope3";
	src: url("//yifeinewpower.com/wp-content/uploads/2021/10/Manrope3-Bold.woff2") format("woff2"), 
url("//yifeinewpower.com/wp-content/uploads/2021/10/Manrope3-Bold.woff") format("woff");
	font-weight: 600;
	font-style: normal;
}

@font-face {
	font-family: "Manrope3";
	src: url("//yifeinewpower.com/wp-content/uploads/2021/10/Manrope3-Regular.woff2") format("woff2"), 
url("//yifeinewpower.com/wp-content/uploads/2021/10/Manrope3-Regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
}

/* 产品图片悬停放大效果 */
.product-grid-item .product-element-top {
  overflow: hidden !important;
}
.product-grid-item .product-image-link img {
  transition: all 0.4s ease !important;
  width: 100% !important;
  height: auto !important;
}
.product-grid-item:hover .product-image-link img {
  transform: scale(1.15) !important; /* 1.15 = 放大15%，可改 */
}
/* WoodMart 强制变体重置按钮一直显示 */
.woocommerce .reset_variations {
    visibility: visible !important;
    display: inline-flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    height: auto !important;
    overflow: visible !important;
}

/* 兼容WoodMart主题自带变体JS隐藏逻辑 */
.variations_form .reset_variations[style*="visibility: hidden"] {
    visibility: visible !important;
}


/* 隐藏所有产品价格、原价、促销价、折扣价 */
.price,
.woocommerce-Price-amount,
.woocommerce-Price-currencySymbol,
.woocommerce-variation-price,
.wd-product-price,
.wd-price,
del.woocommerce-Price-amount,
ins.woocommerce-Price-amount,
.product-price,
span.price {
    display: none !important;
}

/* 全局导航英文：首字母大写，其余小写 */
.wd-nav-main .woodmart-nav-link,
.wd-nav-main .nav-link-text,
.wd-sub-menu a,
.sub-sub-menu a {
    text-transform: capitalize !important;
}




/* 只修改产品下拉内部子菜单箭头为加号，靠右 */
.wd-sub-menu .menu-item-has-children > a::after {
    content: "+" !important;
    border: none !important;
    transform: none !important;
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

/* 选项卡容器取消居中、左对齐 */
.wd-nav-wrapper.wd-nav-tabs-wrapper.text-center {
    text-align: left !important;
}

.wd-nav-tabs {
    justify-content: flex-start !important;
}

/* 每个标签之间间距 30px */
.wd-nav-tabs > li:not(:last-child) {
    margin-right: 30px !important;
}




/* 主导航一级菜单间距 52px（完美居中版） */
.wd-nav-main > .menu-item {
    margin-left: 26px !important;
    margin-right: 26px !important;
}
/* 主导航字体加大 */
#menu-main-navigation > li > a .nav-link-text {
    font-size: 20px !important;
    font-weight: 500 !important;
}


/* 手机端：4个项目 自动排成 2×2 网格（一排2个）*/
@media (max-width: 768px) {
  .elementor-element-7774d7b {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
    padding: 0 10px !important;
  }

  /* 每个项目内容居中、不拉伸 */
  .elementor-element-7774d7b > .e-con {
    width: 100% !important;
    flex: unset !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* 图标大小微调 */
  .elementor-element-7774d7b img {
    width: 38px !important;
    height: 38px !important;
  }
}

/* 手机端：产品标题只显示一行，多余文字...代替 */
@media (max-width: 768px) {
  .wd-cat-content .wd-entities-title {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 100% !important;
    display: block !important;
  }
}

/* 手机端：产品卡片只显示标题，标题一行超出... */
@media (max-width: 768px) {
  /* 隐藏分类、价格、按钮、描述 */
  .wd-product .wd-product-cats,
  .wd-product .wrap-price,
  .wd-product .wd-add-btn,
  .wd-product .fade-in-block,
  .wd-product .hover-content {
    display: none !important;
  }

  /* 标题强制一行，超出... */
  .wd-product .wd-entities-title a {
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 100% !important;
  }

  /* 标题间距优化 */
  .wd-product .wd-entities-title {
    margin: 8px 0 0 !important;
    line-height: 1.3 !important;
  }
}





/* 产品下拉子菜单向右平移 */
.menu-item-28983 > .wd-dropdown-menu,
.menu-item-28984 > .wd-dropdown-menu {
    margin-left: 30px !important;
    left: 96% !important;
}

p, span {
    font-family: "Arial", "Helvetica", sans-serif; /* 换成标准字体 */
    line-height: 1.6;  /* 保证行高足够 */
    overflow: visible; /* 避免被裁剪 */
}


.wd-dropdown-menu.wd-dropdown,
.wd-dropdown-menu.wd-dropdown li.menu-item,
.wd-dropdown-menu.wd-dropdown .wd-sub-menu,
.wd-dropdown-menu.wd-dropdown .sub-sub-menu {
    white-space: nowrap;        /* 文本不换行 */
    width: auto !important;     /* 下拉宽度随内容撑开 */
}

.wd-dropdown-menu.wd-dropdown li.menu-item > a {
    display: inline-flex;       /* 让文字和 "+" 在一行 */
    justify-content: space-between; /* 文字左，"+"右 */
    align-items: center;        /* 垂直居中 */
    padding: 8px 12px;          /* 增加可点击区域 */
}

.wd-dropdown-menu.wd-dropdown li.menu-item.menu-item-has-children > a::after {
    content: "+";               /* 给有子菜单的项加 "+" */
    margin-left: 50px;           /* 与文字间距 */
    flex-shrink: 0;             /* 不压缩 "+" */
}
/* 1. 下拉菜单宽度自动撑开 */
.wd-dropdown-menu.wd-dropdown {
    width: auto !important;        /* 宽度随内容 */
    min-width: 200px;              /* 最小宽度 */
}

/* 2. 子菜单项文本不换行 */
.wd-dropdown-menu.wd-dropdown li.menu-item > a {
    white-space: nowrap !important;    /* 文本不换行 */
    display: inline-flex !important;   /* 让文字和加号在一行 */
    justify-content: space-between !important; /* 文字左，加号右 */
    align-items: center !important;
    padding: 8px 12px !important;
}

/* 3. 调整有子菜单的加号位置 */
.wd-dropdown-menu.wd-dropdown li.menu-item.menu-item-has-children > a .menu-label,
.wd-dropdown-menu.wd-dropdown li.menu-item.menu-item-has-children > a::after {
    margin-left: 12px !important; /* 加号向右移动 */
    flex-shrink: 0 !important;    /* 不压缩 */
}

/* 隐藏菜单里原本的加号 */
.wd-dropdown-menu.wd-dropdown li.menu-item-has-children > a .menu-label,
.wd-dropdown-menu.wd-dropdown li.menu-item-has-children > a::after {
    display: none !important;
}



/* 只在移动端生效 */
@media (max-width: 768px) {
    /* 首字母大写，其他小写 */
    .menu-item a, 
    .menu-item span {
        text-transform: capitalize;
    }

    /* 排除 FAQ */
    .menu-item a:contains("FAQ"), 
    .menu-item span:contains("FAQ") {
        text-transform: none;
    }
}
/* 移动端宽度调整 */
@media (max-width: 768px) {
    .gtranslate_wrapper select.gt_selector {
        width: 100% !important;   /* 宽度撑满父容器 */
        min-width: 200px;         /* 可设置最小宽度 */
        font-size: 14px;           /* 可根据需要调节字体大小 */
    }

    /* 如果希望整个翻译模块占用更宽空间 */
    .wd-header-text.reset-last-child .gtranslate_wrapper {
        width: 90% !important;   /* 父容器宽度 */
        max-width: 300px;        /* 可根据实际情况调节最大宽度 */
        margin: 0 auto;          /* 居中显示 */
    }
}


/* 强制显示移动端隐藏的联系我们区域 */
@media (max-width: 768px) {
    /* 父容器强制显示 */
    .elementor-element-047e658,
    .elementor-element-047e658 .elementor-widget-container {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
    }

    /* 子菜单及列表显示 */
    .elementor-element-3253530,
    .elementor-element-3253530 .elementor-widget-container,
    .wd-list {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
    }

    /* 调整列表字体和间距适配手机 */
    .wd-list .wd-list-content {
        font-size: 14px !important;
        line-height: 1.5em !important;
    }

    /* 图标适应手机 */
    .wd-list .wd-icon img {
        width: 16px !important;
        height: 16px !important;
    }
}


@media (max-width: 768px) {
    footer,
    .site-footer,
    .elementor-location-footer,
    .footer-container {
        display: block !important;   /* 显示 */
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;     /* 避免被设置 height: 0 */
    }
}

@media (max-width: 768px) {
    p span[style*="color: #99cc00"] {
        display: block;        /* 确保每个 span 独立块 */
        width: 100%;           /* 占满父容器宽度 */
        word-wrap: break-word; /* 自动换行 */
        white-space: normal;   /* 允许换行 */
        line-height: 1.5em;    /* 行高适合移动端 */
    }
}


@media (max-width: 768px) {
    /* 强制显示整个联系我们容器 */
    .elementor-element-047e658,
    .elementor-element-047e658 .elementor-widget-container,
    .elementor-element-683b2b3,
    .elementor-element-3253530 {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
    }

    /* 整体向上移动 */
    .elementor-element-047e658 {
        transform: translateY(-20px); /* 整体上移，可调整数值 */
    }

    /* CONTACT US 和下面列表间距 */
    .elementor-element-683b2b3 {
        margin-bottom: 12px !important;
    }

    /* 列表每项间距 */
    .elementor-element-3253530 .wd-list li {
        margin-bottom: 10px !important;
    }
}

@media (max-width: 768px) {
    /* 移动端底部整体上移 */
    footer {
        transform: translateY(-20px); /* 整体上移20px */
    }
}


@media (max-width: 768px) {

    /* 四个模块一行排列 */
    .elementor-element-7774d7b {
        display: flex !important;
        flex-wrap: nowrap !important;   /* 不换行 */
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 5px;
    }

    /* 每个小模块 */
    .elementor-element-7e40d21,
    .elementor-element-4e112d7,
    .elementor-element-ef89f2c,
    .elementor-element-b8207a5 {
        width: 25% !important;   /* 四等分 */
        max-width: 25% !important;
        flex: 0 0 25% !important;
        text-align: center;
    }

    /* 图标缩小一点 */
    .elementor-element-7e40d21 img,
    .elementor-element-4e112d7 img,
    .elementor-element-ef89f2c img,
    .elementor-element-b8207a5 img {
        width: 28px !important;
        height: auto !important;
    }

    /* 数字字体 */
    .elementor-element-7e40d21 h2,
    .elementor-element-4e112d7 h2,
    .elementor-element-ef89f2c h2,
    .elementor-element-b8207a5 h2 {
        font-size: 18px !important;
        margin: 5px 0 2px 0 !important;
    }

    /* 底部文字 */
    .elementor-element-7e40d21 p,
    .elementor-element-4e112d7 p,
    .elementor-element-ef89f2c p,
    .elementor-element-b8207a5 p {
        font-size: 11px !important;
        line-height: 1.3em !important;
        margin: 0 !important;
    }
}


/* 手机端（最大宽度767px）将指定区域所有文字字体设为14px */
@media (max-width: 767px) {
    /* 选择该产品表单的外层容器，覆盖其内部所有元素 */
    .elementor-element.elementor-element-bec065f,
    .elementor-element.elementor-element-bec065f * {
        font-size: 14px !important;
    }

    /* 可选：针对按钮和输入框优化行高，保持视觉协调 */
    .elementor-element.elementor-element-bec065f button,
    .elementor-element.elementor-element-bec065f input,
    .elementor-element.elementor-element-bec065f select,
    .elementor-element.elementor-element-bec065f .wd-swatch-text {
        line-height: 1.4;
    }
}

@media (max-width: 767px) {
    .elementor-button-link.elementor-button,
    a.elementor-button {
        padding: 4px 4px;      /* 缩小上下左右内边距 */
        line-height: 1.2;       /* 调整行高保持紧凑 */
        border-radius: 4px;     /* 可选：略微减小圆角 */
    }
}

@media (max-width: 767px) {
    .elementor-button-text {
        font-size: 20px !important;  /* 可按需调整数值，例如12px或13px */
    }
}


.liner-continer .woodmart-title-container strong {
    font-size: 26px;
}

/* 手机端 */
@media (max-width: 767px) {
    .liner-continer .woodmart-title-container strong {
        font-size: 26px !important;
    }
}