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

.wd-popup.wd-promo-popup{
	background-color:#111111;
	background-image: url(https://fastenercore.com/wp-content/uploads/2022/09/accessories-popup.jpg);
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center center;
}

.page-title-default{
	background-color:#0a0a0a;
	background-image: none;
	background-size:cover;
	background-position:center center;
}

.footer-container{
	background-color:rgb(16,16,16);
	background-image: none;
}

:root{
--wd-text-font:"Jost", Arial, Helvetica, sans-serif;
--wd-text-font-weight:400;
--wd-text-color:#777777;
--wd-text-font-size:17px;
}
:root{
--wd-title-font:"hkgroteskpro", Arial, Helvetica, sans-serif;
--wd-title-font-weight:600;
--wd-title-color:#242424;
}
:root{
--wd-entities-title-font:"hkgroteskpro", 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%);
}
:root{
--wd-alternative-font:"hkgroteskpro", Arial, Helvetica, sans-serif;
}
:root{
--wd-widget-title-font:"hkgroteskpro", 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;
}
:root{
--wd-header-el-font:"hkgroteskpro", Arial, Helvetica, sans-serif;
--wd-header-el-font-weight:600;
--wd-header-el-transform:none;
--wd-header-el-font-size:18px;
}
html .product.category-grid-item .wd-entities-title, html .product.category-grid-item.cat-design-replace-title .wd-entities-title, html .categories-style-masonry-first .category-grid-item:first-child .wd-entities-title, html .product.wd-cat .wd-entities-title{
	font-size: 18px;text-transform: none;
}

html .wd-nav-mobile > li > a, html .wd-nav-mobile .wd-sub-menu li a{
	text-transform: none;
}

:root{
--wd-brd-radius: 8px;
}:root{
--wd-primary-color:rgb(228,137,47);
}
:root{
--wd-alternative-color:#fbbc34;
}
:root{
--wd-link-color:#333333;
--wd-link-color-hover:#242424;
}
:root{
--btn-default-bgcolor:#f7f7f7;
}
:root{
--btn-default-bgcolor-hover:#efefef;
}
:root{
--btn-accented-bgcolor:rgb(228,137,47);
}
:root{
--btn-accented-bgcolor-hover:rgb(228,137,47);
}
html .wd-buy-now-btn{
	background: rgb(36,36,36);
}

html .wd-buy-now-btn:hover{
	background: rgb(51,51,51);
}

:root{
--notices-success-bg:#459647;
}
:root{
--notices-success-color:#fff;
}
:root{
--notices-warning-bg:#E0B252;
}
:root{
--notices-warning-color:#fff;
}
	:root{
					
							--wd-form-brd-radius: 5px;
			
					
					--wd-form-brd-width: 2px;
		
					--btn-default-color: #333;
		
					--btn-default-color-hover: #333;
		
					--btn-accented-color: #fff;
		
					--btn-accented-color-hover: #fff;
		
					
			
			
							--btn-default-brd-radius: 5px;
				--btn-default-box-shadow: none;
				--btn-default-box-shadow-hover: none;
					
					
			
			
							--btn-accented-brd-radius: 5px;
				--btn-accented-box-shadow: none;
				--btn-accented-box-shadow-hover: none;
					
							
			}

	
	
			@media (min-width: 1025px) {
			.whb-boxed:not(.whb-sticked):not(.whb-full-width) .whb-main-header {
				max-width: 1290px;
			}
		}

		.container {
			max-width: 1320px;
		}

		:root{
			--wd-container-w: 1320px;
		}
	
			@media (min-width: 1337px) {
			.platform-Windows .wd-section-stretch > .elementor-container {
				margin-left: auto;
				margin-right: auto;
			}
		}
		@media (min-width: 1320px) {
			html:not(.platform-Windows) .wd-section-stretch > .elementor-container {
				margin-left: auto;
				margin-right: auto;
			}
		}
	
	
	
	
	
			.woodmart-woocommerce-layered-nav .wd-scroll-content {
			max-height: 223px;
		}
	
	
