#logo {
    max-width: 240px; 
    height: auto;
}

.header-top-line {
    width: 100%;
    height: 5px;
    background-color: #000;
}

.header-search-box {
    background-color: #eee;
    padding: 4px 15px;
    border-radius: 40px;
    width: 100%;
}

.header-search-box input {
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    font-size: 14px; 
}

.header-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 50%; 
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    flex-shrink: 0;
}
.header-icon-btn:hover {
    background-color: #f8f8f8;
    border-color: #ccc;
}
.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #333;
    color: #fff;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-fw-link {
    font-family: 'Product Sans', sans-serif;
    font-size: 18px;
    color: #212121 !important;
    text-align: center;
    padding: 3px 8px;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-fw-link:hover {
    color: #1F1F1F !important; 
}

.nav-fw-link.dropdown-toggle::after {
    display: none !important;
    content: none !important;
}

.nav-fw-link[aria-expanded="true"] i {
    transform: rotate(180deg);
    transition: transform 0.2s;
}

@media (min-width: 992px) {
    .px-lg-extra {
        padding-left: 6rem !important; 
        padding-right: 6rem !important;
    }
}

@media (max-width: 768px) {
    #logo {
        max-width: 130px; 
        max-height: 40px;
    }
    
    .header-icon-btn {
        width: 38px; 
        height: 38px;
    }
    
    .header-icon-btn svg {
        width: 18px;
        height: 18px;
    }
}

/*Dropdown*/
.nav-item.dropdown {
    position: relative !important; 
}

.dropdown-menu {
    position: absolute !important; 
    top: 100% !important;         
    left: 0 !important;           
    border: none;
    border-radius: 0 0 6px 6px;   
    padding: 8px 0;
    background-color: #fff;
    width: max-content; 
    z-index: 1050;
    
    transform: none !important;
}

.dropdown-menu.show {
    display: block;
    animation: slideDownFade 0.2s ease forwards;
}

@keyframes slideDownFade {
    0% { opacity: 0; transform: translateY(-10px); } 
    100% { opacity: 1; transform: translateY(0); }  
}

.dropdown-menu li {
    display: block;
    width: 100%;
}

.dropdown-item {
    font-family: 'Product Sans', sans-serif;
    font-size: 14px;
    color: #555;
    padding: 8px 20px;
    white-space: nowrap;
    display: block;
    width: 100%;
    clear: both;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
    color: #000;
    font-weight: 500;
}

.dropdown-menu.currency-menu {
    left: auto !important; 
    right: 0 !important;   
    min-width: 140px;      
}

.dropdown .show .icon-rotate {
    transform: rotate(180deg);
    color: #212121 !important;
}

.icon-rotate {
    transition: transform 0.2s ease;
}