/* Banner导航增强 - 左右箭头和数字指示点 v1.4 */

/* 确保Swiper容器有正确的定位 */
.mySwiper1 {
    position: relative !important;
}

/* 确保.bx不会遮挡导航按钮 */
.banner .bx {
    pointer-events: none !important;
}

.banner .bx * {
    pointer-events: auto !important;
}

/* 左右箭头按钮 */
.mySwiper1 .swiper-button-prev,
.mySwiper1 .swiper-button-next {
    width: 50px !important;
    height: 50px !important;
    background: rgba(212, 175, 55, 0.9) !important;
    border-radius: 50% !important;
    color: white !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    z-index: 1000 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-top: 0 !important;
}

.mySwiper1 .swiper-button-prev:hover,
.mySwiper1 .swiper-button-next:hover {
    background: rgba(212, 175, 55, 1) !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4) !important;
}

.mySwiper1 .swiper-button-prev::after,
.mySwiper1 .swiper-button-next::after {
    font-size: 20px !important;
    font-weight: bold !important;
    color: white !important;
}

/* 左箭头位置 */
.mySwiper1 .swiper-button-prev {
    left: 20px !important;
    right: auto !important;
}

/* 右箭头位置 */
.mySwiper1 .swiper-button-next {
    right: 20px !important;
    left: auto !important;
}

/* 禁用状态 */
.mySwiper1 .swiper-button-disabled {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
    pointer-events: auto !important;
}

/* 数字指示点容器 */
.mySwiper1 .swiper-pagination {
    bottom: 20px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
}

/* 数字指示点样式 */
.mySwiper1 .swiper-pagination-bullet {
    width: 28px !important;
    height: 28px !important;
    background: rgba(44, 44, 44, 0.7) !important;
    border: 1.5px solid rgba(212, 175, 55, 0.5) !important;
    border-radius: 50% !important;
    opacity: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

/* 数字指示点悬停效果 */
.mySwiper1 .swiper-pagination-bullet:hover {
    background: rgba(212, 175, 55, 0.6) !important;
    border-color: rgba(212, 175, 55, 1) !important;
    transform: scale(1.1) !important;
}

/* 激活的数字指示点 */
.mySwiper1 .swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #D4AF37, #B8860B) !important;
    border-color: #D4AF37 !important;
    color: #FFFFFF !important;
    transform: scale(1.15) !important;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.6) !important;
}

/* 移动端适配 */
@media (max-width: 768px) {
    /* 箭头按钮 */
    .mySwiper1 .swiper-button-prev,
    .mySwiper1 .swiper-button-next {
        width: 40px !important;
        height: 40px !important;
    }

    .mySwiper1 .swiper-button-prev::after,
    .mySwiper1 .swiper-button-next::after {
        font-size: 16px !important;
    }

    .mySwiper1 .swiper-button-prev {
        left: 10px !important;
    }

    .mySwiper1 .swiper-button-next {
        right: 10px !important;
    }

    /* 数字指示点 */
    .mySwiper1 .swiper-pagination {
        bottom: 15px !important;
        gap: 5px !important;
    }

    .mySwiper1 .swiper-pagination-bullet {
        width: 24px !important;
        height: 24px !important;
        font-size: 11px !important;
        border-width: 1.5px !important;
    }

    .mySwiper1 .swiper-pagination-bullet-active {
        transform: scale(1.1) !important;
    }
}

/* 小屏幕手机适配 */
@media (max-width: 480px) {
    .mySwiper1 .swiper-button-prev,
    .mySwiper1 .swiper-button-next {
        width: 35px !important;
        height: 35px !important;
    }

    .mySwiper1 .swiper-button-prev::after,
    .mySwiper1 .swiper-button-next::after {
        font-size: 14px !important;
    }

    .mySwiper1 .swiper-pagination-bullet {
        width: 22px !important;
        height: 22px !important;
        font-size: 10px !important;
    }
}
