/* 修正后的 index-style.css */
.float-tel-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    background: linear-gradient(135deg, 
        rgba(244, 163, 0, 0.9) 0%, 
        rgba(224, 143, 0, 0.85) 30%,
        rgba(204, 123, 0, 0.8) 70%,
        rgba(184, 103, 0, 0.75) 100%);
    color: white;
    text-align: center;
    box-shadow: 
        -2px 0 10px rgba(0, 0, 0, 0.15),
        0 0 20px rgba(244, 163, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 25px 0 0 25px;
    padding: 12px 15px 12px 20px;
    min-width: 170px;
    font-weight: 600;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-left: 2px solid rgba(255, 165, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.float-tel-btn:hover {
    background: linear-gradient(135deg, 
        rgba(254, 183, 0, 0.95) 0%, 
        rgba(234, 163, 0, 0.9) 30%,
        rgba(214, 143, 0, 0.85) 70%,
        rgba(194, 123, 0, 0.8) 100%);
    transform: translateY(-50%) translateX(-5px);
    min-width: 175px;
    box-shadow: 
        -3px 0 15px rgba(0, 0, 0, 0.2),
        0 0 25px rgba(244, 163, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    color: #fff;
}

.float-tel-btn:active {
    transform: translateY(-50%) translateX(-3px) scale(0.98);
}

.float-tel-btn .tel-icon {
    width: 28px;
    height: 28px;
    margin-right: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
}

.float-tel-btn:hover .tel-icon {
    transform: scale(1.1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFA500'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
}

.float-tel-btn .tel-text {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.float-tel-btn .tel-text span {
    display: block;
    font-size: 12px;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes subtleGlow {
    0% {
        box-shadow: 
            -2px 0 10px rgba(0, 0, 0, 0.15),
            0 0 20px rgba(244, 163, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 
            -2px 0 10px rgba(0, 0, 0, 0.15),
            0 0 25px rgba(244, 163, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    100% {
        box-shadow: 
            -2px 0 10px rgba(0, 0, 0, 0.15),
            0 0 20px rgba(244, 163, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

.float-tel-btn {
    animation: subtleGlow 3s infinite;
}

.product {
    margin-bottom: 0;
}

.product + .product {
    margin-top: 0;
}

.search {
    margin: 0 auto;
    padding: 0 0%;
    width: 83%;
    box-sizing: border-box;
}

.search .inner {
    width: 100%;
    margin: 0;
    padding: 0;
}

.bd .search {
    margin-top: 0;
    margin-bottom: 0;
}

/* 错误消息样式 */
.error-message {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 10px;
    margin: 10px;
    border-radius: 4px;
    font-size: 12px;
    display: none; /* 默认隐藏，需要时可设置为block */
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #f4a300;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 波纹效果 */
.ripple {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

@media screen and (max-width: 768px) {
    .float-tel-btn {
        min-width: 150px;
        padding: 10px 12px 10px 16px;
        border-radius: 22px 0 0 22px;
    }
    
    .float-tel-btn .tel-icon {
        width: 24px;
        height: 24px;
        margin-right: 10px;
    }
    
    .float-tel-btn .tel-text {
        font-size: 15px;
    }
    
    .float-tel-btn .tel-text span {
        font-size: 11px;
    }
}

@media screen and (max-width: 480px) {
    .float-tel-btn {
        min-width: 135px;
        padding: 9px 10px 9px 14px;
        border-radius: 20px 0 0 20px;
    }
    
    .float-tel-btn .tel-icon {
        width: 22px;
        height: 22px;
        margin-right: 8px;
    }
    
    .float-tel-btn .tel-text {
        font-size: 14px;
    }
    
    .float-tel-btn .tel-text span {
        font-size: 10px;
    }
}

@media screen and (max-width: 360px) {
    .float-tel-btn {
        min-width: 125px;
        padding: 8px 9px 8px 12px;
    }
    
    .float-tel-btn .tel-icon {
        width: 20px;
        height: 20px;
        margin-right: 7px;
    }
    
    .float-tel-btn .tel-text {
        font-size: 13px;
    }
    
    .float-tel-btn .tel-text span {
        font-size: 9px;
    }
}