/*
.menu_bottom {
    position: fixed;
    bottom: 0px;
    left: 0px;
    z-index: 99;
    box-shadow: 0px 4px 10px 0px #0e0e0e;
    width: 100%;
    background: #272727;
    height: 50px;
}

.menu_bottom p{
    margin-top: 0em;
    margin-bottom: 0px;
}
.auto {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}
.box_mnb {
    width: 33%;
    text-align: center;
    font-size: 18px;
    display: flex;
    gap: 0px;
    line-height: 60px;
}
.box_mnb a {
    color: #fff;
    padding: 10px 0px;
    display: block;
    line-height: 15px;
}

.box_mnb a:hover {
    color: red;
}
.box_mnb span {
    display: inline-block;
}
.left {
    float: left;
}
.box_mnb:nth-child(2) {
    background-image: linear-gradient(to right , #2aa428, #279b2b);
}
.box_mnb {
    width: 33%;
    text-align: center;
    font-size: 18px;
}
.box_mnb img {
    height: 40px;
    margin: 5px;
    border-radius: 10px;
    background: #02b000;
    padding: 5px;
}
.clr {
    clear: both;
}
.img-call-action-button{
    display: inline-block;
}
.dien_thoai{
    background: #cc0404;
}
.facebook_chat{
    background: #013b6d;
}
.zalo_chat{
    background: #0d8efd;
}
@media screen and (min-width:768px){
    
    .box_mnb {
        width: 33%;
        text-align: center;
        font-size: 18px;
        display: flex;
        gap: 0px;
        line-height: 60px;
    }
    .box_mnb a {
        color: #fff;
        padding: 10px 0px;
        display: block;
        line-height: 15px;
    }
    .box_mnb img {
        height: 40px;
        margin: 5px;
        border-radius: 10px;
        background: #02b000;
        padding: 5px;
    }


    .dien_thoai .text-cta{
        line-height: 52px;
        font-size: 20px;
        font-weight: bold;
        color: #fff;
    }
    
    .facebook_chat .text-cta{
        line-height: 52px;
        font-size: 20px;
        font-weight: bold;
        color: #fff;
    }
    
    .zalo_chat .text-cta{
        line-height: 52px;
        font-size: 20px;
        font-weight: bold;
        color: #fff;
    }


}
 @media only screen and (max-width: 768px) {
     .box_mnb {
        width: 33%;
        text-align: center;
        font-size: 18px;
        display: block;
        gap: 0px;
        line-height: 0px;
    }
    .box_mnb a {
        color: #fff;
        padding: 10px 0px;
        display: block;
        line-height: 15px;
    }
    .box_mnb img {
        height: 20px;
        margin: 3px;
        border-radius: 0px;
        background: none;
        padding: 0px;
    }
     
    .menu_bottom {
        display: block;
    }
    .menu_bottom {
        position: fixed;
        bottom: 0px;
        left: 0px;
        z-index: 99;
        box-shadow: 0px 4px 10px 0px #0e0e0e;
        width: 100%;
        background: #272727;
    }
    .box_mnb {
        width: 33%;
        text-align: center;
        font-size: 14px;
    }
    .text-cta {
        line-height: 20px;
        font-size: 14px;
        font-weight: bold;
        color: #fff;
    }
 }
*/
/* ==================== MENU BOTTOM - VERTICAL RIGHT ==================== */
.menu_bottom {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    width: auto;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu_bottom p {
    margin-top: 0em;
    margin-bottom: 0px;
}

.auto {
    max-width: 100%;
    margin: 0;
    width: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Container chứa các nút */
.menu_bottom .auto {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Style cho từng nút */
.box_mnb {
    width: auto;
    min-width: 140px;
    text-align: left;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
    border-radius: 50px;
    padding: 8px 15px 8px 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.box_mnb:hover {
    transform: translateX(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.box_mnb a {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    width: 100%;
}

.box_mnb a:hover {
    color: #fff;
    text-decoration: none;
}

.box_mnb span {
    display: inline-block;
    font-weight: 500;
}

.left {
    float: none;
}

/* Icon styling */
.box_mnb img {
    height: 32px;
    width: 32px;
    margin: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.box_mnb:hover img {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.3);
}

.img-call-action-button {
    display: inline-block;
}

/* Text styling */
.text-cta {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    line-height: 1.2;
}

/* Màu sắc cho từng nút */
.dien_thoai {
    background: linear-gradient(135deg, #ff4d4d, #cc0404);
}

.facebook_chat {
    background: linear-gradient(135deg, #1877f2, #0c5d9e);
}

.zalo_chat {
    background: linear-gradient(135deg, #0d8efd, #0066cc);
}

.viber_chat {
    background: linear-gradient(135deg, #7360f2, #5a4ac7);
}

.whatsapp_chat {
    background: linear-gradient(135deg, #25d366, #128C7E);
}

.telegram_chat {
    background: linear-gradient(135deg, #26A5E4, #0088cc);
}

/* Hiệu ứng animation khi xuất hiện */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.box_mnb {
    animation: slideInRight 0.3s ease forwards;
    opacity: 0;
}

/* Delay animation cho từng nút */
.box_mnb:nth-child(1) { animation-delay: 0.05s; }
.box_mnb:nth-child(2) { animation-delay: 0.1s; }
.box_mnb:nth-child(3) { animation-delay: 0.15s; }
.box_mnb:nth-child(4) { animation-delay: 0.2s; }
.box_mnb:nth-child(5) { animation-delay: 0.25s; }
.box_mnb:nth-child(6) { animation-delay: 0.3s; }

.clr {
    clear: both;
    display: none;
}

/* ==================== RESPONSIVE ==================== */
/* Tablet: Giảm kích thước một chút */
@media screen and (max-width: 1024px) and (min-width: 769px) {
    .menu_bottom {
        right: 15px;
        bottom: 15px;
        gap: 10px;
    }
    
    .box_mnb {
        min-width: 120px;
        padding: 6px 12px 6px 6px;
    }
    
    .box_mnb img {
        height: 28px;
        width: 28px;
        padding: 5px;
    }
    
    .text-cta {
        font-size: 13px;
    }
}

/* Mobile: Thu gọn lại, chỉ hiển thị icon hoặc icon + text nhỏ */
@media only screen and (max-width: 768px) {
    .menu_bottom {
        right: 10px;
        bottom: 10px;
        gap: 8px;
    }
    
    .auto {
        gap: 8px;
    }
    
    .box_mnb {
        min-width: auto;
        padding: 6px 10px 6px 6px;
        border-radius: 40px;
    }
    
    .box_mnb a {
        gap: 8px;
    }
    
    .box_mnb img {
        height: 28px;
        width: 28px;
        padding: 5px;
    }
    
    .text-cta {
        font-size: 12px;
        white-space: nowrap;
    }
    
    .box_mnb:hover {
        transform: translateX(-3px);
    }
}

/* Mobile nhỏ (dưới 480px) - chỉ hiển thị icon nếu muốn tiết kiệm diện tích */
@media only screen and (max-width: 480px) {
    .box_mnb {
        min-width: auto;
        padding: 6px;
        border-radius: 50%;
    }
    
    .box_mnb a {
        gap: 0;
        justify-content: center;
    }
    
    .text-cta {
        display: none;
    }
    
    .box_mnb img {
        height: 32px;
        width: 32px;
        margin: 0;
    }
    
    /* Hoặc vẫn giữ text nhưng nhỏ lại - comment đoạn trên và bỏ comment đoạn dưới nếu muốn giữ text */
    /*
    .box_mnb {
        min-width: 100px;
        padding: 6px 10px 6px 6px;
        border-radius: 40px;
    }
    
    .text-cta {
        display: inline-block;
        font-size: 11px;
    }
    
    .box_mnb img {
        height: 24px;
        width: 24px;
    }
    */
}

/* Tùy chọn: Ẩn trên desktop nếu không muốn hiển thị */
@media screen and (min-width: 1200px) {
    .menu_bottom {
        right: 30px;
        bottom: 30px;
    }
    
    .box_mnb {
        min-width: 160px;
        padding: 10px 20px 10px 12px;
    }
    
    .box_mnb img {
        height: 36px;
        width: 36px;
        padding: 7px;
    }
    
    .text-cta {
        font-size: 15px;
    }
}

/* Tùy chọn: Hiệu ứng hover nâng cao */
@media (hover: hover) {
    .box_mnb:hover {
        transform: translateX(-8px);
    }
    
    .box_mnb:hover img {
        transform: scale(1.1);
    }
}

/* Hiệu ứng ripple khi click */
.box_mnb:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}