.section-banner {
    background: linear-gradient(90deg, #fc2203, #ff9900);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 14px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 1rem; 
}

.section-banner .banner-title {
    font-size: 1rem; 
    font-weight: 500;
    display: flex;
    align-items: center;
}

.section-banner .banner-title i {
    font-size: 1.1rem;
}

.section-banner .see-all {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.icon-links {
    display: flex;
    align-items: center;
}
.icon-links .icon {
    font-size: 1.4rem;
    color: #333;
    margin: 0 8px;
    position: relative;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;

}
.icon-links .icon:hover {
    color: #ff6600;
    transform: scale(1.1);
}
.icon-links .icon .badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: #ff6600;
    color: #fff;
    border-radius: 50%;
    font-size: 0.75rem;
    padding: 3px 6px;
}

.account-section {
    display: flex;
    align-items: center;
}
.account-section .dropdown-toggle {
    display: flex;
    align-items: center;
    color: #333;
    font-weight: 500;
    margin-left: 15px;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: #fff;
}
.account-section .dropdown-toggle img {
    border-radius: 50%;
    margin-right: 8px;
    width: 32px;
    height: 32px;
}

.account-section .balance-button:hover {
    background-color: #e65c00;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
}
.account-section .balance-button i {
    font-size: 1.2rem;
    margin-right: 8px;
}

.dropdown-menu {
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
.dropdown-item {
    padding: 0.5rem 1rem;
    color: #333;
    font-weight: 500;
    transition: background-color 0.2s ease;
}
.dropdown-item:hover {
    background-color: #f0f2f5;
    color: #ff6600;
}

.category-menu {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 1rem 2rem;
background-color: #f0f2f5; 
border-top: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);

}
.category-menu .category-item {
    background-color: #fff;
    color: #333;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: 1px solid #ddd;
}
.category-menu .category-item:hover {
    background-color: #e6e6e6;
}
@media (min-width: 1024px) {
    
            .hamburger-icon {
                display: none; 
            }
        }
@media (max-width: 1024px) {
    .category-menu {
        display: none;
    }
    
    .account-section .dropdown-toggle {
        display: flex;
    }
    .account-section {
margin-top: 7px!important;
}
}

.account-section .balance-button:hover {
    background-color: #e65c00;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1024px) {
    .account-section .dropdown-toggle span {
        display: none;
    }
}

.auth-buttons .btn-outline-orange {
    color: #ff6600;
    border-color: #ff6600;
    background-color: transparent;
    border-radius: 12px!important;
    margin-left: 10px;
}

.auth-buttons .btn-outline-orange:hover {
    color: #fff;
    background-color: #ff6600;
    border-color: #ff6600;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.auth-buttons .btn-primary {
    border-radius: 12px!important;
    padding: 0.4rem 1.2rem!important;
}

.auth-buttons .btn-primary:hover {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.account-section .dropdown-toggle {
    min-width: 150px;
    height: 45px;
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: bold;
}
.account-section .balance-button {
    min-width: 70px !important; 
    padding: 0.3rem 0.4rem; 
    height: 43px; 
    background-color: #ff6600;
    color: #fff;
    border: 1px solid #ff6600;
    margin-left: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

@media (max-width: 1024px) {
    .navbar {
background-color: #f5f5f5 !important; 

    }

    .search-box {
        margin: 0.5rem 0;
    }

    .account-section .dropdown-toggle {
        padding: 0.3rem 0.5rem;
        font-size: 0.9rem;
    }

    .category-menu {
        overflow-x: auto;
        white-space: nowrap;
        padding: 0.5rem 1rem;
    }

    .category-menu .category-item {
        display: inline-block;
        margin-right: 10px;
        font-size: 0.9rem;
        padding: 0.3rem 0.6rem;
    }

    .account-section {
        margin-left: auto;
        margin-right: 0;
    }

    .account-section .dropdown-toggle {
        min-width: 55px; 
        width: 45px;
        padding: 0; 
        justify-content: center; 
    }

    .account-section .dropdown-toggle img {
        margin-right: 0; 
        width: 32px;
        height: 32px;
    }

    .account-section .dropdown-toggle span {
        display: none;
    }
}
.dropdown-item.logout-item {
    color: #dc3545; 
}

.dropdown-item.logout-item i {
    color: #dc3545;
}

.dropdown-item.logout-item:hover {
    background-color: #f8d7da; 
    color: #c82333;
}

.dropdown-item.logout-item:hover i {
    color: #c82333;
}
.search-box {
    flex-grow: 1;
}

.search-box button {
    background-color: #ff6600;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.search-results.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.search-results .result-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #f0f2f5;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.search-results .result-item:hover {
    background-color: #f9f9f9;
}

.search-results .result-item img {
    width: 100px;
    height: 50px;
    border-radius: 5px;
    object-fit: cover;
    margin-right: 15px;
}

.search-results .result-item .info {
    display: flex;
    flex-direction: column;
}

.search-results .result-item .info .category-name {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

.search-results .result-item .info .category-description {
    font-size: 0.875rem;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
}
.search-results .no-results {
    padding: 15px;
    color: #666;
    text-align: center;
    font-style: italic;
}

.search-box {
    border: 1px solid #ddd;
    align-items: center;
    border-radius: 8px;
    padding: 0.5rem;
    margin: 0;
}

.search-box button {
    background-color: #ff6600;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-box button:hover {
    background-color: #e65c00;
}
.search-box .clear-button {
    position: absolute;
    right: 70px; 
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, background-color 0.3s ease;
    padding: 0.5rem; 
}

.search-box .clear-button i {
    color: #dc3545; 
    font-size: 1.2rem; 
    transition: color 0.3s ease;
}

.search-box .clear-button:hover {
    background-color: #dc3545; 
}

.search-box .clear-button:hover i {
    color: #fff; 
}
#search-results-mobile.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#search-results-mobile.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

#search-results-mobile .result-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #f0f2f5;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

#search-results-mobile .result-item:hover {
    background-color: #f9f9f9;
}

#search-results-mobile .result-item img {
    width: 100px;
    height: 40px;
    border-radius: 5px;
    object-fit: cover;
    margin-right: 15px;
}

#search-results-mobile .result-item .info {
    display: flex;
    flex-direction: column;
}

#search-results-mobile .result-item .info .category-name {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

#search-results-mobile .result-item .info .category-description {
    font-size: 0.875rem;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}
