.main-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-section img {
    height: 40px;
    width: auto;
}

.logo-section span {
    font-size: 20px;
    font-weight: 800;
    color: var(--tech-blue);
    font-family: 'Space Grotesk', sans-serif;
}

.mobile-top-nav {
    display: none;
    width: 100%;
    padding: 8px 15px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
    white-space: nowrap;
    gap: 15px;
}

.mobile-top-nav a {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: none;
}

.search-section {
    flex-grow: 1;
    max-width: 800px;
}

.search-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 5px;
    padding-left: 15px;
}

.search-tab {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    position: relative;
    text-decoration: none;
}

.search-tab.active {
    color: #333;
}

.search-tab.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--tech-blue);
}

.search-bar-wrapper {
    display: flex;
    border: 2px solid var(--tech-blue);
    border-radius: 25px;
    overflow: hidden;
    background: #fff;
}

.search-input-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.search-input-container input {
    width: 100%;
    border: none;
    outline: none;
    padding: 10px 0;
    font-size: 16px;
}

.search-btn {
    background: var(--tech-blue);
    color: #fff;
    border: none;
    padding: 10px 30px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.search-btn:hover {
    background: var(--tech-blue-dark);
}

.search-btn:active {
    transform: scale(0.98);
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

.action-item i {
    font-size: 20px;
    margin-bottom: 2px;
}

.cart-badge-wrapper {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--tech-blue);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    border: 2px solid #fff;
}

@media (max-width: 768px) {
    .logo-section span { display: none; }
    .search-tabs { display: none; }
    .user-actions { gap: 15px; }
}
