.elementor-widget-ab-clinic-header,
.elementor-widget-ab-clinic-header > .elementor-widget-container,
.abdh-header,
.abdh-header .abdh-desktop-frame {
    width: 100%;
    max-width: none;
}

.elementor-widget-ab-clinic-header,
.elementor-widget-ab-clinic-header > .elementor-widget-container {
    margin-top: 0;
    padding-top: 0;
}

.abdh-header {
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: 100vw;
    margin-top: calc(var(--abdh-page-top-gap, 0px) * -1);
    margin-left: -50vw;
    margin-right: -50vw;
}

html.abdh-portal-active body.abdh-portal-active {
    padding-top: calc(var(--abdh-original-body-padding-top, 0px) + 136px + var(--abdh-visible-frame-shift, 0px));
}

.abdh-collapsed-origin,
.abdh-collapsed-origin > .elementor-widget-container,
.abdh-collapsed-origin-parent {
    width: 100%;
    min-width: 0;
    height: 0;
    min-height: 0;
    max-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    gap: 0;
    overflow: visible;
}

.abdh-header.abdh-viewport-portal,
.abdh-header.abdh-viewport-portal.gdp-is-scrolled {
    position: fixed;
    z-index: 9990;
    top: var(--abdh-admin-offset, 0px);
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    min-height: 0;
    background: transparent;
    transform: none;
}

.abdh-header .abdh-desktop-frame {
    position: relative;
    display: block;
    width: 100%;
    height: 136px;
    min-height: 136px;
    max-height: 136px;
    margin: 0;
    padding: 0;
    overflow: visible;
    background: #ffffff;
    transform: translateY(var(--abdh-visible-frame-shift, 0px));
}

.abdh-header .abdh-logo-panel,
.abdh-header:not(.gdp-is-scrolled) .abdh-logo-panel,
.abdh-header.gdp-is-scrolled .abdh-logo-panel {
    position: absolute;
    top: 0;
    right: auto;
    bottom: auto;
    left: 0;
    z-index: 4;
    width: clamp(245px, 16vw, 304px);
    min-width: clamp(245px, 16vw, 304px);
    max-width: clamp(245px, 16vw, 304px);
    height: 200px;
    min-height: 200px;
    margin: 0;
    padding: 24px 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(145deg, var(--gdp-purple-dark), var(--gdp-purple));
    border: 0;
    border-radius: 0;
    box-shadow: 8px 0 24px rgba(35, 20, 49, .14);
    transform: none;
}

.abdh-header .abdh-logo-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    display: block;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.15), transparent 67%);
    pointer-events: none;
}

.abdh-header .abdh-logo-panel::after {
    content: "";
    position: absolute;
    top: 22px;
    bottom: 22px;
    right: 0;
    width: 1px;
    display: block;
    background: rgba(255,255,255,.18);
}

.abdh-header .abdh-logo-panel img,
.abdh-header:not(.gdp-is-scrolled) .abdh-logo-panel img,
.abdh-header.gdp-is-scrolled .abdh-logo-panel img {
    position: relative;
    z-index: 1;
    display: block;
    width: min(215px, 100%);
    max-width: 100%;
    max-height: 88px;
    height: auto;
    margin: 0;
    object-fit: contain;
    object-position: center;
    filter: none;
    mix-blend-mode: normal;
}

.abdh-header .abdh-right-column {
    position: relative;
    z-index: 2;
    min-width: 0;
    width: calc(100% - clamp(245px, 16vw, 304px));
    height: 136px;
    min-height: 136px;
    max-height: 136px;
    margin-left: clamp(245px, 16vw, 304px);
    display: grid;
    grid-template-rows: 32px 104px;
    background: #ffffff;
}

.abdh-header .abdh-no-utility {
    height: 32px;
    background: linear-gradient(90deg, var(--gdp-purple-dark), var(--gdp-purple));
}

.abdh-header .abdh-utility-bar,
.abdh-header .abrtb-bar.abdh-utility-bar {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 32px;
    height: 32px;
    margin: 0;
    padding: 0 18px 0 clamp(24px, 5vw, 96px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    overflow: hidden;
    background: linear-gradient(90deg, var(--gdp-purple-dark), var(--gdp-purple));
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.abdh-header .abdh-utility-bar .abrtb-ticker,
.abdh-header .abdh-utility-bar .abrtb-track,
.abdh-header .abdh-utility-bar .abrtb-group,
.abdh-header .abdh-utility-bar .abrtb-right {
    min-height: 32px;
    height: 32px;
    align-items: center;
}

.abdh-header .abdh-utility-bar .abrtb-offer,
.abdh-header .abdh-utility-bar .abrtb-info-link {
    color: #ffffff;
    font-size: 12px;
    line-height: 1;
}

.abdh-header .abdh-navigation-row,
.abdh-header:not(.gdp-is-scrolled) .abdh-navigation-row,
.abdh-header.gdp-is-scrolled .abdh-navigation-row {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 104px;
    height: 104px;
    margin: 0;
    padding: 0;
    background: #ffffff;
    border: 0;
    border-bottom: 1px solid rgba(125,60,162,.12);
    border-radius: 0;
    box-shadow: 0 10px 24px rgba(23,37,58,.06);
    transform: none;
    overflow: visible;
}

.abdh-header .abdh-navigation-inner,
.abdh-header:not(.gdp-is-scrolled) .abdh-navigation-inner,
.abdh-header.gdp-is-scrolled .abdh-navigation-inner {
    width: 100%;
    max-width: none;
    min-height: 104px;
    height: 104px;
    margin: 0;
    padding: 0 18px 0 clamp(28px, 4vw, 78px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(12px, 1.4vw, 28px);
    overflow: visible;
    background: #ffffff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.abdh-header .gdp-desktop-nav {
    display: flex;
    grid-column: 1 / 2;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    overflow: visible;
}

.abdh-header .gdp-nav-list {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(5px, .65vw, 13px);
    overflow: visible;
}

.abdh-header .gdp-nav-list > li {
    flex: 0 0 auto;
}

.abdh-header .gdp-nav-link,
.abdh-header:not(.gdp-is-scrolled) .gdp-nav-link,
.abdh-header.gdp-is-scrolled .gdp-nav-link {
    min-height: 44px;
    height: 44px;
    padding: 0 clamp(5px, .48vw, 10px);
    color: var(--gdp-ink);
    font-size: clamp(11px, .78vw, 14px);
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    background: transparent;
}

.abdh-header .gdp-nav-actions,
.abdh-header:not(.gdp-is-scrolled) .gdp-nav-actions,
.abdh-header.gdp-is-scrolled .gdp-nav-actions {
    grid-column: 2 / 3;
    grid-row: 1;
    width: auto;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}

.abdh-header .gdp-request-link,
.abdh-header:not(.gdp-is-scrolled) .gdp-request-link,
.abdh-header.gdp-is-scrolled .gdp-request-link,
.abdh-header .gdp-menu-toggle,
.abdh-header:not(.gdp-is-scrolled) .gdp-menu-toggle,
.abdh-header.gdp-is-scrolled .gdp-menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
}

/* Content-driven CTA width: the existing text padding, arrow box and hover
   animation remain unchanged, while all legacy fixed/min widths are removed. */
.elementor-widget-ab-clinic-header .abdh-header .gdp-request-link,
.elementor-widget-ab-clinic-header .abdh-header:not(.gdp-is-scrolled) .gdp-request-link,
.elementor-widget-ab-clinic-header .abdh-header.gdp-is-scrolled .gdp-request-link,
.abdh-header.abdh-viewport-portal .gdp-request-link,
.abdh-header.abdh-viewport-portal:not(.gdp-is-scrolled) .gdp-request-link,
.abdh-header.abdh-viewport-portal.gdp-is-scrolled .gdp-request-link {
    width: fit-content;
    min-width: 0;
    max-width: none;
    flex-basis: auto;
    white-space: nowrap;
}

.abdh-header .gdp-request-text {
    width: auto;
    min-width: 0;
    max-width: none;
    white-space: nowrap;
}

/* Keep the existing off-canvas trigger visible beside the fluid-width CTA. */
.abdh-header.abdh-viewport-portal .abdh-navigation-inner .gdp-nav-actions .gdp-menu-toggle,
.abdh-header.abdh-viewport-portal:not(.gdp-is-scrolled) .abdh-navigation-inner .gdp-nav-actions .gdp-menu-toggle,
.abdh-header.abdh-viewport-portal.gdp-is-scrolled .abdh-navigation-inner .gdp-nav-actions .gdp-menu-toggle,
.abdh-header.abdh-viewport-portal .abdh-navigation-inner .gdp-nav-actions .gdp-menu-toggle[aria-expanded="false"],
.abdh-header.abdh-viewport-portal .abdh-navigation-inner .gdp-nav-actions .gdp-menu-toggle[aria-expanded="true"] {
    display: inline-flex;
    visibility: visible;
    opacity: 1;
    width: 48px;
    min-width: 48px;
    max-width: 48px;
    height: 48px;
    min-height: 48px;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    color: #111111;
    background: #ffffff;
    border: 1px solid #111111;
    box-shadow: none;
}

.abdh-header.abdh-viewport-portal .gdp-menu-toggle .gdp-menu-lines {
    display: flex;
    width: 24px;
    height: 18px;
    flex-direction: column;
    justify-content: space-between;
    visibility: visible;
    opacity: 1;
}

.abdh-header.abdh-viewport-portal .gdp-menu-toggle .gdp-menu-lines span {
    display: block;
    height: 2px;
    min-height: 2px;
    background: #111111;
    border-color: #111111;
    border-radius: 999px;
    transform: none;
}

.abdh-header.abdh-viewport-portal .gdp-menu-toggle .gdp-menu-lines span:nth-child(1) {
    width: 18px;
    margin-left: auto;
}

.abdh-header.abdh-viewport-portal .gdp-menu-toggle .gdp-menu-lines span:nth-child(2) {
    width: 24px;
    margin-left: 0;
}

.abdh-header.abdh-viewport-portal .gdp-menu-toggle .gdp-menu-lines span:nth-child(3) {
    width: 14px;
    margin-left: auto;
}

.abdh-header.abdh-viewport-portal .gdp-menu-toggle:hover .gdp-menu-lines span,
.abdh-header.abdh-viewport-portal .gdp-menu-toggle:focus-visible .gdp-menu-lines span {
    width: 24px;
}

/* Multi-level desktop submenu: open beside its parent, and flip left only
   when JavaScript detects insufficient viewport room on the right. */
@media (min-width: 1025px) {
    .abdh-header .gdp-submenu .gdp-has-submenu {
        position: relative;
        display: block;
        width: 100%;
        overflow: visible;
    }

    .abdh-header .gdp-submenu .gdp-has-submenu > .gdp-submenu {
        top: -10px;
        right: auto;
        left: calc(100% + 10px);
        z-index: 100002;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(-8px);
    }

    .abdh-header .gdp-submenu .gdp-has-submenu > .gdp-submenu::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: -12px;
        width: 12px;
        height: auto;
        display: block;
        background: transparent;
        pointer-events: auto;
    }

    .abdh-header .gdp-submenu .gdp-has-submenu:hover > .gdp-submenu,
    .abdh-header .gdp-submenu .gdp-has-submenu:focus-within > .gdp-submenu,
    .abdh-header .gdp-submenu .gdp-has-submenu.gdp-nested-open > .gdp-submenu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
    }

    .abdh-header .gdp-submenu .gdp-has-submenu.gdp-submenu-flip-left > .gdp-submenu {
        right: calc(100% + 10px);
        left: auto;
        transform: translateX(8px);
    }

    .abdh-header .gdp-submenu .gdp-has-submenu.gdp-submenu-flip-left > .gdp-submenu::before,
    .abdh-header .gdp-more-submenu .gdp-has-submenu > .gdp-submenu::before {
        right: -12px;
        left: auto;
    }

    .abdh-header .gdp-more-submenu .gdp-has-submenu > .gdp-submenu {
        right: calc(100% + 10px);
        left: auto;
    }

    .abdh-header .gdp-submenu .gdp-has-submenu.gdp-submenu-flip-left:hover > .gdp-submenu,
    .abdh-header .gdp-submenu .gdp-has-submenu.gdp-submenu-flip-left:focus-within > .gdp-submenu,
    .abdh-header .gdp-submenu .gdp-has-submenu.gdp-submenu-flip-left.gdp-nested-open > .gdp-submenu {
        transform: translateX(0);
    }
}

