/* ===================================
$$\   $$\                     
$$$\  $$ |                    
$$$$\ $$ | $$$$$$\ $$\    $$\ 
$$ $$\$$ | \____$$\\$$\  $$  |
$$ \$$$$ | $$$$$$$ |\$$\$$  / 
$$ |\$$$ |$$  __$$ | \$$$  /  
$$ | \$$ |\$$$$$$$ |  \$  /   
\__|  \__| \_______|   \_/    
   =================================== */

:root {
    --color-bg: #EAE6DE;
    --color-bg-light: #F2EFE8;
    --color-bg-dark: #DDD9D1;
    --color-text: #1F1F1F;
    --color-text-light: rgba(31, 31, 31, 0.7);
    --color-accent: #D97642;
    --color-white: #FFFFFF;

    --font-heading: 'PP Neue Machina', sans-serif;
    --font-body: 'PP Neue Montreal', sans-serif;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(242, 239, 232, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 3px solid var(--color-text);
    z-index: 1000;
}

.navbar__wrapper {
    max-width: 1600px;
    margin: 0 auto;
    padding: 18px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.navbar__logo {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
    z-index: 10;
}

.navbar__logo:hover {
    color: var(--color-accent);
}

.navbar__menu {
    display: flex;
    gap: 45px;
    list-style: none;
}

.navbar__link {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.navbar__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.navbar__link:hover::after {
    width: 100%;
}

.navbar__actions {
    display: flex;
    gap: 30px;
    align-items: center;
}

.lang-selector {
    position: relative;
}

.lang-selector__button {
    background: transparent;
    border: 2px solid var(--color-text);
    padding: 8px 16px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text);
}

.lang-selector__button:hover {
    background: var(--color-text);
    color: var(--color-bg-light);
}

.lang-selector__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--color-white);
    border: 2px solid var(--color-text);
    border-radius: 6px;
    min-width: 100px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(31, 31, 31, 0.1);
    z-index: 1001;
}

.lang-selector:hover .lang-selector__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-selector__option {
    padding: 12px 20px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-selector__option:hover {
    background: var(--color-bg);
    color: var(--color-accent);
}

.lang-selector__option--active {
    background: var(--color-bg-dark);
    color: var(--color-accent);
}

.navbar__auth {
    display: flex;
    gap: 20px;
    align-items: center;
}

.navbar__auth-link {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.navbar__auth-link:hover {
    color: var(--color-accent);
}

.navbar__divider {
    width: 1px;
    height: 22px;
    background: var(--color-text);
}

.navbar__cart-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--color-text);
    transition: color 0.3s ease;
    padding: 8px;
}

.navbar__cart-btn:hover {
    color: var(--color-accent);
}

.navbar__account-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 22px;
    color: var(--color-text);
    transition: all 0.3s ease;
    padding: 8px;
    position: relative;
}

.navbar__account-btn:hover {
    color: var(--color-accent);
}


.navbar__account-btn:hover::after {
    opacity: 1;
}

/*       $$\                                   $$\                                   
      $$ |                                  $$ |                                  
 $$$$$$$ | $$$$$$\   $$$$$$\           $$$$$$$ | $$$$$$\  $$\  $$\  $$\ $$$$$$$\  
$$  __$$ |$$  __$$\ $$  __$$\ $$$$$$\ $$  __$$ |$$  __$$\ $$ | $$ | $$ |$$  __$$\ 
$$ /  $$ |$$ |  \__|$$ /  $$ |\______|$$ /  $$ |$$ /  $$ |$$ | $$ | $$ |$$ |  $$ |
$$ |  $$ |$$ |      $$ |  $$ |        $$ |  $$ |$$ |  $$ |$$ | $$ | $$ |$$ |  $$ |
\$$$$$$$ |$$ |      $$$$$$$  |        \$$$$$$$ |\$$$$$$  |\$$$$$\$$$$  |$$ |  $$ |
 \_______|\__|      $$  ____/          \_______| \______/  \_____\____/ \__|  \__|
                    $$ |                                                          
                    $$ |                                                          
                    \__|                                                          */

