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

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//www.gainfordmc.com/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//www.gainfordmc.com/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//www.gainfordmc.com/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//www.gainfordmc.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("//www.gainfordmc.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//www.gainfordmc.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//www.gainfordmc.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//www.gainfordmc.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Poppins", 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: "Lato", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-primary-color: #83b735;
	--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: #83b735;
	--btn-accented-bgcolor-hover: #74a32f;
	--wd-form-brd-width: 2px;
	--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: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	--wd-popup-width: 800px;
}
.woodmart-woocommerce-layered-nav .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: #0a0a0a;
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-bottom-active: -1px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--wd-brd-radius: 0px;
}

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

@media (min-width: 1222px) {
html:not(.platform-Windows) .wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


/* 顶部蓝条和主头部内容整体更靠左 */
.whb-top-bar .container,
.whb-header .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* 顶部文字模块左侧别再留空 */
.whb-top-bar .wd-header-text,
.whb-top-bar .whb-text-element {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* Logo 左边别再留空 */
.whb-main-header .site-logo,
.whb-main-header .whb-logo {
    margin-left: 0 !important;
    padding-left: 0 !important;
}
/* 主菜单默认颜色 */
.whb-main-header .wd-nav > li > a,
.whb-main-header .menu > li > a,
.whb-main-header .woodmart-nav-link {
    color: #8F8AAE !important;
    transition: color .25s ease;
}

/* 主菜单悬停颜色 */
.whb-main-header .wd-nav > li > a:hover,
.whb-main-header .menu > li > a:hover,
.whb-main-header .woodmart-nav-link:hover {
    color: #FFFFFF !important;
}

/* 当前激活菜单项也保持白色 */
.whb-main-header .wd-nav > li.current-menu-item > a,
.whb-main-header .wd-nav > li.current-menu-ancestor > a,
.whb-main-header .menu > li.current-menu-item > a,
.whb-main-header .menu > li.current-menu-ancestor > a {
    color: #FFFFFF !important;
}

/* 下拉箭头颜色同步 */
.whb-main-header .wd-nav > li > a .wd-nav-opener,
.whb-main-header .menu > li > a .wd-nav-opener,
.whb-main-header .wd-nav > li > a::after,
.whb-main-header .menu > li > a::after {
    color: #8F8AAE !important;
    transition: color .25s ease;
}

.whb-main-header .wd-nav > li:hover > a .wd-nav-opener,
.whb-main-header .menu > li:hover > a .wd-nav-opener,
.whb-main-header .wd-nav > li:hover > a::after,
.whb-main-header .menu > li:hover > a::after,
.whb-main-header .wd-nav > li.current-menu-item > a .wd-nav-opener,
.whb-main-header .menu > li.current-menu-item > a .wd-nav-opener,
.whb-main-header .wd-nav > li.current-menu-item > a::after,
.whb-main-header .menu > li.current-menu-item > a::after {
    color: #FFFFFF !important;
}
/* 主菜单字体调大一点 */
.whb-main-header .wd-nav > li > a,
.whb-main-header .menu > li > a,
.whb-main-header .woodmart-nav-link {
    font-size: 18px !important;
    font-weight: 600 !important;
}
.wd-product-cats,
.product-categories,
.product-category,
.posted_in,
.wc-product-categories,
.woocommerce-loop-product__categories,
.product_meta .posted_in,
.wd-entities-list,
.wd-product-excerpt,
.woocommerce-product-details__short-description,
.product-description,
.wd-entities-excerpt{
    display: none !important;
}
/* ===== 轮播主标题：按对标站同步 ===== */
.slider-section .slider-caption h2.title,
.slider-section .slider-caption .title,
#slider-demo .slider-caption h2.title,
#slider-demo .slider-caption .title{
    visibility: hidden;
    opacity: 0;
    transform: translateY(120px);
    transition: transform 2000ms ease, opacity 2000ms ease;
    font-size: 80px !important;
    line-height: 105px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    padding-top: 32px !important;
    margin-bottom: 30px !important;
    color: #fff !important;
    letter-spacing: 0 !important;
    font-family: "Montserrat", sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
}

/* ===== 当前激活 slide 时显示 ===== */
.slider-section .owl-carousel .owl-item.active .slider-caption h2.title,
.slider-section .owl-carousel .owl-item.active .slider-caption .title,
#slider-demo .owl-carousel .owl-item.active .slider-caption h2.title,
#slider-demo .owl-carousel .owl-item.active .slider-caption .title,
#slider-demo .owl-item.active .slider-caption h2.title,
#slider-demo .owl-item.active .slider-caption .title{
    visibility: visible;
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* ===== 小标题（你上面那个 ONE STOP SOLUTION）可顺手统一一下 ===== */
.slider-section .slider-caption .sub-title,
#slider-demo .slider-caption .sub-title{
    display: inline-block;
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #fff !important;
    margin-bottom: 18px !important;
    letter-spacing: 1px !important;
}

