/* 1. 先恢复所有 container 为 Bootstrap 原生样式（基础样式） */

    /* 2. 单独给包含 .hero-section 的 container 加全屏样式（特殊样式） */
    .container:has(.hero-section),
    .container:has(.hero-section) main {
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: hidden !important;
    }

        /* 3. 以下是你的响应式样式（仅保留核心，已对齐逻辑） */
        .container:has(.hero-section) .hero-content {
            border-color: darkred;
        }

/* 响应式调整（仅作用于包含 .hero-section 的容器内元素） */
@media (max-width: 1400px) {
    .container:has(.hero-section) .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 500px;
    }
}

@media (max-width: 1200px) {
    .container:has(.hero-section) .hero-left-content {
        width: 340px;
    }

    .container:has(.hero-section) .hero-product-showcase {
        margin-left: 30px;
    }

    .container:has(.hero-section) .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .container:has(.hero-section) .release-date {
        font-size: 2.8rem;
    }
}

@media (max-width: 992px) {
    .container:has(.hero-section) .hero-left-content {
        width: 300px;
    }

    .container:has(.hero-section) .hero-product-showcase {
        margin-left: 20px;
    }

    .container:has(.hero-section) .showcase-item img {
        height: 100px;
    }

    .container:has(.hero-section) .release-date {
        font-size: 2.5rem;
    }

    .container:has(.hero-section) .product-label {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .container:has(.hero-section) .container {
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
    }

    .container:has(.hero-section) .hero-left-content {
        width: 100%;
        max-width: 500px;
        margin: 0 auto 30px;
        padding: 0 20px;
    }

    .container:has(.hero-section) .hero-product-showcase {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .container:has(.hero-section) .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .container:has(.hero-section) .showcase-item img {
        height: 90px;
    }

    .container:has(.hero-section) .showcase-info {
        padding: 30px 10px 10px;
    }

    .container:has(.hero-section) .showcase-info h4 {
        font-size: 0.85rem;
    }

    .container:has(.hero-section) .release-info-box {
        padding: 30px 25px;
    }

    .container:has(.hero-section) .release-date {
        font-size: 2.8rem;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 70px !important;
    }

    .container:has(.hero-section) .hero-section {
        margin-top: -70px;
        height: auto;
        min-height: 100vh;
        padding-bottom: 40px;
    }

    .container:has(.hero-section) .release-info-box {
        padding: 25px 20px;
    }

    .container:has(.hero-section) .release-date {
        font-size: 2.3rem;
    }

    .container:has(.hero-section) .product-label {
        font-size: 1.4rem;
    }

    .container:has(.hero-section) .btn-book {
        padding: 16px 25px;
        font-size: 1.1rem;
    }

    .container:has(.hero-section) .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .container:has(.hero-section) .showcase-item img {
        height: 80px;
    }
}

/* 通用样式（仅作用于目标容器） */
.container:has(.hero-section) .hero-left-content::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -60px;
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%);
}

.container:has(.hero-section) .release-info-box {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* 调试样式（按需启用） */
/*
.container:has(.hero-section) .hero-section { border: 2px solid red; }
.container:has(.hero-section) .hero-image { border: 2px solid blue; }
.container:has(.hero-section) .hero-left-content { border: 2px solid green; }
.container:has(.hero-section) .hero-content { border: 2px solid yellow; }
*/
