#scrollToTopBtn {
    position: fixed;
    top: 50%;
    left: 20px;
    z-index: 9999;
    width: 80px;
    height: 80px;
    background: url('/wp-content/themes/generatepress-child/front-page/scrolltotop.png') no-repeat center center;
    background-size: contain;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#scrollToTopBtn:hover {
    transform: scale(1.1);
}

#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   MOBILE POSITIONING
   ======================================== */
@media (max-width: 768px) {
    #scrollToTopBtn {
        top: auto !important; /* Remove top positioning */
        bottom: 20px !important; /* Position at bottom */
        left: 20px !important; /* Keep left positioning */
        width: 60px !important; /* Slightly smaller for mobile */
        height: 60px !important; /* Slightly smaller for mobile */
        transform: none !important; /* Reset any transforms */
    }
}
