/*product category border*/
.tab-content .xs-tab-slider-item .xs-product-widget {
    border: 1px solid #e3e3e3;
}

@media (max-width: 991px) {
	.small-offer-banner-v2 .small-offer-banner {
			width: 100%;
	}	
}

@media only screen and (max-width: 1024px) {
	
     /*whishlist pages table css*/
     .wishlist_table.mobile li {
      margin-bottom: 10px;
      display: flex;
      border: 1px solid rgba(0,0,0,.1);
      align-items: center; 
 }
 .additional-info tr td:first-child {
      display: none;
 }
}
.elementskit-navbar-nav-default .ekit-menu-badge {
    top: 0px;
}
.xs-custom-nav .next .icon-right-arrow:before {
    content: "\e997";
}
.xs-custom-nav .next .icon-right-arrow {
	    transform: rotate(180deg);
    display: block;
}


/* White Gallery Menu Style */
.elementskit-navbar-nav-default .megamenu-list>li>a {
    color: #b4b4b4;
}
.elementskit-navbar-nav-default .megamenu-v2 .megamenu-list li a:hover {
    color: #626262;
}
.elementskit-navbar-nav-default .megamenu-list>li {
    border-left-color: #f1f1f1 !important;
}






.product_meta {display:none;}

.product-categories {
    display: none;
}

/* pic width Style */



 .xs-product-category {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* 产品间距 */
}

/* 单个产品项 - 电脑端3个/行 */
 .tab-slider-center .xs-product-category  {
    width: calc(33.33% - 10px) !important; /* 3列布局 */
    margin-bottom: 0px;
}



/* 价格修改 */
.price span[aria-hidden="true"]:nth-child(2),
.price .woocommerce-Price-amount.amount:nth-child(3) {
    display: none !important;
}




/* 价格区域居中 */
.price {

}

/* 移除边框 */
.xs-product-category {
    border: none !important;
}


    
    /* 价格居中并移除边框 */
.xs-product-category .price {
    display: flex !important;
    justify-content: center !important;
    border: none !important;
}


/* gouwuche icon */
@media (max-width: 991px) {
    .xs-single-wishList .xs-item-count.highlight {
        display: block !important;
    }
}

.xs-single-wishList .xs-item-count.highlight {
    background-color: #f0f0f0 !important;
	   color: #565656 !important;
}


.list-group.xs-list-group.xs-product-content {
    display: none !important;
}

.xs-single-product:hover .list-group.xs-list-group.xs-product-content {
    display: none !important;
}




/* 页脚基础样式 */
.wood381-footer {
    font-family: 'Arial', sans-serif;
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 30px 0;
    line-height: 1.6;
}

/* 顶部Logo区域 */
.footer-top {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 10px;
}
.footer-logo h2 {
    color: #fff;
    margin: 0;
    font-size: 24px;
}
.footer-logo p {
    color: #bdc3c7;
    margin: 5px 0 0;
}

/* 中部三列布局 */
.footer-middle {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1424px;
    margin: 0 auto 20px;
}
.footer-column {
    flex: 1;
    min-width: 200px;
    padding: 0 15px;
    margin-bottom: 20px;
}
.footer-title {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding-bottom: 5px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 8px;
    color: #bdc3c7;
    cursor: pointer;
}
.footer-links li a{
    color: #bdc3c7;
}
.footer-links li:hover {
    color: #fff;
}

/* 底部版权区域 */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    margin-top: 20px;
}
.copyright {
    color: #bdc3c7;
    margin-bottom: 10px;
}
.footer-legal a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 12px;
}
.footer-legal a:hover {
    color: #f39c12;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .footer-middle {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .footer-column {
        flex: none;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0; /* 防止内容溢出 */
        word-break: break-word; /* 长单词自动换行 */
        overflow-wrap: break-word; /* 防止文本撑破容器 */
    }
    
    .footer-links li {
        white-space: normal; /* 允许换行 */
    }
} 
    



/* 移动端样式 */
@media (max-width: 768px) {
    .footer-column {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        margin-top: 10px;
    }
}






 

/* 电脑端header */

.xs-header {
    background-color: #2c3e50 !important;
}

.xs-menus .nav-menu > li > a {
    color: #fff !important;
}


.xs-navBar {
    background: #2c3e50 !important;
    width: 100%;
}


/* 移动端header */
@media (max-width: 991px) {
    .tabmenu-area {
    background-color: #2c3e50;
    }
}


