/* 锚点定位偏移（解决导航栏遮挡） */
:target {
    scroll-margin-top: 80px;
}

.customer-service {
    position: fixed;
    right: 20px;
    bottom: 50px;
    z-index: 9998 !important;
    /* 低于标题栏的9999 */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-img {
    width: 48px;
    height: 48px;
    border-radius: 50% !important;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    border: 2px solid #fff;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-img:hover {
    transform: scale(1.05);
}

.service-tooltip {
    position: absolute;
    right: 60px;
    bottom: 0;
    background-color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
}

.service-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid #fff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.customer-service:hover .service-tooltip {
    opacity: 1;
    visibility: visible;
    right: 70px;
}

.tooltip-time {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.4;
}

.tooltip-btn {
    display: block;
    width: 100%;
    background-color: #165DFF;
    color: #fff;
    text-align: center;
    padding: 8px 0;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.tooltip-btn:hover {
    background-color: #0F52D9;
}

/* ========== solution.html 专属：标题栏样式（对齐product.html） ========== */
/* 1. PC端搜索按钮（白色背景标题栏） */
header.sticky #searchBtn {
    color: #1D2129 !important;
    /* 默认黑色 */
    background: transparent !important;
}

header.sticky #searchBtn:hover {
    color: #165DFF !important;
    /* hover变蓝色 */
    background: rgba(22, 93, 255, 0.05) !important;
}

header.sticky #searchBtn i,
header.sticky #searchBtn span {
    color: inherit !important;
}

/* 2. 移动端菜单按钮（汉堡图标） */
header.sticky #mobileMenuBtn {
    color: #1D2129 !important;
    /* 默认黑色 */
}

header.sticky #mobileMenuBtn:hover {
    color: #165DFF !important;
}

header.sticky #mobileMenuBtn i {
    color: inherit !important;
}

/* 3. 移动端菜单内的搜索按钮 */
#mobileMenu #mobileSearchBtn {
    color: #1D2129 !important;
    /* 默认黑色 */
}

#mobileMenu #mobileSearchBtn:hover {
    color: #165DFF !important;
}

#mobileMenu #mobileSearchBtn i,
#mobileMenu #mobileSearchBtn span {
    color: inherit !important;
}