/* WhatsApp hover 容器样式 */
.whatsapp-hover-container {
    position: relative;
    display: inline-block; /* 保持行内块级，不影响原有布局 */
}

/* 四个WhatsApp子元素容器 - 默认隐藏 */
.whatsapp-hover-items {
    position: absolute;
    right: 100%; /* 定位到主图标左侧 */
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 8px; /* 图标之间的间距 */
    padding-right: 10px; /* 与主图标保持间距 */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease; /* 平滑过渡效果 */
    z-index: 999; /* 确保显示在最上层 */
}

/* 鼠标滑过主容器时显示子元素 */
.whatsapp-hover-container:hover .whatsapp-hover-items {
    opacity: 1;
    visibility: visible;
}

/* 子元素中每个WhatsApp图标样式 */
.whatsapp-hover-items a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #666666; /* WhatsApp品牌绿色 */
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.2s ease;
}

/* 子图标hover效果 */
.whatsapp-hover-items a:hover {
    background-color: #128C7E;
    transform: scale(1.1); /* 轻微放大效果 */
}

/* 主WhatsApp图标样式优化（可选） */
.whatsapp-hover-container > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #666666;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.2s ease;
}

.whatsapp-hover-container > a:hover {
    background-color: #128C7E;
}

/* 确保iconfont图标居中显示 */
.whatsapp-hover-container .icon-whatsapp1 {
    font-size: 18px;
}
/* 核心：hover时显示号码列表 */
.c2:hover .whatsapp-number-list {
    opacity: 1 !important;
    visibility: visible !important;
}

/* 号码文本hover样式优化 */
.whatsapp-number-list a:hover {
    background-color: #666666 !important;
    color: #fff !important;
    transform: translateX(-3px) !important;
    transition: all 0.2s ease !important;
}

/* 修复主图标hover效果 */
.c2 > a:hover {
    background-color: #128C7E !important;
    transition: all 0.2s ease !important;
}
/* 核心：hover主图标时显示左侧号码列表 */
.c2:hover .whatsapp-number-list {
    opacity: 1 !important;
    visibility: visible !important;
}

/* 主图标hover样式优化（不改变原有图标） */
.c2 > a:hover {
    background-color: #128C7E !important;
    transition: all 0.2s ease !important;
}

/* 号码文本hover效果 */
.whatsapp-number-list a:hover {
    background-color: #666666 !important;
    color: #fff !important;
    transform: translateX(-3px) !important;
    transition: all 0.2s ease !important;
}

/* 兼容原有iconfont样式，确保图标显示正常 */
.c2 .iconfont {
    font-size: inherit !important;
    line-height: 1 !important;
}
/* 1. 核心 hover 逻辑 */
.c2:hover .whatsapp-number-list {
    opacity: 1 !important;
    visibility: visible !important;
}

/* ---------------------------------------------------------------
   原站分类页内联的那段样式（Read More 胶囊按钮）。
   原站把它写在 <style> 里随页面下发，这里并入统一样式表以便缓存。
   --------------------------------------------------------------- */
