/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */

.jw-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--jw-pacific-blue, #47A8BD);
    color: #fff;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(71, 168, 189, 0.3);
}

.jw-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.jw-back-to-top:hover {
    background: var(--jw-petal-pink, #B27092);
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(178, 112, 146, 0.4);
}

.jw-back-to-top svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

@media (max-width: 600px) {
    .jw-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    .jw-back-to-top svg {
        width: 20px;
        height: 20px;
    }
}