/* ===== 平板 ===== */
@media (max-width: 1024px){
    .slider-section .slider-caption h2.title,
    .slider-section .slider-caption .title,
    #slider-demo .slider-caption h2.title,
    #slider-demo .slider-caption .title{
        font-size: 56px !important;
        line-height: 72px !important;
        padding-top: 24px !important;
        margin-bottom: 20px !important;
    }

    .slider-section .slider-caption .sub-title,
    #slider-demo .slider-caption .sub-title{
        font-size: 14px !important;
    }
}

/* ===== 手机 ===== */
@media (max-width: 767px){
    .slider-section .slider-caption h2.title,
    .slider-section .slider-caption .title,
    #slider-demo .slider-caption h2.title,
    #slider-demo .slider-caption .title{
        font-size: 34px !important;
        line-height: 44px !important;
        padding-top: 18px !important;
        margin-bottom: 14px !important;
        transform: translateY(70px);
    }

    .slider-section .slider-caption .sub-title,
    #slider-demo .slider-caption .sub-title{
        font-size: 12px !important;
        margin-bottom: 12px !important;
    }
}


/* ===== 轮播主标题：强制覆盖 ===== */
html body .slider-section .slider-caption h2.title,
html body .slider-section .slider-caption .title,
html body #slider-demo .slider-caption h2.title,
html body #slider-demo .slider-caption .title{
    visibility: hidden !important;
    opacity: 0 !important;
    transform: translateY(120px) !important;
    transition: transform 2000ms ease, opacity 2000ms ease !important;

    font-family: "Montserrat", sans-serif !important;
    font-size: 80px !important;
    line-height: 105px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0 !important;

    padding-top: 32px !important;
    margin: 0 0 30px 0 !important;
    color: #ffffff !important;

    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: geometricPrecision !important;
}

/* ===== 当前激活 slide 时显示 ===== */
html body .slider-section .owl-carousel .owl-item.active .slider-caption h2.title,
html body .slider-section .owl-carousel .owl-item.active .slider-caption .title,
html body #slider-demo .owl-carousel .owl-item.active .slider-caption h2.title,
html body #slider-demo .owl-carousel .owl-item.active .slider-caption .title,
html body #slider-demo .owl-item.active .slider-caption h2.title,
html body #slider-demo .owl-item.active .slider-caption .title{
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) translateX(0) !important;
}

/* ===== 小标题 ===== */
html body .slider-section .slider-caption .sub-title,
html body #slider-demo .slider-caption .sub-title{
    display: inline-block !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #ffffff !important;
    margin: 0 0 18px 0 !important;
}

/* ===== 按钮，可选同步 ===== */
html body .slider-section .slider-caption .thm-btn,
html body .slider-section .slider-caption .theme-btn,
html body .slider-section .slider-caption .btn,
html body #slider-demo .slider-caption .thm-btn,
html body #slider-demo .slider-caption .theme-btn,
html body #slider-demo .slider-caption .btn{
    font-family: "Montserrat", sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .5px !important;
}

