.gw-fsm-widget {
    --gw-fsm-line-shift: 10px;
    --gw-fsm-divider-width: 1px;
    --gw-fsm-divider-color: rgba(255, 255, 255, 0.2);
    --gw-fsm-submenu-icon-size: 0.8em;
    --gw-fsm-submenu-icon-gap: 0.35em;
    --gw-fsm-bg-animation-duration: 10s;
}

.gw-fsm-widget .gw-fsm-toggle {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 10001;
    cursor: pointer;
    border: 0;
    background: transparent;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0;
}

.gw-fsm-widget .gw-fsm-toggle-lines {
    width: 35px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
}

.gw-fsm-widget .gw-fsm-toggle-lines span {
    display: block;
    height: 2px;
    width: 100%;
    background: currentColor;
    transition: all 0.4s cubic-bezier(0.7, 0, 0.3, 1);
}

.gw-fsm-widget.is-open .gw-fsm-toggle-lines span:nth-child(1) {
    transform: translateY(var(--gw-fsm-line-shift)) rotate(45deg);
}

.gw-fsm-widget.is-open .gw-fsm-toggle-lines span:nth-child(2) {
    transform: translateY(calc(var(--gw-fsm-line-shift) * -1)) rotate(-45deg);
}

.gw-fsm-widget .gw-fsm-toggle-label {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.gw-fsm-overlay {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 10000;
    transition: top 0.6s cubic-bezier(0.85, 0, 0.15, 1);
    overflow: hidden;
    isolation: isolate;
}

.gw-fsm-overlay.gw-fsm-no-transition {
    transition: none !important;
}

.gw-fsm-overlay.gw-fsm-overlay-default {
    background: linear-gradient(135deg, #f39200 0%, #e4003a 50%, #b4006e 100%);
}

.gw-fsm-overlay.gw-fsm-bg-animated {
    background-size: 200% 200%;
    animation: gw-fsm-gradient-shift var(--gw-fsm-bg-animation-duration) ease infinite;
}

@keyframes gw-fsm-gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gw-fsm-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
    opacity: 0;
    mix-blend-mode: normal;
    pointer-events: none;
    z-index: 0;
}

.gw-fsm-widget.is-open .gw-fsm-overlay {
    top: 0;
}

.gw-fsm-overlay-content {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    height: 100%;
}

.gw-fsm-left-panel,
.gw-fsm-right-panel {
    display: flex;
    align-items: center;
    padding: 5%;
}

.gw-fsm-left-panel {
    flex: 1.2;
    justify-content: flex-end;
    border-right: var(--gw-fsm-divider-width) solid var(--gw-fsm-divider-color);
}

.gw-fsm-right-panel {
    flex: 0.8;
    justify-content: flex-start;
}

.gw-fsm-nav-menu ul {
    list-style: none;
    text-align: right;
    margin: 0;
    padding: 0;
}

.gw-fsm-nav-menu > ul > li > a {
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    line-height: 1.2;
    display: inline-block;
    position: relative;
    padding: 10px calc(var(--gw-fsm-submenu-icon-size) + var(--gw-fsm-submenu-icon-gap)) 10px 0;
    transition: color 0.3s, opacity 0.3s;
}

.gw-fsm-indicator-template {
    display: none;
}

.gw-fsm-submenu-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 50%;
    margin-left: 0;
    color: currentColor;
    transform: translateY(-50%);
    transition: transform 0.25s ease;
}

.gw-fsm-submenu-indicator i {
    font-size: 0.8em;
}

.gw-fsm-submenu-indicator svg {
    width: 0.8em;
    height: 0.8em;
    fill: currentColor;
}

.gw-fsm-submenu-indicator img {
    width: 0.8em;
    height: 0.8em;
    object-fit: contain;
}

.gw-fsm-nav-menu .menu-item-has-children.submenu-open > a .gw-fsm-submenu-indicator {
    transform: translateY(-50%) rotate(180deg);
}

.gw-fsm-nav-menu > ul > li > a:hover {
    opacity: 0.85;
}

.gw-fsm-nav-menu .sub-menu {
    display: none;
    margin: 0;
    padding: 5px 0 15px;
}

.gw-fsm-nav-menu .sub-menu li a {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.8;
    display: inline-block;
    padding-right: calc(var(--gw-fsm-submenu-icon-size) + var(--gw-fsm-submenu-icon-gap) + 0.35em);
    transition: color 0.3s, opacity 0.3s;
}

.gw-fsm-nav-menu .sub-menu li a:hover {
    opacity: 1;
}

.gw-fsm-info {
    color: #fff;
}

.gw-fsm-block {
    margin-bottom: 30px;
}

.gw-fsm-block h5 {
    letter-spacing: 2px;
    margin: 0 0 8px;
    opacity: 0.7;
}

.gw-fsm-block p {
    color: #fff;
    text-decoration: none;
    margin: 0;
}

.gw-fsm-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 12px 24px;
    background-color: #fff;
    color: #333;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
}

.gw-fsm-button:hover {
    transform: translateY(-2px);
}

.gw-fsm-button i {
    font-size: 1em;
}

.gw-fsm-button-icon {
    width: 1em;
    height: 1em;
    object-fit: contain;
}

@media (max-width: 900px) {
    .gw-fsm-overlay-content {
        flex-direction: column;
        overflow-y: auto;
    }

    .gw-fsm-left-panel {
        border-right: none;
        border-bottom: var(--gw-fsm-divider-width) solid var(--gw-fsm-divider-color);
        justify-content: center;
        padding-top: 100px;
    }

    .gw-fsm-right-panel {
        justify-content: center;
        text-align: center;
    }

    .gw-fsm-nav-menu ul {
        text-align: center;
    }
}