.pro1-top { padding-bottom: 20px; margin-top: 40px; }
.more_btn {
    width: 170px; cursor: pointer; height: 40px; line-height: 40px;
    -moz-border-radius: 20px; border-radius: 20px;
    font-size: 16px; text-align: center;
    background-color: #46a8ae; color: #FFFFFF;
    margin-top: 20px; margin-bottom: 20px;
}
.more_span1 { color: #fff; display: block; width: 100%; height: 40px; }

/* ---------------------------------------------------------------
   首页 Product Categories 卡片优化：圆角 + 图片占满 + 阴影
   --------------------------------------------------------------- */
.i-pro-kuang {
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.i-pro-kuang:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.i-pro-img {
    display: block !important;
    text-align: center !important;
    line-height: 0;
}
.i-pro-img img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
}
.ipro-title {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.ipro-view {
    color: rgba(255,255,255,0.85) !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.ipro-jiantou i {
    border-color: rgba(255,255,255,0.7) !important;
    color: #fff !important;
}

/* 整个分类卡片可点击：覆盖层穿透，只有链接可点 */
.ipro-flex {
    pointer-events: none;
}
.ipro-flex a {
    pointer-events: auto;
}

/* ---------------------------------------------------------------
   全站产品卡片圆角 + 精致化
   --------------------------------------------------------------- */
/* Our Jewelry 轮播 */
.ihot-img-kuang,
.ihotswiper-left a,
.ihotws-ri-topkuang a {
    border-radius: 8px;
    overflow: hidden;
}
.ihot-img-kuang {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* Promotional Products 轮播 */
.relsw-img {
    border-radius: 8px;
    overflow: hidden;
    display: block;
}
.relsw-img img {
    border-radius: 8px;
}
.relsw-title {
    border-radius: 6px;
}

/* 新闻卡片 */
.the-la-in-kuang {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease;
}
.the-la-in-kuang:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}
.the-index-img img {
    border-radius: 8px 8px 0 0;
}

/* 产品列表页卡片 */
.pro-img-kuang,
.pro-item,
.product-item {
    border-radius: 8px !important;
    overflow: hidden;
}

/* 全局图片容器圆角统一 */
img {
    border-radius: 2px;
}

/* 按钮圆角 */
.indexcontact,
.more_btn,
.subser,
.tj-dbu {
    border-radius: 25px !important;
}

/* 分类卡片 hover 时图片微放大 */
.i-pro-img img {
    transition: transform 0.4s ease;
}
.i-pro-kuang:hover .i-pro-img img {
    transform: scale(1.05);
}

/* ---------------------------------------------------------------
   内页：分类列表页 / 产品详情页 全站圆角美化
   --------------------------------------------------------------- */

/* 分类横幅 */
.cp-le-img,
.cp-le-img img {
    border-radius: 10px;
    overflow: hidden;
}

/* 产品卡片 */
.cp-right-kuang {
    border-radius: 10px !important;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cp-right-kuang:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}
.cp-ri-img-kuang,
.cp-ri-img {
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    display: block;
}
.cp-ri-img img {
    border-radius: 10px 10px 0 0;
    transition: transform 0.4s ease;
}
.cp-right-kuang:hover .cp-ri-img img {
    transform: scale(1.05);
}

/* Inquire Now 按钮 */
.inquire-cp {
    border-radius: 20px !important;
    padding: 6px 18px !important;
    display: inline-block;
    transition: all 0.3s ease;
}
.inquire-cp:hover {
    opacity: 0.85;
}

/* 卡片底部 checkbox + Inquire Now 布局 */
.cp-inqu {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 16px 16px !important;
}
.cp-inqu input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #46a8ae;
    cursor: pointer;
    margin: 0;
}
.cp-inqu .inquire-cp {
    margin: 0 !important;
}

/* Add to Inquiry List 按钮 */
.add-btn {
    border-radius: 25px !important;
    padding: 12px 36px !important;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: opacity 0.3s ease;
}
.add-btn:hover {
    opacity: 0.85;
}

/* 分页按钮 */
.page a,
.page .page-active {
    border-radius: 6px !important;
    margin: 0 3px;
    display: inline-block;
}

/* 面包屑 */
.crumb-mid {
    border-radius: 8px;
    padding: 10px 16px;
    background: #f8f8f8;
    margin-bottom: 20px;
}

/* Read More 按钮 */
.pro1-top .more_btn {
    border-radius: 25px !important;
}

/* 左侧 sidebar 美化 */
.cp-left,
.cp-left .cp-left-kuang,
.sidebar,
.sidebar .widget {
    border-radius: 10px;
    overflow: hidden;
}

/* 产品详情页 */
.pro-detail-img,
.pro-detail-kuang,
.pro-info-kuang,
.pro-thumb-list {
    border-radius: 10px;
    overflow: hidden;
}
.pro-detail-img img,
.pro-thumb-list img {
    border-radius: 8px;
}

/* 表单输入框圆角 */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
    border-radius: 6px !important;
}

/* 全局卡片统一阴影 */
.cp-right-kuang,
.the-la-in-kuang,
.i-pro-kuang {
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
