/* ==========================================
    ✨ สไตล์ปุ่มติดต่อลอยตัว (Floating Social Button)
    ========================================== */
.floating-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.floating-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-menu.show { opacity: 1; visibility: visible; transform: translateY(0); }

.float-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(58, 43, 36, 0.15);
    transition: transform 0.2s;
}
.float-item:hover { transform: scale(1.1); color: white; }

/* เปลี่ยนปุ่มโทรให้เข้ากับโทนร้าน */
.bg-phone { background-color: var(--nureen-secondary); } 
.bg-line { background-color: #00B900; }  
.bg-fb { background-color: #1877F2; }    
.bg-tiktok { background-color: #111111; }

.float-main {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: var(--nureen-primary); 
    color: white;
    font-size: 2rem;
    border: none;
    box-shadow: 0 6px 15px rgba(140, 106, 79, 0.4);
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}
.float-main:hover { transform: scale(1.05); background-color: var(--nureen-primary-hover); }
.float-main i { transition: transform 0.3s; }
.float-main.active i { transform: rotate(45deg); }

@media (max-width: 768px) {
    .floating-wrapper { bottom: 30px !important; right: 20px !important; }
    .float-main { width: 55px; height: 55px; font-size: 1.5rem; }
    .float-item { width: 45px; height: 45px; font-size: 1.2rem; }
}