.global-drawer-open {
    overflow: hidden;
}

.global-drawer-nav {
    position: fixed;
    inset: 0;
    z-index: 280;
    pointer-events: none;
}

.global-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.3);
    opacity: 0;
    transition: opacity 0.24s ease;
}

.global-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: min(320px, 84vw);
    height: 100%;
    padding: 22px 18px 28px;
    background: rgba(255, 255, 255, 0.98);
    border-left: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: -18px 0 48px rgba(15, 23, 42, 0.12);
    transform: translate3d(100%, 0, 0);
    transition: transform 0.28s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.global-drawer-panel:focus {
    outline: none;
}

.global-drawer-nav.is-open {
    pointer-events: auto;
}

.global-drawer-nav.is-open .global-drawer-backdrop {
    opacity: 1;
}

.global-drawer-nav.is-open .global-drawer-panel {
    transform: translate3d(0, 0, 0);
}

.global-drawer-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.global-drawer-section-label {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.global-drawer-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.global-drawer-logo img {
    width: auto;
    max-width: 112px;
    height: 34px;
    object-fit: contain;
}

.global-drawer-close,
.global-drawer-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(226, 232, 240, 0.96);
    border-radius: 14px;
    color: #475569;
    background: #f8fafc;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.global-drawer-close:hover,
.global-drawer-trigger:hover {
    color: #0f172a;
    background: #f1f5f9;
    border-color: #dbe3ea;
    transform: translateY(-1px);
}

.global-drawer-trigger {
    flex-shrink: 0;
    background: #ffffff;
}

.global-drawer-close:focus,
.global-drawer-trigger:focus,
.global-drawer-link:focus,
.global-drawer-link-button:focus {
    outline: none;
}

.global-drawer-panel:focus-visible {
    box-shadow: -18px 0 48px rgba(15, 23, 42, 0.12);
}

.global-drawer-close:focus-visible,
.global-drawer-trigger:focus-visible {
    border-color: rgba(226, 232, 240, 0.96);
    box-shadow: none;
}

.global-drawer-trigger i,
.global-drawer-close i {
    font-size: 18px;
    line-height: 1;
}

.global-drawer-link-copy strong {
    display: block;
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
}

.global-drawer-link-copy small {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

.global-drawer-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.global-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.global-drawer-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 16px;
    color: #334155;
    background: #ffffff;
    text-decoration: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.global-drawer-link:hover {
    color: #0f172a;
    background: #f8fafc;
    border-color: #e2e8f0;
    transform: translateY(-1px);
}

.global-drawer-link:focus-visible,
.global-drawer-link-button:focus-visible {
    border-color: transparent;
    background: #ffffff;
    box-shadow: none;
}

.global-drawer-link.is-active {
    background: #f8fafc;
    border-color: #dbe3ea;
}

.global-drawer-link i {
    margin-top: 3px;
    color: #64748b;
    font-size: 16px;
    line-height: 1;
}

.global-drawer-link-button {
    width: 100%;
    text-align: left;
    cursor: pointer;
}

@media (max-width: 640px) {
    .global-drawer-panel {
        width: min(320px, 88vw);
        padding-top: 18px;
    }
}
