.et_pb_menu_inner_container .et_pb_menu__wrap {
    position: relative;
}

.aeropsyence-bubble-menu {
    position: absolute;
    right: 0;
    top: var(--aeropsyence-custom-menu-top, 20px);
    z-index: 5;
    display: flex;
    box-sizing: border-box;
    width: auto;
    height: calc(var(--aeropsyence-custom-menu-height, 54px) + var(--aeropsyence-custom-menu-padding-y, 4px) + var(--aeropsyence-custom-menu-padding-y, 4px)) !important;
    flex-direction: row;
    align-items: center;
    gap: var(--aeropsyence-custom-menu-gap, 20px);
    overflow: hidden;
    padding: var(--aeropsyence-custom-menu-padding-y, 4px) var(--aeropsyence-custom-menu-padding-right, 14px) var(--aeropsyence-custom-menu-padding-y, 4px) var(--aeropsyence-custom-menu-padding-left, 18px);
    border-radius: var(--aeropsyence-custom-menu-radius, 50px);
    background: transparent;
    background-color: transparent;
    box-shadow: none;
    color: var(--aeropsyence-custom-menu-text, #0B3C5D);
    cursor: pointer;
    white-space: nowrap;
    transform: translateY(-50%);
    will-change: width;
}

.aeropsyence-bubble-menu__surface {
    position: absolute;
    right: 0;
    top: var(--aeropsyence-custom-menu-top, 20px);
    z-index: 4;
    box-sizing: border-box;
    width: 0;
    height: calc(var(--aeropsyence-custom-menu-height, 54px) + var(--aeropsyence-custom-menu-padding-y, 4px) + var(--aeropsyence-custom-menu-padding-y, 4px)) !important;
    border-radius: var(--aeropsyence-custom-menu-radius, 50px);
    background: var(--aeropsyence-custom-menu-bg, #fff);
    background-color: var(--aeropsyence-custom-menu-bg, #fff);
    box-shadow: var(--aeropsyence-custom-menu-shadow, none);
    pointer-events: none;
    transform: translateY(-50%);
    will-change: width;
}

.et_pb_sticky--top .aeropsyence-bubble-menu,
.et_pb_sticky--top .aeropsyence-bubble-menu__surface {
    top: var(--aeropsyence-custom-menu-sticky-top, 26px) !important;
}

.aeropsyence-bubble-menu__label {
    display: inline-flex;
    align-items: center;
    height: 100%;
    transition: opacity 0.15s ease;
}

.aeropsyence-bubble-menu__actions {
    position: relative;
    z-index: 2;
    display: inline-flex;
    height: 100%;
    flex: 0 0 auto;
    align-items: center;
    gap: var(--aeropsyence-custom-menu-gap, 20px);
}

.aeropsyence-bubble-menu__actions.is-empty {
    display: none;
}

.aeropsyence-bubble-menu__actions a {
    display: inline-flex;
    height: 100%;
    align-items: center;
    background: transparent !important;
    background-color: transparent !important;
    justify-content: center;
    text-decoration: none;
}

.aeropsyence-bubble-menu__actions img {
    display: block;
    width: var(--aeropsyence-custom-menu-icon-size, 20px) !important;
    height: var(--aeropsyence-custom-menu-icon-size, 20px) !important;
    flex: 0 0 var(--aeropsyence-custom-menu-icon-size, 20px);
    pointer-events: auto;
}

.aeropsyence-bubble-menu .aeropsyence-bubble-menu__list {
    position: absolute;
    inset: auto auto auto auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(8px);
}

.aeropsyence-bubble-menu.__expanded .aeropsyence-bubble-menu__list {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}

.aeropsyence-bubble-menu__list {
    display: flex;
    height: 100%;
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    gap: var(--aeropsyence-custom-menu-item-gap, 12px);
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.aeropsyence-bubble-menu__list > li {
    display: flex;
    height: fit-content;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
}

.aeropsyence-bubble-menu__list > li > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--aeropsyence-custom-menu-item-padding-y, 6px) var(--aeropsyence-custom-menu-item-padding-x, 4px);
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.et_pb_menu__menu nav.et-menu-nav.__aeropsyence-bubble-moved {
    height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
}

.aeropsyence-bubble-menu.__measuring .aeropsyence-bubble-menu__list {
    position: static !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: none !important;
}

.aeropsyence-bubble-menu.__expanded .aeropsyence-bubble-menu__label {
    display: none !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
