/* Astra integration. Loaded only when Astra (or an Astra child theme) is active. */
#ast-scroll-top {
    bottom: calc(90px + env(safe-area-inset-bottom)) !important;
    right: 16px !important;
    background: #38271e;
    color: #fff;
}

/* Preserve Astra's menu behavior; align only its visible atelier controls. */
body.ao-managed .main-header-menu .current-menu-item > .menu-link,
body.ao-managed .main-header-menu .current-menu-ancestor > .menu-link {
    color: #79522d;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}
body.ao-managed .ast-button-wrap .menu-toggle { background: #38271e; color: #fff; border-color: #38271e; }
body.ao-managed .ast-button-wrap .menu-toggle svg { fill: currentColor; }
#ast-scroll-top:hover, #ast-scroll-top:focus-visible { background: #5b3d2b; color: #fff; }

#ast-hf-menu-1-mobile .ao-header-contact {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px 20px 20px;
}

#ast-hf-menu-1-mobile .ao-header-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0;
    font-size: 18px;
    line-height: 1.4;
}

#ast-hf-menu-1-mobile .ao-header-contact .ao-button {
    width: 100%;
    min-height: 44px;
    margin: 0;
    justify-content: center;
}

@media (max-width: 767px) {
    #colophon .site-primary-footer-wrap {
        padding-block: 20px;
    }

    #colophon .site-primary-footer-inner-wrap {
        min-height: 0;
        row-gap: 8px;
    }

    #colophon .site-footer-section,
    #colophon .ast-footer-html-1 {
        margin: 0;
    }

    #ast-scroll-top {
        width: 44px;
        height: 44px;
        padding: 0;
        font-size: 18px;
        line-height: 44px;
        text-align: center;
    }

    #ast-scroll-top svg {
        width: 18px;
        height: 18px;
    }
}