.abdh-header .gdp-more-menu[hidden] {
    display: none;
}

.abdh-header .gdp-more-toggle {
    appearance: none;
    border: 0;
    cursor: pointer;
}

.abdh-header .gdp-more-submenu {
    left: auto;
    right: 0;
    min-width: 240px;
    padding: 10px;
}

.abdh-header .gdp-more-menu.gdp-desktop-open > .gdp-more-submenu,
.abdh-header .gdp-more-menu:hover > .gdp-more-submenu,
.abdh-header .gdp-more-menu:focus-within > .gdp-more-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.abdh-header .gdp-more-submenu > li,
.abdh-header .gdp-more-submenu > li > .gdp-nav-link {
    width: 100%;
}

.abdh-header .gdp-more-submenu > li > .gdp-nav-link {
    justify-content: space-between;
    color: var(--gdp-ink);
}

@media (max-width: 1024px) {
    html.abdh-portal-active body.abdh-portal-active {
        padding-top: calc(var(--abdh-original-body-padding-top, 0px) + 76px + var(--abdh-visible-frame-shift, 0px));
    }

    .abdh-header .abdh-desktop-frame {
        display: grid;
        grid-template-columns: minmax(120px, 1fr) auto;
        height: 76px;
        min-height: 76px;
        max-height: 76px;
        padding: 0 14px;
        align-items: center;
        background: #ffffff;
    }

    .abdh-header .abdh-logo-panel,
    .abdh-header:not(.gdp-is-scrolled) .abdh-logo-panel,
    .abdh-header.gdp-is-scrolled .abdh-logo-panel {
        position: relative;
        inset: auto;
        width: 100%;
        min-width: 0;
        max-width: none;
        min-height: 76px;
        height: 76px;
        padding: 10px 0;
        justify-content: flex-start;
        background: transparent;
        box-shadow: none;
    }

    .abdh-header .abdh-logo-panel::before,
    .abdh-header .abdh-logo-panel::after {
        display: none;
    }

    .abdh-header .abdh-logo-panel img,
    .abdh-header:not(.gdp-is-scrolled) .abdh-logo-panel img,
    .abdh-header.gdp-is-scrolled .abdh-logo-panel img {
        width: 150px;
        max-height: 54px;
        filter: none;
    }

    .abdh-header .abdh-right-column {
        display: block;
        width: auto;
        height: auto;
        min-height: 0;
        max-height: none;
        margin-left: 0;
    }

    .abdh-header .abdh-utility-bar,
    .abdh-header .abdh-no-utility,
    .abdh-header .gdp-desktop-nav,
    .abdh-header .gdp-request-link {
        display: none;
    }

    .abdh-header .abdh-navigation-row,
    .abdh-header:not(.gdp-is-scrolled) .abdh-navigation-row,
    .abdh-header.gdp-is-scrolled .abdh-navigation-row,
    .abdh-header .abdh-navigation-inner,
    .abdh-header:not(.gdp-is-scrolled) .abdh-navigation-inner,
    .abdh-header.gdp-is-scrolled .abdh-navigation-inner {
        position: static;
        width: auto;
        min-height: 0;
        height: auto;
        margin: 0;
        padding: 0;
        display: block;
        background: transparent;
        border: 0;
        box-shadow: none;
        overflow: visible;
    }

    .abdh-header .gdp-nav-actions,
    .abdh-header:not(.gdp-is-scrolled) .gdp-nav-actions,
    .abdh-header.gdp-is-scrolled .gdp-nav-actions {
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }
}

/* Desktop utility links finish flush against the viewport edge. */
@media (min-width: 1025px) {
    .abdh-header .abdh-utility-bar,
    .abdh-header .abrtb-bar.abdh-utility-bar {
        padding-right: 0;
    }

    .abdh-header .abdh-utility-bar .abrtb-right {
        margin-right: 0;
        padding-right: 18px;
        justify-self: end;
    }
}

/* Tablet/mobile retain the same two-row floating logo system as desktop.
   Direct navigation is removed; CTA and canvas trigger occupy the nav row. */
@media (max-width: 1024px) {
    html.abdh-portal-active body.abdh-portal-active {
        padding-top: calc(var(--abdh-original-body-padding-top, 0px) + 136px + var(--abdh-visible-frame-shift, 0px));
    }

    .abdh-header {
        --abdh-responsive-logo-width: clamp(150px, 28vw, 245px);
    }

    .abdh-header .abdh-desktop-frame {
        position: relative;
        display: block;
        width: 100%;
        height: 136px;
        min-height: 136px;
        max-height: 136px;
        padding: 0;
        overflow: visible;
        background: #ffffff;
    }

    .abdh-header .abdh-logo-panel,
    .abdh-header:not(.gdp-is-scrolled) .abdh-logo-panel,
    .abdh-header.gdp-is-scrolled .abdh-logo-panel {
        position: absolute;
        top: 0;
        right: auto;
        bottom: auto;
        left: 0;
        width: var(--abdh-responsive-logo-width);
        min-width: var(--abdh-responsive-logo-width);
        max-width: var(--abdh-responsive-logo-width);
        height: 200px;
        min-height: 200px;
        margin: 0;
        padding: 20px;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        background: linear-gradient(145deg, var(--gdp-purple-dark), var(--gdp-purple));
        box-shadow: 8px 0 24px rgba(35,20,49,.14);
    }

    .abdh-header .abdh-logo-panel::before,
    .abdh-header .abdh-logo-panel::after {
        display: block;
    }

    .abdh-header .abdh-logo-panel img,
    .abdh-header:not(.gdp-is-scrolled) .abdh-logo-panel img,
    .abdh-header.gdp-is-scrolled .abdh-logo-panel img {
        width: min(190px, 100%);
        max-height: 88px;
        object-position: center;
        filter: none;
    }

    .abdh-header .abdh-right-column {
        width: calc(100% - var(--abdh-responsive-logo-width));
        height: 136px;
        min-height: 136px;
        max-height: 136px;
        margin-left: var(--abdh-responsive-logo-width);
        display: grid;
        grid-template-rows: 32px 104px;
    }

    .abdh-header .abdh-utility-bar,
    .abdh-header .abrtb-bar.abdh-utility-bar {
        display: grid;
    }

    .abdh-header .abdh-navigation-row,
    .abdh-header:not(.gdp-is-scrolled) .abdh-navigation-row,
    .abdh-header.gdp-is-scrolled .abdh-navigation-row {
        position: relative;
        width: 100%;
        min-height: 104px;
        height: 104px;
        background: #ffffff;
        border-bottom: 1px solid rgba(125,60,162,.12);
    }

    .abdh-header .abdh-navigation-inner,
    .abdh-header:not(.gdp-is-scrolled) .abdh-navigation-inner,
    .abdh-header.gdp-is-scrolled .abdh-navigation-inner {
        width: 100%;
        min-height: 104px;
        height: 104px;
        padding: 0 16px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        background: #ffffff;
    }

    .abdh-header .gdp-desktop-nav {
        display: none;
    }

    .abdh-header .gdp-request-link,
    .abdh-header:not(.gdp-is-scrolled) .gdp-request-link,
    .abdh-header.gdp-is-scrolled .gdp-request-link {
        display: inline-flex;
    }

    .abdh-header .gdp-nav-actions,
    .abdh-header:not(.gdp-is-scrolled) .gdp-nav-actions,
    .abdh-header.gdp-is-scrolled .gdp-nav-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
    }
}

/* Preserve the desktop CTA visual treatment on tablet. Only its surrounding
   navigation layout changes at this breakpoint; the button itself does not. */
