/* ================================
   精品推荐横幅
   ================================ */

.zm-hero-banner {
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
    min-height: 260px;
    margin-bottom: 20px;
}

/* ---- 左侧 ---- */
.zm-hb-left {
    position: relative;
    flex: 1 1 55%;
    min-width: 0;
    padding: 30px 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #f8f9fa;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    z-index: 1;
}
.zm-hb-left-content { position: relative; z-index: 2; }
.zm-hb-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.4;
    color: #333;
    margin: 0 0 8px;
    max-width: 280px;
    word-break: break-all;
}
.zm-hb-subtitle {
    font-size: 13px;
    color: #999;
    margin: 0;
    letter-spacing: .5px;
}

/* 装饰图标 */
.zm-hb-decor {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.zm-hb-icon {
    position: absolute;
    font-size: 32px;
    opacity: .12;
    filter: grayscale(.3);
    animation: zm-hb-float 6s ease-in-out infinite;
    animation-delay: calc(var(--i) * -.8s);
}
.zm-hb-icon:nth-child(1) { top: 8%; right: 5%; font-size: 40px; }
.zm-hb-icon:nth-child(2) { top: 5%; right: 28%; font-size: 36px; }
.zm-hb-icon:nth-child(3) { top: 30%; right: 12%; font-size: 44px; }
.zm-hb-icon:nth-child(4) { top: 25%; right: 38%; font-size: 30px; }
.zm-hb-icon:nth-child(5) { top: 50%; right: 5%; font-size: 28px; }
.zm-hb-icon:nth-child(6) { top: 55%; right: 30%; font-size: 38px; }
.zm-hb-icon:nth-child(7) { top: 15%; right: 50%; font-size: 26px; }
.zm-hb-icon:nth-child(8) { top: 45%; right: 48%; font-size: 34px; }
@keyframes zm-hb-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(5deg); }
}

/* 底部按钮 */
.zm-hb-buttons {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
}
.zm-hb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 8px;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all .3s ease;
    white-space: nowrap;
    min-width: 100px;
}
.zm-hb-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    color: #fff !important;
}
.zm-hb-btn-0 { background: linear-gradient(135deg, #43e9b3, #36d1a8); }
.zm-hb-btn-1 { background: linear-gradient(135deg, #5ee7cd, #43d9bc); }
.zm-hb-btn-2 { background: linear-gradient(135deg, #7eecd8, #5ee7cd); }
.zm-hb-btn-0:hover { background: linear-gradient(135deg, #36d1a8, #2bc09a); }
.zm-hb-btn-1:hover { background: linear-gradient(135deg, #43d9bc, #36cdb0); }
.zm-hb-btn-2:hover { background: linear-gradient(135deg, #5ee7cd, #4dddc2); }

/* ---- 右侧轮播 ---- */
.zm-hb-right {
    position: relative;
    flex: 0 0 42%;
    min-height: 260px;
    overflow: hidden;
}
.zm-hb-slider {
    position: relative;
    width: 100%;
    height: 100%;
}
.zm-hb-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity .6s ease;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 20px;
}
.zm-hb-slide.active { opacity: 1; z-index: 1; }

/* 轮播图上的按钮 */
.zm-hb-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, #43e9b3, #36d1a8);
    color: #fff !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
    transition: all .3s ease;
    box-shadow: 0 2px 10px rgba(67, 233, 179, .3);
    white-space: nowrap;
    position: relative;
    z-index: 2;
}
.zm-hb-slide-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(67, 233, 179, .4);
    color: #fff !important;
}
.zm-hb-slide-btn i { font-size: 12px; }

/* 轮播圆点 */
.zm-hb-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}
.zm-hb-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    cursor: pointer;
    transition: all .3s ease;
}
.zm-hb-dot.active {
    background: #fff;
    width: 20px;
    border-radius: 4px;
}

/* ---- 暗黑模式 ---- */
.dark-theme .zm-hb-left { background-color: var(--main-bg-color, #1e1e2e); }
.dark-theme .zm-hb-title { color: var(--body-color, #e0e0e0); }
.dark-theme .zm-hb-subtitle { color: var(--muted-2-color, #888); }
.dark-theme .zm-hero-banner { background: var(--main-bg-color, #1e1e2e); box-shadow: 0 4px 20px rgba(0, 0, 0, .2); }
.dark-theme .zm-hb-icon { opacity: .08; }

/* ---- 响应式 ---- */
@media (max-width: 768px) {
    .zm-hero-banner {
        flex-direction: column;
        min-height: auto;
    }
    .zm-hb-left {
        padding: 20px;
        min-height: 180px;
    }
    .zm-hb-title { font-size: 22px; max-width: 200px; }
    .zm-hb-buttons { gap: 8px; flex-wrap: wrap; }
    .zm-hb-btn { padding: 8px 16px; font-size: 12px; min-width: 80px; }
    .zm-hb-right {
        flex: 0 0 auto;
        min-height: 180px;
    }
    .zm-hb-icon:nth-child(n+6) { display: none; }
}
