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

.wd-popup.wd-promo-popup{
	background-color:#111111;
	background-image: url(https://www.8bitdosale.com/wp-content/uploads/2021/07/promo-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(12,12,12);
	background-image: none;
}

:root{
--wd-text-font:"Poppins", Arial, Helvetica, sans-serif;
--wd-text-font-weight:400;
--wd-text-color:#777777;
--wd-text-font-size:14px;
}
:root{
--wd-title-font:"Poppins", Arial, Helvetica, sans-serif;
--wd-title-font-weight:600;
--wd-title-color:#242424;
}
:root{
--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%);
}
:root{
--wd-alternative-font:"Poppins", Arial, Helvetica, sans-serif;
}
:root{
--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;
}
:root{
--wd-header-el-font:"Poppins", Arial, Helvetica, sans-serif;
--wd-header-el-font-weight:700;
--wd-header-el-transform:uppercase;
--wd-header-el-font-size:13px;
}
html .wd-nav.wd-nav-main > li > a{
	font-family: "Poppins", Arial, Helvetica, sans-serif;font-weight: 500;font-size: 20px;
}

:root{
--wd-primary-color:rgb(221,51,51);
}
:root{
--wd-alternative-color:rgb(170,170,170);
}
:root{
--wd-link-color:#333333;
--wd-link-color-hover:#242424;
}
:root{
--btn-default-font-family:"Poppins", Arial, Helvetica, sans-serif;
--btn-default-font-weight:500;
}
:root{
--btn-default-bgcolor:rgb(0,0,0);
}
:root{
--btn-default-bgcolor-hover:rgb(221,28,28);
}
:root{
--btn-accented-font-family:"Poppins", Arial, Helvetica, sans-serif;
}
:root{
--btn-accented-bgcolor:rgb(0,0,0);
}
:root{
--btn-accented-bgcolor-hover:rgb(221,28,28);
}
html .wd-sticky-btn-cart .single_add_to_cart_button, html .wd-sticky-add-to-cart, html .wd-sticky-btn.wd-quantity-overlap div.quantity input[type]{
	font-family: "Poppins", Arial, Helvetica, sans-serif;font-weight: 600;font-size: 20px;color: rgb(255,255,255);background: rgb(221,28,28);
}

html .wd-sticky-btn-cart .single_add_to_cart_button:hover, html .wd-sticky-add-to-cart:hover, html .wd-sticky-btn.wd-quantity-overlap .cart:hover > div.quantity input[type], html .wd-sticky-btn.wd-quantity-overlap .cart:hover > div.quantity+.button{
	background: rgb(221,51,51);
}

html .wd-buy-now-btn{
	font-family: "Poppins", Arial, Helvetica, sans-serif;font-weight: 600;font-size: 20px;color: rgb(255,255,255);background: rgb(221,28,28);
}

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

html .entry-summary .single_add_to_cart_button, .wd-single-add-cart .single_add_to_cart_button{
	font-family: "Poppins", Arial, Helvetica, sans-serif;font-weight: 600;font-size: 20px;background: rgb(221,28,28);
}

html .entry-summary .single_add_to_cart_button:hover, .wd-single-add-cart .single_add_to_cart_button:hover{
	color: rgb(255,255,255);background: rgb(221,51,51);
}