/* ===== 平板 ===== */
@media (max-width: 1024px){
    html body .slider-section .slider-caption h2.title,
    html body .slider-section .slider-caption .title,
    html body #slider-demo .slider-caption h2.title,
    html body #slider-demo .slider-caption .title{
        font-size: 56px !important;
        line-height: 72px !important;
        padding-top: 24px !important;
        margin-bottom: 20px !important;
    }

    html body .slider-section .slider-caption .sub-title,
    html body #slider-demo .slider-caption .sub-title{
        font-size: 14px !important;
    }
}

/* ===== 手机 ===== */
@media (max-width: 767px){
    html body .slider-section .slider-caption h2.title,
    html body .slider-section .slider-caption .title,
    html body #slider-demo .slider-caption h2.title,
    html body #slider-demo .slider-caption .title{
        font-size: 34px !important;
        line-height: 44px !important;
        padding-top: 18px !important;
        margin-bottom: 14px !important;
        transform: translateY(70px) !important;
    }

    html body .slider-section .slider-caption .sub-title,
    html body #slider-demo .slider-caption .sub-title{
        font-size: 12px !important;
        margin-bottom: 12px !important;
    }
}

#slider-demo .slider-caption h2.title{
    color: red !important;
}

/* ===== Woodmart 搜索弹窗：按你图1重做 ===== */

/* 弹层整体 */
.woodmart-search-full-screen,
.wd-search-full-screen,
.search-full-screen,
.woodmart-search-popup {
    --search-form-width: min(1200px, 80vw);   /* 整体更长 */
    --search-top: 182px;                       /* 整体上移 */
    --search-height: 45px;                    /* 蓝条高度更小 */
    --search-close-size: 58px;

    background: rgba(2, 6, 18, 0.82) !important;
    position: fixed !important;
    inset: 0 !important;
}

/* 隐藏默认标题、说明 */
.woodmart-search-full-screen .search-heading,
.woodmart-search-full-screen .search-info-text,
.woodmart-search-full-screen .wd-info-text,
.woodmart-search-full-screen .search-title,
.woodmart-search-full-screen h3,
.wd-search-full-screen .search-heading,
.wd-search-full-screen .search-info-text,
.wd-search-full-screen .wd-info-text,
.wd-search-full-screen .search-title,
.wd-search-full-screen h3 {
    display: none !important;
}

/* 搜索表单整体 */
.woodmart-search-full-screen form.searchform,
.woodmart-search-full-screen .searchform,
.wd-search-full-screen form.searchform,
.wd-search-full-screen .searchform {
    width: var(--search-form-width) !important;
    margin: var(--search-top) auto 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    position: relative !important;
    z-index: 20 !important;
}

/* 输入框 */
.woodmart-search-full-screen input[type="search"],
.woodmart-search-full-screen input[type="text"],
.wd-search-full-screen input[type="search"],
.wd-search-full-screen input[type="text"] {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: var(--search-height) !important;
    padding: 0 22px !important;
    background: #5d7df0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #fff !important;
    font-size: 22px !important;
    line-height: var(--search-height) !important;
}

/* 占位文字 */
.woodmart-search-full-screen input::placeholder,
.wd-search-full-screen input::placeholder {
    color: rgba(255,255,255,0.92) !important;
    font-size: 22px !important;
}

/* 搜索按钮 */
.woodmart-search-full-screen .searchsubmit,
.woodmart-search-full-screen button[type="submit"],
.wd-search-full-screen .searchsubmit,
.wd-search-full-screen button[type="submit"] {
    width: 96px !important;
    min-width: 96px !important;
    height: var(--search-height) !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #05070f !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #fff !important;
    font-size: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}

/* 去掉原放大镜图标 */
.woodmart-search-full-screen .searchsubmit i,
.woodmart-search-full-screen button[type="submit"] i,
.woodmart-search-full-screen .searchsubmit:before,
.woodmart-search-full-screen button[type="submit"]:before,
.wd-search-full-screen .searchsubmit i,
.wd-search-full-screen button[type="submit"] i,
.wd-search-full-screen .searchsubmit:before,
.wd-search-full-screen button[type="submit"]:before {
    display: none !important;
    content: none !important;
}