@font-face {
	font-family: "hkgroteskpro";
	src: url("//fastenercore.com/wp-content/uploads/2022/09/hkgroteskpro-semibold.woff2") format("woff2"), 
url("//fastenercore.com/wp-content/uploads/2022/09/hkgroteskpro-semibold.woff2") format("woff");
	font-weight: 600;
	font-display:swap;
	font-style: normal;
}

/* ==============================================
   桌面端样式 (修正图片大小)
   ============================================== */
.custom-cat-page-title {
    background-color: #f8f8f8;
    padding: 30px 0; /* 稍微减小上下内边距 */
    margin-bottom: 40px;
}

.custom-cat-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px; /* 增加图文间距 */
}

.custom-cat-content {
    flex: 1; 
}

.custom-cat-content h1.entry-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
    text-transform: capitalize;
    font-weight: 700;
    line-height: 1.2;
}

.custom-cat-content .term-description {
    color: #555;
    font-size: 15px; /* 稍微调小字号更精致 */
    line-height: 1.6;
}

/* --- 图片部分修改重点 --- */
.custom-cat-image {
    /* 不再使用百分比，改为固定最大宽度，防止图片巨大 */
    flex: 0 0 250px; 
    max-width: 250px; 
    display: flex;
    justify-content: center; /* 图片容器居中 */
}

.custom-cat-image img {
    border-radius: 8px;
    /* 混合模式：如果是白色背景图，这行可以让图片白色背景与灰底融合更好，可选 */
    /* mix-blend-mode: multiply; */ 
    width: auto;      /* 宽度自动 */
    max-width: 100%;  /* 限制最大宽 */
    max-height: 250px;/* 限制最大高度，防止竖图太长 */
    object-fit: contain; /* 保持比例 */
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    background: #fff; /* 给图片加个白底，显得像卡片 */
    padding: 10px;    /* 图片内边框 */
}
/* ==============================================
   移动端专属样式 (V3: 标题居中 + 箭头折叠 + 修复重叠)
   ============================================== */
@media (max-width: 768px) {
    /* 1. 容器样式 */
    .custom-cat-page-title {
        background-color: #1a1a1a; /* 黑底 */
        padding: 20px 15px; /* 上下20px，左右15px防贴边 */
        color: #fff;
        text-align: center; /* 全局居中 */
        position: relative; /* 确保不脱离文档流，修复重叠 */
        display: block;
        margin-bottom: 20px; /* 底部留白，防止面包屑贴太紧 */
    }

    /* 2. 隐藏不需要的元素 */
    .custom-cat-image {
        display: none !important;
    }

    /* 3. 标题样式 */
    .custom-cat-content h1.entry-title {
        color: #ffffff;
        font-size: 24px;
        font-weight: 700;
        margin: 0; /* 移除默认外边距 */
        line-height: 1.2;
        display: inline-block; /* 为了让箭头跟在下面 */
    }

    /* 4. 描述内容容器 (默认隐藏) */
    .custom-cat-content .term-description {
        display: none; /* 默认完全不显示 */
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(255,255,255,0.2); /* 加一条分割线更精致 */
        color: rgba(255,255,255,0.9);
        font-size: 14px;
        line-height: 1.6;
        text-align: left; /* 描述文字展开后左对齐，阅读体验更好 */
    }

    /* 5. 下拉箭头按钮样式 */
    .mobile-cat-toggler {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: 10px;
        cursor: pointer;
        padding: 5px;
    }

    /* 箭头图标 (纯CSS绘制，无需图片) */
    .mobile-cat-arrow {
        width: 12px;
        height: 12px;
        border-right: 2px solid #fff;
        border-bottom: 2px solid #fff;
        transform: rotate(45deg); /* 向下箭头 */
        transition: transform 0.3s ease;
    }

    /* 展开状态：箭头旋转向上 */
    .mobile-cat-expanded .mobile-cat-arrow {
        transform: rotate(-135deg); /* 向上箭头 */
        margin-top: 5px;
    }
}

/* 桌面端隐藏箭头 */
@media (min-width: 769px) {
    .mobile-cat-toggler {
        display: none !important;
    }
}
/* ==============================================
   底部描述样式 V5 (全宽搬运版)
   ============================================== */

