/* Homepage carousel */
.home-page .home-main {
    width: 100%;
    flex: 1;
    padding: 0;
}

.home-banner {
    position: relative;
    width: 100%;
    background: #111;
    overflow: hidden;
}

.home-banner-track {
    position: relative;
    width: 100%;
    min-height: 72vh;
}

.home-banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.home-banner-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.home-banner-link {
    display: block;
    width: 100%;
    line-height: 0;
}

.home-banner-link img {
    width: 100%;
    height: auto;
    min-height: 72vh;
    max-height: 88vh;
    object-fit: cover;
    object-position: center;
    display: block;
    background: #1a1a1a;
}

.home-banner-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 48px;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    pointer-events: none;
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.65);
}

.home-banner-caption h2 {
    margin: 0 0 8px;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #111;
}

.home-banner-caption p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

.home-banner-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    flex-wrap: wrap;
}

.home-banner-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(80, 80, 80, 0.35);
    cursor: pointer;
}

.home-banner-dot.is-active {
    width: 9px;
    height: 9px;
    background: rgba(40, 40, 40, 0.85);
}

/* 轮播下方：图片 + 两个视频块 */
.home-media {
    width: 100%;
    background: #fff;
    padding: 12px 0 28px;
}

.home-media-block {
    position: relative;
    width: 100%;
    margin: 0 0 12px;
    overflow: hidden;
    background: #111;
    line-height: 0;
}

.home-media-block:last-child {
    margin-bottom: 0;
}

.home-media-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.home-media-video {
    min-height: 220px;
}

.home-media-video video {
    width: 100%;
    height: auto;
    min-height: 220px;
    max-height: 70vh;
    object-fit: cover;
    display: block;
    pointer-events: none;
    background: #111;
}

.home-media-caption {
    position: absolute;
    left: 0;
    right: 0;
    top: 14%;
    z-index: 2;
    text-align: center;
    padding: 0 16px;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.home-media-caption em {
    font-style: normal;
    color: #c9b6ff;
}

.home-watch-btn {
    position: absolute;
    left: 50%;
    top: calc(50% + 38px);
    transform: translate(-50%, -50%);
    z-index: 2;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    background: linear-gradient(90deg, #f06ad6 0%, #8b4dff 100%);
    box-shadow: 0 6px 20px rgba(139, 77, 255, 0.35);
}

.home-watch-play {
    width: 11px;
    height: 13px;
    display: block;
    flex-shrink: 0;
}

.home-video-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.home-video-modal[hidden] {
    display: none !important;
}

.home-video-dialog {
    position: relative;
    width: 100%;
    max-width: 720px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.home-video-dialog video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    display: block;
    background: #000;
}

.home-video-close {
    position: absolute;
    top: 8px;
    right: 10px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

/* 商品展示 */
.home-products {
    width: 100%;
    background: #fff;
    padding: 36px 0 28px;
}

.home-products-head {
    text-align: center;
    padding: 0 20px;
    margin-bottom: 28px;
}

.home-products-head h2 {
    margin: 0 0 10px;
    font-size: 24px;
   
    color: #111;
    
}

.home-products-more {
    display: inline-block;
    color: #222;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
}

.home-products-viewport {
    overflow: hidden;
    width: 100%;
}

.home-products-track {
    display: flex;
    gap: 14px;
    padding: 0 16px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.home-products-track::-webkit-scrollbar {
    display: none;
}

.home-product-card {
    flex: 0 0 42%;
    max-width: 220px;
    scroll-snap-align: start;
}

.home-product-media {
    background: #f3f3f3;
    border-radius: 14px;
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 18px 14px;
}

.home-product-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.home-product-placeholder {
    color: #999;
    font-size: 13px;
    text-align: center;
    padding: 12px;
    word-break: break-word;
}

.home-product-name {
    margin: 14px 4px 0;
    font-size: 14px;
    font-weight: 400;
    color: #111;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.35;
}

.home-products-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    padding: 18px 16px 0;
}

.home-products-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(80, 80, 80, 0.28);
    cursor: pointer;
}

.home-products-dot.is-active {
    background: rgba(40, 40, 40, 0.75);
}

.home-section-title {
    margin: 0 0 16px;
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    color: #111;
}

/* Go Beyond 双图轮播 */
.home-beyond {
    width: 100%;
    background: #fff;
    padding: 8px 16px 28px;
}

.home-beyond-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
}

.home-beyond-track {
    position: relative;
    width: 100%;
}

.home-beyond-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.home-beyond-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.home-beyond-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.home-beyond-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding: 16px 0 0;
}

.home-beyond-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(80, 80, 80, 0.28);
    cursor: pointer;
}

.home-beyond-dot.is-active {
    background: rgba(40, 40, 40, 0.75);
}

/* Explore 三图轮播 */
.home-explore {
    width: 100%;
    background: #fff;
    padding: 8px 16px 28px;
}

.home-explore-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
}

.home-explore-track {
    position: relative;
    width: 100%;
}

.home-explore-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.home-explore-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.home-explore-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.home-explore-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding: 16px 0 0;
}

.home-explore-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(80, 80, 80, 0.28);
    cursor: pointer;
}

.home-explore-dot.is-active {
    background: rgba(40, 40, 40, 0.75);
}

@media (min-width: 768px) {
    .home-banner-track {
        min-height: 600px;
    }
    .home-banner-link img {
        min-height: 600px;
        max-height: 720px;
    }
    .home-banner-caption h2 {
        font-size: 48px;
    }
    .home-banner-caption p {
        font-size: 20px;
    }
    .home-media {
        padding: 16px 0 36px;
    }
    .home-media-block {
        margin-bottom: 16px;
    }
    .home-media-video {
        min-height: 360px;
    }
    .home-media-video video {
        min-height: 360px;
    }
    .home-media-caption {
        font-size: 32px;
        top: 16%;
    }
    .home-watch-btn {
        padding: 14px 28px;
        font-size: 16px;
    }
    .home-products {
        padding: 48px 0 40px;
    }
    .home-products-head {
        margin-bottom: 36px;
    }
    .home-products-head h2 {
        font-size: 34px;
    }
    .home-products-track {
        gap: 20px;
        padding: 0 28px 10px;
    }
    .home-product-card {
        flex: 0 0 220px;
        max-width: 240px;
    }
    .home-product-name {
        font-size: 15px;
        margin-top: 16px;
    }
    .home-section-title {
        font-size: 32px;
        margin-bottom: 22px;
    }
    .home-beyond {
        padding: 12px 28px 40px;
    }
    .home-beyond-viewport {
        border-radius: 16px;
        max-width: 560px;
        margin: 0 auto;
    }
    .home-explore {
        padding: 12px 28px 40px;
    }
    .home-explore-viewport {
        border-radius: 16px;
        max-width: 560px;
        margin: 0 auto;
    }
}
