/* =========================================================
   DAMIAN PHILPOTT — FOOTER BACK BUTTON REVERSE V1
   ---------------------------------------------------------
   Desktop Booknetic footer.

   Locked footer-button language:
   NEXT = dark charcoal -> yellow
   BACK = yellow -> dark charcoal

   BACK keeps the same restrained geometry and typography as
   the approved v1.0.110 NEXT STEP button.

   No footer layout or booking-logic changes.
   ========================================================= */

@media screen and (min-width: 1001px) {

    /* BACK — reversed default state */
    body:has(#booknetic_theme_8)
    .wp-block-booknetic-booking
    #booknetic_theme_8.booknetic_appointment
    .booknetic_appointment_container_footer
    button.booknetic_btn_secondary.booknetic_prev_step {
        background: #FFD700 !important;
        background-image: none !important;

        border: 1px solid #FFD700 !important;
        border-radius: 3px !important;

        color: #080808 !important;

        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
        font-weight: 350 !important;
        font-variation-settings: "wght" 350 !important;
        letter-spacing: .065em !important;
        text-shadow: none !important;

        box-shadow: none !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;

        transition:
            background-color .18s ease,
            border-color .18s ease,
            color .18s ease !important;
    }

    /* BACK hover/focus — reverse to the standard charcoal state */
    body:has(#booknetic_theme_8)
    .wp-block-booknetic-booking
    #booknetic_theme_8.booknetic_appointment
    .booknetic_appointment_container_footer
    button.booknetic_btn_secondary.booknetic_prev_step:hover,
    body:has(#booknetic_theme_8)
    .wp-block-booknetic-booking
    #booknetic_theme_8.booknetic_appointment
    .booknetic_appointment_container_footer
    button.booknetic_btn_secondary.booknetic_prev_step:focus-visible {
        background: rgba(15,15,15,.92) !important;
        background-image: none !important;

        border-color: rgba(255,255,255,.20) !important;
        color: rgba(255,255,255,.86) !important;

        box-shadow: none !important;
        transform: none !important;
    }

    /* Tiny physical response only when clicked */
    body:has(#booknetic_theme_8)
    .wp-block-booknetic-booking
    #booknetic_theme_8.booknetic_appointment
    .booknetic_appointment_container_footer
    button.booknetic_btn_secondary.booknetic_prev_step:active {
        transform: translateY(1px) !important;
        box-shadow: none !important;
    }
}
