/* WhatsApp Floating Widget CSS */
:root {
    --wa-green: #C9A84C; /* Luxury Gold from website */
    --wa-dark: #b89430;  /* Darker Gold/Bronze */
    --wa-light: #FAF8F0;
    --wa-white: #ffffff;
    --wa-shadow: rgba(0, 0, 0, 0.15);
}

.wa-widget-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Floating Button */
.wa-float-btn {
    width: 60px;
    height: 60px;
    background-color: var(--wa-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px var(--wa-shadow);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    text-decoration: none;
}

.wa-float-btn i {
    font-size: 32px;
    color: var(--wa-white);
}

.wa-float-btn:hover {
    transform: scale(1.1);
    background-color: var(--wa-dark);
}

/* Tooltip */
.wa-tooltip {
    position: absolute;
    right: 75px;
    background: #333;
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.wa-float-btn:hover .wa-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Pulse Animation */
.wa-float-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--wa-green);
    border-radius: 50%;
    z-index: -1;
    animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Welcome Popup */
.wa-popup {
    background: var(--wa-white);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    max-width: 260px;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.wa-popup.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.wa-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.wa-popup-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--wa-dark);
}

.wa-popup-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.wa-popup-body {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

/* Badge */
.wa-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ff3b30;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid #fff;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .wa-widget-container { bottom: 80px; right: 15px; }
    .wa-float-btn { width: 55px; height: 55px; }
    .wa-popup { max-width: 220px; margin-bottom: 10px; }
    .wa-tooltip { display: none; }
}