/* 搜索按钮文字 */
.woodmart-search-full-screen .searchsubmit::after,
.woodmart-search-full-screen button[type="submit"]::after,
.wd-search-full-screen .searchsubmit::after,
.wd-search-full-screen button[type="submit"]::after {
    content: "搜索";
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    line-height: 1;
}

/* 关闭按钮：挪到搜索按钮右边，替换原来搜索图标那块位置 */
.woodmart-search-full-screen .search-close,
.woodmart-search-full-screen .close-search,
.woodmart-search-full-screen .wd-close-search,
.wd-search-full-screen .search-close,
.wd-search-full-screen .close-search,
.wd-search-full-screen .wd-close-search {
    position: absolute !important;
    top: var(--search-top) !important;
    left: calc(50% + (var(--search-form-width) / 2) + 2px) !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: var(--search-close-size) !important;
    height: var(--search-height) !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #5d7df0 !important;
    border: none !important;
    border-radius: 0 !important;
    opacity: 1 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 30 !important;
}

/* × 样式 */
.woodmart-search-full-screen .search-close:before,
.woodmart-search-full-screen .close-search:before,
.woodmart-search-full-screen .wd-close-search:before,
.wd-search-full-screen .search-close:before,
.wd-search-full-screen .close-search:before,
.wd-search-full-screen .wd-close-search:before {
    color: #fff !important;
    font-size: 34px !important;
    line-height: 1 !important;
}

/* 防止右下角出现旧关闭按钮视觉残留 */
body .woodmart-search-full-screen .search-close:not(.wd-header-search-form .search-close),
body .wd-search-full-screen .search-close:not(.wd-header-search-form .search-close) {
    box-shadow: none !important;
}

/* 顶部原导航右上角小X淡化，不要抢视觉 */
.woodmart-search-full-screen > .close-search,
.wd-search-full-screen > .close-search {
    opacity: 1 !important;
}

/* 移动端简单适配 */
@media (max-width: 767px) {
    .woodmart-search-full-screen,
    .wd-search-full-screen,
    .search-full-screen,
    .woodmart-search-popup {
        --search-form-width: 78vw;
        --search-top: 164px;
        --search-height: 48px;
        --search-close-size: 48px;
    }

    .woodmart-search-full-screen input[type="search"],
    .woodmart-search-full-screen input[type="text"],
    .wd-search-full-screen input[type="search"],
    .wd-search-full-screen input[type="text"] {
        font-size: 16px !important;
        padding: 0 14px !important;
    }

    .woodmart-search-full-screen input::placeholder,
    .wd-search-full-screen input::placeholder {
        font-size: 16px !important;
    }

    .woodmart-search-full-screen .searchsubmit::after,
    .woodmart-search-full-screen button[type="submit"]::after,
    .wd-search-full-screen .searchsubmit::after,
    .wd-search-full-screen button[type="submit"]::after {
        font-size: 16px !important;
    }

    .woodmart-search-full-screen .search-close:before,
    .woodmart-search-full-screen .close-search:before,
    .woodmart-search-full-screen .wd-close-search:before,
    .wd-search-full-screen .search-close:before,
    .wd-search-full-screen .close-search:before,
    .wd-search-full-screen .wd-close-search:before {
        font-size: 28px !important;
    }
}
/* 电脑端：把右侧搜索图标整块往左移 */
@media (min-width: 1025px) {
  .whb-general-header .whb-col-right {
    position: relative !important;
    left: -320px !important;   /* 数字越大，越往左 */
  }
}
}
/* 顶部 GTranslate：关闭状态文字白色 */
.whb-top-bar .gtranslate_wrapper select.gt_selector,
.whb-top-bar .gtranslate_wrapper select.gt_selector.notranslate,
.whb-top-bar .gtranslate_wrapper select,
.whb-top-bar .gt_container--c6gp15 select {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    font-size: 16px !important;
}

/* 下拉列表里的文字改深色，不然白底看不到 */
.whb-top-bar .gtranslate_wrapper select option,
.whb-top-bar .gtranslate_wrapper select.gt_selector option,
.whb-top-bar .gt_container--c6gp15 select option {
    color: #111111 !important;
    background: #ffffff !important;
}

