/* ==========================================================================
   RƯỢU CỬU LONG - RESPONSIVE STYLESHEET
   Đáp ứng hoàn hảo đa thiết bị: Desktop, Laptop, Tablet, Mobile (dọc / ngang)
   ========================================================================== */

/* --- 1. LARGE SCREENS & DESKTOPS (> 1400px) --- */
@media (min-width: 1400px) {
    .hero-bottle-item {
        flex: 0 0 190px;
        height: 460px;
    }
    .bottle-img-wrap {
        height: 360px;
    }
}

/* --- 2. STANDARD LAPTOPS & DESKTOPS (1024px - 1399px) --- */
@media (max-width: 1399px) {
    .site-header .clv-container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    .desktop-nav {
        gap: 2px !important;
    }
    .nav-link {
        padding: 6px 8px !important;
        font-size: 0.8rem !important;
        letter-spacing: 0.3px !important;
        white-space: nowrap !important;
    }
    .header-actions {
        gap: 10px !important;
    }
    .header-actions .btn {
        padding: 7px 14px !important;
        font-size: 0.78rem !important;
        white-space: nowrap !important;
    }
    .header-hotline strong {
        font-size: 0.85rem !important;
    }
    .story-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .hero-bottle-item {
        flex: 0 0 160px;
        height: 400px;
    }
    .bottle-img-wrap {
        height: 300px;
    }
}

@media (max-width: 1199px) {
    /* Switch smoothly to mobile drawer below 1200px to avoid ANY line wrap */
    .desktop-nav {
        display: none !important;
    }
    .mobile-toggle {
        display: block !important;
    }
    .header-hotline span {
        display: none !important;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
    .exp-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .exp-main-img {
        height: 400px;
    }
}

/* --- 3. TABLETS & SMALL LAPTOPS (768px - 1023px) --- */
@media (max-width: 1023px) {
    .desktop-nav {
        display: none !important;
    }
    .mobile-toggle {
        display: block !important;
    }
    .header-hotline span {
        display: none !important;
    }

    .hero-bottles-rack {
        justify-content: flex-start;
        padding-left: 20px;
        padding-right: 20px;
        gap: 15px;
    }

    .hero-bottle-item {
        flex: 0 0 150px;
        height: 380px;
    }

    .story-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-responsibility ul {
        grid-template-columns: 1fr;
    }
}

/* --- 4. MOBILE SCREENS (< 768px) --- */
@media (max-width: 767px) {
    .site-header {
        padding: 12px 0;
    }

    .brand-logo img {
        height: 42px;
    }

    .hero-clv {
        padding-top: 95px;
        padding-bottom: 40px;
        min-height: auto;
    }

    .hero-main-title {
        font-size: 1.85rem;
    }

    .hero-lead-script {
        font-size: 1.9rem;
    }

    .hero-sub-lead {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    .hero-bottles-rack {
        gap: 12px;
        padding-bottom: 20px;
    }

    .hero-bottle-item {
        flex: 0 0 135px;
        height: 340px;
    }

    .bottle-img-wrap {
        height: 250px;
    }

    .ingredient-burst-bg {
        width: 170px;
        height: 170px;
    }

    .bottle-name {
        font-size: 0.92rem;
    }

    .story-grid {
        grid-template-columns: 1fr;
    }

    .trust-steps-grid {
        grid-template-columns: 1fr;
    }

    .exp-main-img {
        height: 300px;
    }

    .exp-floating-badge {
        position: static;
        margin-top: 15px;
        max-width: 100%;
    }

    .exp-features {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .floating-chim-lac {
        width: 80px;
        top: 20px;
        right: 4%;
    }

    .floating-cta-widget {
        bottom: 20px;
        right: 20px;
    }

    .back-to-top-btn {
        bottom: 20px;
        left: 20px;
        width: 38px;
        height: 38px;
    }

    .age-modal-card {
        padding: 30px 20px;
    }

    .age-crest {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .age-modal-card h3 {
        font-size: 1.35rem;
    }

    .age-modal-card .age-sub {
        font-size: 1.7rem;
    }

    .age-actions {
        flex-direction: column;
        gap: 10px;
    }
}

/* --- 5. MOBILE LANDSCAPE MODE & SPECIAL VIEWPORTS --- */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-clv {
        padding-top: 80px;
        padding-bottom: 30px;
        min-height: auto;
    }

    .hero-bottles-rack {
        padding-top: 10px;
    }

    .hero-bottle-item {
        height: 280px;
        flex: 0 0 120px;
    }

    .bottle-img-wrap {
        height: 200px;
    }

    .age-modal-card {
        padding: 20px;
        max-height: 90vh;
        overflow-y: auto;
    }
}
