/* Smartphones (portrait) -- DƯỚI 320PX ----------- */
@media only screen
and (max-width : 320px) {

}



/* Smartphones (portrait and landscape) TỪ 480PX TỚI 768PX----------- */
@media only screen
and (min-width : 480px)
and (max-width : 600px) {

}





/* Smartphones (portrait and landscape) TỪ 480PX TỚI 768PX----------- */
@media only screen
and (max-width : 670px) {
    
}



/* Smartphones (portrait and landscape) TỪ 480PX TỚI 768PX----------- */
@media only screen
and (min-width : 530px) {
    
}

/* Smartphones (portrait and landscape) TỪ 480PX TỚI 768PX----------- */
@media only screen
and (min-width : 768px) {
    
}


/* iPads (portrait and landscape) ----------- */
@media only screen 
and (min-width : 992px) {
    
}


/* Desktops and laptops ----------- */
@media only screen
and (min-width : 1200px) {
    
}





/* Desktops and laptops ----------- */
@media only screen
and (max-width : 1199px) {
.img-procate1-home > a {
    height: 160px;
}
.img-procate1-home img {
    max-width: 100%;
    max-height: 160px;
}









}





/* Desktops and laptops ----------- */
@media only screen
and (max-width : 992px) {
.support-qnh{
	display: none;
}
.qnh-search {
    width: calc(100% - 220px);
}   
.logo-qnh{
	width: 220px;
}
.main-menu{
	display: none;
}
.middle-header-mobile{
	display: block;
}
.left-qnh{
	display: none;
}
.main-qnh{
	width: 100%;
}
.left-footer{
    width: 100%;
}
.right-footer{
    width: 100%;
}

}

/* Desktops and laptops ----------- */
@media only screen
and (max-width : 768px) {
.qnh-search {
    width: calc(100% - 170px);
}   
.logo-qnh {
    width: 170px;
    padding: 15px 0px 15px 15px;
}
input.txt-search-qnh {
    padding: 5px 6px;
}
.img-procate1-home > a {
    height: auto;
    display: inline-block;
    width: 100%;
}
.img-procate1-home img {
    max-width: 100%;
    max-height: inherit;
    width: 100%;
}
.procate1-home{
	width: 100%;
}
.left-news-home{
    width: 100%;
    margin-bottom: 15px;
}
.right-news-home{
    padding-left: 0px;
    width: 100%;
}
.left-prolist{
    width: 100%;
    margin-bottom: 15px;
}
.img-prolist{
	text-align: center;
}
.right-prolist{
    padding-left: 0px;
    width: 100%;
}
.summary-prolist {
    text-align: justify;
}






}



@media only screen
and (max-width : 767px) and (min-width: 640px){
    
}





/* Smartphones (portrait and landscape) TỪ 480PX TỚI 768PX----------- */
@media only screen
and (max-width : 480px) {
    
}




/* Smartphones (portrait and landscape) TỪ 480PX TỚI 768PX----------- */
@media only screen
and (max-width : 320px) {

}

/* ======================================================
   CHUYÊN BIỆT CHO GIAO DIỆN DI ĐỘNG (MOBILE MAX-WIDTH: 768PX)
   Gọn gàng, dễ bấm, tối ưu trải nghiệm người dùng
   ====================================================== */
