/**
 * Scroll to Top Button Styles
 */
.lf-floating-contact {
    position: fixed;
    bottom: 92px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px 10px 10px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: calc(100vw - 40px);
}

.lf-floating-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    color: inherit;
}

.lf-floating-contact__icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--wp--preset--color--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.lf-floating-contact__info {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
    min-width: 0;
}

.lf-floating-contact__label {
    font-size: 11px;
    color: #888;
    letter-spacing: 0.02em;
}

.lf-floating-contact__name {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
}

.lf-floating-contact__phone {
    font-size: 15px;
    font-weight: 700;
    color: var(--wp--preset--color--primary);
    white-space: nowrap;
}

.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--wp--preset--color--primary);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scroll-to-top-btn .dashicons {
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.scroll-to-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.scroll-to-top-btn:active {
    transform: translateY(-1px);
}

.scroll-to-top-btn span {
    pointer-events: none;
}

@media (max-width: 768px) {
    .lf-floating-contact {
        bottom: 77px;
        right: 20px;
        padding: 8px 12px 8px 8px;
        gap: 8px;
    }

    .lf-floating-contact__icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .lf-floating-contact__phone {
        font-size: 14px;
    }

    .scroll-to-top-btn {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 18px;
    }
}
