﻿ 
/* 基础品牌项样式 */
.index-brand-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.index-brand-item {
    position: relative;
    height: 100%;
    width: 25% !important;
    transition: all 0.5s ease;
    overflow: hidden;
    flex-shrink: 1;
    flex-grow: 1;
}


/* 鼠标悬停效果 */
.index-brand-item:hover {
    width: 31% !important;
    z-index: 2;
}


.index-brand-item.active {
    width: 40% !important; /* 调整为40%宽度 */
    z-index: 10;
    left: 0; /* 确保靠左 */
}

/* 非激活状态 */
.index-brand-wrapper.has-active .index-brand-item:not(.active) {
    width: 2% !important;
}

/* 信息面板样式 */
.info-panel {
    position: absolute;
    top: 0;
    right: -800px;
    width: 800px;
    height: 100%;
    background: #ffffff;
    transition: right 0.5s ease;
    z-index: 5; /* 确保在图片下方 */
}
        .info-content {
            height: 100%;
            overflow-y: auto; /* 添加滚动条以防内容过多 */
            padding-right: 10px;
        }

.index-brand-item.active .info-panel {
    right: 0;
}

/* 关闭按钮样式 */
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f0f0f0; /* 浅灰色背景 */
    border: none;
    color: #666; /* 深灰色文字 */
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #e0e0e0; /* 悬停时加深 */
    color: #333;
}

    /* INQ按钮样式 - 修改为在所属div框的右下角 */
   .intrs {
       display:none;
        position: relative; /* 为按钮定位提供参考 */
        width: 100%;
        margin: 20px;
        padding-top: 30px;
        padding: 50px;
        min-height: 60px; /* 确保有足够的高度 */
    }
    
    .intrs .inq-button {
        position: absolute;
        top: 15px;
        right: 25px;
        width: 50px;
        height: 50px;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        z-index: 20;
        border: none;
        backdrop-filter: blur(5px);
    }
    
    .intrs .inq-button:hover {
        transform: scale(1.05);
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    }
    
    .intrs .inq-button:active {
        transform: scale(0.98);
    }
    
    .inq-text {
        font-weight: bold;
        color: #2c3e50;
        font-size: 1rem;
    }
