/* ==================================================
   Top Header Styles
   ================================================== */
.top-header {
    background-color: #0B081D; 
    padding: 10px 0;
    border-bottom: 1px solid #1F1B36;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
}

.top-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap; 
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none; 
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* Logo Styles */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.site-logo-img {
    max-width: 250px;
    height: auto;
    object-fit: contain;
}

/* Right Side Area */
.header-right-area {
    display: flex;
    align-items: center;
    gap: 30px; 
    margin-left: auto;
}

/* Search Bar */
.search-bar {
    width: 300px;
}
.search-form {
    display: flex;
    align-items: center;
    background: #0f0c20;
    border: 1px solid #2a2550;
    border-radius: 30px; 
    height: 45px;
    overflow: hidden;
}
.search-form input {
    flex: 1;
    padding: 0 20px;
    border: none;
    outline: none;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
}
.search-btn {
    background: #FFD700;
    border: none;
    padding: 0 25px;
    color: #000;
    cursor: pointer;
    height: 100%;
    font-size: 16px;
    transition: 0.3s ease;
}
.search-btn:hover { background: #e6c200; }

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: 25px;
}
.icon-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: #ffffff;
    transition: 0.3s ease;
}
.icon-link:hover { color: #FFD700; }
.truck-icon, .compare-icon { color: #3b82f6; font-size: 16px; }
.heart-icon { font-size: 18px; }

/* ==========================================
   🌟 Responsive (Tablet & Mobile) 🌟
   ========================================== */
@media (max-width: 1024px) {
    .search-bar { width: 220px; }
    .header-right-area { gap: 15px; }
    .header-icons { gap: 15px; }
    .icon-text { display: none; } 
}

@media (max-width: 768px) {
    .top-header-inner { 
        position: relative; 
        flex-direction: column; 
        padding: 15px; 
        gap: 15px; 
    }
    .mobile-menu-btn { 
        display: block; 
        position: absolute; 
        left: 15px; 
        top: 22px; 
        z-index: 100; /* মেনু বাটন সবসময় উপরে রাখার জন্য */
    }
    
    .logo { 
        margin: 0 auto; 
        text-align: center; 
        padding-left: 35px; /* 🌟 লোগোটিকে একটু ডানে সরানো হলো যাতে বাটনের সাথে ধাক্কা না খায় 🌟 */
    }
    .site-logo-img { max-width: 170px; }
    
    .header-right-area {
        width: 100%;
        justify-content: space-between;
        margin: 0;
        gap: 10px;
    }
    
    .search-bar { width: 100%; flex-grow: 1; }
    .search-form { height: 40px; }
    .header-icons { gap: 15px; }
}