.gsg-menu-select-wrap {
    position: relative;
    display: block;
    width: var(--gsg-menu-width, 100%);
    max-width: 100%;
    color: #1f2937;
    font: inherit;
    z-index: 1;
}

.gsg-menu-select-label {
    display: block;
    margin: 0 0 6px;
    font-weight: 600;
}

.gsg-menu-dropdown {
    position: relative;
    width: 100%;
}

.gsg-menu-dropdown-toggle {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    width: 100%;
    min-height: 44px;
    padding: 10px 0;
    border: none !important;
    font-size: 12px !important;
    font-weight: 800;
    border-radius: 4px;
    background: transparent;
    color: #5c6980 !important;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
    text-transform: uppercase;
    transition: none;
}

.gsg-menu-dropdown-toggle:hover {
    color: #40BAEC !important;
}

.gsg-menu-dropdown-toggle:focus-visible, .gsg-menu-dropdown-item:focus-visible {
    outline: 0;
}

.gsg-menu-dropdown-chevron {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    transition: transform .18s ease;
}

.gsg-menu-dropdown.is-open .gsg-menu-dropdown-chevron {
    transform: rotate(180deg);
}

.gsg-menu-dropdown-list {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 9999;
    box-sizing: border-box;
    max-height: min(320px, 60vh);
    overflow-y: auto;
    padding: 5px;
    border: 0;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 24px rgb(0 0 0 / 12%);
    width: fit-content;
}

.gsg-menu-dropdown-list[hidden] {
    display: none !important;
}

.gsg-menu-dropdown-item {
    display: block;
    padding: 11px 14px;
    border-radius: 3px;
    color: #5C6980 !important;
    line-height: 1.4;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    text-wrap: nowrap;
}

.gsg-menu-dropdown-item:hover, .gsg-menu-dropdown-item:focus {
    color: #40BAEC !important;
    text-decoration: none;
    background: none !important;
}

.gsg-menu-dropdown-item.is-active {
    font-weight: 600;
    color: #40BAEC !important;
    background: none !important;
}

.gsg-menu-align-right .gsg-menu-dropdown-list {
    left: auto;
    right: 0;
}

@media (prefers-reduced-motion: reduce) {
    .gsg-menu-dropdown-chevron {
        transition: none;
    }
}

.gsg-menu-template-modal[hidden] {
    display: none !important;
}

.gsg-menu-template-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.gsg-menu-template-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 65%);
}

.gsg-menu-template-modal-dialog {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: fit-content;
    max-height: auto;
    overflow: auto;
    padding: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: 0 18px 60px rgb(0 0 0 / 25%);
}

.gsg-menu-template-modal-close {
    position: absolute;
    cursor: pointer;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    left: 80%;
    top: 10%;
    background: #E8ECF0;
    z-index: 1;
    border: none;
}

.gsg-menu-template-modal-close:hover,
.gsg-menu-template-modal-close:focus {
    background: #E8ECF0;
}

.gsg-menu-template-modal-close span {
    display: block;
    height: 100%;
    width: 100%;
}

.gsg-menu-template-modal-close span::before {
    content: '';
    position: absolute;
    height: 2px;
    width: 15px;
    background: #00173D;
    transform: translate(-50%, -50%) rotate(45deg);
    top: 50%;
    left: 50%;
}

.gsg-menu-template-modal-close span::after {
    content: '';
    position: absolute;
    height: 15px;
    width: 2px;
    background: #00173D;
    transform: translate(-50%, -50%) rotate(45deg);
    top: 50%;
    left: 50%;
}

.gsg-menu-template-modal-content {
    clear: both;
}

body.gsg-menu-modal-open {
    overflow: hidden;
}

.gsg-template-shortcode-error {
    margin: 0;
    padding: 16px;
    color: #b91c1c;
}

.gsg-menu-template-modal-dialog a.elementor-item img {
    width: 30px;
}

@media (max-width: 767px) {
    .gsg-menu-template-modal {
        padding: 12px;
    }

    .gsg-menu-template-modal-dialog {
        padding: 20px;
        max-height: 94vh;
    }
}