/* ===== MOBILE FOOTER - GỘP TỪ footer-styles.css VÀ mobile-footer.css ===== */

/* Mobile Footer Styling */
#mobile-footer-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #ffffff;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
    z-index: 9999;
    border-top: 1px solid #eee;
}

.footer-btn {
    flex: 1;
    margin: 0 5px;
    height: 48px;
    border-radius: 24px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
    padding: 0 15px;
}

.footer-btn.consult-btn {
    background: #7a9c59;
    color: white;
    border: 1px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon {
    font-size: 18px;
    display: flex;
}

.btn-text {
    font-size: 12px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.5px;
}

.footer-btn:active {
    transform: scale(0.96);
}

.footer-btn.consult-btn:hover {
    background: #b0740c;
}

/* Popup Styles */
#popup-consult {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

#popup-consult.popup-hidden {
    display: none;
}

.popup-box {
    background: #fff;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    position: relative;
    border-radius: 8px;
    overflow-y: auto;
    max-height: 90vh;
}

.popup-box button#close-popup {
    position: absolute;
    top: 0;
    right: 0;
    background: transparent;
    border: none;
    font-size: 32px;
    padding: 20px;
    line-height: 0.5;
    z-index: 10001;
    cursor: pointer;
    color: #333;
    width: auto;
    height: auto;
}

.popup-box button#close-popup:hover {
    color: red !important;
}

.consult-buttons {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.consult-link {
    display: block;
    background: #b0740c;
    color: #fff;
    text-align: center;
    padding: 12px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.consult-link.call-now {
    background: #d26e4b;
}

/* Nút Zalo nổi */
.zalo-floating {
    position: fixed;
    bottom: 70px;
    right: 20px;
    z-index: 20000;
}

.zalo-floating img {
    width: 50px;
    height: 50px;
}

/* Responsive */
@media (max-width: 480px) {
    .btn-text {
        font-size: 11px;
    }
    .footer-btn {
        height: 44px;
        padding: 0 10px;
    }
    .icon {
        font-size: 16px;
    }
}

@media (min-width: 768px) {
    #mobile-footer-buttons {
        display: none !important;
    }
}