/*
Theme Name:     B2子主题
Theme URI:      http: //7b2.com/
Description:    Child theme for the B2 PRO
Author:         子主题模版
Author URI:     http: //7b2.com/
Template:       b2
Version:        0.1.5
*/

/*下面是您自己DIY的css样式代码*/

/* 强制悬停时黑色图标变白 */
.social-container a:hover svg path {
  fill: white !important; /* 覆盖默认黑色 */
  transition: fill 0.2s;  /* 平滑过渡 */
}

/* 确保悬停背景色填充 */
.social-container a:hover {
  background: var(--accent-color) !important;
}
.social-container {
  display: flex;
  gap: 20px;
}
.social-container a {
  background: white;
  padding: 1em;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  box-sizing: border-box;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

.social-container a svg {
  height: 32px;
}

.social-container a:before {
  content: attr(data-social);
  position: absolute;
  background: var(--accent-color);
  color: white;
  text-decoration: none;
  padding: 0.5em 1em;
  border-radius: 100px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
  transform: translateY(-30px) rotate(25deg);
  opacity: 0;
  transition: 0.2s cubic-bezier(0.42, 0, 0.44, 1.68);
}

.social-container a:hover {
  background: var(--accent-color);
  fill: white;
}

.social-container a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid var(--accent-color);
  transform: translateY(0) rotate(25deg);
  opacity: 0;
  transition: 0.2s cubic-bezier(0.42, 0, 0.44, 1.68);
}

.social-container a:hover:before {
  transform: translateY(-65px) rotate(0);
  opacity: 1;
}

.social-container a:hover:after {
  transform: translateY(-42px) rotate(0);
  opacity: 1;
}
/* 新增CSS */
.footer-social {
  flex-basis: 100%;
  text-align: center;
  margin: 40px 0 20px;
}
/* 调整原有社交媒体容器样式 */
.social-container {
  justify-content: center;
  gap: 15px;
}
/* 移动端优化 */
@media (max-width: 768px) {
  .social-container a {
    width: 50px;
    height: 50px;
    padding: 0.8em;
  }
  
  .social-container a svg {
    height: 24px;
  }
}



.woocommerce-loop-product__title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}






/* 保持原有功能，仅修改视觉样式 */
a.button.pdapp-customize-product-btn {
    background-color: #fd3d6b !important;  /* 主色调（替换为你的主题色） */
    color: white !important;               /* 文字颜色 */
    border: none !important;
    border-radius: 4px !important;         /* 圆角大小 */
    padding: 10px 20px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    text-align: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

/* 悬停状态 */
a.button.pdapp-customize-product-btn:hover {
    background-color: #fd3d6b !important;  /* 深色悬停（替换为你的主题悬停色） */
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

/* 点击状态 */
a.button.pdapp-customize-product-btn:active {
    transform: translateY(0) !important;
    box-shadow: none !important;
}

/* 菜单图标*/
.links-widget {
display: flex;
flex-flow: wrap;
}
.site-footer .widget ul li {
width: 50%!important;
}
#labs {
    animation:turn 1s linear infinite;
    display: inline-block;
}
