/* Sticky QR Code */
.sticky-qr {
    position: fixed;
    bottom: 85px;
    right: 30px;
    z-index: 2000;
    background: white;
    padding: 5px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid var(--theme-color);
    animation: slideUp 0.5s ease;
}

.sticky-qr:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(238, 136, 1, 0.2);
}

/* "Scan to Download" flash label */
.sticky-qr-label {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--theme-color, #ee8801);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    pointer-events: none;
    animation: qr-label-flash 4s ease forwards;
}

/* Arrow pointing down toward the QR */
.sticky-qr-label::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--theme-color, #ee8801);
}

@keyframes qr-label-flash {
    0%   { opacity: 0; transform: translateX(-50%) translateY(6px); }
    12%  { opacity: 1; transform: translateX(-50%) translateY(0); }
    75%  { opacity: 1; }
    100% { opacity: 0; }
}

.sticky-qr img {
    border-radius: 8px;
    width: 200px;
    height: 200px;
    object-fit: contain;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sticky icon buttons — Mobile Only */
.sticky-mobile-buttons {
    position: fixed;
    bottom: 80px;
    right: 14px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    animation: slideUp 0.5s ease;
}

/* Base icon button */
.smb-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}

.smb-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.28);
}

.smb-call     { background: #25a244; }
.smb-whatsapp { background: #25D366; }
.smb-apple    { background: #000;    }
.smb-google   { background: #fff; color: #555; border: 1px solid #e0e0e0; }