.navbar__account {
    position: relative;
}

.navbar__dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: var(--color-white);
    border: 2px solid var(--color-text);
    border-radius: 8px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(31, 31, 31, 0.15);
    z-index: 1001;
    padding: 8px 0;
}

.navbar__dropdown.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar__dropdown-item {
    width: 100%;
    padding: 12px 20px;
    background: transparent;
    border: none;
    color: var(--color-text);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
}

.navbar__dropdown-item:hover {
    background: var(--color-bg-light);
    color: var(--color-accent);
}

.navbar__dropdown-item i {
    font-size: 16px;
    line-height: 1;
}

.navbar__menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.navbar__menu-line {
    width: 28px;
    height: 3px;
    background: var(--color-text);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.navbar__menu-btn:hover .navbar__menu-line {
    background: var(--color-accent);
}

.navbar__mobile-only {
    display: none !important;
}

/* $$$$$$$\                                                              $$\                      
$$  __$$\                                                             \__|                     
$$ |  $$ | $$$$$$\   $$$$$$$\  $$$$$$\   $$$$$$\  $$$$$$$\   $$$$$$$\ $$\ $$\    $$\  $$$$$$\  
$$$$$$$  |$$  __$$\ $$  _____|$$  __$$\ $$  __$$\ $$  __$$\ $$  _____|$$ |\$$\  $$  |$$  __$$\ 
$$  __$$< $$$$$$$$ |\$$$$$$\  $$ /  $$ |$$ /  $$ |$$ |  $$ |\$$$$$$\  $$ | \$$\$$  / $$$$$$$$ |
$$ |  $$ |$$   ____| \____$$\ $$ |  $$ |$$ |  $$ |$$ |  $$ | \____$$\ $$ |  \$$$  /  $$   ____|
$$ |  $$ |\$$$$$$$\ $$$$$$$  |$$$$$$$  |\$$$$$$  |$$ |  $$ |$$$$$$$  |$$ |   \$  /   \$$$$$$$\ 
\__|  \__| \_______|\_______/ $$  ____/  \______/ \__|  \__|\_______/ \__|    \_/     \_______|
                              $$ |                                                             
                              $$ |                                                             
                              \__|                                                              */
@media (max-width: 1200px) {
    .navbar__wrapper {
        padding: 16px 40px;
        gap: 30px;
    }

    .navbar__logo {
        font-size: 30px;
    }

    .navbar__menu {
        gap: 35px;
    }

    .navbar__link {
        font-size: 14px;
    }

    .navbar__actions {
        gap: 20px;
    }
}


@media (max-width: 816px) {
    .navbar__wrapper {
        padding: 16px 25px;
        gap: 15px;
    }

    .navbar__logo {
        font-size: 24px;
    }

    .navbar__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--color-bg-light);
        flex-direction: column;
        padding: 20px 20px;
        gap: 12px;
        transition: left 0.3s ease;
        border-right: none;
        z-index: 999;
        overflow-y: auto;
    }

    .navbar__menu--open,
    .navbar__menu.is-open {
        left: 0;
    }

    .navbar__menu-btn {
        display: flex;
    }

    .navbar__link {
        font-size: 14px;
        white-space: nowrap;
    }

    .navbar__link::after {
        display: none;
    }

    .navbar__actions {
        gap: 12px;
    }

    .lang-selector__button {
        padding: 6px 12px;
        font-size: 12px;
    }

    .navbar__cart-btn {
        display: flex !important;
    }

    .navbar__account-btn {
        display: flex !important;
    }

    .navbar__mobile-only {
        display: list-item !important;
    }

    .navbar__auth {
        display: none !important;
    }

    .navbar__auth-link {
        font-size: 13px;
    }

    .navbar__divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .navbar__wrapper {
        padding: 12px 15px;
    }

    .navbar__logo {
        font-size: 20px;
    }

    .navbar__actions {
        gap: 8px;
    }

    .lang-selector__button {
        padding: 5px 10px;
        font-size: 11px;
        gap: 4px;
    }

    .navbar__menu {
        padding: 15px 15px;
        gap: 10px;
    }
}