.floating-contact-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.floating-contact-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-contact-buttons a:hover {
    transform: scale(1.1);
    animation: none;
}

.hotline-button {
    background-color: #dc3545;
}

.facebook-button {
    background-color: #1877f2;
}

.zalo-button {
    background-color: #0068ff;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.4);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(0, 102, 204, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 102, 204, 0);
    }
}

/* mobile-menu.css */
/* Menu di động đơn giản và hiệu quả */

/* Menu chính */
.xb-header-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 999999;
    overflow-y: auto;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

body.menu-open .xb-header-menu {
    left: 0;
}

/* Header menu */
.xb-header-menu-inner {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.xb-header-menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.xb-header-menu-logo img {
    height: 30px;
}

.xb-menu-close {
    width: 30px;
    height: 30px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #333;
}

/* Nội dung menu */
.xb-header-menu-content {
    padding: 15px;
    flex: 1;
    overflow-y: auto;
}

.xb-header-menu-content .main-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.xb-header-menu-content .main-menu ul li {
    margin-bottom: 5px;
}

.xb-header-menu-content .main-menu ul li a {
    display: block;
    padding: 10px 12px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.xb-header-menu-content .main-menu ul li a:hover {
    background: #f5f5f5;
    color: #0066ff;
}

/* Submenu - Sửa chữa để hiển thị hết */
.xb-header-menu-content .main-menu ul li.menu-item-has-children > a {
    position: relative;
}

.xb-menu-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.xb-menu-toggle.active:before {
    content: '-';
}

.xb-menu-toggle:before {
    content: '+';
}

.xb-header-menu-content .main-menu ul li.menu-item-has-children .sub-menu {
    list-style: none;
    padding: 0;
    margin: 5px 0 0 10px;
    display: none;
    /* Không giới hạn chiều cao */
    max-height: none;
    overflow: visible;
    position: static;
    visibility: visible;
    opacity: 1;
}

.xb-header-menu-content .main-menu ul li.menu-item-has-children .sub-menu.active {
    display: block;
}

.xb-header-menu-content .main-menu ul li.menu-item-has-children .sub-menu li {
    margin-bottom: 3px;
}

.xb-header-menu-content .main-menu ul li.menu-item-has-children .sub-menu li a {
    padding: 8px 10px;
    font-size: 13px;
    color: #666;
}

/* Nút bắt đầu */
.xb-header-menu-btn {
    padding: 15px;
    margin-top: auto;
    flex-shrink: 0;
}

.xb-header-menu-btn .btn {
    width: 100%;
    padding: 10px;
    background: #0066ff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
}

/* Backdrop */
.xb-header-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999998;
    display: none;
}

body.menu-open .xb-header-menu-backdrop {
    display: block;
}

/* Nút menu di động */
@media (max-width: 991px) {
    .xb-nav-mobile {
        display: block !important;
        background: none;
        border: none;
        padding: 5px;
        cursor: pointer;
    }
    
    .xb-nav-mobile svg {
        width: 24px;
        height: 24px;
        fill: #333;
    }
    
    body.menu-open {
        overflow: hidden;
    }
}