/* 防止页面整体出现水平滚动 */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    
}

/* 确保所有元素不会超出容器 */
/* * {
    box-sizing: border-box;
} */

/* 让图片在容器内自适应 */
/* img, iframe, video, object, embed {
    max-width: 100%;
    height: auto;
} */

/* 防止 pre img标签（代码块）导致溢出 */
 pre,strong {
    white-space: pre-wrap; 
    word-wrap: break-word;
} 

/* 防止单词过长不换行 */
/* .entry-content, .your-custom-class {
    overflow-wrap: break-word;
    word-wrap: break-word;
} */
/* 标题样式 */
.myh{
   
    /* 允许长单词或 URL 在行尾处断开并换行 */
    word-wrap: break-word !important;      /* 已废弃，但为了兼容性可保留 */
    overflow-wrap: break-word !important;  /* 推荐使用 */
    
    /* 确保空白符不会阻止自动换行 */
    white-space: normal !important;        /* 默认值，允许自动换行 */

}
/* language 下拉列表样式 */
.myBkCss{
  background-color: white !important;
}
.myBkCss:hover{
  background-color: whitesmoke !important;
}
/* 页面顶部菜单样式 English*/
.myMeun{
    /* 初始样式 */
    background-color: rgba(1, 1, 1, 0.8) !important; /* 透明背景 */
    color: white;
    /* padding-top: 5px; */
    /* padding-bottom: 30px; */
    position: fixed;
    
    z-index: 99999;
    width: 100% !important;
    height: 5rem;
    top: 0;
    left: 0;
    font-weight: bolder;
    /* 统一过渡设置 */
    transition: background-color 0.8s ease 0.8s;
}

/* 悬停时的样式 */
.myMeun:hover {
    background-color: white !important; /* 浅色背景 */
    transition-delay: 0.1s; /* 鼠标进入时不延迟 */
    color: black;
    
}
.myMeun:hover h1{
    
    color: black !important;
    
}
.myMeun:hover a{
    
    color: black !important;
    
}
.myMeun:hover button{
    
   background-color: white !important;
    
}
.myMeun:hover button svg{
    
    color: black !important;
    
}

/* 鼠标离开时，恢复初始样式，带过渡动画 */
.myMeun:not(:hover) {
    background-color:  rgba(1, 1, 1, 0.8) !important;
    transition-delay: 0.1s;
    color: white;
    
}

.hidden{
    display: none;

}
.shopNowBt{
    
}
.shopNowBt a{
    /* border: none !important;
    background-color: blue !important; 
    color: white !important; */
}
/* 搜索按钮 */
.wp-block-search__button{
    padding-left: 0px !important;
    padding-right: 0px !important;
    padding-top: 0px !important; 
     padding-bottom: 0px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0px !important;
    background-color: rgba(1, 1, 1, 0) !important;
}
/*购物车*/
.wc-block-mini-cart__button {
    padding-left: 0px !important;
    padding-right: 0px !important;
    padding-top: 0px !important; 
    padding-bottom: 0px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0px !important;
    background-color: rgba(1, 1, 1, 0) !important;
}
/* #colophon{
    display: none;
} */