.nav-toggle:before {
    background-color: #fff !important;
    box-shadow: 0 .5em 0 0 #fff, 0 1em 0 0 #fff !important;
}







/* menu-pc */
.main-nav {
    position: relative;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    display: block;
    padding: 5px 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 400 !important;
    transition: all 0.3s ease;
}

.nav-item > a:hover {
    color: #fff;
}

/* 巨型菜单样式 */
.mega-menu {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    background: #fff;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    padding: 20px;
    display: none;
    z-index: 1000;
    min-height: 400px;
}

.mega-menu-trigger:hover .mega-menu {
    display: block;
}


.mega-menu-trigger > a::after {
    content: "▼";
    font-size: 0.7em;
    margin-left: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.mega-menu-trigger:hover > a::after {
    transform: rotate(180deg);
}


.mega-menu-columns {
    display: flex;
    position: relative; /* 新增 */
    height: auto !important;
}

.mega-menu-primary {
    width: auto; 
    height: 100%; 
    list-style: none;
    padding-right: 0px !important;
}

/* 确保一级菜单项有正确的定位 */
.has-submenu {
    position: relative !important; /* 强制相对定位 */
    margin: 0 !important; /* 清除默认 margin */
    padding: 0 !important; /* 清除默认 padding */
}



.mega-menu-primary > li {
    position: relative;
}

.mega-menu-primary > li > a {
    display: block;
    padding: 5px 0px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 13px;
}

.mega-menu-primary > li > a:hover {
    color: #2d5b8f;
    background: #f5f5f5;
}

/* 确保一级菜单项有正确的定位 */
.has-submenu {
    position: static !important;
    margin: 0 !important; /* 清除默认 margin */
    padding: 0 !important; /* 清除默认 padding */
}




.product-item-meta > li > a > i {
    padding-right: 0px;
    color: #000;
}





/* 文章列表页主容器设置 */
.post-body {
    display: flex;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box; /* 防止padding影响宽度计算 */
}

/* 左侧缩略图 (固定270px) */
.post-thumbnail {
    overflow: hidden; /* 防止图片溢出 */
    max-width: 270px;
}

/* 右侧内容区域 (自适应剩余空间) */
.post-content-right {
    flex: 1;
    min-width: 0; /* 修复内容溢出问题 */
}

/* 图片样式调整 */
.post-thumbnail-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .post-body {
        flex-direction: column;
    }
    .post-thumbnail {
        max-width: 100%;
        margin-bottom: 15px;
    }
}

/* 移除默认边距可能的影响 */
.post {
    margin: 0;
    padding: 0;
}


/* 控制内容显示 */
.entry-header .entry-content {
    display: block;
}

@media (max-width: 768px) {
    .entry-header .entry-content {
        display: none;
    }
}

/* 文章底部边框 */
.post {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}










/* 移动端头部样式 */
.mobile-header {
  background: #2c3e50;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1000;
}

.mobile-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
}

.mobile-header-col {
  flex: 1;
  display: flex;
  align-items: center;
}

.mobile-menu-toggle {
  justify-content: flex-start;
}

.mobile-logo {
  justify-content: center;
}

.mobile-cart {
  justify-content: flex-end;
}

/* 汉堡菜单按钮 */
.hamburger-btn {
  background: none;
  border: none;
  padding: 5px;
}

.hamburger-icon {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  position: relative;
}

.hamburger-icon:before,
.hamburger-icon:after {
  content: '';
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  position: absolute;
}

.hamburger-icon:before {
  top: -8px;
}

.hamburger-icon:after {
  bottom: -8px;
}

/* 移动菜单面板 */

/* 购物车样式 */
.cart-link {
  position: relative;
  display: block;
  padding: 5px;
}


/* 搜索栏样式 */
.mobile-search-container {
  padding: 10px 15px;
  background: #fff;
}

.mobile-search-form {
  display: flex;
}

.mobile-search-form input[type="search"] {
  flex: 1;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 10px 0 0 10px;
}

.mobile-search-form button {
  padding: 8px 15px;
  background: #2c3e50;
  color: #fff;
  border: none;
  border-radius: 0 4px 4px 0;
}

/* 响应式调整 */
@media (max-width: 480px) {
  .mobile-logo img,
  .mobile-menu-brand img {
    max-width: 120px;
  }
}


/* Home Slide */
.product-grid {
    display: flex;
    width: 1424px; /* 固定总宽度 */
    gap: 20px;
    margin: 10px auto; /* 居中 */
}

