.navbar-section {
    position: fixed;
    width: 100%;
    justify-content: center;
    top: 0;
    z-index: 999;
}

.mobile-navbar {
    position: absolute;
    display: flex;
    height: 60px;
    width: 100%;
    color: white;
    background-color: #231641 ;
    backdrop-filter: blur(10px);
    align-items: center;
}



.nav-container {
    position: absolute;
    display: flex;
    height: 50px;
    left: 70px;
    width: 100%;
    margin-bottom: 0;
    padding-left: 0;
    max-width: 650px;
    justify-content: space-around;
    align-items: center;
}

.nav-item {
    display: flex;
    height: 30px;
    border-radius: 5px;
    color: white;
    text-decoration: none !important;
    font-weight: bold;
    cursor: pointer;
}

.nav-item a {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    color: white;
    font-weight: 400;
    text-decoration: none !important;
    padding-inline: 6px;
    transition: color 0.1s ease;
    align-items: center;

    transition: color 0.2s ease,
                background-color 0.05s ease;
}

.nav-item a::before {
    content: '';
    position: absolute;
    bottom: 2px;
    width: 0;
    height: 1px;
    border-radius: 1px;
    background-color: #bcbcbc;
    transition: width 0.3s cubic-bezier(0.87, 0, 0.13, 1);
}

.nav-item:hover a {
    color: #bcbcbc;
}

.nav-item:hover a::before {
    width: calc(100% - 12px);
}

.left-line::before {
    position: absolute;
    top: 14px;
    left: -18px;
    width: 0;
    height: 2px;
    transition: width 0.3s ease;
}

.uk-button-text.left-line {
    margin-left: 20px;
}

.left-line:hover::before {
    width: 12px;
}

.uk-button-text.active-left-line {
    margin-left: 20px;
}

.uk-button-text.active-left-line::before {
    width: 12px;
    position: absolute;
    top: 14px;
    left: -18px;
    height: 2px;
}

.logout-button:hover {
    color: red !important;
}

.dropdown {
    background-color: rgba(25, 25, 25, 0.98) !important;
    border-radius: 4px;
    outline: 1px solid rgba(255, 255, 255, 0);
    transition: outline 0.4s ease;
}

.dropdown:hover {
    outline: 1px solid rgb(132, 132, 132);
}

.mobile-adapt-navbar {
    position: fixed;
    display: none;
    bottom: 2px;
    left: -50%;
    transform: translateX(calc(50% + 10px));
    width: calc(100% - 10px);
    height: 60px;
    border-radius: 10px;
    margin-inline: auto;
    background-color: rgba(0, 0, 0, 0.92);
    justify-content: center;
    overflow: hidden;
    box-shadow: none;
    box-shadow: 0px 4px 11px 2px rgba(0, 0, 0, 0.438);
    align-items: center;
    border: 0.5px solid rgb(173, 173, 173);
    z-index: 1000;

    transition: box-shadow 0.5s ease,
                bottom 0.3s ease;
}

.mobile-adapt-navbar.to-under {
    bottom: -70px;
}

.uk-iconnav {
    position: absolute;
    align-items: center;
    gap: 10px;
    right: 10px;
    height: 40px;

    transition: gap 0.4s ease;
}

.dropdown a {
    font-size: 12px;
}

.uk-dropdown {
    padding: 10px 18px;
    min-width: 160px;
}

.uk-iconnav a[uk-icon="icon: bag"] {
    position: relative;
}

.nav-cart-label {
    position: absolute;
    height: 12px;
    font-size: 8px;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
    background-color: #1e87f09c  !important;
}

.uk-iconnav a[uk-icon="icon: heart"] {
    position: relative;
}

.nav-favorites-label {
    position: absolute;
    height: 12px;
    font-size: 8px;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
    background-color: #e400729c !important;
}

