.emom-widget,
.emom-widget * {
    box-sizing: border-box;
}

.emom-trigger-wrap {
    display: flex;
    width: 100%;
}

.emom-trigger-button {
    appearance: none;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.emom-trigger-button:hover,
.emom-trigger-button:focus {
    text-decoration: none;
    outline: none;
}

.emom-trigger-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.emom-trigger-icon,
.emom-close-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.emom-trigger-icon svg,
.emom-close-icon svg {
    display: block;
}

.emom-offcanvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    visibility: hidden;
}

.emom-overlay {
    appearance: none;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    display: block;
    height: 100%;
    inset: 0;
    margin: 0;
    padding: 0;
    position: absolute;
    width: 100%;
}

.emom-panel {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 100%;
    outline: none;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0;
    transform: translateX(105%);
    transition: transform 0.32s ease;
}

.emom-panel-inner {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.emom-panel-header {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.emom-panel-heading-text {
    min-width: 0;
    padding-right: 16px;
}

.emom-panel-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.emom-panel-subtitle {
    font-size: 14px;
    line-height: 1.45;
    margin-top: 6px;
}

.emom-close-button {
    appearance: none;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    line-height: 1;
    margin: 0;
    padding: 0;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.emom-close-button:hover,
.emom-close-button:focus {
    outline: none;
}

.emom-nav,
.emom-nav-menu {
    width: 100%;
}

.emom-nav-menu,
.emom-nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.emom-nav-menu {
    display: flex;
    flex-direction: column;
}

.emom-nav-menu li {
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
}

.emom-nav-menu a {
    align-items: center;
    display: flex;
    justify-content: space-between;
    line-height: 1.3;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, padding 0.2s ease;
    width: 100%;
}

.emom-nav-menu a:hover,
.emom-nav-menu a:focus {
    outline: none;
    text-decoration: none;
}

.emom-nav-menu .sub-menu {
    display: flex;
    flex-direction: column;
    margin-top: 8px;
}

.emom-empty-menu {
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.4);
    border-radius: 10px;
    color: #5f4300;
    font-size: 14px;
    line-height: 1.4;
    padding: 12px;
}

.emom-widget.emom-is-open .emom-offcanvas {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.emom-widget.emom-is-open .emom-panel {
    transform: translateX(0);
}

body.emom-body-locked {
    overflow: hidden;
    touch-action: none;
}

@media (prefers-reduced-motion: reduce) {
    .emom-offcanvas,
    .emom-panel,
    .emom-trigger-button,
    .emom-close-button,
    .emom-nav-menu a {
        transition: none !important;
    }
}
