/* Back-to-top button — injected by child-theme.js */
.astra-child-back-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: var(--child-primary, #0073aa);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.astra-child-back-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.astra-child-back-top:hover {
    background: var(--child-primary-dark, #005a87);
}

/* Scrolled header shadow */
.site-header.is-scrolled,
.ast-header-wrap.is-scrolled {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
