.ssm-menu {
    position: relative;
}

.ssm-menu p {
    display: none;
}

/* =========================
   TOGGLE BUTTON (OPEN)
========================= */
.ssm-toggle {
    background: none;
    border: none;
    padding: 0;
    font-family: 'Inter';
    font-size: 36px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    color: #ffffff;
    line-height: 1;
}

.ssm-toggle:hover {
    text-decoration: none;
}

.ssm-toggle:focus {
    outline: none;
}

/* OPEN BUTTON bleibt sichtbar */
.ssm-toggle-open {
    position: relative;
    z-index: 10;
}

/* =========================
   OVERLAY
========================= */
.ssm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.0);
    opacity: 0;
    pointer-events: none;
    transition: 0.8s ease-in-out;
    z-index: 50;
}

.ssm-menu.is-open .ssm-overlay {
    opacity: 1;
    pointer-events: all;
    transition: 0.8s ease-in-out;
}

/* =========================
   PANEL
========================= */
.ssm-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: var(--wp--preset--color--custom-prim-r, #fff);
    transform: translateX(100%);
    transition: transform 0.8s ease-in-out;;
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.ssm-menu.is-open .ssm-panel {
    transform: translateX(0);
}

/* =========================
   HEADER (CLOSE BUTTON)
========================= */
.ssm-panel-header {
    padding: 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* =========================
   CONTENT
========================= */
.ssm-panel-content {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
    position: relative;
    height: 100%;
}

/* =========================
   NAV
========================= */
.ssm-nav li {
    list-style: none;
    line-height: 1.2;
}

.ssm-nav a {
    text-decoration: none;
}

.ssm-nav {
    font-family: 'Inter';
    font-weight: 600;
}

.ssm-nav.ssm-primary {
    font-size: 77px;
    letter-spacing: -5%;
}

.ssm-nav.ssm-secondary {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 18px;
    font-weight: 300 !important;
    text-align: right;
}