.esther-mobile-header {
    display: none;
}

.esther-mobile-drawer:not([open]) {
    display: none;
}

@media (max-width: 767px) {
    .esther-mobile-header {
        display: grid;
        grid-template-columns: 1fr auto auto;
        align-items: center;
        gap: var(--s-3);
        min-height: 60px;
        padding-inline: var(--container-pad-mobile);
        background: var(--color-bg);
        position: sticky;
        top: 0;
        z-index: var(--z-header);
    }

    .esther-mobile-header__brand {
        font-size: 1.125rem;
        font-weight: var(--fw-semibold);
        letter-spacing: 0.08em;
        color: var(--color-text);
        text-decoration: none;
    }

    .esther-mobile-header__toggle {
        display: inline-grid;
        place-items: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border: 0;
        cursor: pointer;
        color: var(--color-text);
    }
}

.esther-mobile-drawer {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--color-bg);
    color: var(--color-text);
}

.esther-mobile-drawer::backdrop {
    background: var(--color-overlay);
}

.esther-mobile-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--s-4) var(--s-5);
    border-bottom: 1px solid var(--color-border);
}

.esther-mobile-drawer__brand {
    font-size: 1.125rem;
    font-weight: var(--fw-semibold);
    letter-spacing: 0.08em;
}

.esther-mobile-drawer__close {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
    cursor: pointer;
    color: var(--color-text);
}

.esther-mobile-drawer__nav {
    display: flex;
    flex-direction: column;
    gap: var(--s-5);
    padding: var(--s-6) var(--s-5);
}

.esther-mobile-drawer__search,
.esther-mobile-drawer__wishlist {
    display: inline-flex;
    align-items: center;
    gap: var(--s-3);
    background: transparent;
    border: 0;
    cursor: pointer;
    color: var(--color-text);
    font-size: var(--fs-body);
    padding: 0;
    text-decoration: none;
}

.esther-mobile-drawer__group {
    border-block: 1px solid var(--color-border);
    padding-block: var(--s-4);
}

.esther-mobile-drawer__group summary {
    cursor: pointer;
    font-weight: var(--fw-medium);
    list-style: none;
}

.esther-mobile-drawer__group summary::-webkit-details-marker {
    display: none;
}

.esther-mobile-drawer__group ul {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
    margin-top: var(--s-4);
    padding-left: var(--s-3);
}

.esther-mobile-drawer__menu {
    display: flex;
    flex-direction: column;
    gap: var(--s-4);
}

.esther-mobile-drawer__menu a {
    font-size: var(--fs-body);
    color: var(--color-text);
}
