.fab-wrapper {
    position: fixed;
    bottom: 15px;
    right: 16px;
    z-index: 9999999;
}
#fabCheckbox {
    display: none;
}
.fab-wrapper .icon-cps-local {
    width: 28px;
    height: 28px;
    background-position: -92.5px -262px;
}
.fab-wrapper .icon-cps, .fab-wrapper .icon-dtv, .fab-wrapper [class*=icon-cps-] {
    display: inline-block;
    vertical-align: middle;
    background-image: url(images/icons_menubar.svg) !important;
    background-repeat: no-repeat;
    background-size: 500px;
}
.fab-checkbox:checked ~ .fab {
    transform: rotate(90deg);
    -webkit-transition: all 0.15s cubic-bezier(0.15, 0.87, 0.45, 1.23);
    transition: all 0.15s cubic-bezier(0.15, 0.87, 0.45, 1.23);
}
.fab-checkbox:checked ~ .fab .icon-cps-fab-menu {
    width: 30px;
    height: 30px;
    margin: 0;
    background-size: 600px;
    background-position: -337.5px -316.5px;
}
.fab-checkbox:checked ~ .fab-wheel {
    transform: scale(1);
}
.fab-wheel {
    width: 300px;
    height: 220px;
    position: absolute;
    bottom: 15px;
    right: 15px;
    transform: scale(0);
    transform-origin: bottom right;
    transition: all .3s ease;
}
.fab-wheel .fab-action-1 {
    top: 0;
    right: 0;
}
.fab-wheel .fab-action {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    position: absolute;
    text-decoration: none;
}
.fab-wheel .fab-action-1 {
    top: 0;
    right: 0;
}
.fab-wheel .fab-action-2 {
    top: 45px;
    left: 85px;
}
.fab-wheel .fab-action-3 {
    left: 20px;
    bottom: 70px;
}
.fab-wheel .fab-action-4 {
    left: 0;
    bottom: 0;
}
.fab-checkbox:checked ~ .fab-wheel .fab-title {
    opacity: 1;
}
.fab-title {
    float: left;
    margin: 0 5px 0 0;
    opacity: 0;
}
.fab-wheel .fab-button-1 {
    background: #dd5145;
}
.fab-wheel .fab-button-2 {
    background: #fb0;
}
.fab-wheel .fab-button-3 {
    background: #2196f3;
}
.fab-wheel .fab-button-4 {
    background: #2f82fc;
}
.fab-button {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    float: left;
    padding: 4px;
    border-radius: 50%;
    background: #0f1941;
    box-shadow: 0 1px 3px rgb(0 0 0 / 1%), 0 1px 2px rgb(0 0 0 / 24%);
    font-size: 24px;
    color: White;
    transition: all 1s ease;
    overflow: hidden;
}
.fab {
	cursor: pointer;
    width: 45px;
	height: 45px;
    max-width: unset;  
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    border-radius: 50%;
    background: var(--primary-red);
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%), 0 3px 6px rgb(0 0 0 / 23%);
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 1000;
    overflow: hidden;
    transform: rotate(0deg);
    -webkit-transition: all 0.15s cubic-bezier(0.15, 0.87, 0.45, 1.23);
    transition: all 0.15s cubic-bezier(0.15, 0.87, 0.45, 1.23);
}
.fab-wrapper .icon-cps-fab-menu {
    width: 45px;
    height: 45px;
    margin: 0 5px 5px 0;
	background-size: 610px;
    background-position: -450px -260px;
}
.fab-wrapper .icon-cps-chat-zalo-3 {
	width: 28px;
    height: 28px;
    background-position: -140px -262px;
}
.fab-wrapper .icon-cps-chat-zalo-2 {
    width: 30px;
    height: 30px;
    background: url(images/messenger.svg) center center no-repeat !important;
    background-size: 25px !important;
}
.fab-wrapper .icon-cps-chat-zalo {
    width: 30px;
    height: 30px;
    background-size: 600px;
    background-position: -450px -265px;
}

.header-overlay-2.active {
    visibility: visible;
    opacity: 1;
}
.header-overlay-2 {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.53);
    z-index: 30;
    opacity: 0;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

/* Nút Scroll to Top xếp trên nút Zalo */
#btn-scroll-top {
    position: fixed;
    bottom: 85px;
    right: 28px;
    z-index: 9999;
    width: 42px;
    height: 42px;
    background-color: #1e293b; /* Tone màu tối sang trọng */
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

#btn-scroll-top:hover {
    background-color: #b65c38; /* Mối màu cam/đỏ theo tone chủ đạo PICO */
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Class kích hoạt hiển thị khi scroll xuống */
#btn-scroll-top.show {
    opacity: 1;
    visibility: visible;
}

/* Tùy chỉnh nhỏ cho Mobile để tránh chiếm diện tích */
@media (max-width: 768px) {
    #btn-scroll-top {
        width: 38px;
        height: 38px;
        bottom: 75px;
        right: 15px;
        font-size: 14px;
    }
}