/* 轮播容器：相对定位，作为箭头/圆点的定位基准 */
.single-item-contents.owl-carousel.owl-theme {
    position: relative;
    padding: 0 !important; /* 清空内边距，避免遮挡 */
    margin-bottom: 30px !important; /* 给圆点留出空间 */
}

/* ========== 箭头美化 ========== */
/* 左箭头：胶囊形状 + 渐变背景 + hover动效 */
.single-item-contents .custom-carousel-prev {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    /* 胶囊形状：圆角设为高度的一半，比纯圆形更精致 */
    border-radius: 24px;
    /* 渐变背景：深灰到浅灰，比纯色更有层次感 */
    background: linear-gradient(135deg, #2d2d2d 0%, #4a4a4a 100%);
    color: #ffffff;
    border: none;
    outline: none;
    cursor: pointer;
    z-index: 10;
    font-size: 22px;
    /* 图标居中 */
    display: flex;
    align-items: center;
    justify-content: center;
    /* 轻微阴影，提升立体感 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    /* hover过渡动画 */
    transition: all 0.3s ease;
    /* 强制生效 */
    margin: 0 !important;
}

/* 右箭头：和左箭头样式统一 */
.single-item-contents .custom-carousel-next {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 24px;
    background: linear-gradient(135deg, #2d2d2d 0%, #4a4a4a 100%);
    color: #ffffff;
    border: none;
    outline: none;
    cursor: pointer;
    z-index: 10;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    margin: 0 !important;
}

/* 箭头hover效果：背景反色 + 轻微放大 */
.single-item-contents .custom-carousel-prev:hover,
.single-item-contents .custom-carousel-next:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    color: #2d2d2d;
    transform: translateY(-50%) scale(1.05); /* 垂直居中不变 + 轻微放大 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* ========== 小圆点定位 + 美化 ========== */
/* 圆点容器：水平居中 + 底部10px */
.single-item-contents .owl-dots {
    position: absolute;
    left: 50%; /* 水平居中第一步 */
    transform: translateX(-50%); /* 水平居中第二步 */
    bottom: 10px; /* 距离底部10px */
    width: auto !important;
    margin: 0 !important; /* 清除默认margin */
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.5); /* 半透明背景，提升可读性 */
    border-radius: 15px; /* 圆角背景，更美观 */
    z-index: 9; /* 低于箭头，高于轮播图 */
}

/* 单个圆点样式美化 */
.single-item-contents .owl-dot {
    width: 10px !important;
    height: 10px !important;
    margin: 0 6px !important; /* 圆点间距，避免太挤 */
    border-radius: 50%; /* 圆形 */
    background: #ffffff80 !important; /* 浅白色半透明 */
    border: none !important;
    outline: none !important;
    transition: all 0.2s ease;
}

/* 激活态圆点样式 */
.single-item-contents .owl-dot.active {
    background: #ffffff !important; /* 纯白色，突出激活态 */
    transform: scale(1.2); /* 轻微放大，更醒目 */
}

/* ========== 移动端适配 ========== */
@media (max-width: 768px) {
    /* 移动端箭头缩小 */
    .single-item-contents .custom-carousel-prev,
    .single-item-contents .custom-carousel-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
        left: 5px !important;
        right: 5px !important;
    }
    /* 移动端圆点缩小 */
    .single-item-contents .owl-dot {
        width: 8px !important;
        height: 8px !important;
        margin: 0 4px !important;
    }
    /* 移动端圆点容器背景更浅 */
    .single-item-contents .owl-dots {
        bottom: 8px !important;
        padding: 4px 8px;
        background: rgba(0, 0, 0, 0.4);
    }
}