.homp-root {
    --homp-bg: #ffffff;
    --homp-text: #111827;
    --homp-border: #e5e7eb;
    --homp-accent: #0f766e;
    --homp-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
    font-family: inherit;
}

.homp-fixed {
    position: fixed;
    top: 18px;
    z-index: 99999;
}

.homp-position-right.homp-fixed {
    right: 18px;
}

.homp-position-left.homp-fixed {
    left: 18px;
}

.homp-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--homp-border);
    border-radius: 999px;
    background: var(--homp-bg);
    color: var(--homp-text);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    line-height: 1;
}

.homp-toggle:focus-visible,
.homp-close:focus-visible,
.homp-menu a:focus-visible {
    outline: 3px solid rgba(15, 118, 110, 0.35);
    outline-offset: 3px;
}

.homp-toggle-lines {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 22px;
    height: 18px;
}

.homp-toggle-lines span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
}

.homp-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(0, 0, 0, 0.45);
}

.homp-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 99999;
    width: min(86vw, 360px);
    padding: 22px;
    background: var(--homp-bg);
    color: var(--homp-text);
    box-shadow: var(--homp-shadow);
    transform: translateX(0);
    transition: transform 180ms ease;
}

.homp-position-right .homp-drawer {
    right: 0;
}

.homp-position-left .homp-drawer {
    left: 0;
}

.homp-drawer[hidden],
.homp-backdrop[hidden] {
    display: none;
}

.homp-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--homp-border);
}

.homp-title {
    font-size: 1.25rem;
    line-height: 1.2;
}

.homp-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--homp-border);
    border-radius: 999px;
    background: #f9fafb;
    color: var(--homp-text);
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.homp-menu {
    display: grid;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.homp-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.homp-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--homp-border);
    border-radius: 14px;
    color: var(--homp-text);
    background: #ffffff;
    text-decoration: none;
    font-weight: 650;
}

.homp-menu a::after {
    content: "›";
    color: var(--homp-accent);
    font-size: 1.25rem;
}

.homp-menu a:hover {
    border-color: rgba(15, 118, 110, 0.45);
    background: rgba(15, 118, 110, 0.06);
}

body.homp-lock-scroll {
    overflow: hidden;
}

@media (max-width: 600px) {
    .homp-fixed {
        top: 12px;
    }

    .homp-position-right.homp-fixed {
        right: 12px;
    }

    .homp-position-left.homp-fixed {
        left: 12px;
    }

    .homp-toggle-label {
        display: none;
    }

    .homp-toggle {
        width: 48px;
        height: 48px;
        justify-content: center;
        padding: 0;
    }
}
