body #wrapper .fusion-header-wrapper .priority-booking-strip {
    position: relative;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    box-sizing: border-box;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    background: #353535;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
    color: #fff;
}

body #wrapper .fusion-header-wrapper:not(.fusion-is-sticky) {
    position: relative !important;
}

body #wrapper .fusion-header-wrapper:not(.fusion-is-sticky) .fusion-header {
    padding-bottom: 0 !important;
}

/* Avada Custom CSS still contains #content { margin-top: 10%; }, which was
 * needed only while the desktop header was absolutely positioned. */
body #content {
    margin-top: 0 !important;
}

body #wrapper .fusion-header-wrapper.fusion-is-sticky .priority-booking-strip {
    display: block !important;
    margin-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

body #wrapper .fusion-header-wrapper.fusion-is-sticky .fusion-header .fusion-row {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    background: #353535;
}

body #wrapper .fusion-header-wrapper.fusion-is-sticky .fusion-logo {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body #wrapper .fusion-header-wrapper.fusion-is-sticky .fusion-header-v6-content {
    min-height: 64px;
}

body #wrapper .fusion-header-wrapper.fusion-is-sticky .fusion-standard-logo {
    width: auto !important;
    height: auto !important;
    max-height: 54px !important;
}

/* Avada writes temporary logo dimensions during its sticky transition. Keep
 * the intrinsic ratio authoritative so reversing scroll cannot squash it. */
body #wrapper .fusion-header-wrapper .fusion-logo img {
    height: auto !important;
    object-fit: contain;
}

@media only screen and (min-width: 801px) {
    body #wrapper .fusion-header-wrapper:not(.fusion-is-sticky) .fusion-header {
        padding-top: 6px !important;
    }
}

.priority-booking-strip__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1440px;
    min-height: 48px;
    margin: 0 auto;
    padding: 7px 24px;
    box-sizing: border-box;
}

.priority-booking-strip__message {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: inherit;
    font-size: 15px;
    line-height: 1.35;
}

.priority-booking-strip__message strong {
    color: #fff;
    font-weight: 800;
}

.priority-booking-strip__detail {
    color: #8bd33f;
    font-weight: 700;
}

.priority-booking-strip__status {
    position: relative;
    flex: 0 0 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #62d51f;
    box-shadow: 0 0 5px 2px rgba(98, 213, 31, 0.55);
}

.priority-booking-strip__status::after {
    content: '';
    position: absolute;
    inset: -5px;
    border: 2px solid rgba(98, 213, 31, 0.55);
    border-radius: 50%;
    animation: qoctor-online-pulse 1.8s ease-out infinite;
}

@keyframes qoctor-online-pulse {
    0% {
        opacity: 0.9;
        transform: scale(0.45);
    }
    75%, 100% {
        opacity: 0;
        transform: scale(1.35);
    }
}

.priority-booking-strip__detail::before {
    content: '\2014';
    margin: 0 7px;
}

@media only screen and (max-width: 800px) {
    body.page-id-1470 #desktop .fusion-builder-column-1 {
        margin-top: 32px !important;
    }

    body #wrapper .fusion-header-wrapper.fusion-is-sticky .fusion-header {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }

    body #wrapper .fusion-header-wrapper.fusion-is-sticky .fusion-mobile-logo {
        width: auto !important;
        height: auto !important;
        max-height: 38px !important;
        aspect-ratio: 150 / 43;
    }

    body #wrapper .fusion-header-wrapper.fusion-is-sticky .fusion-header-v6-content {
        min-height: 52px;
    }
}

@media only screen and (max-width: 600px) {
    .priority-booking-strip__inner {
        min-height: 36px;
        padding: 4px 10px;
    }

    .priority-booking-strip__message {
        gap: 7px;
        font-size: clamp(10px, 3.15vw, 12px);
        white-space: nowrap;
    }

    .priority-booking-strip__detail::before {
        content: '\2022';
        margin: 0 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .priority-booking-strip__status::after {
        animation: none;
        box-shadow: 0 0 0 3px rgba(35, 139, 53, 0.2);
    }
}