/* 选中项 */
.whb-top-bar .gtranslate_wrapper select option:checked,
.whb-top-bar .gtranslate_wrapper select.gt_selector option:checked,
.whb-top-bar .gt_container--c6gp15 select option:checked {
    color: #ffffff !important;
    background: #4f73ea !important;
}
/* 顶部 GTranslate 文字改白 */
.whb-top-bar .gtranslate_wrapper select.gt_selector,
.whb-top-bar .gtranslate_wrapper select.gt_selector.notranslate,
.whb-top-bar .gt_container--c6gp15 select,
.whb-top-bar .wd-header-text .gtranslate_wrapper select {
    color: #ffffff !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    font-size: 16px !important;
}

/* ===== 一级主菜单 ===== */
.whb-main-header .wd-nav > li > a,
.whb-main-header .menu > li > a {
    color: #8F8AAE !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    transition: color .25s ease, background-color .25s ease;
}

.whb-main-header .wd-nav > li > a:hover,
.whb-main-header .menu > li > a:hover {
    color: #FFFFFF !important;
}

.whb-main-header .wd-nav > li.current-menu-item > a,
.whb-main-header .wd-nav > li.current-menu-ancestor > a,
.whb-main-header .menu > li.current-menu-item > a,
.whb-main-header .menu > li.current-menu-ancestor > a {
    color: #FFFFFF !important;
}

/* 一级菜单下拉箭头 */
.whb-main-header .wd-nav > li > a .wd-nav-opener,
.whb-main-header .menu > li > a .wd-nav-opener,
.whb-main-header .wd-nav > li > a::after,
.whb-main-header .menu > li > a::after {
    color: #8F8AAE !important;
    transition: color .25s ease;
}

.whb-main-header .wd-nav > li:hover > a .wd-nav-opener,
.whb-main-header .menu > li:hover > a .wd-nav-opener,
.whb-main-header .wd-nav > li:hover > a::after,
.whb-main-header .menu > li:hover > a::after,
.whb-main-header .wd-nav > li.current-menu-item > a .wd-nav-opener,
.whb-main-header .menu > li.current-menu-item > a .wd-nav-opener,
.whb-main-header .wd-nav > li.current-menu-item > a::after,
.whb-main-header .menu > li.current-menu-item > a::after {
    color: #FFFFFF !important;
}

/* ===== 下拉菜单面板 ===== */
.whb-main-header .sub-menu,
.whb-main-header .wd-sub-menu,
.whb-main-header .wd-dropdown-menu {
    background: #ffffff !important;
    z-index: 9999 !important;
}

