.swcm-wrapper {
    --swcm-text-color: #000000;
    --swcm-mobile-bg: #ffffff;
    --swcm-mobile-left: 16px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.swcm-wrapper *,
.swcm-wrapper *::before,
.swcm-wrapper *::after {
    box-sizing: border-box;
}

.swcm-desktop-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 34px;
    width: 100%;
}

.swcm-menu-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    color: #000;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    padding: 4px 0;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    transition: none !important;
}

.swcm-menu-link:hover,
.swcm-menu-link:focus,
.swcm-menu-link:active,
.swcm-menu-link:visited {
    color: inherit !important;
    background: transparent !important;
    transform: none !important;
    text-decoration: none !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    filter: none !important;
}

.swcm-menu-link.is-active,
.swcm-drawer-link.is-active {
    font-weight: 800;
}

.swcm-mobile-trigger {
    display: none !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--swcm-mobile-bg) !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    padding: 8px 12px;
    color: var(--swcm-text-color) !important;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    z-index: 99997;
    -webkit-tap-highlight-color: transparent;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
}

.swcm-mobile-trigger:hover,
.swcm-mobile-trigger:focus,
.swcm-mobile-trigger:active,
.swcm-mobile-trigger:visited,
.swcm-mobile-trigger:focus-visible {
    background: var(--swcm-mobile-bg) !important;
    color: var(--swcm-text-color) !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    filter: none !important;
}

.swcm-mobile-trigger * {
    color: inherit !important;
}

.swcm-hamburger,
.swcm-hamburger::before,
.swcm-hamburger::after {
    width: 22px;
    height: 2px;
    background: currentColor;
    display: block;
    border-radius: 99px;
    content: "";
}

.swcm-hamburger {
    position: relative;
    flex: 0 0 auto;
}

.swcm-hamburger::before {
    position: absolute;
    top: -7px;
    left: 0;
}

.swcm-hamburger::after {
    position: absolute;
    top: 7px;
    left: 0;
}

.swcm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.swcm-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: min(82vw, 340px);
    height: 100vh;
    background: #fff;
    z-index: 99999;
    transform: translateX(-105%);
    transition: transform .28s ease;
    box-shadow: 12px 0 35px rgba(0,0,0,.18);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.swcm-wrapper.is-open .swcm-overlay {
    opacity: 1;
    visibility: visible;
}

.swcm-wrapper.is-open .swcm-drawer {
    transform: translateX(0);
}

.swcm-drawer-header {
    min-height: 62px;
    padding: 0 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    color: #111;
}

.swcm-close {
    border: 0 !important;
    background: transparent !important;
    color: #111 !important;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    -webkit-tap-highlight-color: transparent;
    appearance: none;
    -webkit-appearance: none;
}

.swcm-close:hover,
.swcm-close:focus,
.swcm-close:active,
.swcm-close:focus-visible {
    background: transparent !important;
    color: #111 !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.swcm-drawer-links {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
}

.swcm-drawer-link {
    text-decoration: none !important;
    color: #111;
    font-size: 16px;
    font-weight: 600;
    padding: 15px 22px;
    border-bottom: 1px solid #f2f2f2;
    transition: none !important;
}

.swcm-drawer-link:hover,
.swcm-drawer-link:focus,
.swcm-drawer-link:active,
.swcm-drawer-link:visited,
.swcm-drawer-link:focus-visible {
    background: transparent !important;
    color: inherit !important;
    text-decoration: none !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.swcm-drawer-footer {
    margin-top: auto;
    padding: 18px 22px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #777;
}

.swcm-drawer-footer a {
    color: #777;
    text-decoration: none;
}

.swcm-empty {
    padding: 12px;
    border: 1px dashed #ddd;
    color: #777;
    font-size: 14px;
}

body.swcm-no-scroll {
    overflow: hidden;
}

@media (min-width: 769px) {
    .swcm-mobile-trigger,
    .swcm-overlay,
    .swcm-drawer {
        display: none !important;
    }
    .swcm-desktop-menu {
        display: flex !important;
    }
}

@media (max-width: 768px) {
    .swcm-desktop-menu {
        display: none !important;
    }

    .swcm-mobile-trigger {
        display: inline-flex !important;
        position: fixed;
        left: var(--swcm-mobile-left);
        background: var(--swcm-mobile-bg) !important;
        white-space: nowrap;
        text-align: center;
    }

    .swcm-anchor-top .swcm-mobile-trigger {
        top: 18px;
        bottom: auto;
        transform: none;
    }

    .swcm-anchor-center .swcm-mobile-trigger {
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
    }

    .swcm-anchor-bottom .swcm-mobile-trigger {
        top: auto;
        bottom: 22px;
        transform: none;
    }
}