/* 左侧大图（占2/3宽度） */
.main-image {
    flex: 2; /* 比例2 */
    min-width: 0; /* 防止溢出 */
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* 右侧两小图（占1/3宽度，上下排列） */
.side-images {
    flex: 1; /* 比例1 */
    display: flex;
    flex-direction: column; /* 垂直排列 */
    gap: 8px;
    min-width: 0;
}

.side-images a {
    height: 270px !important;/* 固定高度 */
    overflow: hidden;
    border-radius: 8px;
}

.side-images img {
    width: 435px !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover; /* 保持比例并填充 */
}




/* Home icon */
        .services-container {
            display: flex;
            justify-content: space-between;
            gap: 20px;
        }
        
        .service-box {
            flex: 1;
            display: flex;
            align-items: center;
            gap: 20px;
            padding: 25px;
            background: #f9f9f9;
            border-radius: 10px;
            transition: all 0.3s ease;
        }
        
        .service-box:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
            background: #fff;
        }
        
        .service-icon {
            flex-shrink: 0;
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #3498db;
        }
        
        .service-icon svg {
            width: 40px;
            height: 40px;
        }
        
        .service-content {
            flex: 1;
        }
        
        .service-title {
            font-size: 18px;
            font-weight: 600;
            color: #333;
            margin-bottom: 8px;
        }
        
        .service-desc {
            font-size: 14px;
            color: #666;
            line-height: 1.5;
        }
        
.service-icon svg,
.service-icon svg path,
.service-icon svg rect,
.service-icon svg circle {
    fill: currentColor !important; /* 强制继承父元素颜色 */
    stroke: currentColor !important; /* 处理线条类图标 */
}






/* Home phone icon */
        .top-icons {
            display: flex;
            justify-content: space-between;
            margin-bottom: 20px;
        }
        
        .top-icon-box {
            flex: 1;
            display: flex;
            align-items: center;
            padding: 10px;
            background: #f8f8f8;
            border-radius: 10px;
            margin: 0 5px;
        }
        
        .top-icon {
            width: 30px;
            height: 30px;
            margin-right: 10px;
        }
        
        .top-icon-title {
            font-size: 12px;
            font-weight: bold;
            color: #333;
        }
        
 .middle-icons, .bottom-icons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0px;
}
        
.vertical-icon-box {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-left: none;
    border-top: none;
    padding: 6px 2px;
}

.vertical-icon-box:nth-child(5n + 1) {
    border-left: 1px solid #e0e0e0;
}

.middle-icons .vertical-icon-box:nth-child(-n+5) {
    border-top: 1px solid #e0e0e0;
}
        
.vertical-icon {
    width: 30px;
    height: 30px;
    margin: 0 auto 8px;
}
        
.vertical-icon-title {
    font-size: 10px;
    color: #333;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
}
        

.service-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: hidden;
    gap: 0px;
}

.service-box2 {
    flex: 1;
    padding: 8px;
    display: flex;
    align-items: center;
}

.service-icon2 {
    width: 16px;
    height: 20px;
    margin-right: 8px;
 }
 
 .service-content2 {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-title2 {
    font-size: 9px;
    white-space: nowrap;
}

.service-desc {
    font-size: 9px;
    display: -webkit-box;
    line-height: 1.2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


  .shortcode-container {
    max-width: 1424px;
    margin: 0 auto;
    padding: 0 15px;
  }

  /* 手机端铺满屏幕 */
  @media (max-width: 767px) {
    .shortcode-container {
      max-width: 100%;
      padding: 0 10px;
    }
  }

/* 移动端适配（一行2个产品） */
@media (max-width: 767px) {
    .col-md-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important; 
    }
    
    .col-lg-3 {
        flex: 0 0 50% !important;  
    }
    
}








/* 基础样式 */
.custom-header {
  background-color: #2C3E50;
  color: white;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-shadow: 0px 3px 5px 0px rgba(210, 217, 237, 0.3);
}

/* 第一行布局 */
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 35px 20px;
  max-width: 1424px;
  margin: 0 auto;
}

.header-logo img {
  height: 45px;
  width: auto;
}

/* 搜索框样式 */
.header-search {
  flex-grow: 1;
  max-width: 500px;
  margin: 0 20px;
}

.woocommerce-product-search {
  position: relative;
  display: flex;
}

