#sbm-toggle {
    background: #111;
    color: #fff;
    border: none;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1.1rem;
}

#sbm-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100000;
}

#sbm-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    max-width: 320px;
    background: linear-gradient(135deg, #f8fafc 80%, #e3e8ee 100%);
    border-right: 1px solid #e3e8ee;
    box-shadow: 2px 0 18px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    z-index: 100001;
    overflow-y: auto;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(.77,.2,.05,1), opacity 0.3s ease;
}

#sbm-sidebar .sbm-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1rem;
}

.sbm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e3e8ee;
    padding-bottom: 0.75rem;
}

.sbm-title {
    font-size: 1.2rem;
    font-weight: bold;
}

#sbm-close {
    border: none;
    background: #e3e8ee;
    color: #222;
    font-size: 1.6rem;
    cursor: pointer;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: background 0.2s;
}

#sbm-close:hover {
    background: #cbd5e1;
}

.sbm-menu,
.sbm-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* fade-up for menu items */
.sbm-menu li {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: relative;
}

.sbm-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    text-decoration: none;
    color: #222;
    font-weight: 500;
}

.sbm-menu li a:hover {
    color: #0073aa;
}

.sbm-menu .menu-item-has-children > a:after {
    content: '\25BC';
    font-size: 0.8em;
    margin-left: 0.5em;
    transition: transform 0.2s;
}

.sbm-menu .menu-item-has-children.open > a:after {
    transform: rotate(-180deg);
}

.sbm-menu .sub-menu {
    display: none;
    flex-direction: column;
    padding-left: 1.2em;
    margin-top: 0.2em;
    background: none;
    border-left: 2px solid #e3e8ee;
}

.sbm-menu .menu-item-has-children.open > .sub-menu {
    display: flex;
}

.sbm-account-links {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-bottom: 1px solid #e3e8ee;
    padding-bottom: 1rem;
}

.sbm-account {
    text-decoration: none;
    color: #222;
}

.sbm-account:hover {
    color: #0073aa;
}

.sbm-social-wrap {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-start;
}

.sbm-social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: transform 0.2s, box-shadow 0.2s;
}

.sbm-social svg {
    width: 22px;
    height: 22px;
    display: block;
}

.sbm-social:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    opacity: 0.92;
}

.sbm-facebook { background: #3b5998; }
.sbm-instagram { background: radial-gradient(circle at 30% 30%, #fdf497 0, #fdf497 30%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.sbm-whatsapp { background: #25d366; }
.sbm-pinterest { background: #bd081c; }

body.sbm-open #sbm-sidebar {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

body.sbm-open .sbm-menu li {
    opacity: 1;
    transform: translateY(0);
}

body.sbm-open #sbm-overlay {
    display: block;
}

