.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 90px;
    left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    width: max-content;
    z-index: 9999;
}

.floating-buttons .btn {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    height: 50px;
    width: 50px;
    flex: 0 0 auto;
    padding: 0;
    border-radius: 999px;
    background: linear-gradient(145deg, #ffffff, #f3f3f3);
    border: 1px solid rgba(212,175,55,0.4);
    box-shadow:
        0 4px 12px rgba(0,0,0,0.08),
        inset 0 1px 2px rgba(255,255,255,0.9);
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
    transition: width 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

.floating-buttons .btn i {
    width: 50px;
    min-width: 50px;
    text-align: center;
    font-size: 18px;
    color: #d4af37;
}

.floating-buttons .btn span {
    white-space: nowrap;
    font-size: 14px;
    color: #333;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.25s ease;
}

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

.floating-buttons .btn:hover {
    width: auto;
    padding-left: 18px;
}

.floating-buttons .btn:hover span {
    opacity: 1;
    transform: translateX(0);
    margin-right: 6px;
}

.floating-buttons .btn:hover {
    box-shadow:
        0 6px 18px rgba(0,0,0,0.12),
        0 0 12px rgba(212,175,55,0.25);
}

@media (max-width: 767px) {
    .floating-buttons { display: none; }
}


#ast-scroll-top {
    background: linear-gradient(145deg, #ffffff, #f3f3f3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), inset 0 1px 2px rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 999px;
    width: 50px;
    height: 50px;
    align-content: center;
}

.ast-scroll-to-top-right { right: 20px; }

#ast-scroll-top .ast-icon.icon-arrow svg {
    color: #d4af37;
}