.snw-section-nav {
    position: relative;
    z-index: 9999;
}

.snw-menu-trigger {
    position: fixed;
    z-index: 9999;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.snw-section-nav.snw-visible .snw-menu-trigger {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.snw-desktop-trigger {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 1.5rem 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid #e5e5e5;
    border-left: none;
}

.snw-trigger-lines {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 8px;
}

.snw-trigger-line {
    width: 1rem;
    height: 1px;
    background-color: #525252;
    transition: background-color 0.3s ease;
}

.snw-trigger-text {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #525252;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    transition: color 0.3s ease;
}

.snw-desktop-trigger:hover {
    border-color: rgba(184, 82, 77, 0.4);
}

.snw-desktop-trigger:hover .snw-trigger-line {
    background-color: #B8524D;
}

.snw-desktop-trigger:hover .snw-trigger-text {
    color: #B8524D;
}

.snw-mobile-trigger {
    bottom: 6rem;
    right: 1.5rem;
    display: none;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: #B8524D;
    color: white;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.snw-mobile-trigger:hover {
    background-color: #A04843;
}

.snw-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.snw-section-nav.snw-open .snw-overlay {
    opacity: 1;
    visibility: visible;
}

.snw-panel {
    position: fixed !important;
    z-index: 9999 !important;
    background-color: white !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    border: 1px solid #e5e5e5 !important;
    transition: transform 0.3s ease !important;
    display: block !important;
}

.snw-desktop-panel {
    left: 0;
    top: 50%;
    transform: translate(-100%, -50%);
    width: 20rem;
    max-height: 80vh;
    overflow: hidden;
    display: none;
    border-left: none;
}

.snw-section-nav.snw-open .snw-desktop-panel {
    transform: translate(0, -50%);
}

.snw-mobile-panel {
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(100%);
    max-height: 70vh;
    overflow: hidden;
    display: none;
}

.snw-section-nav.snw-open .snw-mobile-panel {
    transform: translateY(0);
}

.snw-panel-header {
    position: sticky !important;
    top: 0 !important;
    background-color: white !important;
    border-bottom: 1px solid #e5e5e5 !important;
    padding: 1.25rem 1.5rem !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    z-index: 10 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.snw-panel-header > div {
    display: block !important;
    flex-shrink: 1 !important;
}

.snw-panel-subtitle {
    font-size: 0.75rem !important;
    letter-spacing: 0.3em !important;
    text-transform: uppercase !important;
    color: #B8524D !important;
    font-weight: 500 !important;
    margin-bottom: 0.25rem !important;
    margin-top: 0 !important;
    display: block !important;
}

.snw-panel-title {
    font-size: 1.25rem !important;
    font-weight: 300 !important;
    color: #171717 !important;
    margin: 0 !important;
    display: block !important;
}

.snw-close-btn {
    color: #a3a3a3;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.snw-close-btn:hover {
    color: #171717;
}

.snw-nav {
    overflow-y: auto !important;
    max-height: calc(80vh - 5rem) !important;
    display: block !important;
    width: 100% !important;
}

.snw-nav-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 1rem !important;
    display: block !important;
    width: 100% !important;
    columns: unset !important;
    column-count: unset !important;
}

.snw-nav-list li {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
    break-inside: avoid !important;
}

.snw-nav-item {
    width: 100% !important;
    text-align: left !important;
    padding: 0.75rem 1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-weight: 300 !important;
    font-size: 0.875rem !important;
    letter-spacing: 0.025em !important;
    color: #404040 !important;
    background: none !important;
    border: none !important;
    border-left: 2px solid transparent !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.snw-nav-item:hover {
    background-color: #fafafa;
    color: #B8524D;
}

.snw-nav-item svg {
    opacity: 0;
    transform: translateX(0.5rem);
    transition: all 0.3s ease;
}

.snw-nav-item:hover svg {
    opacity: 1;
    transform: translateX(0);
}

.snw-nav-item.snw-active {
    background-color: #FDF1F0;
    color: #B8524D;
    border-left-color: #B8524D;
}

.snw-nav-item.snw-active svg {
    opacity: 1;
    transform: translateX(0);
}

@media (min-width: 1024px) {
    .snw-desktop-trigger,
    .snw-desktop-panel {
        display: block !important;
    }
    .snw-mobile-trigger,
    .snw-mobile-panel {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    .snw-mobile-trigger,
    .snw-mobile-panel {
        display: block !important;
    }
    .snw-desktop-trigger,
    .snw-desktop-panel {
        display: none !important;
    }
}

@keyframes snw-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
