#nav-toggle {
    position: absolute;
    top: 94px;
    right: 94%;
    width: 40px;
    height: 40px;
    /* UI Properties */
    background: var(--brand) 0% 0% no-repeat padding-box;
    background: #A57041 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 8px #00000029;
    opacity: 1;
    z-index: 999999;
    cursor: pointer;
}

#nav-toggle:hover {
    background: #C88C4A;
}

.product-navigation {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.arrow {
    color: #d4a76a;
    cursor: pointer;
    margin: 10px 0;
    transition: color .3s;
}

.arrow:hover {
    color: #fff;
}

.product-types {
    list-style: none;
    padding: 0;
    margin: 0;
    min-height: 250px;
    /* Fixed height to prevent jumping */
}

.product-types li {
    margin: 1rem 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .5rem;
    opacity: .6;
    transition: all .3s ease;
    height: 40px;
    /* Fixed height for each item */
}

.product-types li .title {
    transition: opacity .3s ease;
}

.product-types li.hide-title .title {
    display: none;
}

.product-types li.active {
    opacity: 1;
    font-weight: bold;
    color: #d4a76a;
}

.product-types li.active>.title {
    display: none;
}

/* Detail is now absolutely positioned and won't affect layout */
.detail.show {
    opacity: 1 !important;
}

/* Toggle */
#nav-toggle {
    position: absolute;
    /* no longer fixed */
    top: 60px !important;
    /* shifted down */
    right: 90px !important;
    /* shifted left */
    width: 44px !important;
    height: 44px !important;
    background: #A57041;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10001;
}

#nav-toggle:hover {
    background: #C88C4A;
}

#nav-toggle svg {
    width: 24px;
    height: 24px;
    color: black;
}

/* Inline nav */
#floating-nav {
    position: absolute;
    top: 65px;
    right: 160px;
    /* sits beside button */
    background: transparent;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
}

#floating-nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

#floating-nav li a {
    font-size: 18px;
    color: #A57041;
    text-decoration: none;
}

#floating-nav li a:hover {
    color: #C88C4A;
}

/* Eye-drop overlay */
#eye-drop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

#language_switcher {
    z-index: 99999;
    top: 60px;
    right: 8px;
    padding: 0px;
}

#language_switcher_menu_button {
    color: #A57041;
    font-size: 18px;
    font-weight: 800;
}

#language_switcher_menu_button:hover {
    color: #C88C4A;

}

#language_switcher_menu_button:focus {
    outline: unset !important;
    box-shadow: unset !important;
}

.btn-check:focus+.btn,
.btn:focus {
    outline: unset;
}

.dropdown-item.active,
.dropdown-item:active {
    color: black;
    text-decoration: none;
    background-color: #A57041;
}

.dropdown-item.active,
.dropdown-item:hover {
    background-color: #A57041;
    color: white;
}

.dropdown-menu {
    background-color: #000000;
}

.dropdown-item {
    color: #F2E6DA;
    text-decoration: none;
}

.dropdown-item:hover {
    text-decoration: none;
}

/* ===== LTR MOBILE/TABLET NAVIGATION ===== */
@media (max-width: 1366px) {
    /* Hide desktop language switcher on mobile */
    #language_switcher {
        display: none !important;
    }

    /* LTR burger menu position */
    #nav-toggle {
        right: 20px !important;
        left: auto !important;
    }

    /* LTR mobile navigation */
    #floating-nav {
        right: 0;
        left: auto;
    }

    #floating-nav ul {
        text-align: center;
    }

    #floating-nav li a {
        text-align: center;
    }

    /* LTR mobile language dropdown */
    .mobile-language-options {
        left: 0;
        right: 0;
    }

    .mobile-language-option:hover {
        padding-left: 25px;
        padding-right: 20px;
    }
}

/* ===== LTR SMALLER MOBILE ===== */
@media (max-width: 767px) {
    #nav-toggle {
        right: 20px !important;
        left: auto !important;
    }
}
