.hh-8beb86f3-wrapper {
    position: relative;
    display: inline-block;
}

/* When alignment is center, we want the wrapper to be full width so we can center the button and dropdown relative to it */
.hh-8beb86f3-dropdown-align-center .hh-8beb86f3-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.hh-8beb86f3-toggle {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hh-8beb86f3-dropdown {
    position: absolute;
    top: 100%;
    min-width: 250px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
    padding: 20px;
    border-radius: 4px;
}

/* Dropdown Container Alignment */
.hh-8beb86f3-dropdown-align-left .hh-8beb86f3-dropdown {
    left: 0;
    transform: translateY(10px);
}
.hh-8beb86f3-active.hh-8beb86f3-dropdown-align-left .hh-8beb86f3-dropdown,
.hh-8beb86f3-dropdown-align-left .hh-8beb86f3-active .hh-8beb86f3-dropdown { /* Catch both if class is on wrapper or parent */
    transform: translateY(0);
}

.hh-8beb86f3-dropdown-align-center .hh-8beb86f3-dropdown {
    left: 50%;
    transform: translate(-50%, 10px);
}
.hh-8beb86f3-active.hh-8beb86f3-dropdown-align-center .hh-8beb86f3-dropdown,
.hh-8beb86f3-dropdown-align-center .hh-8beb86f3-active .hh-8beb86f3-dropdown {
    transform: translate(-50%, 0);
}

.hh-8beb86f3-dropdown-align-right .hh-8beb86f3-dropdown {
    right: 0;
    left: auto;
    transform: translateY(10px);
}
.hh-8beb86f3-active.hh-8beb86f3-dropdown-align-right .hh-8beb86f3-dropdown,
.hh-8beb86f3-dropdown-align-right .hh-8beb86f3-active .hh-8beb86f3-dropdown {
    transform: translateY(0);
}

/* Base Active State (ensure this applies regardless of alignment) */
.hh-8beb86f3-active .hh-8beb86f3-dropdown,
.hh-8beb86f3-wrapper.hh-8beb86f3-active .hh-8beb86f3-dropdown {
    opacity: 1;
    visibility: visible;
}

.hh-8beb86f3-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hh-8beb86f3-item {
    margin: 0;
    padding: 0;
}

.hh-8beb86f3-heading {
    margin: 0;
    padding: 0;
}

.hh-8beb86f3-heading a {
    text-decoration: none;
    display: block;
    transition: color 0.2s ease;
}

/* Item Animation Option */
.hh-8beb86f3-animation-yes .hh-8beb86f3-item {
    opacity: 0;
    transform: translateX(-15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.hh-8beb86f3-animation-yes.hh-8beb86f3-active .hh-8beb86f3-item,
.hh-8beb86f3-active .hh-8beb86f3-animation-yes .hh-8beb86f3-item {
    opacity: 1;
    transform: translateX(0);
    /* Calculate delay based on item index */
    transition-delay: calc(var(--item-index) * 0.1s);
}