/* 1. 外层全宽容器 */
.custom-cat-bottom-section {
    width: 100vw;          /* 强制视口全宽 */
    margin-left: calc(50% - 50vw); /* 强制居中修正 (如果父级有padding) */
    background-color: #f8f8f8;
    margin-top: 50px;
    padding: 50px 0;
    clear: both;
    position: relative;
    z-index: 10;
}

/* 2. 重置 Woodmart 原生样式，防止干扰 */
.wd-term-desc {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    width: 100%;
}

/* 3. 内容折叠区 */
.cat-bottom-content-wrap {
    position: relative;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

/* 默认折叠高度 */
.cat-bottom-content-wrap.collapsed {
    max-height: 120px; 
}

.cat-bottom-content-wrap.expanded {
    max-height: none;
    padding-bottom: 20px;
}

/* 4. 白色渐变遮罩 */
.cat-bottom-mask {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(248,248,248,0), rgba(248,248,248,1)); /* 对应 #f8f8f8 背景 */
    pointer-events: none;
    transition: opacity 0.3s;
}

.cat-bottom-content-wrap.expanded .cat-bottom-mask {
    opacity: 0;
}

/* 5. 按钮样式 */
.cat-bottom-toggler {
    text-align: center;
    margin-top: 25px;
    cursor: pointer;
}

.cat-bottom-toggler span {
    display: inline-block;
    border: 1px solid #333;
    padding: 8px 30px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    background: #fff;
    transition: all 0.2s;
}