@media (max-width: 1024px) {
    .abdh-header.abdh-viewport-portal .gdp-request-link,
    .abdh-header.abdh-viewport-portal:not(.gdp-is-scrolled) .gdp-request-link,
    .abdh-header.abdh-viewport-portal.gdp-is-scrolled .gdp-request-link {
        position: relative;
        isolation: isolate;
        box-sizing: border-box;
        display: grid;
        grid-template-columns: minmax(0, auto) 36px;
        align-items: center;
        justify-items: stretch;
        column-gap: 12px;
        width: fit-content;
        min-width: 0;
        max-width: none;
        min-height: 48px;
        height: 48px;
        padding: 5px 5px 5px 18px;
        overflow: hidden;
        white-space: nowrap;
        color: #172130;
        background: linear-gradient(135deg, #fff8e9 0%, #efdfbd 100%);
        border: 1px solid rgba(234, 216, 177, .96);
        border-radius: 13px;
        box-shadow: 0 7px 16px rgba(6, 10, 17, .16), inset 0 1px 0 rgba(255,255,255,.70);
        transform: none;
        transition: color .34s ease, border-color .34s ease, box-shadow .38s ease, transform .38s cubic-bezier(.22,1,.36,1);
    }

    .abdh-header.abdh-viewport-portal .gdp-request-link .gdp-request-text {
        position: relative;
        z-index: 2;
        grid-column: 1;
        width: auto;
        min-width: 0;
        color: inherit;
        text-align: center;
        white-space: nowrap;
    }

    .abdh-header.abdh-viewport-portal .gdp-request-link::before {
        content: "";
        position: absolute;
        inset: -1px;
        display: block;
        border-radius: inherit;
        background-image: linear-gradient(112deg, #172130 0%, #263b5f 24%, #6c3a91 47%, #963d9c 68%, #c18a45 86%, #172130 100%);
        background-size: 220% 100%;
        background-position: 0% 50%;
        clip-path: polygon(0 0, 86% 0, 100% 50%, 86% 100%, 0 100%);
        transform: translateX(-108%);
        transform-origin: left center;
        opacity: 1;
        z-index: 0;
        pointer-events: none;
        transition: transform .72s cubic-bezier(.16,1,.3,1);
    }

    .abdh-header.abdh-viewport-portal .gdp-request-link::after {
        content: "↗";
        position: relative;
        inset: auto;
        z-index: 2;
        grid-column: 2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        min-width: 36px;
        height: 36px;
        margin: 0;
        color: #ffffff;
        background: #172130;
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 11px;
        box-shadow: 0 5px 12px rgba(7, 11, 18, .18);
        transform: none;
        font-family: inherit;
        font-size: 15px;
        font-weight: 700;
        line-height: 1;
        transition: color .32s ease, background .32s ease, border-color .32s ease, box-shadow .32s ease, transform .38s cubic-bezier(.22,1,.36,1);
    }

    .abdh-header.abdh-viewport-portal .gdp-request-link:hover,
    .abdh-header.abdh-viewport-portal .gdp-request-link:focus-visible {
        color: #ffffff;
        background: linear-gradient(135deg, #fff8e9 0%, #efdfbd 100%);
        border-color: rgba(215, 169, 79, .72);
        box-shadow: 0 16px 30px rgba(7, 11, 18, .24), 0 0 0 3px rgba(215,169,79,.08);
        transform: translateY(-2px);
    }

    .abdh-header.abdh-viewport-portal .gdp-request-link:hover::before,
    .abdh-header.abdh-viewport-portal .gdp-request-link:focus-visible::before {
        transform: translateX(0);
        animation: gdp-v33-cta-spectrum 2.2s linear infinite;
    }

    .abdh-header.abdh-viewport-portal .gdp-request-link:hover::after,
    .abdh-header.abdh-viewport-portal .gdp-request-link:focus-visible::after {
        color: #172130;
        background: #ffffff;
        border-color: rgba(255,255,255,.72);
        transform: translateX(2px);
    }
}

@media (max-width: 600px) {
    .abdh-header {
        --abdh-responsive-logo-width: clamp(132px, 40vw, 170px);
    }

    .abdh-header .abdh-utility-bar .abrtb-ticker {
        display: none;
    }

    .abdh-header .abdh-utility-bar,
    .abdh-header .abrtb-bar.abdh-utility-bar {
        grid-template-columns: 1fr;
        padding: 0 8px;
    }

    .abdh-header .abdh-utility-bar .abrtb-right {
        width: 100%;
        justify-content: flex-end;
    }
}

/* Compact laptops: center the four-item navigation group and keep a clear,
   responsive rhythm without allowing item gaps to exceed 40px. */
@media (min-width: 1025px) and (max-width: 1600px) {
    .abdh-header .gdp-desktop-nav,
    .abdh-header:not(.gdp-is-scrolled) .gdp-desktop-nav,
    .abdh-header.gdp-is-scrolled .gdp-desktop-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-width: 0;
        padding: 0 10px;
        transform: none;
    }

    .abdh-header .gdp-nav-list,
    .abdh-header:not(.gdp-is-scrolled) .gdp-nav-list,
    .abdh-header.gdp-is-scrolled .gdp-nav-list {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0;
        justify-content: space-between;
        column-gap: clamp(8px, 1vw, 16px);
        row-gap: 0;
    }

    .abdh-header .gdp-nav-list > li {
        flex: 0 0 auto;
        min-width: max-content;
        justify-content: center;
    }

    .abdh-header .gdp-nav-link,
    .abdh-header:not(.gdp-is-scrolled) .gdp-nav-link,
    .abdh-header.gdp-is-scrolled .gdp-nav-link {
        width: auto;
        min-width: max-content;
        padding-right: 4px;
        padding-left: 4px;
        font-size: 14px;
        line-height: 1.2;
        white-space: nowrap;
    }
}

/* Final compact-laptop alignment lock: beat legacy header selectors and
   center the natural-width menu group independently of the action buttons. */
@media (min-width: 1025px) and (max-width: 1600px) {
    .abdh-header.abdh-viewport-portal .abdh-navigation-row > .abdh-navigation-inner,
    .abdh-header.abdh-viewport-portal:not(.gdp-is-scrolled) .abdh-navigation-row > .abdh-navigation-inner,
    .abdh-header.abdh-viewport-portal.gdp-is-scrolled .abdh-navigation-row > .abdh-navigation-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 10px;
        width: 100%;
        padding-right: 16px;
        padding-left: 16px;
    }

    .abdh-header.abdh-viewport-portal .abdh-navigation-inner > .gdp-desktop-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0 10px;
        transform: none;
    }

    .abdh-header.abdh-viewport-portal .abdh-navigation-inner > .gdp-desktop-nav > .gdp-nav-list {
        display: flex;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0 6px;
        align-items: center;
        justify-content: space-between;
        column-gap: clamp(16px, 2vw, 32px);
        row-gap: 0;
        transform: none;
    }

    .abdh-header.abdh-viewport-portal .abdh-navigation-inner > .gdp-desktop-nav > .gdp-nav-list > li {
        flex: 0 0 auto;
        min-width: max-content;
    }
}

/* Sticky-only menu state: retain every existing interaction and change only
   hover/current text colour to the theme purple. */