.search-input {
  width: 100%;
  padding: 10px 15px;
  border: none;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
}

.search-btn {
  background: #CECECE;
  border: none;
  border-radius: 0 4px 4px 0;
  padding: 0 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn svg {
  fill: white;
}

/* 购物车样式 */
.header-cart {
  position: relative;
}

.cart-icon:hover {
  color: white !important;
}

.cart-icon {
  display: flex;
  align-items: center;
  color: white;
  text-decoration: none;
}

.cart-count {
  background: #e74c3c;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  position: absolute;
  top: -10px;
  right: -10px;
}

.cart-icon svg {
  fill: white;
  margin-left: 5px;
}

/* 导航栏样式 */
.header-nav2 {
  background-color: #fff; /* 统一背景色 */
  box-shadow: 0px 3px 5px 0px rgba(210, 217, 237, 0.3);
}

.nav-container2 {
  max-width: 1424px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.categories-btn {
  background: #CECECE;
  color: #000000;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-right: 20px;
  font-size: 14px;
  white-space: nowrap;
}

.nav-menu2 {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 10px 0;
  padding-left: 10px;
  font-weight: 500;
}

.nav-menu2 li {
  margin-right: 35px;
}

.nav-menu2 a {
  color: #000;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.3s;
  white-space: nowrap;
}





/* 产品标题截断 */
.woocommerce-loop-product__title {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 限制两行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 2.8em; /* 两行高度 */
    line-height: 1.4;
}

/* 图片自适应 */
.woocommerce-loop-product__link img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
}












/* 首页菜单与产品展示区域样式 */
.homepage-menu-section {
    display: flex;
    width: 1424px;
    margin: 20px auto;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 4px;
    overflow: hidden;
    position: relative; /* 建立层叠上下文 */
    z-index: 1; /* 新增 */
}

/* 菜单容器高度自适应 */
.menu-container {
    width: 275px;
    min-height: 425px; /* 初始最小高度 */
    background: #f8f8f8;
    overflow: visible !important; /* 必须取消隐藏溢出 */
}



/* 右侧产品图容器 */
.product-image-container {
    width: 1149px;
    height: 425px;
    position: relative;
    z-index: 1 !important; /* 确保低于菜单 */
}

.featured-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* 菜单样式 */
.categories-menu {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.menu-title {
    font-size: 18px;
    color: #333;
    padding: 15px;
    margin: 0;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 8px; /* 图标文字间距 */    
}

.menu-icon {
    vertical-align: middle;
    color: #000; /* 金色 */
}

.product-categories-menu {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative; /* 新增：为绝对定位按钮提供基准 */
    min-height: calc(425px - 60px); /* 动态高度计算 */
}

.product-categories-menu .main-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 边框调整 */
.product-categories-menu .menu-item {
    border-bottom: 1px solid #f0f0f0; /* 浅灰色边框 */
}

/* 一级菜单项样式 */
.product-categories-menu .menu-item > a {
    font-size: 15px !important;
    color: #555;
    padding: 13px 30px 13px 15px !important;
    line-height: 1.2;
    display: flex;
    align-items: center;
    height: 42.5px;
    position: relative;
}




.product-categories-menu .menu-item > a:after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    transform: translateY(-50%) rotate(-45deg);
    transition: all 0.3s;
}

.product-categories-menu .menu-item > a:hover:after {
    border-color: #d4af37; /* 悬停变金色 */
}

/* 悬停效果增强 */
.product-categories-menu .menu-item > a:hover {
    color: #333; /* 加深颜色 */
    background: rgba(0,0,0,0.03); /* 轻微背景色 */
}

/* 二级菜单绝对定位 */
.product-categories-menu .sub-menu {
    display: none;
    position: absolute;
    left: 275px; /* 从右侧弹出 */
    top: 0;
    width: 200px;
    background: #fff;
    box-shadow: 2px 3px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    border-left: 1px solid #eee;
}


/* 悬停触发显示 */
.product-categories-menu .menu-item:hover > .sub-menu {
    display: block;
    animation: menuFade 0.2s ease;
}



@keyframes menuFade {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.product-categories-menu .sub-menu li {
    border-bottom: 1px solid #f5f5f5;
}

.product-categories-menu .sub-menu a {
    display: block;
    padding: 10px 15px;
    color: #666;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.product-categories-menu .sub-menu a:hover {
    color: #000;
    background: rgba(212, 175, 55, 0.05);
    padding-left: 20px;
}















    /* 产品展示区域样式 */
    .homepage-products-section {
        margin-top: 40px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
        text-align: center;
        padding-bottom: 10px;
        border-bottom: 1px solid #eee;
    }
    
    .products-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .product-item {
        border: 1px solid #eee;
        padding: 15px;
        text-align: center;
        transition: all 0.3s ease;
    }
    
    .product-item:hover {
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .product-item img {
        max-width: 100%;
        height: auto;
        margin-bottom: 10px;
    }
    
.product-title {
    font-size: 16px;
    margin: 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 2.4em; /* 根据你的字体大小调整 */
    line-height: 1.2em !important;
}
    
    .product-price {
        font-weight: bold;
    }
    
    /* 响应式设计 */
    @media (max-width: 1024px) {
        .products-grid {
            grid-template-columns: repeat(4, 1fr);
        }
    }
    
    @media (max-width: 768px) {
        .products-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }
    
    @media (max-width: 480px) {
        .products-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        
        .section-title {
            font-size: 20px;
        }
    }




  /* 浮动按钮容器 - 固定在右下角 */
  .float-btns {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
  }

  /* 按钮通用样式 */
  .float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s;
  }
  

.back-to-top {
  background: #666;
  color: white;
  /* 默认隐藏，滚动后显示 */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

/* 滚动时显示按钮 */
body.scrolled .back-to-top {
  opacity: 1;
  pointer-events: auto;
}  
  

  /* 悬停效果 */
  .float-btn:hover {
    transform: scale(1.1);
  }

  /* WhatsApp按钮（绿色） */
  .float-btn-whatsapp {
    background: #25D366;
    color: white;
  }

  /* Telegram按钮（蓝色） */
  .float-btn-telegram {
    background: #0088cc;
    color: white;
  }

  /* Email按钮（红色） */
  .float-btn-email {
    background: #EA4335;
    color: white;
  }

  /* 移动端适配 */
  @media (max-width: 768px) {
    .float-btn {
      width: 48px;
      height: 48px;
    }
  }
  
  
  

/* Cookie Consent Styles */
#cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90%;
  width: 400px;
  padding: 15px;
  background: #2c3e50;
  color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  z-index: 9999;
  display: none;
}
/* 其他CSS规则... */




/* Buyer Protection */
.buyer-protection-wrapper {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 5px;
    border: 1px solid #eee;
}

.buyer-protection-wrapper h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.buyer-protection-items {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    overflow-x: auto; 
    white-space: nowrap; 
    padding-bottom: 10px; 
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; 
}

.buyer-protection-items::-webkit-scrollbar {
    display: none; 
}

.buyer-protection-item {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 120px;
    padding: 10px;
}

.buyer-protection-item i {
    color: #2c3e50;
    margin-right: 10px;
    font-size: 18px;
    min-width: 20px;
    text-align: center;
}

.buyer-protection-item span {
    font-size: 14px;
    color: #555;
}

/* social share*/
.social-share-wrapper {
    margin-top: 25px;
    padding: 15px 20px;
}

.social-share-wrapper h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.share-label {
    font-size: 14px;
    color: #555;
    margin-right: 5px;
}

.social-share-buttons a {
    width: 30px;
    height: 30px;
    font-size: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-share-buttons a:hover {
    transform: translateY(-3px);
}

.social-share-facebook {
    background-color: #3b5998;
}

.social-share-twitter {
    background-color: #1da1f2;
}

.social-share-tiktok {
    background-color: #000000;
}

.social-share-pinterest {
    background-color: #e60023;
}


@media (max-width: 480px) {
    .buyer-protection-items {
        flex-wrap: nowrap; 
        justify-content: flex-start; 
    }
    
    .buyer-protection-item {
        flex: 0 0 auto;
        padding: 8px 15px;
    }
    
    .buyer-protection-item i {
        font-size: 16px;
        margin-right: 8px;
    }
    
    .buyer-protection-item span {
        font-size: 13px;
    }
    
    .social-share-buttons a {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}






.amera-custom-labels {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.discount-label {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
    line-height: 1;
    text-align: center;
}

.custom-label {
    display: inline-block;
    background: #ff0000;
    color: #fff;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
    line-height: 1;
    text-align: center;
}


.product-thumbnail-wrapper,
.product-item > a,
.products .product-wrapper {
    position: relative !important;
    display: block !important;
}


.woocommerce .product-wrapper .onsale {
    display: none !important;
}