.cat-bottom-toggler span:hover {
    background: #333;
    color: #fff;
}@media (min-width: 1025px) {
	/* --- Woodmart B2B 列表：弹窗版专用 CSS --- */

@media (min-width: 1024px) {

    /* 1. 列表行布局 */
    .product-list-item .product-wrapper {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        border-bottom: 1px solid #eee;
        padding: 8px 0 !important;
        min-height: 55px;
    }

    /* 2. 图片：50px */
    .product-list-item .product-element-top {
        flex: 0 0 50px !important;
        width: 50px !important;
        margin-right: 15px !important;
    }
    .product-list-item .product-element-top img {
        width: 100% !important;
        display: block !important;
        border: 1px solid #eee;
    }
    .product-list-item .hover-img { display: none !important; }

    /* 3. 文字内容区 */
    .product-list-item .product-list-content {
        flex: 1 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    /* 标题 */
    .product-list-item .wd-entities-title {
        flex: 0 0 30% !important;
        margin-bottom: 0 !important;
        padding-right: 10px;
        line-height: 1.2 !important;
    }
    .product-list-item .wd-entities-title a {
        font-size: 13px !important;
        font-weight: 600;
        color: #333;
    }

    /* 价格 */
    .product-list-item .price {
        flex: 0 0 15% !important;
        margin-bottom: 0 !important;
        font-size: 13px !important;
        color: #e65540 !important;
        font-weight: bold;
    }

    /* --- 4. 按钮区域 (强制同行) --- */
    .product-list-item .wd-add-btn {
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex-wrap: nowrap !important;
        gap: 8px; /* 间距 */
    }

    /* 数量框 */
    .product-list-item .quantity {
        margin: 0 !important;
        height: 34px !important;
        border: 1px solid #ddd;
        border-radius: 4px;
        display: flex !important;
    }
    .product-list-item .quantity input.qty {
        width: 35px !important;
        height: 32px !important;
        border: none !important;
        font-size: 13px !important;
        text-align: center;
        padding: 0 !important;
    }
    .product-list-item .quantity input[type="button"] {
        width: 20px !important;
        height: 32px !important;
        background: #f8f8f8 !important;
        border: none !important;
        color: #555;
    }

    /* 橙色加入购物车按钮 */
    .product-list-item .add_to_cart_button {
        background-color: #e69e40 !important;
        color: #fff !important;
        font-size: 12px !important;
        padding: 0 15px !important;
        height: 34px !important;
        line-height: 34px !important;
        border-radius: 4px !important;
        white-space: nowrap;
        border: none !important;
    }

    /* --- 5. 蓝色弹窗触发按钮 --- */
    .product-list-item .b2b-popup-btn {
        background-color: #007bff !important; /* 你的标准蓝 */
        color: #fff !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        padding: 0 15px !important;
        height: 34px !important; /* 确保高度一致 */
        line-height: 34px !important; /* 垂直居中文字 */
        border-radius: 4px !important;
        border: none !important;
        white-space: nowrap;
        cursor: pointer;
        transition: all 0.2s;
        /* 重置 button 默认样式 */
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
    }

    /* 悬停效果 */
    .product-list-item .b2b-popup-btn:hover {
        background-color: #0062cc !important;
        transform: translateY(-1px);
    }
    
    /* 隐藏 Quick View */
    .product-list-item .quick-view { display: none !important; }
}
}

@media (max-width: 576px) {
	/* --- Woodmart B2B 手机端：左图右文 + 箭头引导 (最终版) --- */

@media (max-width: 1023px) {

    /* 1. 外层容器：横向 Flex 布局 */
    .product-list-item .product-wrapper {
        display: flex !important;
        flex-direction: row !important; /* 横向排列 */
        align-items: center !important; /* 图片和文字垂直居中对齐 */
        padding: 15px 35px 15px 10px !important; /* 右侧留出 35px 给箭头 */
        border-bottom: 1px solid #eee; /* 浅色分割线 */
        position: relative; /* 为箭头定位做准备 */
        min-height: 90px;
    }

    /* 2. 左侧图片：固定 80px */
    .product-list-item .product-element-top {
        display: block !important;
        flex: 0 0 80px !important; /* 固定宽度 */
        width: 80px !important;
        margin-right: 15px !important; /* 图片和文字的间距 */
        margin-bottom: 0 !important;
    }
    .product-list-item .product-element-top img {
        width: 100% !important;
        height: auto !important;
        border-radius: 4px; /* 小圆角，更精致 */
        border: 1px solid #f1f1f1;
        display: block !important;
    }
    /* 隐藏多余图片 */
    .product-list-item .hover-img { display: none !important; }

    /* 3. 右侧内容区域：强制左对齐 */
    .product-list-item .product-list-content {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-start !important; /* 关键：强制左对齐 */
        text-align: left !important;        /* 关键：文字左对齐 */
    }

    /* 4. 标题样式 */
    .product-list-item .wd-entities-title {
        width: 100% !important;
        margin-bottom: 5px !important;
    }
    .product-list-item .wd-entities-title a {
        font-size: 14px !important;
        font-weight: 600;
        color: #333;
        line-height: 1.4;
        text-align: left !important;
        
        /* 限制标题最多显示 2 行，防止太长 */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* 5. 价格样式 */
    .product-list-item .price {
        display: block !important;
        font-size: 15px !important;
        color: #e65540 !important; /* 橙色 */
        font-weight: 700 !important;
        margin: 0 !important;
        text-align: left !important;
    }

    /* --- 6. 引导箭头 (›) --- */
    .product-list-item .product-wrapper::after {
        content: "›"; /* 箭头符号 */
        position: absolute;
        right: 15px; /* 靠右距离 */
        top: 50%;
        transform: translateY(-50%); /* 绝对垂直居中 */
        font-size: 24px;
        color: #ccc; /* 浅灰色 */
        font-family: sans-serif;
        font-weight: 300;
    }

    /* --- 7. 彻底隐藏所有操作按钮 --- */
    /* 隐藏所有可能出现的按钮、输入框、包裹层 */
    .product-list-item .wd-add-btn,
    .product-list-item .quantity,
    .product-list-item .add_to_cart_button,
    .product-list-item .b2b-popup-btn,
    .product-list-item .b2b-quote-wrap,
    .product-list-item .b2b-manual-quote-btn {
        display: none !important;
    }

    /* 8. 隐藏其他无关元素 */
    .product-list-item .woodmart-product-cats,
    .product-list-item .wd-product-excerpt,
    .product-list-item .quick-view, 
    .product-list-item .wd-wishlist-btn, 
    .product-list-item .wd-compare-btn {
        display: none !important;
    }
}
}