:root{
--notices-success-bg:rgb(221,51,51);
}
:root{
--notices-success-color:#fff;
}
:root{
--notices-warning-bg:rgb(221,51,51);
}
:root{
--notices-warning-color:#fff;
}
	:root{
									--wd-form-brd-radius: 35px;
			
			
					
					--wd-form-brd-width: 2px;
		
					--btn-default-color: #fff;
		
					--btn-default-color-hover: #fff;
		
					--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-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: 1025px) {
			.whb-boxed:not(.whb-sticked):not(.whb-full-width) .whb-main-header {
				max-width: 1192px;
			}
		}

		.container {
			max-width: 1222px;
		}

		:root{
			--wd-container-w: 1222px;
		}
	
			@media (min-width: 1222px) {
			[data-vc-full-width]:not([data-vc-stretch-content]),
			:is(.vc_section, .vc_row).wd-section-stretch {
				padding-left: calc((100vw - 1222px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
				padding-right: calc((100vw - 1222px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
			}
		}
	
			div.wd-popup.popup-quick-view {
			max-width: 920px;
		}
	
	
	
	
			.woodmart-woocommerce-layered-nav .wd-scroll-content {
			max-height: 223px;
		}
	
	
/* 确保“加入购物车”按钮和“购买数量选择器”在同一行 */
.single-product .single_add_to_cart_button_wrapper {
    display: flex; /* 使用 Flexbox 布局 */
    align-items: center; /* 垂直居中对齐 */
    gap: 2px; /* 减小内间距值，例如调整为2px */
    width: 100%; /* 确保容器宽度为100% */
}

/* 确保购买数量选择器宽度 */
.single-product .quantity {
    flex: 1; /* 占用剩余空间 */
    max-width: 25%; /* 根据需要调整最大宽度 */
    margin-right: 0; /* 取消右侧间距 */
    padding: 0; /* 确保没有额外的内边距 */
}

/* 确保“加入购物车”按钮宽度 */
.single-product .single_add_to_cart_button {
    flex: 1; /* 占用剩余空间 */
    max-width: 82%; /* 根据需要调整最大宽度 */
    margin-left: 0; /* 取消左侧间距 */
    padding: 0; /* 确保没有额外的内边距 */
}

/* 保持“购买”按钮的宽度为100% */
.single-product .wd-buy-now-btn {
    width: 100%; /* 确保宽度为100% */
    font-size: 16px; /* 字体大小 */
    padding: 12px 20px; /* 内边距 */
    margin-top: 10px; /* 上方间距 */
    display: block; /* 强制为块级元素 */
}

/* 统一“加入购物车”按钮和“购买”按钮的字体大小 */
.single-product .single_add_to_cart_button,
.single-product .wd-buy-now-btn {
    font-size: 16px !important; /* 统一字体大小 */
}

.product-card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
/* 1. 替换为更接近 8BitDo 的字体 (Inter/Roboto)，并缩小字号防止掉行 */
.wd-nav-main > li > a {
    font-family: "Inter", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    color: #ffffff !important;
    font-size: 13px !important; /* 缩小字号，8BitDo 官网字号其实很小 */
    font-weight: 600 !important;
    padding-left: 10px !important;  /* 缩小左右间距，腾出空间给更多栏目 */
    padding-right: 10px !important;
    letter-spacing: 0.5px; /* 增加一点点字间距，更有科技感 */
    transition: all 0.3s ease;
}

/* 2. 悬停下划线：更细、更近 */
.wd-nav-main > li > a:hover {
    text-decoration: underline !important;
    text-underline-offset: 6px; 
    text-decoration-thickness: 1.5px;
}

/* 3. 彻底解决“掉到第二排”：强制导航栏不换行 */
.wd-header-main-nav {
    white-space: nowrap !important;
    min-width: max-content;
}

/* 4. 下拉菜单：纯黑、无边框、无箭头 */
.wd-dropdown-menu, .wd-dropdown {
    background-color: #000000 !important;
    border: none !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5) !important;
    padding: 10px 0 !important;
}

/* 5. 下拉菜单文字样式 */
.wd-nav-dropdown > li > a {
    color: #ffffff !important;
    font-size: 13px !important;
    padding: 8px 20px !important;
}

.wd-nav-dropdown > li > a:hover {
    background-color: #111111 !important;
    text-decoration: underline !important;
}

/* 去掉下拉小箭头 */
.wd-dropdown:after {
    display: none !important;
}
/* 1. 强制下拉框宽度自适应内容，不折行 */
.wd-dropdown-menu, 
.wd-dropdown {
    min-width: 220px !important; /* 设置一个最小宽度，防止太窄 */
    width: auto !important;
    white-space: nowrap !important; /* 强制文字在一行内显示，不换行 */
}

/* 2. 调整内边距，给长标题留出呼吸空间 */
.wd-nav-dropdown > li > a {
    padding: 12px 25px !important; /* 增加左右间距，防止文字贴边 */
    display: flex !important;
    justify-content:间行; /* 如果有图标，保证排版整齐 */
}

/* 3. 处理 Woodmart 默认的“全宽”下拉菜单干扰 */
/* 如果你的下拉菜单是设置成 "Full Width" 模式的，需要下面这段 */
.wd-dropdown-menu.wd-design-full-width {
    padding: 20px !important;
}
/* 1. 增加触发区域的高度，确保鼠标下移时依然在“感应区”内 */
.wd-nav-main > li.menu-item-has-children {
    padding-bottom: 20px !important; /* 给父级菜单加一个底部的虚假高度 */
    margin-bottom: -20px !important; /* 抵消掉边距，防止影响排版 */
}

/* 2. 调整下拉框的向上偏移量，让它贴紧导航栏 */
.wd-dropdown {
    margin-top: 0px !important; /* 如果下拉框离文字太远，把这里改成 -5px 甚至更多 */
}

/* 3. 增加一个透明的伪元素，像桥梁一样连接文字和下拉框 */
.wd-dropdown::before {
    content: "";
    position: absolute;
    top: -25px; /* 向上延伸 25px 的透明感应区 */
    left: 0;
    right: 0;
    height: 25px;
    background: transparent;
    display: block;
}
/* --- 终极必杀：强行位移下拉文字 --- */

/* 1. 直接控制下拉框里的每一项，强行向右平移 20px */
.wd-nav-dropdown li > a {
    padding-left: 20px !important; /* 增加内边距 */
    transform: translateX(20px) !important; /* 直接物理平移文字 */
    width: calc(100% - 40px) !important; /* 缩减宽度防止文字溢出右侧 */
}

/* 2. 修正悬停时的背景颜色块，确保它也跟着位移且不难看 */
.wd-nav-dropdown li > a:hover {
    background-color: transparent !important; /* 建议 8bitdo 风格只留文字下划线 */
    text-decoration: underline !important;
}

/* 3. 如果位移后背景块显得不整齐，直接给整个容器加一个左边边框留白 */
.wd-dropdown-menu .container, 
.wd-dropdown-inner, 
.wd-nav-dropdown {
    border-left: 20px solid transparent !important; /* 用透明边框强行顶开位置 */
}

/* 4. 再次确保黑色背景足够大 */
.wd-dropdown {
    min-width: 280px !important;
}
/* 1. 限制中间菜单容器的最大宽度，不让它霸占全行 */
.whb-col-center.whb-column {
    flex: 1 1 auto !important;
    max-width: 60% !important; /* 强制菜单最多只占 60% 的空间 */
    justify-content: flex-start !important; /* 强制菜单内容向左靠 */
    margin-right: auto !important;
}

/* 2. 保护右侧区域（登录、购物车）不被挤压 */
.whb-col-right.whb-column {
    flex: 0 0 auto !important; /* 禁用缩放，保证自己占有的空间 */
    min-width: 200px !important; /* 给登录和购物车留出足够的死空间 */
    display: flex !important;
    justify-content: flex-end !important;
}

/* 3. 彻底修复会员登录和购物车金额 */
.wd-header-nav.wd-header-secondary-nav,
.wd-header-cart,
.wd-header-my-account {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 4. 如果导航栏还是太宽，进一步压缩菜单项之间的空隙 */
.wd-nav-main > li > a {
    padding-left: 6px !important;
    padding-right: 6px !important;
    letter-spacing: 0 !important; /* 关掉字间距，节省空间 */
}