.header-tools-dropdown-content {
    width: 100%;
}

.header-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    /* match dropdown-mega-cards */
}

.header-tool-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    color: inherit;
    background: transparent;
}

.header-tool-item:hover {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-color: #86efac;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08);
    text-decoration: none;
    color: inherit;
}

.header-tool-item-icon-wrapper {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f0fdf4;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.header-tool-item-icon {
    font-size: 18px;
    line-height: 1;
}

.header-tool-item:hover .header-tool-item-icon-wrapper {
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.15);
    transform: scale(1.05);
}

.header-tool-item-info {
    flex: 1;
    min-width: 0;
}

.header-tool-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.header-tool-item-desc {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .header-tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .header-tools-grid {
        grid-template-columns: 1fr;
    }
}