@media only screen and (max-width: 768px) {
    body {
        padding-bottom: 60px !important;
        font-size: 13px !important;
    }
    
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    /* Top Header trên Mobile: Tinh gọn, logo vừa vặn không chiếm diện tích */
    .top-header {
        padding: 6px 0 !important;
        border-bottom: 1px solid #e0e0e0 !important;
    }
    .top-header .row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin: 0 !important;
        flex-wrap: nowrap !important;
    }
    .logo-qnh {
        width: auto !important;
        padding: 0 !important;
        float: none !important;
        max-width: 65% !important;
    }
    .logo-qnh a {
        display: flex !important;
        align-items: center !important;
    }
    .logo-sun-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 16px !important;
        margin-right: 7px !important;
        flex-shrink: 0 !important;
        box-shadow: 0 2px 6px rgba(211,47,47,0.3) !important;
    }
    .brand-title {
        font-size: 14px !important;
        line-height: 1.15 !important;
        font-weight: 800 !important;
        letter-spacing: 0.2px !important;
        white-space: nowrap !important;
    }
    .brand-subtitle {
        font-size: 9px !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
    }
    .support-qnh {
        display: none !important;
    }
    .header-badges {
        display: none !important;
    }
    .mid-header {
        display: none !important;
    }
    .middle-header-mobile {
        display: block !important;
        background: #a71925 !important;
        border-bottom: 2px solid #7c0404 !important;
    }
    
    /* Thao tác góc phải Header di động */
    .mobile-header-actions {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
    }
    .btn-call-mobile-top {
        background: #27ae60 !important;
        color: #fff !important;
        padding: 5px 9px !important;
        border-radius: 16px !important;
        font-weight: bold !important;
        font-size: 11.5px !important;
        text-decoration: none !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        box-shadow: 0 2px 6px rgba(39,174,96,0.3) !important;
        white-space: nowrap !important;
    }
    .btn-menu-mobile-top {
        background: #a71925 !important;
        color: #fff !important;
        width: 32px !important;
        height: 32px !important;
        border-radius: 4px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 16px !important;
        cursor: pointer !important;
        border: 1px solid #7c0404 !important;
        padding: 0 !important;
    }

    /* Menu xổ xuống trên mobile */
    .content-main-menu-mobile {
        background: #8b0000 !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
    }
    .content-main-menu-mobile ul {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .content-main-menu-mobile ul li {
        border-bottom: 1px solid rgba(255,255,255,0.12) !important;
    }
    .content-main-menu-mobile ul li a {
        padding: 10px 14px !important;
        color: #fff !important;
        font-size: 13.5px !important;
        font-weight: 600 !important;
        display: flex !important;
        align-items: center !important;
        text-decoration: none !important;
    }
    .content-main-menu-mobile ul li a:hover,
    .content-main-menu-mobile ul li a:active {
        background: #7c0404 !important;
    }

    /* Thanh cuộn ngang dịch vụ nhanh (Quick Service Bar) */
    .mobile-quick-services {
        background: #ffffff !important;
        padding: 8px 0 6px 0 !important;
        border-bottom: 1px solid #eaeaea !important;
        margin-bottom: 10px !important;
    }
    .quick-services-scroll {
        display: flex !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        gap: 10px !important;
        padding: 0 8px !important;
    }
    .quick-services-scroll::-webkit-scrollbar {
        display: none !important;
    }
    .quick-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-decoration: none !important;
        flex: 0 0 60px !important;
        text-align: center !important;
    }
    .quick-item .icon-wrap {
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #fff !important;
        font-size: 17px !important;
        margin-bottom: 3px !important;
        box-shadow: 0 2px 5px rgba(0,0,0,0.12) !important;
    }
    .quick-item span:last-child {
        font-size: 10.5px !important;
        color: #333 !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
    }
    .bg-blue { background: #077fd3 !important; }
    .bg-teal { background: #009688 !important; }
    .bg-pink { background: #e91e63 !important; }
    .bg-orange { background: #ff9800 !important; }
    .bg-cyan { background: #00bcd4 !important; }
    .bg-purple { background: #9c27b0 !important; }
    .bg-red { background: #f44336 !important; }

    /* Layout chính */
    .left-qnh {
        display: none !important;
    }
    .main-qnh {
        width: 100% !important;
        padding: 0 !important;
        float: none !important;
    }

    /* Tiêu đề danh mục dịch vụ trên mobile */
    .title-procate-home {
        font-size: 13.5px !important;
        padding: 8px 10px !important;
        line-height: 1.3 !important;
        letter-spacing: 0.2px !important;
    }

    /* Thẻ dịch vụ hiển thị dạng lưới 2 cột gọn gàng, rõ đẹp */
    .content-procate-home {
        padding: 8px 6px !important;
    }
    .content-procate-home .row {
        margin-left: -4px !important;
        margin-right: -4px !important;
    }
    .content-procate-home .col-xs-6 {
        padding-left: 4px !important;
        padding-right: 4px !important;
        margin-bottom: 8px !important;
    }
    .content-procate-home .col-xs-6 > div > div:first-child {
        height: 110px !important;
    }
    .content-procate-home h4 {
        font-size: 12px !important;
        min-height: 30px !important;
        height: 30px !important;
        line-height: 15px !important;
        overflow: hidden !important;
        margin: 4px 0 !important;
        text-align: left !important;
    }
    .content-procate-home p {
        display: none !important;
    }
    .content-procate-home .col-xs-6 a {
        font-size: 11px !important;
        padding: 5px 6px !important;
    }

    /* Chi tiết bài viết & tin tức trên mobile (News Detail Mobile) */
    .top-page {
        padding: 8px 0 !important;
        margin-bottom: 12px !important;
        border-bottom: 1px solid #eee !important;
    }
    .top-page ul {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 6px !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }
    .top-page ul li {
        float: none !important;
        font-size: 11.5px !important;
        margin-right: 0 !important;
    }
    .top-page ul li a {
        color: #b71c1c !important;
    }
    .name-news-detail h1,
    .name-prodetail h1 {
        font-size: 17px !important;
        line-height: 1.35 !important;
        font-weight: 800 !important;
        color: #b71c1c !important;
        margin: 0 0 10px 0 !important;
    }
    .date-news-detail {
        font-size: 11.5px !important;
        color: #888 !important;
        margin-bottom: 12px !important;
    }
    .summary-news-detail {
        font-size: 13px !important;
        line-height: 1.55 !important;
        font-style: italic !important;
        background: #fdf5f5 !important;
        padding: 10px 12px !important;
        border-left: 3px solid #b71c1c !important;
        margin-bottom: 15px !important;
        border-radius: 0 4px 4px 0 !important;
    }
    .info-news-detail,
    .content-prodetail {
        font-size: 14px !important;
        line-height: 1.65 !important;
        color: #222 !important;
        word-wrap: break-word !important;
    }
    .info-news-detail img,
    .content-prodetail img {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 6px !important;
        margin: 10px 0 !important;
        display: block !important;
    }
    .info-news-detail a,
    .content-prodetail a {
        color: #0d47a1 !important;
        font-weight: 700 !important;
        text-decoration: underline !important;
    }
    .info-news-detail blockquote,
    .content-prodetail blockquote {
        background: #fff8f8 !important;
        border-left: 4px solid #b71c1c !important;
        padding: 12px 14px !important;
        margin: 15px 0 !important;
        border-radius: 0 4px 4px 0 !important;
        font-size: 13px !important;
    }
    .other-news-detail,
    .bottom-prodetail {
        margin-top: 25px !important;
        padding-top: 15px !important;
        border-top: 2px solid #b71c1c !important;
    }
    .title-other-news-detail {
        font-size: 15px !important;
        font-weight: bold !important;
        color: #b71c1c !important;
        margin-bottom: 12px !important;
        text-transform: uppercase !important;
    }
    .item-nedetail {
        padding: 9px 0 !important;
        border-bottom: 1px dashed #e0e0e0 !important;
    }
    .item-nedetail a {
        font-size: 13px !important;
        color: #333 !important;
        line-height: 1.45 !important;
        display: block !important;
        text-decoration: none !important;
    }

    /* Danh sách sản phẩm liên quan trên mobile */
    .item-product-list {
        width: 100% !important;
        margin-bottom: 10px !important;
        padding-bottom: 10px !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }
    .initem-prolist {
        display: flex !important;
        gap: 10px !important;
        align-items: flex-start !important;
    }
    .left-prolist {
        width: 85px !important;
        flex-shrink: 0 !important;
        margin-bottom: 0 !important;
    }
    .left-prolist img {
        width: 85px !important;
        height: 65px !important;
        object-fit: cover !important;
        border-radius: 4px !important;
    }
    .right-prolist {
        flex: 1 !important;
        padding-left: 0 !important;
    }
    .name-prolist a {
        font-size: 13px !important;
        font-weight: bold !important;
        color: #b71c1c !important;
        line-height: 1.35 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-decoration: none !important;
    }
    .summary-prolist {
        font-size: 11px !important;
        color: #666 !important;
        line-height: 1.4 !important;
        margin-top: 3px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    /* Footer trên mobile */
    footer {
        padding: 20px 0 15px 0 !important;
    }
    footer .left-footer, footer .right-footer,
    footer .col-md-5, footer .col-md-7 {
        width: 100% !important;
        padding: 0 10px !important;
    }

    /* Thanh điều hướng dính cố định dưới đáy màn hình (Mobile Bottom Navigation Bar) */
    .mobile-bottom-nav {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 52px !important;
        background: #ffffff !important;
        border-top: 1px solid #e0e0e0 !important;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.08) !important;
        z-index: 99999 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-around !important;
    }
    .mobile-bottom-nav .nav-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        color: #555 !important;
        font-size: 10px !important;
        font-weight: 600 !important;
        flex: 1 !important;
        height: 100% !important;
    }
    .mobile-bottom-nav .nav-item i {
        font-size: 16px !important;
        margin-bottom: 2px !important;
    }
    .mobile-bottom-nav .nav-item.active {
        color: #b71c1c !important;
    }
    .mobile-bottom-nav .btn-zalo-nav {
        color: #0088cc !important;
    }
    .mobile-bottom-nav .btn-call-nav {
        position: relative !important;
        top: -10px !important;
        color: #fff !important;
    }
    .mobile-bottom-nav .call-pulse-circle {
        width: 44px !important;
        height: 44px !important;
        border-radius: 50% !important;
        background: #d32f2f !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #fff !important;
        font-size: 20px !important;
        box-shadow: 0 4px 10px rgba(211,47,47,0.4) !important;
        animation: pulse-ring 2s infinite !important;
    }
    .mobile-bottom-nav .btn-call-nav span {
        color: #d32f2f !important;
        font-size: 9.5px !important;
        font-weight: 800 !important;
        margin-top: 2px !important;
    }
    @keyframes pulse-ring {
        0% { transform: scale(1); }
        50% { transform: scale(1.08); }
        100% { transform: scale(1); }
    }

    /* Ẩn widget tròn cũ để không che mắt */
    #button-contact-vr {
        display: none !important;
    }
}