/* ===== 下拉菜单文字：默认 ===== */
.whb-main-header .sub-menu li > a,
.whb-main-header .wd-sub-menu li > a,
.whb-main-header .wd-dropdown-menu li > a {
    color: #7F7AA3 !important;
    background: #ffffff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

/* ===== 下拉菜单文字：鼠标移上去 ===== */
.whb-main-header .sub-menu li > a:hover,
.whb-main-header .wd-sub-menu li > a:hover,
.whb-main-header .wd-dropdown-menu li > a:hover,
.whb-main-header .sub-menu li:hover > a,
.whb-main-header .wd-sub-menu li:hover > a,
.whb-main-header .wd-dropdown-menu li:hover > a {
    color: #4E5FD8 !important;
    background: #F5F7FF !important;
}

/* 下拉菜单右侧小箭头 */
.whb-main-header .sub-menu li.menu-item-has-children > a::after,
.whb-main-header .wd-sub-menu li.menu-item-has-children > a::after,
.whb-main-header .wd-dropdown-menu li.menu-item-has-children > a::after {
    color: #7F7AA3 !important;
}

.whb-main-header .sub-menu li.menu-item-has-children:hover > a::after,
.whb-main-header .wd-sub-menu li.menu-item-has-children:hover > a::after,
.whb-main-header .wd-dropdown-menu li.menu-item-has-children:hover > a::after {
    color: #4E5FD8 !important;
}

/* =========================
   产品分类折叠展开：全局稳定版
   兼容：
   1) WooCommerce 原生分类 widget
   2) WooCommerce block 分类列表
   3) 你自定义的 cat-accordion
========================= */

/* 外层盒子 */
.cat-accordion,
.widget_product_categories,
.wp-block-woocommerce-product-categories{
    background: #060826;
    padding: 24px 22px;
    box-sizing: border-box;
}

/* 去掉默认列表样式 */
.cat-accordion ul,
.widget_product_categories ul,
.wp-block-woocommerce-product-categories ul,
.cat-accordion .wc-block-product-categories-list,
.cat-accordion .wc-block-product-categories-list ul,
.wp-block-woocommerce-product-categories .wc-block-product-categories-list,
.wp-block-woocommerce-product-categories .wc-block-product-categories-list ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 分类项基础 */
.cat-accordion li,
.widget_product_categories li,
.wp-block-woocommerce-product-categories li{
    position: relative;
    margin: 0;
    padding: 0;
}

/* 一级分类底部分隔线 */
.cat-accordion > ul > li,
.cat-accordion > .wc-block-product-categories-list > li,
.widget_product_categories > ul.product-categories > li,
.wp-block-woocommerce-product-categories > ul.wc-block-product-categories-list > li{
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* 所有分类链接 */
.cat-accordion li > a,
.widget_product_categories li > a,
.wp-block-woocommerce-product-categories li > a{
    display: block;
    padding: 12px 40px 12px 0;
    color: #ffffff !important;
    text-decoration: none !important;
    line-height: 1.5;
    transition: color .25s ease, background-color .25s ease;
}

/* 子分类容器缩进 */
.cat-accordion ul ul,
.widget_product_categories ul ul,
.wp-block-woocommerce-product-categories ul ul{
    padding-left: 18px;
    margin-top: 0;
}

/* 子分类链接 */
.cat-accordion ul ul > li > a,
.widget_product_categories ul ul > li > a,
.wp-block-woocommerce-product-categories ul ul > li > a{
    font-size: 14px;
    opacity: .92;
    padding: 8px 40px 8px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* 默认收起子分类 */
.cat-accordion li > ul,
.widget_product_categories li > ul.children,
.wp-block-woocommerce-product-categories li > ul.wc-block-product-categories-list{
    display: none;
}

/* 展开状态 */
.cat-accordion li.is-open > ul,
.widget_product_categories li.is-open > ul.children,
.wp-block-woocommerce-product-categories li.is-open > ul.wc-block-product-categories-list{
    display: block;
}

/* 有子分类的项 */
.cat-accordion li.has-children > a,
.widget_product_categories li.has-children > a,
.wp-block-woocommerce-product-categories li.has-children > a{
    padding-right: 42px;
}

/* 右侧加减按钮 */
.cat-accordion .cat-toggle,
.widget_product_categories .cat-toggle,
.wp-block-woocommerce-product-categories .cat-toggle{
    position: absolute;
    right: 0;
    top: 8px;
    width: 26px;
    height: 26px;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;
    z-index: 3;
}

/* 默认加号 */
.cat-accordion .cat-toggle::before,
.widget_product_categories .cat-toggle::before,
.wp-block-woocommerce-product-categories .cat-toggle::before{
    content: "+";
    display: block;
    color: #ffffff;
    font-size: 20px;
    line-height: 26px;
    text-align: center;
    transition: color .25s ease;
}

/* 展开后减号 */
.cat-accordion li.is-open > .cat-toggle::before,
.widget_product_categories li.is-open > .cat-toggle::before,
.wp-block-woocommerce-product-categories li.is-open > .cat-toggle::before{
    content: "−";
}

/* hover */
.cat-accordion li > a:hover,
.widget_product_categories li > a:hover,
.wp-block-woocommerce-product-categories li > a:hover{
    color: #4F73F4 !important;
}

.cat-accordion .cat-toggle:hover::before,
.widget_product_categories .cat-toggle:hover::before,
.wp-block-woocommerce-product-categories .cat-toggle:hover::before{
    color: #4F73F4 !important;
}

/* 当前分类高亮 */
.cat-accordion .current-cat > a,
.cat-accordion .current-cat-parent > a,
.cat-accordion .current-cat-ancestor > a,
.widget_product_categories .current-cat > a,
.widget_product_categories .current-cat-parent > a,
.widget_product_categories .current-cat-ancestor > a,
.wp-block-woocommerce-product-categories .current-cat > a,
.wp-block-woocommerce-product-categories .current-cat-parent > a,
.wp-block-woocommerce-product-categories .current-cat-ancestor > a{
    color: #4F73F4 !important;
    font-weight: 600;
}

/* 防止主题覆盖颜色 */
.cat-accordion a,
.widget_product_categories a,
.wp-block-woocommerce-product-categories a{
    color: #ffffff !important;
    text-decoration: none !important;
}

.cat-accordion a:hover,
.widget_product_categories a:hover,
.wp-block-woocommerce-product-categories a:hover{
    color: #4F73F4 !important;
}
/* ===== 修补 1：去掉左侧分类里面那层“第二个底色” ===== */
.cat-accordion ul,
.cat-accordion .wc-block-product-categories-list,
.cat-accordion .wc-block-product-categories-list ul,
.widget_product_categories ul,
.wp-block-woocommerce-product-categories ul,
.wp-block-woocommerce-product-categories .wc-block-product-categories-list,
.wp-block-woocommerce-product-categories .wc-block-product-categories-list ul{
    background: transparent !important;
}

/* 外层统一只有一个底色 */
.cat-accordion,
.widget_product_categories,
.wp-block-woocommerce-product-categories{
    background: #060826 !important;
}

/* ===== 修补 2：分类文字尽量保持一排 ===== */
.cat-accordion li > a,
.widget_product_categories li > a,
.wp-block-woocommerce-product-categories li > a{
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    padding-right: 30px !important; /* 给右边 + 号留位，但别占太多宽度 */
}

/* 子分类也一排 */
.cat-accordion ul ul > li > a,
.widget_product_categories ul ul > li > a,
.wp-block-woocommerce-product-categories ul ul > li > a{
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 14px !important;
    padding-right: 30px !important;
}

/* + 号按钮再窄一点，给文字腾地方 */
.cat-accordion .cat-toggle,
.widget_product_categories .cat-toggle,
.wp-block-woocommerce-product-categories .cat-toggle{
    width: 22px !important;
    right: 0 !important;
}

/* 如果有的主题给 li 又加了背景，也干掉 */
.cat-accordion li,
.cat-accordion li > a,
.widget_product_categories li,
.widget_product_categories li > a,
.wp-block-woocommerce-product-categories li,
.wp-block-woocommerce-product-categories li > a{
    background: transparent !important;
}

/* 隐藏产品列表顶部这一排工具栏：数量 / 视图切换 / 排序 */
.post-type-archive-product .wd-shop-tools,
.post-type-archive-product .shop-tools,
.post-type-archive-product .woocommerce-result-count,
.post-type-archive-product .wd-products-per-page,
.post-type-archive-product .wd-products-shop-view,
.post-type-archive-product .woocommerce-ordering,

.tax-product_cat .wd-shop-tools,
.tax-product_cat .shop-tools,
.tax-product_cat .woocommerce-result-count,
.tax-product_cat .wd-products-per-page,
.tax-product_cat .wd-products-shop-view,
.tax-product_cat .woocommerce-ordering,

.tax-product_tag .wd-shop-tools,
.tax-product_tag .shop-tools,
.tax-product_tag .woocommerce-result-count,
.tax-product_tag .wd-products-per-page,
.tax-product_tag .wd-products-shop-view,
.tax-product_tag .woocommerce-ordering {
    display: none !important;
}

/* 防止隐藏后还留空白 */
.post-type-archive-product .wd-shop-tools,
.post-type-archive-product .shop-tools,
.tax-product_cat .wd-shop-tools,
.tax-product_cat .shop-tools,
.tax-product_tag .wd-shop-tools,
.tax-product_tag .shop-tools {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    min-height: 0 !important;
}

/* 商店页产品标题默认大写 */
.post-type-archive-product .product-title a,
.post-type-archive-product .wd-entities-title a,
.post-type-archive-product .woocommerce-loop-product__title,
.post-type-archive-product .wd-product-title a,

.tax-product_cat .product-title a,
.tax-product_cat .wd-entities-title a,
.tax-product_cat .woocommerce-loop-product__title,
.tax-product_cat .wd-product-title a,

.tax-product_tag .product-title a,
.tax-product_tag .wd-entities-title a,
.tax-product_tag .woocommerce-loop-product__title,
.tax-product_tag .wd-product-title a {
    text-transform: uppercase !important;
}

/* ===== 手机端：隐藏侧边菜单里的搜索，只保留全屏搜索逻辑 ===== */
@media (max-width: 1024px){

  /* 隐藏手机菜单/侧边栏里的搜索框 */
  .mobile-nav .searchform,
  .mobile-nav form.searchform,
  .wd-side-hidden .searchform,
  .wd-side-hidden form.searchform,
  .wd-header-mobile-nav .searchform,
  .wd-header-mobile-nav form.searchform,
  .mobile-menu-wrapper .searchform,
  .mobile-menu-wrapper form.searchform,
  .wd-nav-mobile .searchform,
  .wd-nav-mobile form.searchform{
    display: none !important;
  }

  /* 手机端全屏搜索弹层样式继续显示 */
  .woodmart-search-full-screen,
  .wd-search-full-screen,
  .search-full-screen,
  .woodmart-search-popup{
    display: block;
  }
}

/* 不要加号按钮 */
.cat-accordion .cat-toggle,
.widget_product_categories .cat-toggle,
.wp-block-woocommerce-product-categories .cat-toggle{
    display: none !important;
}

/* 文字点击展开后，不需要给右边按钮留空 */
.cat-accordion li.has-children > a,
.widget_product_categories li.has-children > a,
.wp-block-woocommerce-product-categories li.has-children > a{
    padding-right: 0 !important;
    cursor: pointer;
}

/* 有子分类的标题 hover 时有点反馈 */
.cat-accordion li.has-children > a:hover,
.widget_product_categories li.has-children > a:hover,
.wp-block-woocommerce-product-categories li.has-children > a:hover{
    color: #4F73F4 !important;
}

/* 展开后可给当前项一点状态感，可选 */
.cat-accordion li.is-open > a,
.widget_product_categories li.is-open > a,
.wp-block-woocommerce-product-categories li.is-open > a{
    color: #FFFFFF !important;
}
/* ===== shop 页面左侧分类：不要省略号，显示完整文字 ===== */
.post-type-archive-product .cat-accordion li > a,
.post-type-archive-product .widget_product_categories li > a,
.post-type-archive-product .wp-block-woocommerce-product-categories li > a{
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    line-height: 1.45 !important;
    padding-right: 0 !important;
}

/* 子分类也一样 */
.post-type-archive-product .cat-accordion ul ul > li > a,
.post-type-archive-product .widget_product_categories ul ul > li > a,
.post-type-archive-product .wp-block-woocommerce-product-categories ul ul > li > a{
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    line-height: 1.45 !important;
    padding-right: 0 !important;
}
/* shop 页面左侧分类栏稍微加宽一点 */
.post-type-archive-product .shop-sidebar,
.post-type-archive-product .sidebar-container,
.post-type-archive-product .wd-sidebar{
    width: 320px !important;
    max-width: 320px !important;
    flex: 0 0 320px !important;
}

.my-top-social{
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1;
}

.my-top-social a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #fff;
  opacity: 1;
  transition: all .25s ease;
}

.my-top-social a svg{
  width: 15px;
  height: 15px;
  fill: currentColor;
  display: block;
}

.my-top-social a:hover{
  color: #d9e2ff;
  transform: translateY(-1px);
}

/* 隐藏 Twitter/X feed 提示框 */
.twitter-widget,
.xts-twitter-widget,
.elementor-widget-wd_twitter,
.elementor-widget-twitter,
.wd-twitter-element,
.wd-social-feed,
.x-twitter-feed,
.twitter-feed,
.widget-twitter{
    display: none !important;
}