/* 定制产品模块 */
.index-custom-product {
    background: #f8f9fa;
}

.index-custom-container {
    display: flex;
    align-items: center;
    gap: 6rem;
    padding: 0 2rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* 左侧轮播图 */
.index-custom-left {
    flex: 0 0 50%;
    max-width: 500px;
}

.index-custom-swiper {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    background: transparent;
}

.index-custom-swiper .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
}

/* 强制所有层级取消白色背景 */
.index-custom-swiper,
.index-custom-swiper .swiper-wrapper,
.index-custom-swiper .swiper-slide,
.index-custom-swiper .pic {
    background-color: transparent !important;
}

.index-custom-swiper .pic {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-color: transparent;
}

.index-custom-swiper .swiper-button-prev,
.index-custom-swiper .swiper-button-next {
    width: 45px;
    height: 45px;
    background: transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: none;
}

.index-custom-swiper .swiper-button-prev:hover,
.index-custom-swiper .swiper-button-next:hover {
    background: transparent;
    box-shadow: none;
}

.index-custom-swiper .swiper-button-prev::after,
.index-custom-swiper .swiper-button-next::after {
    font-size: 18px;
    font-weight: bold;
    color: #0863c4;
    transition: all 0.3s ease;
}

.index-custom-swiper .swiper-button-prev:hover::after,
.index-custom-swiper .swiper-button-next:hover::after {
    color: #0863c4;
}

.index-custom-swiper .swiper-pagination {
    position: relative;
    bottom: 0;
    margin-top: 20px;
}

.index-custom-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #d0d0d0;
    opacity: 1;
    transition: all 0.3s ease;
}

.index-custom-swiper .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 4px;
    background: #0863c4;
}

/* 右侧内容 */
.index-custom-right {
    flex: 1;
}

.index-custom-title h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2.5rem;
    line-height: 1.3;
}

.index-custom-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.index-custom-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 0;
    background: none;
    border-radius: 0;
    transition: all 0.3s ease;
    box-shadow: none;
}

.index-custom-item:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.index-custom-item-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.index-custom-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.index-custom-item-icon svg {
    width: 56px;
    height: 56px;
}

.index-custom-item-content {
    flex: 1;
}

.index-custom-item-content h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.index-custom-item-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.index-custom-button a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2.5rem;
    background: #0863c4;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.index-custom-button a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #34C759;
    transition: all 0.4s ease;
    z-index: -1;
}

.index-custom-button a:hover::before {
    left: 0;
}

.index-custom-button a:hover {
    color: #fff;
    transform: translateX(5px);
}

.index-custom-button svg {
    transition: all 0.3s ease;
}

.index-custom-button a:hover svg {
    transform: translateX(5px);
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
    .index-custom-container {
        gap: 2rem;
    }
    
    .index-custom-title h2 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 960px) {
    .index-custom-container {
        flex-direction: column;
        gap: 1.25rem;
    }
    
    .index-custom-left {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .index-custom-swiper .swiper-slide {
        padding: 0;
    }
    .index-custom-swiper .pic {
        height: 420px;
    }
    .index-custom-swiper .swiper-pagination {
        margin-top: 8px;
    }
    
    .index-custom-title {
        text-align: center;
    }
    .index-custom-title h2 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .index-custom-items {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
}

@media screen and (max-width: 640px) {
    .index-custom-items{ 
        align-items: center;
    }
    .index-custom-title {
        text-align: center;
    }
    .index-custom-title h2 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .index-custom-item {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }
    
    .index-custom-item-icon {
        margin: 0 auto;
    }
    .index-custom-item-content{
        width: 100%;
        text-align: center;
    }
    .index-custom-item-content h3,
    .index-custom-item-content p{
        text-align: center;
    }
    
    .index-custom-button {
        text-align: center;
    }
    
    .index-custom-button a {
        width: 100%;
        justify-content: center;
    }
}