.search-mobile {
    position: absolute;
    width: 0;
    height: 30px;
    left: 10px;
    opacity: 0;
    visibility: hidden;

    transition: border 0.3s ease,
                opacity 0.3s cubic-bezier(0.76, 0, 0.24, 1),
                visibility 0.5s cubic-bezier(0.76, 0, 0.24, 1),
                width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-mobile input {
    width: 100%;
    height: calc(100% - 1px);
    border-radius: 4px;
    font-size: 14px;
    padding-left: 8px;
    outline: 1px solid transparent;
    transition: outline 0.3s ease;
}

.search-mobile.active {
    width: calc(100% - 174px);
    opacity: 1;
    visibility: visible;
    
    input:focus {
        outline: 1px solid #1e87f0;
    }
}

.image-logo-container {
    position: absolute;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 7px;
}



.search-mobile.active .results-search {
    display: block;
    position: relative;
    width: 100%;
    background-color: white;
    margin-top: 4px;
    border-radius: 4px;
    box-shadow: 0px 4px 11px 2px rgba(0, 0, 0, 0.438);
}

.search-mobile .results-search {
    display: none;
}

.results-search .results-search-item {
    display: flex;
    align-items: center;
    padding-left: 12px;
    height: 50px;
    border-radius: 4px;
    outline: 0.5px solid rgba(0, 0, 0, 0.1);
    padding-block: 4px;
}

.results-search .results-search-item .image-container {
    height: 50px;
    width: 50px;
}

.results-search .results-search-item .image-container img {
    height: 100%;
    object-fit: cover;
    margin-right: 20px;
    border-radius: 4px;
}

.results-search .results-search-item a {
    color: #0080ffe8 !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    flex-grow: 1;
    text-align: left;
}

.results-search .results-search-item a:hover {
    color: #00aeff !important;
}

@media (min-width: 1150px) {
    .uk-iconnav {
        gap: 1vw;
        transform: scale(1.1);
        right: 35px;
    }

    .nav-container {
        left: 50%;
        transform: translateX(-50%);
    }

    .search-mobile {
        left: 50%;
        transform: translateX(-50%);
        max-width: 770px;
    }
    
    .search-mobile.active {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 1150px) {
    .nav-container {
        left: 50%;
        transform: translateX(calc(-50%));
    }

    .search-mobile.active ~ .image-logo-container {
        transform: translateX(-210px);
    }
}

@media (max-width: 1050px) {


    .nav-container {
        display: none;
    }

    .nav-cart-label {
        bottom: -13px;
    }

    .nav-favorites-label {
        bottom: -13px;
    }

    .mobile-adapt-navbar {
        display: flex;
        width: calc(100% - 5px);
        height: 56px;
        max-width: 529px;
        transform: translateX(calc(50% + 4px));
    }

    .mobile-nav-container {
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        width: 100%;
    }

    .nav-item a::before {
        display: none;
    }
    
    .nav-item a {
        display: grid;
        grid-template-columns: auto;
        justify-items: center;
        font-size: 13px;
        align-content: center;
        border-radius: 4px;
    }

    .image-logo-container {
        width: 180px;
    }
}

@media (max-width: 900px) {
    .nav-container {
        left: 70px;
        width: calc(100% - 240px);
        transform: translateX(0);
    }

    .mobile-navbar .nav-container .nav-item:first-of-type {
        margin-left: 25%;
    }

    .mobile-navbar .nav-container .nav-item a {
        font-size: 14px;
    }
}

@media (max-width: 750px) {
    .mobile-navbar {
        height: 50px;
    }

    .nav-container {
        display: none;
    }

    .nav-cart-label {
        bottom: -13px;
    }

    .nav-favorites-label {
        bottom: -13px;
    }

    .mobile-adapt-navbar {
        display: flex;
        width: calc(100% - 5px);
        height: 56px;
        max-width: 529px;
        transform: translateX(calc(50% + 4px));
    }

    .mobile-nav-container {
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        width: 100%;
    }

    .nav-item a::before {
        display: none;
    }
    
    .nav-item a {
        display: grid;
        grid-template-columns: auto;
        justify-items: center;
        font-size: 13px;
        align-content: center;
        border-radius: 4px;
    }

    .image-logo-container {
        width: 180px;
    }
}

@media (min-width: 550px) {
    .mobile-adapt-navbar {
        height: 56px;
        max-width: 530px;
        left: calc(50% - 530px);
        transform: translateX(calc(50%));
    }
}

@media (max-width: 650px) {
    .search-mobile.active .results-search {
        position: absolute;
        top: 40px;
        width: calc(100vw - 34px);
    }
}

@media (max-width: 550px) {
    .image-logo-container {
        width: 130px;
    }
}

@media (max-width: 500px) {
    .search-mobile {
        height: 26px;
    }

    .search-mobile input {
        font-size: 12px;
    }
}

@media (max-width: 450px) {
    .search-mobile.active ~ .uk-iconnav {
        gap: 0;
    }

    .search-mobile.active {
        width: calc(100% - 140px);
    }

    .results-search .results-search-item a {
        font-size: 14px;
    }
}

@media (max-width: 420px) {
    .mobile-adapt-navbar {
        display: flex;
        width: calc(100% - 5px);
        height: 50px;
        transform: translateX(calc(50% + 4px));
    }

    .nav-item a {
        font-size: 11px;
    }
}