#search-results-mobile .no-results {
    padding: 15px;
    color: #666;
    text-align: center;
    font-style: italic;
}
#clear-button-mobile {
    position: absolute;
    right: 80px; 
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, background-color 0.3s ease;
    padding: 0.5rem; 
}

#clear-button-mobile i {
    color: #dc3545;
    font-size: 1.2rem; 
    transition: color 0.3s ease;
}

#clear-button-mobile:hover {
    background-color: #dc3545; 
}

#clear-button-mobile:hover i {
    color: #fff; 
}

.category-item {
    position: relative; 
    display: inline-block;
}

.has-dropdown {
    position: relative;
    cursor: pointer;
}
.scrollable-dropdown {
    max-height: 300px; 
    overflow-y: auto;
    scrollbar-width: thin;
    padding-right: 4px;
}
.scrollable-dropdown::-webkit-scrollbar {
    width: 6px;
}
.scrollable-dropdown::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

.category-item.has-dropdown .dropdown-items a {
    display: block;
    padding-left: 16px; 
    padding-top: 6px;
    padding-bottom: 6px;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #333;
    text-decoration: none;
}

.category-item.has-dropdown .dropdown-items a:hover {
    padding-left: 20px; 
    color: #ff6600;
}

.dropdown-items {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background-color: #fff;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 999;
    border-radius: 6px;
    padding: 6px 0;
}

.dropdown-items a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-items a:hover {
    background-color: #f0f0f0;
}

.has-dropdown:hover .dropdown-items {
    display: block;
}
@media (max-width: 1024px) {
  .category-menu {
    display: none;
  }
}

.dropdown-divider {
    margin: 0;
}