.abdh-header.gdp-is-scrolled .gdp-desktop-nav .gdp-nav-link:hover,
.abdh-header.gdp-is-scrolled .gdp-desktop-nav .gdp-nav-link:focus-visible,
.abdh-header.gdp-is-scrolled .gdp-desktop-nav .gdp-nav-link.gdp-current,
.abdh-header.gdp-is-scrolled .gdp-desktop-nav .current-menu-item > .gdp-nav-link,
.abdh-header.gdp-is-scrolled .gdp-desktop-nav .current-menu-ancestor > .gdp-nav-link,
.abdh-header.gdp-is-scrolled .gdp-desktop-nav .gdp-nav-parent[aria-expanded="true"] {
    color: var(--gdp-purple, #7d3ca2);
}

/* Small laptops use the same clean desktop hover/current treatment. This
   neutralises only the legacy filled pill layer in the 1025-1320px range. */
@media (min-width: 1025px) and (max-width: 1320px) {
    .abdh-header .gdp-desktop-nav .gdp-nav-link::before,
    .abdh-header.gdp-is-scrolled .gdp-desktop-nav .gdp-nav-link::before {
        content: none;
        display: none;
        background: none;
        box-shadow: none;
        animation: none;
    }

    .abdh-header .gdp-desktop-nav .gdp-nav-link::after,
    .abdh-header.gdp-is-scrolled .gdp-desktop-nav .gdp-nav-link::after {
        content: "";
        position: absolute;
        left: 4px;
        right: 4px;
        bottom: 6px;
        width: auto;
        height: 4px;
        display: block;
        border-radius: 999px;
        background: var(--gdp-purple, #7d3ca2);
        opacity: 0;
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform .32s cubic-bezier(.22,1,.36,1), opacity .18s ease;
        pointer-events: none;
    }

    .abdh-header .gdp-desktop-nav .gdp-nav-link:hover,
    .abdh-header .gdp-desktop-nav .gdp-nav-link:focus-visible,
    .abdh-header .gdp-desktop-nav .gdp-nav-link.gdp-current,
    .abdh-header .gdp-desktop-nav .current-menu-item > .gdp-nav-link,
    .abdh-header .gdp-desktop-nav .current-menu-ancestor > .gdp-nav-link,
    .abdh-header .gdp-desktop-nav .gdp-nav-parent[aria-expanded="true"] {
        color: var(--gdp-purple, #7d3ca2);
        border-color: transparent;
        background: transparent;
        box-shadow: none;
        transform: none;
    }

    .abdh-header .gdp-desktop-nav .gdp-nav-link:hover::after,
    .abdh-header .gdp-desktop-nav .gdp-nav-link:focus-visible::after,
    .abdh-header .gdp-desktop-nav .gdp-nav-link.gdp-current::after,
    .abdh-header .gdp-desktop-nav .current-menu-item > .gdp-nav-link::after,
    .abdh-header .gdp-desktop-nav .current-menu-ancestor > .gdp-nav-link::after,
    .abdh-header .gdp-desktop-nav .gdp-nav-parent[aria-expanded="true"]::after {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Sticky header never keeps the utility/top bar. Collapse its reserved row so
   the navigation sits directly at the top without changing desktop content. */
.abdh-header.gdp-is-scrolled .abdh-utility-bar,
.abdh-header.gdp-is-scrolled .abrtb-bar.abdh-utility-bar,
.abdh-header.gdp-is-scrolled .abdh-no-utility {
    display: none;
    height: 0;
    min-height: 0;
    overflow: hidden;
}

.abdh-header.gdp-is-scrolled .abdh-right-column {
    height: 104px;
    min-height: 104px;
    max-height: 104px;
    grid-template-rows: 104px;
}

.abdh-header.gdp-is-scrolled .abdh-desktop-frame {
    height: 104px;
    min-height: 104px;
    max-height: 104px;
}

/* Tablet/mobile: one theme-coloured header container with the existing logo
   at left and the unchanged canvas trigger at right. */
@media (max-width: 1024px) {
    html.abdh-portal-active body.abdh-portal-active {
        padding-top: calc(var(--abdh-original-body-padding-top, 0px) + 90px + var(--abdh-visible-frame-shift, 0px));
    }

    .abdh-header .abdh-desktop-frame,
    .abdh-header:not(.gdp-is-scrolled) .abdh-desktop-frame,
    .abdh-header.gdp-is-scrolled .abdh-desktop-frame {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 90px;
        min-height: 90px;
        max-height: 90px;
        margin: 0;
        padding: 0;
        overflow: visible;
        background: linear-gradient(145deg, var(--gdp-purple-dark, #5e267c), var(--gdp-purple, #7d3ca2));
        border: 0;
        box-shadow: 0 8px 22px rgba(35,20,49,.18);
    }

    .abdh-header .abdh-logo-panel,
    .abdh-header:not(.gdp-is-scrolled) .abdh-logo-panel,
    .abdh-header.gdp-is-scrolled .abdh-logo-panel {
        position: relative;
        inset: auto;
        z-index: 2;
        width: clamp(150px, 38vw, 220px);
        min-width: 0;
        max-width: 220px;
        height: 90px;
        min-height: 90px;
        margin: 0;
        padding: 14px 20px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        overflow: hidden;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        transform: none;
    }

    .abdh-header .abdh-logo-panel::before,
    .abdh-header .abdh-logo-panel::after {
        content: none;
        display: none;
    }

    .abdh-header .abdh-logo-panel img,
    .abdh-header:not(.gdp-is-scrolled) .abdh-logo-panel img,
    .abdh-header.gdp-is-scrolled .abdh-logo-panel img {
        width: min(175px, 100%);
        max-width: 100%;
        max-height: 58px;
        object-position: left center;
        filter: none;
    }

    .abdh-header .abdh-right-column,
    .abdh-header.gdp-is-scrolled .abdh-right-column {
        position: relative;
        z-index: 2;
        display: block;
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        height: 90px;
        min-height: 90px;
        max-height: 90px;
        margin: 0;
        background: transparent;
    }

    .abdh-header .abdh-utility-bar,
    .abdh-header .abrtb-bar.abdh-utility-bar,
    .abdh-header .abdh-no-utility,
    .abdh-header .gdp-desktop-nav,
    .abdh-header .gdp-request-link {
        display: none;
    }

    .abdh-header .abdh-navigation-row,
    .abdh-header:not(.gdp-is-scrolled) .abdh-navigation-row,
    .abdh-header.gdp-is-scrolled .abdh-navigation-row,
    .abdh-header .abdh-navigation-inner,
    .abdh-header:not(.gdp-is-scrolled) .abdh-navigation-inner,
    .abdh-header.gdp-is-scrolled .abdh-navigation-inner {
        position: relative;
        inset: auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: 100%;
        height: 90px;
        min-height: 90px;
        max-height: 90px;
        margin: 0;
        padding: 0 16px;
        overflow: visible;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .abdh-header .gdp-nav-actions,
    .abdh-header:not(.gdp-is-scrolled) .gdp-nav-actions,
    .abdh-header.gdp-is-scrolled .gdp-nav-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: auto;
        height: auto;
        margin: 0;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .abdh-header.abdh-viewport-portal .abdh-navigation-inner .gdp-nav-actions .gdp-menu-toggle,
    .abdh-header.abdh-viewport-portal .abdh-navigation-inner .gdp-nav-actions .gdp-menu-toggle:hover,
    .abdh-header.abdh-viewport-portal .abdh-navigation-inner .gdp-nav-actions .gdp-menu-toggle:focus-visible,
    .abdh-header.abdh-viewport-portal .abdh-navigation-inner .gdp-nav-actions .gdp-menu-toggle[aria-expanded="false"],
    .abdh-header.abdh-viewport-portal .abdh-navigation-inner .gdp-nav-actions .gdp-menu-toggle[aria-expanded="true"] {
        display: inline-flex;
        width: 48px;
        min-width: 48px;
        max-width: 48px;
        height: 48px;
        min-height: 48px;
        padding: 0;
        color: #111111;
        background: rgba(255,255,255,.06);
        border: 1px solid rgba(255,255,255,.28);
        border-radius: 6px;
        box-shadow: none;
    }

    .abdh-header.abdh-viewport-portal .gdp-menu-toggle .gdp-menu-lines span {
        background: currentColor;
        border-color: currentColor;
    }
}

/* Lighten the complete theme gradient behind the original-colour logo. There
   is deliberately no separate circle, glow or image colour filter. */
.abdh-header .abdh-logo-panel,
.abdh-header:not(.gdp-is-scrolled) .abdh-logo-panel,
.abdh-header.gdp-is-scrolled .abdh-logo-panel {
    background:
        linear-gradient(135deg, rgba(255,255,255,.70), rgba(255,255,255,.08)),
        linear-gradient(120deg, #f7d7ff 0%, #c278dd 55%, #7d3ca2 100%);
}

.abdh-header .abdh-logo-panel::before,
.abdh-header:not(.gdp-is-scrolled) .abdh-logo-panel::before,
.abdh-header.gdp-is-scrolled .abdh-logo-panel::before {
    content: none;
    display: none;
    background: none;
    filter: none;
}

/* Match only the scrolling-offers side of the desktop top bar to the same
   lightened theme gradient used behind the logo. */
@media (min-width: 1025px) {
    .abdh-header .abdh-utility-bar,
    .abdh-header .abrtb-bar.abdh-utility-bar,
    .abdh-header .abdh-utility-bar .abrtb-ticker {
        background: linear-gradient(135deg, #f7d7ff 0%, #e4a8f7 52%, #c477de 100%);
    }

    .abdh-header .abdh-utility-bar .abrtb-ticker .abrtb-offer,
    .abdh-header .abdh-utility-bar .abrtb-ticker .abrtb-offer:hover,
    .abdh-header .abdh-utility-bar .abrtb-ticker .abrtb-offer:focus-visible {
        color: #172130;
    }
}

/* AB Clinic Header: fixed static utility actions; original right-side quick links are preserved. */
@media (min-width: 1025px) {
    .abdh-header .abdh-utility-bar,
    .abdh-header .abrtb-bar.abdh-utility-bar,
    .abdh-header .abdh-utility-bar .abrtb-static-ticker,
    .abdh-header .abdh-utility-bar .abrtb-right {
        background: #132A48;
        background-color: #132A48;
        background-image: none;
    }

    .abdh-header .abdh-utility-bar,
    .abdh-header .abrtb-bar.abdh-utility-bar {
        padding-left: 18px;
        padding-right: 0;
        grid-template-columns: minmax(0, 1fr) auto;
        overflow: hidden;
    }

    .abdh-header .abrtb-static-ticker {
        min-width: 0;
        min-height: 32px;
        height: 32px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        overflow: hidden;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .abdh-header .abrtb-static-actions {
        position: relative;
        z-index: 2;
        min-width: 0;
        min-height: 32px;
        height: 32px;
        width: auto;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        overflow: hidden;
        white-space: nowrap;
    }

    .abdh-header .abrtb-static-action {
        position: relative;
        inset: auto;
        z-index: 2;
        isolation: isolate;
        width: auto;
        min-width: 0;
        max-width: none;
        height: 24px;
        min-height: 24px;
        max-height: 24px;
        margin: 0;
        padding: 0 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        gap: 6px;
        overflow: hidden;
        color: #FFFFFF;
        background: rgba(255,255,255,.08);
        background-image: none;
        border: 1px solid rgba(255,255,255,.20);
        border-radius: 4px;
        box-shadow: none;
        filter: none;
        opacity: 1;
        transform: none;
        text-decoration: none;
        text-indent: 0;
        font-size: 11px;
        font-weight: 600;
        line-height: 1;
        letter-spacing: 0;
        white-space: nowrap;
        appearance: none;
        -webkit-appearance: none;
    }

    .abdh-header .abrtb-static-action::before,
    .abdh-header .abrtb-static-action::after {
        content: none;
        display: none;
        width: 0;
        height: 0;
        background: none;
        border: 0;
        box-shadow: none;
    }

    .abdh-header .abrtb-static-action:hover,
    .abdh-header .abrtb-static-action:focus-visible {
        color: #FFFFFF;
        background: rgba(255,255,255,.16);
        border-color: rgba(255,255,255,.42);
        box-shadow: none;
        transform: none;
    }

    .abdh-header .abrtb-static-action-icon,
    .abdh-header .abrtb-static-action-text {
        position: relative;
        z-index: 3;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        height: auto;
        margin: 0;
        padding: 0;
        color: inherit;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        transform: none;
        line-height: 1;
    }

    .abdh-header .abrtb-static-action-icon {
        flex: 0 0 auto;
        width: 12px;
        font-size: 11px;
    }

    .abdh-header .abrtb-static-action-icon i {
        position: static;
        width: auto;
        height: auto;
        margin: 0;
        padding: 0;
        color: inherit;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        font-size: 11px;
        line-height: 1;
        transform: none;
    }

    .abdh-header .abrtb-static-action-icon svg {
        position: static;
        display: block;
        width: 11px;
        min-width: 11px;
        max-width: 11px;
        height: 11px;
        min-height: 11px;
        max-height: 11px;
        margin: 0;
        padding: 0;
        overflow: visible;
        fill: currentColor;
        color: inherit;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        transform: none;
    }

    /* Right side must remain exactly available: phone, patient portal and shop. */
    .abdh-header .abdh-utility-bar .abrtb-right {
        position: relative;
        z-index: 5;
        width: auto;
        min-width: max-content;
        min-height: 32px;
        height: 32px;
        margin: 0;
        padding: 0 18px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        justify-self: end;
        flex: 0 0 auto;
        visibility: visible;
        opacity: 1;
        overflow: visible;
        white-space: nowrap;
        border-left: 1px solid rgba(255,255,255,.16);
    }

    .abdh-header .abdh-utility-bar .abrtb-info-link {
        display: inline-flex;
        align-items: center;
        visibility: visible;
        opacity: 1;
        color: #FFFFFF;
    }
}


/* Final hardening: the header can also be rendered outside Elementor's normal widget wrapper.
   Keep static action icons constrained so Font Awesome SVGs can never expand into the bar. */
@media (min-width: 1025px) {
    .abdh-header .abdh-utility-bar,
    .abdh-header .abrtb-bar.abdh-utility-bar,
    .abdh-header .abdh-utility-bar .abrtb-static-ticker,
    .abdh-header .abdh-utility-bar .abrtb-right {
        background: #132A48;
        background-color: #132A48;
        background-image: none;
    }

    .abdh-header .abdh-utility-bar .abrtb-static-ticker {
        mask: none;
        -webkit-mask: none;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .abdh-header .abrtb-static-actions {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        min-width: 0;
        height: 32px;
        overflow: hidden;
        white-space: nowrap;
    }

    .abdh-header .abrtb-static-action {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        gap: 6px;
        width: auto;
        min-width: 0;
        height: 24px;
        min-height: 24px;
        max-height: 24px;
        margin: 0;
        padding: 0 10px;
        overflow: hidden;
        color: #FFFFFF;
        background: rgba(255,255,255,.08);
        background-image: none;
        border: 1px solid rgba(255,255,255,.20);
        border-radius: 4px;
        box-shadow: none;
        transform: none;
        filter: none;
        text-decoration: none;
        white-space: nowrap;
        font-size: 11px;
        font-weight: 600;
        line-height: 1;
    }

    .abdh-header .abrtb-static-action::before,
    .abdh-header .abrtb-static-action::after,
    .abdh-header .abrtb-static-action-icon::before,
    .abdh-header .abrtb-static-action-icon::after {
        content: none;
        display: none;
    }

    .abdh-header .abrtb-static-action-icon {
        position: static;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 12px;
        width: 12px;
        min-width: 12px;
        max-width: 12px;
        height: 12px;
        min-height: 12px;
        max-height: 12px;
        margin: 0;
        padding: 0;
        overflow: hidden;
        color: #FFFFFF;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        transform: none;
        line-height: 1;
    }

    .abdh-header .abrtb-static-action-icon i {
        position: static;
        display: block;
        width: 11px;
        min-width: 11px;
        max-width: 11px;
        height: 11px;
        min-height: 11px;
        max-height: 11px;
        margin: 0;
        padding: 0;
        color: inherit;
        background: transparent;
        border: 0;
        font-size: 11px;
        line-height: 11px;
        transform: none;
    }

    .abdh-header .abrtb-static-action-icon svg,
    .abdh-header .abrtb-static-action-icon svg.e-font-icon-svg {
        position: static;
        display: block;
        flex: 0 0 11px;
        width: 11px;
        min-width: 11px;
        max-width: 11px;
        height: 11px;
        min-height: 11px;
        max-height: 11px;
        margin: 0;
        padding: 0;
        overflow: hidden;
        color: #FFFFFF;
        fill: currentColor;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        transform: none;
    }

    .abdh-header .abrtb-static-action-icon svg path,
    .abdh-header .abrtb-static-action-icon svg use,
    .abdh-header .abrtb-static-action-icon svg g {
        fill: currentColor;
        color: inherit;
    }

    .abdh-header .abrtb-static-action-text {
        position: static;
        display: inline-block;
        width: auto;
        height: auto;
        margin: 0;
        padding: 0;
        color: inherit;
        background: transparent;
        border: 0;
        box-shadow: none;
        transform: none;
        line-height: 1;
    }

    .abdh-header .abdh-utility-bar .abrtb-right {
        position: relative;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex: 0 0 auto;
        width: auto;
        min-width: max-content;
        height: 32px;
        min-height: 32px;
        padding: 0 18px;
        overflow: visible;
        visibility: visible;
        opacity: 1;
        background: #132A48;
        background-color: #132A48;
        background-image: none;
        white-space: nowrap;
    }

    .abdh-header .abdh-utility-bar .abrtb-info-link,
    .abdh-header .abdh-utility-bar .abrtb-info-icon,
    .abdh-header .abdh-utility-bar .abrtb-info-icon svg {
        visibility: visible;
        opacity: 1;
    }
}

/* =========================================================
   AB CLINIC — STICKY DESKTOP MENU SPACING LOCK
   Keep the sticky navigation spacing identical to the normal
   desktop navigation. Only the scrolled state is overridden.
   ========================================================= */
@media (min-width: 1025px) {
    .abdh-header.abdh-viewport-portal.gdp-is-scrolled .abdh-navigation-row > .abdh-navigation-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        width: 100%;
        max-width: none;
        min-width: 0;
        min-height: 104px;
        height: 104px;
        margin: 0;
        padding: 0 18px 0 clamp(28px, 4vw, 78px);
        column-gap: clamp(12px, 1.4vw, 28px);
        overflow: visible;
        transform: none;
    }

    .abdh-header.abdh-viewport-portal.gdp-is-scrolled .abdh-navigation-inner > .gdp-desktop-nav {
        display: flex;
        grid-column: 1 / 2;
        grid-row: 1;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0;
        transform: none;
        overflow: visible;
    }

    .abdh-header.abdh-viewport-portal.gdp-is-scrolled .abdh-navigation-inner > .gdp-desktop-nav > .gdp-nav-list {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0;
        column-gap: clamp(5px, .65vw, 13px);
        row-gap: 0;
        transform: none;
        overflow: visible;
    }

    .abdh-header.abdh-viewport-portal.gdp-is-scrolled .abdh-navigation-inner > .gdp-desktop-nav > .gdp-nav-list > li {
        flex: 0 0 auto;
        min-width: max-content;
    }

    .abdh-header.abdh-viewport-portal.gdp-is-scrolled .gdp-desktop-nav .gdp-nav-link {
        width: auto;
        min-width: max-content;
        min-height: 44px;
        height: 44px;
        padding: 0 clamp(5px, .48vw, 10px);
        font-size: clamp(11px, .78vw, 14px);
        font-weight: 500;
        line-height: 1;
        letter-spacing: normal;
        white-space: nowrap;
    }

    .abdh-header.abdh-viewport-portal.gdp-is-scrolled .abdh-navigation-inner > .gdp-nav-actions {
        grid-column: 2 / 3;
        grid-row: 1;
        width: auto;
        min-width: 0;
        margin: 0;
        padding: 4px;
        display: flex;
        align-items: center;
        gap: 6px;
        flex: 0 0 auto;
    }
}

/* The normal 1025–1600px header uses a wider distributed menu rhythm.
   Re-apply that exact rhythm after the sticky class is added. */
@media (min-width: 1025px) and (max-width: 1600px) {
    .abdh-header.abdh-viewport-portal.gdp-is-scrolled .abdh-navigation-row > .abdh-navigation-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 10px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .abdh-header.abdh-viewport-portal.gdp-is-scrolled .abdh-navigation-inner > .gdp-desktop-nav {
        width: 100%;
        min-width: 0;
        padding: 0 10px;
        justify-content: center;
    }

    .abdh-header.abdh-viewport-portal.gdp-is-scrolled .abdh-navigation-inner > .gdp-desktop-nav > .gdp-nav-list {
        width: 100%;
        max-width: 100%;
        padding: 0 6px;
        justify-content: space-between;
        column-gap: clamp(16px, 2vw, 32px);
        row-gap: 0;
    }

    .abdh-header.abdh-viewport-portal.gdp-is-scrolled .gdp-desktop-nav .gdp-nav-link {
        width: auto;
        min-width: max-content;
        padding-right: 4px;
        padding-left: 4px;
        font-size: 14px;
        line-height: 1.2;
        letter-spacing: normal;
        white-space: nowrap;
    }
}


/* Restore the Genesis logo feature panel shape for the latest header design.
   This keeps the rest of the cleaned header untouched and only rebuilds the
   left logo panel visual. */
@media (min-width: 1025px) {
    .abdh-header {
        --abdh-logo-panel-width: 304px;
        --abdh-logo-panel-height: 202px;
    }

    .abdh-header .abdh-desktop-frame,
    .abdh-header:not(.gdp-is-scrolled) .abdh-desktop-frame,
    .abdh-header.gdp-is-scrolled .abdh-desktop-frame {
        overflow: visible !important;
    }

    .abdh-header .abdh-logo-panel,
    .abdh-header:not(.gdp-is-scrolled) .abdh-logo-panel,
    .abdh-header.gdp-is-scrolled .abdh-logo-panel {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        bottom: auto !important;
        z-index: 5 !important;
        width: var(--abdh-logo-panel-width) !important;
        min-width: var(--abdh-logo-panel-width) !important;
        max-width: var(--abdh-logo-panel-width) !important;
        height: var(--abdh-logo-panel-height) !important;
        min-height: var(--abdh-logo-panel-height) !important;
        max-height: var(--abdh-logo-panel-height) !important;
        margin: 0 !important;
        padding: 26px 34px 38px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        opacity: 1 !important;
        visibility: visible !important;
        background:
            linear-gradient(135deg, rgba(255,255,255,0.55), rgba(255,255,255,0.08)),
            linear-gradient(120deg, #f3ddfb 0%, #cf95e4 52%, #b76fd6 100%) !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: 0 18px 40px rgba(57, 31, 82, 0.16) !important;
        transform: none !important;
        isolation: isolate;
    }

    .abdh-header .abdh-logo-panel::before,
    .abdh-header:not(.gdp-is-scrolled) .abdh-logo-panel::before,
    .abdh-header.gdp-is-scrolled .abdh-logo-panel::before {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        display: block !important;
        background:
            radial-gradient(circle at 20% 18%, rgba(255,255,255,0.62), transparent 34%),
            radial-gradient(circle at 84% 14%, rgba(255,255,255,0.18), transparent 24%),
            linear-gradient(155deg, rgba(255,255,255,0.10), transparent 58%) !important;
        pointer-events: none !important;
        filter: none !important;
    }

    .abdh-header .abdh-logo-panel::after,
    .abdh-header:not(.gdp-is-scrolled) .abdh-logo-panel::after,
    .abdh-header.gdp-is-scrolled .abdh-logo-panel::after {
        content: "" !important;
        position: absolute !important;
        right: 0 !important;
        bottom: -1px !important;
        top: auto !important;
        width: 92px !important;
        height: 72px !important;
        display: block !important;
        background: #ffffff !important;
        clip-path: polygon(100% 0, 100% 100%, 0 100%) !important;
        pointer-events: none !important;
        box-shadow: none !important;
    }

    .abdh-header .abdh-logo-panel img,
    .abdh-header:not(.gdp-is-scrolled) .abdh-logo-panel img,
    .abdh-header.gdp-is-scrolled .abdh-logo-panel img {
        position: relative !important;
        z-index: 2 !important;
        display: block !important;
        width: min(212px, 100%) !important;
        max-width: 100% !important;
        max-height: 92px !important;
        height: auto !important;
        margin: 0 !important;
        object-fit: contain !important;
        object-position: center !important;
        opacity: 1 !important;
        visibility: visible !important;
        mix-blend-mode: normal !important;
        filter: none !important;
    }

    .abdh-header .abdh-right-column,
    .abdh-header.gdp-is-scrolled .abdh-right-column {
        width: calc(100% - var(--abdh-logo-panel-width)) !important;
        margin-left: var(--abdh-logo-panel-width) !important;
    }
}

/* Logo panel correction: keep the background as a clean four-corner rectangle.
   No diagonal clipping and no white/background-coloured masking layer. */
@media (min-width: 1025px) {
    .abdh-header .abdh-logo-panel,
    .abdh-header:not(.gdp-is-scrolled) .abdh-logo-panel,
    .abdh-header.gdp-is-scrolled .abdh-logo-panel {
        -webkit-clip-path: none !important;
        clip-path: none !important;
    }

    .abdh-header .abdh-logo-panel::after,
    .abdh-header:not(.gdp-is-scrolled) .abdh-logo-panel::after,
    .abdh-header.gdp-is-scrolled .abdh-logo-panel::after {
        content: none !important;
        display: none !important;
        background: none !important;
        -webkit-clip-path: none !important;
        clip-path: none !important;
    }
}

/* =========================================================
   AB CLINIC — DESKTOP MENU EXACT VERTICAL CENTER
   Keep the primary menu exactly centered between the top and
   bottom edges of the navigation row. All other header parts
   remain unchanged.
   ========================================================= */
@media (min-width: 1025px) {
    .abdh-header .abdh-navigation-inner > .gdp-desktop-nav,
    .abdh-header:not(.gdp-is-scrolled) .abdh-navigation-inner > .gdp-desktop-nav,
    .abdh-header.gdp-is-scrolled .abdh-navigation-inner > .gdp-desktop-nav,
    .abdh-header.abdh-viewport-portal .abdh-navigation-inner > .gdp-desktop-nav,
    .abdh-header.abdh-viewport-portal:not(.gdp-is-scrolled) .abdh-navigation-inner > .gdp-desktop-nav,
    .abdh-header.abdh-viewport-portal.gdp-is-scrolled .abdh-navigation-inner > .gdp-desktop-nav {
        align-self: center !important;
        align-items: center !important;
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
    }

    .abdh-header .abdh-navigation-inner > .gdp-desktop-nav > .gdp-nav-list,
    .abdh-header:not(.gdp-is-scrolled) .abdh-navigation-inner > .gdp-desktop-nav > .gdp-nav-list,
    .abdh-header.gdp-is-scrolled .abdh-navigation-inner > .gdp-desktop-nav > .gdp-nav-list,
    .abdh-header.abdh-viewport-portal .abdh-navigation-inner > .gdp-desktop-nav > .gdp-nav-list,
    .abdh-header.abdh-viewport-portal:not(.gdp-is-scrolled) .abdh-navigation-inner > .gdp-desktop-nav > .gdp-nav-list,
    .abdh-header.abdh-viewport-portal.gdp-is-scrolled .abdh-navigation-inner > .gdp-desktop-nav > .gdp-nav-list {
        align-items: center !important;
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
    }

    .abdh-header .gdp-desktop-nav > .gdp-nav-list > li,
    .abdh-header:not(.gdp-is-scrolled) .gdp-desktop-nav > .gdp-nav-list > li,
    .abdh-header.gdp-is-scrolled .gdp-desktop-nav > .gdp-nav-list > li {
        align-items: center !important;
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
    }

    .abdh-header .gdp-desktop-nav > .gdp-nav-list > li > .gdp-nav-link,
    .abdh-header:not(.gdp-is-scrolled) .gdp-desktop-nav > .gdp-nav-list > li > .gdp-nav-link,
    .abdh-header.gdp-is-scrolled .gdp-desktop-nav > .gdp-nav-list > li > .gdp-nav-link {
        align-items: center !important;
        justify-content: center !important;
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
    }
}

/* =========================================================
   AB CLINIC — DESKTOP NAVIGATION ROW HEIGHT SYNC
   ---------------------------------------------------------
   The Elementor "Header Height" control is applied to
   .gdp-nav-inner. The surrounding desktop frame previously
   remained hard-locked to a 104px navigation track, which
   left a visible blank strip whenever the inner rail was set
   below 104px. Keep the rail itself fully Elementor-controlled
   and make only its structural parents follow its real height.
   ========================================================= */
@media (min-width: 1025px) {
    html.abdh-portal-active body.abdh-portal-active {
        padding-top: calc(
            var(--abdh-original-body-padding-top, 0px)
            + var(--abdh-normal-header-height, 136px)
            + var(--abdh-visible-frame-shift, 0px)
        ) !important;
    }

    .abdh-header .abdh-desktop-frame,
    .abdh-header:not(.gdp-is-scrolled) .abdh-desktop-frame,
    .abdh-header.gdp-is-scrolled .abdh-desktop-frame {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    .abdh-header .abdh-right-column,
    .abdh-header:not(.gdp-is-scrolled) .abdh-right-column,
    .abdh-header.gdp-is-scrolled .abdh-right-column {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        grid-template-rows: auto auto !important;
        align-content: start !important;
    }

    .abdh-header .abdh-navigation-row,
    .abdh-header:not(.gdp-is-scrolled) .abdh-navigation-row,
    .abdh-header.gdp-is-scrolled .abdh-navigation-row,
    .abdh-header.abdh-viewport-portal .abdh-navigation-row,
    .abdh-header.abdh-viewport-portal:not(.gdp-is-scrolled) .abdh-navigation-row,
    .abdh-header.abdh-viewport-portal.gdp-is-scrolled .abdh-navigation-row {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        align-self: start !important;
    }

    /* Do not set a height here. Elementor's Header Height control remains
       the single source of truth for the navigation rail height. */
    .abdh-header .abdh-navigation-inner,
    .abdh-header:not(.gdp-is-scrolled) .abdh-navigation-inner,
    .abdh-header.gdp-is-scrolled .abdh-navigation-inner,
    .abdh-header.abdh-viewport-portal .abdh-navigation-inner,
    .abdh-header.abdh-viewport-portal:not(.gdp-is-scrolled) .abdh-navigation-inner,
    .abdh-header.abdh-viewport-portal.gdp-is-scrolled .abdh-navigation-inner {
        align-items: center !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .abdh-header .abdh-navigation-inner > .gdp-desktop-nav,
    .abdh-header:not(.gdp-is-scrolled) .abdh-navigation-inner > .gdp-desktop-nav,
    .abdh-header.gdp-is-scrolled .abdh-navigation-inner > .gdp-desktop-nav,
    .abdh-header .abdh-navigation-inner > .gdp-nav-actions,
    .abdh-header:not(.gdp-is-scrolled) .abdh-navigation-inner > .gdp-nav-actions,
    .abdh-header.gdp-is-scrolled .abdh-navigation-inner > .gdp-nav-actions {
        align-self: center !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}

/* =========================================================
   MOBILE COMPACT LOGO + CONTACT CTA ONLY
   Keep tablet/desktop and every other header behavior unchanged.
   ========================================================= */
@media (max-width: 600px) {
    .abdh-header .abdh-logo-panel,
    .abdh-header:not(.gdp-is-scrolled) .abdh-logo-panel,
    .abdh-header.gdp-is-scrolled .abdh-logo-panel {
        width: clamp(128px, 34vw, 175px);
        max-width: 175px;
        padding: 10px 12px;
    }

    .abdh-header .abdh-logo-panel img,
    .abdh-header:not(.gdp-is-scrolled) .abdh-logo-panel img,
    .abdh-header.gdp-is-scrolled .abdh-logo-panel img {
        width: min(135px, 100%);
        max-height: 48px;
    }

    .abdh-header.abdh-viewport-portal .gdp-request-link,
    .abdh-header.abdh-viewport-portal:not(.gdp-is-scrolled) .gdp-request-link,
    .abdh-header.abdh-viewport-portal.gdp-is-scrolled .gdp-request-link {
        grid-template-columns: minmax(0, auto) 32px;
        column-gap: 8px;
        min-height: 42px;
        height: 42px;
        padding: 4px 4px 4px 14px;
        border-radius: 12px;
        font-size: 11px;
    }

    .abdh-header.abdh-viewport-portal .gdp-request-link::after,
    .abdh-header.abdh-viewport-portal:not(.gdp-is-scrolled) .gdp-request-link::after,
    .abdh-header.abdh-viewport-portal.gdp-is-scrolled .gdp-request-link::after {
        width: 32px;
        min-width: 32px;
        height: 32px;
        border-radius: 9px;
        font-size: 14px;
    }
}

/* =========================================================
   AB CLINIC — MOBILE PANEL SIZING MATCH
   Screenshot-targeted sizing only. Keep all existing colours,
   controls, spacing logic, interactions and tablet/desktop untouched.
   ========================================================= */
@media (max-width: 600px) {
    /* Left image/logo panel: match the marked mobile footprint. */
    .abdh-header .abdh-logo-panel,
    .abdh-header:not(.gdp-is-scrolled) .abdh-logo-panel,
    .abdh-header.gdp-is-scrolled .abdh-logo-panel {
        width: 145px !important;
        min-width: 145px !important;
        max-width: 145px !important;
        flex: 0 0 145px !important;
        height: 90px !important;
        min-height: 90px !important;
        max-height: 90px !important;
        padding: 10px 12px !important;
    }

    .abdh-header .abdh-logo-panel img,
    .abdh-header:not(.gdp-is-scrolled) .abdh-logo-panel img,
    .abdh-header.gdp-is-scrolled .abdh-logo-panel img {
        width: min(121px, 100%) !important;
        max-width: 121px !important;
        max-height: 48px !important;
    }

    /* Right/mobile menu panel: use the marked width while remaining safe on
       narrower phones. Its existing Elementor/background styling is preserved. */
    .abdh-header .abdh-right-column,
    .abdh-header:not(.gdp-is-scrolled) .abdh-right-column,
    .abdh-header.gdp-is-scrolled .abdh-right-column {
        flex: 1 1 auto !important;
        width: calc(100% - 145px) !important;
        min-width: 0 !important;
        max-width: none !important;
        margin-left: 0 !important;
    }

    .abdh-header .abdh-navigation-row,
    .abdh-header:not(.gdp-is-scrolled) .abdh-navigation-row,
    .abdh-header.gdp-is-scrolled .abdh-navigation-row,
    .abdh-header .abdh-navigation-inner,
    .abdh-header:not(.gdp-is-scrolled) .abdh-navigation-inner,
    .abdh-header.gdp-is-scrolled .abdh-navigation-inner {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    .abdh-header .abdh-navigation-inner,
    .abdh-header:not(.gdp-is-scrolled) .abdh-navigation-inner,
    .abdh-header.gdp-is-scrolled .abdh-navigation-inner {
        padding-right: 10px !important;
        padding-left: 0 !important;
        justify-content: flex-end !important;
    }

    .abdh-header .gdp-nav-actions,
    .abdh-header:not(.gdp-is-scrolled) .gdp-nav-actions,
    .abdh-header.gdp-is-scrolled .gdp-nav-actions {
        box-sizing: border-box !important;
        width: min(238px, calc(100vw - 157px)) !important;
        min-width: 0 !important;
        max-width: 238px !important;
        height: 80px !important;
        min-height: 80px !important;
        max-height: 80px !important;
        margin: 0 !important;
        justify-content: flex-end !important;
        align-items: center !important;
    }
}

/* =========================================================
   AB CLINIC HEADER — ALWAYS-VISIBLE RESPONSIVE PRIMARY MENU
   ---------------------------------------------------------
   Keep every real primary menu item visible. When horizontal
   room becomes limited, items wrap onto additional lines rather
   than being hidden or moved into a generated "More" menu.
   The logo panel and logo also scale down progressively with the
   viewport. Existing CTA, canvas, submenu and visual styling are
   otherwise preserved.
   ========================================================= */
.abdh-header .gdp-more-menu {
    display: none !important;
}

@media (min-width: 1025px) {
    .abdh-header,
    .abdh-header:not(.gdp-is-scrolled),
    .abdh-header.gdp-is-scrolled {
        --abdh-live-logo-width: clamp(185px, 14vw, 304px);
    }

    .abdh-header .abdh-logo-panel,
    .abdh-header:not(.gdp-is-scrolled) .abdh-logo-panel,
    .abdh-header.gdp-is-scrolled .abdh-logo-panel {
        width: var(--abdh-live-logo-width) !important;
        min-width: var(--abdh-live-logo-width) !important;
        max-width: var(--abdh-live-logo-width) !important;
        padding-left: clamp(20px, 2vw, 34px) !important;
        padding-right: clamp(20px, 2vw, 34px) !important;
    }

    .abdh-header .abdh-logo-panel img,
    .abdh-header:not(.gdp-is-scrolled) .abdh-logo-panel img,
    .abdh-header.gdp-is-scrolled .abdh-logo-panel img {
        width: clamp(145px, 11vw, 215px) !important;
        max-width: 100% !important;
    }

    .abdh-header .abdh-right-column,
    .abdh-header:not(.gdp-is-scrolled) .abdh-right-column,
    .abdh-header.gdp-is-scrolled .abdh-right-column {
        width: calc(100% - var(--abdh-live-logo-width)) !important;
        margin-left: var(--abdh-live-logo-width) !important;
    }

    .abdh-header .abdh-navigation-row,
    .abdh-header:not(.gdp-is-scrolled) .abdh-navigation-row,
    .abdh-header.gdp-is-scrolled .abdh-navigation-row,
    .abdh-header .abdh-navigation-inner,
    .abdh-header:not(.gdp-is-scrolled) .abdh-navigation-inner,
    .abdh-header.gdp-is-scrolled .abdh-navigation-inner {
        height: auto !important;
        min-height: 104px !important;
        max-height: none !important;
    }

    .abdh-header .abdh-navigation-inner,
    .abdh-header:not(.gdp-is-scrolled) .abdh-navigation-inner,
    .abdh-header.gdp-is-scrolled .abdh-navigation-inner,
    .abdh-header.abdh-viewport-portal .abdh-navigation-inner,
    .abdh-header.abdh-viewport-portal:not(.gdp-is-scrolled) .abdh-navigation-inner,
    .abdh-header.abdh-viewport-portal.gdp-is-scrolled .abdh-navigation-inner {
        padding-top: 9px !important;
        padding-bottom: 9px !important;
        align-items: center !important;
    }

    .abdh-header .abdh-navigation-inner > .gdp-desktop-nav,
    .abdh-header:not(.gdp-is-scrolled) .abdh-navigation-inner > .gdp-desktop-nav,
    .abdh-header.gdp-is-scrolled .abdh-navigation-inner > .gdp-desktop-nav,
    .abdh-header.abdh-viewport-portal .abdh-navigation-inner > .gdp-desktop-nav {
        display: flex !important;
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 44px !important;
        max-height: none !important;
        align-items: center !important;
        overflow: visible !important;
    }

    .abdh-header .abdh-navigation-inner > .gdp-desktop-nav > .gdp-nav-list,
    .abdh-header:not(.gdp-is-scrolled) .abdh-navigation-inner > .gdp-desktop-nav > .gdp-nav-list,
    .abdh-header.gdp-is-scrolled .abdh-navigation-inner > .gdp-desktop-nav > .gdp-nav-list,
    .abdh-header.abdh-viewport-portal .abdh-navigation-inner > .gdp-desktop-nav > .gdp-nav-list {
        display: flex !important;
        flex-wrap: wrap !important;
        align-content: center !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 44px !important;
        max-height: none !important;
        column-gap: clamp(6px, .85vw, 16px) !important;
        row-gap: 4px !important;
        overflow: visible !important;
    }

    .abdh-header .gdp-desktop-nav > .gdp-nav-list > li,
    .abdh-header:not(.gdp-is-scrolled) .gdp-desktop-nav > .gdp-nav-list > li,
    .abdh-header.gdp-is-scrolled .gdp-desktop-nav > .gdp-nav-list > li {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 0 !important;
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
    }

    .abdh-header .gdp-desktop-nav > .gdp-nav-list > li > .gdp-nav-link,
    .abdh-header:not(.gdp-is-scrolled) .gdp-desktop-nav > .gdp-nav-list > li > .gdp-nav-link,
    .abdh-header.gdp-is-scrolled .gdp-desktop-nav > .gdp-nav-list > li > .gdp-nav-link {
        width: auto !important;
        min-width: 0 !important;
        padding-left: clamp(3px, .42vw, 8px) !important;
        padding-right: clamp(3px, .42vw, 8px) !important;
        font-size: clamp(11px, .74vw, 14px) !important;
        white-space: nowrap !important;
    }
}

/* Tablet: retain the existing compact header treatment, but expose the real
   primary navigation and allow it to wrap instead of replacing it with only
   the canvas trigger. */
@media (max-width: 1024px) {
    html.abdh-portal-active body.abdh-portal-active {
        padding-top: calc(
            var(--abdh-original-body-padding-top, 0px)
            + var(--abdh-responsive-header-height, 90px)
            + var(--abdh-visible-frame-shift, 0px)
        ) !important;
    }

    .abdh-header,
    .abdh-header:not(.gdp-is-scrolled),
    .abdh-header.gdp-is-scrolled {
        --abdh-live-logo-width: clamp(118px, 20vw, 180px);
    }

    .abdh-header .abdh-desktop-frame,
    .abdh-header:not(.gdp-is-scrolled) .abdh-desktop-frame,
    .abdh-header.gdp-is-scrolled .abdh-desktop-frame {
        display: grid !important;
        grid-template-columns: var(--abdh-live-logo-width) minmax(0, 1fr) !important;
        align-items: stretch !important;
        height: auto !important;
        min-height: 90px !important;
        max-height: none !important;
        background: #ffffff !important;
    }

    .abdh-header .abdh-logo-panel,
    .abdh-header:not(.gdp-is-scrolled) .abdh-logo-panel,
    .abdh-header.gdp-is-scrolled .abdh-logo-panel {
        position: relative !important;
        inset: auto !important;
        grid-column: 1 !important;
        width: var(--abdh-live-logo-width) !important;
        min-width: var(--abdh-live-logo-width) !important;
        max-width: var(--abdh-live-logo-width) !important;
        height: auto !important;
        min-height: 90px !important;
        max-height: none !important;
        align-self: stretch !important;
        padding: clamp(10px, 1.8vw, 18px) !important;
        justify-content: center !important;
        background:
            linear-gradient(135deg, rgba(255,255,255,.70), rgba(255,255,255,.08)),
            linear-gradient(120deg, #f7d7ff 0%, #c278dd 55%, #7d3ca2 100%) !important;
        box-shadow: 6px 0 18px rgba(35,20,49,.12) !important;
    }

    .abdh-header .abdh-logo-panel img,
    .abdh-header:not(.gdp-is-scrolled) .abdh-logo-panel img,
    .abdh-header.gdp-is-scrolled .abdh-logo-panel img {
        width: min(clamp(96px, 15vw, 145px), 100%) !important;
        max-width: 100% !important;
        max-height: 54px !important;
        object-position: center !important;
    }

    .abdh-header .abdh-right-column,
    .abdh-header:not(.gdp-is-scrolled) .abdh-right-column,
    .abdh-header.gdp-is-scrolled .abdh-right-column {
        position: relative !important;
        grid-column: 2 !important;
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 90px !important;
        max-height: none !important;
        margin: 0 !important;
        background: #ffffff !important;
    }

    .abdh-header .abdh-utility-bar,
    .abdh-header .abrtb-bar.abdh-utility-bar,
    .abdh-header .abdh-no-utility {
        display: none !important;
    }

    .abdh-header .abdh-navigation-row,
    .abdh-header:not(.gdp-is-scrolled) .abdh-navigation-row,
    .abdh-header.gdp-is-scrolled .abdh-navigation-row {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 90px !important;
        max-height: none !important;
        background: #ffffff !important;
        border-bottom: 1px solid rgba(125,60,162,.12) !important;
    }

    .abdh-header .abdh-navigation-inner,
    .abdh-header:not(.gdp-is-scrolled) .abdh-navigation-inner,
    .abdh-header.gdp-is-scrolled .abdh-navigation-inner,
    .abdh-header.abdh-viewport-portal .abdh-navigation-inner {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        column-gap: 8px !important;
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 90px !important;
        max-height: none !important;
        padding: 8px 10px 8px 12px !important;
        background: #ffffff !important;
    }

    .abdh-header .gdp-desktop-nav,
    .abdh-header:not(.gdp-is-scrolled) .gdp-desktop-nav,
    .abdh-header.gdp-is-scrolled .gdp-desktop-nav,
    .abdh-header.abdh-viewport-portal .gdp-desktop-nav {
        display: flex !important;
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 36px !important;
        max-height: none !important;
        align-items: center !important;
        overflow: visible !important;
    }

    .abdh-header .gdp-nav-list,
    .abdh-header:not(.gdp-is-scrolled) .gdp-nav-list,
    .abdh-header.gdp-is-scrolled .gdp-nav-list {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        align-content: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 36px !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        column-gap: clamp(4px, 1vw, 10px) !important;
        row-gap: 2px !important;
        overflow: visible !important;
    }

    .abdh-header .gdp-nav-list > li {
        display: flex !important;
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 0 !important;
        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
    }

    .abdh-header .gdp-nav-link,
    .abdh-header:not(.gdp-is-scrolled) .gdp-nav-link,
    .abdh-header.gdp-is-scrolled .gdp-nav-link {
        display: inline-flex !important;
        width: auto !important;
        min-width: 0 !important;
        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
        padding: 0 clamp(3px, .7vw, 7px) !important;
        color: var(--gdp-ink) !important;
        font-size: clamp(10px, 1.35vw, 12px) !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
    }

    .abdh-header .gdp-nav-actions,
    .abdh-header:not(.gdp-is-scrolled) .gdp-nav-actions,
    .abdh-header.gdp-is-scrolled .gdp-nav-actions {
        grid-column: 2 !important;
        grid-row: 1 !important;
        display: flex !important;
        width: auto !important;
        min-width: 48px !important;
        max-width: none !important;
        height: auto !important;
        min-height: 48px !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        align-items: center !important;
        justify-content: flex-end !important;
    }

    /* CTA remains hidden on tablet/mobile exactly as in the current compact
       header; only the primary navigation visibility is changed. */
    .abdh-header .gdp-request-link,
    .abdh-header:not(.gdp-is-scrolled) .gdp-request-link,
    .abdh-header.gdp-is-scrolled .gdp-request-link {
        display: none !important;
    }
}

/* Phones: keep the same two-column structure, but continue shrinking the logo
   box/logo and tighten menu typography so every item can remain visible. */
@media (max-width: 600px) {
    .abdh-header,
    .abdh-header:not(.gdp-is-scrolled),
    .abdh-header.gdp-is-scrolled {
        --abdh-live-logo-width: clamp(86px, 25vw, 118px);
    }

    .abdh-header .abdh-logo-panel,
    .abdh-header:not(.gdp-is-scrolled) .abdh-logo-panel,
    .abdh-header.gdp-is-scrolled .abdh-logo-panel {
        width: var(--abdh-live-logo-width) !important;
        min-width: var(--abdh-live-logo-width) !important;
        max-width: var(--abdh-live-logo-width) !important;
        flex: 0 0 var(--abdh-live-logo-width) !important;
        height: auto !important;
        min-height: 82px !important;
        max-height: none !important;
        padding: 8px !important;
    }

    .abdh-header .abdh-logo-panel img,
    .abdh-header:not(.gdp-is-scrolled) .abdh-logo-panel img,
    .abdh-header.gdp-is-scrolled .abdh-logo-panel img {
        width: min(clamp(70px, 19vw, 98px), 100%) !important;
        max-width: 100% !important;
        max-height: 42px !important;
    }

    .abdh-header .abdh-navigation-inner,
    .abdh-header:not(.gdp-is-scrolled) .abdh-navigation-inner,
    .abdh-header.gdp-is-scrolled .abdh-navigation-inner {
        min-height: 82px !important;
        padding: 7px 7px 7px 8px !important;
        column-gap: 5px !important;
    }

    .abdh-header .gdp-nav-list,
    .abdh-header:not(.gdp-is-scrolled) .gdp-nav-list,
    .abdh-header.gdp-is-scrolled .gdp-nav-list {
        column-gap: 2px !important;
        row-gap: 0 !important;
    }

    .abdh-header .gdp-nav-list > li,
    .abdh-header .gdp-nav-link,
    .abdh-header:not(.gdp-is-scrolled) .gdp-nav-link,
    .abdh-header.gdp-is-scrolled .gdp-nav-link {
        height: 32px !important;
        min-height: 32px !important;
        max-height: 32px !important;
    }

    .abdh-header .gdp-nav-link,
    .abdh-header:not(.gdp-is-scrolled) .gdp-nav-link,
    .abdh-header.gdp-is-scrolled .gdp-nav-link {
        padding-right: 3px !important;
        padding-left: 3px !important;
        font-size: clamp(9px, 2.55vw, 11px) !important;
    }

    .abdh-header .gdp-nav-parent {
        gap: 4px !important;
    }

    .abdh-header .gdp-nav-chevron {
        width: 6px !important;
        height: 6px !important;
    }

    .abdh-header.abdh-viewport-portal .abdh-navigation-inner .gdp-nav-actions .gdp-menu-toggle,
    .abdh-header.abdh-viewport-portal .abdh-navigation-inner .gdp-nav-actions .gdp-menu-toggle[aria-expanded="false"],
    .abdh-header.abdh-viewport-portal .abdh-navigation-inner .gdp-nav-actions .gdp-menu-toggle[aria-expanded="true"] {
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
        flex: 0 0 42px !important;
    }
}

@media (max-width: 390px) {
    .abdh-header,
    .abdh-header:not(.gdp-is-scrolled),
    .abdh-header.gdp-is-scrolled {
        --abdh-live-logo-width: clamp(78px, 23vw, 92px);
    }

    .abdh-header .abdh-logo-panel img,
    .abdh-header:not(.gdp-is-scrolled) .abdh-logo-panel img,
    .abdh-header.gdp-is-scrolled .abdh-logo-panel img {
        width: min(76px, 100%) !important;
        max-height: 36px !important;
    }

    .abdh-header .gdp-nav-link,
    .abdh-header:not(.gdp-is-scrolled) .gdp-nav-link,
    .abdh-header.gdp-is-scrolled .gdp-nav-link {
        font-size: 9px !important;
        padding-right: 2px !important;
        padding-left: 2px !important;
    }
}

/* =========================================================
   AB CLINIC HEADER — BALANCED WIDE-DESKTOP SPACING
   ---------------------------------------------------------
   Reduce the three oversized empty zones visible on wide screens:
   1) logo panel -> first menu item,
   2) last menu item -> CTA,
   3) menu toggle -> viewport edge.
   Keep the existing all-items-visible / wrapping behaviour unchanged
   on compact desktop, tablet and mobile sizes.
   ========================================================= */
@media (min-width: 1025px) {
    .abdh-header .abdh-navigation-inner,
    .abdh-header:not(.gdp-is-scrolled) .abdh-navigation-inner,
    .abdh-header.gdp-is-scrolled .abdh-navigation-inner,
    .abdh-header.abdh-viewport-portal .abdh-navigation-inner,
    .abdh-header.abdh-viewport-portal:not(.gdp-is-scrolled) .abdh-navigation-inner,
    .abdh-header.abdh-viewport-portal.gdp-is-scrolled .abdh-navigation-inner {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: none !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding-right: clamp(12px, .9vw, 18px) !important;
        padding-left: clamp(12px, 1vw, 20px) !important;
        column-gap: clamp(8px, .7vw, 14px) !important;
    }

    .abdh-header .abdh-navigation-inner > .gdp-desktop-nav,
    .abdh-header:not(.gdp-is-scrolled) .abdh-navigation-inner > .gdp-desktop-nav,
    .abdh-header.gdp-is-scrolled .abdh-navigation-inner > .gdp-desktop-nav,
    .abdh-header.abdh-viewport-portal .abdh-navigation-inner > .gdp-desktop-nav,
    .abdh-header.abdh-viewport-portal:not(.gdp-is-scrolled) .abdh-navigation-inner > .gdp-desktop-nav,
    .abdh-header.abdh-viewport-portal.gdp-is-scrolled .abdh-navigation-inner > .gdp-desktop-nav {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .abdh-header .abdh-navigation-inner > .gdp-desktop-nav > .gdp-nav-list,
    .abdh-header:not(.gdp-is-scrolled) .abdh-navigation-inner > .gdp-desktop-nav > .gdp-nav-list,
    .abdh-header.gdp-is-scrolled .abdh-navigation-inner > .gdp-desktop-nav > .gdp-nav-list,
    .abdh-header.abdh-viewport-portal .abdh-navigation-inner > .gdp-desktop-nav > .gdp-nav-list,
    .abdh-header.abdh-viewport-portal:not(.gdp-is-scrolled) .abdh-navigation-inner > .gdp-desktop-nav > .gdp-nav-list,
    .abdh-header.abdh-viewport-portal.gdp-is-scrolled .abdh-navigation-inner > .gdp-desktop-nav > .gdp-nav-list {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        justify-content: space-evenly !important;
        column-gap: clamp(10px, .7vw, 14px) !important;
    }

    .abdh-header .abdh-navigation-inner > .gdp-nav-actions,
    .abdh-header:not(.gdp-is-scrolled) .abdh-navigation-inner > .gdp-nav-actions,
    .abdh-header.gdp-is-scrolled .abdh-navigation-inner > .gdp-nav-actions,
    .abdh-header.abdh-viewport-portal .abdh-navigation-inner > .gdp-nav-actions,
    .abdh-header.abdh-viewport-portal:not(.gdp-is-scrolled) .abdh-navigation-inner > .gdp-nav-actions,
    .abdh-header.abdh-viewport-portal.gdp-is-scrolled .abdh-navigation-inner > .gdp-nav-actions {
        margin: 0 !important;
        padding: 0 !important;
        justify-self: end !important;
        justify-content: flex-end !important;
    }
}

/* =========================================================
   AB CLINIC HEADER — TABLET/MOBILE PRIMARY MENU VISIBILITY
   ---------------------------------------------------------
   From the tablet breakpoint down, the primary desktop menu
   is already available inside the existing canvas menu. Keep
   only the header trigger visible here; desktop stays untouched.
   ========================================================= */
@media (max-width: 1024px) {
    .abdh-header .gdp-desktop-nav,
    .abdh-header:not(.gdp-is-scrolled) .gdp-desktop-nav,
    .abdh-header.gdp-is-scrolled .gdp-desktop-nav,
    .abdh-header.abdh-viewport-portal .gdp-desktop-nav {
        display: none !important;
    }
}

/* =========================================================
   AB CLINIC HEADER — FLUID COMPACT DESKTOP MENU GAP
   ---------------------------------------------------------
   Keep wide desktop unchanged. Between 1025px and 1600px the
   full primary menu uses the available row width instead of
   sitting as a centred group. This removes the growing blank
   zones beside the menu while the real item gap can tighten
   smoothly down to 3px. Tablet/mobile stays canvas-only.
   ========================================================= */
@media (min-width: 1025px) and (max-width: 1600px) {
    .abdh-header .abdh-navigation-inner > .gdp-desktop-nav > .gdp-nav-list,
    .abdh-header:not(.gdp-is-scrolled) .abdh-navigation-inner > .gdp-desktop-nav > .gdp-nav-list,
    .abdh-header.gdp-is-scrolled .abdh-navigation-inner > .gdp-desktop-nav > .gdp-nav-list,
    .abdh-header.abdh-viewport-portal .abdh-navigation-inner > .gdp-desktop-nav > .gdp-nav-list,
    .abdh-header.abdh-viewport-portal:not(.gdp-is-scrolled) .abdh-navigation-inner > .gdp-desktop-nav > .gdp-nav-list,
    .abdh-header.abdh-viewport-portal.gdp-is-scrolled .abdh-navigation-inner > .gdp-desktop-nav > .gdp-nav-list {
        justify-content: space-between !important;
        column-gap: clamp(3px, .42vw, 7px) !important;
    }

    .abdh-header .gdp-desktop-nav > .gdp-nav-list > li > .gdp-nav-link,
    .abdh-header:not(.gdp-is-scrolled) .gdp-desktop-nav > .gdp-nav-list > li > .gdp-nav-link,
    .abdh-header.gdp-is-scrolled .gdp-desktop-nav > .gdp-nav-list > li > .gdp-nav-link {
        padding-left: clamp(3px, .30vw, 5px) !important;
        padding-right: clamp(3px, .30vw, 5px) !important;
    }
}

/* =========================================================
   AB CLINIC HEADER — ELEMENTOR LOGO BOX SIZE BRIDGE
   ---------------------------------------------------------
   The latest header layout uses !important fixed dimensions.
   These variables let the existing Elementor responsive
   Logo Box Width / Height controls override those dimensions
   without changing any other header behaviour.
   ========================================================= */
.elementor-widget-ab-clinic-header {
    --abdh-elementor-logo-box-width: 220px;
    --abdh-elementor-logo-box-height: 150px;
}

@media (min-width: 1025px) {
    .elementor-widget-ab-clinic-header .abdh-header,
    .elementor-widget-ab-clinic-header .abdh-header:not(.gdp-is-scrolled),
    .elementor-widget-ab-clinic-header .abdh-header.gdp-is-scrolled {
        --abdh-logo-panel-width: var(--abdh-elementor-logo-box-width);
        --abdh-live-logo-width: var(--abdh-elementor-logo-box-width);
    }

    .elementor-widget-ab-clinic-header .abdh-header .abdh-logo-panel,
    .elementor-widget-ab-clinic-header .abdh-header:not(.gdp-is-scrolled) .abdh-logo-panel,
    .elementor-widget-ab-clinic-header .abdh-header.gdp-is-scrolled .abdh-logo-panel {
        width: var(--abdh-elementor-logo-box-width) !important;
        min-width: var(--abdh-elementor-logo-box-width) !important;
        max-width: var(--abdh-elementor-logo-box-width) !important;
        flex-basis: var(--abdh-elementor-logo-box-width) !important;
        height: var(--abdh-elementor-logo-box-height) !important;
        min-height: var(--abdh-elementor-logo-box-height) !important;
        max-height: var(--abdh-elementor-logo-box-height) !important;
    }

    .elementor-widget-ab-clinic-header .abdh-header .abdh-right-column,
    .elementor-widget-ab-clinic-header .abdh-header:not(.gdp-is-scrolled) .abdh-right-column,
    .elementor-widget-ab-clinic-header .abdh-header.gdp-is-scrolled .abdh-right-column {
        width: calc(100% - var(--abdh-elementor-logo-box-width)) !important;
        margin-left: var(--abdh-elementor-logo-box-width) !important;
    }
}

@media (min-width: 601px) and (max-width: 1024px) {
    .elementor-widget-ab-clinic-header {
        --abdh-elementor-logo-box-width: 160px;
        --abdh-elementor-logo-box-height: 90px;
    }

    .elementor-widget-ab-clinic-header .abdh-header,
    .elementor-widget-ab-clinic-header .abdh-header:not(.gdp-is-scrolled),
    .elementor-widget-ab-clinic-header .abdh-header.gdp-is-scrolled {
        --abdh-live-logo-width: var(--abdh-elementor-logo-box-width);
    }

    .elementor-widget-ab-clinic-header .abdh-header .abdh-desktop-frame,
    .elementor-widget-ab-clinic-header .abdh-header:not(.gdp-is-scrolled) .abdh-desktop-frame,
    .elementor-widget-ab-clinic-header .abdh-header.gdp-is-scrolled .abdh-desktop-frame {
        grid-template-columns: var(--abdh-elementor-logo-box-width) minmax(0, 1fr) !important;
    }

    .elementor-widget-ab-clinic-header .abdh-header .abdh-logo-panel,
    .elementor-widget-ab-clinic-header .abdh-header:not(.gdp-is-scrolled) .abdh-logo-panel,
    .elementor-widget-ab-clinic-header .abdh-header.gdp-is-scrolled .abdh-logo-panel {
        width: var(--abdh-elementor-logo-box-width) !important;
        min-width: var(--abdh-elementor-logo-box-width) !important;
        max-width: var(--abdh-elementor-logo-box-width) !important;
        height: var(--abdh-elementor-logo-box-height) !important;
        min-height: var(--abdh-elementor-logo-box-height) !important;
        max-height: var(--abdh-elementor-logo-box-height) !important;
    }
}

@media (max-width: 600px) {
    .elementor-widget-ab-clinic-header {
        --abdh-elementor-logo-box-width: 110px;
        --abdh-elementor-logo-box-height: 82px;
    }

    .elementor-widget-ab-clinic-header .abdh-header,
    .elementor-widget-ab-clinic-header .abdh-header:not(.gdp-is-scrolled),
    .elementor-widget-ab-clinic-header .abdh-header.gdp-is-scrolled {
        --abdh-live-logo-width: var(--abdh-elementor-logo-box-width);
    }

    .elementor-widget-ab-clinic-header .abdh-header .abdh-desktop-frame,
    .elementor-widget-ab-clinic-header .abdh-header:not(.gdp-is-scrolled) .abdh-desktop-frame,
    .elementor-widget-ab-clinic-header .abdh-header.gdp-is-scrolled .abdh-desktop-frame {
        grid-template-columns: var(--abdh-elementor-logo-box-width) minmax(0, 1fr) !important;
    }

    .elementor-widget-ab-clinic-header .abdh-header .abdh-logo-panel,
    .elementor-widget-ab-clinic-header .abdh-header:not(.gdp-is-scrolled) .abdh-logo-panel,
    .elementor-widget-ab-clinic-header .abdh-header.gdp-is-scrolled .abdh-logo-panel {
        width: var(--abdh-elementor-logo-box-width) !important;
        min-width: var(--abdh-elementor-logo-box-width) !important;
        max-width: var(--abdh-elementor-logo-box-width) !important;
        flex-basis: var(--abdh-elementor-logo-box-width) !important;
        height: var(--abdh-elementor-logo-box-height) !important;
        min-height: var(--abdh-elementor-logo-box-height) !important;
        max-height: var(--abdh-elementor-logo-box-height) !important;
    }
}
